com.vmware.nsx_policy package¶
Subpackages¶
- com.vmware.nsx_policy.aaa package
- com.vmware.nsx_policy.cluster package
- com.vmware.nsx_policy.global_infra package
- Subpackages
- com.vmware.nsx_policy.global_infra.domains package
- Subpackages
- Submodules
- com.vmware.nsx_policy.global_infra.domains.communication_maps_client module
- com.vmware.nsx_policy.global_infra.domains.endpoint_policies_client module
- com.vmware.nsx_policy.global_infra.domains.forwarding_policies_client module
- com.vmware.nsx_policy.global_infra.domains.gateway_policies_client module
- com.vmware.nsx_policy.global_infra.domains.groups_client module
- com.vmware.nsx_policy.global_infra.domains.intrusion_service_policies_client module
- com.vmware.nsx_policy.global_infra.domains.redirection_policies_client module
- com.vmware.nsx_policy.global_infra.domains.security_policies_client module
- com.vmware.nsx_policy.global_infra.lb_services package
- com.vmware.nsx_policy.global_infra.realized_state package
- Subpackages
- com.vmware.nsx_policy.global_infra.realized_state.enforcement_points package
- Submodules
- com.vmware.nsx_policy.global_infra.realized_state.enforcement_points.firewalls_client module
- com.vmware.nsx_policy.global_infra.realized_state.enforcement_points.groups_client module
- com.vmware.nsx_policy.global_infra.realized_state.enforcement_points.ip_sets_client module
- com.vmware.nsx_policy.global_infra.realized_state.enforcement_points.mac_sets_client module
- com.vmware.nsx_policy.global_infra.realized_state.enforcement_points.services_client module
- com.vmware.nsx_policy.global_infra.realized_state.enforcement_points.virtual_machines_client module
- com.vmware.nsx_policy.global_infra.realized_state.enforcement_points package
- Submodules
- com.vmware.nsx_policy.global_infra.realized_state.enforcement_points_client module
- Subpackages
- com.vmware.nsx_policy.global_infra.segments package
- com.vmware.nsx_policy.global_infra.service_references package
- com.vmware.nsx_policy.global_infra.settings package
- Subpackages
- com.vmware.nsx_policy.global_infra.settings.firewall package
- Subpackages
- Submodules
- com.vmware.nsx_policy.global_infra.settings.firewall.idfw_client module
- com.vmware.nsx_policy.global_infra.settings.firewall.security_client module
- com.vmware.nsx_policy.global_infra.settings.firewall package
- Submodules
- com.vmware.nsx_policy.global_infra.settings.firewall_client module
- Subpackages
- com.vmware.nsx_policy.global_infra.sites package
- com.vmware.nsx_policy.global_infra.tags package
- com.vmware.nsx_policy.global_infra.tier_0s package
- Subpackages
- com.vmware.nsx_policy.global_infra.tier_0s.groups package
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services package
- Subpackages
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.bgp package
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.interfaces package
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.ipsec_vpn_services package
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.l2vpn_context package
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.l2vpn_services package
- Submodules
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.bgp_client module
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.byod_service_instances_client module
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.endpoints_client module
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.inter_site_client module
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.interfaces_client module
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.ipsec_vpn_services_client module
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.l2vpn_context_client module
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.l2vpn_services_client module
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.l3vpns_client module
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.multicast_client module
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.service_instances_client module
- Subpackages
- com.vmware.nsx_policy.global_infra.tier_0s.nat package
- Submodules
- com.vmware.nsx_policy.global_infra.tier_0s.dns_forwarder_client module
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services_client module
- com.vmware.nsx_policy.global_infra.tier_0s.nat_client module
- com.vmware.nsx_policy.global_infra.tier_0s.static_routes_client module
- Subpackages
- com.vmware.nsx_policy.global_infra.tier_1s package
- Subpackages
- com.vmware.nsx_policy.global_infra.tier_1s.locale_services package
- Subpackages
- Submodules
- com.vmware.nsx_policy.global_infra.tier_1s.locale_services.interfaces_client module
- com.vmware.nsx_policy.global_infra.tier_1s.locale_services.ipsec_vpn_services_client module
- com.vmware.nsx_policy.global_infra.tier_1s.locale_services.l2vpn_services_client module
- com.vmware.nsx_policy.global_infra.tier_1s.locale_services.service_instances_client module
- com.vmware.nsx_policy.global_infra.tier_1s.nat package
- com.vmware.nsx_policy.global_infra.tier_1s.segments package
- com.vmware.nsx_policy.global_infra.tier_1s.locale_services package
- Submodules
- com.vmware.nsx_policy.global_infra.tier_1s.dns_forwarder_client module
- com.vmware.nsx_policy.global_infra.tier_1s.locale_services_client module
- com.vmware.nsx_policy.global_infra.tier_1s.nat_client module
- com.vmware.nsx_policy.global_infra.tier_1s.segments_client module
- Subpackages
- com.vmware.nsx_policy.global_infra.domains package
- Submodules
- com.vmware.nsx_policy.global_infra.capacity_client module
- com.vmware.nsx_policy.global_infra.context_profiles_client module
- com.vmware.nsx_policy.global_infra.deployment_zones_client module
- com.vmware.nsx_policy.global_infra.dhcp_server_configs_client module
- com.vmware.nsx_policy.global_infra.domains_client module
- com.vmware.nsx_policy.global_infra.drafts_client module
- com.vmware.nsx_policy.global_infra.flood_protection_profiles_client module
- com.vmware.nsx_policy.global_infra.ip_pools_client module
- com.vmware.nsx_policy.global_infra.lb_services_client module
- com.vmware.nsx_policy.global_infra.realized_state_client module
- com.vmware.nsx_policy.global_infra.segments_client module
- com.vmware.nsx_policy.global_infra.service_references_client module
- com.vmware.nsx_policy.global_infra.services_client module
- com.vmware.nsx_policy.global_infra.session_timer_profiles_client module
- com.vmware.nsx_policy.global_infra.site_client module
- com.vmware.nsx_policy.global_infra.sites_client module
- com.vmware.nsx_policy.global_infra.tags_client module
- com.vmware.nsx_policy.global_infra.tier_0s_client module
- com.vmware.nsx_policy.global_infra.tier_1s_client module
- com.vmware.nsx_policy.global_infra.traceflows_client module
- Subpackages
- com.vmware.nsx_policy.infra package
- Subpackages
- com.vmware.nsx_policy.infra.domains package
- Subpackages
- Submodules
- com.vmware.nsx_policy.infra.domains.communication_maps_client module
- com.vmware.nsx_policy.infra.domains.endpoint_policies_client module
- com.vmware.nsx_policy.infra.domains.forwarding_policies_client module
- com.vmware.nsx_policy.infra.domains.gateway_policies_client module
- com.vmware.nsx_policy.infra.domains.groups_client module
- com.vmware.nsx_policy.infra.domains.intrusion_service_policies_client module
- com.vmware.nsx_policy.infra.domains.redirection_policies_client module
- com.vmware.nsx_policy.infra.domains.security_policies_client module
- com.vmware.nsx_policy.infra.lb_services package
- com.vmware.nsx_policy.infra.realized_state package
- Subpackages
- com.vmware.nsx_policy.infra.realized_state.enforcement_points package
- Submodules
- com.vmware.nsx_policy.infra.realized_state.enforcement_points.firewalls_client module
- com.vmware.nsx_policy.infra.realized_state.enforcement_points.groups_client module
- com.vmware.nsx_policy.infra.realized_state.enforcement_points.ip_sets_client module
- com.vmware.nsx_policy.infra.realized_state.enforcement_points.mac_sets_client module
- com.vmware.nsx_policy.infra.realized_state.enforcement_points.services_client module
- com.vmware.nsx_policy.infra.realized_state.enforcement_points.virtual_machines_client module
- com.vmware.nsx_policy.infra.realized_state.enforcement_points package
- Submodules
- com.vmware.nsx_policy.infra.realized_state.enforcement_points_client module
- Subpackages
- com.vmware.nsx_policy.infra.segments package
- com.vmware.nsx_policy.infra.service_references package
- com.vmware.nsx_policy.infra.settings package
- Subpackages
- com.vmware.nsx_policy.infra.settings.firewall package
- Subpackages
- Submodules
- com.vmware.nsx_policy.infra.settings.firewall.idfw_client module
- com.vmware.nsx_policy.infra.settings.firewall.security_client module
- com.vmware.nsx_policy.infra.settings.firewall package
- Submodules
- com.vmware.nsx_policy.infra.settings.firewall_client module
- Subpackages
- com.vmware.nsx_policy.infra.sites package
- com.vmware.nsx_policy.infra.tags package
- com.vmware.nsx_policy.infra.tier_0s package
- Subpackages
- com.vmware.nsx_policy.infra.tier_0s.groups package
- com.vmware.nsx_policy.infra.tier_0s.locale_services package
- Subpackages
- com.vmware.nsx_policy.infra.tier_0s.locale_services.bgp package
- com.vmware.nsx_policy.infra.tier_0s.locale_services.interfaces package
- com.vmware.nsx_policy.infra.tier_0s.locale_services.ipsec_vpn_services package
- com.vmware.nsx_policy.infra.tier_0s.locale_services.l2vpn_context package
- com.vmware.nsx_policy.infra.tier_0s.locale_services.l2vpn_services package
- Submodules
- com.vmware.nsx_policy.infra.tier_0s.locale_services.bgp_client module
- com.vmware.nsx_policy.infra.tier_0s.locale_services.byod_service_instances_client module
- com.vmware.nsx_policy.infra.tier_0s.locale_services.endpoints_client module
- com.vmware.nsx_policy.infra.tier_0s.locale_services.inter_site_client module
- com.vmware.nsx_policy.infra.tier_0s.locale_services.interfaces_client module
- com.vmware.nsx_policy.infra.tier_0s.locale_services.ipsec_vpn_services_client module
- com.vmware.nsx_policy.infra.tier_0s.locale_services.l2vpn_context_client module
- com.vmware.nsx_policy.infra.tier_0s.locale_services.l2vpn_services_client module
- com.vmware.nsx_policy.infra.tier_0s.locale_services.l3vpns_client module
- com.vmware.nsx_policy.infra.tier_0s.locale_services.multicast_client module
- com.vmware.nsx_policy.infra.tier_0s.locale_services.service_instances_client module
- Subpackages
- com.vmware.nsx_policy.infra.tier_0s.nat package
- Submodules
- com.vmware.nsx_policy.infra.tier_0s.dns_forwarder_client module
- com.vmware.nsx_policy.infra.tier_0s.locale_services_client module
- com.vmware.nsx_policy.infra.tier_0s.nat_client module
- com.vmware.nsx_policy.infra.tier_0s.static_routes_client module
- Subpackages
- com.vmware.nsx_policy.infra.tier_1s package
- Subpackages
- com.vmware.nsx_policy.infra.tier_1s.locale_services package
- Subpackages
- Submodules
- com.vmware.nsx_policy.infra.tier_1s.locale_services.interfaces_client module
- com.vmware.nsx_policy.infra.tier_1s.locale_services.ipsec_vpn_services_client module
- com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services_client module
- com.vmware.nsx_policy.infra.tier_1s.locale_services.service_instances_client module
- com.vmware.nsx_policy.infra.tier_1s.nat package
- com.vmware.nsx_policy.infra.tier_1s.segments package
- com.vmware.nsx_policy.infra.tier_1s.locale_services package
- Submodules
- com.vmware.nsx_policy.infra.tier_1s.dns_forwarder_client module
- com.vmware.nsx_policy.infra.tier_1s.locale_services_client module
- com.vmware.nsx_policy.infra.tier_1s.nat_client module
- com.vmware.nsx_policy.infra.tier_1s.segments_client module
- Subpackages
- com.vmware.nsx_policy.infra.domains package
- Submodules
- com.vmware.nsx_policy.infra.capacity_client module
- com.vmware.nsx_policy.infra.context_profiles_client module
- com.vmware.nsx_policy.infra.deployment_zones_client module
- com.vmware.nsx_policy.infra.dhcp_server_configs_client module
- com.vmware.nsx_policy.infra.domains_client module
- com.vmware.nsx_policy.infra.drafts_client module
- com.vmware.nsx_policy.infra.flood_protection_profiles_client module
- com.vmware.nsx_policy.infra.ip_pools_client module
- com.vmware.nsx_policy.infra.lb_services_client module
- com.vmware.nsx_policy.infra.realized_state_client module
- com.vmware.nsx_policy.infra.segments_client module
- com.vmware.nsx_policy.infra.service_references_client module
- com.vmware.nsx_policy.infra.services_client module
- com.vmware.nsx_policy.infra.session_timer_profiles_client module
- com.vmware.nsx_policy.infra.site_client module
- com.vmware.nsx_policy.infra.sites_client module
- com.vmware.nsx_policy.infra.tags_client module
- com.vmware.nsx_policy.infra.tier_0s_client module
- com.vmware.nsx_policy.infra.tier_1s_client module
- com.vmware.nsx_policy.infra.traceflows_client module
- Subpackages
Submodules¶
com.vmware.nsx_policy.aaa_client module¶
-
class
com.vmware.nsx_policy.aaa_client.
EffectivePermissions
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
(feature_name, object_path)¶ Returns none if user doesn’t have access or feature_name from required request parameter is empty/invalid/doesn’t match with object-path provided.
Parameters: - feature_name (
str
) – Feature name (required) - object_path (
str
) – Exact object Policy path (required)
Return type: Returns: com.vmware.nsx_policy.model.PathPermissionGroup
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- feature_name (
-
-
class
com.vmware.nsx_policy.aaa_client.
LdapIdentitySources
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(ldap_identity_source_id)¶ Delete an LDAP identity source. Users defined in that source will no longer be able to access NSX.
Parameters: ldap_identity_source_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
-
fetchcertificate
(identity_source_ldap_server_endpoint)¶ Attempt to connect to an LDAP server and retrieve the server certificate it presents.
Parameters: identity_source_ldap_server_endpoint ( com.vmware.nsx_policy.model_client.IdentitySourceLdapServerEndpoint
) – (required)Return type: com.vmware.nsx_policy.model_client.PeerCertificateChain
Returns: com.vmware.nsx_policy.model.PeerCertificateChain 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
(ldap_identity_source_id)¶ Return details about one LDAP identity source
Parameters: ldap_identity_source_id ( str
) – (required)Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.LdapIdentitySource The return value will contain all the attributes defined in com.vmware.nsx_policy.model_client.LdapIdentitySource
.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)¶ Return a list of all configured LDAP identity sources.
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: com.vmware.nsx_policy.model_client.LdapIdentitySourceListResult
Returns: com.vmware.nsx_policy.model.LdapIdentitySourceListResult
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 (
-
probe
(ldap_identity_source_id)¶ Attempt to connect to an existing LDAP identity source and report any errors encountered.
Parameters: ldap_identity_source_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.LdapIdentitySourceProbeResults
Returns: com.vmware.nsx_policy.model.LdapIdentitySourceProbeResults 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
-
probeidentitysource
(ldap_identity_source)¶ Verify that the configuration of an LDAP identity source is correct before actually creating the source.
Parameters: ldap_identity_source ( vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_policy.model_client.LdapIdentitySource
.Return type: com.vmware.nsx_policy.model_client.LdapIdentitySourceProbeResults
Returns: com.vmware.nsx_policy.model.LdapIdentitySourceProbeResults 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
-
probeldapserver
(identity_source_ldap_server)¶ Attempt to connect to an LDAP server and ensure that the server can be contacted using the given URL and authentication credentials.
Parameters: identity_source_ldap_server ( com.vmware.nsx_policy.model_client.IdentitySourceLdapServer
) – (required)Return type: com.vmware.nsx_policy.model_client.IdentitySourceLdapServerProbeResult
Returns: com.vmware.nsx_policy.model.IdentitySourceLdapServerProbeResult 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
(ldap_identity_source_id, ldap_identity_source)¶ Update the configuration of an existing LDAP identity source. You may wish to verify the new configuration using the POST /aaa/ldap-identity-sources?action=probe API before changing the configuration.
Parameters: - ldap_identity_source_id (
str
) – (required) - ldap_identity_source (
vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_policy.model_client.LdapIdentitySource
.
Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.LdapIdentitySource The return value will contain all the attributes defined in
com.vmware.nsx_policy.model_client.LdapIdentitySource
.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- ldap_identity_source_id (
-
-
class
com.vmware.nsx_policy.aaa_client.
ObjectPermissions
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(cursor=None, include_mark_for_delete_objects=None, included_fields=None, inheritance_disabled=None, page_size=None, path_prefix=None, role_name=None, sort_ascending=None, sort_by=None)¶ Delete object-permissions entries
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - included_fields (
str
orNone
) – Comma separated list of fields that should be included in query result (optional) - inheritance_disabled (
bool
orNone
) – Does children of this object inherit this rule (optional, default to false) - page_size (
long
orNone
) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000) - path_prefix (
str
orNone
) – Path prefix (optional) - role_name (
str
orNone
) – Role name (optional) - sort_ascending (
bool
orNone
) – (optional) - sort_by (
str
orNone
) – Field by which records are sorted (optional)
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 (
-
list
(cursor=None, include_mark_for_delete_objects=None, included_fields=None, inheritance_disabled=None, page_size=None, path_prefix=None, role_name=None, sort_ascending=None, sort_by=None)¶ Get list of Object-level RBAC entries.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - included_fields (
str
orNone
) – Comma separated list of fields that should be included in query result (optional) - inheritance_disabled (
bool
orNone
) – Does children of this object inherit this rule (optional, default to false) - page_size (
long
orNone
) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000) - path_prefix (
str
orNone
) – Path prefix (optional) - role_name (
str
orNone
) – Role name (optional) - sort_ascending (
bool
orNone
) – (optional) - sort_by (
str
orNone
) – Field by which records are sorted (optional)
Return type: com.vmware.nsx_policy.model_client.ObjectRolePermissionGroupListResult
Returns: com.vmware.nsx_policy.model.ObjectRolePermissionGroupListResult
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 (
-
patch
(object_role_permission_group)¶ Create/update object permission mappings
Parameters: object_role_permission_group ( com.vmware.nsx_policy.model_client.ObjectRolePermissionGroup
) – (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
-
-
class
com.vmware.nsx_policy.aaa_client.
RegistrationToken
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
create
()¶ The privileges of the registration token will be the same as the caller.
Return type: com.vmware.nsx_policy.model_client.RegistrationToken
Returns: com.vmware.nsx_policy.model.RegistrationToken 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
-
delete
(token)¶ Delete registration access token
Parameters: token ( str
) – Registration token (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
(token)¶ Get registration access token
Parameters: token ( str
) – Registration token (required)Return type: com.vmware.nsx_policy.model_client.RegistrationToken
Returns: com.vmware.nsx_policy.model.RegistrationToken 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_policy.aaa_client.
RoleBindings
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
LIST_IDENTITY_SOURCE_TYPE_LDAP
= 'LDAP'¶ Possible value for
identitySourceType
of methodRoleBindings.list()
.
-
LIST_IDENTITY_SOURCE_TYPE_VIDM
= 'VIDM'¶ Possible value for
identitySourceType
of methodRoleBindings.list()
.
-
LIST_TYPE_LOCAL_USER
= 'local_user'¶ Possible value for
type
of methodRoleBindings.list()
.
-
LIST_TYPE_PRINCIPAL_IDENTITY
= 'principal_identity'¶ Possible value for
type
of methodRoleBindings.list()
.
-
LIST_TYPE_REMOTE_GROUP
= 'remote_group'¶ Possible value for
type
of methodRoleBindings.list()
.
-
LIST_TYPE_REMOTE_USER
= 'remote_user'¶ Possible value for
type
of methodRoleBindings.list()
.
-
create
(role_binding)¶ When assigning a user role, specify the user name with the same case as it appears in vIDM to access the NSX-T user interface. For example, if vIDM has the user name User1\@example.com then the name attribute in the API call must be be User1\@example.com and cannot be user1\@example.com.
Parameters: role_binding ( com.vmware.nsx_policy.model_client.RoleBinding
) – (required)Return type: com.vmware.nsx_policy.model_client.RoleBinding
Returns: com.vmware.nsx_policy.model.RoleBinding 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
-
delete
(binding_id)¶ Delete user/group’s roles assignment
Parameters: binding_id ( str
) – User/Group’s id (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
-
deletestalebindings
()¶ Delete all stale role assignments
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
(binding_id)¶ Get user/group’s role information
Parameters: binding_id ( str
) – User/Group’s id (required)Return type: com.vmware.nsx_policy.model_client.RoleBinding
Returns: com.vmware.nsx_policy.model.RoleBinding 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, identity_source_id=None, identity_source_type=None, included_fields=None, name=None, page_size=None, role=None, sort_ascending=None, sort_by=None, type=None)¶ Get all users and groups with their roles
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - identity_source_id (
str
orNone
) – Identity source ID (optional) - identity_source_type (
str
orNone
) – Identity source type (optional) - included_fields (
str
orNone
) – Comma separated list of fields that should be included in query result (optional) - name (
str
orNone
) – User/Group name (optional) - page_size (
long
orNone
) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000) - role (
str
orNone
) – Role ID (optional) - sort_ascending (
bool
orNone
) – (optional) - sort_by (
str
orNone
) – Field by which records are sorted (optional) - type (
str
orNone
) – Type (optional)
Return type: Returns: com.vmware.nsx_policy.model.RoleBindingListResult
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
(binding_id, role_binding)¶ Update User or Group’s roles
Parameters: - binding_id (
str
) – User/Group’s id (required) - role_binding (
com.vmware.nsx_policy.model_client.RoleBinding
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.RoleBinding
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- binding_id (
-
-
class
com.vmware.nsx_policy.aaa_client.
Roles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
(role)¶ Get role information
Parameters: role ( str
) – Role id (required)Return type: com.vmware.nsx_policy.model_client.RoleWithFeatures
Returns: com.vmware.nsx_policy.model.RoleWithFeatures 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
()¶ Get information about all roles
Return type: com.vmware.nsx_policy.model_client.RoleListResult
Returns: com.vmware.nsx_policy.model.RoleListResult 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_policy.aaa_client.
RolesWithFeaturePermissions
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(cursor=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get information about all roles with features and their permissions
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: com.vmware.nsx_policy.model_client.RoleWithFeaturesListResult
Returns: com.vmware.nsx_policy.model.RoleWithFeaturesListResult
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 (
-
-
class
com.vmware.nsx_policy.aaa_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_policy.aaa_client.
UserInfo
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
()¶ This API will return the name and role information of the user invoking this API request. This API is available for all NSX users no matter their authentication method (Local account, VIDM, LDAP etc). The permissions parameter of the NsxRole has been deprecated.
Return type: com.vmware.nsx_policy.model_client.UserInfo
Returns: com.vmware.nsx_policy.model.UserInfo 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
-
com.vmware.nsx_policy.cluster_client module¶
-
class
com.vmware.nsx_policy.cluster_client.
Backups
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
retrievesshfingerprint
(remote_server_fingerprint_request)¶ Get SHA256 fingerprint of ECDSA key of remote server. The caller should independently verify that the key is trusted.
Parameters: remote_server_fingerprint_request ( com.vmware.nsx_policy.model_client.RemoteServerFingerprintRequest
) – (required)Return type: com.vmware.nsx_policy.model_client.RemoteServerFingerprint
Returns: com.vmware.nsx_policy.model.RemoteServerFingerprint 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_policy.cluster_client.
Restore
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
advance
(advance_cluster_restore_request)¶ Advance any currently suspended restore operation. The operation might have been suspended because (1) the user had suspended it previously, or (2) the operation is waiting for user input, to be provided as a part of the POST request body. This operation is only valid when a GET cluster/restore/status returns a status with value SUSPENDED. Otherwise, a 409 response is returned.
Parameters: advance_cluster_restore_request ( com.vmware.nsx_policy.model_client.AdvanceClusterRestoreRequest
) – (required)Return type: com.vmware.nsx_policy.model_client.ClusterRestoreStatus
Returns: com.vmware.nsx_policy.model.ClusterRestoreStatus 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.ConcurrentChange
ConflictRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
cancel
()¶ This operation is only valid when a restore is in suspended state. The UI user can cancel any restore operation when the restore is suspended either due to an error, or for a user input. The API user would need to monitor the progression of a restore by calling periodically “/api/v1/cluster/restore/status” API. The response object (ClusterRestoreStatus), contains a field “endpoints”. The API user can cancel the restore process if ‘cancel’ action is shown in the endpoint field. This operation is only valid when a GET cluster/restore/status returns a status with value SUSPENDED.
Return type: com.vmware.nsx_policy.model_client.ClusterRestoreStatus
Returns: com.vmware.nsx_policy.model.ClusterRestoreStatus 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.ConcurrentChange
ConflictRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
retry
()¶ Retry any currently in-progress, failed restore operation. Only the last step of the multi-step restore operation would have failed,and only that step is retried. This operation is only valid when a GET cluster/restore/status returns a status with value FAILED. Otherwise, a 409 response is returned.
Return type: com.vmware.nsx_policy.model_client.ClusterRestoreStatus
Returns: com.vmware.nsx_policy.model.ClusterRestoreStatus 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.ConcurrentChange
ConflictRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
start
(initiate_cluster_restore_request)¶ Start the restore of an NSX cluster, from some previously backed-up configuration. This operation is only valid when a GET cluster/restore/status returns a status with value NOT_STARTED. Otherwise, a 409 response is returned.
Parameters: initiate_cluster_restore_request ( com.vmware.nsx_policy.model_client.InitiateClusterRestoreRequest
) – (required)Return type: com.vmware.nsx_policy.model_client.ClusterRestoreStatus
Returns: com.vmware.nsx_policy.model.ClusterRestoreStatus 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.ConcurrentChange
ConflictRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
suspend
()¶ Suspend any currently running restore operation. The restore operation is made up of a number of steps. When this call is issued, any currently running step is allowed to finish (successfully or with errors), and the next step (and therefore the entire restore operation) is suspended until a subsequent resume or cancel call is issued. This operation is only valid when a GET cluster/restore/status returns a status with value RUNNING. Otherwise, a 409 response is returned.
Return type: com.vmware.nsx_policy.model_client.ClusterRestoreStatus
Returns: com.vmware.nsx_policy.model.ClusterRestoreStatus 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.ConcurrentChange
ConflictRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
-
class
com.vmware.nsx_policy.cluster_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
Parameters: stub_config ( vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.nsx_policy.compliance_client module¶
-
class
com.vmware.nsx_policy.compliance_client.
Status
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
()¶ Returns the compliance status and details of non compliant configuration
Return type: com.vmware.nsx_policy.model_client.PolicyComplianceStatus
Returns: com.vmware.nsx_policy.model.PolicyComplianceStatus 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_policy.compliance_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
Parameters: stub_config ( vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.nsx_policy.configs_client module¶
-
class
com.vmware.nsx_policy.configs_client.
Management
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
()¶ Returns the NSX Management nodes global configuration.
Return type: com.vmware.nsx_policy.model_client.ManagementConfig
Returns: com.vmware.nsx_policy.model.ManagementConfig 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
(management_config)¶ Modifies the NSX Management nodes global configuration.
Parameters: management_config ( com.vmware.nsx_policy.model_client.ManagementConfig
) – (required)Return type: com.vmware.nsx_policy.model_client.ManagementConfig
Returns: com.vmware.nsx_policy.model.ManagementConfig 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_policy.configs_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
Parameters: stub_config ( vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.nsx_policy.enforcement_points_client module¶
-
class
com.vmware.nsx_policy.enforcement_points_client.
ServiceDefinitions
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
create
(enforcement_point_id, service_definition)¶ Create a Service Definition on given enforcement point.
Parameters: - enforcement_point_id (
str
) – Enforcement point id (required) - service_definition (
com.vmware.nsx_policy.model_client.ServiceDefinition
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.ServiceDefinition
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- enforcement_point_id (
-
delete
(enforcement_point_id, service_definition_id)¶ Delete an existing Service Definition on the given enforcement point.
Parameters: - enforcement_point_id (
str
) – Enforcement point id (required) - service_definition_id (
str
) – Id of service definition (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- enforcement_point_id (
-
get
(enforcement_point_id, service_definition_id)¶ Read Service Definition with given service-definition-id.
Parameters: - enforcement_point_id (
str
) – Enforcement point id (required) - service_definition_id (
str
) – Id of service definition (required)
Return type: Returns: com.vmware.nsx_policy.model.ServiceDefinition
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- enforcement_point_id (
-
list
(enforcement_point_id)¶ List all Service Definitions registered on given enforcement point.
Parameters: enforcement_point_id ( str
) – Enforcement point id (required)Return type: com.vmware.nsx_policy.model_client.ServiceInsertionServiceListResult
Returns: com.vmware.nsx_policy.model.ServiceInsertionServiceListResult 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
(enforcement_point_id, service_definition_id, service_definition)¶ Update an existing Service Definition on the given enforcement point.
Parameters: - enforcement_point_id (
str
) – Enforcement point id (required) - service_definition_id (
str
) – Id of service definition (required) - service_definition (
com.vmware.nsx_policy.model_client.ServiceDefinition
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.ServiceDefinition
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- enforcement_point_id (
-
-
class
com.vmware.nsx_policy.enforcement_points_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
Parameters: stub_config ( vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.nsx_policy.eula_client module¶
-
class
com.vmware.nsx_policy.eula_client.
Accept
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
create
()¶ Accept end user license agreement
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_policy.eula_client.
Acceptance
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
()¶ Return the acceptance status of end user license agreement
Return type: com.vmware.nsx_policy.model_client.EULAAcceptance
Returns: com.vmware.nsx_policy.model.EULAAcceptance 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_policy.eula_client.
Content
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
(cursor=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None, value_format=None)¶ Return the content of end user license agreement in the specified format. By default, it’s pure string without line break
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) - value_format (
str
orNone
) – End User License Agreement content output format (optional)
Return type: Returns: com.vmware.nsx_policy.model.EULAContent
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 (
-
-
class
com.vmware.nsx_policy.eula_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
Parameters: stub_config ( vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.nsx_policy.fine_tuning_client module¶
-
class
com.vmware.nsx_policy.fine_tuning_client.
Resources
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(cursor=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None, type=None)¶ This API provides field names of attributes in NSX types that are owned by Policy, as opposed to those owned by the enforcement point. For any type on NSX, some of the attributes of that type may be owned and set by Policy when realizing the intent, while some others may be owned and set by the enforcement point itself. This information can be used to disable updates to Policy owned attributes by the advanced networking UI, while allowing tweaking to the attributes owned by the management plane.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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) - type (
str
orNone
) – Type query (optional)
Return type: Returns: com.vmware.nsx_policy.model.ResourceInfoListResult
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 (
-
-
class
com.vmware.nsx_policy.fine_tuning_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
Parameters: stub_config ( vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.nsx_policy.global_infra_client module¶
-
class
com.vmware.nsx_policy.global_infra_client.
BfdProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(bfd_profile_id, override=None)¶ Delete BFD Config and all the entities contained by this BfdProfile.
Parameters: - bfd_profile_id (
str
) – BfdProfile ID (required) - override (
bool
orNone
) – Locally override the global object (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- bfd_profile_id (
-
get
(bfd_profile_id)¶ Read a BfdProfile.
Parameters: bfd_profile_id ( str
) – BfdProfile ID (required)Return type: com.vmware.nsx_policy.model_client.BfdProfile
Returns: com.vmware.nsx_policy.model.BfdProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all BfdProfiles.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.BfdProfileListResult
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 (
-
patch
(bfd_profile_id, bfd_profile, override=None)¶ If a BfdProfile with the bfd-profile-id is not already present, create a new BfdProfile. If it already exists, update the BfdProfile. This operation will fully replace the object.
Parameters: - bfd_profile_id (
str
) – BfdProfile ID (required) - bfd_profile (
com.vmware.nsx_policy.model_client.BfdProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- bfd_profile_id (
-
update
(bfd_profile_id, bfd_profile, override=None)¶ If a BfdProfile with the bfd-profile-id is not already present, create a new BfdProfile. If it already exists, update the BfdProfile. This operation will fully replace the object.
Parameters: - bfd_profile_id (
str
) – BfdProfile ID (required) - bfd_profile (
com.vmware.nsx_policy.model_client.BfdProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.BfdProfile
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- bfd_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
Certificates
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
LIST_TYPE_CERTIFICATE
= 'cluster_api_certificate'¶ Possible value for
type
of methodCertificates.list()
.
-
delete
(certificate_id)¶ Removes the specified certificate. The private key associated with the certificate is also deleted.
Parameters: certificate_id ( str
) – ID of certificate to delete (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
(certificate_id, details=None)¶ Returns information for the specified certificate ID, including the certificate’s id; resource_type (for example, certificate_self_signed, certificate_ca, or certificate_signed); pem_encoded data; and history of the certificate (who created or modified it and when). For additional information, include the ?details=true modifier at the end of the request URI.
Parameters: - certificate_id (
str
) – ID of certificate to read (required) - details (
bool
orNone
) – whether to expand the pem data and show all its details (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.TlsCertificate
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- certificate_id (
-
list
(cursor=None, details=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None, type=None)¶ Returns all certificate information viewable by the user, including each certificate’s id; resource_type (for example, certificate_self_signed, certificate_ca, or certificate_signed); pem_encoded data; and history of the certificate (who created or modified it and when). For additional information, include the ?details=true modifier at the end of the request URI.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - details (
bool
orNone
) – whether to expand the pem data and show all its details (optional, default to false) - 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) - type (
str
orNone
) – Type of certificate to return (optional)
Return type: Returns: com.vmware.nsx_policy.model.TlsCertificateList
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 (
-
patch
(certificate_id, tls_trust_data)¶ Adds a new private-public certificate and, optionally, a private key that can be applied to one of the user-facing components (appliance management or edge). The certificate and the key should be stored in PEM format. If no private key is provided, the certificate is used as a client certificate in the trust store. A certificate chain will not be expanded into separate certificate instances for reference, but would be pushed to the enforcement point as a single certificate. This patch method does not modify an existing certificate.
Parameters: - certificate_id (
str
) – (required) - tls_trust_data (
com.vmware.nsx_policy.model_client.TlsTrustData
) – (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- certificate_id (
-
update
(certificate_id, tls_trust_data)¶ Adds a new private-public certificate and, optionally, a private key that can be applied to one of the user-facing components (appliance management or edge). The certificate and the key should be stored in PEM format. If no private key is provided, the certificate is used as a client certificate in the trust store. A certificate chain will not be expanded into separate certificate instances for reference, but would be pushed to the enforcement point as a single certificate.
Parameters: - certificate_id (
str
) – (required) - tls_trust_data (
com.vmware.nsx_policy.model_client.TlsTrustData
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.TlsCertificate
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- certificate_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
Constraints
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(constraint_id)¶ Delete tenant constraint.
Parameters: constraint_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
(constraint_id)¶ Read tenant constraint.
Parameters: constraint_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.Constraint
Returns: com.vmware.nsx_policy.model.Constraint 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List tenant constraints.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.ConstraintListResult
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 (
-
patch
(constraint_id, constraint)¶ Create tenant constraint if not exists, otherwise update the existing constraint.
Parameters: - constraint_id (
str
) – (required) - constraint (
com.vmware.nsx_policy.model_client.Constraint
) – (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- constraint_id (
-
update
(constraint_id, constraint)¶ Create tenant constraint if it does not exist, otherwise replace the existing constraint.
Parameters: - constraint_id (
str
) – (required) - constraint (
com.vmware.nsx_policy.model_client.Constraint
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.Constraint
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- constraint_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
ContextProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(context_profile_id, force=None, override=None)¶ Deletes the specified Policy Context Profile. If the Policy Context Profile is consumed in a firewall rule, it won’t get deleted.
Parameters: - context_profile_id (
str
) – Policy Context Profile Id (required) - force (
bool
orNone
) – Force delete the resource even if it is being used somewhere (optional, default to false) - override (
bool
orNone
) – Delete the locally overriden global object (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- context_profile_id (
-
get
(context_profile_id)¶ Get a single PolicyContextProfile by id
Parameters: context_profile_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.PolicyContextProfile
Returns: com.vmware.nsx_policy.model.PolicyContextProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get all PolicyContextProfiles
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyContextProfileListResult
Returns: com.vmware.nsx_policy.model.PolicyContextProfileListResult
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 (
-
patch
(context_profile_id, policy_context_profile, override=None)¶ Creates/Updates a PolicyContextProfile, which encapsulates attribute and sub-attributes of network services. Rules for using attributes and sub-attributes in single PolicyContextProfile 1. One type of attribute can’t have multiple occurrences. ( Eg. - Attribute type APP_ID can be used only once per PolicyContextProfile.) 2. For specifying multiple values for an attribute, provide them in an array. 3. If sub-attribtes are mentioned for an attribute, then only single value is allowed for that attribute. 4. To get a list of supported attributes and sub-attributes fire the following REST API GET https://<policy-mgr>/policy/api/v1/infra/context-profiles/attributes
Parameters: - context_profile_id (
str
) – (required) - policy_context_profile (
com.vmware.nsx_policy.model_client.PolicyContextProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- context_profile_id (
-
update
(context_profile_id, policy_context_profile, override=None)¶ Creates/Updates a PolicyContextProfile, which encapsulates attribute and sub-attributes of network services. Rules for using attributes and sub-attributes in single PolicyContextProfile 1. One type of attribute can’t have multiple occurrences. ( Eg. - Attribute type APP_ID can be used only once per PolicyContextProfile.) 2. For specifying multiple values for an attribute, provide them in an array. 3. If sub-attribtes are mentioned for an attribute, then only single value is allowed for that attribute. 4. To get a list of supported attributes and sub-attributes fire the following REST API GET https://<policy-mgr>/policy/api/v1/infra/context-profiles/attributes
Parameters: - context_profile_id (
str
) – (required) - policy_context_profile (
com.vmware.nsx_policy.model_client.PolicyContextProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.PolicyContextProfile
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- context_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
Crls
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
LIST_TYPE_CERTIFICATE
= 'cluster_api_certificate'¶ Possible value for
type
of methodCrls.list()
.
-
delete
(crl_id)¶ Deletes an existing CRL.
Parameters: crl_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
(crl_id, details=None)¶ Returns information about the specified CRL. For additional information, include the ?details=true modifier at the end of the request URI.
Parameters: - crl_id (
str
) – (required) - details (
bool
orNone
) – whether to expand the pem data and show all its details (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.TlsCrl
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- crl_id (
-
importcrl
(crl_id, tls_crl)¶ Adds a new certificate revocation list (CRLs). The CRL is used to verify the client certificate status against the revocation lists published by the CA. For this reason, the administrator needs to add the CRL in certificate repository as well. The CRL can contain a single CRL or multiple CRLs depending on the PEM data. - Single CRL: a single CRL is created with the given id. - Composite CRL: multiple CRLs are generated. Each of the CRL is created with an id generated based on the given id. First CRL is created with crl-id, second with crl-id-1, third with crl-id-2, etc.
Parameters: - crl_id (
str
) – (required) - tls_crl (
com.vmware.nsx_policy.model_client.TlsCrl
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.TlsCrlListResult
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- crl_id (
-
list
(cursor=None, details=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None, type=None)¶ Returns information about all CRLs. For additional information, include the ?details=true modifier at the end of the request URI.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - details (
bool
orNone
) – whether to expand the pem data and show all its details (optional, default to false) - 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) - type (
str
orNone
) – Type of certificate to return (optional)
Return type: Returns: com.vmware.nsx_policy.model.TlsCrlListResult
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 (
-
patch
(crl_id, tls_crl)¶ Create or patch a Certificate Revocation List for the given id. The CRL is used to verify the client certificate status against the revocation lists published by the CA. For this reason, the administrator needs to add the CRL in certificate repository as well. The CRL must contain PEM data for a single CRL.
Parameters: - crl_id (
str
) – (required) - tls_crl (
com.vmware.nsx_policy.model_client.TlsCrl
) – (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- crl_id (
-
update
(crl_id, tls_crl)¶ Create or replace a Certificate Revocation List for the given id. The CRL is used to verify the client certificate status against the revocation lists published by the CA. For this reason, the administrator needs to add the CRL in certificate repository as well. The CRL must contain PEM data for a single CRL. Revision is required.
Parameters: - crl_id (
str
) – (required) - tls_crl (
com.vmware.nsx_policy.model_client.TlsCrl
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.TlsCrl
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- crl_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
DeploymentZones
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
(deployment_zone_id)¶ Read a Deployment Zone. This is a deprecated API. DeploymentZone has been renamed to Site. Use GET /infra/sites/site-id.
Parameters: deployment_zone_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.DeploymentZone
Returns: com.vmware.nsx_policy.model.DeploymentZone 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all Deployment zones for infra. This is a deprecated API. DeploymentZone has been renamed to Site. Use GET /infra/sites.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.DeploymentZoneListResult
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 (
-
-
class
com.vmware.nsx_policy.global_infra_client.
DhcpRelayConfigs
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(dhcp_relay_config_id)¶ Delete DHCP relay configuration
Parameters: dhcp_relay_config_id ( str
) – DHCP relay config ID (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
(dhcp_relay_config_id)¶ Read DHCP relay configuration
Parameters: dhcp_relay_config_id ( str
) – DHCP relay config ID (required)Return type: com.vmware.nsx_policy.model_client.DhcpRelayConfig
Returns: com.vmware.nsx_policy.model.DhcpRelayConfig 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all DHCP relay config instances
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.DhcpRelayConfigListResult
Returns: com.vmware.nsx_policy.model.DhcpRelayConfigListResult
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 (
-
patch
(dhcp_relay_config_id, dhcp_relay_config)¶ If DHCP relay config with the dhcp-relay-config-id is not already present, create a new DHCP relay config instance. If it already exists, update the DHCP relay config instance with specified attributes.
Parameters: - dhcp_relay_config_id (
str
) – DHCP relay config ID (required) - dhcp_relay_config (
com.vmware.nsx_policy.model_client.DhcpRelayConfig
) – (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- dhcp_relay_config_id (
-
update
(dhcp_relay_config_id, dhcp_relay_config)¶ If DHCP relay config with the dhcp-relay-config-id is not already present, create a new DHCP relay config instance. If it already exists, replace the DHCP relay config instance with this object.
Parameters: - dhcp_relay_config_id (
str
) – DHCP relay config ID (required) - dhcp_relay_config (
com.vmware.nsx_policy.model_client.DhcpRelayConfig
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.DhcpRelayConfig
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- dhcp_relay_config_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
DhcpServerConfigs
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(dhcp_server_config_id)¶ Delete DHCP server configuration
Parameters: dhcp_server_config_id ( str
) – DHCP server config ID (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
(dhcp_server_config_id)¶ Read DHCP server configuration
Parameters: dhcp_server_config_id ( str
) – DHCP server config ID (required)Return type: com.vmware.nsx_policy.model_client.DhcpServerConfig
Returns: com.vmware.nsx_policy.model.DhcpServerConfig 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all DHCP server config instances
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.DhcpServerConfigListResult
Returns: com.vmware.nsx_policy.model.DhcpServerConfigListResult
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 (
-
patch
(dhcp_server_config_id, dhcp_server_config)¶ If DHCP server config with the dhcp-server-config-id is not already present, create a new DHCP server config instance. If it already exists, update the DHCP server config instance with specified attributes. Realized entities of this API can be found using the path of Tier-0, Tier1, or Segment where this config is applied on. Modification of edge_cluster_path in DhcpServerConfig will lose all existing DHCP leases. If both the preferred_edge_paths in the DhcpServerConfig are changed in a same PATCH API, e.g. change from [a,b] to [x,y], the current DHCP server leases will be lost, which could cause network connectivity issues. It is recommended to change only one member index in an update call, e.g. from [a, b] to [a,y]. Clearing preferred_edge_paths will not reassign edge nodes from the edge cluster. Instead, the previously-allocated edge nodes will be retained to avoid loss of leases.
Parameters: - dhcp_server_config_id (
str
) – DHCP server config ID (required) - dhcp_server_config (
com.vmware.nsx_policy.model_client.DhcpServerConfig
) – (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- dhcp_server_config_id (
-
update
(dhcp_server_config_id, dhcp_server_config)¶ If DHCP server config with the dhcp-server-config-id is not already present, create a new DHCP server config instance. If it already exists, replace the DHCP server config instance with this object. Realized entities of this API can be found using the path of Tier-0, Tier1, or Segment where this config is applied on. Modification of edge_cluster_path in DhcpServerConfig will lose all existing DHCP leases. If both the preferred_edge_paths in the DhcpServerConfig are changed in a same PUT API, e.g. change from [a,b] to [x,y], the current DHCP server leases will be lost, which could cause network connectivity issues. It is recommended to change only one member index in an update call, e.g. from [a, b] to [a,y]. Clearing preferred_edge_paths will not reassign edge nodes from the edge cluster. Instead, the previously-allocated edge nodes will be retained to avoid loss of leases.
Parameters: - dhcp_server_config_id (
str
) – DHCP server config ID (required) - dhcp_server_config (
com.vmware.nsx_policy.model_client.DhcpServerConfig
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.DhcpServerConfig
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- dhcp_server_config_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
DnsForwarderZones
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(dns_forwarder_zone_id)¶ Delete the DNS Forwarder Zone
Parameters: dns_forwarder_zone_id ( str
) – DNS Forwarder Zone ID (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
(dns_forwarder_zone_id)¶ Read the DNS Forwarder Zone
Parameters: dns_forwarder_zone_id ( str
) – DNS Forwarder Zone ID (required)Return type: com.vmware.nsx_policy.model_client.PolicyDnsForwarderZone
Returns: com.vmware.nsx_policy.model.PolicyDnsForwarderZone 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all Dns Forwarder Zones
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyDnsForwarderZoneListResult
Returns: com.vmware.nsx_policy.model.PolicyDnsForwarderZoneListResult
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 (
-
patch
(dns_forwarder_zone_id, policy_dns_forwarder_zone)¶ Create or update the DNS Forwarder Zone
Parameters: - dns_forwarder_zone_id (
str
) – DNS Forwarder Zone ID (required) - policy_dns_forwarder_zone (
com.vmware.nsx_policy.model_client.PolicyDnsForwarderZone
) – (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- dns_forwarder_zone_id (
-
update
(dns_forwarder_zone_id, policy_dns_forwarder_zone)¶ Create or update the DNS Forwarder Zone
Parameters: - dns_forwarder_zone_id (
str
) – DNS Forwarder Zone ID (required) - policy_dns_forwarder_zone (
com.vmware.nsx_policy.model_client.PolicyDnsForwarderZone
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.PolicyDnsForwarderZone
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- dns_forwarder_zone_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
DnsSecurityProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(profile_id, override=None)¶ Delete DNS security profile
Parameters: - profile_id (
str
) – (required) - override (
bool
orNone
) – Locally override the global object (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- profile_id (
-
get
(profile_id)¶ Read the DNS Forwarder for the given tier-0 instance
Parameters: profile_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.DnsSecurityProfile
Returns: com.vmware.nsx_policy.model.DnsSecurityProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List all DNS security profiles
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.DnsSecurityProfileListResult
Returns: com.vmware.nsx_policy.model.DnsSecurityProfileListResult
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 (
-
patch
(profile_id, dns_security_profile, override=None)¶ Create or update DNS security profile
Parameters: - profile_id (
str
) – (required) - dns_security_profile (
com.vmware.nsx_policy.model_client.DnsSecurityProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- profile_id (
-
update
(profile_id, dns_security_profile, override=None)¶ Create or update DNS security profile
Parameters: - profile_id (
str
) – (required) - dns_security_profile (
com.vmware.nsx_policy.model_client.DnsSecurityProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.DnsSecurityProfile
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- profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
Domains
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(domain_id)¶ Delete the domain along with all the entities contained by this domain. The groups that are a part of this domain are also deleted along with the domain.
Parameters: domain_id ( str
) – Domain ID (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
(domain_id)¶ Read a domain.
Parameters: domain_id ( str
) – Domain ID (required)Return type: com.vmware.nsx_policy.model_client.Domain
Returns: com.vmware.nsx_policy.model.Domain 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all domains for infra.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.DomainListResult
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 (
-
patch
(domain_id, domain)¶ If a domain with the domain-id is not already present, create a new domain. If it already exists, patch the domain
Parameters: - domain_id (
str
) – Domain ID (required) - domain (
com.vmware.nsx_policy.model_client.Domain
) – (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- domain_id (
-
update
(domain_id, domain)¶ If a domain with the domain-id is not already present, create a new domain. If it already exists, update the domain including the nested groups. This is a full replace
Parameters: - domain_id (
str
) – Domain ID (required) - domain (
com.vmware.nsx_policy.model_client.Domain
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.Domain
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- domain_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
Drafts
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(draft_id)¶ Delete a manual draft.
Parameters: draft_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
(draft_id)¶ Read a draft for a given draft identifier.
Parameters: draft_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.PolicyDraft
Returns: com.vmware.nsx_policy.model.PolicyDraft 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
(auto_drafts=None, cursor=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List policy drafts.
Parameters: - auto_drafts (
bool
orNone
) – Fetch list of draft based on is_auto_draft flag (optional) - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.PolicyDraftListResult
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- auto_drafts (
-
patch
(draft_id, policy_draft)¶ Create a new manual draft if the specified draft id does not correspond to an existing draft. Update the manual draft otherwise. Auto draft can not be updated.
Parameters: - draft_id (
str
) – (required) - policy_draft (
com.vmware.nsx_policy.model_client.PolicyDraft
) – (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- draft_id (
-
publish
(draft_id, infra)¶ Read a draft and publish it by applying changes onto current configuration.
Parameters: - draft_id (
str
) – (required) - infra (
com.vmware.nsx_policy.model_client.Infra
) – (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- draft_id (
-
update
(draft_id, policy_draft)¶ Create a new manual draft if the specified draft id does not correspond to an existing draft. Update the manual draft otherwise. Auto draft can not be updated.
Parameters: - draft_id (
str
) – (required) - policy_draft (
com.vmware.nsx_policy.model_client.PolicyDraft
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.PolicyDraft
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- draft_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
FederationConfig
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
()¶ Read a federation config from Global Manager.
Return type: com.vmware.nsx_policy.model_client.FederationConfig
Returns: com.vmware.nsx_policy.model.FederationConfig 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_policy.global_infra_client.
FirewallSchedulers
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(firewall_scheduler_id, force=None)¶ Deletes the specified PolicyFirewallScheduler. If scheduler is consumed in a security policy, it won’t get deleted.
Parameters: - firewall_scheduler_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- firewall_scheduler_id (
-
get
(firewall_scheduler_id)¶ Get a PolicyFirewallScheduler by id
Parameters: firewall_scheduler_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.PolicyFirewallScheduler
Returns: com.vmware.nsx_policy.model.PolicyFirewallScheduler 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get all PolicyFirewallSchedulers
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyFirewallSchedulerListResult
Returns: com.vmware.nsx_policy.model.PolicyFirewallSchedulerListResult
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 (
-
patch
(firewall_scheduler_id, policy_firewall_scheduler)¶ Creates/Updates a PolicyFirewallScheduler, which can be set at security policy. Note that at least one property out of “days”, “start_date”, “time_interval”, “end_date” is required if “recurring” field is true. Also “start_time” and “end_time” should not be present. And if “recurring” field is false then “start_date” and “end_date” is mandatory, “start_time” and “end_time” is optional. Also the fields “days” and “time_interval” should not be present.
Parameters: - firewall_scheduler_id (
str
) – (required) - policy_firewall_scheduler (
com.vmware.nsx_policy.model_client.PolicyFirewallScheduler
) – (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- firewall_scheduler_id (
-
update
(firewall_scheduler_id, policy_firewall_scheduler)¶ Updates a PolicyFirewallScheduler, which can be set at security policy. Note that at least one property out of “days”, “start_date”, “time_interval”, “end_date” is required if “recurring” field is true. Also “start_time” and “end_time” should not be present. And if “recurring” field is false then “start_date” and “end_date” is mandatory, “start_time” and “end_time” is optional. Also the fields “days” and “time_interval” should not be present.
Parameters: - firewall_scheduler_id (
str
) – (required) - policy_firewall_scheduler (
com.vmware.nsx_policy.model_client.PolicyFirewallScheduler
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.PolicyFirewallScheduler
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- firewall_scheduler_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
FirewallSessionTimerProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(firewall_session_timer_profile_id, override=None)¶ API will delete Firewall Session Timer Profile
Parameters: - firewall_session_timer_profile_id (
str
) – Firewall Session Timer Profile ID (required) - override (
bool
orNone
) – Locally override the global object (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- firewall_session_timer_profile_id (
-
get
(firewall_session_timer_profile_id)¶ API will get Firewall Session Timer Profile
Parameters: firewall_session_timer_profile_id ( str
) – Firewall Session Timer Profile ID (required)Return type: com.vmware.nsx_policy.model_client.PolicyFirewallSessionTimerProfile
Returns: com.vmware.nsx_policy.model.PolicyFirewallSessionTimerProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API will list all Firewall Session Timer Profiles
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyFirewallSessionTimerProfileListResult
Returns: com.vmware.nsx_policy.model.PolicyFirewallSessionTimerProfileListResult
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 (
-
patch
(firewall_session_timer_profile_id, policy_firewall_session_timer_profile, override=None)¶ API will create/update Firewall Session Timer Profile
Parameters: - firewall_session_timer_profile_id (
str
) – Firewall Session Timer Profile ID (required) - policy_firewall_session_timer_profile (
com.vmware.nsx_policy.model_client.PolicyFirewallSessionTimerProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- firewall_session_timer_profile_id (
-
update
(firewall_session_timer_profile_id, policy_firewall_session_timer_profile, override=None)¶ API will update Firewall Session Timer Profile
Parameters: - firewall_session_timer_profile_id (
str
) – Firewall Session Timer Profile ID (required) - policy_firewall_session_timer_profile (
com.vmware.nsx_policy.model_client.PolicyFirewallSessionTimerProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: com.vmware.nsx_policy.model_client.PolicyFirewallSessionTimerProfile
Returns: com.vmware.nsx_policy.model.PolicyFirewallSessionTimerProfile
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- firewall_session_timer_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
FloodProtectionProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(flood_protection_profile_id, override=None)¶ API will delete Flood Protection Profile
Parameters: - flood_protection_profile_id (
str
) – Flood Protection Profile ID (required) - override (
bool
orNone
) – Locally override the global object (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- flood_protection_profile_id (
-
get
(flood_protection_profile_id)¶ API will get Flood Protection Profile
Parameters: flood_protection_profile_id ( str
) – Flood Protection Profile ID (required)Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.FloodProtectionProfile The return value will contain all the attributes defined in com.vmware.nsx_policy.model_client.FloodProtectionProfile
.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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API will list all Flood Protection Profiles
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.FloodProtectionProfileListResult
Returns: com.vmware.nsx_policy.model.FloodProtectionProfileListResult
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 (
-
patch
(flood_protection_profile_id, flood_protection_profile, override=None)¶ API will create/update Flood Protection Profile
Parameters: - flood_protection_profile_id (
str
) – Firewall Flood Protection Profile ID (required) - flood_protection_profile (
vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_policy.model_client.FloodProtectionProfile
. - override (
bool
orNone
) – Locally override the global object (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- flood_protection_profile_id (
-
update
(flood_protection_profile_id, flood_protection_profile, override=None)¶ API will update Firewall Flood Protection Profile
Parameters: - flood_protection_profile_id (
str
) – Flood Protection Profile ID (required) - flood_protection_profile (
vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_policy.model_client.FloodProtectionProfile
. - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.FloodProtectionProfile The return value will contain all the attributes defined in
com.vmware.nsx_policy.model_client.FloodProtectionProfile
.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- flood_protection_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
FullSyncStates
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
(full_sync_id)¶ Get full sync state.
Parameters: full_sync_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.FullSyncState
Returns: com.vmware.nsx_policy.model.FullSyncState 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List full sync state.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.FullSyncStateListResult
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 (
-
-
class
com.vmware.nsx_policy.global_infra_client.
GatewayQosProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(qos_profile_id, override=None)¶ Delete QoS profile
Parameters: - qos_profile_id (
str
) – (required) - override (
bool
orNone
) – Locally override the global object (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- qos_profile_id (
-
get
(qos_profile_id)¶ Read gateway QoS profile
Parameters: qos_profile_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.GatewayQosProfile
Returns: com.vmware.nsx_policy.model.GatewayQosProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all gateway QoS profle instances
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.GatewayQosProfileListResult
Returns: com.vmware.nsx_policy.model.GatewayQosProfileListResult
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 (
-
patch
(qos_profile_id, gateway_qos_profile, override=None)¶ If profile with the qos-profile-id is not already present, create a new gateway QoS profile instance. If it already exists, update the gateway QoS profile instance with specified attributes.
Parameters: - qos_profile_id (
str
) – (required) - gateway_qos_profile (
com.vmware.nsx_policy.model_client.GatewayQosProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- qos_profile_id (
-
update
(qos_profile_id, gateway_qos_profile, override=None)¶ If profile with the qos-profile-id is not already present, create a new gateway QoS profile instance. If it already exists, replace the gateway QoS profile instance with this object.
Parameters: - qos_profile_id (
str
) – (required) - gateway_qos_profile (
com.vmware.nsx_policy.model_client.GatewayQosProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.GatewayQosProfile
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- qos_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
GlobalConfig
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
()¶ Read global configuration
Return type: com.vmware.nsx_policy.model_client.GlobalConfig
Returns: com.vmware.nsx_policy.model.GlobalConfig 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
-
patch
(global_config)¶ Update the global configuration
Parameters: global_config ( com.vmware.nsx_policy.model_client.GlobalConfig
) – (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
-
update
(global_config)¶ Update the global configuration
Parameters: global_config ( com.vmware.nsx_policy.model_client.GlobalConfig
) – (required)Return type: com.vmware.nsx_policy.model_client.GlobalConfig
Returns: com.vmware.nsx_policy.model.GlobalConfig 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_policy.global_infra_client.
GlobalManagerConfig
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
patch
(global_manager_config)¶ Create or patch a Global Manager Config
Parameters: global_manager_config ( com.vmware.nsx_policy.model_client.GlobalManagerConfig
) – (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
-
showsensitivedata
()¶ Read a Global Manager config along with sensitive data. For example - rtep_config.ibgp_password
Return type: com.vmware.nsx_policy.model_client.GlobalManagerConfig
Returns: com.vmware.nsx_policy.model.GlobalManagerConfig 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
(global_manager_config)¶ Create or fully replace a Global Manager Config. Revision is optional for creation and required for update.
Parameters: global_manager_config ( com.vmware.nsx_policy.model_client.GlobalManagerConfig
) – (required)Return type: com.vmware.nsx_policy.model_client.GlobalManagerConfig
Returns: com.vmware.nsx_policy.model.GlobalManagerConfig 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_policy.global_infra_client.
GlobalManagers
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
CREATE_ACTION_ACTIVE_FAILED
= 'active_failed'¶ Possible value for
action
of methodGlobalManagers.create()
.
-
CREATE_ACTION_MANAGED_SWITCHOVER
= 'managed_switchover'¶ Possible value for
action
of methodGlobalManagers.create()
.
-
create
(action)¶ Switch over from Active to Standby Global Manager. This operation will fail if there is no Standby Global Manager.
Parameters: action ( str
) – Indicates whether it is managed switchover or due to failure (required)Return type: com.vmware.nsx_policy.model_client.GlobalManager
Returns: com.vmware.nsx_policy.model.GlobalManager 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
-
delete
(global_manager_id)¶ Delete a particular global manager under Infra. Global Manager id ‘self’ is reserved and can be used for referring to local logged in Global Manager. Example - /infra/global-managers/self
Parameters: global_manager_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
(global_manager_id)¶ Retrieve information about a particular configured global manager. Global Manager id ‘self’ is reserved and can be used for referring to local logged in Global Manager. Example - /infra/global-managers/self
Parameters: global_manager_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.GlobalManager
Returns: com.vmware.nsx_policy.model.GlobalManager 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List Global Managers under Infra.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.GlobalManagerListResult
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 (
-
patch
(global_manager_id, global_manager)¶ Create or patch a Global Manager under Infra. Global Manager id ‘self’ is reserved and can be used for referring to local logged in Global Manager. Example - /infra/global-managers/self
Parameters: - global_manager_id (
str
) – (required) - global_manager (
com.vmware.nsx_policy.model_client.GlobalManager
) – (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- global_manager_id (
-
update
(global_manager_id, global_manager)¶ Create or fully replace Global Manager under Infra. Revision is optional for creation and required for update. Global Manager id ‘self’ is reserved and can be used for referring to local logged in Global Manager. Example - /infra/global-managers/self
Parameters: - global_manager_id (
str
) – (required) - global_manager (
com.vmware.nsx_policy.model_client.GlobalManager
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.GlobalManager
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- global_manager_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
GroupAssociations
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(intent_path, cursor=None, enforcement_point_path=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get policy groups for which the given object is a member. In Federation environment, if the given object is a global entity (eg: global segment) and if the entity is not stretched to the site specified in the enforcement_point_path parameter,then the following is returned:- 1)If the entity is a member of any global group and that group is stretched to the enforcement_point_path site,then the API returns an empty list. 2)If the entity is not a member of any global group,this API returns an ‘invalid path’ error message. 3)If both the entity and its corresponding groups are stretched to the enforcement_point_path site , then the API returns the groups list.
Parameters: - intent_path (
str
) – String path of the intent object (required) - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyResourceReferenceForEPListResult
Returns: com.vmware.nsx_policy.model.PolicyResourceReferenceForEPListResult
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- intent_path (
-
-
class
com.vmware.nsx_policy.global_infra_client.
GroupServiceAssociations
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(intent_path, cursor=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ The API returns all the services associated with the given Group. It also returns the services associated with the parent groups of the given group.
Parameters: - intent_path (
str
) – Path of the entity (required) - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyResourceReferenceListResult
Returns: com.vmware.nsx_policy.model.PolicyResourceReferenceListResult
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- intent_path (
-
-
class
com.vmware.nsx_policy.global_infra_client.
IgmpProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(igmp_profile_id)¶ Delete Igmp Profile.
Parameters: igmp_profile_id ( str
) – igmp profile id (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
(igmp_profile_id)¶ Read Igmp Profile.
Parameters: igmp_profile_id ( str
) – igmp profile id (required)Return type: com.vmware.nsx_policy.model_client.PolicyIgmpProfile
Returns: com.vmware.nsx_policy.model.PolicyIgmpProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List all igmp profile.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyIgmpProfileListResult
Returns: com.vmware.nsx_policy.model.PolicyIgmpProfileListResult
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 (
-
patch
(igmp_profile_id, policy_igmp_profile)¶ Create a igmp profile with the igmp-profile-id is not already present, otherwise update the igmp profile.
Parameters: - igmp_profile_id (
str
) – igmp profile id (required) - policy_igmp_profile (
com.vmware.nsx_policy.model_client.PolicyIgmpProfile
) – (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- igmp_profile_id (
-
update
(igmp_profile_id, policy_igmp_profile)¶ Create or update igmp profile.
Parameters: - igmp_profile_id (
str
) – igmp profile id (required) - policy_igmp_profile (
com.vmware.nsx_policy.model_client.PolicyIgmpProfile
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.PolicyIgmpProfile
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- igmp_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
IpAddressGroupAssociations
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(ip_address, cursor=None, enforcement_point_path=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get policy groups for which the given IP address is a member.
Parameters: - ip_address (
str
) – IPAddress (required) - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyResourceReferenceForEPListResult
Returns: com.vmware.nsx_policy.model.PolicyResourceReferenceForEPListResult
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- ip_address (
-
-
class
com.vmware.nsx_policy.global_infra_client.
IpBlocks
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(ip_block_id)¶ Delete the IpAddressBlock with the given id.
Parameters: ip_block_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
(ip_block_id)¶ Read IpAddressBlock with given Id.
Parameters: ip_block_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.IpAddressBlock
Returns: com.vmware.nsx_policy.model.IpAddressBlock 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of IpAddressBlocks.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.IpAddressBlockListResult
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 (
-
patch
(ip_block_id, ip_address_block)¶ Creates a new IpAddressBlock with specified ID if not already present. If IpAddressBlock of given ID is already present, then the instance is updated with specified attributes.
Parameters: - ip_block_id (
str
) – (required) - ip_address_block (
com.vmware.nsx_policy.model_client.IpAddressBlock
) – (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- ip_block_id (
-
update
(ip_block_id, ip_address_block)¶ Create a new IpAddressBlock with given ID if it does not exist. If IpAddressBlock with given ID already exists, it will update existing instance. This is a full replace.
Parameters: - ip_block_id (
str
) – (required) - ip_address_block (
com.vmware.nsx_policy.model_client.IpAddressBlock
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.IpAddressBlock
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- ip_block_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
IpDiscoveryProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(ip_discovery_profile_id, override=None)¶ API will delete IP Discovery profile.
Parameters: - ip_discovery_profile_id (
str
) – IP Discovery Profile ID (required) - override (
bool
orNone
) – Locally override the global object (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- ip_discovery_profile_id (
-
get
(ip_discovery_profile_id)¶ API will get IP Discovery profile.
Parameters: ip_discovery_profile_id ( str
) – IP Discovery Profile ID (required)Return type: com.vmware.nsx_policy.model_client.IPDiscoveryProfile
Returns: com.vmware.nsx_policy.model.IPDiscoveryProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API will list all IP Discovery Profiles active in current discovery profile id.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.IPDiscoveryProfileListResult
Returns: com.vmware.nsx_policy.model.IPDiscoveryProfileListResult
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 (
-
patch
(ip_discovery_profile_id, ip_discovery_profile, override=None)¶ API will create IP Discovery profile.
Parameters: - ip_discovery_profile_id (
str
) – IP Discovery Profile ID (required) - ip_discovery_profile (
com.vmware.nsx_policy.model_client.IPDiscoveryProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- ip_discovery_profile_id (
-
update
(ip_discovery_profile_id, ip_discovery_profile, override=None)¶ API will update IP Discovery profile.
Parameters: - ip_discovery_profile_id (
str
) – IP Discovery Profile ID (required) - ip_discovery_profile (
com.vmware.nsx_policy.model_client.IPDiscoveryProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.IPDiscoveryProfile
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- ip_discovery_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
IpPools
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(ip_pool_id)¶ Delete the IpAddressPool with the given id.
Parameters: ip_pool_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
(ip_pool_id)¶ Read IpAddressPool with given Id.
Parameters: ip_pool_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.IpAddressPool
Returns: com.vmware.nsx_policy.model.IpAddressPool 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of IpAddressPools.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.IpAddressPoolListResult
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 (
-
patch
(ip_pool_id, ip_address_pool)¶ Creates a new IpAddressPool with specified ID if not already present. If IpAddressPool of given ID is already present, then the instance is updated. This is a full replace.
Parameters: - ip_pool_id (
str
) – (required) - ip_address_pool (
com.vmware.nsx_policy.model_client.IpAddressPool
) – (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- ip_pool_id (
-
update
(ip_pool_id, ip_address_pool)¶ Create a new IpAddressPool with given ID if it does not exist. If IpAddressPool with given ID already exists, it will update existing instance. This is a full replace.
Parameters: - ip_pool_id (
str
) – (required) - ip_address_pool (
com.vmware.nsx_policy.model_client.IpAddressPool
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.IpAddressPool
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- ip_pool_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
IpfixCollectorProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(ipfix_collector_profile_id)¶ API deletes IPFIX collector profile. Flow forwarding to collector will be stopped. This API is deprecated. Please use the following API: https://<policy-mgr>/policy/api/v1/infra/ipfix-l2-collector-profiles
Parameters: ipfix_collector_profile_id ( str
) – IPFIX collector Profile id (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
(ipfix_collector_profile_id)¶ API will return details of IPFIX collector profile. If profile does not exist, it will return 404. This API is deprecated. Please use the following API: https://<policy-mgr>/policy/api/v1/infra/ipfix-l2-collector-profiles
Parameters: ipfix_collector_profile_id ( str
) – IPFIX collector profile id (required)Return type: com.vmware.nsx_policy.model_client.IPFIXCollectorProfile
Returns: com.vmware.nsx_policy.model.IPFIXCollectorProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API will provide list of all IPFIX collector profiles and their details. This API is deprecated. Please use the following API: https://<policy-mgr>/policy/api/v1/infra/ipfix-l2-collector-profiles
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.IPFIXCollectorProfileListResult
Returns: com.vmware.nsx_policy.model.IPFIXCollectorProfileListResult
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 (
-
patch
(ipfix_collector_profile_id, i_pfix_collector_profile)¶ Create a new IPFIX collector profile if the IPFIX collector profile with given id does not already exist. If the IPFIX collector profile with the given id already exists, patch with the existing IPFIX collector profile. This API is deprecated. Please use the following API: https://<policy-mgr>/policy/api/v1/infra/ipfix-l2-collector-profiles
Parameters: - ipfix_collector_profile_id (
str
) – IPFIX collector profile id (required) - i_pfix_collector_profile (
com.vmware.nsx_policy.model_client.IPFIXCollectorProfile
) – (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- ipfix_collector_profile_id (
-
update
(ipfix_collector_profile_id, i_pfix_collector_profile)¶ Create or Replace IPFIX collector profile. IPFIX data will be sent to IPFIX collector port. This API is deprecated. Please use the following API: https://<policy-mgr>/policy/api/v1/infra/ipfix-l2-collector-profiles
Parameters: - ipfix_collector_profile_id (
str
) – IPFIX collector profile id (required) - i_pfix_collector_profile (
com.vmware.nsx_policy.model_client.IPFIXCollectorProfile
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.IPFIXCollectorProfile
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- ipfix_collector_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
IpfixDfwCollectorProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(ipfix_dfw_collector_profile_id, override=None)¶ API deletes IPFIX dfw collector profile. Flow forwarding to collector will be stopped.
Parameters: - ipfix_dfw_collector_profile_id (
str
) – IPFIX dfw collector Profile id (required) - override (
bool
orNone
) – Locally override the global object (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- ipfix_dfw_collector_profile_id (
-
get
(ipfix_dfw_collector_profile_id)¶ API will return details of IPFIX dfw collector profile. If profile does not exist, it will return 404.
Parameters: ipfix_dfw_collector_profile_id ( str
) – IPFIX dfw collector profile id (required)Return type: com.vmware.nsx_policy.model_client.IPFIXDFWCollectorProfile
Returns: com.vmware.nsx_policy.model.IPFIXDFWCollectorProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API will provide list of all IPFIX dfw collector profiles and their details.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.IPFIXDFWCollectorProfileListResult
Returns: com.vmware.nsx_policy.model.IPFIXDFWCollectorProfileListResult
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 (
-
patch
(ipfix_dfw_collector_profile_id, i_pfixdfw_collector_profile, override=None)¶ Create a new IPFIX dfw collector profile if the IPFIX dfw collector profile with given id does not already exist. If the IPFIX dfw collector profile with the given id already exists, patch with the existing IPFIX dfw collector profile.
Parameters: - ipfix_dfw_collector_profile_id (
str
) – (required) - i_pfixdfw_collector_profile (
com.vmware.nsx_policy.model_client.IPFIXDFWCollectorProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- ipfix_dfw_collector_profile_id (
-
update
(ipfix_dfw_collector_profile_id, i_pfixdfw_collector_profile, override=None)¶ Create or Replace IPFIX dfw collector profile. IPFIX data will be sent to IPFIX collector port.
Parameters: - ipfix_dfw_collector_profile_id (
str
) – IPFIX dfw collector profile id (required) - i_pfixdfw_collector_profile (
com.vmware.nsx_policy.model_client.IPFIXDFWCollectorProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.IPFIXDFWCollectorProfile
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- ipfix_dfw_collector_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
IpfixDfwProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(ipfix_dfw_profile_id, override=None)¶ API deletes IPFIX DFW Profile. Selected IPFIX Collectors will stop receiving flows.
Parameters: - ipfix_dfw_profile_id (
str
) – IPFIX DFW Profile ID (required) - override (
bool
orNone
) – Locally override the global object (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- ipfix_dfw_profile_id (
-
get
(ipfix_dfw_profile_id)¶ API will return details of IPFIX DFW profile.
Parameters: ipfix_dfw_profile_id ( str
) – IPFIX DFW collection id (required)Return type: com.vmware.nsx_policy.model_client.IPFIXDFWProfile
Returns: com.vmware.nsx_policy.model.IPFIXDFWProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API provides list IPFIX DFW profiles available on selected logical DFW.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.IPFIXDFWProfileListResult
Returns: com.vmware.nsx_policy.model.IPFIXDFWProfileListResult
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 (
-
patch
(ipfix_dfw_profile_id, i_pfixdfw_profile, override=None)¶ Create a new IPFIX DFW profile if the IPFIX DFW profile with given id does not already exist. If the IPFIX DFW profile with the given id already exists, patch with the existing IPFIX DFW profile.
Parameters: - ipfix_dfw_profile_id (
str
) – IPFIX DFW Profile ID (required) - i_pfixdfw_profile (
com.vmware.nsx_policy.model_client.IPFIXDFWProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- ipfix_dfw_profile_id (
-
update
(ipfix_dfw_profile_id, i_pfixdfw_profile, override=None)¶ Create or replace IPFIX DFW profile. Config will start forwarding data to provided IPFIX DFW collector.
Parameters: - ipfix_dfw_profile_id (
str
) – IPFIX DFW Profile ID (required) - i_pfixdfw_profile (
com.vmware.nsx_policy.model_client.IPFIXDFWProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.IPFIXDFWProfile
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- ipfix_dfw_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
IpfixL2CollectorProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(ipfix_l2_collector_profile_id, override=None)¶ API deletes IPFIX collector profile. Flow forwarding to collector will be stopped.
Parameters: - ipfix_l2_collector_profile_id (
str
) – IPFIX collector Profile id (required) - override (
bool
orNone
) – Locally override the global object (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- ipfix_l2_collector_profile_id (
-
get
(ipfix_l2_collector_profile_id)¶ API will return details of IPFIX collector profile.
Parameters: ipfix_l2_collector_profile_id ( str
) – IPFIX collector profile id (required)Return type: com.vmware.nsx_policy.model_client.IPFIXL2CollectorProfile
Returns: com.vmware.nsx_policy.model.IPFIXL2CollectorProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API will provide list of all IPFIX collector profiles and their details.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.IPFIXL2CollectorProfileListResult
Returns: com.vmware.nsx_policy.model.IPFIXL2CollectorProfileListResult
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 (
-
patch
(ipfix_l2_collector_profile_id, i_pfix_l2_collector_profile, override=None)¶ Create a new IPFIX collector profile if the IPFIX collector profile with given id does not already exist. If the IPFIX collector profile with the given id already exists, patch with the existing IPFIX collector profile.
Parameters: - ipfix_l2_collector_profile_id (
str
) – IPFIX collector profile id (required) - i_pfix_l2_collector_profile (
com.vmware.nsx_policy.model_client.IPFIXL2CollectorProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- ipfix_l2_collector_profile_id (
-
update
(ipfix_l2_collector_profile_id, i_pfix_l2_collector_profile, override=None)¶ Create or Replace IPFIX collector profile. IPFIX data will be sent to IPFIX collector.
Parameters: - ipfix_l2_collector_profile_id (
str
) – IPFIX collector profile id (required) - i_pfix_l2_collector_profile (
com.vmware.nsx_policy.model_client.IPFIXL2CollectorProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.IPFIXL2CollectorProfile
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- ipfix_l2_collector_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
IpfixL2Profiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(ipfix_l2_profile_id, override=None)¶ API deletes IPFIX L2 Profile. Flow forwarding to selected collector will be stopped.
Parameters: - ipfix_l2_profile_id (
str
) – IPFIX L2 Profile ID (required) - override (
bool
orNone
) – Locally override the global object (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- ipfix_l2_profile_id (
-
get
(ipfix_l2_profile_id)¶ API will return details of IPFIX L2 profile.
Parameters: ipfix_l2_profile_id ( str
) – IPFIX L2 profile id (required)Return type: com.vmware.nsx_policy.model_client.IPFIXL2Profile
Returns: com.vmware.nsx_policy.model.IPFIXL2Profile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API provides list IPFIX L2 Profiles available on selected logical l2.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.IPFIXL2ProfileListResult
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 (
-
patch
(ipfix_l2_profile_id, i_pfix_l2_profile, override=None)¶ Create a new IPFIX L2 profile if the IPFIX L2 profile with given id does not already exist. If the IPFIX L2 profile with the given id already exists, patch with the existing IPFIX L2 profile.
Parameters: - ipfix_l2_profile_id (
str
) – IPFIX L2 Profile ID (required) - i_pfix_l2_profile (
com.vmware.nsx_policy.model_client.IPFIXL2Profile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- ipfix_l2_profile_id (
-
update
(ipfix_l2_profile_id, i_pfix_l2_profile, override=None)¶ Create or replace IPFIX L2 Profile. Profile is reusable entity. Single profile can attached multiple bindings e.g group, segment and port.
Parameters: - ipfix_l2_profile_id (
str
) – IPFIX L2 Profile ID (required) - i_pfix_l2_profile (
com.vmware.nsx_policy.model_client.IPFIXL2Profile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.IPFIXL2Profile
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- ipfix_l2_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
IpsecVpnDpdProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(dpd_profile_id)¶ Delete custom dead peer detection (DPD) profile. Profile can not be deleted if profile has references to it.
Parameters: dpd_profile_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
(dpd_profile_id)¶ Get custom dead peer detection (DPD) profile, given the particular id.
Parameters: dpd_profile_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.IPSecVpnDpdProfile
Returns: com.vmware.nsx_policy.model.IPSecVpnDpdProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get paginated list of all DPD Profiles.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.IPSecVpnDpdProfileListResult
Returns: com.vmware.nsx_policy.model.IPSecVpnDpdProfileListResult
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 (
-
patch
(dpd_profile_id, ip_sec_vpn_dpd_profile)¶ Create or patch dead peer detection (DPD) profile. Any change in profile affects all sessions consuming this profile. System will be provisioned with system owned editable default DPD profile. Any change in profile affects all sessions consuming this profile.
Parameters: - dpd_profile_id (
str
) – (required) - ip_sec_vpn_dpd_profile (
com.vmware.nsx_policy.model_client.IPSecVpnDpdProfile
) – (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- dpd_profile_id (
-
update
(dpd_profile_id, ip_sec_vpn_dpd_profile)¶ Create or patch dead peer detection (DPD) profile. Any change in profile affects all sessions consuming this profile. System will be provisioned with system owned editable default DPD profile. Any change in profile affects all sessions consuming this profile. Revision is optional for creation and required for update.
Parameters: - dpd_profile_id (
str
) – (required) - ip_sec_vpn_dpd_profile (
com.vmware.nsx_policy.model_client.IPSecVpnDpdProfile
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.IPSecVpnDpdProfile
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- dpd_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
IpsecVpnIkeProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(ike_profile_id)¶ Delete custom IKE Profile. Profile can not be deleted if profile has references to it.
Parameters: ike_profile_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
(ike_profile_id)¶ Get custom IKE Profile, given the particular id.
Parameters: ike_profile_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.IPSecVpnIkeProfile
Returns: com.vmware.nsx_policy.model.IPSecVpnIkeProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get paginated list of all IKE Profiles.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.IPSecVpnIkeProfileListResult
Returns: com.vmware.nsx_policy.model.IPSecVpnIkeProfileListResult
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 (
-
patch
(ike_profile_id, ip_sec_vpn_ike_profile)¶ Create or patch custom internet key exchange (IKE) Profile. IKE Profile is a reusable profile that captures IKE and phase one negotiation parameters. System will be pre provisioned with system owned editable default IKE profile and suggested set of profiles that can be used for peering with popular remote peers like AWS VPN. User can create custom profiles as needed. Any change in profile affects all sessions consuming this profile.
Parameters: - ike_profile_id (
str
) – (required) - ip_sec_vpn_ike_profile (
com.vmware.nsx_policy.model_client.IPSecVpnIkeProfile
) – (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- ike_profile_id (
-
update
(ike_profile_id, ip_sec_vpn_ike_profile)¶ Create or fully replace custom internet key exchange (IKE) Profile. IKE Profile is a reusable profile that captures IKE and phase one negotiation parameters. System will be pre provisioned with system owned editable default IKE profile and suggested set of profiles that can be used for peering with popular remote peers like AWS VPN. User can create custom profiles as needed. Any change in profile affects all sessions consuming this profile. Revision is optional for creation and required for update.
Parameters: - ike_profile_id (
str
) – (required) - ip_sec_vpn_ike_profile (
com.vmware.nsx_policy.model_client.IPSecVpnIkeProfile
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.IPSecVpnIkeProfile
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- ike_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
IpsecVpnTunnelProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(tunnel_profile_id)¶ Delete custom IPSec tunnel Profile. Profile can not be deleted if profile has references to it.
Parameters: tunnel_profile_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
(tunnel_profile_id)¶ Get custom IPSec tunnel Profile, given the particular id.
Parameters: tunnel_profile_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.IPSecVpnTunnelProfile
Returns: com.vmware.nsx_policy.model.IPSecVpnTunnelProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get paginated list of all IPSec tunnel Profiles.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.IPSecVpnTunnelProfileListResult
Returns: com.vmware.nsx_policy.model.IPSecVpnTunnelProfileListResult
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 (
-
patch
(tunnel_profile_id, ip_sec_vpn_tunnel_profile)¶ Create or patch custom IPSec tunnel profile. IPSec tunnel profile is a reusable profile that captures phase two negotiation parameters and tunnel properties. System will be provisioned with system owned editable default IPSec tunnel profile. Any change in profile affects all sessions consuming this profile.
Parameters: - tunnel_profile_id (
str
) – (required) - ip_sec_vpn_tunnel_profile (
com.vmware.nsx_policy.model_client.IPSecVpnTunnelProfile
) – (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- tunnel_profile_id (
-
update
(tunnel_profile_id, ip_sec_vpn_tunnel_profile)¶ Create or fully replace custom IPSec tunnel profile. IPSec tunnel profile is a reusable profile that captures phase two negotiation parameters and tunnel properties. System will be provisioned with system owned editable default IPSec tunnel profile. Any change in profile affects all sessions consuming this profile. Revision is optional for creation and required for update.
Parameters: - tunnel_profile_id (
str
) – (required) - ip_sec_vpn_tunnel_profile (
com.vmware.nsx_policy.model_client.IPSecVpnTunnelProfile
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.IPSecVpnTunnelProfile
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- tunnel_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
Ipv6DadProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(dad_profile_id, override=None)¶ Delete IPv6 DAD profile
Parameters: - dad_profile_id (
str
) – (required) - override (
bool
orNone
) – Locally override the global object (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- dad_profile_id (
-
get
(dad_profile_id)¶ Read IPv6 DAD profile
Parameters: dad_profile_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.Ipv6DadProfile
Returns: com.vmware.nsx_policy.model.Ipv6DadProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all IPv6 DAD profile instances
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.Ipv6DadProfileListResult
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 (
-
patch
(dad_profile_id, ipv6_dad_profile, override=None)¶ If profile with the dad-profile-id is not already present, create a new IPv6 DAD profile instance. If it already exists, update the IPv6 DAD profile instance with specified attributes.
Parameters: - dad_profile_id (
str
) – (required) - ipv6_dad_profile (
com.vmware.nsx_policy.model_client.Ipv6DadProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- dad_profile_id (
-
update
(dad_profile_id, ipv6_dad_profile, override=None)¶ If profile with the dad-profile-id is not already present, create a new IPv6 DAD profile instance. If it already exists, replace the IPv6 DAD profile instance with this object.
Parameters: - dad_profile_id (
str
) – (required) - ipv6_dad_profile (
com.vmware.nsx_policy.model_client.Ipv6DadProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.Ipv6DadProfile
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- dad_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
Ipv6NdraProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(ndra_profile_id, override=None)¶ Delete IPv6 NDRA profile
Parameters: - ndra_profile_id (
str
) – (required) - override (
bool
orNone
) – Locally override the global object (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- ndra_profile_id (
-
get
(ndra_profile_id)¶ Read IPv6 NDRA profile
Parameters: ndra_profile_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.Ipv6NdraProfile
Returns: com.vmware.nsx_policy.model.Ipv6NdraProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all IPv6 NDRA profile instances
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.Ipv6NdraProfileListResult
Returns: com.vmware.nsx_policy.model.Ipv6NdraProfileListResult
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 (
-
patch
(ndra_profile_id, ipv6_ndra_profile, override=None)¶ If profile with the ndra-profile-id is not already present, create a new IPv6 NDRA profile instance. If it already exists, update the IPv6 NDRA profile instance with specified attributes.
Parameters: - ndra_profile_id (
str
) – (required) - ipv6_ndra_profile (
com.vmware.nsx_policy.model_client.Ipv6NdraProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- ndra_profile_id (
-
update
(ndra_profile_id, ipv6_ndra_profile, override=None)¶ If profile with the ndra-profile-id is not already present, create a new IPv6 NDRA profile instance. If it already exists, replace the IPv6 NDRA profile instance with this object.
Parameters: - ndra_profile_id (
str
) – (required) - ipv6_ndra_profile (
com.vmware.nsx_policy.model_client.Ipv6NdraProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.Ipv6NdraProfile
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- ndra_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
Labels
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(label_id)¶ Delete PolicyLabel object
Parameters: label_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
(label_id)¶ Read a label.
Parameters: label_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.PolicyLabel
Returns: com.vmware.nsx_policy.model.PolicyLabel 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all labels for infra.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.PolicyLabelListResult
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 (
-
patch
(label_id, policy_label)¶ Create label if not exists, otherwise take the partial updates. Note, once the label is created type attribute can not be changed.
Parameters: - label_id (
str
) – (required) - policy_label (
com.vmware.nsx_policy.model_client.PolicyLabel
) – (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- label_id (
-
update
(label_id, policy_label)¶ Create label if not exists, otherwise replaces the existing label. If label already exists then type attribute cannot be changed.
Parameters: - label_id (
str
) – (required) - policy_label (
com.vmware.nsx_policy.model_client.PolicyLabel
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.PolicyLabel
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- label_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
LbAppProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(lb_app_profile_id, force=None)¶ Delete the LBAppProfile along with all the entities contained by this LBAppProfile.
Parameters: - lb_app_profile_id (
str
) – LBAppProfile ID (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- lb_app_profile_id (
-
get
(lb_app_profile_id)¶ Read a LBAppProfile.
Parameters: lb_app_profile_id ( str
) – LBAppProfile ID (required)Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.LBAppProfile The return value will contain all the attributes defined in com.vmware.nsx_policy.model_client.LBAppProfile
.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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all LBAppProfiles.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.LBAppProfileListResult
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 (
-
patch
(lb_app_profile_id, lb_app_profile)¶ If a LBAppProfile with the lb-app-profile-id is not already present, create a new LBAppProfile. If it already exists, update the LBAppProfile. This is a full replace.
Parameters: - lb_app_profile_id (
str
) – LBAppProfile ID (required) - lb_app_profile (
vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_policy.model_client.LBAppProfile
.
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- lb_app_profile_id (
-
update
(lb_app_profile_id, lb_app_profile)¶ If a LBAppProfile with the lb-app-profile-id is not already present, create a new LBAppProfile. If it already exists, update the LBAppProfile. This is a full replace.
Parameters: - lb_app_profile_id (
str
) – LBAppProfile ID (required) - lb_app_profile (
vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_policy.model_client.LBAppProfile
.
Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.LBAppProfile The return value will contain all the attributes defined in
com.vmware.nsx_policy.model_client.LBAppProfile
.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- lb_app_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
LbClientSslProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(lb_client_ssl_profile_id, force=None)¶ Delete the LBClientSslProfile along with all the entities contained by this LBClientSslProfile.
Parameters: - lb_client_ssl_profile_id (
str
) – LBClientSslProfile ID (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- lb_client_ssl_profile_id (
-
get
(lb_client_ssl_profile_id)¶ Read a LBClientSslProfile.
Parameters: lb_client_ssl_profile_id ( str
) – LBClientSslProfile ID (required)Return type: com.vmware.nsx_policy.model_client.LBClientSslProfile
Returns: com.vmware.nsx_policy.model.LBClientSslProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all LBClientSslProfiles.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.LBClientSslProfileListResult
Returns: com.vmware.nsx_policy.model.LBClientSslProfileListResult
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 (
-
patch
(lb_client_ssl_profile_id, lb_client_ssl_profile)¶ If a LBClientSslProfile with the lb-client-ssl-profile-id is not already present, create a new LBClientSslProfile. If it already exists, update the LBClientSslProfile. This is a full replace.
Parameters: - lb_client_ssl_profile_id (
str
) – LBClientSslProfile ID (required) - lb_client_ssl_profile (
com.vmware.nsx_policy.model_client.LBClientSslProfile
) – (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- lb_client_ssl_profile_id (
-
update
(lb_client_ssl_profile_id, lb_client_ssl_profile)¶ If a LBClientSslProfile with the lb-client-ssl-profile-id is not already present, create a new LBClientSslProfile. If it already exists, update the LBClientSslProfile. This is a full replace.
Parameters: - lb_client_ssl_profile_id (
str
) – LBClientSslProfile ID (required) - lb_client_ssl_profile (
com.vmware.nsx_policy.model_client.LBClientSslProfile
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.LBClientSslProfile
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- lb_client_ssl_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
LbMonitorProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(lb_monitor_profile_id, force=None)¶ Delete the LBMonitorProfile along with all the entities contained by this LBMonitorProfile.
Parameters: - lb_monitor_profile_id (
str
) – LBMonitorProfile ID (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- lb_monitor_profile_id (
-
get
(lb_monitor_profile_id)¶ Read a LBMonitorProfile.
Parameters: lb_monitor_profile_id ( str
) – LBMonitorProfile ID (required)Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.LBMonitorProfile The return value will contain all the attributes defined in com.vmware.nsx_policy.model_client.LBMonitorProfile
.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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all LBMonitorProfiles for infra.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.LBMonitorProfileListResult
Returns: com.vmware.nsx_policy.model.LBMonitorProfileListResult
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 (
-
patch
(lb_monitor_profile_id, lb_monitor_profile)¶ If a LBMonitorProfile with the lb-monitor-profile-id is not already present, create a new LBMonitorProfile. If it already exists, update the LBMonitorProfile. This is a full replace.
Parameters: - lb_monitor_profile_id (
str
) – LBMonitorProfile ID (required) - lb_monitor_profile (
vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_policy.model_client.LBMonitorProfile
.
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- lb_monitor_profile_id (
-
update
(lb_monitor_profile_id, lb_monitor_profile)¶ If a LBMonitorProfile with the lb-monitor-profile-id is not already present, create a new LBMonitorProfile. If it already exists, update the LBMonitorProfile. This is a full replace.
Parameters: - lb_monitor_profile_id (
str
) – LBMonitorProfile ID (required) - lb_monitor_profile (
vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_policy.model_client.LBMonitorProfile
.
Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.LBMonitorProfile The return value will contain all the attributes defined in
com.vmware.nsx_policy.model_client.LBMonitorProfile
.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- lb_monitor_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
LbNodeUsage
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
(node_path)¶ Parameters: node_path ( str
) – The node path for load balancer node usage (required)Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.LBNodeUsage The return value will contain all the attributes defined in com.vmware.nsx_policy.model_client.LBNodeUsage
.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_policy.global_infra_client.
LbNodeUsageSummary
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
(enforcement_point_path=None, include_usages=None)¶ Parameters: - enforcement_point_path (
str
orNone
) – enforcement point path (optional) - include_usages (
bool
orNone
) – Whether to include usages (optional)
Return type: com.vmware.nsx_policy.model_client.AggregateLBNodeUsageSummary
Returns: com.vmware.nsx_policy.model.AggregateLBNodeUsageSummary
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- enforcement_point_path (
-
-
class
com.vmware.nsx_policy.global_infra_client.
LbPersistenceProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(lb_persistence_profile_id, force=None)¶ Delete the LBPersistenceProfile along with all the entities contained by this LBPersistenceProfile.
Parameters: - lb_persistence_profile_id (
str
) – LBPersistenceProfile ID (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- lb_persistence_profile_id (
-
get
(lb_persistence_profile_id)¶ Read a LBPersistenceProfile.
Parameters: lb_persistence_profile_id ( str
) – LBPersistenceProfile ID (required)Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.LBPersistenceProfile The return value will contain all the attributes defined in com.vmware.nsx_policy.model_client.LBPersistenceProfile
.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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all LBPersistenceProfiles for infra.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.LBPersistenceProfileListResult
Returns: com.vmware.nsx_policy.model.LBPersistenceProfileListResult
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 (
-
patch
(lb_persistence_profile_id, lb_persistence_profile)¶ If a LBPersistenceProfile with the lb-persistence-profile-id is not already present, create a new LBPersistenceProfile. If it already exists, update the LBPersistenceProfile. This is a full replace.
Parameters: - lb_persistence_profile_id (
str
) – LBPersistenceProfile ID (required) - lb_persistence_profile (
vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_policy.model_client.LBPersistenceProfile
.
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- lb_persistence_profile_id (
-
update
(lb_persistence_profile_id, lb_persistence_profile)¶ If a LBPersistenceProfile with the lb-persistence-profile-id is not already present, create a new LBPersistenceProfile. If it already exists, update the LBPersistenceProfile. This is a full replace.
Parameters: - lb_persistence_profile_id (
str
) – LBPersistenceProfile ID (required) - lb_persistence_profile (
vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_policy.model_client.LBPersistenceProfile
.
Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.LBPersistenceProfile The return value will contain all the attributes defined in
com.vmware.nsx_policy.model_client.LBPersistenceProfile
.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- lb_persistence_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
LbPools
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(lb_pool_id, force=None)¶ Delete the LBPool along with all the entities contained by this LBPool.
Parameters: - lb_pool_id (
str
) – LBPool ID (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- lb_pool_id (
-
get
(lb_pool_id)¶ Read a LBPool.
Parameters: lb_pool_id ( str
) – LBPool ID (required)Return type: com.vmware.nsx_policy.model_client.LBPool
Returns: com.vmware.nsx_policy.model.LBPool 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all LBPools.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.LBPoolListResult
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 (
-
patch
(lb_pool_id, lb_pool)¶ If a LBPool with the lb-pool-id is not already present, create a new LBPool. If it already exists, update the LBPool. This is a full replace.
Parameters: - lb_pool_id (
str
) – LBPool ID (required) - lb_pool (
com.vmware.nsx_policy.model_client.LBPool
) – (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- lb_pool_id (
-
update
(lb_pool_id, lb_pool)¶ If a LBPool with the lb-pool-id is not already present, create a new LBPool. If it already exists, update the LBPool. This is a full replace.
Parameters: - lb_pool_id (
str
) – LBPool ID (required) - lb_pool (
com.vmware.nsx_policy.model_client.LBPool
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.LBPool
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- lb_pool_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
LbServerSslProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(lb_server_ssl_profile_id, force=None)¶ Delete the LBServerSslProfile along with all the entities contained by this LBServerSslProfile.
Parameters: - lb_server_ssl_profile_id (
str
) – LBServerSslProfile ID (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- lb_server_ssl_profile_id (
-
get
(lb_server_ssl_profile_id)¶ Read a LBServerSslProfile.
Parameters: lb_server_ssl_profile_id ( str
) – LBServerSslProfile ID (required)Return type: com.vmware.nsx_policy.model_client.LBServerSslProfile
Returns: com.vmware.nsx_policy.model.LBServerSslProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all LBServerSslProfiles.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.LBServerSslProfileListResult
Returns: com.vmware.nsx_policy.model.LBServerSslProfileListResult
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 (
-
patch
(lb_server_ssl_profile_id, lb_server_ssl_profile)¶ If a LBServerSslProfile with the lb-server-ssl-profile-id is not already present, create a new LBServerSslProfile. If it already exists, update the LBServerSslProfile. This is a full replace.
Parameters: - lb_server_ssl_profile_id (
str
) – LBServerSslProfile ID (required) - lb_server_ssl_profile (
com.vmware.nsx_policy.model_client.LBServerSslProfile
) – (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- lb_server_ssl_profile_id (
-
update
(lb_server_ssl_profile_id, lb_server_ssl_profile)¶ If a LBServerSslProfile with the lb-server-ssl-profile-id is not already present, create a new LBServerSslProfile. If it already exists, update the LBServerSslProfile. This is a full replace.
Parameters: - lb_server_ssl_profile_id (
str
) – LBServerSslProfile ID (required) - lb_server_ssl_profile (
com.vmware.nsx_policy.model_client.LBServerSslProfile
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.LBServerSslProfile
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- lb_server_ssl_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
LbServiceUsageSummary
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
(include_usages=None)¶ API is used to retrieve the load balancer usage summary for all load balancer services. If the parameter ?include_usages=true exists, the property service-usages is included in the response. By default, service-usages is not included in the response.
Parameters: include_usages ( bool
orNone
) – Whether to include usages (optional)Return type: com.vmware.nsx_policy.model_client.LBServiceUsageSummary
Returns: com.vmware.nsx_policy.model.LBServiceUsageSummary 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_policy.global_infra_client.
LbServices
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(lb_service_id, force=None)¶ Delete the LBService along with all the entities contained by this LBService.
Parameters: - lb_service_id (
str
) – LBService ID (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- lb_service_id (
-
get
(lb_service_id)¶ Read an LBService.
Parameters: lb_service_id ( str
) – LBService ID (required)Return type: com.vmware.nsx_policy.model_client.LBService
Returns: com.vmware.nsx_policy.model.LBService 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all LBService.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.LBServiceListResult
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 (
-
patch
(lb_service_id, lb_service)¶ If a LBService with the lb-service-id is not already present, create a new LBService. If it already exists, update the LBService. This is a full replace.
Parameters: - lb_service_id (
str
) – LBService ID (required) - lb_service (
com.vmware.nsx_policy.model_client.LBService
) – (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- lb_service_id (
-
update
(lb_service_id, lb_service)¶ If a LBService with the lb-service-id is not already present, create a new LBService. If it already exists, update the LBService. This is a full replace.
Parameters: - lb_service_id (
str
) – LBService ID (required) - lb_service (
com.vmware.nsx_policy.model_client.LBService
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.LBService
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- lb_service_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
LbSslCiphersAndProtocols
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(cursor=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Retrieve a list of supported SSL ciphers and protocols.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.LbSslCipherAndProtocolListResult
Returns: com.vmware.nsx_policy.model.LbSslCipherAndProtocolListResult
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 (
-
-
class
com.vmware.nsx_policy.global_infra_client.
LbVirtualServers
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(lb_virtual_server_id, force=None)¶ Delete the LBVirtualServer along with all the entities contained by this LBVirtualServer.
Parameters: - lb_virtual_server_id (
str
) – LBVirtualServer ID (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- lb_virtual_server_id (
-
get
(lb_virtual_server_id)¶ Read a LBVirtualServer.
Parameters: lb_virtual_server_id ( str
) – LBVirtualServer ID (required)Return type: com.vmware.nsx_policy.model_client.LBVirtualServer
Returns: com.vmware.nsx_policy.model.LBVirtualServer 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all LBVirtualServers.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.LBVirtualServerListResult
Returns: com.vmware.nsx_policy.model.LBVirtualServerListResult
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 (
-
patch
(lb_virtual_server_id, lb_virtual_server)¶ If a LBVirtualServer with the lb-virtual-server-id is not already present, create a new LBVirtualServer. If it already exists, update the LBVirtualServer. This is a full replace.
Parameters: - lb_virtual_server_id (
str
) – LBVirtualServer ID (required) - lb_virtual_server (
com.vmware.nsx_policy.model_client.LBVirtualServer
) – (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- lb_virtual_server_id (
-
update
(lb_virtual_server_id, lb_virtual_server)¶ If a LBVirtualServer with the lb-virtual-server-id is not already present, create a new LBVirtualServer. If it already exists, update the LBVirtualServer. This is a full replace.
Parameters: - lb_virtual_server_id (
str
) – LBVirtualServer ID (required) - lb_virtual_server (
com.vmware.nsx_policy.model_client.LBVirtualServer
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.LBVirtualServer
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- lb_virtual_server_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
MacDiscoveryProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(mac_discovery_profile_id, override=None)¶ API will delete Mac Discovery profile.
Parameters: - mac_discovery_profile_id (
str
) – Mac Discovery Profile ID (required) - override (
bool
orNone
) – Locally override the global object (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- mac_discovery_profile_id (
-
get
(mac_discovery_profile_id)¶ API will get Mac Discovery profile.
Parameters: mac_discovery_profile_id ( str
) – Mac Discovery Profile ID (required)Return type: com.vmware.nsx_policy.model_client.MacDiscoveryProfile
Returns: com.vmware.nsx_policy.model.MacDiscoveryProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API will list all Mac Discovery Profiles active in current discovery profile id.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.MacDiscoveryProfileListResult
Returns: com.vmware.nsx_policy.model.MacDiscoveryProfileListResult
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 (
-
patch
(mac_discovery_profile_id, mac_discovery_profile, override=None)¶ API will create Mac Discovery profile.
Parameters: - mac_discovery_profile_id (
str
) – Mac Discovery Profile ID (required) - mac_discovery_profile (
com.vmware.nsx_policy.model_client.MacDiscoveryProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- mac_discovery_profile_id (
-
update
(mac_discovery_profile_id, mac_discovery_profile, override=None)¶ API will update Mac Discovery profile.
Parameters: - mac_discovery_profile_id (
str
) – Mac Discovery Profile ID (required) - mac_discovery_profile (
com.vmware.nsx_policy.model_client.MacDiscoveryProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.MacDiscoveryProfile
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- mac_discovery_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
MetadataProxies
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(metadata_proxy_id)¶ API will delete Metadata Proxy Config with ID profile-id
Parameters: metadata_proxy_id ( str
) – Metadata Proxy ID (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
(metadata_proxy_id)¶ API will read Metadata Proxy Config with ID profile-id
Parameters: metadata_proxy_id ( str
) – Metadata Proxy ID (required)Return type: com.vmware.nsx_policy.model_client.MetadataProxyConfig
Returns: com.vmware.nsx_policy.model.MetadataProxyConfig 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List all L2 Metadata Proxy Configurations
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.MetadataProxyConfigListResult
Returns: com.vmware.nsx_policy.model.MetadataProxyConfigListResult
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 (
-
patch
(metadata_proxy_id, metadata_proxy_config)¶ API will create or update Metadata Proxy Config with ID profile-id
Parameters: - metadata_proxy_id (
str
) – Metadata Proxy ID (required) - metadata_proxy_config (
com.vmware.nsx_policy.model_client.MetadataProxyConfig
) – (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- metadata_proxy_id (
-
update
(metadata_proxy_id, metadata_proxy_config)¶ API will create or update Metadata Proxy Config with ID profile-id
Parameters: - metadata_proxy_id (
str
) – Metadata Proxy ID (required) - metadata_proxy_config (
com.vmware.nsx_policy.model_client.MetadataProxyConfig
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.MetadataProxyConfig
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- metadata_proxy_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
OverriddenResources
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(intent_path=None, site_path=None)¶ List overridden resources
Parameters: - intent_path (
str
orNone
) – Global resource path (optional) - site_path (
str
orNone
) – Site path (optional)
Return type: com.vmware.nsx_policy.model_client.OverriddenResourceListResult
Returns: com.vmware.nsx_policy.model.OverriddenResourceListResult
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- intent_path (
-
-
class
com.vmware.nsx_policy.global_infra_client.
PartnerServices
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
(service_name)¶ Read the specific partner service identified by provided name.
Parameters: service_name ( str
) – Name of the service (required)Return type: com.vmware.nsx_policy.model_client.ServiceDefinition
Returns: com.vmware.nsx_policy.model.ServiceDefinition 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Read all the partner services available for service insertion
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.ServiceInsertionServiceListResult
Returns: com.vmware.nsx_policy.model.ServiceInsertionServiceListResult
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 (
-
-
class
com.vmware.nsx_policy.global_infra_client.
PimProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(pim_profile_id)¶ Delete Pim Profile.
Parameters: pim_profile_id ( str
) – pim profile id (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
(pim_profile_id)¶ Read Pim Profile.
Parameters: pim_profile_id ( str
) – pim profile id (required)Return type: com.vmware.nsx_policy.model_client.PolicyPimProfile
Returns: com.vmware.nsx_policy.model.PolicyPimProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List all pim profile.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyPimProfileListResult
Returns: com.vmware.nsx_policy.model.PolicyPimProfileListResult
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 (
-
patch
(pim_profile_id, policy_pim_profile)¶ Create a pim profile with the pim-profile-id is not already present, otherwise update the pim profile.
Parameters: - pim_profile_id (
str
) – pim profile id (required) - policy_pim_profile (
com.vmware.nsx_policy.model_client.PolicyPimProfile
) – (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- pim_profile_id (
-
update
(pim_profile_id, policy_pim_profile)¶ Create or update pim profile.
Parameters: - pim_profile_id (
str
) – pim profile id (required) - policy_pim_profile (
com.vmware.nsx_policy.model_client.PolicyPimProfile
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.PolicyPimProfile
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- pim_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
PortMirroringProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(port_mirroring_profile_id, override=None)¶ API will delete port mirroring profile. Mirroring from source to destination ports will be stopped.
Parameters: - port_mirroring_profile_id (
str
) – Port Mirroring Profile Id (required) - override (
bool
orNone
) – Locally override the global object (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- port_mirroring_profile_id (
-
get
(port_mirroring_profile_id)¶ API will return details of port mirroring profile.
Parameters: port_mirroring_profile_id ( str
) – Port Mirroring Profile Id (required)Return type: com.vmware.nsx_policy.model_client.PortMirroringProfile
Returns: com.vmware.nsx_policy.model.PortMirroringProfile 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)¶ API will list all port mirroring profiles group.
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: com.vmware.nsx_policy.model_client.PortMirroringProfileListResult
Returns: com.vmware.nsx_policy.model.PortMirroringProfileListResult
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 (
-
patch
(port_mirroring_profile_id, port_mirroring_profile, override=None)¶ Create a new Port Mirroring Profile if the Port Mirroring Profile with given id does not already exist. If the Port Mirroring Profile with the given id already exists, patch with the existing Port Mirroring Profile. Realized entities of this API can be found using the path of monitoring profile binding map that is used to apply this profile.
Parameters: - port_mirroring_profile_id (
str
) – Port Mirroring Profile Id (required) - port_mirroring_profile (
com.vmware.nsx_policy.model_client.PortMirroringProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- port_mirroring_profile_id (
-
update
(port_mirroring_profile_id, port_mirroring_profile, override=None)¶ Create or Replace port mirroring profile. Packets will be mirrored from source group, segment, port to destination group. Realized entities of this API can be found using the path of monitoring profile binding map that is used to apply this profile.
Parameters: - port_mirroring_profile_id (
str
) – Port Mirroring Profiles Id (required) - port_mirroring_profile (
com.vmware.nsx_policy.model_client.PortMirroringProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.PortMirroringProfile
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- port_mirroring_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
QosProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(qos_profile_id, override=None)¶ API will delete QoS profile.
Parameters: - qos_profile_id (
str
) – QoS profile Id (required) - override (
bool
orNone
) – Locally override the global object (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- qos_profile_id (
-
get
(qos_profile_id)¶ API will return details of QoS profile.
Parameters: qos_profile_id ( str
) – QoS profile Id (required)Return type: com.vmware.nsx_policy.model_client.QosProfile
Returns: com.vmware.nsx_policy.model.QoSProfile 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)¶ API will list all QoS profiles.
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_policy.model.QoSProfileListResult
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 (
-
patch
(qos_profile_id, qos_profile, override=None)¶ Create a new QoS profile if the QoS profile with given id does not already exist. If the QoS profile with the given id already exists, patch with the existing QoS profile.
Parameters: - qos_profile_id (
str
) – QoS profile Id (required) - qos_profile (
com.vmware.nsx_policy.model_client.QosProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- qos_profile_id (
-
update
(qos_profile_id, qos_profile, override=None)¶ Create or Replace QoS profile.
Parameters: - qos_profile_id (
str
) – QoS profile Id (required) - qos_profile (
com.vmware.nsx_policy.model_client.QosProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.QoSProfile
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- qos_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
Reactions
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(reaction_id)¶ Delete a Reaction under Infra.
Parameters: reaction_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
(reaction_id)¶ Get Reaction under Infra.
Parameters: reaction_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.Reaction
Returns: com.vmware.nsx_policy.model.Reaction 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get paginated list of all Reactions under Infra.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.ReactionListResult
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 (
-
patch
(reaction_id, reaction)¶ Create or patch a Reaction under Infra.
Parameters: - reaction_id (
str
) – (required) - reaction (
com.vmware.nsx_policy.model_client.Reaction
) – (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- reaction_id (
-
update
(reaction_id, reaction)¶ Create or fully replace a Reaction under Infra. Revision is optional for creation and required for update.
Parameters: - reaction_id (
str
) – (required) - reaction (
com.vmware.nsx_policy.model_client.Reaction
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.Reaction
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- reaction_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
SegmentSecurityProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(segment_security_profile_id, override=None)¶ API will delete segment security profile with the given id.
Parameters: - segment_security_profile_id (
str
) – Segment security profile id (required) - override (
bool
orNone
) – Locally override the global object (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- segment_security_profile_id (
-
get
(segment_security_profile_id)¶ API will return details of the segment security profile with given id. If the profile does not exist, it will return 404.
Parameters: segment_security_profile_id ( str
) – Segment security profile id (required)Return type: com.vmware.nsx_policy.model_client.SegmentSecurityProfile
Returns: com.vmware.nsx_policy.model.SegmentSecurityProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API will list all segment security profiles.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.SegmentSecurityProfileListResult
Returns: com.vmware.nsx_policy.model.SegmentSecurityProfileListResult
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 (
-
patch
(segment_security_profile_id, segment_security_profile, override=None)¶ Create a new segment security profile if the segment security profile with given id does not exist. Otherwise, PATCH the existing segment security profile
Parameters: - segment_security_profile_id (
str
) – Segment security profile id (required) - segment_security_profile (
com.vmware.nsx_policy.model_client.SegmentSecurityProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- segment_security_profile_id (
-
update
(segment_security_profile_id, segment_security_profile, override=None)¶ Create or replace a segment security profile
Parameters: - segment_security_profile_id (
str
) – Segment security profile id (required) - segment_security_profile (
com.vmware.nsx_policy.model_client.SegmentSecurityProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.SegmentSecurityProfile
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- segment_security_profile_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
Segments
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(segment_id)¶ Delete infra segment
Parameters: segment_id ( str
) – Segment ID (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
-
delete_0
(segment_id)¶ Force delete bypasses validations during segment deletion. This may result in an inconsistent connectivity.
Parameters: segment_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
(segment_id)¶ Read infra segment
Parameters: segment_id ( str
) – Segment ID (required)Return type: com.vmware.nsx_policy.model_client.Segment
Returns: com.vmware.nsx_policy.model.Segment 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all segments under infra.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.SegmentListResult
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 (
-
patch
(segment_id, segment)¶ If segment with the segment-id is not already present, create a new segment. If it already exists, update the segment with specified attributes.
Parameters: - segment_id (
str
) – Segment ID (required) - segment (
com.vmware.nsx_policy.model_client.Segment
) – (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- segment_id (
-
patch_0
(segment_id, segment)¶ If segment with the segment-id is not already present, create a new segment. If it already exists, update the segment with specified attributes. Force parameter is required when workload connectivity is indirectly impacted with the current update.
Parameters: - segment_id (
str
) – Segment ID (required) - segment (
com.vmware.nsx_policy.model_client.Segment
) – (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- segment_id (
-
update
(segment_id, segment)¶ If segment with the segment-id is not already present, create a new segment. If it already exists, replace the segment with this object.
Parameters: - segment_id (
str
) – Segment ID (required) - segment (
com.vmware.nsx_policy.model_client.Segment
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.Segment
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- segment_id (
-
update_0
(segment_id, segment)¶ If segment with the segment-id is not already present, create a new segment. If it already exists, replace the segment with this object. Force parameter is required when workload connectivity is indirectly impacted with the current replacement.
Parameters: - segment_id (
str
) – Segment ID (required) - segment (
com.vmware.nsx_policy.model_client.Segment
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.Segment
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- segment_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
ServiceChains
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(service_chain_id)¶ This API can be user to delete service chain with given service-chain-id.
Parameters: service_chain_id ( str
) – Id of Service chain (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
(service_chain_id)¶ This API can be used to read service chain with given service-chain-id.
Parameters: service_chain_id ( str
) – Id of Service chain (required)Return type: com.vmware.nsx_policy.model_client.PolicyServiceChain
Returns: com.vmware.nsx_policy.model.PolicyServiceChain 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List all the service chains available for service insertion
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyServiceChainListResult
Returns: com.vmware.nsx_policy.model.PolicyServiceChainListResult
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 (
-
patch
(service_chain_id, policy_service_chain)¶ Create Service chain representing the sequence in which 3rd party services must be consumed.
Parameters: - service_chain_id (
str
) – Service chain id (required) - policy_service_chain (
com.vmware.nsx_policy.model_client.PolicyServiceChain
) – (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- service_chain_id (
-
update
(service_chain_id, policy_service_chain)¶ Create or update Service chain representing the sequence in which 3rd party services must be consumed.
Parameters: - service_chain_id (
str
) – Service chain id (required) - policy_service_chain (
com.vmware.nsx_policy.model_client.PolicyServiceChain
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.PolicyServiceChain
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- service_chain_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
ServiceReferences
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(service_reference_id, cascade=None)¶ This API can be used to delete a service reference with the given service-reference-id.
Parameters: - service_reference_id (
str
) – Id of Service Reference (required) - cascade (
bool
orNone
) – Flag to cascade delete all children associated with service reference (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- service_reference_id (
-
get
(service_reference_id)¶ This API can be used to read service reference with the given service-reference-id.
Parameters: service_reference_id ( str
) – Id of Service Reference (required)Return type: com.vmware.nsx_policy.model_client.ServiceReference
Returns: com.vmware.nsx_policy.model.ServiceReference 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List all the partner service references available for service insertion
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.ServiceReferenceListResult
Returns: com.vmware.nsx_policy.model.ServiceReferenceListResult
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 (
-
patch
(service_reference_id, service_reference)¶ Create Service Reference representing the intent to consume a given 3rd party service.
Parameters: - service_reference_id (
str
) – Service reference id (required) - service_reference (
com.vmware.nsx_policy.model_client.ServiceReference
) – (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- service_reference_id (
-
update
(service_reference_id, service_reference)¶ Create Service Reference representing the intent to consume a given 3rd party service.
Parameters: - service_reference_id (
str
) – Service reference id (required) - service_reference (
com.vmware.nsx_policy.model_client.ServiceReference
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.ServiceReference
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- service_reference_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
Services
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(service_id)¶ Delete Service
Parameters: service_id ( str
) – Service ID (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
(service_id)¶ Read a service
Parameters: service_id ( str
) – Service ID (required)Return type: com.vmware.nsx_policy.model_client.Service
Returns: com.vmware.nsx_policy.model.Service 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, default_service=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of Services for infra.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - default_service (
bool
orNone
) – Fetch all default services (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.ServiceListResult
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 (
-
patch
(service_id, service)¶ Create a new service if a service with the given ID does not already exist. Creates new service entries if populated in the service. If a service with the given ID already exists, patch the service including the nested service entries.
Parameters: - service_id (
str
) – Service ID (required) - service (
com.vmware.nsx_policy.model_client.Service
) – (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- service_id (
-
update
(service_id, service)¶ Create a new service if a service with the given ID does not already exist. Creates new service entries if populated in the service. If a service with the given ID already exists, update the service including the nested service entries. This is a full replace.
Parameters: - service_id (
str
) – Service ID (required) - service (
com.vmware.nsx_policy.model_client.Service
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.Service
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- service_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
Sites
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(site_id, force=None)¶ Delete a site under Infra.
Parameters: - site_id (
str
) – (required) - force (
bool
orNone
) – (optional)
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- site_id (
-
get
(site_id)¶ Read a site under Infra.
Parameters: site_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.Site
Returns: com.vmware.nsx_policy.model.Site 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List Sites under Infra.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.SiteListResult
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 (
-
patch
(site_id, site)¶ Create or patch Site under Infra.
Parameters: - site_id (
str
) – (required) - site (
com.vmware.nsx_policy.model_client.Site
) – (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- site_id (
-
update
(site_id, site)¶ Create or fully replace a Site under Infra. Revision is optional for creation and required for update.
Parameters: - site_id (
str
) – (required) - site (
com.vmware.nsx_policy.model_client.Site
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.Site
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- site_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
Span
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
(intent_path, site_path=None)¶ Get span for an entity with specified path.
Parameters: - intent_path (
str
) – String Path of the intent object (required) - site_path (
str
orNone
) – Policy Path of the site (optional)
Return type: Returns: com.vmware.nsx_policy.model.Span
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- intent_path (
-
-
class
com.vmware.nsx_policy.global_infra_client.
SpoofguardProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(spoofguard_profile_id, override=None)¶ API will delete SpoofGuard profile with the given id.
Parameters: - spoofguard_profile_id (
str
) – SpoofGuard profile id (required) - override (
bool
orNone
) – Locally override the global object (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- spoofguard_profile_id (
-
get
(spoofguard_profile_id)¶ API will return details of the SpoofGuard profile with given id. If the profile does not exist, it will return 404.
Parameters: spoofguard_profile_id ( str
) – SpoofGuard profile id (required)Return type: com.vmware.nsx_policy.model_client.SpoofGuardProfile
Returns: com.vmware.nsx_policy.model.SpoofGuardProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API will list all SpoofGuard profiles.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.SpoofGuardProfileListResult
Returns: com.vmware.nsx_policy.model.SpoofGuardProfileListResult
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 (
-
patch
(spoofguard_profile_id, spoof_guard_profile, override=None)¶ Create a new SpoofGuard profile if the SpoofGuard profile with the given id does not exist. Otherwise, patch with the existing SpoofGuard profile.
Parameters: - spoofguard_profile_id (
str
) – SpoofGuard profile id (required) - spoof_guard_profile (
com.vmware.nsx_policy.model_client.SpoofGuardProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- spoofguard_profile_id (
-
update
(spoofguard_profile_id, spoof_guard_profile, override=None)¶ API will create or replace SpoofGuard profile.
Parameters: - spoofguard_profile_id (
str
) – SpoofGuard profile id (required) - spoof_guard_profile (
com.vmware.nsx_policy.model_client.SpoofGuardProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.SpoofGuardProfile
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- spoofguard_profile_id (
-
-
class
com.vmware.nsx_policy.global_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_policy.global_infra_client.
Tags
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
LIST_SOURCE_AMAZON
= 'Amazon'¶ Possible value for
source
of methodTags.list()
.
-
LIST_SOURCE_ANY
= 'ANY'¶ Possible value for
source
of methodTags.list()
.
-
LIST_SOURCE_AZURE
= 'Azure'¶ Possible value for
source
of methodTags.list()
.
-
LIST_SOURCE_NSX
= 'NSX'¶ Possible value for
source
of methodTags.list()
.
-
list
(cursor=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, scope=None, sort_ascending=None, sort_by=None, source=None, tag=None)¶ Returns paginated list of all unique tags. Supports filtering by scope, tag and source from which tags are synched. Supports starts with, equals and contains operators on scope and tag values. To filter tags by starts with on scope or tag, use ‘*’ as prefix before the value. To filter tags by ends with on scope or tag, use ‘*’ as suffix after the value. To filter tags by contain on scope or tag, use ‘*’ as prefix and suffix on the value. Below special characters in the filter value needs to be escaped with hex values. - Character ‘&’ needs to be escaped as ‘%26’ - Character ‘[‘ needs to be escaped as ‘%5B’ - Character ‘]’ needs to be escaped as ‘%5D’ - Character ‘+’ needs to be escaped as ‘%2B’ - Character ‘#’ needs to be escaped as ‘%23’
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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) - scope (
str
orNone
) – Tag scope (optional) - sort_ascending (
bool
orNone
) – (optional) - sort_by (
str
orNone
) – Field by which records are sorted (optional) - source (
str
orNone
) – Source from which tags are synced. (optional) - tag (
str
orNone
) – Tag value (optional)
Return type: Returns: com.vmware.nsx_policy.model.TagInfoListResult
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 (
-
-
class
com.vmware.nsx_policy.global_infra_client.
Tier0s
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(tier0_id)¶ Delete Tier-0
Parameters: tier0_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
(tier0_id)¶ Read Tier-0
Parameters: tier0_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.Tier0
Returns: com.vmware.nsx_policy.model.Tier0 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all Tier-0s
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.Tier0ListResult
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 (
-
patch
(tier0_id, tier0)¶ If a Tier-0 with the tier-0-id is not already present, create a new Tier-0. If it already exists, update the Tier-0 for specified attributes.
Parameters: - tier0_id (
str
) – (required) - tier0 (
com.vmware.nsx_policy.model_client.Tier0
) – (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- tier0_id (
-
reprocess
(tier0_id, enforcement_point_path=None)¶ Reprocess Tier0 gateway configuration and configuration of related entities like Tier0 interfaces and static routes, etc. Any missing Updates are published to NSX controller.
Parameters: - tier0_id (
str
) – (required) - enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional)
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- tier0_id (
-
update
(tier0_id, tier0)¶ If a Tier-0 with the tier-0-id is not already present, create a new Tier-0. If it already exists, replace the Tier-0 instance with the new object.
Parameters: - tier0_id (
str
) – (required) - tier0 (
com.vmware.nsx_policy.model_client.Tier0
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.Tier0
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- tier0_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
Tier1s
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(tier1_id)¶ Delete Tier-1 configuration
Parameters: tier1_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
(tier1_id)¶ Read Tier-1 configuration
Parameters: tier1_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.Tier1
Returns: com.vmware.nsx_policy.model.Tier1 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all Tier-1 instances
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.Tier1ListResult
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 (
-
patch
(tier1_id, tier1)¶ If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance. If it already exists, update the tier-1 instance with specified attributes.
Parameters: - tier1_id (
str
) – (required) - tier1 (
com.vmware.nsx_policy.model_client.Tier1
) – (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- tier1_id (
-
reprocess
(tier1_id, enforcement_point_path=None)¶ Reprocess Tier1 gateway configuration and configuration of related entities like Tier1 interfaces and static routes, etc. Any missing Updates are published to NSX controller.
Parameters: - tier1_id (
str
) – (required) - enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional)
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- tier1_id (
-
update
(tier1_id, tier1)¶ If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance. If it already exists, replace the Tier-1 instance with this object.
Parameters: - tier1_id (
str
) – (required) - tier1 (
com.vmware.nsx_policy.model_client.Tier1
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.Tier1
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- tier1_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
Traceflows
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
create
(traceflow_id, action=None)¶ This will retrace even if current traceflow has observations. Current observations will be lost. Traceflow configuration will be cleaned up by the system after two hours of inactivity.
Parameters: - traceflow_id (
str
) – (required) - action (
str
orNone
) – Action to be performed (optional)
Return type: Returns: com.vmware.nsx_policy.model.TraceflowConfig
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- traceflow_id (
-
delete
(traceflow_id)¶ Delete traceflow config with id traceflow-id
Parameters: traceflow_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
(traceflow_id)¶ Read traceflow config with id traceflow-id. This configuration will be cleaned up by the system after two hours of inactivity.
Parameters: traceflow_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.TraceflowConfig
Returns: com.vmware.nsx_policy.model.TraceflowConfig 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all TraceflowConfig for infra.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.TraceflowConfigListResult
Returns: com.vmware.nsx_policy.model.TraceflowConfigListResult
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 (
-
patch
(traceflow_id, traceflow_config)¶ If a traceflow config with the traceflow-id is not already present, create a new traceflow config. If it already exists, update the traceflow config. This is a full replace. This configuration will be cleaned up by the system after two hours of inactivity.
Parameters: - traceflow_id (
str
) – (required) - traceflow_config (
com.vmware.nsx_policy.model_client.TraceflowConfig
) – (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- traceflow_id (
-
update
(traceflow_id, traceflow_config)¶ If a traceflow config with the traceflow-id is not already present, create a new traceflow config. If it already exists, update the traceflow config. This is a full replace. This configuration will be cleaned up by the system after two hours of inactivity.
Parameters: - traceflow_id (
str
) – (required) - traceflow_config (
com.vmware.nsx_policy.model_client.TraceflowConfig
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.TraceflowConfig
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- traceflow_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
UpgradeSummary
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(current_version=None, cursor=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API will return high level summary of Upgrade across various sites.
Parameters: - current_version (
str
orNone
) – Filter on site current_version (optional) - 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: com.vmware.nsx_policy.model_client.FederationUpgradeSummaryListResult
Returns: com.vmware.nsx_policy.model.FederationUpgradeSummaryListResult
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- current_version (
-
-
class
com.vmware.nsx_policy.global_infra_client.
UrlCategories
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(cursor=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Gets the list of categories. This will provide all the supported categories along with their ids. Few examples of these categories are Shopping, Social Networks, Streaming sites, etc.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyUrlCategoryListResult
Returns: com.vmware.nsx_policy.model.PolicyUrlCategoryListResult
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 (
-
-
class
com.vmware.nsx_policy.global_infra_client.
UrlReputationSeverities
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(cursor=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Gets the list of reputation severities. This will provide all the supported severities along with their ids, min and max reputaitons. The min_reputation and max_reputation specify the range of the reputations which belong to a particular severity. For instance, any reputation between 1 to 20 belongs to the severity ‘High Risk’. Similary a reputation between 81 to 100 belong to the severity ‘Trustworthy’.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyUrlReputationSeverityListResult
Returns: com.vmware.nsx_policy.model.PolicyUrlReputationSeverityListResult
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 (
-
-
class
com.vmware.nsx_policy.global_infra_client.
VirtualMachineGroupAssociations
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(vm_external_id, cursor=None, enforcement_point_path=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get policy groups for which the given VM is a member.
Parameters: - vm_external_id (
str
) – Virtual machine external ID (required) - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyResourceReferenceForEPListResult
Returns: com.vmware.nsx_policy.model.PolicyResourceReferenceForEPListResult
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- vm_external_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
VirtualNetworkInterfaceGroupAssociations
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(vif_external_id, cursor=None, enforcement_point_path=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get policy groups for which the given VIF is a member.
Parameters: - vif_external_id (
str
) – Virtual network interface external ID (required) - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyResourceReferenceForEPListResult
Returns: com.vmware.nsx_policy.model.PolicyResourceReferenceForEPListResult
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- vif_external_id (
-
-
class
com.vmware.nsx_policy.global_infra_client.
VniPools
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(vni_pool_id)¶ Delete Vni Pool Configuration.
Parameters: vni_pool_id ( str
) – vni pool id (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
(vni_pool_id)¶ Read Vni Pool Configuration.
Parameters: vni_pool_id ( str
) – vni pool id (required)Return type: com.vmware.nsx_policy.model_client.VniPoolConfig
Returns: com.vmware.nsx_policy.model.VniPoolConfig 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List all Vni Pool configuration.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.VniPoolConfigListResult
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 (
-
patch
(vni_pool_id, vni_pool_config)¶ Create a Vni Pool config if it is not already present, otherwise update the Vni Pool configuration.
Parameters: - vni_pool_id (
str
) – vni pool id (required) - vni_pool_config (
com.vmware.nsx_policy.model_client.VniPoolConfig
) – (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- vni_pool_id (
-
update
(vni_pool_id, vni_pool_config)¶ Create or update VniPool configuration.
Parameters: - vni_pool_id (
str
) – vni pool id (required) - vni_pool_config (
com.vmware.nsx_policy.model_client.VniPoolConfig
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.VniPoolConfig
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- vni_pool_id (
-
com.vmware.nsx_policy.infra_client module¶
-
class
com.vmware.nsx_policy.infra_client.
BfdProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(bfd_profile_id, override=None)¶ Delete BFD Config and all the entities contained by this BfdProfile.
Parameters: - bfd_profile_id (
str
) – BfdProfile ID (required) - override (
bool
orNone
) – Locally override the global object (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- bfd_profile_id (
-
get
(bfd_profile_id)¶ Read a BfdProfile.
Parameters: bfd_profile_id ( str
) – BfdProfile ID (required)Return type: com.vmware.nsx_policy.model_client.BfdProfile
Returns: com.vmware.nsx_policy.model.BfdProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all BfdProfiles.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.BfdProfileListResult
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 (
-
patch
(bfd_profile_id, bfd_profile, override=None)¶ If a BfdProfile with the bfd-profile-id is not already present, create a new BfdProfile. If it already exists, update the BfdProfile. This operation will fully replace the object.
Parameters: - bfd_profile_id (
str
) – BfdProfile ID (required) - bfd_profile (
com.vmware.nsx_policy.model_client.BfdProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- bfd_profile_id (
-
update
(bfd_profile_id, bfd_profile, override=None)¶ If a BfdProfile with the bfd-profile-id is not already present, create a new BfdProfile. If it already exists, update the BfdProfile. This operation will fully replace the object.
Parameters: - bfd_profile_id (
str
) – BfdProfile ID (required) - bfd_profile (
com.vmware.nsx_policy.model_client.BfdProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.BfdProfile
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- bfd_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
Certificates
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
LIST_TYPE_CERTIFICATE
= 'cluster_api_certificate'¶ Possible value for
type
of methodCertificates.list()
.
-
delete
(certificate_id)¶ Removes the specified certificate. The private key associated with the certificate is also deleted.
Parameters: certificate_id ( str
) – ID of certificate to delete (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
(certificate_id, details=None)¶ Returns information for the specified certificate ID, including the certificate’s id; resource_type (for example, certificate_self_signed, certificate_ca, or certificate_signed); pem_encoded data; and history of the certificate (who created or modified it and when). For additional information, include the ?details=true modifier at the end of the request URI.
Parameters: - certificate_id (
str
) – ID of certificate to read (required) - details (
bool
orNone
) – whether to expand the pem data and show all its details (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.TlsCertificate
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- certificate_id (
-
list
(cursor=None, details=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None, type=None)¶ Returns all certificate information viewable by the user, including each certificate’s id; resource_type (for example, certificate_self_signed, certificate_ca, or certificate_signed); pem_encoded data; and history of the certificate (who created or modified it and when). For additional information, include the ?details=true modifier at the end of the request URI.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - details (
bool
orNone
) – whether to expand the pem data and show all its details (optional, default to false) - 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) - type (
str
orNone
) – Type of certificate to return (optional)
Return type: Returns: com.vmware.nsx_policy.model.TlsCertificateList
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 (
-
patch
(certificate_id, tls_trust_data)¶ Adds a new private-public certificate and, optionally, a private key that can be applied to one of the user-facing components (appliance management or edge). The certificate and the key should be stored in PEM format. If no private key is provided, the certificate is used as a client certificate in the trust store. A certificate chain will not be expanded into separate certificate instances for reference, but would be pushed to the enforcement point as a single certificate. This patch method does not modify an existing certificate.
Parameters: - certificate_id (
str
) – (required) - tls_trust_data (
com.vmware.nsx_policy.model_client.TlsTrustData
) – (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- certificate_id (
-
update
(certificate_id, tls_trust_data)¶ Adds a new private-public certificate and, optionally, a private key that can be applied to one of the user-facing components (appliance management or edge). The certificate and the key should be stored in PEM format. If no private key is provided, the certificate is used as a client certificate in the trust store. A certificate chain will not be expanded into separate certificate instances for reference, but would be pushed to the enforcement point as a single certificate.
Parameters: - certificate_id (
str
) – (required) - tls_trust_data (
com.vmware.nsx_policy.model_client.TlsTrustData
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.TlsCertificate
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- certificate_id (
-
-
class
com.vmware.nsx_policy.infra_client.
Constraints
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(constraint_id)¶ Delete tenant constraint.
Parameters: constraint_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
(constraint_id)¶ Read tenant constraint.
Parameters: constraint_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.Constraint
Returns: com.vmware.nsx_policy.model.Constraint 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List tenant constraints.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.ConstraintListResult
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 (
-
patch
(constraint_id, constraint)¶ Create tenant constraint if not exists, otherwise update the existing constraint.
Parameters: - constraint_id (
str
) – (required) - constraint (
com.vmware.nsx_policy.model_client.Constraint
) – (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- constraint_id (
-
update
(constraint_id, constraint)¶ Create tenant constraint if it does not exist, otherwise replace the existing constraint.
Parameters: - constraint_id (
str
) – (required) - constraint (
com.vmware.nsx_policy.model_client.Constraint
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.Constraint
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- constraint_id (
-
-
class
com.vmware.nsx_policy.infra_client.
ContextProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(context_profile_id, force=None, override=None)¶ Deletes the specified Policy Context Profile. If the Policy Context Profile is consumed in a firewall rule, it won’t get deleted.
Parameters: - context_profile_id (
str
) – Policy Context Profile Id (required) - force (
bool
orNone
) – Force delete the resource even if it is being used somewhere (optional, default to false) - override (
bool
orNone
) – Delete the locally overriden global object (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- context_profile_id (
-
get
(context_profile_id)¶ Get a single PolicyContextProfile by id
Parameters: context_profile_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.PolicyContextProfile
Returns: com.vmware.nsx_policy.model.PolicyContextProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get all PolicyContextProfiles
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyContextProfileListResult
Returns: com.vmware.nsx_policy.model.PolicyContextProfileListResult
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 (
-
patch
(context_profile_id, policy_context_profile, override=None)¶ Creates/Updates a PolicyContextProfile, which encapsulates attribute and sub-attributes of network services. Rules for using attributes and sub-attributes in single PolicyContextProfile 1. One type of attribute can’t have multiple occurrences. ( Eg. - Attribute type APP_ID can be used only once per PolicyContextProfile.) 2. For specifying multiple values for an attribute, provide them in an array. 3. If sub-attribtes are mentioned for an attribute, then only single value is allowed for that attribute. 4. To get a list of supported attributes and sub-attributes fire the following REST API GET https://<policy-mgr>/policy/api/v1/infra/context-profiles/attributes
Parameters: - context_profile_id (
str
) – (required) - policy_context_profile (
com.vmware.nsx_policy.model_client.PolicyContextProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- context_profile_id (
-
update
(context_profile_id, policy_context_profile, override=None)¶ Creates/Updates a PolicyContextProfile, which encapsulates attribute and sub-attributes of network services. Rules for using attributes and sub-attributes in single PolicyContextProfile 1. One type of attribute can’t have multiple occurrences. ( Eg. - Attribute type APP_ID can be used only once per PolicyContextProfile.) 2. For specifying multiple values for an attribute, provide them in an array. 3. If sub-attribtes are mentioned for an attribute, then only single value is allowed for that attribute. 4. To get a list of supported attributes and sub-attributes fire the following REST API GET https://<policy-mgr>/policy/api/v1/infra/context-profiles/attributes
Parameters: - context_profile_id (
str
) – (required) - policy_context_profile (
com.vmware.nsx_policy.model_client.PolicyContextProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.PolicyContextProfile
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- context_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
Crls
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
LIST_TYPE_CERTIFICATE
= 'cluster_api_certificate'¶ Possible value for
type
of methodCrls.list()
.
-
delete
(crl_id)¶ Deletes an existing CRL.
Parameters: crl_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
(crl_id, details=None)¶ Returns information about the specified CRL. For additional information, include the ?details=true modifier at the end of the request URI.
Parameters: - crl_id (
str
) – (required) - details (
bool
orNone
) – whether to expand the pem data and show all its details (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.TlsCrl
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- crl_id (
-
importcrl
(crl_id, tls_crl)¶ Adds a new certificate revocation list (CRLs). The CRL is used to verify the client certificate status against the revocation lists published by the CA. For this reason, the administrator needs to add the CRL in certificate repository as well. The CRL can contain a single CRL or multiple CRLs depending on the PEM data. - Single CRL: a single CRL is created with the given id. - Composite CRL: multiple CRLs are generated. Each of the CRL is created with an id generated based on the given id. First CRL is created with crl-id, second with crl-id-1, third with crl-id-2, etc.
Parameters: - crl_id (
str
) – (required) - tls_crl (
com.vmware.nsx_policy.model_client.TlsCrl
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.TlsCrlListResult
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- crl_id (
-
list
(cursor=None, details=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None, type=None)¶ Returns information about all CRLs. For additional information, include the ?details=true modifier at the end of the request URI.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - details (
bool
orNone
) – whether to expand the pem data and show all its details (optional, default to false) - 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) - type (
str
orNone
) – Type of certificate to return (optional)
Return type: Returns: com.vmware.nsx_policy.model.TlsCrlListResult
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 (
-
patch
(crl_id, tls_crl)¶ Create or patch a Certificate Revocation List for the given id. The CRL is used to verify the client certificate status against the revocation lists published by the CA. For this reason, the administrator needs to add the CRL in certificate repository as well. The CRL must contain PEM data for a single CRL.
Parameters: - crl_id (
str
) – (required) - tls_crl (
com.vmware.nsx_policy.model_client.TlsCrl
) – (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- crl_id (
-
update
(crl_id, tls_crl)¶ Create or replace a Certificate Revocation List for the given id. The CRL is used to verify the client certificate status against the revocation lists published by the CA. For this reason, the administrator needs to add the CRL in certificate repository as well. The CRL must contain PEM data for a single CRL. Revision is required.
Parameters: - crl_id (
str
) – (required) - tls_crl (
com.vmware.nsx_policy.model_client.TlsCrl
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.TlsCrl
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- crl_id (
-
-
class
com.vmware.nsx_policy.infra_client.
DeploymentZones
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
(deployment_zone_id)¶ Read a Deployment Zone. This is a deprecated API. DeploymentZone has been renamed to Site. Use GET /infra/sites/site-id.
Parameters: deployment_zone_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.DeploymentZone
Returns: com.vmware.nsx_policy.model.DeploymentZone 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all Deployment zones for infra. This is a deprecated API. DeploymentZone has been renamed to Site. Use GET /infra/sites.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.DeploymentZoneListResult
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 (
-
-
class
com.vmware.nsx_policy.infra_client.
DhcpRelayConfigs
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(dhcp_relay_config_id)¶ Delete DHCP relay configuration
Parameters: dhcp_relay_config_id ( str
) – DHCP relay config ID (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
(dhcp_relay_config_id)¶ Read DHCP relay configuration
Parameters: dhcp_relay_config_id ( str
) – DHCP relay config ID (required)Return type: com.vmware.nsx_policy.model_client.DhcpRelayConfig
Returns: com.vmware.nsx_policy.model.DhcpRelayConfig 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all DHCP relay config instances
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.DhcpRelayConfigListResult
Returns: com.vmware.nsx_policy.model.DhcpRelayConfigListResult
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 (
-
patch
(dhcp_relay_config_id, dhcp_relay_config)¶ If DHCP relay config with the dhcp-relay-config-id is not already present, create a new DHCP relay config instance. If it already exists, update the DHCP relay config instance with specified attributes.
Parameters: - dhcp_relay_config_id (
str
) – DHCP relay config ID (required) - dhcp_relay_config (
com.vmware.nsx_policy.model_client.DhcpRelayConfig
) – (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- dhcp_relay_config_id (
-
update
(dhcp_relay_config_id, dhcp_relay_config)¶ If DHCP relay config with the dhcp-relay-config-id is not already present, create a new DHCP relay config instance. If it already exists, replace the DHCP relay config instance with this object.
Parameters: - dhcp_relay_config_id (
str
) – DHCP relay config ID (required) - dhcp_relay_config (
com.vmware.nsx_policy.model_client.DhcpRelayConfig
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.DhcpRelayConfig
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- dhcp_relay_config_id (
-
-
class
com.vmware.nsx_policy.infra_client.
DhcpServerConfigs
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(dhcp_server_config_id)¶ Delete DHCP server configuration
Parameters: dhcp_server_config_id ( str
) – DHCP server config ID (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
(dhcp_server_config_id)¶ Read DHCP server configuration
Parameters: dhcp_server_config_id ( str
) – DHCP server config ID (required)Return type: com.vmware.nsx_policy.model_client.DhcpServerConfig
Returns: com.vmware.nsx_policy.model.DhcpServerConfig 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all DHCP server config instances
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.DhcpServerConfigListResult
Returns: com.vmware.nsx_policy.model.DhcpServerConfigListResult
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 (
-
patch
(dhcp_server_config_id, dhcp_server_config)¶ If DHCP server config with the dhcp-server-config-id is not already present, create a new DHCP server config instance. If it already exists, update the DHCP server config instance with specified attributes. Realized entities of this API can be found using the path of Tier-0, Tier1, or Segment where this config is applied on. Modification of edge_cluster_path in DhcpServerConfig will lose all existing DHCP leases. If both the preferred_edge_paths in the DhcpServerConfig are changed in a same PATCH API, e.g. change from [a,b] to [x,y], the current DHCP server leases will be lost, which could cause network connectivity issues. It is recommended to change only one member index in an update call, e.g. from [a, b] to [a,y]. Clearing preferred_edge_paths will not reassign edge nodes from the edge cluster. Instead, the previously-allocated edge nodes will be retained to avoid loss of leases.
Parameters: - dhcp_server_config_id (
str
) – DHCP server config ID (required) - dhcp_server_config (
com.vmware.nsx_policy.model_client.DhcpServerConfig
) – (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- dhcp_server_config_id (
-
update
(dhcp_server_config_id, dhcp_server_config)¶ If DHCP server config with the dhcp-server-config-id is not already present, create a new DHCP server config instance. If it already exists, replace the DHCP server config instance with this object. Realized entities of this API can be found using the path of Tier-0, Tier1, or Segment where this config is applied on. Modification of edge_cluster_path in DhcpServerConfig will lose all existing DHCP leases. If both the preferred_edge_paths in the DhcpServerConfig are changed in a same PUT API, e.g. change from [a,b] to [x,y], the current DHCP server leases will be lost, which could cause network connectivity issues. It is recommended to change only one member index in an update call, e.g. from [a, b] to [a,y]. Clearing preferred_edge_paths will not reassign edge nodes from the edge cluster. Instead, the previously-allocated edge nodes will be retained to avoid loss of leases.
Parameters: - dhcp_server_config_id (
str
) – DHCP server config ID (required) - dhcp_server_config (
com.vmware.nsx_policy.model_client.DhcpServerConfig
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.DhcpServerConfig
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- dhcp_server_config_id (
-
-
class
com.vmware.nsx_policy.infra_client.
DnsForwarderZones
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(dns_forwarder_zone_id)¶ Delete the DNS Forwarder Zone
Parameters: dns_forwarder_zone_id ( str
) – DNS Forwarder Zone ID (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
(dns_forwarder_zone_id)¶ Read the DNS Forwarder Zone
Parameters: dns_forwarder_zone_id ( str
) – DNS Forwarder Zone ID (required)Return type: com.vmware.nsx_policy.model_client.PolicyDnsForwarderZone
Returns: com.vmware.nsx_policy.model.PolicyDnsForwarderZone 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all Dns Forwarder Zones
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyDnsForwarderZoneListResult
Returns: com.vmware.nsx_policy.model.PolicyDnsForwarderZoneListResult
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 (
-
patch
(dns_forwarder_zone_id, policy_dns_forwarder_zone)¶ Create or update the DNS Forwarder Zone
Parameters: - dns_forwarder_zone_id (
str
) – DNS Forwarder Zone ID (required) - policy_dns_forwarder_zone (
com.vmware.nsx_policy.model_client.PolicyDnsForwarderZone
) – (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- dns_forwarder_zone_id (
-
update
(dns_forwarder_zone_id, policy_dns_forwarder_zone)¶ Create or update the DNS Forwarder Zone
Parameters: - dns_forwarder_zone_id (
str
) – DNS Forwarder Zone ID (required) - policy_dns_forwarder_zone (
com.vmware.nsx_policy.model_client.PolicyDnsForwarderZone
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.PolicyDnsForwarderZone
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- dns_forwarder_zone_id (
-
-
class
com.vmware.nsx_policy.infra_client.
DnsSecurityProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(profile_id, override=None)¶ Delete DNS security profile
Parameters: - profile_id (
str
) – (required) - override (
bool
orNone
) – Locally override the global object (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- profile_id (
-
get
(profile_id)¶ Read the DNS Forwarder for the given tier-0 instance
Parameters: profile_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.DnsSecurityProfile
Returns: com.vmware.nsx_policy.model.DnsSecurityProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List all DNS security profiles
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.DnsSecurityProfileListResult
Returns: com.vmware.nsx_policy.model.DnsSecurityProfileListResult
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 (
-
patch
(profile_id, dns_security_profile, override=None)¶ Create or update DNS security profile
Parameters: - profile_id (
str
) – (required) - dns_security_profile (
com.vmware.nsx_policy.model_client.DnsSecurityProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- profile_id (
-
update
(profile_id, dns_security_profile, override=None)¶ Create or update DNS security profile
Parameters: - profile_id (
str
) – (required) - dns_security_profile (
com.vmware.nsx_policy.model_client.DnsSecurityProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.DnsSecurityProfile
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- profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
Domains
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(domain_id)¶ Delete the domain along with all the entities contained by this domain. The groups that are a part of this domain are also deleted along with the domain.
Parameters: domain_id ( str
) – Domain ID (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
(domain_id)¶ Read a domain.
Parameters: domain_id ( str
) – Domain ID (required)Return type: com.vmware.nsx_policy.model_client.Domain
Returns: com.vmware.nsx_policy.model.Domain 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all domains for infra.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.DomainListResult
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 (
-
patch
(domain_id, domain)¶ If a domain with the domain-id is not already present, create a new domain. If it already exists, patch the domain
Parameters: - domain_id (
str
) – Domain ID (required) - domain (
com.vmware.nsx_policy.model_client.Domain
) – (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- domain_id (
-
update
(domain_id, domain)¶ If a domain with the domain-id is not already present, create a new domain. If it already exists, update the domain including the nested groups. This is a full replace
Parameters: - domain_id (
str
) – Domain ID (required) - domain (
com.vmware.nsx_policy.model_client.Domain
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.Domain
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- domain_id (
-
-
class
com.vmware.nsx_policy.infra_client.
Drafts
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(draft_id)¶ Delete a manual draft.
Parameters: draft_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
(draft_id)¶ Read a draft for a given draft identifier.
Parameters: draft_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.PolicyDraft
Returns: com.vmware.nsx_policy.model.PolicyDraft 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
(auto_drafts=None, cursor=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List policy drafts.
Parameters: - auto_drafts (
bool
orNone
) – Fetch list of draft based on is_auto_draft flag (optional) - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.PolicyDraftListResult
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- auto_drafts (
-
patch
(draft_id, policy_draft)¶ Create a new manual draft if the specified draft id does not correspond to an existing draft. Update the manual draft otherwise. Auto draft can not be updated.
Parameters: - draft_id (
str
) – (required) - policy_draft (
com.vmware.nsx_policy.model_client.PolicyDraft
) – (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- draft_id (
-
publish
(draft_id, infra)¶ Read a draft and publish it by applying changes onto current configuration.
Parameters: - draft_id (
str
) – (required) - infra (
com.vmware.nsx_policy.model_client.Infra
) – (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- draft_id (
-
update
(draft_id, policy_draft)¶ Create a new manual draft if the specified draft id does not correspond to an existing draft. Update the manual draft otherwise. Auto draft can not be updated.
Parameters: - draft_id (
str
) – (required) - policy_draft (
com.vmware.nsx_policy.model_client.PolicyDraft
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.PolicyDraft
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- draft_id (
-
-
class
com.vmware.nsx_policy.infra_client.
FederationConfig
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
()¶ Read a federation config from Global Manager.
Return type: com.vmware.nsx_policy.model_client.FederationConfig
Returns: com.vmware.nsx_policy.model.FederationConfig 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_policy.infra_client.
FirewallSchedulers
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(firewall_scheduler_id, force=None)¶ Deletes the specified PolicyFirewallScheduler. If scheduler is consumed in a security policy, it won’t get deleted.
Parameters: - firewall_scheduler_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- firewall_scheduler_id (
-
get
(firewall_scheduler_id)¶ Get a PolicyFirewallScheduler by id
Parameters: firewall_scheduler_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.PolicyFirewallScheduler
Returns: com.vmware.nsx_policy.model.PolicyFirewallScheduler 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get all PolicyFirewallSchedulers
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyFirewallSchedulerListResult
Returns: com.vmware.nsx_policy.model.PolicyFirewallSchedulerListResult
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 (
-
patch
(firewall_scheduler_id, policy_firewall_scheduler)¶ Creates/Updates a PolicyFirewallScheduler, which can be set at security policy. Note that at least one property out of “days”, “start_date”, “time_interval”, “end_date” is required if “recurring” field is true. Also “start_time” and “end_time” should not be present. And if “recurring” field is false then “start_date” and “end_date” is mandatory, “start_time” and “end_time” is optional. Also the fields “days” and “time_interval” should not be present.
Parameters: - firewall_scheduler_id (
str
) – (required) - policy_firewall_scheduler (
com.vmware.nsx_policy.model_client.PolicyFirewallScheduler
) – (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- firewall_scheduler_id (
-
update
(firewall_scheduler_id, policy_firewall_scheduler)¶ Updates a PolicyFirewallScheduler, which can be set at security policy. Note that at least one property out of “days”, “start_date”, “time_interval”, “end_date” is required if “recurring” field is true. Also “start_time” and “end_time” should not be present. And if “recurring” field is false then “start_date” and “end_date” is mandatory, “start_time” and “end_time” is optional. Also the fields “days” and “time_interval” should not be present.
Parameters: - firewall_scheduler_id (
str
) – (required) - policy_firewall_scheduler (
com.vmware.nsx_policy.model_client.PolicyFirewallScheduler
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.PolicyFirewallScheduler
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- firewall_scheduler_id (
-
-
class
com.vmware.nsx_policy.infra_client.
FirewallSessionTimerProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(firewall_session_timer_profile_id, override=None)¶ API will delete Firewall Session Timer Profile
Parameters: - firewall_session_timer_profile_id (
str
) – Firewall Session Timer Profile ID (required) - override (
bool
orNone
) – Locally override the global object (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- firewall_session_timer_profile_id (
-
get
(firewall_session_timer_profile_id)¶ API will get Firewall Session Timer Profile
Parameters: firewall_session_timer_profile_id ( str
) – Firewall Session Timer Profile ID (required)Return type: com.vmware.nsx_policy.model_client.PolicyFirewallSessionTimerProfile
Returns: com.vmware.nsx_policy.model.PolicyFirewallSessionTimerProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API will list all Firewall Session Timer Profiles
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyFirewallSessionTimerProfileListResult
Returns: com.vmware.nsx_policy.model.PolicyFirewallSessionTimerProfileListResult
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 (
-
patch
(firewall_session_timer_profile_id, policy_firewall_session_timer_profile, override=None)¶ API will create/update Firewall Session Timer Profile
Parameters: - firewall_session_timer_profile_id (
str
) – Firewall Session Timer Profile ID (required) - policy_firewall_session_timer_profile (
com.vmware.nsx_policy.model_client.PolicyFirewallSessionTimerProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- firewall_session_timer_profile_id (
-
update
(firewall_session_timer_profile_id, policy_firewall_session_timer_profile, override=None)¶ API will update Firewall Session Timer Profile
Parameters: - firewall_session_timer_profile_id (
str
) – Firewall Session Timer Profile ID (required) - policy_firewall_session_timer_profile (
com.vmware.nsx_policy.model_client.PolicyFirewallSessionTimerProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: com.vmware.nsx_policy.model_client.PolicyFirewallSessionTimerProfile
Returns: com.vmware.nsx_policy.model.PolicyFirewallSessionTimerProfile
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- firewall_session_timer_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
FloodProtectionProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(flood_protection_profile_id, override=None)¶ API will delete Flood Protection Profile
Parameters: - flood_protection_profile_id (
str
) – Flood Protection Profile ID (required) - override (
bool
orNone
) – Locally override the global object (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- flood_protection_profile_id (
-
get
(flood_protection_profile_id)¶ API will get Flood Protection Profile
Parameters: flood_protection_profile_id ( str
) – Flood Protection Profile ID (required)Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.FloodProtectionProfile The return value will contain all the attributes defined in com.vmware.nsx_policy.model_client.FloodProtectionProfile
.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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API will list all Flood Protection Profiles
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.FloodProtectionProfileListResult
Returns: com.vmware.nsx_policy.model.FloodProtectionProfileListResult
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 (
-
patch
(flood_protection_profile_id, flood_protection_profile, override=None)¶ API will create/update Flood Protection Profile
Parameters: - flood_protection_profile_id (
str
) – Firewall Flood Protection Profile ID (required) - flood_protection_profile (
vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_policy.model_client.FloodProtectionProfile
. - override (
bool
orNone
) – Locally override the global object (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- flood_protection_profile_id (
-
update
(flood_protection_profile_id, flood_protection_profile, override=None)¶ API will update Firewall Flood Protection Profile
Parameters: - flood_protection_profile_id (
str
) – Flood Protection Profile ID (required) - flood_protection_profile (
vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_policy.model_client.FloodProtectionProfile
. - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.FloodProtectionProfile The return value will contain all the attributes defined in
com.vmware.nsx_policy.model_client.FloodProtectionProfile
.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- flood_protection_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
FullSyncStates
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
(full_sync_id)¶ Get full sync state.
Parameters: full_sync_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.FullSyncState
Returns: com.vmware.nsx_policy.model.FullSyncState 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List full sync state.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.FullSyncStateListResult
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 (
-
-
class
com.vmware.nsx_policy.infra_client.
GatewayQosProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(qos_profile_id, override=None)¶ Delete QoS profile
Parameters: - qos_profile_id (
str
) – (required) - override (
bool
orNone
) – Locally override the global object (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- qos_profile_id (
-
get
(qos_profile_id)¶ Read gateway QoS profile
Parameters: qos_profile_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.GatewayQosProfile
Returns: com.vmware.nsx_policy.model.GatewayQosProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all gateway QoS profle instances
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.GatewayQosProfileListResult
Returns: com.vmware.nsx_policy.model.GatewayQosProfileListResult
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 (
-
patch
(qos_profile_id, gateway_qos_profile, override=None)¶ If profile with the qos-profile-id is not already present, create a new gateway QoS profile instance. If it already exists, update the gateway QoS profile instance with specified attributes.
Parameters: - qos_profile_id (
str
) – (required) - gateway_qos_profile (
com.vmware.nsx_policy.model_client.GatewayQosProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- qos_profile_id (
-
update
(qos_profile_id, gateway_qos_profile, override=None)¶ If profile with the qos-profile-id is not already present, create a new gateway QoS profile instance. If it already exists, replace the gateway QoS profile instance with this object.
Parameters: - qos_profile_id (
str
) – (required) - gateway_qos_profile (
com.vmware.nsx_policy.model_client.GatewayQosProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.GatewayQosProfile
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- qos_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
GlobalConfig
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
()¶ Read global configuration
Return type: com.vmware.nsx_policy.model_client.GlobalConfig
Returns: com.vmware.nsx_policy.model.GlobalConfig 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
-
patch
(global_config)¶ Update the global configuration
Parameters: global_config ( com.vmware.nsx_policy.model_client.GlobalConfig
) – (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
-
update
(global_config)¶ Update the global configuration
Parameters: global_config ( com.vmware.nsx_policy.model_client.GlobalConfig
) – (required)Return type: com.vmware.nsx_policy.model_client.GlobalConfig
Returns: com.vmware.nsx_policy.model.GlobalConfig 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_policy.infra_client.
GlobalManagerConfig
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
patch
(global_manager_config)¶ Create or patch a Global Manager Config
Parameters: global_manager_config ( com.vmware.nsx_policy.model_client.GlobalManagerConfig
) – (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
-
showsensitivedata
()¶ Read a Global Manager config along with sensitive data. For example - rtep_config.ibgp_password
Return type: com.vmware.nsx_policy.model_client.GlobalManagerConfig
Returns: com.vmware.nsx_policy.model.GlobalManagerConfig 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
(global_manager_config)¶ Create or fully replace a Global Manager Config. Revision is optional for creation and required for update.
Parameters: global_manager_config ( com.vmware.nsx_policy.model_client.GlobalManagerConfig
) – (required)Return type: com.vmware.nsx_policy.model_client.GlobalManagerConfig
Returns: com.vmware.nsx_policy.model.GlobalManagerConfig 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_policy.infra_client.
GlobalManagers
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
CREATE_ACTION_ACTIVE_FAILED
= 'active_failed'¶ Possible value for
action
of methodGlobalManagers.create()
.
-
CREATE_ACTION_MANAGED_SWITCHOVER
= 'managed_switchover'¶ Possible value for
action
of methodGlobalManagers.create()
.
-
create
(action)¶ Switch over from Active to Standby Global Manager. This operation will fail if there is no Standby Global Manager.
Parameters: action ( str
) – Indicates whether it is managed switchover or due to failure (required)Return type: com.vmware.nsx_policy.model_client.GlobalManager
Returns: com.vmware.nsx_policy.model.GlobalManager 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
-
delete
(global_manager_id)¶ Delete a particular global manager under Infra. Global Manager id ‘self’ is reserved and can be used for referring to local logged in Global Manager. Example - /infra/global-managers/self
Parameters: global_manager_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
(global_manager_id)¶ Retrieve information about a particular configured global manager. Global Manager id ‘self’ is reserved and can be used for referring to local logged in Global Manager. Example - /infra/global-managers/self
Parameters: global_manager_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.GlobalManager
Returns: com.vmware.nsx_policy.model.GlobalManager 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List Global Managers under Infra.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.GlobalManagerListResult
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 (
-
patch
(global_manager_id, global_manager)¶ Create or patch a Global Manager under Infra. Global Manager id ‘self’ is reserved and can be used for referring to local logged in Global Manager. Example - /infra/global-managers/self
Parameters: - global_manager_id (
str
) – (required) - global_manager (
com.vmware.nsx_policy.model_client.GlobalManager
) – (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- global_manager_id (
-
update
(global_manager_id, global_manager)¶ Create or fully replace Global Manager under Infra. Revision is optional for creation and required for update. Global Manager id ‘self’ is reserved and can be used for referring to local logged in Global Manager. Example - /infra/global-managers/self
Parameters: - global_manager_id (
str
) – (required) - global_manager (
com.vmware.nsx_policy.model_client.GlobalManager
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.GlobalManager
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- global_manager_id (
-
-
class
com.vmware.nsx_policy.infra_client.
GroupAssociations
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(intent_path, cursor=None, enforcement_point_path=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get policy groups for which the given object is a member. In Federation environment, if the given object is a global entity (eg: global segment) and if the entity is not stretched to the site specified in the enforcement_point_path parameter,then the following is returned:- 1)If the entity is a member of any global group and that group is stretched to the enforcement_point_path site,then the API returns an empty list. 2)If the entity is not a member of any global group,this API returns an ‘invalid path’ error message. 3)If both the entity and its corresponding groups are stretched to the enforcement_point_path site , then the API returns the groups list.
Parameters: - intent_path (
str
) – String path of the intent object (required) - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyResourceReferenceForEPListResult
Returns: com.vmware.nsx_policy.model.PolicyResourceReferenceForEPListResult
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- intent_path (
-
-
class
com.vmware.nsx_policy.infra_client.
GroupServiceAssociations
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(intent_path, cursor=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ The API returns all the services associated with the given Group. It also returns the services associated with the parent groups of the given group.
Parameters: - intent_path (
str
) – Path of the entity (required) - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyResourceReferenceListResult
Returns: com.vmware.nsx_policy.model.PolicyResourceReferenceListResult
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- intent_path (
-
-
class
com.vmware.nsx_policy.infra_client.
IgmpProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(igmp_profile_id)¶ Delete Igmp Profile.
Parameters: igmp_profile_id ( str
) – igmp profile id (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
(igmp_profile_id)¶ Read Igmp Profile.
Parameters: igmp_profile_id ( str
) – igmp profile id (required)Return type: com.vmware.nsx_policy.model_client.PolicyIgmpProfile
Returns: com.vmware.nsx_policy.model.PolicyIgmpProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List all igmp profile.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyIgmpProfileListResult
Returns: com.vmware.nsx_policy.model.PolicyIgmpProfileListResult
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 (
-
patch
(igmp_profile_id, policy_igmp_profile)¶ Create a igmp profile with the igmp-profile-id is not already present, otherwise update the igmp profile.
Parameters: - igmp_profile_id (
str
) – igmp profile id (required) - policy_igmp_profile (
com.vmware.nsx_policy.model_client.PolicyIgmpProfile
) – (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- igmp_profile_id (
-
update
(igmp_profile_id, policy_igmp_profile)¶ Create or update igmp profile.
Parameters: - igmp_profile_id (
str
) – igmp profile id (required) - policy_igmp_profile (
com.vmware.nsx_policy.model_client.PolicyIgmpProfile
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.PolicyIgmpProfile
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- igmp_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
IpAddressGroupAssociations
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(ip_address, cursor=None, enforcement_point_path=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get policy groups for which the given IP address is a member.
Parameters: - ip_address (
str
) – IPAddress (required) - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyResourceReferenceForEPListResult
Returns: com.vmware.nsx_policy.model.PolicyResourceReferenceForEPListResult
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- ip_address (
-
-
class
com.vmware.nsx_policy.infra_client.
IpBlocks
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(ip_block_id)¶ Delete the IpAddressBlock with the given id.
Parameters: ip_block_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
(ip_block_id)¶ Read IpAddressBlock with given Id.
Parameters: ip_block_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.IpAddressBlock
Returns: com.vmware.nsx_policy.model.IpAddressBlock 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of IpAddressBlocks.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.IpAddressBlockListResult
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 (
-
patch
(ip_block_id, ip_address_block)¶ Creates a new IpAddressBlock with specified ID if not already present. If IpAddressBlock of given ID is already present, then the instance is updated with specified attributes.
Parameters: - ip_block_id (
str
) – (required) - ip_address_block (
com.vmware.nsx_policy.model_client.IpAddressBlock
) – (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- ip_block_id (
-
update
(ip_block_id, ip_address_block)¶ Create a new IpAddressBlock with given ID if it does not exist. If IpAddressBlock with given ID already exists, it will update existing instance. This is a full replace.
Parameters: - ip_block_id (
str
) – (required) - ip_address_block (
com.vmware.nsx_policy.model_client.IpAddressBlock
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.IpAddressBlock
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- ip_block_id (
-
-
class
com.vmware.nsx_policy.infra_client.
IpDiscoveryProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(ip_discovery_profile_id, override=None)¶ API will delete IP Discovery profile.
Parameters: - ip_discovery_profile_id (
str
) – IP Discovery Profile ID (required) - override (
bool
orNone
) – Locally override the global object (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- ip_discovery_profile_id (
-
get
(ip_discovery_profile_id)¶ API will get IP Discovery profile.
Parameters: ip_discovery_profile_id ( str
) – IP Discovery Profile ID (required)Return type: com.vmware.nsx_policy.model_client.IPDiscoveryProfile
Returns: com.vmware.nsx_policy.model.IPDiscoveryProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API will list all IP Discovery Profiles active in current discovery profile id.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.IPDiscoveryProfileListResult
Returns: com.vmware.nsx_policy.model.IPDiscoveryProfileListResult
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 (
-
patch
(ip_discovery_profile_id, ip_discovery_profile, override=None)¶ API will create IP Discovery profile.
Parameters: - ip_discovery_profile_id (
str
) – IP Discovery Profile ID (required) - ip_discovery_profile (
com.vmware.nsx_policy.model_client.IPDiscoveryProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- ip_discovery_profile_id (
-
update
(ip_discovery_profile_id, ip_discovery_profile, override=None)¶ API will update IP Discovery profile.
Parameters: - ip_discovery_profile_id (
str
) – IP Discovery Profile ID (required) - ip_discovery_profile (
com.vmware.nsx_policy.model_client.IPDiscoveryProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.IPDiscoveryProfile
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- ip_discovery_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
IpPools
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(ip_pool_id)¶ Delete the IpAddressPool with the given id.
Parameters: ip_pool_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
(ip_pool_id)¶ Read IpAddressPool with given Id.
Parameters: ip_pool_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.IpAddressPool
Returns: com.vmware.nsx_policy.model.IpAddressPool 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of IpAddressPools.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.IpAddressPoolListResult
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 (
-
patch
(ip_pool_id, ip_address_pool)¶ Creates a new IpAddressPool with specified ID if not already present. If IpAddressPool of given ID is already present, then the instance is updated. This is a full replace.
Parameters: - ip_pool_id (
str
) – (required) - ip_address_pool (
com.vmware.nsx_policy.model_client.IpAddressPool
) – (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- ip_pool_id (
-
update
(ip_pool_id, ip_address_pool)¶ Create a new IpAddressPool with given ID if it does not exist. If IpAddressPool with given ID already exists, it will update existing instance. This is a full replace.
Parameters: - ip_pool_id (
str
) – (required) - ip_address_pool (
com.vmware.nsx_policy.model_client.IpAddressPool
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.IpAddressPool
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- ip_pool_id (
-
-
class
com.vmware.nsx_policy.infra_client.
IpfixCollectorProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(ipfix_collector_profile_id)¶ API deletes IPFIX collector profile. Flow forwarding to collector will be stopped. This API is deprecated. Please use the following API: https://<policy-mgr>/policy/api/v1/infra/ipfix-l2-collector-profiles
Parameters: ipfix_collector_profile_id ( str
) – IPFIX collector Profile id (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
(ipfix_collector_profile_id)¶ API will return details of IPFIX collector profile. If profile does not exist, it will return 404. This API is deprecated. Please use the following API: https://<policy-mgr>/policy/api/v1/infra/ipfix-l2-collector-profiles
Parameters: ipfix_collector_profile_id ( str
) – IPFIX collector profile id (required)Return type: com.vmware.nsx_policy.model_client.IPFIXCollectorProfile
Returns: com.vmware.nsx_policy.model.IPFIXCollectorProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API will provide list of all IPFIX collector profiles and their details. This API is deprecated. Please use the following API: https://<policy-mgr>/policy/api/v1/infra/ipfix-l2-collector-profiles
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.IPFIXCollectorProfileListResult
Returns: com.vmware.nsx_policy.model.IPFIXCollectorProfileListResult
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 (
-
patch
(ipfix_collector_profile_id, i_pfix_collector_profile)¶ Create a new IPFIX collector profile if the IPFIX collector profile with given id does not already exist. If the IPFIX collector profile with the given id already exists, patch with the existing IPFIX collector profile. This API is deprecated. Please use the following API: https://<policy-mgr>/policy/api/v1/infra/ipfix-l2-collector-profiles
Parameters: - ipfix_collector_profile_id (
str
) – IPFIX collector profile id (required) - i_pfix_collector_profile (
com.vmware.nsx_policy.model_client.IPFIXCollectorProfile
) – (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- ipfix_collector_profile_id (
-
update
(ipfix_collector_profile_id, i_pfix_collector_profile)¶ Create or Replace IPFIX collector profile. IPFIX data will be sent to IPFIX collector port. This API is deprecated. Please use the following API: https://<policy-mgr>/policy/api/v1/infra/ipfix-l2-collector-profiles
Parameters: - ipfix_collector_profile_id (
str
) – IPFIX collector profile id (required) - i_pfix_collector_profile (
com.vmware.nsx_policy.model_client.IPFIXCollectorProfile
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.IPFIXCollectorProfile
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- ipfix_collector_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
IpfixDfwCollectorProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(ipfix_dfw_collector_profile_id, override=None)¶ API deletes IPFIX dfw collector profile. Flow forwarding to collector will be stopped.
Parameters: - ipfix_dfw_collector_profile_id (
str
) – IPFIX dfw collector Profile id (required) - override (
bool
orNone
) – Locally override the global object (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- ipfix_dfw_collector_profile_id (
-
get
(ipfix_dfw_collector_profile_id)¶ API will return details of IPFIX dfw collector profile. If profile does not exist, it will return 404.
Parameters: ipfix_dfw_collector_profile_id ( str
) – IPFIX dfw collector profile id (required)Return type: com.vmware.nsx_policy.model_client.IPFIXDFWCollectorProfile
Returns: com.vmware.nsx_policy.model.IPFIXDFWCollectorProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API will provide list of all IPFIX dfw collector profiles and their details.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.IPFIXDFWCollectorProfileListResult
Returns: com.vmware.nsx_policy.model.IPFIXDFWCollectorProfileListResult
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 (
-
patch
(ipfix_dfw_collector_profile_id, i_pfixdfw_collector_profile, override=None)¶ Create a new IPFIX dfw collector profile if the IPFIX dfw collector profile with given id does not already exist. If the IPFIX dfw collector profile with the given id already exists, patch with the existing IPFIX dfw collector profile.
Parameters: - ipfix_dfw_collector_profile_id (
str
) – (required) - i_pfixdfw_collector_profile (
com.vmware.nsx_policy.model_client.IPFIXDFWCollectorProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- ipfix_dfw_collector_profile_id (
-
update
(ipfix_dfw_collector_profile_id, i_pfixdfw_collector_profile, override=None)¶ Create or Replace IPFIX dfw collector profile. IPFIX data will be sent to IPFIX collector port.
Parameters: - ipfix_dfw_collector_profile_id (
str
) – IPFIX dfw collector profile id (required) - i_pfixdfw_collector_profile (
com.vmware.nsx_policy.model_client.IPFIXDFWCollectorProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.IPFIXDFWCollectorProfile
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- ipfix_dfw_collector_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
IpfixDfwProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(ipfix_dfw_profile_id, override=None)¶ API deletes IPFIX DFW Profile. Selected IPFIX Collectors will stop receiving flows.
Parameters: - ipfix_dfw_profile_id (
str
) – IPFIX DFW Profile ID (required) - override (
bool
orNone
) – Locally override the global object (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- ipfix_dfw_profile_id (
-
get
(ipfix_dfw_profile_id)¶ API will return details of IPFIX DFW profile.
Parameters: ipfix_dfw_profile_id ( str
) – IPFIX DFW collection id (required)Return type: com.vmware.nsx_policy.model_client.IPFIXDFWProfile
Returns: com.vmware.nsx_policy.model.IPFIXDFWProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API provides list IPFIX DFW profiles available on selected logical DFW.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.IPFIXDFWProfileListResult
Returns: com.vmware.nsx_policy.model.IPFIXDFWProfileListResult
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 (
-
patch
(ipfix_dfw_profile_id, i_pfixdfw_profile, override=None)¶ Create a new IPFIX DFW profile if the IPFIX DFW profile with given id does not already exist. If the IPFIX DFW profile with the given id already exists, patch with the existing IPFIX DFW profile.
Parameters: - ipfix_dfw_profile_id (
str
) – IPFIX DFW Profile ID (required) - i_pfixdfw_profile (
com.vmware.nsx_policy.model_client.IPFIXDFWProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- ipfix_dfw_profile_id (
-
update
(ipfix_dfw_profile_id, i_pfixdfw_profile, override=None)¶ Create or replace IPFIX DFW profile. Config will start forwarding data to provided IPFIX DFW collector.
Parameters: - ipfix_dfw_profile_id (
str
) – IPFIX DFW Profile ID (required) - i_pfixdfw_profile (
com.vmware.nsx_policy.model_client.IPFIXDFWProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.IPFIXDFWProfile
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- ipfix_dfw_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
IpfixL2CollectorProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(ipfix_l2_collector_profile_id, override=None)¶ API deletes IPFIX collector profile. Flow forwarding to collector will be stopped.
Parameters: - ipfix_l2_collector_profile_id (
str
) – IPFIX collector Profile id (required) - override (
bool
orNone
) – Locally override the global object (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- ipfix_l2_collector_profile_id (
-
get
(ipfix_l2_collector_profile_id)¶ API will return details of IPFIX collector profile.
Parameters: ipfix_l2_collector_profile_id ( str
) – IPFIX collector profile id (required)Return type: com.vmware.nsx_policy.model_client.IPFIXL2CollectorProfile
Returns: com.vmware.nsx_policy.model.IPFIXL2CollectorProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API will provide list of all IPFIX collector profiles and their details.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.IPFIXL2CollectorProfileListResult
Returns: com.vmware.nsx_policy.model.IPFIXL2CollectorProfileListResult
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 (
-
patch
(ipfix_l2_collector_profile_id, i_pfix_l2_collector_profile, override=None)¶ Create a new IPFIX collector profile if the IPFIX collector profile with given id does not already exist. If the IPFIX collector profile with the given id already exists, patch with the existing IPFIX collector profile.
Parameters: - ipfix_l2_collector_profile_id (
str
) – IPFIX collector profile id (required) - i_pfix_l2_collector_profile (
com.vmware.nsx_policy.model_client.IPFIXL2CollectorProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- ipfix_l2_collector_profile_id (
-
update
(ipfix_l2_collector_profile_id, i_pfix_l2_collector_profile, override=None)¶ Create or Replace IPFIX collector profile. IPFIX data will be sent to IPFIX collector.
Parameters: - ipfix_l2_collector_profile_id (
str
) – IPFIX collector profile id (required) - i_pfix_l2_collector_profile (
com.vmware.nsx_policy.model_client.IPFIXL2CollectorProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.IPFIXL2CollectorProfile
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- ipfix_l2_collector_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
IpfixL2Profiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(ipfix_l2_profile_id, override=None)¶ API deletes IPFIX L2 Profile. Flow forwarding to selected collector will be stopped.
Parameters: - ipfix_l2_profile_id (
str
) – IPFIX L2 Profile ID (required) - override (
bool
orNone
) – Locally override the global object (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- ipfix_l2_profile_id (
-
get
(ipfix_l2_profile_id)¶ API will return details of IPFIX L2 profile.
Parameters: ipfix_l2_profile_id ( str
) – IPFIX L2 profile id (required)Return type: com.vmware.nsx_policy.model_client.IPFIXL2Profile
Returns: com.vmware.nsx_policy.model.IPFIXL2Profile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API provides list IPFIX L2 Profiles available on selected logical l2.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.IPFIXL2ProfileListResult
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 (
-
patch
(ipfix_l2_profile_id, i_pfix_l2_profile, override=None)¶ Create a new IPFIX L2 profile if the IPFIX L2 profile with given id does not already exist. If the IPFIX L2 profile with the given id already exists, patch with the existing IPFIX L2 profile.
Parameters: - ipfix_l2_profile_id (
str
) – IPFIX L2 Profile ID (required) - i_pfix_l2_profile (
com.vmware.nsx_policy.model_client.IPFIXL2Profile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- ipfix_l2_profile_id (
-
update
(ipfix_l2_profile_id, i_pfix_l2_profile, override=None)¶ Create or replace IPFIX L2 Profile. Profile is reusable entity. Single profile can attached multiple bindings e.g group, segment and port.
Parameters: - ipfix_l2_profile_id (
str
) – IPFIX L2 Profile ID (required) - i_pfix_l2_profile (
com.vmware.nsx_policy.model_client.IPFIXL2Profile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.IPFIXL2Profile
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- ipfix_l2_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
IpsecVpnDpdProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(dpd_profile_id)¶ Delete custom dead peer detection (DPD) profile. Profile can not be deleted if profile has references to it.
Parameters: dpd_profile_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
(dpd_profile_id)¶ Get custom dead peer detection (DPD) profile, given the particular id.
Parameters: dpd_profile_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.IPSecVpnDpdProfile
Returns: com.vmware.nsx_policy.model.IPSecVpnDpdProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get paginated list of all DPD Profiles.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.IPSecVpnDpdProfileListResult
Returns: com.vmware.nsx_policy.model.IPSecVpnDpdProfileListResult
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 (
-
patch
(dpd_profile_id, ip_sec_vpn_dpd_profile)¶ Create or patch dead peer detection (DPD) profile. Any change in profile affects all sessions consuming this profile. System will be provisioned with system owned editable default DPD profile. Any change in profile affects all sessions consuming this profile.
Parameters: - dpd_profile_id (
str
) – (required) - ip_sec_vpn_dpd_profile (
com.vmware.nsx_policy.model_client.IPSecVpnDpdProfile
) – (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- dpd_profile_id (
-
update
(dpd_profile_id, ip_sec_vpn_dpd_profile)¶ Create or patch dead peer detection (DPD) profile. Any change in profile affects all sessions consuming this profile. System will be provisioned with system owned editable default DPD profile. Any change in profile affects all sessions consuming this profile. Revision is optional for creation and required for update.
Parameters: - dpd_profile_id (
str
) – (required) - ip_sec_vpn_dpd_profile (
com.vmware.nsx_policy.model_client.IPSecVpnDpdProfile
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.IPSecVpnDpdProfile
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- dpd_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
IpsecVpnIkeProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(ike_profile_id)¶ Delete custom IKE Profile. Profile can not be deleted if profile has references to it.
Parameters: ike_profile_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
(ike_profile_id)¶ Get custom IKE Profile, given the particular id.
Parameters: ike_profile_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.IPSecVpnIkeProfile
Returns: com.vmware.nsx_policy.model.IPSecVpnIkeProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get paginated list of all IKE Profiles.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.IPSecVpnIkeProfileListResult
Returns: com.vmware.nsx_policy.model.IPSecVpnIkeProfileListResult
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 (
-
patch
(ike_profile_id, ip_sec_vpn_ike_profile)¶ Create or patch custom internet key exchange (IKE) Profile. IKE Profile is a reusable profile that captures IKE and phase one negotiation parameters. System will be pre provisioned with system owned editable default IKE profile and suggested set of profiles that can be used for peering with popular remote peers like AWS VPN. User can create custom profiles as needed. Any change in profile affects all sessions consuming this profile.
Parameters: - ike_profile_id (
str
) – (required) - ip_sec_vpn_ike_profile (
com.vmware.nsx_policy.model_client.IPSecVpnIkeProfile
) – (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- ike_profile_id (
-
update
(ike_profile_id, ip_sec_vpn_ike_profile)¶ Create or fully replace custom internet key exchange (IKE) Profile. IKE Profile is a reusable profile that captures IKE and phase one negotiation parameters. System will be pre provisioned with system owned editable default IKE profile and suggested set of profiles that can be used for peering with popular remote peers like AWS VPN. User can create custom profiles as needed. Any change in profile affects all sessions consuming this profile. Revision is optional for creation and required for update.
Parameters: - ike_profile_id (
str
) – (required) - ip_sec_vpn_ike_profile (
com.vmware.nsx_policy.model_client.IPSecVpnIkeProfile
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.IPSecVpnIkeProfile
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- ike_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
IpsecVpnTunnelProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(tunnel_profile_id)¶ Delete custom IPSec tunnel Profile. Profile can not be deleted if profile has references to it.
Parameters: tunnel_profile_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
(tunnel_profile_id)¶ Get custom IPSec tunnel Profile, given the particular id.
Parameters: tunnel_profile_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.IPSecVpnTunnelProfile
Returns: com.vmware.nsx_policy.model.IPSecVpnTunnelProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get paginated list of all IPSec tunnel Profiles.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.IPSecVpnTunnelProfileListResult
Returns: com.vmware.nsx_policy.model.IPSecVpnTunnelProfileListResult
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 (
-
patch
(tunnel_profile_id, ip_sec_vpn_tunnel_profile)¶ Create or patch custom IPSec tunnel profile. IPSec tunnel profile is a reusable profile that captures phase two negotiation parameters and tunnel properties. System will be provisioned with system owned editable default IPSec tunnel profile. Any change in profile affects all sessions consuming this profile.
Parameters: - tunnel_profile_id (
str
) – (required) - ip_sec_vpn_tunnel_profile (
com.vmware.nsx_policy.model_client.IPSecVpnTunnelProfile
) – (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- tunnel_profile_id (
-
update
(tunnel_profile_id, ip_sec_vpn_tunnel_profile)¶ Create or fully replace custom IPSec tunnel profile. IPSec tunnel profile is a reusable profile that captures phase two negotiation parameters and tunnel properties. System will be provisioned with system owned editable default IPSec tunnel profile. Any change in profile affects all sessions consuming this profile. Revision is optional for creation and required for update.
Parameters: - tunnel_profile_id (
str
) – (required) - ip_sec_vpn_tunnel_profile (
com.vmware.nsx_policy.model_client.IPSecVpnTunnelProfile
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.IPSecVpnTunnelProfile
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- tunnel_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
Ipv6DadProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(dad_profile_id, override=None)¶ Delete IPv6 DAD profile
Parameters: - dad_profile_id (
str
) – (required) - override (
bool
orNone
) – Locally override the global object (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- dad_profile_id (
-
get
(dad_profile_id)¶ Read IPv6 DAD profile
Parameters: dad_profile_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.Ipv6DadProfile
Returns: com.vmware.nsx_policy.model.Ipv6DadProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all IPv6 DAD profile instances
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.Ipv6DadProfileListResult
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 (
-
patch
(dad_profile_id, ipv6_dad_profile, override=None)¶ If profile with the dad-profile-id is not already present, create a new IPv6 DAD profile instance. If it already exists, update the IPv6 DAD profile instance with specified attributes.
Parameters: - dad_profile_id (
str
) – (required) - ipv6_dad_profile (
com.vmware.nsx_policy.model_client.Ipv6DadProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- dad_profile_id (
-
update
(dad_profile_id, ipv6_dad_profile, override=None)¶ If profile with the dad-profile-id is not already present, create a new IPv6 DAD profile instance. If it already exists, replace the IPv6 DAD profile instance with this object.
Parameters: - dad_profile_id (
str
) – (required) - ipv6_dad_profile (
com.vmware.nsx_policy.model_client.Ipv6DadProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.Ipv6DadProfile
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- dad_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
Ipv6NdraProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(ndra_profile_id, override=None)¶ Delete IPv6 NDRA profile
Parameters: - ndra_profile_id (
str
) – (required) - override (
bool
orNone
) – Locally override the global object (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- ndra_profile_id (
-
get
(ndra_profile_id)¶ Read IPv6 NDRA profile
Parameters: ndra_profile_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.Ipv6NdraProfile
Returns: com.vmware.nsx_policy.model.Ipv6NdraProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all IPv6 NDRA profile instances
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.Ipv6NdraProfileListResult
Returns: com.vmware.nsx_policy.model.Ipv6NdraProfileListResult
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 (
-
patch
(ndra_profile_id, ipv6_ndra_profile, override=None)¶ If profile with the ndra-profile-id is not already present, create a new IPv6 NDRA profile instance. If it already exists, update the IPv6 NDRA profile instance with specified attributes.
Parameters: - ndra_profile_id (
str
) – (required) - ipv6_ndra_profile (
com.vmware.nsx_policy.model_client.Ipv6NdraProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- ndra_profile_id (
-
update
(ndra_profile_id, ipv6_ndra_profile, override=None)¶ If profile with the ndra-profile-id is not already present, create a new IPv6 NDRA profile instance. If it already exists, replace the IPv6 NDRA profile instance with this object.
Parameters: - ndra_profile_id (
str
) – (required) - ipv6_ndra_profile (
com.vmware.nsx_policy.model_client.Ipv6NdraProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.Ipv6NdraProfile
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- ndra_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
Labels
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(label_id)¶ Delete PolicyLabel object
Parameters: label_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
(label_id)¶ Read a label.
Parameters: label_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.PolicyLabel
Returns: com.vmware.nsx_policy.model.PolicyLabel 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all labels for infra.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.PolicyLabelListResult
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 (
-
patch
(label_id, policy_label)¶ Create label if not exists, otherwise take the partial updates. Note, once the label is created type attribute can not be changed.
Parameters: - label_id (
str
) – (required) - policy_label (
com.vmware.nsx_policy.model_client.PolicyLabel
) – (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- label_id (
-
update
(label_id, policy_label)¶ Create label if not exists, otherwise replaces the existing label. If label already exists then type attribute cannot be changed.
Parameters: - label_id (
str
) – (required) - policy_label (
com.vmware.nsx_policy.model_client.PolicyLabel
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.PolicyLabel
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- label_id (
-
-
class
com.vmware.nsx_policy.infra_client.
LbAppProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(lb_app_profile_id, force=None)¶ Delete the LBAppProfile along with all the entities contained by this LBAppProfile.
Parameters: - lb_app_profile_id (
str
) – LBAppProfile ID (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- lb_app_profile_id (
-
get
(lb_app_profile_id)¶ Read a LBAppProfile.
Parameters: lb_app_profile_id ( str
) – LBAppProfile ID (required)Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.LBAppProfile The return value will contain all the attributes defined in com.vmware.nsx_policy.model_client.LBAppProfile
.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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all LBAppProfiles.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.LBAppProfileListResult
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 (
-
patch
(lb_app_profile_id, lb_app_profile)¶ If a LBAppProfile with the lb-app-profile-id is not already present, create a new LBAppProfile. If it already exists, update the LBAppProfile. This is a full replace.
Parameters: - lb_app_profile_id (
str
) – LBAppProfile ID (required) - lb_app_profile (
vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_policy.model_client.LBAppProfile
.
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- lb_app_profile_id (
-
update
(lb_app_profile_id, lb_app_profile)¶ If a LBAppProfile with the lb-app-profile-id is not already present, create a new LBAppProfile. If it already exists, update the LBAppProfile. This is a full replace.
Parameters: - lb_app_profile_id (
str
) – LBAppProfile ID (required) - lb_app_profile (
vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_policy.model_client.LBAppProfile
.
Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.LBAppProfile The return value will contain all the attributes defined in
com.vmware.nsx_policy.model_client.LBAppProfile
.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- lb_app_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
LbClientSslProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(lb_client_ssl_profile_id, force=None)¶ Delete the LBClientSslProfile along with all the entities contained by this LBClientSslProfile.
Parameters: - lb_client_ssl_profile_id (
str
) – LBClientSslProfile ID (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- lb_client_ssl_profile_id (
-
get
(lb_client_ssl_profile_id)¶ Read a LBClientSslProfile.
Parameters: lb_client_ssl_profile_id ( str
) – LBClientSslProfile ID (required)Return type: com.vmware.nsx_policy.model_client.LBClientSslProfile
Returns: com.vmware.nsx_policy.model.LBClientSslProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all LBClientSslProfiles.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.LBClientSslProfileListResult
Returns: com.vmware.nsx_policy.model.LBClientSslProfileListResult
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 (
-
patch
(lb_client_ssl_profile_id, lb_client_ssl_profile)¶ If a LBClientSslProfile with the lb-client-ssl-profile-id is not already present, create a new LBClientSslProfile. If it already exists, update the LBClientSslProfile. This is a full replace.
Parameters: - lb_client_ssl_profile_id (
str
) – LBClientSslProfile ID (required) - lb_client_ssl_profile (
com.vmware.nsx_policy.model_client.LBClientSslProfile
) – (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- lb_client_ssl_profile_id (
-
update
(lb_client_ssl_profile_id, lb_client_ssl_profile)¶ If a LBClientSslProfile with the lb-client-ssl-profile-id is not already present, create a new LBClientSslProfile. If it already exists, update the LBClientSslProfile. This is a full replace.
Parameters: - lb_client_ssl_profile_id (
str
) – LBClientSslProfile ID (required) - lb_client_ssl_profile (
com.vmware.nsx_policy.model_client.LBClientSslProfile
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.LBClientSslProfile
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- lb_client_ssl_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
LbMonitorProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(lb_monitor_profile_id, force=None)¶ Delete the LBMonitorProfile along with all the entities contained by this LBMonitorProfile.
Parameters: - lb_monitor_profile_id (
str
) – LBMonitorProfile ID (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- lb_monitor_profile_id (
-
get
(lb_monitor_profile_id)¶ Read a LBMonitorProfile.
Parameters: lb_monitor_profile_id ( str
) – LBMonitorProfile ID (required)Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.LBMonitorProfile The return value will contain all the attributes defined in com.vmware.nsx_policy.model_client.LBMonitorProfile
.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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all LBMonitorProfiles for infra.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.LBMonitorProfileListResult
Returns: com.vmware.nsx_policy.model.LBMonitorProfileListResult
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 (
-
patch
(lb_monitor_profile_id, lb_monitor_profile)¶ If a LBMonitorProfile with the lb-monitor-profile-id is not already present, create a new LBMonitorProfile. If it already exists, update the LBMonitorProfile. This is a full replace.
Parameters: - lb_monitor_profile_id (
str
) – LBMonitorProfile ID (required) - lb_monitor_profile (
vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_policy.model_client.LBMonitorProfile
.
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- lb_monitor_profile_id (
-
update
(lb_monitor_profile_id, lb_monitor_profile)¶ If a LBMonitorProfile with the lb-monitor-profile-id is not already present, create a new LBMonitorProfile. If it already exists, update the LBMonitorProfile. This is a full replace.
Parameters: - lb_monitor_profile_id (
str
) – LBMonitorProfile ID (required) - lb_monitor_profile (
vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_policy.model_client.LBMonitorProfile
.
Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.LBMonitorProfile The return value will contain all the attributes defined in
com.vmware.nsx_policy.model_client.LBMonitorProfile
.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- lb_monitor_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
LbNodeUsage
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
(node_path)¶ Parameters: node_path ( str
) – The node path for load balancer node usage (required)Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.LBNodeUsage The return value will contain all the attributes defined in com.vmware.nsx_policy.model_client.LBNodeUsage
.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_policy.infra_client.
LbNodeUsageSummary
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
(enforcement_point_path=None, include_usages=None)¶ Parameters: - enforcement_point_path (
str
orNone
) – enforcement point path (optional) - include_usages (
bool
orNone
) – Whether to include usages (optional)
Return type: com.vmware.nsx_policy.model_client.AggregateLBNodeUsageSummary
Returns: com.vmware.nsx_policy.model.AggregateLBNodeUsageSummary
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- enforcement_point_path (
-
-
class
com.vmware.nsx_policy.infra_client.
LbPersistenceProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(lb_persistence_profile_id, force=None)¶ Delete the LBPersistenceProfile along with all the entities contained by this LBPersistenceProfile.
Parameters: - lb_persistence_profile_id (
str
) – LBPersistenceProfile ID (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- lb_persistence_profile_id (
-
get
(lb_persistence_profile_id)¶ Read a LBPersistenceProfile.
Parameters: lb_persistence_profile_id ( str
) – LBPersistenceProfile ID (required)Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.LBPersistenceProfile The return value will contain all the attributes defined in com.vmware.nsx_policy.model_client.LBPersistenceProfile
.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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all LBPersistenceProfiles for infra.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.LBPersistenceProfileListResult
Returns: com.vmware.nsx_policy.model.LBPersistenceProfileListResult
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 (
-
patch
(lb_persistence_profile_id, lb_persistence_profile)¶ If a LBPersistenceProfile with the lb-persistence-profile-id is not already present, create a new LBPersistenceProfile. If it already exists, update the LBPersistenceProfile. This is a full replace.
Parameters: - lb_persistence_profile_id (
str
) – LBPersistenceProfile ID (required) - lb_persistence_profile (
vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_policy.model_client.LBPersistenceProfile
.
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- lb_persistence_profile_id (
-
update
(lb_persistence_profile_id, lb_persistence_profile)¶ If a LBPersistenceProfile with the lb-persistence-profile-id is not already present, create a new LBPersistenceProfile. If it already exists, update the LBPersistenceProfile. This is a full replace.
Parameters: - lb_persistence_profile_id (
str
) – LBPersistenceProfile ID (required) - lb_persistence_profile (
vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_policy.model_client.LBPersistenceProfile
.
Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.LBPersistenceProfile The return value will contain all the attributes defined in
com.vmware.nsx_policy.model_client.LBPersistenceProfile
.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- lb_persistence_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
LbPools
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(lb_pool_id, force=None)¶ Delete the LBPool along with all the entities contained by this LBPool.
Parameters: - lb_pool_id (
str
) – LBPool ID (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- lb_pool_id (
-
get
(lb_pool_id)¶ Read a LBPool.
Parameters: lb_pool_id ( str
) – LBPool ID (required)Return type: com.vmware.nsx_policy.model_client.LBPool
Returns: com.vmware.nsx_policy.model.LBPool 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all LBPools.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.LBPoolListResult
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 (
-
patch
(lb_pool_id, lb_pool)¶ If a LBPool with the lb-pool-id is not already present, create a new LBPool. If it already exists, update the LBPool. This is a full replace.
Parameters: - lb_pool_id (
str
) – LBPool ID (required) - lb_pool (
com.vmware.nsx_policy.model_client.LBPool
) – (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- lb_pool_id (
-
update
(lb_pool_id, lb_pool)¶ If a LBPool with the lb-pool-id is not already present, create a new LBPool. If it already exists, update the LBPool. This is a full replace.
Parameters: - lb_pool_id (
str
) – LBPool ID (required) - lb_pool (
com.vmware.nsx_policy.model_client.LBPool
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.LBPool
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- lb_pool_id (
-
-
class
com.vmware.nsx_policy.infra_client.
LbServerSslProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(lb_server_ssl_profile_id, force=None)¶ Delete the LBServerSslProfile along with all the entities contained by this LBServerSslProfile.
Parameters: - lb_server_ssl_profile_id (
str
) – LBServerSslProfile ID (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- lb_server_ssl_profile_id (
-
get
(lb_server_ssl_profile_id)¶ Read a LBServerSslProfile.
Parameters: lb_server_ssl_profile_id ( str
) – LBServerSslProfile ID (required)Return type: com.vmware.nsx_policy.model_client.LBServerSslProfile
Returns: com.vmware.nsx_policy.model.LBServerSslProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all LBServerSslProfiles.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.LBServerSslProfileListResult
Returns: com.vmware.nsx_policy.model.LBServerSslProfileListResult
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 (
-
patch
(lb_server_ssl_profile_id, lb_server_ssl_profile)¶ If a LBServerSslProfile with the lb-server-ssl-profile-id is not already present, create a new LBServerSslProfile. If it already exists, update the LBServerSslProfile. This is a full replace.
Parameters: - lb_server_ssl_profile_id (
str
) – LBServerSslProfile ID (required) - lb_server_ssl_profile (
com.vmware.nsx_policy.model_client.LBServerSslProfile
) – (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- lb_server_ssl_profile_id (
-
update
(lb_server_ssl_profile_id, lb_server_ssl_profile)¶ If a LBServerSslProfile with the lb-server-ssl-profile-id is not already present, create a new LBServerSslProfile. If it already exists, update the LBServerSslProfile. This is a full replace.
Parameters: - lb_server_ssl_profile_id (
str
) – LBServerSslProfile ID (required) - lb_server_ssl_profile (
com.vmware.nsx_policy.model_client.LBServerSslProfile
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.LBServerSslProfile
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- lb_server_ssl_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
LbServiceUsageSummary
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
(include_usages=None)¶ API is used to retrieve the load balancer usage summary for all load balancer services. If the parameter ?include_usages=true exists, the property service-usages is included in the response. By default, service-usages is not included in the response.
Parameters: include_usages ( bool
orNone
) – Whether to include usages (optional)Return type: com.vmware.nsx_policy.model_client.LBServiceUsageSummary
Returns: com.vmware.nsx_policy.model.LBServiceUsageSummary 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_policy.infra_client.
LbServices
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(lb_service_id, force=None)¶ Delete the LBService along with all the entities contained by this LBService.
Parameters: - lb_service_id (
str
) – LBService ID (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- lb_service_id (
-
get
(lb_service_id)¶ Read an LBService.
Parameters: lb_service_id ( str
) – LBService ID (required)Return type: com.vmware.nsx_policy.model_client.LBService
Returns: com.vmware.nsx_policy.model.LBService 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all LBService.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.LBServiceListResult
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 (
-
patch
(lb_service_id, lb_service)¶ If a LBService with the lb-service-id is not already present, create a new LBService. If it already exists, update the LBService. This is a full replace.
Parameters: - lb_service_id (
str
) – LBService ID (required) - lb_service (
com.vmware.nsx_policy.model_client.LBService
) – (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- lb_service_id (
-
update
(lb_service_id, lb_service)¶ If a LBService with the lb-service-id is not already present, create a new LBService. If it already exists, update the LBService. This is a full replace.
Parameters: - lb_service_id (
str
) – LBService ID (required) - lb_service (
com.vmware.nsx_policy.model_client.LBService
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.LBService
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- lb_service_id (
-
-
class
com.vmware.nsx_policy.infra_client.
LbSslCiphersAndProtocols
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(cursor=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Retrieve a list of supported SSL ciphers and protocols.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.LbSslCipherAndProtocolListResult
Returns: com.vmware.nsx_policy.model.LbSslCipherAndProtocolListResult
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 (
-
-
class
com.vmware.nsx_policy.infra_client.
LbVirtualServers
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(lb_virtual_server_id, force=None)¶ Delete the LBVirtualServer along with all the entities contained by this LBVirtualServer.
Parameters: - lb_virtual_server_id (
str
) – LBVirtualServer ID (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- lb_virtual_server_id (
-
get
(lb_virtual_server_id)¶ Read a LBVirtualServer.
Parameters: lb_virtual_server_id ( str
) – LBVirtualServer ID (required)Return type: com.vmware.nsx_policy.model_client.LBVirtualServer
Returns: com.vmware.nsx_policy.model.LBVirtualServer 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all LBVirtualServers.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.LBVirtualServerListResult
Returns: com.vmware.nsx_policy.model.LBVirtualServerListResult
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 (
-
patch
(lb_virtual_server_id, lb_virtual_server)¶ If a LBVirtualServer with the lb-virtual-server-id is not already present, create a new LBVirtualServer. If it already exists, update the LBVirtualServer. This is a full replace.
Parameters: - lb_virtual_server_id (
str
) – LBVirtualServer ID (required) - lb_virtual_server (
com.vmware.nsx_policy.model_client.LBVirtualServer
) – (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- lb_virtual_server_id (
-
update
(lb_virtual_server_id, lb_virtual_server)¶ If a LBVirtualServer with the lb-virtual-server-id is not already present, create a new LBVirtualServer. If it already exists, update the LBVirtualServer. This is a full replace.
Parameters: - lb_virtual_server_id (
str
) – LBVirtualServer ID (required) - lb_virtual_server (
com.vmware.nsx_policy.model_client.LBVirtualServer
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.LBVirtualServer
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- lb_virtual_server_id (
-
-
class
com.vmware.nsx_policy.infra_client.
MacDiscoveryProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(mac_discovery_profile_id, override=None)¶ API will delete Mac Discovery profile.
Parameters: - mac_discovery_profile_id (
str
) – Mac Discovery Profile ID (required) - override (
bool
orNone
) – Locally override the global object (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- mac_discovery_profile_id (
-
get
(mac_discovery_profile_id)¶ API will get Mac Discovery profile.
Parameters: mac_discovery_profile_id ( str
) – Mac Discovery Profile ID (required)Return type: com.vmware.nsx_policy.model_client.MacDiscoveryProfile
Returns: com.vmware.nsx_policy.model.MacDiscoveryProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API will list all Mac Discovery Profiles active in current discovery profile id.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.MacDiscoveryProfileListResult
Returns: com.vmware.nsx_policy.model.MacDiscoveryProfileListResult
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 (
-
patch
(mac_discovery_profile_id, mac_discovery_profile, override=None)¶ API will create Mac Discovery profile.
Parameters: - mac_discovery_profile_id (
str
) – Mac Discovery Profile ID (required) - mac_discovery_profile (
com.vmware.nsx_policy.model_client.MacDiscoveryProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- mac_discovery_profile_id (
-
update
(mac_discovery_profile_id, mac_discovery_profile, override=None)¶ API will update Mac Discovery profile.
Parameters: - mac_discovery_profile_id (
str
) – Mac Discovery Profile ID (required) - mac_discovery_profile (
com.vmware.nsx_policy.model_client.MacDiscoveryProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.MacDiscoveryProfile
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- mac_discovery_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
MetadataProxies
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(metadata_proxy_id)¶ API will delete Metadata Proxy Config with ID profile-id
Parameters: metadata_proxy_id ( str
) – Metadata Proxy ID (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
(metadata_proxy_id)¶ API will read Metadata Proxy Config with ID profile-id
Parameters: metadata_proxy_id ( str
) – Metadata Proxy ID (required)Return type: com.vmware.nsx_policy.model_client.MetadataProxyConfig
Returns: com.vmware.nsx_policy.model.MetadataProxyConfig 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List all L2 Metadata Proxy Configurations
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.MetadataProxyConfigListResult
Returns: com.vmware.nsx_policy.model.MetadataProxyConfigListResult
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 (
-
patch
(metadata_proxy_id, metadata_proxy_config)¶ API will create or update Metadata Proxy Config with ID profile-id
Parameters: - metadata_proxy_id (
str
) – Metadata Proxy ID (required) - metadata_proxy_config (
com.vmware.nsx_policy.model_client.MetadataProxyConfig
) – (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- metadata_proxy_id (
-
update
(metadata_proxy_id, metadata_proxy_config)¶ API will create or update Metadata Proxy Config with ID profile-id
Parameters: - metadata_proxy_id (
str
) – Metadata Proxy ID (required) - metadata_proxy_config (
com.vmware.nsx_policy.model_client.MetadataProxyConfig
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.MetadataProxyConfig
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- metadata_proxy_id (
-
-
class
com.vmware.nsx_policy.infra_client.
OverriddenResources
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(intent_path=None, site_path=None)¶ List overridden resources
Parameters: - intent_path (
str
orNone
) – Global resource path (optional) - site_path (
str
orNone
) – Site path (optional)
Return type: com.vmware.nsx_policy.model_client.OverriddenResourceListResult
Returns: com.vmware.nsx_policy.model.OverriddenResourceListResult
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- intent_path (
-
-
class
com.vmware.nsx_policy.infra_client.
PartnerServices
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
(service_name)¶ Read the specific partner service identified by provided name.
Parameters: service_name ( str
) – Name of the service (required)Return type: com.vmware.nsx_policy.model_client.ServiceDefinition
Returns: com.vmware.nsx_policy.model.ServiceDefinition 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Read all the partner services available for service insertion
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.ServiceInsertionServiceListResult
Returns: com.vmware.nsx_policy.model.ServiceInsertionServiceListResult
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 (
-
-
class
com.vmware.nsx_policy.infra_client.
PimProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(pim_profile_id)¶ Delete Pim Profile.
Parameters: pim_profile_id ( str
) – pim profile id (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
(pim_profile_id)¶ Read Pim Profile.
Parameters: pim_profile_id ( str
) – pim profile id (required)Return type: com.vmware.nsx_policy.model_client.PolicyPimProfile
Returns: com.vmware.nsx_policy.model.PolicyPimProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List all pim profile.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyPimProfileListResult
Returns: com.vmware.nsx_policy.model.PolicyPimProfileListResult
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 (
-
patch
(pim_profile_id, policy_pim_profile)¶ Create a pim profile with the pim-profile-id is not already present, otherwise update the pim profile.
Parameters: - pim_profile_id (
str
) – pim profile id (required) - policy_pim_profile (
com.vmware.nsx_policy.model_client.PolicyPimProfile
) – (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- pim_profile_id (
-
update
(pim_profile_id, policy_pim_profile)¶ Create or update pim profile.
Parameters: - pim_profile_id (
str
) – pim profile id (required) - policy_pim_profile (
com.vmware.nsx_policy.model_client.PolicyPimProfile
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.PolicyPimProfile
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- pim_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
PortMirroringProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(port_mirroring_profile_id, override=None)¶ API will delete port mirroring profile. Mirroring from source to destination ports will be stopped.
Parameters: - port_mirroring_profile_id (
str
) – Port Mirroring Profile Id (required) - override (
bool
orNone
) – Locally override the global object (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- port_mirroring_profile_id (
-
get
(port_mirroring_profile_id)¶ API will return details of port mirroring profile.
Parameters: port_mirroring_profile_id ( str
) – Port Mirroring Profile Id (required)Return type: com.vmware.nsx_policy.model_client.PortMirroringProfile
Returns: com.vmware.nsx_policy.model.PortMirroringProfile 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)¶ API will list all port mirroring profiles group.
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: com.vmware.nsx_policy.model_client.PortMirroringProfileListResult
Returns: com.vmware.nsx_policy.model.PortMirroringProfileListResult
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 (
-
patch
(port_mirroring_profile_id, port_mirroring_profile, override=None)¶ Create a new Port Mirroring Profile if the Port Mirroring Profile with given id does not already exist. If the Port Mirroring Profile with the given id already exists, patch with the existing Port Mirroring Profile. Realized entities of this API can be found using the path of monitoring profile binding map that is used to apply this profile.
Parameters: - port_mirroring_profile_id (
str
) – Port Mirroring Profile Id (required) - port_mirroring_profile (
com.vmware.nsx_policy.model_client.PortMirroringProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- port_mirroring_profile_id (
-
update
(port_mirroring_profile_id, port_mirroring_profile, override=None)¶ Create or Replace port mirroring profile. Packets will be mirrored from source group, segment, port to destination group. Realized entities of this API can be found using the path of monitoring profile binding map that is used to apply this profile.
Parameters: - port_mirroring_profile_id (
str
) – Port Mirroring Profiles Id (required) - port_mirroring_profile (
com.vmware.nsx_policy.model_client.PortMirroringProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.PortMirroringProfile
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- port_mirroring_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
QosProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(qos_profile_id, override=None)¶ API will delete QoS profile.
Parameters: - qos_profile_id (
str
) – QoS profile Id (required) - override (
bool
orNone
) – Locally override the global object (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- qos_profile_id (
-
get
(qos_profile_id)¶ API will return details of QoS profile.
Parameters: qos_profile_id ( str
) – QoS profile Id (required)Return type: com.vmware.nsx_policy.model_client.QosProfile
Returns: com.vmware.nsx_policy.model.QoSProfile 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)¶ API will list all QoS profiles.
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_policy.model.QoSProfileListResult
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 (
-
patch
(qos_profile_id, qos_profile, override=None)¶ Create a new QoS profile if the QoS profile with given id does not already exist. If the QoS profile with the given id already exists, patch with the existing QoS profile.
Parameters: - qos_profile_id (
str
) – QoS profile Id (required) - qos_profile (
com.vmware.nsx_policy.model_client.QosProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- qos_profile_id (
-
update
(qos_profile_id, qos_profile, override=None)¶ Create or Replace QoS profile.
Parameters: - qos_profile_id (
str
) – QoS profile Id (required) - qos_profile (
com.vmware.nsx_policy.model_client.QosProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.QoSProfile
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- qos_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
Reactions
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(reaction_id)¶ Delete a Reaction under Infra.
Parameters: reaction_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
(reaction_id)¶ Get Reaction under Infra.
Parameters: reaction_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.Reaction
Returns: com.vmware.nsx_policy.model.Reaction 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get paginated list of all Reactions under Infra.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.ReactionListResult
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 (
-
patch
(reaction_id, reaction)¶ Create or patch a Reaction under Infra.
Parameters: - reaction_id (
str
) – (required) - reaction (
com.vmware.nsx_policy.model_client.Reaction
) – (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- reaction_id (
-
update
(reaction_id, reaction)¶ Create or fully replace a Reaction under Infra. Revision is optional for creation and required for update.
Parameters: - reaction_id (
str
) – (required) - reaction (
com.vmware.nsx_policy.model_client.Reaction
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.Reaction
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- reaction_id (
-
-
class
com.vmware.nsx_policy.infra_client.
SegmentSecurityProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(segment_security_profile_id, override=None)¶ API will delete segment security profile with the given id.
Parameters: - segment_security_profile_id (
str
) – Segment security profile id (required) - override (
bool
orNone
) – Locally override the global object (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- segment_security_profile_id (
-
get
(segment_security_profile_id)¶ API will return details of the segment security profile with given id. If the profile does not exist, it will return 404.
Parameters: segment_security_profile_id ( str
) – Segment security profile id (required)Return type: com.vmware.nsx_policy.model_client.SegmentSecurityProfile
Returns: com.vmware.nsx_policy.model.SegmentSecurityProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API will list all segment security profiles.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.SegmentSecurityProfileListResult
Returns: com.vmware.nsx_policy.model.SegmentSecurityProfileListResult
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 (
-
patch
(segment_security_profile_id, segment_security_profile, override=None)¶ Create a new segment security profile if the segment security profile with given id does not exist. Otherwise, PATCH the existing segment security profile
Parameters: - segment_security_profile_id (
str
) – Segment security profile id (required) - segment_security_profile (
com.vmware.nsx_policy.model_client.SegmentSecurityProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- segment_security_profile_id (
-
update
(segment_security_profile_id, segment_security_profile, override=None)¶ Create or replace a segment security profile
Parameters: - segment_security_profile_id (
str
) – Segment security profile id (required) - segment_security_profile (
com.vmware.nsx_policy.model_client.SegmentSecurityProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.SegmentSecurityProfile
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- segment_security_profile_id (
-
-
class
com.vmware.nsx_policy.infra_client.
Segments
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(segment_id)¶ Delete infra segment
Parameters: segment_id ( str
) – Segment ID (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
-
delete_0
(segment_id)¶ Force delete bypasses validations during segment deletion. This may result in an inconsistent connectivity.
Parameters: segment_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
(segment_id)¶ Read infra segment
Parameters: segment_id ( str
) – Segment ID (required)Return type: com.vmware.nsx_policy.model_client.Segment
Returns: com.vmware.nsx_policy.model.Segment 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all segments under infra.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.SegmentListResult
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 (
-
patch
(segment_id, segment)¶ If segment with the segment-id is not already present, create a new segment. If it already exists, update the segment with specified attributes.
Parameters: - segment_id (
str
) – Segment ID (required) - segment (
com.vmware.nsx_policy.model_client.Segment
) – (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- segment_id (
-
patch_0
(segment_id, segment)¶ If segment with the segment-id is not already present, create a new segment. If it already exists, update the segment with specified attributes. Force parameter is required when workload connectivity is indirectly impacted with the current update.
Parameters: - segment_id (
str
) – Segment ID (required) - segment (
com.vmware.nsx_policy.model_client.Segment
) – (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- segment_id (
-
update
(segment_id, segment)¶ If segment with the segment-id is not already present, create a new segment. If it already exists, replace the segment with this object.
Parameters: - segment_id (
str
) – Segment ID (required) - segment (
com.vmware.nsx_policy.model_client.Segment
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.Segment
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- segment_id (
-
update_0
(segment_id, segment)¶ If segment with the segment-id is not already present, create a new segment. If it already exists, replace the segment with this object. Force parameter is required when workload connectivity is indirectly impacted with the current replacement.
Parameters: - segment_id (
str
) – Segment ID (required) - segment (
com.vmware.nsx_policy.model_client.Segment
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.Segment
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- segment_id (
-
-
class
com.vmware.nsx_policy.infra_client.
ServiceChains
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(service_chain_id)¶ This API can be user to delete service chain with given service-chain-id.
Parameters: service_chain_id ( str
) – Id of Service chain (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
(service_chain_id)¶ This API can be used to read service chain with given service-chain-id.
Parameters: service_chain_id ( str
) – Id of Service chain (required)Return type: com.vmware.nsx_policy.model_client.PolicyServiceChain
Returns: com.vmware.nsx_policy.model.PolicyServiceChain 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List all the service chains available for service insertion
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyServiceChainListResult
Returns: com.vmware.nsx_policy.model.PolicyServiceChainListResult
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 (
-
patch
(service_chain_id, policy_service_chain)¶ Create Service chain representing the sequence in which 3rd party services must be consumed.
Parameters: - service_chain_id (
str
) – Service chain id (required) - policy_service_chain (
com.vmware.nsx_policy.model_client.PolicyServiceChain
) – (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- service_chain_id (
-
update
(service_chain_id, policy_service_chain)¶ Create or update Service chain representing the sequence in which 3rd party services must be consumed.
Parameters: - service_chain_id (
str
) – Service chain id (required) - policy_service_chain (
com.vmware.nsx_policy.model_client.PolicyServiceChain
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.PolicyServiceChain
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- service_chain_id (
-
-
class
com.vmware.nsx_policy.infra_client.
ServiceReferences
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(service_reference_id, cascade=None)¶ This API can be used to delete a service reference with the given service-reference-id.
Parameters: - service_reference_id (
str
) – Id of Service Reference (required) - cascade (
bool
orNone
) – Flag to cascade delete all children associated with service reference (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- service_reference_id (
-
get
(service_reference_id)¶ This API can be used to read service reference with the given service-reference-id.
Parameters: service_reference_id ( str
) – Id of Service Reference (required)Return type: com.vmware.nsx_policy.model_client.ServiceReference
Returns: com.vmware.nsx_policy.model.ServiceReference 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List all the partner service references available for service insertion
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.ServiceReferenceListResult
Returns: com.vmware.nsx_policy.model.ServiceReferenceListResult
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 (
-
patch
(service_reference_id, service_reference)¶ Create Service Reference representing the intent to consume a given 3rd party service.
Parameters: - service_reference_id (
str
) – Service reference id (required) - service_reference (
com.vmware.nsx_policy.model_client.ServiceReference
) – (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- service_reference_id (
-
update
(service_reference_id, service_reference)¶ Create Service Reference representing the intent to consume a given 3rd party service.
Parameters: - service_reference_id (
str
) – Service reference id (required) - service_reference (
com.vmware.nsx_policy.model_client.ServiceReference
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.ServiceReference
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- service_reference_id (
-
-
class
com.vmware.nsx_policy.infra_client.
Services
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(service_id)¶ Delete Service
Parameters: service_id ( str
) – Service ID (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
(service_id)¶ Read a service
Parameters: service_id ( str
) – Service ID (required)Return type: com.vmware.nsx_policy.model_client.Service
Returns: com.vmware.nsx_policy.model.Service 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, default_service=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of Services for infra.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - default_service (
bool
orNone
) – Fetch all default services (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.ServiceListResult
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 (
-
patch
(service_id, service)¶ Create a new service if a service with the given ID does not already exist. Creates new service entries if populated in the service. If a service with the given ID already exists, patch the service including the nested service entries.
Parameters: - service_id (
str
) – Service ID (required) - service (
com.vmware.nsx_policy.model_client.Service
) – (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- service_id (
-
update
(service_id, service)¶ Create a new service if a service with the given ID does not already exist. Creates new service entries if populated in the service. If a service with the given ID already exists, update the service including the nested service entries. This is a full replace.
Parameters: - service_id (
str
) – Service ID (required) - service (
com.vmware.nsx_policy.model_client.Service
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.Service
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- service_id (
-
-
class
com.vmware.nsx_policy.infra_client.
Sites
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(site_id, force=None)¶ Delete a site under Infra.
Parameters: - site_id (
str
) – (required) - force (
bool
orNone
) – (optional)
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- site_id (
-
get
(site_id)¶ Read a site under Infra.
Parameters: site_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.Site
Returns: com.vmware.nsx_policy.model.Site 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List Sites under Infra.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.SiteListResult
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 (
-
patch
(site_id, site)¶ Create or patch Site under Infra.
Parameters: - site_id (
str
) – (required) - site (
com.vmware.nsx_policy.model_client.Site
) – (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- site_id (
-
update
(site_id, site)¶ Create or fully replace a Site under Infra. Revision is optional for creation and required for update.
Parameters: - site_id (
str
) – (required) - site (
com.vmware.nsx_policy.model_client.Site
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.Site
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- site_id (
-
-
class
com.vmware.nsx_policy.infra_client.
Span
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
(intent_path, site_path=None)¶ Get span for an entity with specified path.
Parameters: - intent_path (
str
) – String Path of the intent object (required) - site_path (
str
orNone
) – Policy Path of the site (optional)
Return type: Returns: com.vmware.nsx_policy.model.Span
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- intent_path (
-
-
class
com.vmware.nsx_policy.infra_client.
SpoofguardProfiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(spoofguard_profile_id, override=None)¶ API will delete SpoofGuard profile with the given id.
Parameters: - spoofguard_profile_id (
str
) – SpoofGuard profile id (required) - override (
bool
orNone
) – Locally override the global object (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- spoofguard_profile_id (
-
get
(spoofguard_profile_id)¶ API will return details of the SpoofGuard profile with given id. If the profile does not exist, it will return 404.
Parameters: spoofguard_profile_id ( str
) – SpoofGuard profile id (required)Return type: com.vmware.nsx_policy.model_client.SpoofGuardProfile
Returns: com.vmware.nsx_policy.model.SpoofGuardProfile 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API will list all SpoofGuard profiles.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.SpoofGuardProfileListResult
Returns: com.vmware.nsx_policy.model.SpoofGuardProfileListResult
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 (
-
patch
(spoofguard_profile_id, spoof_guard_profile, override=None)¶ Create a new SpoofGuard profile if the SpoofGuard profile with the given id does not exist. Otherwise, patch with the existing SpoofGuard profile.
Parameters: - spoofguard_profile_id (
str
) – SpoofGuard profile id (required) - spoof_guard_profile (
com.vmware.nsx_policy.model_client.SpoofGuardProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (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- spoofguard_profile_id (
-
update
(spoofguard_profile_id, spoof_guard_profile, override=None)¶ API will create or replace SpoofGuard profile.
Parameters: - spoofguard_profile_id (
str
) – SpoofGuard profile id (required) - spoof_guard_profile (
com.vmware.nsx_policy.model_client.SpoofGuardProfile
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.SpoofGuardProfile
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- spoofguard_profile_id (
-
-
class
com.vmware.nsx_policy.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_policy.infra_client.
Tags
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
LIST_SOURCE_AMAZON
= 'Amazon'¶ Possible value for
source
of methodTags.list()
.
-
LIST_SOURCE_ANY
= 'ANY'¶ Possible value for
source
of methodTags.list()
.
-
LIST_SOURCE_AZURE
= 'Azure'¶ Possible value for
source
of methodTags.list()
.
-
LIST_SOURCE_NSX
= 'NSX'¶ Possible value for
source
of methodTags.list()
.
-
list
(cursor=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, scope=None, sort_ascending=None, sort_by=None, source=None, tag=None)¶ Returns paginated list of all unique tags. Supports filtering by scope, tag and source from which tags are synched. Supports starts with, equals and contains operators on scope and tag values. To filter tags by starts with on scope or tag, use ‘*’ as prefix before the value. To filter tags by ends with on scope or tag, use ‘*’ as suffix after the value. To filter tags by contain on scope or tag, use ‘*’ as prefix and suffix on the value. Below special characters in the filter value needs to be escaped with hex values. - Character ‘&’ needs to be escaped as ‘%26’ - Character ‘[‘ needs to be escaped as ‘%5B’ - Character ‘]’ needs to be escaped as ‘%5D’ - Character ‘+’ needs to be escaped as ‘%2B’ - Character ‘#’ needs to be escaped as ‘%23’
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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) - scope (
str
orNone
) – Tag scope (optional) - sort_ascending (
bool
orNone
) – (optional) - sort_by (
str
orNone
) – Field by which records are sorted (optional) - source (
str
orNone
) – Source from which tags are synced. (optional) - tag (
str
orNone
) – Tag value (optional)
Return type: Returns: com.vmware.nsx_policy.model.TagInfoListResult
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 (
-
-
class
com.vmware.nsx_policy.infra_client.
Tier0s
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(tier0_id)¶ Delete Tier-0
Parameters: tier0_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
(tier0_id)¶ Read Tier-0
Parameters: tier0_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.Tier0
Returns: com.vmware.nsx_policy.model.Tier0 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all Tier-0s
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.Tier0ListResult
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 (
-
patch
(tier0_id, tier0)¶ If a Tier-0 with the tier-0-id is not already present, create a new Tier-0. If it already exists, update the Tier-0 for specified attributes.
Parameters: - tier0_id (
str
) – (required) - tier0 (
com.vmware.nsx_policy.model_client.Tier0
) – (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- tier0_id (
-
reprocess
(tier0_id, enforcement_point_path=None)¶ Reprocess Tier0 gateway configuration and configuration of related entities like Tier0 interfaces and static routes, etc. Any missing Updates are published to NSX controller.
Parameters: - tier0_id (
str
) – (required) - enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional)
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- tier0_id (
-
update
(tier0_id, tier0)¶ If a Tier-0 with the tier-0-id is not already present, create a new Tier-0. If it already exists, replace the Tier-0 instance with the new object.
Parameters: - tier0_id (
str
) – (required) - tier0 (
com.vmware.nsx_policy.model_client.Tier0
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.Tier0
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- tier0_id (
-
-
class
com.vmware.nsx_policy.infra_client.
Tier1s
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(tier1_id)¶ Delete Tier-1 configuration
Parameters: tier1_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
(tier1_id)¶ Read Tier-1 configuration
Parameters: tier1_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.Tier1
Returns: com.vmware.nsx_policy.model.Tier1 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all Tier-1 instances
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.Tier1ListResult
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 (
-
patch
(tier1_id, tier1)¶ If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance. If it already exists, update the tier-1 instance with specified attributes.
Parameters: - tier1_id (
str
) – (required) - tier1 (
com.vmware.nsx_policy.model_client.Tier1
) – (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- tier1_id (
-
reprocess
(tier1_id, enforcement_point_path=None)¶ Reprocess Tier1 gateway configuration and configuration of related entities like Tier1 interfaces and static routes, etc. Any missing Updates are published to NSX controller.
Parameters: - tier1_id (
str
) – (required) - enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional)
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- tier1_id (
-
update
(tier1_id, tier1)¶ If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance. If it already exists, replace the Tier-1 instance with this object.
Parameters: - tier1_id (
str
) – (required) - tier1 (
com.vmware.nsx_policy.model_client.Tier1
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.Tier1
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- tier1_id (
-
-
class
com.vmware.nsx_policy.infra_client.
Traceflows
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
create
(traceflow_id, action=None)¶ This will retrace even if current traceflow has observations. Current observations will be lost. Traceflow configuration will be cleaned up by the system after two hours of inactivity.
Parameters: - traceflow_id (
str
) – (required) - action (
str
orNone
) – Action to be performed (optional)
Return type: Returns: com.vmware.nsx_policy.model.TraceflowConfig
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- traceflow_id (
-
delete
(traceflow_id)¶ Delete traceflow config with id traceflow-id
Parameters: traceflow_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
(traceflow_id)¶ Read traceflow config with id traceflow-id. This configuration will be cleaned up by the system after two hours of inactivity.
Parameters: traceflow_id ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.TraceflowConfig
Returns: com.vmware.nsx_policy.model.TraceflowConfig 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all TraceflowConfig for infra.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.TraceflowConfigListResult
Returns: com.vmware.nsx_policy.model.TraceflowConfigListResult
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 (
-
patch
(traceflow_id, traceflow_config)¶ If a traceflow config with the traceflow-id is not already present, create a new traceflow config. If it already exists, update the traceflow config. This is a full replace. This configuration will be cleaned up by the system after two hours of inactivity.
Parameters: - traceflow_id (
str
) – (required) - traceflow_config (
com.vmware.nsx_policy.model_client.TraceflowConfig
) – (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- traceflow_id (
-
update
(traceflow_id, traceflow_config)¶ If a traceflow config with the traceflow-id is not already present, create a new traceflow config. If it already exists, update the traceflow config. This is a full replace. This configuration will be cleaned up by the system after two hours of inactivity.
Parameters: - traceflow_id (
str
) – (required) - traceflow_config (
com.vmware.nsx_policy.model_client.TraceflowConfig
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.TraceflowConfig
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- traceflow_id (
-
-
class
com.vmware.nsx_policy.infra_client.
UpgradeSummary
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(current_version=None, cursor=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ API will return high level summary of Upgrade across various sites.
Parameters: - current_version (
str
orNone
) – Filter on site current_version (optional) - 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: com.vmware.nsx_policy.model_client.FederationUpgradeSummaryListResult
Returns: com.vmware.nsx_policy.model.FederationUpgradeSummaryListResult
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- current_version (
-
-
class
com.vmware.nsx_policy.infra_client.
UrlCategories
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(cursor=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Gets the list of categories. This will provide all the supported categories along with their ids. Few examples of these categories are Shopping, Social Networks, Streaming sites, etc.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyUrlCategoryListResult
Returns: com.vmware.nsx_policy.model.PolicyUrlCategoryListResult
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 (
-
-
class
com.vmware.nsx_policy.infra_client.
UrlReputationSeverities
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(cursor=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Gets the list of reputation severities. This will provide all the supported severities along with their ids, min and max reputaitons. The min_reputation and max_reputation specify the range of the reputations which belong to a particular severity. For instance, any reputation between 1 to 20 belongs to the severity ‘High Risk’. Similary a reputation between 81 to 100 belong to the severity ‘Trustworthy’.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyUrlReputationSeverityListResult
Returns: com.vmware.nsx_policy.model.PolicyUrlReputationSeverityListResult
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 (
-
-
class
com.vmware.nsx_policy.infra_client.
VirtualMachineGroupAssociations
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(vm_external_id, cursor=None, enforcement_point_path=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get policy groups for which the given VM is a member.
Parameters: - vm_external_id (
str
) – Virtual machine external ID (required) - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyResourceReferenceForEPListResult
Returns: com.vmware.nsx_policy.model.PolicyResourceReferenceForEPListResult
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- vm_external_id (
-
-
class
com.vmware.nsx_policy.infra_client.
VirtualNetworkInterfaceGroupAssociations
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(vif_external_id, cursor=None, enforcement_point_path=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get policy groups for which the given VIF is a member.
Parameters: - vif_external_id (
str
) – Virtual network interface external ID (required) - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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: com.vmware.nsx_policy.model_client.PolicyResourceReferenceForEPListResult
Returns: com.vmware.nsx_policy.model.PolicyResourceReferenceForEPListResult
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- vif_external_id (
-
-
class
com.vmware.nsx_policy.infra_client.
VniPools
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(vni_pool_id)¶ Delete Vni Pool Configuration.
Parameters: vni_pool_id ( str
) – vni pool id (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
(vni_pool_id)¶ Read Vni Pool Configuration.
Parameters: vni_pool_id ( str
) – vni pool id (required)Return type: com.vmware.nsx_policy.model_client.VniPoolConfig
Returns: com.vmware.nsx_policy.model.VniPoolConfig 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, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List all Vni Pool configuration.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - 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_policy.model.VniPoolConfigListResult
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 (
-
patch
(vni_pool_id, vni_pool_config)¶ Create a Vni Pool config if it is not already present, otherwise update the Vni Pool configuration.
Parameters: - vni_pool_id (
str
) – vni pool id (required) - vni_pool_config (
com.vmware.nsx_policy.model_client.VniPoolConfig
) – (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- vni_pool_id (
-
update
(vni_pool_id, vni_pool_config)¶ Create or update VniPool configuration.
Parameters: - vni_pool_id (
str
) – vni pool id (required) - vni_pool_config (
com.vmware.nsx_policy.model_client.VniPoolConfig
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.VniPoolConfig
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- vni_pool_id (
-
com.vmware.nsx_policy.model_client module¶
-
class
com.vmware.nsx_policy.model_client.
ALGTypeServiceEntry
(alg=None, destination_ports=None, source_ports=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='ALGTypeServiceEntry', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
An ServiceEntry that represents an ALG protocol
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alg (
str
orNone
) –Possible values are:
ALGTypeServiceEntry.ALG_ORACLE_TNS
ALGTypeServiceEntry.ALG_FTP
ALGTypeServiceEntry.ALG_SUN_RPC_TCP
ALGTypeServiceEntry.ALG_SUN_RPC_UDP
ALGTypeServiceEntry.ALG_MS_RPC_TCP
ALGTypeServiceEntry.ALG_MS_RPC_UDP
ALGTypeServiceEntry.ALG_NBNS_BROADCAST
ALGTypeServiceEntry.ALG_NBDG_BROADCAST
ALGTypeServiceEntry.ALG_TFTP
The Application Layer Gateway (ALG) protocol. Please note, protocol NBNS_BROADCAST and NBDG_BROADCAST are deprecated. Please use UDP protocol and create L4 Port Set type of service instead.
- destination_ports (
list
ofstr
orNone
) – The destination_port cannot be empty and must be a single value. format: port-or-range - source_ports (
list
ofstr
orNone
) – - 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
) –Possible values are:
ServiceEntry.RESOURCE_TYPE_IPPROTOCOLSERVICEENTRY
ServiceEntry.RESOURCE_TYPE_IGMPTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ICMPTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ALGTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_L4PORTSETSERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ETHERTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_NESTEDSERVICESERVICEENTRY
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
ALG_FTP
= 'FTP'¶
-
ALG_MS_RPC_TCP
= 'MS_RPC_TCP'¶
-
ALG_MS_RPC_UDP
= 'MS_RPC_UDP'¶
-
ALG_NBDG_BROADCAST
= 'NBDG_BROADCAST'¶
-
ALG_NBNS_BROADCAST
= 'NBNS_BROADCAST'¶
-
ALG_ORACLE_TNS
= 'ORACLE_TNS'¶
-
ALG_SUN_RPC_TCP
= 'SUN_RPC_TCP'¶
-
ALG_SUN_RPC_UDP
= 'SUN_RPC_UDP'¶
-
ALG_TFTP
= 'TFTP'¶
-
resource_type
¶ Return the discriminator value
- alg (
-
class
com.vmware.nsx_policy.model_client.
AbstractSpace
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, connectivity_strategy=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents the space in which the policy is being defined.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - connectivity_strategy (
str
orNone
) –Possible values are:
AbstractSpace.CONNECTIVITY_STRATEGY_WHITELIST
AbstractSpace.CONNECTIVITY_STRATEGY_BLACKLIST
AbstractSpace.CONNECTIVITY_STRATEGY_WHITELIST_ENABLE_LOGGING
AbstractSpace.CONNECTIVITY_STRATEGY_BLACKLIST_ENABLE_LOGGING
AbstractSpace.CONNECTIVITY_STRATEGY_NONE
The connectivity strategy is deprecated. Use default layer3 rule, /infra/domains/default/security-policies/default-layer3-security-policy/rules/default-layer3-rule. This field indicates the default connectivity policy for the infra or tenant space WHITELIST - Adds a default drop rule. Administrator can then use “allow” rules (aka whitelist) to allow traffic between groups BLACKLIST - Adds a default allow rule. Admin can then use “drop” rules (aka blacklist) to block traffic between groups WHITELIST_ENABLE_LOGGING - Whitelising with logging enabled BLACKLIST_ENABLE_LOGGING - Blacklisting with logging enabled NONE - No default rules are added.
-
CONNECTIVITY_STRATEGY_BLACKLIST
= 'BLACKLIST'¶
-
CONNECTIVITY_STRATEGY_BLACKLIST_ENABLE_LOGGING
= 'BLACKLIST_ENABLE_LOGGING'¶
-
CONNECTIVITY_STRATEGY_NONE
= 'NONE'¶
-
CONNECTIVITY_STRATEGY_WHITELIST
= 'WHITELIST'¶
-
CONNECTIVITY_STRATEGY_WHITELIST_ENABLE_LOGGING
= 'WHITELIST_ENABLE_LOGGING'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
AcceptableComponentVersion
(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, acceptable_versions=None, component_type=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
) – 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 - acceptable_versions (
list
ofstr
orNone
) – List of component versions - component_type (
str
orNone
) –Possible values are:
AcceptableComponentVersion.COMPONENT_TYPE_HOST
AcceptableComponentVersion.COMPONENT_TYPE_EDGE
AcceptableComponentVersion.COMPONENT_TYPE_CCP
AcceptableComponentVersion.COMPONENT_TYPE_MP
Node type
-
COMPONENT_TYPE_CCP
= 'CCP'¶
-
COMPONENT_TYPE_EDGE
= 'EDGE'¶
-
COMPONENT_TYPE_HOST
= 'HOST'¶
-
COMPONENT_TYPE_MP
= 'MP'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
AcceptableComponentVersionList
(results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: results ( list
ofAcceptableComponentVersion
orNone
) – Acceptable version whitelist for different components
-
class
com.vmware.nsx_policy.model_client.
Action
(resource_type='Action')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Reaction Action is the action to take when the stipulated criteria specified in the event exist over the source. Some example actions include: - Notify Admin (or VMC’s SRE) via email. - Populate a specific label with the IPSec VPN Session. - Remove the IPSec VPN Session from a specific label.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: resource_type ( str
) –Possible values are:
Reaction Action resource type.-
RESOURCE_TYPE_PATCHRESOURCES
= 'PatchResources'¶
-
RESOURCE_TYPE_SETFIELDS
= 'SetFields'¶
-
resource_type
¶ Return the discriminator value
-
-
class
com.vmware.nsx_policy.model_client.
ActionableResource
(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, ip_address=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Resources managed during restore process
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 - ip_address (
str
orNone
) – A resource reference on which actions can be performed format: hostname-or-ip
- links (
-
class
com.vmware.nsx_policy.model_client.
ActionableResourceListResult
(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
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
ofActionableResource
orNone
) – List results
- links (
-
class
com.vmware.nsx_policy.model_client.
ActiveDirectoryIdentitySource
(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='ActiveDirectoryIdentitySource', tags=None, alternative_domain_names=None, base_dn=None, domain_name=None, ldap_servers=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
An identity source service that runs Microsoft Active Directory. The service allows selected user accounts defined in Active Directory to log into and access NSX-T.
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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - alternative_domain_names (
list
ofstr
orNone
) – After parsing the “user\@domain”, the domain portion is used to select the LDAP identity source to use. Additional domains listed here will also be directed to this LDAP identity source. In Active Directory these are sometimes referred to as Alternative UPN Suffixes. - base_dn (
str
orNone
) – The subtree of the LDAP identity source to search when locating users and groups. - domain_name (
str
orNone
) – The name of the authentication domain. When users log into NSX using an identity of the form “user\@domain”, NSX uses the domain portion to determine which LDAP identity source to use. - ldap_servers (
list
ofIdentitySourceLdapServer
orNone
) – The list of LDAP servers that provide LDAP service for this identity source. Currently, only one LDAP server is supported.
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
AdvanceClusterRestoreInput
(id=None, resources=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - id (
str
orNone
) – Unique id of an instruction (as returned by the GET /restore/status call) for which input is to be provided This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - resources (
list
ofSelectableResourceReference
orNone
) – List of resources for which the instruction is applicable.
- id (
-
class
com.vmware.nsx_policy.model_client.
AdvanceClusterRestoreRequest
(data=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: data ( list
ofAdvanceClusterRestoreInput
orNone
) – List of instructions and their associated data
-
class
com.vmware.nsx_policy.model_client.
AggregateDNSForwarderStatistics
(intent_path=None, statistics_per_enforcement_point=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Aggregate of DNS forwarder statistics across enforcement points.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - intent_path (
str
orNone
) – String path of the DNS forwarder intent. - statistics_per_enforcement_point (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – List of DNS forwarder statistics per enforcement point. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inDNSForwarderStatisticsPerEnforcementPoint
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inDNSForwarderStatisticsPerEnforcementPoint
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- intent_path (
-
class
com.vmware.nsx_policy.model_client.
AggregateDNSForwarderStatus
(intent_path=None, status_per_enforcement_point=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Aggregate of DNS forwarder status across enforcement points.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - intent_path (
str
orNone
) – String path of the DNS forwarder intent. - status_per_enforcement_point (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – List of DNS forwarder status per enforcement point. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inDNSForwarderStatusPerEnforcementPoint
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inDNSForwarderStatusPerEnforcementPoint
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- intent_path (
-
class
com.vmware.nsx_policy.model_client.
AggregateIPSecVpnSessionStatistics
(intent_path=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Aggregate of IPSec VPN Session Statistics across Enforcement Points.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - intent_path (
str
orNone
) – Intent path of object, forward slashes must be escaped using %2F. 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
) – List of IPSec VPN Session Statistics per Enforcement Point. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inIPSecVpnSessionStatisticsPerEP
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inIPSecVpnSessionStatisticsPerEP
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- intent_path (
-
class
com.vmware.nsx_policy.model_client.
AggregateIPSecVpnSessionStatus
(intent_path=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Aggregate of IPSec VPN Session Status across Enforcement Points.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - intent_path (
str
orNone
) – Intent path of object, forward slashes must be escaped using %2F. 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
) – List of IPSec VPN Session Status per Enforcement Point. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inIPSecVpnSessionStatusPerEP
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inIPSecVpnSessionStatusPerEP
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- intent_path (
-
class
com.vmware.nsx_policy.model_client.
AggregateL2VPNSessionPeerConfig
(intent_path=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Aggregate of L2VPN Session peer config across Enforcement Points.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - intent_path (
str
orNone
) – Intent path of object, forward slashes must be escaped using %2F. 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
) – List of L2VPN Session peer config per Enforcement Point. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inL2VPNSessionPeerConfigPerEP
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inL2VPNSessionPeerConfigPerEP
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- intent_path (
-
class
com.vmware.nsx_policy.model_client.
AggregateL2VPNSessionStatistics
(intent_path=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Aggregate of L2VPN Session Statistics across Enforcement Points.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - intent_path (
str
orNone
) – Intent path of object, forward slashes must be escaped using %2F. 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
) – List of L2VPN Session Statistics per Enforcement Point. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inL2VPNSessionStatisticsPerEP
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inL2VPNSessionStatisticsPerEP
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- intent_path (
-
class
com.vmware.nsx_policy.model_client.
AggregateL2VPNSessionStatus
(intent_path=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Aggregate of L2VPN Session Status across Enforcement Points.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - intent_path (
str
orNone
) – Intent path of object, forward slashes must be escaped using %2F. 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
) – List of L2VPN Session Status per Enforcement Point. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inL2VPNSessionStatusPerEP
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inL2VPNSessionStatusPerEP
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- intent_path (
-
class
com.vmware.nsx_policy.model_client.
AggregateL2VpnPeerConfig
(l2vpn_path=None, l2vpn_peer_config_per_enforcement_point=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Aggregate of L2Vpn peer config across Enforcement Points.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - l2vpn_path (
str
orNone
) – Policy path referencing the L2Vpn. - l2vpn_peer_config_per_enforcement_point (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – List of L2Vpn peer config per Enforcement Point. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inL2VpnPeerConfigPerEnforcementPoint
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inL2VpnPeerConfigPerEnforcementPoint
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- l2vpn_path (
-
class
com.vmware.nsx_policy.model_client.
AggregateL2VpnSessionRemoteMac
(intent_path=None, l2vpn_session_remote_macs=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Aggregate of L2Vpn session remote mac across enforcement points.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - intent_path (
str
orNone
) – Intent path of object, forward slashes must be escaped using %2F. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - l2vpn_session_remote_macs (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – List of L2Vpn Session remote mac When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inL2VpnSessionRemoteMacPerEP
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inL2VpnSessionRemoteMacPerEP
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- intent_path (
-
class
com.vmware.nsx_policy.model_client.
AggregateL2VpnStatistics
(intent_path=None, l2vpn_statistics_per_enforcement_point=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Aggregate of L2Vpn Statistics across Enforcement Points.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - intent_path (
str
orNone
) – Intent path of object, forward slashes must be escaped using %2F. - l2vpn_statistics_per_enforcement_point (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – List of L2Vpn Statistics per Enforcement Point. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inL2VpnStatisticsPerEnforcementPoint
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inL2VpnStatisticsPerEnforcementPoint
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- intent_path (
-
class
com.vmware.nsx_policy.model_client.
AggregateL3VpnStatistics
(intent_path=None, l3vpn_statistics_per_enforcement_point=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Aggregate of L3Vpn Statistics across Enforcement Points.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - intent_path (
str
orNone
) – Intent path of object, forward slashes must be escaped using %2F. - l3vpn_statistics_per_enforcement_point (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – List of L3Vpn Statistics per Enforcement Point. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inL3VpnStatisticsPerEnforcementPoint
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inL3VpnStatisticsPerEnforcementPoint
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- intent_path (
-
class
com.vmware.nsx_policy.model_client.
AggregateLBNodeUsageSummary
(intent_path=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Aggregate of LBNodeUsageSummary across Enforcement Points.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - intent_path (
str
orNone
) – Intent path of object, forward slashes must be escaped using %2F. 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
ofLBNodeUsageSummary
orNone
) – LBNodeUsageSummary list results. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- intent_path (
-
class
com.vmware.nsx_policy.model_client.
AggregateLBPoolStatistics
(intent_path=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Paged Collection of LBPoolStatisticsPerEP
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - intent_path (
str
orNone
) – Intent path of object, forward slashes must be escaped using %2F. 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
) – LBPoolStatisticsPerEP list results. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inLBPoolStatisticsPerEP
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inLBPoolStatisticsPerEP
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- intent_path (
-
class
com.vmware.nsx_policy.model_client.
AggregateLBPoolStatus
(intent_path=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Paged Collection of LBPoolStatusPerEP
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - intent_path (
str
orNone
) – Intent path of object, forward slashes must be escaped using %2F. 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
) – LBPoolStatusPerEP list results. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inLBPoolStatusPerEP
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inLBPoolStatusPerEP
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- intent_path (
-
class
com.vmware.nsx_policy.model_client.
AggregateLBServiceStatistics
(intent_path=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Paged Collection of LBServiceStatisticsPerEP
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - intent_path (
str
orNone
) – Intent path of object, forward slashes must be escaped using %2F. 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
) – LBServiceStatisticsPerEP list results. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inLBServiceStatisticsPerEP
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inLBServiceStatisticsPerEP
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- intent_path (
-
class
com.vmware.nsx_policy.model_client.
AggregateLBServiceStatus
(intent_path=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Paged Collection of LBServiceStatusPerEP
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - intent_path (
str
orNone
) – Intent path of object, forward slashes must be escaped using %2F. 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
) – LBServiceStatusPerEP list results. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inLBServiceStatusPerEP
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inLBServiceStatusPerEP
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- intent_path (
-
class
com.vmware.nsx_policy.model_client.
AggregateLBServiceUsage
(intent_path=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Aggregate of LBServiceUsagePerEP across Enforcement Points.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - intent_path (
str
orNone
) – Intent path of object, forward slashes must be escaped using %2F. 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
) – LBServiceUsagePerEP list results. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inLBServiceUsagePerEP
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inLBServiceUsagePerEP
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- intent_path (
-
class
com.vmware.nsx_policy.model_client.
AggregateLBVirtualServerStatistics
(intent_path=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Paged Collection of LBVirtualServerStatisticsPerEP
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - intent_path (
str
orNone
) – Intent path of object, forward slashes must be escaped using %2F. 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
) – LBVirtualServerStatisticsPerEP list results. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inLBVirtualServerStatisticsPerEP
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inLBVirtualServerStatisticsPerEP
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- intent_path (
-
class
com.vmware.nsx_policy.model_client.
AggregateLBVirtualServerStatus
(intent_path=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Paged Collection of LBVirtualServerStatusPerEP
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - intent_path (
str
orNone
) – Intent path of object, forward slashes must be escaped using %2F. 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
) – LBVirtualServerStatusPerEP list results. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inLBVirtualServerStatusPerEP
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inLBVirtualServerStatusPerEP
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- intent_path (
-
class
com.vmware.nsx_policy.model_client.
AggregatePolicyDnsAnswer
(dns_answer_per_enforcement_point=None, intent_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Aggregate of DNS forwarder nslookup answer across enforcement points.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dns_answer_per_enforcement_point (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – List of DNS forwarder nslookup answer per enforcement point. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inPolicyDnsAnswerPerEnforcementPoint
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inPolicyDnsAnswerPerEnforcementPoint
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - intent_path (
str
orNone
) – String path of the DNS forwarder intent.
- dns_answer_per_enforcement_point (
-
class
com.vmware.nsx_policy.model_client.
AggregatePolicyRuntimeInfo
(intent_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Aggregate of PolicyRuntimeInfoPerEP across Enforcement Points.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: intent_path ( str
orNone
) – Intent path of object, forward slashes must be escaped using %2F. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
class
com.vmware.nsx_policy.model_client.
AggregatedDataCounter
(rx_bytes=None, rx_packets=None, tx_bytes=None, tx_packets=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - rx_bytes (
DataCounter
orNone
) – - rx_packets (
DataCounter
orNone
) – - tx_bytes (
DataCounter
orNone
) – - tx_packets (
DataCounter
orNone
) –
- rx_bytes (
-
class
com.vmware.nsx_policy.model_client.
AggregatedDataCounterEx
(rx_bytes=None, rx_packets=None, tx_bytes=None, tx_packets=None, dropped_by_security_packets=None, mac_learning=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - rx_bytes (
DataCounter
orNone
) – - rx_packets (
DataCounter
orNone
) – - tx_bytes (
DataCounter
orNone
) – - tx_packets (
DataCounter
orNone
) – - dropped_by_security_packets (
PacketsDroppedBySecurity
orNone
) – - mac_learning (
MacLearningCounters
orNone
) –
- rx_bytes (
-
class
com.vmware.nsx_policy.model_client.
AggregatedLogicalRouterPortCounters
(last_update_timestamp=None, rx=None, tx=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - last_update_timestamp (
long
orNone
) – Timestamp when the data was last updated; unset if data source has never updated the data. format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - rx (
LogicalRouterPortCounters
orNone
) – - tx (
LogicalRouterPortCounters
orNone
) –
- last_update_timestamp (
-
class
com.vmware.nsx_policy.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_policy.model_client.
ApiRequestBody
(resource_pointer=None, resource_type='ApiRequestBody')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
API Request Body is an Event Source that represents an API request body that is being reveived as part of an API. Supported Request Bodies are those received as part of a PATCH/PUT/POST request.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - resource_pointer (
str
orNone
) – Regex path representing a regex expression on resources. This regex is used to identify the request body(ies) that is/are the source of the Event. For instance: specifying “Lb* | /infra/tier-0s/vmc/ipsec-vpn-services/default” as a source means that ANY resource starting with Lb or ANY resource with “/infra/tier-0s/vmc/ipsec-vpn-services/default” as path would be the source of the event in question. - resource_type (
str
) –Possible values are:
Event Source resource type.
-
resource_type
¶ Return the discriminator value
- resource_pointer (
-
class
com.vmware.nsx_policy.model_client.
Application
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, sites=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Application is a collection of Tiers where every tier shares common Security and networking requirements. Application API exposes self service model of consumption.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - sites (
list
ofstr
orNone
) – Path of the sites
- links (
-
class
com.vmware.nsx_policy.model_client.
ApplicationService
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, attributes=None, service_template_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Networking and Security policy for Application.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - attributes (
list
ofApplicationServiceAttribute
orNone
) – Property containing attributes for Policy Application Service. - service_template_id (
str
orNone
) – Application Service template id using which Application Service will be created. This will be available under the application service templates.
- links (
-
class
com.vmware.nsx_policy.model_client.
ApplicationServiceAttribute
(key_value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Policy Application Service data holder
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: key_value ( KeyValuePair
orNone
) – Key value pair that will be used while deploying application service template.
-
class
com.vmware.nsx_policy.model_client.
ApplicationTier
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, access_type=None, ip_range=None, size=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A ‘tier’ is a set of workloads that share common networking and security services. Tiers provide a specific function for an application and are thus a collection of compute with their associated services.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - access_type (
str
orNone
) –Possible values are:
ApplicationTier.ACCESS_TYPE_PUBLIC
ApplicationTier.ACCESS_TYPE_PRIVATE
ApplicationTier.ACCESS_TYPE_SHARED
There are three kinds of Access Types supported for an Application. Public - Tier is accessible from external networks and its IP is picked up from public IP addresses from VHC configuration unless specified explicitly by user. Private - Tier is accessbile only within the application and its IP is picked up from private IP addresses from VHC configuration unless specified explicitly by user. Shared - Tier is accessible within the scope of VHC and its IP is picked up from private IP addresses from VHC configuration unless specified explicitly by user.
- ip_range (
str
orNone
) – This represents the subnet that is associated with tier. If this is specified, size property is ignored. format: ip-cidr-block - size (
str
orNone
) –Possible values are:
ApplicationTier.SIZE_ONE
ApplicationTier.SIZE_XXS
ApplicationTier.SIZE_XS
ApplicationTier.SIZE_S
ApplicationTier.SIZE_M
ApplicationTier.SIZE_L
ApplicationTier.SIZE_XL
ApplicationTier.SIZE_XXL
ApplicationTier.SIZE_XXXL
ONE - 1 XXS - 8 XS - 16 S - 32 M - 64 L - 128 XL - 256 XXL - 512 XXXL - 1024
-
ACCESS_TYPE_PRIVATE
= 'Private'¶
-
ACCESS_TYPE_PUBLIC
= 'Public'¶
-
ACCESS_TYPE_SHARED
= 'Shared'¶
-
SIZE_L
= 'L'¶
-
SIZE_M
= 'M'¶
-
SIZE_ONE
= 'ONE'¶
-
SIZE_S
= 'S'¶
-
SIZE_XL
= 'XL'¶
-
SIZE_XS
= 'XS'¶
-
SIZE_XXL
= 'XXL'¶
-
SIZE_XXS
= 'XXS'¶
-
SIZE_XXXL
= 'XXXL'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
ArpHeader
(dst_ip=None, op_code=None, src_ip=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dst_ip (
str
orNone
) – The destination IP address format: ipv4 - op_code (
str
orNone
) –Possible values are:
This field specifies the nature of the Arp message being sent. - src_ip (
str
orNone
) – This field specifies the IP address of the sender. If omitted, the src_ip is set to 0.0.0.0. format: ipv4
-
OP_CODE_REPLY
= 'ARP_REPLY'¶
-
OP_CODE_REQUEST
= 'ARP_REQUEST'¶
- dst_ip (
-
class
com.vmware.nsx_policy.model_client.
ArpSnoopingConfig
(arp_binding_limit=None, arp_snooping_enabled=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Contains ARP snooping related configuration.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - arp_binding_limit (
long
orNone
) – Number of arp snooped IP addresses Indicates the number of arp snooped IP addresses to be remembered per LogicalPort. Decreasing this value, will retain the latest bindings from the existing list of address bindings. Increasing this value will retain existing bindings and also learn any new address bindings discovered on the port until the new limit is reached. format: int32 - arp_snooping_enabled (
bool
orNone
) – Indicates whether ARP snooping is enabled
- arp_binding_limit (
-
class
com.vmware.nsx_policy.model_client.
Attribute
(attribute_type=None, display_name=None, key=None, read_only=None, value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Attribute specific to a partner. There attributes are passed on to the partner appliance and is opaque to the NSX Manager. The Attributes used by the partner applicance.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - attribute_type (
str
orNone
) –Possible values are:
Attribute.ATTRIBUTE_TYPE_IP_ADDRESS
Attribute.ATTRIBUTE_TYPE_PORT
Attribute.ATTRIBUTE_TYPE_PASSWORD
Attribute.ATTRIBUTE_TYPE_STRING
Attribute.ATTRIBUTE_TYPE_LONG
Attribute.ATTRIBUTE_TYPE_BOOLEAN
Attribute Type can be of any of the allowed enum type. - display_name (
str
orNone
) – Attribute display name string value. - key (
str
orNone
) – Attribute key string value. - read_only (
bool
orNone
) – Read only Attribute cannot be overdidden by service instance/deployment. - value (
str
orNone
) – Attribute value string value.
-
ATTRIBUTE_TYPE_BOOLEAN
= 'BOOLEAN'¶
-
ATTRIBUTE_TYPE_IP_ADDRESS
= 'IP_ADDRESS'¶
-
ATTRIBUTE_TYPE_LONG
= 'LONG'¶
-
ATTRIBUTE_TYPE_PASSWORD
= 'PASSWORD'¶
-
ATTRIBUTE_TYPE_PORT
= 'PORT'¶
-
ATTRIBUTE_TYPE_STRING
= 'STRING'¶
- attribute_type (
-
class
com.vmware.nsx_policy.model_client.
AttributeVal
(data_type=None, key=None, multivalue=None, values=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Contains type specific properties of generic realized entity
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - data_type (
str
orNone
) –Possible values are:
AttributeVal.DATA_TYPE_STRING
AttributeVal.DATA_TYPE_DATE
AttributeVal.DATA_TYPE_INTEGER
AttributeVal.DATA_TYPE_BOOLEAN
Datatype of the propertyThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- key (
str
orNone
) – Attribute key - multivalue (
bool
orNone
) – If attribute has a single value or collection of values This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - values (
list
ofstr
orNone
) – List of attribute values This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
DATA_TYPE_BOOLEAN
= 'BOOLEAN'¶
-
DATA_TYPE_DATE
= 'DATE'¶
-
DATA_TYPE_INTEGER
= 'INTEGER'¶
-
DATA_TYPE_STRING
= 'STRING'¶
- data_type (
-
class
com.vmware.nsx_policy.model_client.
Axes
(x_label=None, y_label=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents X and Y axes of a graph. For a multi-graph, the same axes are shared by all the graphs.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters:
-
class
com.vmware.nsx_policy.model_client.
BackupConfiguration
(after_inventory_update_interval=None, backup_enabled=None, backup_schedule=None, inventory_summary_interval=None, passphrase=None, remote_file_server=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Configuration for taking manual/automated backup
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - after_inventory_update_interval (
long
orNone
) – A number of seconds after a last backup, that needs to pass, before a topology change will trigger a generation of a new cluster/node backups. If parameter is not provided, then changes in a topology will not trigger a generation of cluster/node backups. format: int64 - backup_enabled (
bool
orNone
) – true if automated backup is enabled - backup_schedule (
vmware.vapi.struct.VapiStruct
orNone
) – Set when backups should be taken - on a weekly schedule or at regular intervals. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inBackupSchedule
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inBackupSchedule
. - inventory_summary_interval (
long
orNone
) – The minimum number of seconds between each upload of the inventory summary to backup server. format: int64 - passphrase (
str
orNone
) – Passphrase used to encrypt backup files. The passphrase specified must be at least 8 characters in length and must contain at least one lowercase, one uppercase, one numeric character and one special character (any other non-space character). - remote_file_server (
RemoteFileServer
orNone
) – The server to which backups will be sent.
- after_inventory_update_interval (
-
class
com.vmware.nsx_policy.model_client.
BackupOperationHistory
(cluster_backup_statuses=None, inventory_backup_statuses=None, node_backup_statuses=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Past backup operation details
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - cluster_backup_statuses (
list
ofBackupOperationStatus
orNone
) – Statuses of previous cluser backups - inventory_backup_statuses (
list
ofBackupOperationStatus
orNone
) – Statuses of previous inventory backups - node_backup_statuses (
list
ofBackupOperationStatus
orNone
) – Statuses of previous node backups
- cluster_backup_statuses (
-
class
com.vmware.nsx_policy.model_client.
BackupOperationStatus
(backup_id=None, end_time=None, error_code=None, error_message=None, start_time=None, success=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Backup operation status
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - backup_id (
str
orNone
) – Unique identifier of a backup - end_time (
long
orNone
) – Time when operation was ended format: int64 - error_code (
str
orNone
) –Possible values are:
BackupOperationStatus.ERROR_CODE_NOT_RUN_ON_MASTER
BackupOperationStatus.ERROR_CODE_SERVER_UNREACHABLE
BackupOperationStatus.ERROR_CODE_AUTHENTICATION_FAILURE
BackupOperationStatus.ERROR_CODE_PERMISSION_ERROR
BackupOperationStatus.ERROR_CODE_TIMEOUT
BackupOperationStatus.ERROR_CODE_BAD_FINGERPRINT
BackupOperationStatus.ERROR_CODE_GENERIC_ERROR
Error code - error_message (
str
orNone
) – Error code details - start_time (
long
orNone
) – Time when operation was started format: int64 - success (
bool
orNone
) – True if backup is successfully completed, else false
-
ERROR_CODE_AUTHENTICATION_FAILURE
= 'BACKUP_AUTHENTICATION_FAILURE'¶
-
ERROR_CODE_BAD_FINGERPRINT
= 'BACKUP_BAD_FINGERPRINT'¶
-
ERROR_CODE_GENERIC_ERROR
= 'BACKUP_GENERIC_ERROR'¶
-
ERROR_CODE_NOT_RUN_ON_MASTER
= 'BACKUP_NOT_RUN_ON_MASTER'¶
-
ERROR_CODE_PERMISSION_ERROR
= 'BACKUP_PERMISSION_ERROR'¶
-
ERROR_CODE_SERVER_UNREACHABLE
= 'BACKUP_SERVER_UNREACHABLE'¶
-
ERROR_CODE_TIMEOUT
= 'BACKUP_TIMEOUT'¶
- backup_id (
-
class
com.vmware.nsx_policy.model_client.
BackupOverview
(links=None, schema=None, self_=None, cursor=None, result_count=None, sort_ascending=None, sort_by=None, results=None, backup_config=None, backup_operation_history=None, current_backup_operation_status=None, restore_status=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Data for a single backup/restore card
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
ofClusterBackupInfo
orNone
) – List of timestamps of backed-up cluster files This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - backup_config (
BackupConfiguration
orNone
) – Configuration to generate a manual/automated backup - backup_operation_history (
BackupOperationHistory
orNone
) – Status of the last backup execution per component - current_backup_operation_status (
CurrentBackupOperationStatus
orNone
) – Backup status decribes type, phase, success/failure and time of a | latest backup execution - restore_status (
ClusterRestoreStatus
orNone
) – Status of restore process executing/executed on appliance
- links (
-
class
com.vmware.nsx_policy.model_client.
BackupSchedule
(resource_type='BackupSchedule')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Abstract base type for Weekly or Interval Backup Schedule
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: resource_type ( str
) –Possible values are:
BackupSchedule.RESOURCE_TYPE_WEEKLYBACKUPSCHEDULE
BackupSchedule.RESOURCE_TYPE_INTERVALBACKUPSCHEDULE
Schedule type-
RESOURCE_TYPE_INTERVALBACKUPSCHEDULE
= 'IntervalBackupSchedule'¶
-
RESOURCE_TYPE_WEEKLYBACKUPSCHEDULE
= 'WeeklyBackupSchedule'¶
-
resource_type
¶ Return the discriminator value
-
class
com.vmware.nsx_policy.model_client.
BaseConsolidatedStatusPerEnforcementPoint
(alarm=None, enforcement_point_path=None, consolidated_status=None, enforcement_point_id=None, resource_type='BaseConsolidatedStatusPerEnforcementPoint', site_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Consolidated Realized Status Per Enforcement Point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - consolidated_status (
ConsolidatedStatus
orNone
) – Consolidated Realized Status of an Intent object per enforcement point. - enforcement_point_id (
str
orNone
) – Enforcement Point 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. - resource_type (
str
) – - site_path (
str
orNone
) – The site where this enforcement point resides. 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
¶ Return the discriminator value
- alarm (
-
class
com.vmware.nsx_policy.model_client.
BaseEndpoint
(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='BaseEndpoint', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, target_ips=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents an endpoint which will be used as subject in rule. It is a polymorphic type object which can be either of the types - 1. Virtual 2. Logical We have 2 separate objects representing these 2 types. VirtualEndPoint for Virtual type and ServiceInstanceEndpoint for Logical.
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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - target_ips (
list
ofIPInfo
orNone
) – IPs where either inbound or outbound traffic is to be redirected.
-
RESOURCE_TYPE_SERVICEINSTANCEENDPOINT
= 'ServiceInstanceEndpoint'¶
-
RESOURCE_TYPE_VIRTUALENDPOINT
= 'VirtualEndpoint'¶
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
BasePolicyServiceInstance
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, deployment_mode=None, partner_service_name=None, transport_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents an instance of partner Service and its configuration.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - deployment_mode (
str
orNone
) –Possible values are:
BasePolicyServiceInstance.DEPLOYMENT_MODE_STAND_ALONE
BasePolicyServiceInstance.DEPLOYMENT_MODE_ACTIVE_STANDBY
Deployment mode specifies how the partner appliance will be deployed i.e. in HA or standalone mode.
- partner_service_name (
str
orNone
) – Unique name of Partner Service in the Marketplace - transport_type (
str
orNone
) –Possible values are:
BasePolicyServiceInstance.TRANSPORT_TYPE_L2_BRIDGE
BasePolicyServiceInstance.TRANSPORT_TYPE_L3_ROUTED
Transport to be used while deploying Service-VM.
-
DEPLOYMENT_MODE_ACTIVE_STANDBY
= 'ACTIVE_STANDBY'¶
-
DEPLOYMENT_MODE_STAND_ALONE
= 'STAND_ALONE'¶
-
TRANSPORT_TYPE_L2_BRIDGE
= 'L2_BRIDGE'¶
-
TRANSPORT_TYPE_L3_ROUTED
= 'L3_ROUTED'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
BaseRule
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, destination_groups=None, destinations_excluded=None, direction=None, disabled=None, ip_protocol=None, is_default=None, logged=None, notes=None, profiles=None, rule_id=None, scope=None, sequence_number=None, service_entries=None, services=None, source_groups=None, sources_excluded=None, tag=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A rule indicates the action to be performed for various types of traffic flowing between workload 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 - 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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - destination_groups (
list
ofstr
orNone
) – We need paths as duplicate names may exist for groups under different domains. Along with paths we support IP Address of type IPv4 and IPv6. IP Address can be in one of the format(CIDR, IP Address, Range of IP Address). In order to specify all groups, use the constant “ANY”. This is case insensitive. If “ANY” is used, it should be the ONLY element in the group array. Error will be thrown if ANY is used in conjunction with other values. - destinations_excluded (
bool
orNone
) – If set to true, the rule gets applied on all the groups that are NOT part of the destination groups. If false, the rule applies to the destination groups - direction (
str
orNone
) –Possible values are:
Define direction of traffic. - disabled (
bool
orNone
) – Flag to disable the rule. Default is enabled. - ip_protocol (
str
orNone
) –Possible values are:
Type of IP packet that should be matched while enforcing the rule. The value is set to IPV4_IPV6 for Layer3 rule if not specified. For Layer2/Ether rule the value must be null.
- is_default (
bool
orNone
) – A flag to indicate whether rule is a default rule. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - logged (
bool
orNone
) – Flag to enable packet logging. Default is disabled. - notes (
str
orNone
) – Text for additional notes on changes. - profiles (
list
ofstr
orNone
) – Holds the list of layer 7 service profile paths. These profiles accept attributes and sub-attributes of various network services (e.g. L4 AppId, encryption algorithm, domain name, etc) as key value pairs. - rule_id (
long
orNone
) – This is a unique 4 byte positive number that is assigned by the system. This rule id is passed all the way down to the data path. The first 1GB (1000 to 2^30) will be shared by GM and LM with zebra style striped number space. For E.g 1000 to (1Million -1) by LM, (1M - 2M-1) by GM and so on. 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. - scope (
list
ofstr
orNone
) – The list of policy paths where the rule is applied LR/Edge/T0/T1/LRP etc. Note that a given rule can be applied on multiple LRs/LRPs. - sequence_number (
long
orNone
) – This field is used to resolve conflicts between multiple Rules under Security or Gateway Policy for a Domain If no sequence number is specified in the payload, a value of 0 is assigned by default. If there are multiple rules with the same sequence number then their order is not deterministic. If a specific order of rules is desired, then one has to specify unique sequence numbers or use the POST request on the rule entity with a query parameter action=revise to let the framework assign a sequence number format: int32 - service_entries (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – In order to specify raw services this can be used, along with services which contains path to services. This can be empty or null. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inServiceEntry
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inServiceEntry
. - services (
list
ofstr
orNone
) – In order to specify all services, use the constant “ANY”. This is case insensitive. If “ANY” is used, it should be the ONLY element in the services array. Error will be thrown if ANY is used in conjunction with other values. - source_groups (
list
ofstr
orNone
) – We need paths as duplicate names may exist for groups under different domains. Along with paths we support IP Address of type IPv4 and IPv6. IP Address can be in one of the format(CIDR, IP Address, Range of IP Address). In order to specify all groups, use the constant “ANY”. This is case insensitive. If “ANY” is used, it should be the ONLY element in the group array. Error will be thrown if ANY is used in conjunction with other values. - sources_excluded (
bool
orNone
) – If set to true, the rule gets applied on all the groups that are NOT part of the source groups. If false, the rule applies to the source groups - tag (
str
orNone
) – User level field which will be printed in CLI and packet logs.
-
DIRECTION_IN
= 'IN'¶
-
DIRECTION_IN_OUT
= 'IN_OUT'¶
-
DIRECTION_OUT
= 'OUT'¶
-
IP_PROTOCOL_IPV4
= 'IPV4'¶
-
IP_PROTOCOL_IPV4_IPV6
= 'IPV4_IPV6'¶
-
IP_PROTOCOL_IPV6
= 'IPV6'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
BaseRuleListResult
(links=None, schema=None, self_=None, cursor=None, result_count=None, sort_ascending=None, sort_by=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Paged Collection of Rules
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_policy.model_client.
BaseTier0Interface
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, subnets=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tier-0 interface configuration for external connectivity.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - subnets (
list
ofInterfaceSubnet
orNone
) – Specify IP address and network prefix for interface.
- links (
-
class
com.vmware.nsx_policy.model_client.
BatchRequest
(continue_on_error=None, requests=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A set of operations to be performed in a single batch
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - continue_on_error (
bool
orNone
) – Flag to decide if we will continue processing subsequent requests in case of current error for atomic = false. - requests (
list
ofBatchRequestItem
orNone
) –
- continue_on_error (
-
class
com.vmware.nsx_policy.model_client.
BatchRequestItem
(body=None, method=None, uri=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A single request within a batch of operations
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - body (
vmware.vapi.struct.VapiStruct
orNone
) – - method (
str
orNone
) –Possible values are:
BatchRequestItem.METHOD_GET
BatchRequestItem.METHOD_POST
BatchRequestItem.METHOD_PUT
BatchRequestItem.METHOD_DELETE
BatchRequestItem.METHOD_PATCH
http method type - uri (
str
orNone
) – relative uri (path and args), of the call including resource id (if this is a POST/DELETE), exclude hostname and port and prefix, exploded form of parameters
-
METHOD_DELETE
= 'DELETE'¶
-
METHOD_GET
= 'GET'¶
-
METHOD_PATCH
= 'PATCH'¶
-
METHOD_POST
= 'POST'¶
-
METHOD_PUT
= 'PUT'¶
- body (
-
class
com.vmware.nsx_policy.model_client.
BatchResponse
(has_errors=None, results=None, rolled_back=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
The reponse to a batch operation
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - has_errors (
bool
orNone
) – Indicates if any of the APIs failed - results (
list
ofBatchResponseItem
orNone
) – Bulk list results - rolled_back (
bool
orNone
) – Optional flag indicating that all items were rolled back even if succeeded initially
- has_errors (
-
class
com.vmware.nsx_policy.model_client.
BatchResponseItem
(body=None, code=None, headers=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A single respose in a list of batched responses
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - body (
vmware.vapi.struct.VapiStruct
orNone
) – object returned by api - code (
long
orNone
) – http status code format: int64 - headers (
vmware.vapi.struct.VapiStruct
orNone
) – The headers returned by the API call
- body (
-
class
com.vmware.nsx_policy.model_client.
BfdProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, interval=None, multiple=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Bidirectional Forwarding Detection configuration for BGP peers
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - interval (
long
orNone
) – Time interval between heartbeat packets in milliseconds. format: int32 - multiple (
long
orNone
) – Declare dead multiple. Number of times heartbeat packet is missed before BFD declares the neighbor is down. format: int32
- links (
-
class
com.vmware.nsx_policy.model_client.
BfdProfileListResult
(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
Paged Collection of BfdProfile.
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
ofBfdProfile
orNone
) – Bfd Profile list results.
- links (
-
class
com.vmware.nsx_policy.model_client.
BgpAddressFamily
(in_prefix_count=None, out_prefix_count=None, type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - in_prefix_count (
long
orNone
) – Count of in prefixes 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. - out_prefix_count (
long
orNone
) – Count of out prefixes 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. - type (
str
orNone
) –Possible values are:
BgpAddressFamily.TYPE_IPV4_UNICAST
BgpAddressFamily.TYPE_VPNV4_UNICAST
BgpAddressFamily.TYPE_IPV6_UNICAST
BgpAddressFamily.TYPE_L2VPN_EVPN
BGP address family typeThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
TYPE_IPV4_UNICAST
= 'IPV4_UNICAST'¶
-
TYPE_IPV6_UNICAST
= 'IPV6_UNICAST'¶
-
TYPE_L2VPN_EVPN
= 'L2VPN_EVPN'¶
-
TYPE_VPNV4_UNICAST
= 'VPNV4_UNICAST'¶
- in_prefix_count (
-
class
com.vmware.nsx_policy.model_client.
BgpBfdConfig
(enabled=None, interval=None, multiple=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
BFD configuration for BGP peers
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - enabled (
bool
orNone
) – Flag to enable BFD cofiguration. - interval (
long
orNone
) – Time interval between heartbeat packets in milliseconds. format: int32 - multiple (
long
orNone
) – Declare dead multiple. Number of times heartbeat packet is missed before BFD declares the neighbor is down. format: int32
- enabled (
-
class
com.vmware.nsx_policy.model_client.
BgpGracefulRestartConfig
(mode=None, timer=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Configuration field to hold BGP restart mode and timer.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - mode (
str
orNone
) –Possible values are:
BgpGracefulRestartConfig.MODE_DISABLE
BgpGracefulRestartConfig.MODE_GR_AND_HELPER
BgpGracefulRestartConfig.MODE_HELPER_ONLY
If mode is DISABLE, then graceful restart and helper modes are disabled. If mode is GR_AND_HELPER, then both graceful restart and helper modes are enabled. If mode is HELPER_ONLY, then helper mode is enabled. HELPER_ONLY mode is the ability for a BGP speaker to indicate its ability to preserve forwarding state during BGP restart. GRACEFUL_RESTART mode is the ability of a BGP speaker to advertise its restart to its peers.
- timer (
BgpGracefulRestartTimer
orNone
) – Configuration field to hold BGP restart timers.
-
MODE_DISABLE
= 'DISABLE'¶
-
MODE_GR_AND_HELPER
= 'GR_AND_HELPER'¶
-
MODE_HELPER_ONLY
= 'HELPER_ONLY'¶
- mode (
-
class
com.vmware.nsx_policy.model_client.
BgpGracefulRestartTimer
(restart_timer=None, stale_route_timer=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Configuration field to hold BGP restart timers
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - restart_timer (
long
orNone
) – Maximum time taken (in seconds) for a BGP session to be established after a restart. This can be used to speed up routing convergence by its peer in case the BGP speaker does not come back up after a restart. If the session is not re-established within this timer, the receiving speaker will delete all the stale routes from that peer. format: int64 - stale_route_timer (
long
orNone
) – Maximum time (in seconds) before stale routes are removed from the RIB (Routing Information Base) when BGP restarts. format: int64
- restart_timer (
-
class
com.vmware.nsx_policy.model_client.
BgpNeighborConfig
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, allow_as_in=None, bfd=None, graceful_restart_mode=None, hold_down_time=None, in_route_filters=None, keep_alive_time=None, maximum_hop_limit=None, neighbor_address=None, out_route_filters=None, password=None, remote_as_num=None, route_filtering=None, source_addresses=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Contains information necessary to configure a BGP neighbor.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - allow_as_in (
bool
orNone
) – Flag to enable allowas_in option for BGP neighbor - bfd (
BgpBfdConfig
orNone
) – BFD configuration for failure detection. BFD is enabled with default values when not configured. - graceful_restart_mode (
str
orNone
) –Possible values are:
BgpNeighborConfig.GRACEFUL_RESTART_MODE_DISABLE
BgpNeighborConfig.GRACEFUL_RESTART_MODE_GR_AND_HELPER
BgpNeighborConfig.GRACEFUL_RESTART_MODE_HELPER_ONLY
If mode is DISABLE, then graceful restart and helper modes are disabled. If mode is GR_AND_HELPER, then both graceful restart and helper modes are enabled. If mode is HELPER_ONLY, then helper mode is enabled. HELPER_ONLY mode is the ability for a BGP speaker to indicate its ability to preserve forwarding state during BGP restart. GRACEFUL_RESTART mode is the ability of a BGP speaker to advertise its restart to its peers.
- hold_down_time (
long
orNone
) – Wait time in seconds before declaring peer dead. format: int32 - in_route_filters (
list
ofstr
orNone
) – Specify path of prefix-list or route map to filter routes for IN direction. This property is deprecated, use route_filtering instead. Specifying different values for both properties will result in error. - keep_alive_time (
long
orNone
) – Interval (in seconds) between keep alive messages sent to peer. format: int32 - maximum_hop_limit (
long
orNone
) – Maximum number of hops allowed to reach BGP neighbor. format: int32 - neighbor_address (
str
orNone
) – Neighbor IP Address format: ip - out_route_filters (
list
ofstr
orNone
) – Specify path of prefix-list or route map to filter routes for OUT direction. When not specified, a built-in prefix-list named ‘prefixlist-out-default’ is automatically applied. This property is deprecated, use route_filtering instead. Specifying different values for both properties will result in error. - password (
str
orNone
) – Specify password for BGP neighbor authentication. Empty string (“”) clears existing password. - remote_as_num (
str
orNone
) – 4 Byte ASN of the neighbor in ASPLAIN Format - route_filtering (
list
ofBgpRouteFiltering
orNone
) – Enable address families and route filtering in each direction. - source_addresses (
list
ofstr
orNone
) – Source addresses should belong to Tier0 external or loopback interface IP Addresses . BGP peering is formed from all these addresses. This property is mandatory when maximum_hop_limit is greater than 1. format: ip
-
GRACEFUL_RESTART_MODE_DISABLE
= 'DISABLE'¶
-
GRACEFUL_RESTART_MODE_GR_AND_HELPER
= 'GR_AND_HELPER'¶
-
GRACEFUL_RESTART_MODE_HELPER_ONLY
= 'HELPER_ONLY'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
BgpNeighborConfigListResult
(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
Paged collection of BGP Neighbor Configs
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
ofBgpNeighborConfig
orNone
) – BGP neighbor configs list results
- links (
-
class
com.vmware.nsx_policy.model_client.
BgpNeighborRouteDetailsCsvRecord
(as_path=None, local_pref=None, logical_router_id=None, med=None, neighbor_address=None, neighbor_id=None, network=None, next_hop=None, source_address=None, transport_node_id=None, weight=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
BGP neighbor learned/advertised route details.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - as_path (
str
orNone
) – BGP AS path attribute. 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_pref (
long
orNone
) – BGP Local Preference attribute. 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. - logical_router_id (
str
orNone
) – Logical router 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. - med (
long
orNone
) – BGP Multi Exit Discriminator attribute. 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. - neighbor_address (
str
orNone
) – BGP neighbor peer IP address. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - neighbor_id (
str
orNone
) – BGP neighbor 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. - network (
str
orNone
) – CIDR network address. format: ip-cidr-block This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - next_hop (
str
orNone
) – Next hop IP address. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - source_address (
str
orNone
) – BGP neighbor source address. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_id (
str
orNone
) – Transport node 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. - weight (
long
orNone
) – BGP Weight attribute. 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.
- as_path (
-
class
com.vmware.nsx_policy.model_client.
BgpNeighborRouteDetailsInCsvFormat
(file_name=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
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
ofBgpNeighborRouteDetailsCsvRecord
orNone
) –
- file_name (
-
class
com.vmware.nsx_policy.model_client.
BgpNeighborRoutes
(egde_node_routes=None, enforcement_point_path=None, neighbor_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
BGP neighbor learned/advertised route details.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - egde_node_routes (
list
ofRoutesPerTransportNode
orNone
) – Array of BGP neighbor route details per edge node. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - enforcement_point_path (
str
orNone
) – Enforcement point policy 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. - neighbor_path (
str
orNone
) – BGP neighbor policy 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.
- egde_node_routes (
-
class
com.vmware.nsx_policy.model_client.
BgpNeighborRoutesListResult
(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
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
ofBgpNeighborRoutes
orNone
) – Paged Collection of Bgp neighbor routes.
- links (
-
class
com.vmware.nsx_policy.model_client.
BgpRouteFiltering
(address_family=None, enabled=None, in_route_filters=None, maximum_routes=None, out_route_filters=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Enable address_families and route filtering in each direction
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - address_family (
str
orNone
) –Possible values are:
BgpRouteFiltering.ADDRESS_FAMILY_IPV4
BgpRouteFiltering.ADDRESS_FAMILY_IPV6
BgpRouteFiltering.ADDRESS_FAMILY_L2VPN_EVPN
Address family type. If not configured, this property automatically derived for IPv4 & IPv6 peer configuration.
- enabled (
bool
orNone
) – Flag to enable address family. - in_route_filters (
list
ofstr
orNone
) – Specify path of prefix-list or route map to filter routes for IN direction. - maximum_routes (
long
orNone
) – Maximum number of routes for the address family. format: int32 - out_route_filters (
list
ofstr
orNone
) – Specify path of prefix-list or route map to filter routes for OUT direction. When not specified, a built-in prefix-list named ‘prefixlist-out-default’ is automatically applied.
-
ADDRESS_FAMILY_IPV4
= 'IPV4'¶
-
ADDRESS_FAMILY_IPV6
= 'IPV6'¶
-
ADDRESS_FAMILY_L2VPN_EVPN
= 'L2VPN_EVPN'¶
- address_family (
-
class
com.vmware.nsx_policy.model_client.
BgpRoutingConfig
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, ecmp=None, enabled=None, graceful_restart=None, graceful_restart_config=None, inter_sr_ibgp=None, local_as_num=None, multipath_relax=None, route_aggregations=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Contains BGP routing configuration.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - ecmp (
bool
orNone
) – Flag to enable ECMP. - enabled (
bool
orNone
) – Flag to enable BGP configuration. Disabling will stop feature and BGP peering. - graceful_restart (
bool
orNone
) – Flag to enable graceful restart. This field is deprecated, please use graceful_restart_config parameter for graceful restart configuration. If both parameters are set and consistent with each other (i.e. graceful_restart=false and graceful_restart_mode=HELPER_ONLY OR graceful_restart=true and graceful_restart_mode=GR_AND_HELPER) then this is allowed, but if inconsistent with each other then this is not allowed and validation error will be thrown. - graceful_restart_config (
BgpGracefulRestartConfig
orNone
) – Configuration field to hold BGP Restart mode and timer. - inter_sr_ibgp (
bool
orNone
) – Flag to enable inter SR IBGP configuration. When not specified, inter SR IBGP is automatically enabled if Tier-0 is created in ACTIVE_ACTIVE ha_mode. - local_as_num (
str
orNone
) – Specify BGP AS number for Tier-0 to advertize to BGP peers. AS number can be specified in ASPLAIN (e.g., “65546”) or ASDOT (e.g., “1.10”) format. Empty string disables BGP feature. It is required by normal tier0 but not required in vrf tier0. - multipath_relax (
bool
orNone
) – Flag to enable BGP multipath relax option. - route_aggregations (
list
ofRouteAggregationEntry
orNone
) – List of routes to be aggregated.
- links (
-
class
com.vmware.nsx_policy.model_client.
BinaryPacketData
(payload=None, frame_size=None, resource_type='BinaryPacketData', routed=None, transport_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - payload (
str
orNone
) – Up to 1000 bytes of payload may be supplied (with a base64-encoded length of 1336 bytes.) Additional bytes of traceflow metadata will be appended to the payload. The payload must contain all headers (Ethernet, IP, etc). Note that VLAN is not supported in the logical space. Hence, payload must not contain 802.1Q headers. - frame_size (
long
orNone
) – If the requested frame_size is too small (given the payload and traceflow metadata requirement of 16 bytes), the traceflow request will fail with an appropriate message. The frame will be zero padded to the requested size. format: int64 - resource_type (
str
) –Possible values are:
Packet configuration - routed (
bool
orNone
) – A flag, when set true, indicates that the traceflow packet is of L3 routing. - transport_type (
str
orNone
) –Possible values are:
PacketData.TRANSPORT_TYPE_BROADCAST
PacketData.TRANSPORT_TYPE_UNICAST
PacketData.TRANSPORT_TYPE_MULTICAST
PacketData.TRANSPORT_TYPE_UNKNOWN
transport type of the traceflow packet
-
resource_type
¶ Return the discriminator value
- payload (
-
class
com.vmware.nsx_policy.model_client.
BridgeProfileConfig
(bridge_profile_path=None, uplink_teaming_policy_name=None, vlan_ids=None, vlan_transport_zone_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
configuration parameters for Bridge Profile
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - bridge_profile_path (
str
orNone
) – Same bridge profile can be configured on different segments. Each bridge profile on a segment must unique. - uplink_teaming_policy_name (
str
orNone
) – The name of the switching uplink teaming policy for the bridge endpoint. This name corresponds to one fot he switching uplink teaming policy names listed in teh transport zone. When this property is not specified, the teaming policy is assigned by MP. - vlan_ids (
list
ofstr
orNone
) – VLAN specification for bridge endpoint. Either VLAN ID or VLAN ranges can be specified. Not both. - vlan_transport_zone_path (
str
orNone
) – VLAN transport zone should belong to the enforcment-point as the transport zone specified in the segment.
- bridge_profile_path (
-
class
com.vmware.nsx_policy.model_client.
ByodPolicyServiceInstance
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, deployment_mode=None, partner_service_name=None, transport_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents an instance of partner’s service whose wiring will be done by partner itself. As partner does all the wiring, we call it as Byod - Bring your own device.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - deployment_mode (
str
orNone
) –Possible values are:
ByodPolicyServiceInstance.DEPLOYMENT_MODE_STAND_ALONE
ByodPolicyServiceInstance.DEPLOYMENT_MODE_ACTIVE_STANDBY
Deployment mode specifies how the partner appliance will be deployed i.e. in HA or standalone mode.
- partner_service_name (
str
orNone
) – Unique name of Partner Service in the Marketplace - transport_type (
str
orNone
) –Possible values are:
ByodPolicyServiceInstance.TRANSPORT_TYPE_L2_BRIDGE
ByodPolicyServiceInstance.TRANSPORT_TYPE_L3_ROUTED
Transport to be used while deploying Service-VM.
-
DEPLOYMENT_MODE_ACTIVE_STANDBY
= 'ACTIVE_STANDBY'¶
-
DEPLOYMENT_MODE_STAND_ALONE
= 'STAND_ALONE'¶
-
TRANSPORT_TYPE_L2_BRIDGE
= 'L2_BRIDGE'¶
-
TRANSPORT_TYPE_L3_ROUTED
= 'L3_ROUTED'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
ByodPolicyServiceInstanceListResult
(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
Collection of only Byod SI 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 - 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
ofByodPolicyServiceInstance
orNone
) – Byod Service instance list results
- links (
-
class
com.vmware.nsx_policy.model_client.
ChildApplication
(application=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for Application, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - application (
Application
orNone
) – Contains the actual Application object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- application (
-
class
com.vmware.nsx_policy.model_client.
ChildApplicationService
(application_service=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for ApplicationService, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - application_service (
ApplicationService
orNone
) – Contains the actual ApplicationService object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- application_service (
-
class
com.vmware.nsx_policy.model_client.
ChildApplicationTier
(application_tier=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for ApplicationTier, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - application_tier (
ApplicationTier
orNone
) – Contains the actual ApplicationTier object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- application_tier (
-
class
com.vmware.nsx_policy.model_client.
ChildBfdProfile
(bfd_profile=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for BfdProfile, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - bfd_profile (
BfdProfile
orNone
) – Contains the actual BfdProfile object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- bfd_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildBgpNeighborConfig
(bgp_neighbor_config=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for BgpNeighborConfig, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - bgp_neighbor_config (
BgpNeighborConfig
orNone
) – Contains the actual BgpNeighborConfig object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- bgp_neighbor_config (
-
class
com.vmware.nsx_policy.model_client.
ChildBgpRoutingConfig
(bgp_routing_config=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for BgpRoutingConfig, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - bgp_routing_config (
BgpRoutingConfig
orNone
) – Contains the actual BgpRoutingConfig object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- bgp_routing_config (
-
class
com.vmware.nsx_policy.model_client.
ChildByodPolicyServiceInstance
(byod_policy_service_instance=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for ByodPolicyServiceInstance used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - byod_policy_service_instance (
ByodPolicyServiceInstance
orNone
) – Contains actual ByodPolicyServiceInstance. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- byod_policy_service_instance (
-
class
com.vmware.nsx_policy.model_client.
ChildCommunicationEntry
(communication_entry=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for CommunicationEntry, used in hierarchical API This type is deprecated. Use the type ChildRule instead.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - communication_entry (
CommunicationEntry
orNone
) – Contains the actual CommunicationEntry object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- communication_entry (
-
class
com.vmware.nsx_policy.model_client.
ChildCommunicationMap
(communication_map=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for CommunicationMap, used in hierarchical API This type is deprecated. Use the type ChildSecurityPolicy instead.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - communication_map (
CommunicationMap
orNone
) – Contains the actual CommunicationMap object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- communication_map (
-
class
com.vmware.nsx_policy.model_client.
ChildCommunityList
(community_list=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for CommunityList, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - community_list (
CommunityList
orNone
) – Contains the actual CommunityList object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- community_list (
-
class
com.vmware.nsx_policy.model_client.
ChildComputeClusterIdfwConfiguration
(compute_cluster_idfw_configuration=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Wrapper object for ComputeClusterIdfwConfiguration
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - compute_cluster_idfw_configuration (
ComputeClusterIdfwConfiguration
orNone
) – Contains the actual compute cluster idfw configuration object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- compute_cluster_idfw_configuration (
-
class
com.vmware.nsx_policy.model_client.
ChildConstraint
(constraint=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for Constraint, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - constraint (
Constraint
orNone
) – Contains the actual Constraint object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- constraint (
-
class
com.vmware.nsx_policy.model_client.
ChildDeploymentZone
(deployment_zone=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for DeploymentZone, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - deployment_zone (
DeploymentZone
orNone
) – Contains the actual DeploymentZone object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- deployment_zone (
-
class
com.vmware.nsx_policy.model_client.
ChildDfwFirewallConfiguration
(dfw_firewall_configuration=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Wrapper object for FirewallConfiguration
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dfw_firewall_configuration (
DfwFirewallConfiguration
orNone
) – Contains the actual dfw firewall configuration list object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- dfw_firewall_configuration (
-
class
com.vmware.nsx_policy.model_client.
ChildDhcpRelayConfig
(dhcp_relay_config=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for DhcpRelayConfig, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dhcp_relay_config (
DhcpRelayConfig
orNone
) – Contains the actual DhcpRelayConfig object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- dhcp_relay_config (
-
class
com.vmware.nsx_policy.model_client.
ChildDhcpServerConfig
(dhcp_server_config=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for DhcpServerConfig, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dhcp_server_config (
DhcpServerConfig
orNone
) – Contains the actual DhcpServerConfig object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- dhcp_server_config (
-
class
com.vmware.nsx_policy.model_client.
ChildDhcpStaticBindingConfig
(dhcp_static_binding_config=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for DhcpStaticBindingConfig, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dhcp_static_binding_config (
vmware.vapi.struct.VapiStruct
orNone
) – Contains the actual DhcpStaticBindingConfig object. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inDhcpStaticBindingConfig
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inDhcpStaticBindingConfig
. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- dhcp_static_binding_config (
-
class
com.vmware.nsx_policy.model_client.
ChildDnsSecurityProfile
(dns_security_profile=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for DnsSecurityProfile, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dns_security_profile (
DnsSecurityProfile
orNone
) – Contains the actual DnsSecurityProfile object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- dns_security_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildDnsSecurityProfileBindingMap
(dns_security_profile_binding_map=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper obejct for DnsSecurityProfileBindingMap used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dns_security_profile_binding_map (
DnsSecurityProfileBindingMap
orNone
) – Contains the actual DnsSecurityProfileBindingMap object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- dns_security_profile_binding_map (
-
class
com.vmware.nsx_policy.model_client.
ChildDomain
(domain=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for domain, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - domain (
Domain
orNone
) – Contains the actual domain object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- domain (
-
class
com.vmware.nsx_policy.model_client.
ChildDomainDeploymentMap
(domain_deployment_map=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for DomainDeploymentMap, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - domain_deployment_map (
DomainDeploymentMap
orNone
) – Contains the actual DomainDeploymentMap object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- domain_deployment_map (
-
class
com.vmware.nsx_policy.model_client.
ChildEndpointPolicy
(endpoint_policy=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for EndpointPolicy used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - endpoint_policy (
EndpointPolicy
orNone
) – Contains actual EndpointPolicy. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- endpoint_policy (
-
class
com.vmware.nsx_policy.model_client.
ChildEndpointRule
(endpoint_rule=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for EndpointRule used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - endpoint_rule (
EndpointRule
orNone
) – Contains actual EndpointRule. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- endpoint_rule (
-
class
com.vmware.nsx_policy.model_client.
ChildEnforcementPoint
(enforcement_point=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for EnforcementPoint, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - enforcement_point (
EnforcementPoint
orNone
) – Contains the actual Enforcement point object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- enforcement_point (
-
class
com.vmware.nsx_policy.model_client.
ChildEvpnConfig
(evpn_config=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for EvpnConfig, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - evpn_config (
EvpnConfig
orNone
) – Contains the actual EvpnConfig object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- evpn_config (
-
class
com.vmware.nsx_policy.model_client.
ChildEvpnTunnelEndpointConfig
(evpn_tunnel_endpoint_config=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for EvpnTunnelEndpointConfig, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - evpn_tunnel_endpoint_config (
EvpnTunnelEndpointConfig
orNone
) – Contains the actual EvpnTunnelEndpointConfig object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- evpn_tunnel_endpoint_config (
-
class
com.vmware.nsx_policy.model_client.
ChildFirewallIdentityStore
(firewall_identity_store=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for FirewallIdentityStore, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - firewall_identity_store (
FirewallIdentityStore
orNone
) – Contains the actual FirewallIdentityStore object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- firewall_identity_store (
-
class
com.vmware.nsx_policy.model_client.
ChildFloodProtectionProfile
(flood_protection_profile=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for FloodProtectionProfile, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - flood_protection_profile (
vmware.vapi.struct.VapiStruct
orNone
) – Contains the actual FloodProtectionProfile object When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inFloodProtectionProfile
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inFloodProtectionProfile
. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- flood_protection_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildFloodProtectionProfileBindingMap
(flood_protection_profile_binding_map=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for FloodProtectionProfileBindingMap, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - flood_protection_profile_binding_map (
FloodProtectionProfileBindingMap
orNone
) – Contains the actual FloodProtectionProfileBindingMap object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- flood_protection_profile_binding_map (
-
class
com.vmware.nsx_policy.model_client.
ChildForwardingPolicy
(forwarding_policy=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for ForwardingPolicy used in Hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - forwarding_policy (
ForwardingPolicy
orNone
) – Contains actual ForwardingPolicy. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- forwarding_policy (
-
class
com.vmware.nsx_policy.model_client.
ChildForwardingRule
(forwarding_rule=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for ForwardingRule used in Hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - forwarding_rule (
ForwardingRule
orNone
) – Contains actual ForwardingRule. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- forwarding_rule (
-
class
com.vmware.nsx_policy.model_client.
ChildGatewayPolicy
(gateway_policy=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for GatewayPolicy, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - gateway_policy (
GatewayPolicy
orNone
) – Contains the actual GatewayPolicy object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- gateway_policy (
-
class
com.vmware.nsx_policy.model_client.
ChildGatewayQosProfile
(qos_profile=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for GatewayQosProfile, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - qos_profile (
GatewayQosProfile
orNone
) – Contains the actual GatewayQosProfile object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- qos_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildGlobalConfig
(global_config=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for GlobalConfig, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - global_config (
GlobalConfig
orNone
) – Contains the actual GlobalConfig object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- global_config (
-
class
com.vmware.nsx_policy.model_client.
ChildGlobalManager
(global_manager=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for Global Manager, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - global_manager (
GlobalManager
orNone
) – Contains the actual Global Manager object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- global_manager (
-
class
com.vmware.nsx_policy.model_client.
ChildGroup
(group=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for group, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - group (
Group
orNone
) – Contains the actual group objects. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- group (
-
class
com.vmware.nsx_policy.model_client.
ChildGroupDiscoveryProfileBindingMap
(group_discovery_profile_binding_map=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper obejct for GroupDiscoveryProfileBindingMap used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - group_discovery_profile_binding_map (
GroupDiscoveryProfileBindingMap
orNone
) – Contains the actual GroupDiscoveryProfileBindingMap object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- group_discovery_profile_binding_map (
-
class
com.vmware.nsx_policy.model_client.
ChildGroupMonitoringProfileBindingMap
(group_monitoring_profile_binding_map=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for GroupMonitoringProfileBindingMap, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - group_monitoring_profile_binding_map (
GroupMonitoringProfileBindingMap
orNone
) – Contains the actual GroupMonitoringProfileBindingMap object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- group_monitoring_profile_binding_map (
-
class
com.vmware.nsx_policy.model_client.
ChildIPDiscoveryProfile
(ip_discovery_profile=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for IPDiscoveryProfile, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_discovery_profile (
IPDiscoveryProfile
orNone
) – Contains the actual IPDiscoveryProfile object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- ip_discovery_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildIPFIXDFWCollectorProfile
(i_pfixdfw_collector_profile=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for IPFIXDFWCollectorProfile, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - i_pfixdfw_collector_profile (
IPFIXDFWCollectorProfile
orNone
) – Contains the actual IPFIXDFWCollectorProfile object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- i_pfixdfw_collector_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildIPFIXDFWProfile
(i_pfixdfw_profile=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for IPFIXDFWProfile, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - i_pfixdfw_profile (
IPFIXDFWProfile
orNone
) – Contains the actual IPFIXDFWProfile object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- i_pfixdfw_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildIPFIXL2CollectorProfile
(i_pfix_l2_collector_profile=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for IPFIXL2CollectorProfile, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - i_pfix_l2_collector_profile (
IPFIXL2CollectorProfile
orNone
) – Contains the actual IPFIXL2CollectorProfile object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- i_pfix_l2_collector_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildIPFIXL2Profile
(i_pfix_l2_profile=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for IPFIXL2Profile, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - i_pfix_l2_profile (
IPFIXL2Profile
orNone
) – Contains the actual IPFIXL2Profile object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- i_pfix_l2_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildIPSecVpnDpdProfile
(ip_sec_vpn_dpd_profile=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for IPSecVpnDpdProfile, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_sec_vpn_dpd_profile (
IPSecVpnDpdProfile
orNone
) – Contains the actual IPSecVpnDpdProfile object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- ip_sec_vpn_dpd_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildIPSecVpnIkeProfile
(ip_sec_vpn_ike_profile=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for IPSecVpnIkeProfile, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_sec_vpn_ike_profile (
IPSecVpnIkeProfile
orNone
) – Contains the actual IPSecVpnIkeProfile object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- ip_sec_vpn_ike_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildIPSecVpnLocalEndpoint
(ip_sec_vpn_local_endpoint=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for IPSecVpnLocalEndpoint, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_sec_vpn_local_endpoint (
IPSecVpnLocalEndpoint
orNone
) – Contains the actual IPSecVpnLocalEndpoint object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- ip_sec_vpn_local_endpoint (
-
class
com.vmware.nsx_policy.model_client.
ChildIPSecVpnService
(ip_sec_vpn_service=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for IPSecVpnService, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_sec_vpn_service (
IPSecVpnService
orNone
) – Contains the actual IPSecVpnService object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- ip_sec_vpn_service (
-
class
com.vmware.nsx_policy.model_client.
ChildIPSecVpnSession
(ip_sec_vpn_session=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for IPSecVpnSession, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_sec_vpn_session (
vmware.vapi.struct.VapiStruct
orNone
) – Contains the actual IPSecVpnSession object. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inIPSecVpnSession
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inIPSecVpnSession
. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- ip_sec_vpn_session (
-
class
com.vmware.nsx_policy.model_client.
ChildIPSecVpnTunnelProfile
(ip_sec_vpn_tunnel_profile=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for IPSecVpnTunnelProfile, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_sec_vpn_tunnel_profile (
IPSecVpnTunnelProfile
orNone
) – Contains the actual IPSecVpnTunnelProfile object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- ip_sec_vpn_tunnel_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildIdsClusterConfig
(ids_cluster_config=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for IdsClusterConfig, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ids_cluster_config (
IdsClusterConfig
orNone
) – Contains the IdsClusterConfig object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- ids_cluster_config (
-
class
com.vmware.nsx_policy.model_client.
ChildIdsProfile
(ids_profile=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for IdsProfile, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ids_profile (
IdsProfile
orNone
) – Contains the IdsProfile object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- ids_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildIdsRule
(ids_rule=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for IdsRule, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ids_rule (
IdsRule
orNone
) – Contains the IdsRule object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- ids_rule (
-
class
com.vmware.nsx_policy.model_client.
ChildIdsSecurityPolicy
(ids_security_policy=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for IdsSecurityPolicy, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ids_security_policy (
IdsSecurityPolicy
orNone
) – Contains the IdsSecurityPolicy object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- ids_security_policy (
-
class
com.vmware.nsx_policy.model_client.
ChildIdsSignature
(ids_signature=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for IdsSignature, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ids_signature (
IdsSignature
orNone
) – Contains the IdsSignature object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- ids_signature (
-
class
com.vmware.nsx_policy.model_client.
ChildIdsStandaloneHostConfig
(ids_standalone_host_config=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for IdsStandaloneHostConfig, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ids_standalone_host_config (
IdsStandaloneHostConfig
orNone
) – Contains the IdsStandaloneHostConfig object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- ids_standalone_host_config (
-
class
com.vmware.nsx_policy.model_client.
ChildIpAddressAllocation
(ip_address_allocation=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for IpAddressAllocation, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_address_allocation (
IpAddressAllocation
orNone
) – Contains the actual IpAddressAllocation object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- ip_address_allocation (
-
class
com.vmware.nsx_policy.model_client.
ChildIpAddressBlock
(ip_address_block=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for IpAddressBlock, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_address_block (
IpAddressBlock
orNone
) – Contains the actual IpAddressBlock object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- ip_address_block (
-
class
com.vmware.nsx_policy.model_client.
ChildIpAddressPool
(ip_address_pool=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for IpAddressPool, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_address_pool (
IpAddressPool
orNone
) – Contains the actual IpAddressPool object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- ip_address_pool (
-
class
com.vmware.nsx_policy.model_client.
ChildIpAddressPoolSubnet
(ip_address_pool_subnet=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for IpAddressPoolSubnet, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_address_pool_subnet (
vmware.vapi.struct.VapiStruct
orNone
) – Contains the actual IpAddressPoolSubnet object When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inIpAddressPoolSubnet
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inIpAddressPoolSubnet
. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- ip_address_pool_subnet (
-
class
com.vmware.nsx_policy.model_client.
ChildIpv6DadProfile
(ipv6_dad_profile=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for Ipv6DadProfile, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ipv6_dad_profile (
Ipv6DadProfile
orNone
) – Contains the actual Ipv6DadProfile objects - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- ipv6_dad_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildIpv6NdraProfile
(ipv6_ndra_profile=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for Ipv6NdraProfile, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ipv6_ndra_profile (
Ipv6NdraProfile
orNone
) – Contains the actual Ipv6NdraProfile objects - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- ipv6_ndra_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildL2BridgeEndpointProfile
(l2_bridge_endpoint_profile=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for L2BridgeEndpointProfile, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - l2_bridge_endpoint_profile (
L2BridgeEndpointProfile
orNone
) – Contains the actual L2BridgeEndpointProfile object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- l2_bridge_endpoint_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildL2VPNService
(l2_vpn_service=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for L2VPNService, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - l2_vpn_service (
L2VPNService
orNone
) – Contains the actual L2VPNService object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- l2_vpn_service (
-
class
com.vmware.nsx_policy.model_client.
ChildL2VPNSession
(l2_vpn_session=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for L2VPNSession, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - l2_vpn_session (
L2VPNSession
orNone
) – Contains the actual L2VPNSession object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- l2_vpn_session (
-
class
com.vmware.nsx_policy.model_client.
ChildL2Vpn
(l2_vpn=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for L2Vpn, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - l2_vpn (
L2Vpn
orNone
) – Contains the actual L2Vpn object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- l2_vpn (
-
class
com.vmware.nsx_policy.model_client.
ChildL2VpnContext
(l2_vpn_context=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for L2VpnContext, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - l2_vpn_context (
L2VpnContext
orNone
) – Contains the actual L2VpnContext object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- l2_vpn_context (
-
class
com.vmware.nsx_policy.model_client.
ChildL3Vpn
(l3_vpn=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for L3Vpn, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - l3_vpn (
L3Vpn
orNone
) – Contains the actual L3Vpn object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- l3_vpn (
-
class
com.vmware.nsx_policy.model_client.
ChildL3VpnContext
(l3_vpn_context=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for L3VpnContext, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - l3_vpn_context (
L3VpnContext
orNone
) – Contains the actual L3VpnContext object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- l3_vpn_context (
-
class
com.vmware.nsx_policy.model_client.
ChildLBAppProfile
(lb_app_profile=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for LBAppProfile, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - lb_app_profile (
vmware.vapi.struct.VapiStruct
orNone
) – Contains the actual LBAppProfile object. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inLBAppProfile
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inLBAppProfile
. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- lb_app_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildLBClientSslProfile
(lb_client_ssl_profile=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for LBClientSslProfile, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - lb_client_ssl_profile (
LBClientSslProfile
orNone
) – Contains the actual LBClientSslProfile object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- lb_client_ssl_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildLBMonitorProfile
(lb_monitor_profile=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for LBMonitorProfile, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - lb_monitor_profile (
vmware.vapi.struct.VapiStruct
orNone
) – Contains the actual LBMonitorProfile object. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inLBMonitorProfile
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inLBMonitorProfile
. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- lb_monitor_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildLBPersistenceProfile
(lb_persistence_profile=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for LBPersistenceProfile, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - lb_persistence_profile (
vmware.vapi.struct.VapiStruct
orNone
) – Contains the actual LBPersistenceProfile object. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inLBPersistenceProfile
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inLBPersistenceProfile
. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- lb_persistence_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildLBPool
(lb_pool=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for LBPool, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - lb_pool (
LBPool
orNone
) – Contains the actual LBPool object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- lb_pool (
-
class
com.vmware.nsx_policy.model_client.
ChildLBServerSslProfile
(lb_server_ssl_profile=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for LBServerSslProfile, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - lb_server_ssl_profile (
LBServerSslProfile
orNone
) – Contains the actual LBServerSslProfile object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- lb_server_ssl_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildLBService
(lb_service=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for LBService, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - lb_service (
LBService
orNone
) – Contains the actual LBService object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- lb_service (
-
class
com.vmware.nsx_policy.model_client.
ChildLBVirtualServer
(lb_virtual_server=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for LBVirtualServer, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - lb_virtual_server (
LBVirtualServer
orNone
) – Contains the actual LBVirtualServer object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- lb_virtual_server (
-
class
com.vmware.nsx_policy.model_client.
ChildLocaleServices
(locale_services=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for LocaleServices, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - locale_services (
LocaleServices
orNone
) – Contains the actual LocaleServices object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- locale_services (
-
class
com.vmware.nsx_policy.model_client.
ChildMacDiscoveryProfile
(mac_discovery_profile=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for MacDiscoveryProfile, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - mac_discovery_profile (
MacDiscoveryProfile
orNone
) – Contains the actual MacDiscoveryProfile object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- mac_discovery_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildMetadataProxyConfig
(metadata_proxy_config=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=None, tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Wrapper object for MetadataProxyConfig
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - metadata_proxy_config (
MetadataProxyConfig
orNone
) – Contains the actual MetadataProxyConfig object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- metadata_proxy_config (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyConfigResource
(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='ChildPolicyConfigResource', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents an object on the desired state
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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyContextProfile
(policy_context_profile=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='ChildPolicyContextProfile', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyContextProfile, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_context_profile (
PolicyContextProfile
orNone
) – Contains the actual PolicyContextProfile objects - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_context_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyDnsForwarder
(policy_dns_forwarder=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='ChildPolicyDnsForwarder', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyDnsForwarder, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_dns_forwarder (
PolicyDnsForwarder
orNone
) – Contains the actual PolicyDnsForwarder object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_dns_forwarder (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyDnsForwarderZone
(policy_dns_forwarder_zone=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='ChildPolicyDnsForwarderZone', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyDnsForwarderZone, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_dns_forwarder_zone (
PolicyDnsForwarderZone
orNone
) – Contains the actual PolicyDnsForwarderZone object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_dns_forwarder_zone (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyEdgeCluster
(policy_edge_cluster=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='ChildPolicyEdgeCluster', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyEdgeCluster, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_edge_cluster (
PolicyEdgeCluster
orNone
) – Contains the actual PolicyEdgeCluster object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_edge_cluster (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyEdgeNode
(policy_edge_node=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='ChildPolicyEdgeNode', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyEdgeNode, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_edge_node (
PolicyEdgeNode
orNone
) – Contains the actual PolicyEdgeNode object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_edge_node (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyExcludeList
(policy_exclude_list=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='ChildPolicyExcludeList', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Wrapper object for PolicyExcludeList
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_exclude_list (
PolicyExcludeList
orNone
) – Contains the actual policy exclude list object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_exclude_list (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyFirewallCPUMemThresholdsProfileBindingMap
(policy_firewall_cpu_mem_thresholds_profile_binding_map=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='ChildPolicyFirewallCPUMemThresholdsProfileBindingMap', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyFirewallCPUMemThresholdsProfileBindingMap, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_firewall_cpu_mem_thresholds_profile_binding_map (
PolicyFirewallCPUMemThresholdsProfileBindingMap
orNone
) – Contains the actual PolicyFirewallCPUMemThresholdsProfileBindingMap object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_firewall_cpu_mem_thresholds_profile_binding_map (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyFirewallCpuMemThresholdsProfile
(policy_firewall_cpu_mem_thresholds_profile=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='ChildPolicyFirewallCpuMemThresholdsProfile', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyFirewallCpuMemThresholdsProfile, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_firewall_cpu_mem_thresholds_profile (
PolicyFirewallCpuMemThresholdsProfile
orNone
) – Contains the actual PolicyFirewallCpuMemThresholdsProfile object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_firewall_cpu_mem_thresholds_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyFirewallFloodProtectionProfileBindingMap
(policy_firewall_flood_protection_profile_binding_map=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='ChildPolicyFirewallFloodProtectionProfileBindingMap', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyFirewallFloodProtectionProfileBindingMap, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_firewall_flood_protection_profile_binding_map (
PolicyFirewallFloodProtectionProfileBindingMap
orNone
) – Contains the actual PolicyFirewallFloodProtectionProfileBindingMap object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_firewall_flood_protection_profile_binding_map (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyFirewallScheduler
(policy_firewall_scheduler=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='ChildPolicyFirewallScheduler', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyFirewallScheduler, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_firewall_scheduler (
PolicyFirewallScheduler
orNone
) – Contains the actual PolicyFirewallScheduler objects - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_firewall_scheduler (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyFirewallSessionTimerProfile
(policy_firewall_session_timer_profile=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='ChildPolicyFirewallSessionTimerProfile', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyFirewallSessionTimerProfile, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_firewall_session_timer_profile (
PolicyFirewallSessionTimerProfile
orNone
) – Contains the actual PolicyFirewallSessionTimerProfile object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_firewall_session_timer_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyFirewallSessionTimerProfileBindingMap
(policy_firewall_session_timer_profile_binding_map=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='ChildPolicyFirewallSessionTimerProfileBindingMap', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyFirewallSessionTimerProfileBindingMap, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_firewall_session_timer_profile_binding_map (
PolicyFirewallSessionTimerProfileBindingMap
orNone
) – Contains the actual PolicyFirewallSessionTimerProfileBindingMap object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_firewall_session_timer_profile_binding_map (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyGroupReference
(policy_group_reference=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='ChildPolicyGroupReference', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyGroupReference, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_group_reference (
PolicyGroupReference
orNone
) – Contains the actual PolicyGroupReference object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_group_reference (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyIgmpProfile
(policy_igmp_profile=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='ChildPolicyIgmpProfile', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyIgmpProfile used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_igmp_profile (
PolicyIgmpProfile
orNone
) – Contains actual PolicyIgmpProfile. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_igmp_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyLabel
(policy_label=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='ChildPolicyLabel', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyLabel, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_label (
PolicyLabel
orNone
) – Contains the actual PolicyLabel object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_label (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyLbMonitorProfile
(policy_lb_monitor_profile=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='ChildPolicyLbMonitorProfile', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for PolicyLbMonitorProfile, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_lb_monitor_profile (
vmware.vapi.struct.VapiStruct
orNone
) – Contains the actual PolicyLbMonitorProfile object When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inPolicyLbMonitorProfile
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inPolicyLbMonitorProfile
. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_lb_monitor_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyLbPersistenceProfile
(policy_lb_persistence_profile=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='ChildPolicyLbPersistenceProfile', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for PolicyLbPersistenceProfile, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_lb_persistence_profile (
vmware.vapi.struct.VapiStruct
orNone
) – Contains the actual PolicyLbPersistenceProfile object When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inPolicyLbPersistenceProfile
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inPolicyLbPersistenceProfile
. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_lb_persistence_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyLbPoolAccess
(policy_lb_pool_access=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='ChildPolicyLbPoolAccess', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for PolicyLbPoolAccess, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_lb_pool_access (
PolicyLbPoolAccess
orNone
) – Contains the actual PolicyLbPoolAccess object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_lb_pool_access (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyLbRule
(policy_lb_rule=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='ChildPolicyLbRule', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for PolicyLbRule, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_lb_rule (
PolicyLbRule
orNone
) – Contains the actual PolicyLbRule object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_lb_rule (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyLbVirtualServer
(policy_lb_virtual_server=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='ChildPolicyLbVirtualServer', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for PolicyLbVirtualServer, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_lb_virtual_server (
vmware.vapi.struct.VapiStruct
orNone
) – Contains the actual PolicyLbVirtualServer object When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inPolicyLbVirtualServer
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inPolicyLbVirtualServer
. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_lb_virtual_server (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyMulticastConfig
(policy_multicast_config=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='ChildPolicyMulticastConfig', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyMulticastConfig used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_multicast_config (
PolicyMulticastConfig
orNone
) – Contains actual PolicyMulticastConfig. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_multicast_config (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyNat
(policy_nat=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='ChildPolicyNat', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyNat, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_nat (
PolicyNat
orNone
) – Contains the actual PolicyNAT object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_nat (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyNatRule
(policy_nat_rule=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='ChildPolicyNatRule', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyNatRule, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_nat_rule (
PolicyNatRule
orNone
) – Contains the actual PolicyNatRule object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_nat_rule (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyPimProfile
(policy_pim_profile=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='ChildPolicyPimProfile', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyPimProfile used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_pim_profile (
PolicyPimProfile
orNone
) – Contains actual PolicyPimProfile. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_pim_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyServiceChain
(policy_service_chain=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='ChildPolicyServiceChain', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyServiceInstance used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_service_chain (
PolicyServiceChain
orNone
) – Contains actual PolicyServiceChain. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_service_chain (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyServiceInstance
(policy_service_instance=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='ChildPolicyServiceInstance', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyServiceInstance used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_service_instance (
PolicyServiceInstance
orNone
) – Contains actual PolicyServiceInstance. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_service_instance (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyServiceProfile
(policy_service_profile=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='ChildPolicyServiceProfile', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyServiceProfile used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_service_profile (
PolicyServiceProfile
orNone
) – Contains actual PolicyServiceProfile. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_service_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyTransportZone
(policy_transport_zone=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='ChildPolicyTransportZone', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyTransportZone, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_transport_zone (
PolicyTransportZone
orNone
) – Contains the actual PolicyTransportZone object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_transport_zone (
-
class
com.vmware.nsx_policy.model_client.
ChildPolicyUrlCategorizationConfig
(policy_url_categorization_config=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='ChildPolicyUrlCategorizationConfig', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PolicyUrlCategorizationConfig, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - policy_url_categorization_config (
PolicyUrlCategorizationConfig
orNone
) – Contains the actual PolicyUrlCategorizationConfig object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- policy_url_categorization_config (
-
class
com.vmware.nsx_policy.model_client.
ChildPortDiscoveryProfileBindingMap
(port_discovery_profile_binding_map=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='ChildPortDiscoveryProfileBindingMap', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PortDiscoveryProfileBindingMap, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - port_discovery_profile_binding_map (
PortDiscoveryProfileBindingMap
orNone
) – Contains the actual PortDiscoveryProfileBindingMap object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- port_discovery_profile_binding_map (
-
class
com.vmware.nsx_policy.model_client.
ChildPortMirroringProfile
(port_mirroring_profile=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='ChildPortMirroringProfile', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PortMirroringProfile, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - port_mirroring_profile (
PortMirroringProfile
orNone
) – Contains the actual PortMirroringProfile object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- port_mirroring_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildPortMonitoringProfileBindingMap
(port_monitoring_profile_binding_map=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='ChildPortMonitoringProfileBindingMap', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PortMonitoringProfileBindingMap, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - port_monitoring_profile_binding_map (
PortMonitoringProfileBindingMap
orNone
) – Contains the actual PortMonitoringProfileBindingMap object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- port_monitoring_profile_binding_map (
-
class
com.vmware.nsx_policy.model_client.
ChildPortQosProfileBindingMap
(port_qos_profile_binding_map=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='ChildPortQoSProfileBindingMap', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PortQoSProfileBindingMap, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - port_qos_profile_binding_map (
PortQosProfileBindingMap
orNone
) – Contains the actual PortQoSProfileBindingMap object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- port_qos_profile_binding_map (
-
class
com.vmware.nsx_policy.model_client.
ChildPortSecurityProfileBindingMap
(port_security_profile_binding_map=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='ChildPortSecurityProfileBindingMap', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PortSecurityProfileBindingMap, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - port_security_profile_binding_map (
PortSecurityProfileBindingMap
orNone
) – Contains the actual PortSecurityProfileBindingMap object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- port_security_profile_binding_map (
-
class
com.vmware.nsx_policy.model_client.
ChildPrefixList
(prefix_list=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='ChildPrefixList', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for PrefixList, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - prefix_list (
PrefixList
orNone
) – Contains the actual PrefixList object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- prefix_list (
-
class
com.vmware.nsx_policy.model_client.
ChildQosProfile
(qos_profile=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='ChildQoSProfile', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for QoSProfile, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - qos_profile (
QosProfile
orNone
) – Contains the actual QoSProfile object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- qos_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildReaction
(reaction=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='ChildReaction', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for Reaction used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - reaction (
Reaction
orNone
) – Contains the actual Reaction object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- reaction (
-
class
com.vmware.nsx_policy.model_client.
ChildRedirectionPolicy
(redirection_policy=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='ChildRedirectionPolicy', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for RedirectionPolicy used in Hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - redirection_policy (
RedirectionPolicy
orNone
) – Contains actual RedirectionPolicy. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- redirection_policy (
-
class
com.vmware.nsx_policy.model_client.
ChildRedirectionRule
(redirection_rule=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='ChildRedirectionRule', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for ChildRedirectionRule used in Hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - redirection_rule (
RedirectionRule
orNone
) – Contains actual RedirectionRule. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- redirection_rule (
-
class
com.vmware.nsx_policy.model_client.
ChildResourceReference
(children=None, target_type=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='ChildResourceReference', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents a reference to ChildPolicyConfigResource in the hierarchical API. resource_type, id and target_type are mandatory fields.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - target_type (
str
orNone
) – The target type of this reference - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- children (
-
class
com.vmware.nsx_policy.model_client.
ChildRule
(rule=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='ChildRule', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for Rule, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - rule (
Rule
orNone
) – Contains the actual Rule object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- rule (
-
class
com.vmware.nsx_policy.model_client.
ChildSecurityPolicy
(security_policy=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='ChildSecurityPolicy', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for SecurityPolicy, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - security_policy (
SecurityPolicy
orNone
) – Contains the actual SecurityPolicy object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- security_policy (
-
class
com.vmware.nsx_policy.model_client.
ChildSecurityZone
(security_zone=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='ChildSecurityZone', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for SecurityZone, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - security_zone (
SecurityZone
orNone
) – Contains the actual SecurityZone object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- security_zone (
-
class
com.vmware.nsx_policy.model_client.
ChildSecurityZoneBinding
(security_zone_binding=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='ChildSecurityZoneBinding', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for SecurityZoneBinding, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - security_zone_binding (
SecurityZoneBinding
orNone
) – Security zone binding for a tier. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- security_zone_binding (
-
class
com.vmware.nsx_policy.model_client.
ChildSecurityZoneRule
(security_zone_rule=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='ChildSecurityZoneRule', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for SecurityZoneRule, used in hierarchical API This type is deprecated. Use the type ChildRule instead.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - security_zone_rule (
SecurityZoneRule
orNone
) – Contains the actual SecurityZoneRule object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- security_zone_rule (
-
class
com.vmware.nsx_policy.model_client.
ChildSegment
(segment=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='ChildSegment', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for Segment, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - segment (
Segment
orNone
) – Contains the actual Segment object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- segment (
-
class
com.vmware.nsx_policy.model_client.
ChildSegmentDiscoveryProfileBindingMap
(segment_discovery_profile_binding_map=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='ChildSegmentDiscoveryProfileBindingMap', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for SegmentDiscoveryProfileBindingMap, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - segment_discovery_profile_binding_map (
SegmentDiscoveryProfileBindingMap
orNone
) – Contains the actual SegmentDiscoveryProfileBindingMap object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- segment_discovery_profile_binding_map (
-
class
com.vmware.nsx_policy.model_client.
ChildSegmentMonitoringProfileBindingMap
(segment_monitoring_profile_binding_map=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='ChildSegmentMonitoringProfileBindingMap', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for SegmentMonitoringProfileBindingMap, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - segment_monitoring_profile_binding_map (
SegmentMonitoringProfileBindingMap
orNone
) – Contains the actual SegmentMonitoringProfileBindingMap object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- segment_monitoring_profile_binding_map (
-
class
com.vmware.nsx_policy.model_client.
ChildSegmentPort
(segment_port=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='ChildSegmentPort', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for SegmentPort, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - segment_port (
SegmentPort
orNone
) – Contains the actual SegmentPort object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- segment_port (
-
class
com.vmware.nsx_policy.model_client.
ChildSegmentQosProfileBindingMap
(segment_qos_profile_binding_map=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='ChildSegmentQoSProfileBindingMap', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for SegmentQoSProfileBindingMap, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - segment_qos_profile_binding_map (
SegmentQosProfileBindingMap
orNone
) – Contains the actual SegmentQoSProfileBindingMap object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- segment_qos_profile_binding_map (
-
class
com.vmware.nsx_policy.model_client.
ChildSegmentSecurityProfile
(segment_security_profile=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='ChildSegmentSecurityProfile', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for SegmentSecurityProfile, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - segment_security_profile (
SegmentSecurityProfile
orNone
) – Contains the actual SegmentSecurityProfile object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- segment_security_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildSegmentSecurityProfileBindingMap
(segment_security_profile_binding_map=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='ChildSegmentSecurityProfileBindingMap', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for SegmentSecurityProfileBindingMap, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - segment_security_profile_binding_map (
SegmentSecurityProfileBindingMap
orNone
) – Contains the actual SegmentSecurityProfileBindingMap object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- segment_security_profile_binding_map (
-
class
com.vmware.nsx_policy.model_client.
ChildService
(service=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='ChildService', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for Service, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - service (
Service
orNone
) – Contains the actual Service object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- service (
-
class
com.vmware.nsx_policy.model_client.
ChildServiceEntry
(service=None, service_entry=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='ChildServiceEntry', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for ServiceEntry, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - service (
vmware.vapi.struct.VapiStruct
orNone
) – This is a deprecated property, Please use ‘ServiceEntry’ instead. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inServiceEntry
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inServiceEntry
. - service_entry (
vmware.vapi.struct.VapiStruct
orNone
) – Contains the actual ServiceEntry object. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inServiceEntry
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inServiceEntry
. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- service (
-
class
com.vmware.nsx_policy.model_client.
ChildServiceInstanceEndpoint
(service_instance_endpoint=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='ChildServiceInstanceEndpoint', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for ServiceInstanceEndpoint used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - service_instance_endpoint (
ServiceInstanceEndpoint
orNone
) – Contains actual ServiceInstanceEndpoint. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- service_instance_endpoint (
-
class
com.vmware.nsx_policy.model_client.
ChildServiceInterface
(service_interface=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='ChildServiceInterface', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for ServiceInterface, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - service_interface (
ServiceInterface
orNone
) – Contains the actual ServiceInterface object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- service_interface (
-
class
com.vmware.nsx_policy.model_client.
ChildServiceReference
(service_reference=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='ChildServiceReference', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for ServiceReference used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - service_reference (
ServiceReference
orNone
) – Contains actual ServiceReference. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- service_reference (
-
class
com.vmware.nsx_policy.model_client.
ChildServiceSegment
(service_segment=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='ChildServiceSegment', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for ServiceSegment, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - service_segment (
ServiceSegment
orNone
) – Contains the actual ServiceSegment objects - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- service_segment (
-
class
com.vmware.nsx_policy.model_client.
ChildSessionTimerProfileBindingMap
(session_timer_profile_binding_map=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='ChildSessionTimerProfileBindingMap', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for SessionTimerProfileBindingMap, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - session_timer_profile_binding_map (
SessionTimerProfileBindingMap
orNone
) – Contains the actual SessionTimerProfileBindingMap object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- session_timer_profile_binding_map (
-
class
com.vmware.nsx_policy.model_client.
ChildSite
(site=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='ChildSite', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for Site, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - site (
Site
orNone
) – Contains the actual Site object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- site (
-
class
com.vmware.nsx_policy.model_client.
ChildSpoofGuardProfile
(spoof_guard_profile=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='ChildSpoofGuardProfile', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for SpoofGuardProfile, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - spoof_guard_profile (
SpoofGuardProfile
orNone
) – Contains the actual SpoofGuardProfile object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- spoof_guard_profile (
-
class
com.vmware.nsx_policy.model_client.
ChildSslTrustObjectData
(ssl_trust_object_data=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='ChildSslTrustObjectData', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for SslTrustObjectData, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ssl_trust_object_data (
SslTrustObjectData
orNone
) – Contains the actual SslTrustObjectData object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- ssl_trust_object_data (
-
class
com.vmware.nsx_policy.model_client.
ChildStandaloneHostIdfwConfiguration
(standalone_host_idfw_configuration=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='ChildStandaloneHostIdfwConfiguration', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Wrapper object for StandaloneHostIdfwConfiguration
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - standalone_host_idfw_configuration (
StandaloneHostIdfwConfiguration
orNone
) – Contains the actual standalone host idfw configuration object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- standalone_host_idfw_configuration (
-
class
com.vmware.nsx_policy.model_client.
ChildStaticARPConfig
(static_arp_config=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='ChildStaticARPConfig', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for StaticARPConfig, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - static_arp_config (
StaticARPConfig
orNone
) – Contains the actual StaticARPConfig object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- static_arp_config (
-
class
com.vmware.nsx_policy.model_client.
ChildStaticRouteBfdPeer
(bfd_peer=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='ChildStaticRouteBfdPeer', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for StaticRouteBfdPeer, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - bfd_peer (
StaticRouteBfdPeer
orNone
) – Contains the actual StaticRouteBfdPeer object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- bfd_peer (
-
class
com.vmware.nsx_policy.model_client.
ChildStaticRoutes
(static_routes=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='ChildStaticRoutes', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for StaticRoutes, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - static_routes (
StaticRoutes
orNone
) – Contains the actual StaticRoutes object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- static_routes (
-
class
com.vmware.nsx_policy.model_client.
ChildTier0
(tier0=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='ChildTier0', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for Tier-0, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - tier0 (
Tier0
orNone
) – Contains the actual Tier-0 object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- tier0 (
-
class
com.vmware.nsx_policy.model_client.
ChildTier0DeploymentMap
(tier0_deployment_map=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='ChildTier0DeploymentMap', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for Tier0DeploymentMap, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - tier0_deployment_map (
Tier0DeploymentMap
orNone
) – Contains the actual Tier0DeploymentMap object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- tier0_deployment_map (
-
class
com.vmware.nsx_policy.model_client.
ChildTier0Interface
(tier0_interface=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='ChildTier0Interface', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for Tier0Interface, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - tier0_interface (
Tier0Interface
orNone
) – Contains the actual Tier0Interface object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- tier0_interface (
-
class
com.vmware.nsx_policy.model_client.
ChildTier0RouteMap
(tier0_route_map=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='ChildTier0RouteMap', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for Tier0RouteMap, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - tier0_route_map (
Tier0RouteMap
orNone
) – Contains the actual Tier0RouteMap object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- tier0_route_map (
-
class
com.vmware.nsx_policy.model_client.
ChildTier1
(tier1=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='ChildTier1', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for Tier-1 , used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - tier1 (
Tier1
orNone
) – Contains the actual Tier-1 object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- tier1 (
-
class
com.vmware.nsx_policy.model_client.
ChildTier1DeploymentMap
(tier1_deployment_map=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='ChildTier1DeploymentMap', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for Tier1DeploymentMap, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - tier1_deployment_map (
Tier1DeploymentMap
orNone
) – Contains the actual Tier1DeploymentMap object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- tier1_deployment_map (
-
class
com.vmware.nsx_policy.model_client.
ChildTier1Interface
(tier1_interface=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='ChildTier1Interface', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for Tier1Interface, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - tier1_interface (
Tier1Interface
orNone
) – Contains the actual Tier1Interface object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- tier1_interface (
-
class
com.vmware.nsx_policy.model_client.
ChildTlsCertificate
(tls_certificate=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='ChildTlsCertificate', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for TlsCertificate, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - tls_certificate (
TlsCertificate
orNone
) – Contains the actual TlsCertificate object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- tls_certificate (
-
class
com.vmware.nsx_policy.model_client.
ChildTlsCrl
(tls_crl=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='ChildTlsCrl', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for TlsCrl, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - tls_crl (
TlsCrl
orNone
) – Contains the actual TlsCrl object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- tls_crl (
-
class
com.vmware.nsx_policy.model_client.
ChildTlsTrustData
(tls_trust_data=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='ChildTlsTrustData', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for TlsTrustData, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - tls_trust_data (
TlsTrustData
orNone
) – Contains the actual TlsTrustData object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- tls_trust_data (
-
class
com.vmware.nsx_policy.model_client.
ChildTraceflowConfig
(traceflow_config=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='ChildTraceflowConfig', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper for TraceflowConfig, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - traceflow_config (
TraceflowConfig
orNone
) – Contains the actual TraceflowConfig object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- traceflow_config (
-
class
com.vmware.nsx_policy.model_client.
ChildVhc
(vhc=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='ChildVhc', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for VHC, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - vhc (
Vhc
orNone
) – Contains the actual VHC object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- vhc (
-
class
com.vmware.nsx_policy.model_client.
ChildVhcDnsConfig
(vhc_dns_config=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='ChildVhcDnsConfig', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for VhcDnsConfig, used in hierarchical API
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - vhc_dns_config (
VhcDnsConfig
orNone
) – Contains the actual VhcDnsConfig object - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- vhc_dns_config (
-
class
com.vmware.nsx_policy.model_client.
ChildVirtualEndpoint
(virtual_endpoint=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='ChildVirtualEndpoint', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for VirtualEndpoint used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - virtual_endpoint (
VirtualEndpoint
orNone
) – Contains reference to actual VirtualEndpoint. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- virtual_endpoint (
-
class
com.vmware.nsx_policy.model_client.
ChildVniPoolConfig
(vni_pool_config=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='ChildVniPoolConfig', tags=None, mark_for_override=None, marked_for_delete=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Child wrapper object for VniPoolConfig, used in hierarchical API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - vni_pool_config (
VniPoolConfig
orNone
) – Contains the actual VniPoolConfig object. - 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
) – - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - mark_for_override (
bool
orNone
) – Indicates whether this object is the overridden intent object Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. - marked_for_delete (
bool
orNone
) – If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.
-
resource_type
¶ Return the discriminator value
- vni_pool_config (
-
class
com.vmware.nsx_policy.model_client.
ClasslessStaticRoute
(network=None, next_hop=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DHCP classless static route option.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - network (
str
orNone
) – Destination network in CIDR format. format: address-or-block-or-range - next_hop (
str
orNone
) – IP address of next hop of the route. format: ip
- network (
-
class
com.vmware.nsx_policy.model_client.
CloudNativeServiceInstance
(external_id=None, service_type=None, source=None, links=None, schema=None, self_=None, last_sync_time=None, description=None, display_name=None, resource_type=None, tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Stores the information about cloud native service instance.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - external_id (
str
orNone
) – Id of service instance fetched from public cloud. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - service_type (
str
orNone
) – Type of cloud native 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. - source (
ResourceReference
orNone
) – Reference of the public cloud gateway that reported the service instance. - 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 - last_sync_time (
long
orNone
) – Timestamp of last modification format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - description (
str
orNone
) – Description of this resource - display_name (
str
orNone
) – Defaults to ID if not set - resource_type (
str
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
resource_type
¶ Return the discriminator value
- external_id (
-
class
com.vmware.nsx_policy.model_client.
ClusterBackupInfo
(ip_address=None, node_id=None, restore_type=None, timestamp=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Cluster backup details
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_address (
str
orNone
) – IP address or FQDN of the node from which the backup was taken format: hostname-or-ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - node_id (
str
orNone
) – ID of the node from which the backup was taken This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - restore_type (
list
ofstr
orNone
) –Possible values are:
Type of restore allowedThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- timestamp (
long
orNone
) – timestamp of the cluster backup file 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.
-
RESTORE_TYPE_POLICY_ONLY_RESTORE
= 'POLICY_ONLY_RESTORE'¶
-
RESTORE_TYPE_REGULAR_RESTORE
= 'REGULAR_RESTORE'¶
- ip_address (
-
class
com.vmware.nsx_policy.model_client.
ClusterBackupInfoListResult
(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
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
ofClusterBackupInfo
orNone
) – List of timestamps of backed-up cluster files 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_policy.model_client.
ClusterRestoreStatus
(backup_timestamp=None, endpoints=None, id=None, instructions=None, restore_end_time=None, restore_start_time=None, status=None, step=None, total_steps=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Cluster restore status
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - backup_timestamp (
long
orNone
) – Timestamp when backup was initiated in epoch millisecond 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. - endpoints (
list
ofResourceLink
orNone
) – The list of allowed endpoints, based on the current state of the restore process 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
) – Unique id for backup request This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - instructions (
list
ofInstructionInfo
orNone
) – Instructions for users to reconcile Restore operations This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - restore_end_time (
long
orNone
) – Timestamp when restore was completed in epoch millisecond 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. - restore_start_time (
long
orNone
) – Timestamp when restore was started in epoch millisecond format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - status (
GlobalRestoreStatus
orNone
) – - step (
RestoreStep
orNone
) – - total_steps (
long
orNone
) – Total number of steps in the entire restore process 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.
- backup_timestamp (
-
class
com.vmware.nsx_policy.model_client.
ColumnItem
(column_identifier=None, drilldown_id=None, field=None, hidden=None, label=None, navigation=None, render_configuration=None, sort_ascending=None, sort_key=None, tooltip=None, type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents a column of the Grid
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - column_identifier (
str
orNone
) – Identifies the column and used for fetching content upon an user click or drilldown. If column identifier is not provided, the column’s data will not participate in searches and drilldowns. - drilldown_id (
str
orNone
) – Id of drilldown widget, if any. Id should be a valid id of an existing widget. - field (
str
orNone
) – Field from which values of the column will be derived. - hidden (
bool
orNone
) – If set to true, hides the column - label (
Label
orNone
) – Label of the column. - navigation (
str
orNone
) – Hyperlink of the specified UI page that provides details. If drilldown_id is provided, then navigation cannot be used. - render_configuration (
list
ofRenderConfiguration
orNone
) – Render configuration to be applied, if any. - sort_ascending (
bool
orNone
) – If true, the value of the column are sorted in ascending order. Otherwise, in descending order. - sort_key (
str
orNone
) – Sorting on column is based on the sort_key. sort_key represents the field in the output data on which sort is requested. - tooltip (
list
ofTooltip
orNone
) – Multi-line text to be shown on tooltip while hovering over a cell in the grid. - type (
str
orNone
) –Possible values are:
Data type of the field.
-
TYPE_DATE
= 'Date'¶
-
TYPE_NUMBER
= 'Number'¶
-
TYPE_STRING
= 'String'¶
- column_identifier (
-
class
com.vmware.nsx_policy.model_client.
CommunicationEntry
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, action=None, destination_groups=None, direction=None, disabled=None, logged=None, notes=None, scope=None, sequence_number=None, services=None, source_groups=None, tag=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A communication entry indicates the action to be performed for various types of traffic flowing between workload groups. This type is deprecated. Use the type Rule instead.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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 (
str
orNone
) –Possible values are:
The action to be applied to all the services. - destination_groups (
list
ofstr
orNone
) – We need paths as duplicate names may exist for groups under different domains.In order to specify all groups, use the constant “ANY”. This is case insensitive. If “ANY” is used, it should be the ONLY element in the group array. Error will be thrown if ANY is used in conjunction with other values. - direction (
str
orNone
) –Possible values are:
CommunicationEntry.DIRECTION_IN
CommunicationEntry.DIRECTION_OUT
CommunicationEntry.DIRECTION_IN_OUT
Define direction of traffic. - disabled (
bool
orNone
) – Flag to disable the rule. Default is enabled. - logged (
bool
orNone
) – Flag to enable packet logging. Default is disabled. - notes (
str
orNone
) – Text for additional notes on changes. - scope (
list
ofstr
orNone
) – The list of policy paths where the communication entry is applied Edge/LR/T0/T1/LRP/CGW/MGW/etc. Note that a given rule can be applied on multiple LRs/LRPs. - sequence_number (
long
orNone
) – This field is used to resolve conflicts between multiple CommunicationEntries under CommunicationMap for a Domain If no sequence number is specified in the payload, a value of 0 is assigned by default. If there are multiple communication entries with the same sequence number then their order is not deterministic. If a specific order of communication entry is desired, then one has to specify unique sequence numbers or use the POST request on the communication entry entity with a query parameter action=revise to let the framework assign a sequence number format: int32 - services (
list
ofstr
orNone
) – In order to specify all services, use the constant “ANY”. This is case insensitive. If “ANY” is used, it should be the ONLY element in the services array. Error will be thrown if ANY is used in conjunction with other values. - source_groups (
list
ofstr
orNone
) – We need paths as duplicate names may exist for groups under different domains. In order to specify all groups, use the constant “ANY”. This is case insensitive. If “ANY” is used, it should be the ONLY element in the group array. Error will be thrown if ANY is used in conjunction with other values. - tag (
str
orNone
) – User level field which will be printed in CLI and packet logs.
-
ACTION_ALLOW
= 'ALLOW'¶
-
ACTION_DROP
= 'DROP'¶
-
ACTION_REJECT
= 'REJECT'¶
-
DIRECTION_IN
= 'IN'¶
-
DIRECTION_IN_OUT
= 'IN_OUT'¶
-
DIRECTION_OUT
= 'OUT'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
CommunicationEntryListResult
(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
This type is deprecated. Use the type RuleListResult instead.
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
ofCommunicationEntry
orNone
) – CommunicationEntry list results
- links (
-
class
com.vmware.nsx_policy.model_client.
CommunicationInsertParameters
(anchor_path=None, operation=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Parameters to let the admin specify a relative position of a communication map or communication entry w.r.t to another one. This type is deprecated. Use the type RuleInsertParameters instead.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - anchor_path (
str
orNone
) – The communication map/communication entry path if operation is ‘insert_after’ or ‘insert_before’ - operation (
str
orNone
) –Possible values are:
CommunicationInsertParameters.OPERATION_TOP
CommunicationInsertParameters.OPERATION_BOTTOM
CommunicationInsertParameters.OPERATION_AFTER
CommunicationInsertParameters.OPERATION_BEFORE
Operation
-
OPERATION_AFTER
= 'insert_after'¶
-
OPERATION_BEFORE
= 'insert_before'¶
-
OPERATION_BOTTOM
= 'insert_bottom'¶
-
OPERATION_TOP
= 'insert_top'¶
- anchor_path (
-
class
com.vmware.nsx_policy.model_client.
CommunicationMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, category=None, communication_entries=None, precedence=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Ordered list of CommunicationEntries. This object is created by default along with the Domain. This type is deprecated. Use the type SecurityPolicy instead.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - category (
str
orNone
) –- Distributed Firewall - Policy framework for Distributed Firewall
provides four pre-defined categories for classifying a communication map. They are “Emergency”, “Infrastructure”, “Environment” and “Application”. Amongst the layer 3 communication maps,there is a pre-determined order in which the policy framework manages the priority of these communication maps. Emergency category has the highest priority followed by Infrastructure, Environment and then Application rules. Administrator can choose to categorize a communication map into the above categories or can choose to leave it empty. If empty it will have the least precedence w.r.t the above four layer 3 categories.
- communication_entries (
list
ofCommunicationEntry
orNone
) – CommunicationEntries that are a part of this CommunicationMap - precedence (
long
orNone
) – This field is used to resolve conflicts between communication maps across domains. In order to change the precedence of a communication map one can fire a POST request on the communication map entity with a query parameter action=revise The precedence field will reflect the value of the computed precedence upon execution of the above mentioned POST request. For scenarios where the administrator is using a template to update several communication maps, the only way to set the precedence is to explicitly specify the precedence number for each communication map. If no precedence is specified in the payload, a value of 0 is assigned by default. If there are multiple communication maps with the same precedence then their order is not deterministic. If a specific order of communication map is desired, then one has to specify a unique precedence or use the POST request on the communication map entity with a query parameter action=revise to let the framework assign a precedence format: int32
- links (
-
class
com.vmware.nsx_policy.model_client.
CommunicationMapListResult
(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
This type is deprecated. Use the type SecurityPolicyListResult instead.
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
ofCommunicationMap
orNone
) – CommunicationMap list results
- links (
-
class
com.vmware.nsx_policy.model_client.
CommunityList
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, communities=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Community list for BGP routing configuration
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - communities (
list
ofstr
orNone
) – List of BGP community entries. Both standard and large communities are supported. Standard community format: aa:nn where aa and nn must be within the range [1 - 65536]. Large BGP Community format: aa:bb:nn where aa (Global Administrator), bb (Local Data Part 1) and nn (Local Data Part 2) must be within the range [1 - 4294967295]. In additon to numbered communites (e.g. 3356:2040), predefined communities (NO_EXPORT, NO_ADVERTISE, NO_EXPORT_SUBCONFED) are supported.
- links (
-
class
com.vmware.nsx_policy.model_client.
CommunityListListResult
(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
Paged collection of CommunityLists
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
ofCommunityList
orNone
) – CommunityList results
- links (
-
class
com.vmware.nsx_policy.model_client.
CommunityMatchCriteria
(criteria=None, match_operator=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Match criteria based on a community list
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - criteria (
str
orNone
) – Match criteria specified as a community list path or a regular expression. - match_operator (
str
orNone
) –Possible values are:
CommunityMatchCriteria.MATCH_OPERATOR_ANY
CommunityMatchCriteria.MATCH_OPERATOR_ALL
CommunityMatchCriteria.MATCH_OPERATOR_EXACT
CommunityMatchCriteria.MATCH_OPERATOR_COMMUNITY_REGEX
CommunityMatchCriteria.MATCH_OPERATOR_LARGE_COMMUNITY_REGEX
Match operator for community list entries. Not valid when a regular expression is specified for criteria.
-
MATCH_OPERATOR_ALL
= 'MATCH_ALL'¶
-
MATCH_OPERATOR_ANY
= 'MATCH_ANY'¶
-
MATCH_OPERATOR_COMMUNITY_REGEX
= 'MATCH_COMMUNITY_REGEX'¶
-
MATCH_OPERATOR_EXACT
= 'MATCH_EXACT'¶
-
MATCH_OPERATOR_LARGE_COMMUNITY_REGEX
= 'MATCH_LARGE_COMMUNITY_REGEX'¶
- criteria (
-
class
com.vmware.nsx_policy.model_client.
ComputeClusterIdfwConfiguration
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, cluster_idfw_enabled=None, member=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Idfw configuration for enable/disable idfw on cluster level.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - cluster_idfw_enabled (
bool
orNone
) – If set to true, idfw is enabled for this cluster - member (
PolicyResourceReference
orNone
) – Contains actual policy resource reference object
- links (
-
class
com.vmware.nsx_policy.model_client.
ComputeClusterIdfwConfigurationListResult
(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
Paged collection of compute cluster idfw configuration
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
ofComputeClusterIdfwConfiguration
orNone
) – Compute cluster wise identity firewall configuration list results
- links (
-
class
com.vmware.nsx_policy.model_client.
ComputeCollection
(cm_local_id=None, external_id=None, origin_id=None, origin_properties=None, origin_type=None, owner_id=None, links=None, schema=None, self_=None, last_sync_time=None, description=None, display_name=None, resource_type=None, tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - cm_local_id (
str
orNone
) – Local Id of the compute collection in the Compute Manager This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - external_id (
str
orNone
) – External ID of the ComputeCollection in the source Compute manager, e.g. mo-ref in VC This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - origin_id (
str
orNone
) – Id of the compute manager from where this Compute Collection was discovered This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - origin_properties (
list
ofKeyValuePair
orNone
) – Key-Value map of additional specific properties of compute collection in the Compute Manager This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - origin_type (
str
orNone
) – ComputeCollection type like VC_Cluster. Here the Compute Manager type prefix would help in differentiating similar named Compute Collection types from different Compute Managers This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - owner_id (
str
orNone
) – Id of the owner of compute collection in the Compute Manager 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 (
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 - last_sync_time (
long
orNone
) – Timestamp of last modification format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - description (
str
orNone
) – Description of this resource - display_name (
str
orNone
) – Defaults to ID if not set - resource_type (
str
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
resource_type
¶ Return the discriminator value
- cm_local_id (
-
class
com.vmware.nsx_policy.model_client.
Condition
(key=None, member_type=None, operator=None, value=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='Condition', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents the leaf level condition. Evaluation of the condition expression will be case insensitive.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - key (
str
orNone
) –Possible values are:
Key - member_type (
str
orNone
) –Possible values are:
Condition.MEMBER_TYPE_IPSET
Condition.MEMBER_TYPE_VIRTUALMACHINE
Condition.MEMBER_TYPE_LOGICALPORT
Condition.MEMBER_TYPE_LOGICALSWITCH
Condition.MEMBER_TYPE_SEGMENT
Condition.MEMBER_TYPE_SEGMENTPORT
Group member type - operator (
str
orNone
) –Possible values are:
Condition.OPERATOR_EQUALS
Condition.OPERATOR_CONTAINS
Condition.OPERATOR_STARTSWITH
Condition.OPERATOR_ENDSWITH
Condition.OPERATOR_NOTEQUALS
operator - value (
str
orNone
) – Value - 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
) –Possible values are:
Expression.RESOURCE_TYPE_CONDITION
Expression.RESOURCE_TYPE_CONJUNCTIONOPERATOR
Expression.RESOURCE_TYPE_NESTEDEXPRESSION
Expression.RESOURCE_TYPE_IPADDRESSEXPRESSION
Expression.RESOURCE_TYPE_MACADDRESSEXPRESSION
Expression.RESOURCE_TYPE_EXTERNALIDEXPRESSION
Expression.RESOURCE_TYPE_PATHEXPRESSION
Expression.RESOURCE_TYPE_IDENTITYGROUPEXPRESSION
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
KEY_COMPUTERNAME
= 'ComputerName'¶
-
KEY_NAME
= 'Name'¶
-
KEY_OSNAME
= 'OSName'¶
-
KEY_TAG
= 'Tag'¶
-
MEMBER_TYPE_IPSET
= 'IPSet'¶
-
MEMBER_TYPE_LOGICALPORT
= 'LogicalPort'¶
-
MEMBER_TYPE_LOGICALSWITCH
= 'LogicalSwitch'¶
-
MEMBER_TYPE_SEGMENT
= 'Segment'¶
-
MEMBER_TYPE_SEGMENTPORT
= 'SegmentPort'¶
-
MEMBER_TYPE_VIRTUALMACHINE
= 'VirtualMachine'¶
-
OPERATOR_CONTAINS
= 'CONTAINS'¶
-
OPERATOR_ENDSWITH
= 'ENDSWITH'¶
-
OPERATOR_EQUALS
= 'EQUALS'¶
-
OPERATOR_NOTEQUALS
= 'NOTEQUALS'¶
-
OPERATOR_STARTSWITH
= 'STARTSWITH'¶
-
resource_type
¶ Return the discriminator value
- key (
-
class
com.vmware.nsx_policy.model_client.
ConditionalValueConstraintExpression
(operator=None, rhs_value=None, value_constraint=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents the leaf level expression to restrict the target attribute value based on the set of existing values. Generally, used in combination with RelatedAttributeConditionalExpression to constraint the values related to another attribute on the same resource. This object is always used in conjunction with some exression. Example - { “condition” : { “operator”:”INCLUDES”, “rhs_value”: [“/infra/domains/mgw/groups/VCENTER”, “/infra/domains/mgw/groups/SRM”, “/infra/domains/mgw/groups/NSX”], “value_constraint”: { “resource_type”: “ValueConstraintExpression”, “operator”:”EXCLUDES”, “values”:[“/infra/domains/mgw/groups/VCENTER”, “/infra/domains/mgw/groups/SRM”, “/infra/domains/mgw/groups/NSX”] } }
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - operator (
str
orNone
) –Possible values are:
ConditionalValueConstraintExpression.OPERATOR_INCLUDES
ConditionalValueConstraintExpression.OPERATOR_EXCLUDES
ConditionalValueConstraintExpression.OPERATOR_EQUALS
Set operation to constraint values. - rhs_value (
list
ofstr
orNone
) – List of values. - value_constraint (
ValueConstraintExpression
orNone
) – Values to apply the conditional constraint on target.
-
OPERATOR_EQUALS
= 'EQUALS'¶
-
OPERATOR_EXCLUDES
= 'EXCLUDES'¶
-
OPERATOR_INCLUDES
= 'INCLUDES'¶
- operator (
-
class
com.vmware.nsx_policy.model_client.
ConfigurationState
(details=None, failure_code=None, failure_message=None, state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Describes status of configuration of an entity
Tip
The arguments are used to initialize data attributes with the same names.
-
STATE_APPLIANCE_INTERNAL_ERROR
= 'APPLIANCE_INTERNAL_ERROR'¶
-
STATE_EDGE_CONFIG_ERROR
= 'EDGE_CONFIG_ERROR'¶
-
STATE_EDGE_HARDWARE_NOT_SUPPORTED
= 'EDGE_HARDWARE_NOT_SUPPORTED'¶
-
STATE_EDGE_NODE_VERSION_NOT_SUPPORTED
= 'EDGE_NODE_VERSION_NOT_SUPPORTED'¶
-
STATE_ERROR
= 'error'¶
-
STATE_FAILED
= 'failed'¶
-
STATE_HOSTSWITCH_PROFILE_NOT_FOUND
= 'HOSTSWITCH_PROFILE_NOT_FOUND'¶
-
STATE_INVALID_PNIC_DEVICE_NAME
= 'INVALID_PNIC_DEVICE_NAME'¶
-
STATE_IN_PROGRESS
= 'in_progress'¶
-
STATE_IN_SYNC
= 'in_sync'¶
-
STATE_LACP_NOT_SUPPORTED_FOR_EDGE_VM
= 'LACP_NOT_SUPPORTED_FOR_EDGE_VM'¶
-
STATE_LBSRCID_NOT_SUPPORTED_FOR_EDGE_VM
= 'LBSRCID_NOT_SUPPORTED_FOR_EDGE_VM'¶
-
STATE_LLDP_SEND_ENABLED_NOT_SUPPORTED
= 'LLDP_SEND_ENABLED_NOT_SUPPORTED'¶
-
STATE_MPA_DISCONNECTED
= 'MPA_DISCONNECTED'¶
-
STATE_MULTIPLE_ACTIVE_UPLINKS_NOT_SUPPORTED_FOR_EDGE
= 'MULTIPLE_ACTIVE_UPLINKS_NOT_SUPPORTED_FOR_EDGE'¶
-
STATE_MULTIPLE_OVERLAY_TZS_NOT_SUPPORTED
= 'MULTIPLE_OVERLAY_TZS_NOT_SUPPORTED'¶
-
STATE_NODE_NOT_READY
= 'NODE_NOT_READY'¶
-
STATE_NODE_READY
= 'NODE_READY'¶
-
STATE_NOT_AVAILABLE
= 'NOT_AVAILABLE'¶
-
STATE_NO_PNIC_PREPARED_IN_EDGE
= 'NO_PNIC_PREPARED_IN_EDGE'¶
-
STATE_NO_PNIC_SPECIFIED_IN_TN
= 'NO_PNIC_SPECIFIED_IN_TN'¶
-
STATE_ORPHANED
= 'orphaned'¶
-
STATE_PARTIAL_SUCCESS
= 'partial_success'¶
-
STATE_PENDING
= 'pending'¶
-
STATE_REGISTRATION_FAILED
= 'REGISTRATION_FAILED'¶
-
STATE_REGISTRATION_PENDING
= 'REGISTRATION_PENDING'¶
-
STATE_REGISTRATION_TIMEDOUT
= 'REGISTRATION_TIMEDOUT'¶
-
STATE_STANDBY_UPLINKS_NOT_SUPPORTED_FOR_EDGE_VM
= 'STANDBY_UPLINKS_NOT_SUPPORTED_FOR_EDGE_VM'¶
-
STATE_SUCCESS
= 'success'¶
-
STATE_TN_OVERLAY_TZ_IN_USE_BY_EDGE_CLUSTER
= 'TN_OVERLAY_TZ_IN_USE_BY_EDGE_CLUSTER'¶
-
STATE_TRANSPORT_NODE_CONFIGURATION_MISSING
= 'TRANSPORT_NODE_CONFIGURATION_MISSING'¶
-
STATE_TRANSPORT_NODE_READY
= 'TRANSPORT_NODE_READY'¶
-
STATE_TRANSPORT_NODE_SYNC_PENDING
= 'TRANSPORT_NODE_SYNC_PENDING'¶
-
STATE_TZ_ENDPOINTS_NOT_SPECIFIED
= 'TZ_ENDPOINTS_NOT_SPECIFIED'¶
-
STATE_UNKNOWN
= 'unknown'¶
-
STATE_UNSUPPORTED_DEFAULT_TEAMING_POLICY
= 'UNSUPPORTED_DEFAULT_TEAMING_POLICY'¶
-
STATE_UNSUPPORTED_HOST_SWITCH_PROFILE
= 'UNSUPPORTED_HOST_SWITCH_PROFILE'¶
-
STATE_UNSUPPORTED_LACP_LB_ALGO_FOR_NODE
= 'UNSUPPORTED_LACP_LB_ALGO_FOR_NODE'¶
-
STATE_UNSUPPORTED_NAMED_TEAMING_POLICY
= 'UNSUPPORTED_NAMED_TEAMING_POLICY'¶
-
STATE_UPLINK_HOST_SWITCH_PROFILE_NOT_SPECIFIED
= 'UPLINK_HOST_SWITCH_PROFILE_NOT_SPECIFIED'¶
-
STATE_VM_CONFIG_DISCREPANCY
= 'VM_CONFIG_DISCREPANCY'¶
-
STATE_VM_CONFIG_EDIT_FAILED
= 'VM_CONFIG_EDIT_FAILED'¶
-
STATE_VM_CONFIG_EDIT_PENDING
= 'VM_CONFIG_EDIT_PENDING'¶
-
STATE_VM_DEPLOYMENT_FAILED
= 'VM_DEPLOYMENT_FAILED'¶
-
STATE_VM_DEPLOYMENT_IN_PROGRESS
= 'VM_DEPLOYMENT_IN_PROGRESS'¶
-
STATE_VM_DEPLOYMENT_QUEUED
= 'VM_DEPLOYMENT_QUEUED'¶
-
STATE_VM_DEPLOYMENT_RESTARTED
= 'VM_DEPLOYMENT_RESTARTED'¶
-
STATE_VM_NETWORK_EDIT_FAILED
= 'VM_NETWORK_EDIT_FAILED'¶
-
STATE_VM_NETWORK_EDIT_PENDING
= 'VM_NETWORK_EDIT_PENDING'¶
-
STATE_VM_NODE_REFRESH_FAILED
= 'VM_NODE_REFRESH_FAILED'¶
-
STATE_VM_PLACEMENT_REFRESH_FAILED
= 'VM_PLACEMENT_REFRESH_FAILED'¶
-
STATE_VM_POWER_OFF_FAILED
= 'VM_POWER_OFF_FAILED'¶
-
STATE_VM_POWER_OFF_IN_PROGRESS
= 'VM_POWER_OFF_IN_PROGRESS'¶
-
STATE_VM_POWER_ON_FAILED
= 'VM_POWER_ON_FAILED'¶
-
STATE_VM_POWER_ON_IN_PROGRESS
= 'VM_POWER_ON_IN_PROGRESS'¶
-
STATE_VM_RENAME_FAILED
= 'VM_RENAME_FAILED'¶
-
STATE_VM_RENAME_PENDING
= 'VM_RENAME_PENDING'¶
-
STATE_VM_UNDEPLOY_FAILED
= 'VM_UNDEPLOY_FAILED'¶
-
STATE_VM_UNDEPLOY_IN_PROGRESS
= 'VM_UNDEPLOY_IN_PROGRESS'¶
-
STATE_VM_UNDEPLOY_SUCCESSFUL
= 'VM_UNDEPLOY_SUCCESSFUL'¶
-
STATE_VTEP_DHCP_NOT_SUPPORTED
= 'VTEP_DHCP_NOT_SUPPORTED'¶
-
-
class
com.vmware.nsx_policy.model_client.
ConfigurationStateElement
(failure_code=None, failure_message=None, state=None, sub_system_address=None, sub_system_id=None, sub_system_name=None, sub_system_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Describes status of configuration of an entity
Tip
The arguments are used to initialize data attributes with the same names.
-
STATE_APPLIANCE_INTERNAL_ERROR
= 'APPLIANCE_INTERNAL_ERROR'¶
-
STATE_EDGE_CONFIG_ERROR
= 'EDGE_CONFIG_ERROR'¶
-
STATE_EDGE_HARDWARE_NOT_SUPPORTED
= 'EDGE_HARDWARE_NOT_SUPPORTED'¶
-
STATE_EDGE_NODE_VERSION_NOT_SUPPORTED
= 'EDGE_NODE_VERSION_NOT_SUPPORTED'¶
-
STATE_ERROR
= 'error'¶
-
STATE_FAILED
= 'failed'¶
-
STATE_HOSTSWITCH_PROFILE_NOT_FOUND
= 'HOSTSWITCH_PROFILE_NOT_FOUND'¶
-
STATE_INVALID_PNIC_DEVICE_NAME
= 'INVALID_PNIC_DEVICE_NAME'¶
-
STATE_IN_PROGRESS
= 'in_progress'¶
-
STATE_IN_SYNC
= 'in_sync'¶
-
STATE_LACP_NOT_SUPPORTED_FOR_EDGE_VM
= 'LACP_NOT_SUPPORTED_FOR_EDGE_VM'¶
-
STATE_LBSRCID_NOT_SUPPORTED_FOR_EDGE_VM
= 'LBSRCID_NOT_SUPPORTED_FOR_EDGE_VM'¶
-
STATE_LLDP_SEND_ENABLED_NOT_SUPPORTED
= 'LLDP_SEND_ENABLED_NOT_SUPPORTED'¶
-
STATE_MPA_DISCONNECTED
= 'MPA_DISCONNECTED'¶
-
STATE_MULTIPLE_ACTIVE_UPLINKS_NOT_SUPPORTED_FOR_EDGE
= 'MULTIPLE_ACTIVE_UPLINKS_NOT_SUPPORTED_FOR_EDGE'¶
-
STATE_MULTIPLE_OVERLAY_TZS_NOT_SUPPORTED
= 'MULTIPLE_OVERLAY_TZS_NOT_SUPPORTED'¶
-
STATE_NOT_AVAILABLE
= 'NOT_AVAILABLE'¶
-
STATE_NO_PNIC_PREPARED_IN_EDGE
= 'NO_PNIC_PREPARED_IN_EDGE'¶
-
STATE_NO_PNIC_SPECIFIED_IN_TN
= 'NO_PNIC_SPECIFIED_IN_TN'¶
-
STATE_ORPHANED
= 'orphaned'¶
-
STATE_PARTIAL_SUCCESS
= 'partial_success'¶
-
STATE_PENDING
= 'pending'¶
-
STATE_REGISTRATION_FAILED
= 'REGISTRATION_FAILED'¶
-
STATE_REGISTRATION_TIMEDOUT
= 'REGISTRATION_TIMEDOUT'¶
-
STATE_STANDBY_UPLINKS_NOT_SUPPORTED_FOR_EDGE_VM
= 'STANDBY_UPLINKS_NOT_SUPPORTED_FOR_EDGE_VM'¶
-
STATE_SUCCESS
= 'success'¶
-
STATE_TN_OVERLAY_TZ_IN_USE_BY_EDGE_CLUSTER
= 'TN_OVERLAY_TZ_IN_USE_BY_EDGE_CLUSTER'¶
-
STATE_TRANSPORT_NODE_CONFIGURATION_MISSING
= 'TRANSPORT_NODE_CONFIGURATION_MISSING'¶
-
STATE_TZ_ENDPOINTS_NOT_SPECIFIED
= 'TZ_ENDPOINTS_NOT_SPECIFIED'¶
-
STATE_UNKNOWN
= 'unknown'¶
-
STATE_UNSUPPORTED_DEFAULT_TEAMING_POLICY
= 'UNSUPPORTED_DEFAULT_TEAMING_POLICY'¶
-
STATE_UNSUPPORTED_HOST_SWITCH_PROFILE
= 'UNSUPPORTED_HOST_SWITCH_PROFILE'¶
-
STATE_UNSUPPORTED_LACP_LB_ALGO_FOR_NODE
= 'UNSUPPORTED_LACP_LB_ALGO_FOR_NODE'¶
-
STATE_UNSUPPORTED_NAMED_TEAMING_POLICY
= 'UNSUPPORTED_NAMED_TEAMING_POLICY'¶
-
STATE_UPLINK_HOST_SWITCH_PROFILE_NOT_SPECIFIED
= 'UPLINK_HOST_SWITCH_PROFILE_NOT_SPECIFIED'¶
-
STATE_VM_CONFIG_DISCREPANCY
= 'VM_CONFIG_DISCREPANCY'¶
-
STATE_VM_CONFIG_EDIT_FAILED
= 'VM_CONFIG_EDIT_FAILED'¶
-
STATE_VM_CONFIG_EDIT_PENDING
= 'VM_CONFIG_EDIT_PENDING'¶
-
STATE_VM_DEPLOYMENT_FAILED
= 'VM_DEPLOYMENT_FAILED'¶
-
STATE_VM_NETWORK_EDIT_FAILED
= 'VM_NETWORK_EDIT_FAILED'¶
-
STATE_VM_NETWORK_EDIT_PENDING
= 'VM_NETWORK_EDIT_PENDING'¶
-
STATE_VM_NODE_REFRESH_FAILED
= 'VM_NODE_REFRESH_FAILED'¶
-
STATE_VM_PLACEMENT_REFRESH_FAILED
= 'VM_PLACEMENT_REFRESH_FAILED'¶
-
STATE_VM_POWER_OFF_FAILED
= 'VM_POWER_OFF_FAILED'¶
-
STATE_VM_POWER_ON_FAILED
= 'VM_POWER_ON_FAILED'¶
-
STATE_VM_RENAME_FAILED
= 'VM_RENAME_FAILED'¶
-
STATE_VM_RENAME_PENDING
= 'VM_RENAME_PENDING'¶
-
STATE_VM_UNDEPLOY_FAILED
= 'VM_UNDEPLOY_FAILED'¶
-
STATE_VTEP_DHCP_NOT_SUPPORTED
= 'VTEP_DHCP_NOT_SUPPORTED'¶
-
-
class
com.vmware.nsx_policy.model_client.
ConjunctionOperator
(conjunction_operator=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='ConjunctionOperator', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents the operators AND or OR.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - conjunction_operator (
str
orNone
) –Possible values are:
Conjunction Operator Node - 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
) –Possible values are:
Expression.RESOURCE_TYPE_CONDITION
Expression.RESOURCE_TYPE_CONJUNCTIONOPERATOR
Expression.RESOURCE_TYPE_NESTEDEXPRESSION
Expression.RESOURCE_TYPE_IPADDRESSEXPRESSION
Expression.RESOURCE_TYPE_MACADDRESSEXPRESSION
Expression.RESOURCE_TYPE_EXTERNALIDEXPRESSION
Expression.RESOURCE_TYPE_PATHEXPRESSION
Expression.RESOURCE_TYPE_IDENTITYGROUPEXPRESSION
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
CONJUNCTION_OPERATOR_AND
= 'AND'¶
-
CONJUNCTION_OPERATOR_OR
= 'OR'¶
-
resource_type
¶ Return the discriminator value
- conjunction_operator (
-
class
com.vmware.nsx_policy.model_client.
ConnectivityAdvancedConfig
(connectivity=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Advanced configuration for Policy connectivity
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: connectivity ( str
orNone
) –Possible values are:
Connectivity configuration to manually connect (ON) or disconnect (OFF) a Tier1 segment from corresponding Tier1 gateway. Only valid for Tier1 Segments. This property is ignored for L2 VPN extended segments when subnets property is not specified.
-
CONNECTIVITY_OFF
= 'OFF'¶
-
CONNECTIVITY_ON
= 'ON'¶
-
-
class
com.vmware.nsx_policy.model_client.
ConsolidatedEffectiveIPAddressMemberListResult
(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
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
ofEffectiveIPInfo
orNone
) – Paged Collection of site wise consolidated effective ip addresses for the given NSGroup
- links (
-
class
com.vmware.nsx_policy.model_client.
ConsolidatedRealizedStatus
(intent_path=None, consolidated_status=None, consolidated_status_per_enforcement_point=None, intent_version=None, publish_status=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Consolidated Realized Status of an intent object across enforcement points.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - intent_path (
str
orNone
) – Intent path of object, forward slashes must be escaped using %2F. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - consolidated_status (
ConsolidatedStatus
orNone
) – Consolidated Realized Status across enforcement points. - consolidated_status_per_enforcement_point (
list
ofConsolidatedStatusPerEnforcementPoint
orNone
) – List of Consolidated Realized Status per enforcement point. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - intent_version (
str
orNone
) – Represent highest intent version across all realized objects This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - publish_status (
str
orNone
) –Possible values are:
ConsolidatedRealizedStatus.PUBLISH_STATUS_UNAVAILABLE
ConsolidatedRealizedStatus.PUBLISH_STATUS_UNREALIZED
ConsolidatedRealizedStatus.PUBLISH_STATUS_REALIZED
ConsolidatedRealizedStatus.PUBLISH_STATUS_ERROR
Aggregated Realization state of this object
-
PUBLISH_STATUS_ERROR
= 'ERROR'¶
-
PUBLISH_STATUS_REALIZED
= 'REALIZED'¶
-
PUBLISH_STATUS_UNAVAILABLE
= 'UNAVAILABLE'¶
-
PUBLISH_STATUS_UNREALIZED
= 'UNREALIZED'¶
- intent_path (
-
class
com.vmware.nsx_policy.model_client.
ConsolidatedStatus
(consolidated_status=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Consolidated Status of an intent object. Status Consolidation of an intent happens at multiple levels: - Per Enforcement Point: calculation of the consolidated status is performed using all realized entities that the intent objet maps to on a specific enforcement point. - Across Enforcement Points: calculation of the consolidated status is performend aggregating the consolidated status from each enforcement point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: consolidated_status ( str
orNone
) –Possible values are:
ConsolidatedStatus.CONSOLIDATED_STATUS_SUCCESS
ConsolidatedStatus.CONSOLIDATED_STATUS_IN_PROGRESS
ConsolidatedStatus.CONSOLIDATED_STATUS_ERROR
ConsolidatedStatus.CONSOLIDATED_STATUS_UNKNOWN
ConsolidatedStatus.CONSOLIDATED_STATUS_UNINITIALIZED
Consolidated Realized Status of an intent 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.
-
CONSOLIDATED_STATUS_ERROR
= 'ERROR'¶
-
CONSOLIDATED_STATUS_IN_PROGRESS
= 'IN_PROGRESS'¶
-
CONSOLIDATED_STATUS_SUCCESS
= 'SUCCESS'¶
-
CONSOLIDATED_STATUS_UNINITIALIZED
= 'UNINITIALIZED'¶
-
CONSOLIDATED_STATUS_UNKNOWN
= 'UNKNOWN'¶
-
class
com.vmware.nsx_policy.model_client.
ConsolidatedStatusNsxt
(enforced_status=None, alarm=None, enforcement_point_path=None, consolidated_status=None, enforcement_point_id=None, resource_type=None, site_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Detailed Realized Status of an intent object on an NSX-T type of enforcement point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - enforced_status (
EnforcedStatusDetailsNsxt
orNone
) – Detailed Realized Status inherent to an NSX-T Enforcement Point. - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - consolidated_status (
ConsolidatedStatus
orNone
) – Consolidated Realized Status of an Intent object per enforcement point. - enforcement_point_id (
str
orNone
) – Enforcement Point 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. - resource_type (
str
) – - site_path (
str
orNone
) – The site where this enforcement point resides. 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
¶ Return the discriminator value
- enforced_status (
-
class
com.vmware.nsx_policy.model_client.
ConsolidatedStatusPerEnforcementPoint
(alarm=None, enforcement_point_path=None, consolidated_status=None, enforcement_point_id=None, resource_type='ConsolidatedStatusPerEnforcementPoint', site_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Consolidated Realized Status Per Enforcement Point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - consolidated_status (
ConsolidatedStatus
orNone
) – Consolidated Realized Status of an Intent object per enforcement point. - enforcement_point_id (
str
orNone
) – Enforcement Point 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. - resource_type (
str
) – - site_path (
str
orNone
) – The site where this enforcement point resides. 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
¶ Return the discriminator value
- alarm (
-
class
com.vmware.nsx_policy.model_client.
ConstantFieldValue
(constant=None, resource_type='ConstantFieldValue')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Constant Field Value.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - constant (
vmware.vapi.struct.VapiStruct
orNone
) – Constant Value that the field must be set to. - resource_type (
str
) –Possible values are:
Field Setting Value resource type.
-
resource_type
¶ Return the discriminator value
- constant (
-
class
com.vmware.nsx_policy.model_client.
Constraint
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, constraint_expression=None, message=None, target=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Constraint object to constraint any attribute on a resource based on specified expression. Example- Restrict the allowed services in Edge Communication Entry to list of services, if the destinationGroups contain vCenter. { “target”:{ “target_resource_type”:”CommunicationEntry”, “attribute”:”services”, “path_prefix”:”/infra/domains/vmc-domain/edge-communication-maps/default/communication-entries” } “constraint_expression”:{ “related_attribute”:{ “attribute”:”destinationGroups” } “condition”:{ “operator”:”INCLUDES”, “rhs_value”:{“vCenter”} “value_constraint”:{ “operator”:”ALLOW”, “values”:{“/ref/services/HTTPS”, “/ref/services/HTTOP”, …} } } } }
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - constraint_expression (
vmware.vapi.struct.VapiStruct
orNone
) – Expression to constrain the target attribute value. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inConstraintExpression
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inConstraintExpression
. - message (
str
orNone
) – User friendly message to be shown to users upon violation. - target (
ConstraintTarget
orNone
) – Target resource attribute details.
- links (
-
class
com.vmware.nsx_policy.model_client.
ConstraintExpression
(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='ConstraintExpression', tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
All the types of the expression extend from this abstract class. This is present for extensibility.
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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
RESOURCE_TYPE_ENTITYINSTANCECOUNTCONSTRAINTEXPRESSION
= 'EntityInstanceCountConstraintExpression'¶
-
RESOURCE_TYPE_FIELDSANITYCONSTRAINTEXPRESSION
= 'FieldSanityConstraintExpression'¶
-
RESOURCE_TYPE_RELATEDATTRIBUTECONDITIONALEXPRESSION
= 'RelatedAttributeConditionalExpression'¶
-
RESOURCE_TYPE_VALUECONSTRAINTEXPRESSION
= 'ValueConstraintExpression'¶
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
ConstraintListResult
(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
Paged Collection of Constraints
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
ofConstraint
orNone
) – Constraint list results
- links (
-
class
com.vmware.nsx_policy.model_client.
ConstraintTarget
(attribute=None, path_prefix=None, target_resource_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Resource attribute on which constraint should be applied. Example - sourceGroups attribute of Edge CommunicationEntry to be restricted, is given as: { “target_resource_type”:”CommunicationEntry”, “attribute”:”sourceGroups”, “path_prefix”:”/infra/domains/vmc-domain/edge-communication-maps/default/communication-entries” }
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - attribute (
str
orNone
) – Attribute name of the target entity. - path_prefix (
str
orNone
) – Path prefix of the entity to apply constraint. This is required to further disambiguiate if multiple policy entities share the same resource type. Example - Edge FW and DFW use the same resource type CommunicationMap, CommunicationEntry, Group, etc. - target_resource_type (
str
orNone
) – Resource type of the target entity.
- attribute (
-
class
com.vmware.nsx_policy.model_client.
ContainerApplication
(container_cluster_id=None, container_project_id=None, external_id=None, network_errors=None, network_status=None, origin_properties=None, status=None, links=None, schema=None, self_=None, last_sync_time=None, description=None, display_name=None, resource_type='ContainerApplication', tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Container application within a project.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - container_cluster_id (
str
orNone
) – Identifier of the container cluster this container application belongs to. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - container_project_id (
str
orNone
) – Identifier of the project which this container application belongs to. - external_id (
str
orNone
) – Identifier of the container application on container cluster e.g. PCF app id, k8s service id. - network_errors (
list
ofNetworkError
orNone
) – List of network errors related to container application. - network_status (
str
orNone
) –Possible values are:
Network status of container application. - origin_properties (
list
ofKeyValuePair
orNone
) – Array of additional specific properties of container application in key-value format. - status (
str
orNone
) –Possible values are:
ContainerApplication.STATUS_UNKNOWN
ContainerApplication.STATUS_HEALTHY
ContainerApplication.STATUS_UP
ContainerApplication.STATUS_DOWN
ContainerApplication.STATUS_DEGRADED
Status of the container application. - 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 - last_sync_time (
long
orNone
) – Timestamp of last modification format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - description (
str
orNone
) – Description of this resource - display_name (
str
orNone
) – Defaults to ID if not set - resource_type (
str
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
NETWORK_STATUS_HEALTHY
= 'HEALTHY'¶
-
NETWORK_STATUS_UNHEALTHY
= 'UNHEALTHY'¶
-
STATUS_DEGRADED
= 'DEGRADED'¶
-
STATUS_DOWN
= 'DOWN'¶
-
STATUS_HEALTHY
= 'HEALTHY'¶
-
STATUS_UNKNOWN
= 'UNKNOWN'¶
-
STATUS_UP
= 'UP'¶
-
resource_type
¶ Return the discriminator value
- container_cluster_id (
-
class
com.vmware.nsx_policy.model_client.
ContainerApplicationInstance
(cluster_node_id=None, container_application_ids=None, container_cluster_id=None, container_project_id=None, external_id=None, network_errors=None, network_status=None, origin_properties=None, status=None, links=None, schema=None, self_=None, last_sync_time=None, description=None, display_name=None, resource_type='ContainerApplicationInstance', tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Container application instance within a project.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - cluster_node_id (
str
orNone
) – Cluster node id where application instance is running. - container_application_ids (
list
ofstr
orNone
) – List of identifiers of the container application. - container_cluster_id (
str
orNone
) – Identifier of the container cluster this application instance belongs to. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - container_project_id (
str
orNone
) – Identifier of the container project which this container application instance belongs to. - external_id (
str
orNone
) – Identifier of the container application instance on container cluster. - network_errors (
list
ofNetworkError
orNone
) – List of network errors related to container application instance. - network_status (
str
orNone
) –Possible values are:
ContainerApplicationInstance.NETWORK_STATUS_HEALTHY
ContainerApplicationInstance.NETWORK_STATUS_UNHEALTHY
Network status of container application instance. - origin_properties (
list
ofKeyValuePair
orNone
) – Array of additional specific properties of container application instance in key-value format. - status (
str
orNone
) –Possible values are:
ContainerApplicationInstance.STATUS_UNKNOWN
ContainerApplicationInstance.STATUS_HEALTHY
ContainerApplicationInstance.STATUS_UP
ContainerApplicationInstance.STATUS_DOWN
ContainerApplicationInstance.STATUS_DEGRADED
Status of the container application instance. - 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 - last_sync_time (
long
orNone
) – Timestamp of last modification format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - description (
str
orNone
) – Description of this resource - display_name (
str
orNone
) – Defaults to ID if not set - resource_type (
str
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
NETWORK_STATUS_HEALTHY
= 'HEALTHY'¶
-
NETWORK_STATUS_UNHEALTHY
= 'UNHEALTHY'¶
-
STATUS_DEGRADED
= 'DEGRADED'¶
-
STATUS_DOWN
= 'DOWN'¶
-
STATUS_HEALTHY
= 'HEALTHY'¶
-
STATUS_UNKNOWN
= 'UNKNOWN'¶
-
STATUS_UP
= 'UP'¶
-
resource_type
¶ Return the discriminator value
- cluster_node_id (
-
class
com.vmware.nsx_policy.model_client.
ContainerCluster
(cluster_type=None, external_id=None, infrastructure=None, network_errors=None, network_status=None, origin_properties=None, links=None, schema=None, self_=None, last_sync_time=None, description=None, display_name=None, resource_type='ContainerCluster', tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Details of container cluster.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - cluster_type (
str
orNone
) –Possible values are:
ContainerCluster.CLUSTER_TYPE_PAS
ContainerCluster.CLUSTER_TYPE_PKS
ContainerCluster.CLUSTER_TYPE_KUBERNETES
ContainerCluster.CLUSTER_TYPE_OPENSHIFT
ContainerCluster.CLUSTER_TYPE_WCP
ContainerCluster.CLUSTER_TYPE_WCP_GUEST
ContainerCluster.CLUSTER_TYPE_OTHER
Type of the container cluster. In case of creating container cluster first time, it is expected to pass the valid cluster-type. In case of update, if there is no change in cluster-type, then this field can be omitted in the request.
- external_id (
str
orNone
) – External identifier of the container cluster. - infrastructure (
ContainerInfrastructureInfo
orNone
) – Details of underlying infrastructure that hosts the container cluster. In case of creating container cluster first time, it is expected to pass the valid infrastructure. In case of update, if there is no change in cluster-type, then this field can be omitted in the request. - network_errors (
list
ofNetworkError
orNone
) – List of network errors related to container cluster. - network_status (
str
orNone
) –Possible values are:
Network status of container cluster. - origin_properties (
list
ofKeyValuePair
orNone
) – Array of additional specific properties of container cluster in key-value format. - 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 - last_sync_time (
long
orNone
) – Timestamp of last modification format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - description (
str
orNone
) – Description of this resource - display_name (
str
orNone
) – Defaults to ID if not set - resource_type (
str
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
CLUSTER_TYPE_KUBERNETES
= 'Kubernetes'¶
-
CLUSTER_TYPE_OPENSHIFT
= 'Openshift'¶
-
CLUSTER_TYPE_OTHER
= 'Other'¶
-
CLUSTER_TYPE_PAS
= 'PAS'¶
-
CLUSTER_TYPE_PKS
= 'PKS'¶
-
CLUSTER_TYPE_WCP
= 'WCP'¶
-
CLUSTER_TYPE_WCP_GUEST
= 'WCP_Guest'¶
-
NETWORK_STATUS_HEALTHY
= 'HEALTHY'¶
-
NETWORK_STATUS_UNHEALTHY
= 'UNHEALTHY'¶
-
resource_type
¶ Return the discriminator value
- cluster_type (
-
class
com.vmware.nsx_policy.model_client.
ContainerClusterNode
(container_cluster_id=None, external_id=None, ip_addresses=None, network_errors=None, network_status=None, origin_properties=None, links=None, schema=None, self_=None, last_sync_time=None, description=None, display_name=None, resource_type='ContainerClusterNode', tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Details of container cluster node i.e. container host.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - container_cluster_id (
str
orNone
) – External identifier of the container cluster. - external_id (
str
orNone
) – External identifier of the container cluster node in K8S/PAS. - ip_addresses (
list
ofstr
orNone
) – List of IP addresses of container cluster node. format: ip - network_errors (
list
ofNetworkError
orNone
) – List of network errors related to container cluster node. - network_status (
str
orNone
) –Possible values are:
Network status of container cluster node. - origin_properties (
list
ofKeyValuePair
orNone
) – Array of additional specific properties of container cluster node in key-value format. - 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 - last_sync_time (
long
orNone
) – Timestamp of last modification format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - description (
str
orNone
) – Description of this resource - display_name (
str
orNone
) – Defaults to ID if not set - resource_type (
str
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
NETWORK_STATUS_HEALTHY
= 'HEALTHY'¶
-
NETWORK_STATUS_UNHEALTHY
= 'UNHEALTHY'¶
-
resource_type
¶ Return the discriminator value
- container_cluster_id (
-
class
com.vmware.nsx_policy.model_client.
ContainerConfiguration
(header=None, labels=None, layout=None, navigation=None, widgets=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='ContainerConfiguration', tags=None, datasources=None, default_filter_value=None, drilldown_id=None, filter=None, filter_value_required=None, footer=None, icons=None, is_drilldown=None, legend=None, shared=None, span=None, weight=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents a container to group widgets that belong to a common category or have a common purpose.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - header (
Header
orNone
) – - labels (
list
ofLabel
orNone
) – Labels for the container. - layout (
Layout
orNone
) – Layout of widgets can be either vertical or horizontal. If layout is not specified a default horizontal layout is applied. - navigation (
str
orNone
) – Hyperlink of the specified UI page that provides details. - widgets (
list
ofWidgetItem
orNone
) – If not specified, creates an empty container. - 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
) – Title of the widget. If display_name is omitted, the widget will be shown without a title. - id (
str
orNone
) – Unique identifier of this resource - resource_type (
str
) –Possible values are:
WidgetConfiguration.RESOURCE_TYPE_LABELVALUECONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DONUTCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_MULTIWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CONTAINERCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_STATSCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRIDCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRAPHCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CUSTOMWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DROPDOWNFILTERWIDGETCONFIGURATION
Supported visualization types are LabelValueConfiguration, DonutConfiguration, GridConfiguration, StatsConfiguration, MultiWidgetConfiguration, GraphConfiguration, ContainerConfiguration, CustomWidgetConfiguration and DropdownFilterWidgetConfiguration.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - datasources (
list
ofDatasource
orNone
) – The ‘datasources’ represent the sources from which data will be fetched. Currently, only NSX-API is supported as a ‘default’ datasource. An example of specifying ‘default’ datasource along with the urls to fetch data from is given at ‘example_request’ section of ‘CreateWidgetConfiguration’ API. - default_filter_value (
list
ofDefaultFilterValue
orNone
) – Default filter values to be passed to datasources. This will be used when the report is requested without filter values. - drilldown_id (
str
orNone
) – Id of drilldown widget, if any. Id should be a valid id of an existing widget. A widget is considered as drilldown widget when it is associated with any other widget and provides more detailed information about any data item from the parent widget. - filter (
str
orNone
) – Id of filter widget for subscription, if any. Id should be a valid id of an existing filter widget. Filter widget should be from the same view. Datasource URLs should have placeholder values equal to filter alias to accept the filter value on filter change. - filter_value_required (
bool
orNone
) – Flag to indicate that widget will continue to work without filter value. If this flag is set to false then default_filter_value is manadatory. - footer (
Footer
orNone
) – - icons (
list
ofIcon
orNone
) – Icons to be applied at dashboard for widgets and UI elements. - is_drilldown (
bool
orNone
) – Set to true if this widget should be used as a drilldown. - legend (
Legend
orNone
) – Legend to be displayed. If legend is not needed, do not include it. - shared (
bool
orNone
) – Please use the property ‘shared’ of View instead of this. The widgets of a shared view are visible to other users. - span (
long
orNone
) – Represents the horizontal span of the widget / container. format: int32 - weight (
long
orNone
) – Specify relavite weight in WidgetItem for placement in a view. Please see WidgetItem for details. format: int32
-
resource_type
¶ Return the discriminator value
- header (
-
class
com.vmware.nsx_policy.model_client.
ContainerInfrastructureInfo
(infra_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Details of infrastructure hosting the container cluster e.g. vSphere, AWS, VMC etc..
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: infra_type ( str
orNone
) –Possible values are:
ContainerInfrastructureInfo.INFRA_TYPE_VSPHERE
ContainerInfrastructureInfo.INFRA_TYPE_AWS
ContainerInfrastructureInfo.INFRA_TYPE_AZURE
ContainerInfrastructureInfo.INFRA_TYPE_VMC
ContainerInfrastructureInfo.INFRA_TYPE_KVM
ContainerInfrastructureInfo.INFRA_TYPE_BAREMETAL
Type of the infrastructure.-
INFRA_TYPE_AWS
= 'AWS'¶
-
INFRA_TYPE_AZURE
= 'Azure'¶
-
INFRA_TYPE_BAREMETAL
= 'Baremetal'¶
-
INFRA_TYPE_KVM
= 'KVM'¶
-
INFRA_TYPE_VMC
= 'VMC'¶
-
INFRA_TYPE_VSPHERE
= 'vSphere'¶
-
class
com.vmware.nsx_policy.model_client.
ContainerIngressPolicy
(container_application_ids=None, container_cluster_id=None, container_project_id=None, external_id=None, network_errors=None, network_status=None, origin_properties=None, spec=None, links=None, schema=None, self_=None, last_sync_time=None, description=None, display_name=None, resource_type='ContainerIngressPolicy', tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Details of Container Ingress Policy.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - container_application_ids (
list
ofstr
orNone
) – List of identifiers of the container application , on which ingress policy is applied. e.g. IDs of all services on which the ingress is applied in kubernetes. - container_cluster_id (
str
orNone
) – Identifier of the container cluster this ingress policy belongs to. - container_project_id (
str
orNone
) – Identifier of the project which this container ingress belongs to. - external_id (
str
orNone
) – Identifier of the container ingress policy. - network_errors (
list
ofNetworkError
orNone
) – List of network errors related to container ingress. - network_status (
str
orNone
) –Possible values are:
Network status of container ingress. - origin_properties (
list
ofKeyValuePair
orNone
) – Array of additional specific properties of container ingress in key-value format. - spec (
str
orNone
) – Container ingress policy specification. - 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 - last_sync_time (
long
orNone
) – Timestamp of last modification format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - description (
str
orNone
) – Description of this resource - display_name (
str
orNone
) – Defaults to ID if not set - resource_type (
str
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
NETWORK_STATUS_HEALTHY
= 'HEALTHY'¶
-
NETWORK_STATUS_UNHEALTHY
= 'UNHEALTHY'¶
-
resource_type
¶ Return the discriminator value
- container_application_ids (
-
class
com.vmware.nsx_policy.model_client.
ContainerNetworkPolicy
(container_cluster_id=None, container_project_id=None, external_id=None, network_errors=None, network_status=None, origin_properties=None, policy_type=None, spec=None, links=None, schema=None, self_=None, last_sync_time=None, description=None, display_name=None, resource_type='ContainerNetworkPolicy', tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Network policy applied to container.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - container_cluster_id (
str
orNone
) – Identifier of the container cluster this network policy belongs to. - container_project_id (
str
orNone
) – Identifier of the project which this network policy belongs to. - external_id (
str
orNone
) – Identifier of the container network policy. - network_errors (
list
ofNetworkError
orNone
) – List of network errors related to container network policy. - network_status (
str
orNone
) –Possible values are:
Network status of container network policy. - origin_properties (
list
ofKeyValuePair
orNone
) – Array of additional specific properties of container network policy in key-value format. - policy_type (
str
orNone
) –Possible values are:
Type e.g. Network Policy, ASG. - spec (
str
orNone
) – Container network policy specification. - 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 - last_sync_time (
long
orNone
) – Timestamp of last modification format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - description (
str
orNone
) – Description of this resource - display_name (
str
orNone
) – Defaults to ID if not set - resource_type (
str
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
NETWORK_STATUS_HEALTHY
= 'HEALTHY'¶
-
NETWORK_STATUS_UNHEALTHY
= 'UNHEALTHY'¶
-
POLICY_TYPE_ASG
= 'ASG'¶
-
POLICY_TYPE_NETWORK_POLICY
= 'NETWORK_POLICY'¶
-
resource_type
¶ Return the discriminator value
- container_cluster_id (
-
class
com.vmware.nsx_policy.model_client.
ContainerProject
(container_cluster_id=None, external_id=None, network_errors=None, network_status=None, origin_properties=None, links=None, schema=None, self_=None, last_sync_time=None, description=None, display_name=None, resource_type='ContainerProject', tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Details of org/namespace within a container cluster.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - container_cluster_id (
str
orNone
) – Identifier of the container cluster to which this project/namespace belongs. - external_id (
str
orNone
) – External identifier of the container project. - network_errors (
list
ofNetworkError
orNone
) – List of network errors related to container project. - network_status (
str
orNone
) –Possible values are:
Network status of container project. - origin_properties (
list
ofKeyValuePair
orNone
) – Array of additional specific properties of container project in key-value format. - 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 - last_sync_time (
long
orNone
) – Timestamp of last modification format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - description (
str
orNone
) – Description of this resource - display_name (
str
orNone
) – Defaults to ID if not set - resource_type (
str
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
NETWORK_STATUS_HEALTHY
= 'HEALTHY'¶
-
NETWORK_STATUS_UNHEALTHY
= 'UNHEALTHY'¶
-
resource_type
¶ Return the discriminator value
- container_cluster_id (
-
class
com.vmware.nsx_policy.model_client.
Criterion
(evaluations=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Event Criterion is the logical evaluations by which the event may be deemed fulfilled. All the evaluations must be met in order for the criterion to be met (implicit AND).
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: evaluations ( list
ofvmware.vapi.struct.VapiStruct
orNone
) – Criterion Evaluations. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inEvaluation
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inEvaluation
.
-
class
com.vmware.nsx_policy.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_policy.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_policy.model_client.
CurrentBackupOperationStatus
(backup_id=None, current_step=None, current_step_message=None, end_time=None, operation_type=None, start_time=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Current backup operation status
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - backup_id (
str
orNone
) – Unique identifier of current backup - current_step (
str
orNone
) –Possible values are:
CurrentBackupOperationStatus.CURRENT_STEP_CLUSTER_BACKUP
CurrentBackupOperationStatus.CURRENT_STEP_NODE_BACKUP
Current step of operation - current_step_message (
str
orNone
) – Additional human-readable status information about current step - end_time (
long
orNone
) – Time when operation is expected to end format: int64 - operation_type (
str
orNone
) –Possible values are:
Type of operation that is in progress. Returns none if no operation is in progress, in which case none of the other fields will be set.
- start_time (
long
orNone
) – Time when operation was started format: int64
-
CURRENT_STEP_CLUSTER_BACKUP
= 'BACKUP_CREATING_CLUSTER_BACKUP'¶
-
CURRENT_STEP_NODE_BACKUP
= 'BACKUP_CREATING_NODE_BACKUP'¶
-
OPERATION_TYPE_BACKUP
= 'BACKUP'¶
-
OPERATION_TYPE_NONE
= 'NONE'¶
- backup_id (
-
class
com.vmware.nsx_policy.model_client.
CustomPolicyLbPersistenceProfile
(persistence=None, persistence_shared=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='CustomPolicyLbPersistenceProfile', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Some applications maintain state and require all relevant connections to be sent to the same server as the application state is not synchronized among servers. Persistence is enabled on a PolicyLbVirtualServer by binding a persistence profile to it.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - persistence (
str
orNone
) –Possible values are:
CustomPolicyLbPersistenceProfile.PERSISTENCE_COOKIE
CustomPolicyLbPersistenceProfile.PERSISTENCE_SOURCE_IP
This field indicates the persistence method used for the PolicyLbVirtualServer. - COOKIE persistence allows related client connections, identified by the same cookie in HTTP requests [Refer to HTTP Cookie for details on HTTP cookies], to be redirected to the same server. Load balancer does not maintain any persistence table for cookie persistence. Instead, it encodes the necessary information in the HTTP cookie value sent to client and relies on the client to store it and send it back in subsequent related HTTP requests. Hence there is no limit on the number of cookie persistence entries that can be supported. - SOURCE_IP persistence ensures all connections from a client (identified by IP address) are sent to the same backend server for a specified period. - This object is not required and without creation of this object the virtual server persistence is disabled by default
- persistence_shared (
bool
orNone
) – Persistence shared setting indicates that all PolicyLbVirtualServers that consume this PolicyLbPersistenceProfile should share the same persistence mechanism when enabled. Meaning, persistence entries of a client accessing one virtual server will also affect the same client’s connections to a different virtual server. For example, say there are two virtual servers vip-ip1:80 and vip-ip1:8080 bound to the same Group g1 consisting of two servers (s11:80 and s12:80). By default, each virtual server will have its own persistence table or cookie. So, in the earlier example, there will be two tables (vip-ip1:80, p1) and (vip-ip1:8080, p1) or cookies. So, if a client connects to vip1:80 and later connects to vip1:8080, the second connection may be sent to a different server than the first. When persistence_shared is enabled, then the second connection will always connect to the same server as the original connection. For COOKIE persistence type, the same cookie will be shared by multiple virtual servers. For SOURCE_IP persistenct type, the persistence table will be shared across virtual servers. - 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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
PERSISTENCE_COOKIE
= 'COOKIE'¶
-
PERSISTENCE_SOURCE_IP
= 'SOURCE_IP'¶
-
resource_type
¶ Return the discriminator value
- persistence (
-
class
com.vmware.nsx_policy.model_client.
CustomPolicyLbVirtualServer
(app_protocol=None, client_ssl_certificate_ids=None, client_ssl_settings=None, default_client_ssl_certificate_id=None, server_auth_ca_certificate_ids=None, server_ssl_settings=None, insert_client_ip_header=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=None, tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, access_log_enabled=None, ip_address=None, lb_persistence_profile=None, ports=None, router_path=None, traffic_source=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Virtual server acts as a facade to an application, receives all client connections over a specified protocol and distributes them among the backend servers. This custom type allows for more complex settings than the simplified PolicyLbVirtualServer types. This object allows for complex configurations for PolicyLbVirtualServers of all types. All HTTP specific inputs will be rejected when combined with TPC or UDP protocols.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - app_protocol (
str
orNone
) –Possible values are:
CustomPolicyLbVirtualServer.APP_PROTOCOL_TCP
CustomPolicyLbVirtualServer.APP_PROTOCOL_UDP
CustomPolicyLbVirtualServer.APP_PROTOCOL_HTTP
CustomPolicyLbVirtualServer.APP_PROTOCOL_HTTPS
As the custom type allows for more complex settings than the simplified PolicyLbVirtualServer types, also specify the desired protocol for receiving all client connections.
- client_ssl_certificate_ids (
list
ofstr
orNone
) – Client-side SSL profile binding allows multiple certificates, for different hostnames, to be bound to the same virtual server. The setting is used when load balancer acts as an SSL server and terminating the client SSL connection - client_ssl_settings (
str
orNone
) –Possible values are:
CustomPolicyLbVirtualServer.CLIENT_SSL_SETTINGS_BASE_SECURE_111317
CustomPolicyLbVirtualServer.CLIENT_SSL_SETTINGS_MODERATE_SECURE_111317
CustomPolicyLbVirtualServer.CLIENT_SSL_SETTINGS_HIGH_SECURE_111317
Security settings representing various security settings when the VirtualServer acts as an SSL server - BASE_SECURE_111317 - MODERATE_SECURE_111317 - HIGH_SECURE_111317
- default_client_ssl_certificate_id (
str
orNone
) – The setting is used when load balancer acts as an SSL server and terminating the client SSL connection. A default certificate should be specified which will be used if the server does not host multiple hostnames on the same IP address or if the client does not support SNI extension. - server_auth_ca_certificate_ids (
list
ofstr
orNone
) – To support client authentication (load balancer acting as a client authenticating to the backend server), server_ssl_certificate_id can be specified. When supplied, the backend server certificate must be signed by one of the trusted Certificate Authorities (CAs), also referred to as root CAs, whose self signed certificates are specified. This setting is only applicable for L7 protocols and will be rejected in combination with TCP or UDP. - server_ssl_settings (
str
orNone
) –Possible values are:
CustomPolicyLbVirtualServer.SERVER_SSL_SETTINGS_BASE_SECURE_111317
CustomPolicyLbVirtualServer.SERVER_SSL_SETTINGS_MODERATE_SECURE_111317
CustomPolicyLbVirtualServer.SERVER_SSL_SETTINGS_HIGH_SECURE_111317
CustomPolicyLbVirtualServer.SERVER_SSL_SETTINGS_DISABLED
Indicates whether to enable server side SSL. Server side SSL will be enabled when a specific security setting is selected. The selected security setting or profile represents various configurations related to SSL when the VirtualServer acts as a client connecting over SSL to the backend server. This setting is only applicable for L7 protocols and will be rejected in combination with TCP or UDP. - BASE_SECURE_111317 - MODERATE_SECURE_111317 - HIGH_SECURE_111317 - DISABLED
- insert_client_ip_header (
bool
orNone
) – Backend web servers typically log each request they handle along with the requesting client IP address. These logs are used for debugging, analytics and other such purposes. If the deployment topology requires enabling SNAT on the load balancer, then server will see the client as the SNAT IP which defeats the purpose of logging. To work around this issue, load balancer can be configured to insert XFF HTTP header with the original client IP address. Backend servers can then be configured to log the IP address in XFF header instead of the source IP address of the connection. If XFF header is not present in the incoming request, load balancer inserts a new XFF header with the client IP address. - 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
) –Possible values are:
PolicyLbVirtualServer.RESOURCE_TYPE_TCPPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_UDPPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_HTTPPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_HTTPSPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_CUSTOMPOLICYLBVIRTUALSERVER
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - access_log_enabled (
bool
orNone
) – If access log is enabled, all HTTP requests sent to an L7 virtual server are logged to the access log file. Both successful requests (backend server returns 2xx) and unsuccessful requests (backend server returns 4xx or 5xx) are logged to access log, if enabled. - ip_address (
str
orNone
) – Configures the IP address of the PolicyLbVirtualServer where it receives all client connections and distributes them among the backend servers. format: ip - lb_persistence_profile (
str
orNone
) – Path to optional object that enables persistence on a virtual server allowing related client connections to be sent to the same backend server. Persistence is disabled by default. - ports (
list
ofstr
orNone
) – Ports contains a list of at least one port or port range such as “80”, “1234-1236”. Each port element in the list should be a single port or a single port range. format: port-or-range - router_path (
str
orNone
) – Path to router type object that PolicyLbVirtualServer connects to. The only supported router object is Network. - traffic_source (
str
orNone
) –
-
APP_PROTOCOL_HTTP
= 'HTTP'¶
-
APP_PROTOCOL_HTTPS
= 'HTTPS'¶
-
APP_PROTOCOL_TCP
= 'TCP'¶
-
APP_PROTOCOL_UDP
= 'UDP'¶
-
CLIENT_SSL_SETTINGS_BASE_SECURE_111317
= 'BASE_SECURE_111317'¶
-
CLIENT_SSL_SETTINGS_HIGH_SECURE_111317
= 'HIGH_SECURE_111317'¶
-
CLIENT_SSL_SETTINGS_MODERATE_SECURE_111317
= 'MODERATE_SECURE_111317'¶
-
SERVER_SSL_SETTINGS_BASE_SECURE_111317
= 'BASE_SECURE_111317'¶
-
SERVER_SSL_SETTINGS_DISABLED
= 'DISABLED'¶
-
SERVER_SSL_SETTINGS_HIGH_SECURE_111317
= 'HIGH_SECURE_111317'¶
-
SERVER_SSL_SETTINGS_MODERATE_SECURE_111317
= 'MODERATE_SECURE_111317'¶
-
resource_type
¶ Return the discriminator value
- app_protocol (
-
class
com.vmware.nsx_policy.model_client.
CustomWidgetConfiguration
(ui_component_identifier=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='CustomWidgetConfiguration', tags=None, datasources=None, default_filter_value=None, drilldown_id=None, filter=None, filter_value_required=None, footer=None, icons=None, is_drilldown=None, legend=None, shared=None, span=None, weight=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents configuration for custom widget. For this widget the data source is not applicable. It defines ui identifer to identify UI component and render it on dashboard view. This configuration can only be used for system owned widgets.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ui_component_identifier (
str
orNone
) – User defined component selector to be rendered inside view/container. - 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
) – Title of the widget. If display_name is omitted, the widget will be shown without a title. - id (
str
orNone
) – Unique identifier of this resource - resource_type (
str
) –Possible values are:
WidgetConfiguration.RESOURCE_TYPE_LABELVALUECONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DONUTCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_MULTIWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CONTAINERCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_STATSCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRIDCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRAPHCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CUSTOMWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DROPDOWNFILTERWIDGETCONFIGURATION
Supported visualization types are LabelValueConfiguration, DonutConfiguration, GridConfiguration, StatsConfiguration, MultiWidgetConfiguration, GraphConfiguration, ContainerConfiguration, CustomWidgetConfiguration and DropdownFilterWidgetConfiguration.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - datasources (
list
ofDatasource
orNone
) – The ‘datasources’ represent the sources from which data will be fetched. Currently, only NSX-API is supported as a ‘default’ datasource. An example of specifying ‘default’ datasource along with the urls to fetch data from is given at ‘example_request’ section of ‘CreateWidgetConfiguration’ API. - default_filter_value (
list
ofDefaultFilterValue
orNone
) – Default filter values to be passed to datasources. This will be used when the report is requested without filter values. - drilldown_id (
str
orNone
) – Id of drilldown widget, if any. Id should be a valid id of an existing widget. A widget is considered as drilldown widget when it is associated with any other widget and provides more detailed information about any data item from the parent widget. - filter (
str
orNone
) – Id of filter widget for subscription, if any. Id should be a valid id of an existing filter widget. Filter widget should be from the same view. Datasource URLs should have placeholder values equal to filter alias to accept the filter value on filter change. - filter_value_required (
bool
orNone
) – Flag to indicate that widget will continue to work without filter value. If this flag is set to false then default_filter_value is manadatory. - footer (
Footer
orNone
) – - icons (
list
ofIcon
orNone
) – Icons to be applied at dashboard for widgets and UI elements. - is_drilldown (
bool
orNone
) – Set to true if this widget should be used as a drilldown. - legend (
Legend
orNone
) – Legend to be displayed. If legend is not needed, do not include it. - shared (
bool
orNone
) – Please use the property ‘shared’ of View instead of this. The widgets of a shared view are visible to other users. - span (
long
orNone
) – Represents the horizontal span of the widget / container. format: int32 - weight (
long
orNone
) – Specify relavite weight in WidgetItem for placement in a view. Please see WidgetItem for details. format: int32
-
resource_type
¶ Return the discriminator value
- ui_component_identifier (
-
class
com.vmware.nsx_policy.model_client.
CvxConnectionInfo
(password=None, thumbprint=None, username=None, enforcement_point_address=None, resource_type='CvxConnectionInfo')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Credential info to connect to a CVX type of enforcement point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - password (
str
orNone
) – Password. - thumbprint (
str
orNone
) – Thumbprint of EnforcementPoint in the form of a SHA-256 hash represented in lower case HEX. - username (
str
orNone
) – Username. - enforcement_point_address (
str
orNone
) – Value of this property could be Hostname or IP. For instance: - On an NSX-T MP running on default port, the value could be “10.192.1.1” - On an NSX-T MP running on custom port, the value could be “192.168.1.1:32789” - On an NSX-T MP in VMC deployments, the value could be “192.168.1.1:5480/nsxapi” - resource_type (
str
) –Possible values are:
EnforcementPointConnectionInfo.RESOURCE_TYPE_NSXTCONNECTIONINFO
EnforcementPointConnectionInfo.RESOURCE_TYPE_NSXVCONNECTIONINFO
Resource Type of Enforcement Point Connection Info.
-
resource_type
¶ Return the discriminator value
- password (
-
class
com.vmware.nsx_policy.model_client.
DNSForwarderStatisticsPerEnforcementPoint
(enforcement_point_path=None, resource_type='DNSForwarderStatisticsPerEnforcementPoint')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DNS forwarder statistics per enforcement point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - enforcement_point_path (
str
orNone
) – Policy path referencing the enforcement point from where the statistics are fetched. 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
) –Possible values are:
-
RESOURCE_TYPE_NSXTDNSFORWARDERSTATISTICS
= 'NsxTDNSForwarderStatistics'¶
-
resource_type
¶ Return the discriminator value
- enforcement_point_path (
-
class
com.vmware.nsx_policy.model_client.
DNSForwarderStatusPerEnforcementPoint
(enforcement_point_path=None, resource_type='DNSForwarderStatusPerEnforcementPoint')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DNS forwarder status per enforcement point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - enforcement_point_path (
str
orNone
) – Policy path referencing the enforcement point from where the status is fetched. 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
) –Possible values are:
-
RESOURCE_TYPE_NSXTDNSFORWARDERSTATUS
= 'NsxTDNSForwarderStatus'¶
-
resource_type
¶ Return the discriminator value
- enforcement_point_path (
-
class
com.vmware.nsx_policy.model_client.
DataCounter
(dropped=None, multicast_broadcast=None, total=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dropped (
long
orNone
) – The dropped packets or bytes format: int64 - multicast_broadcast (
long
orNone
) – The multicast and broadcast packets or bytes format: int64 - total (
long
orNone
) – The total packets or bytes format: int64
- dropped (
-
class
com.vmware.nsx_policy.model_client.
DataSourceParameters
(source=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: source ( str
orNone
) –Possible values are:
The data source, either realtime or cached. If not provided, cached data is returned.
-
SOURCE_CACHED
= 'cached'¶
-
SOURCE_REALTIME
= 'realtime'¶
-
-
class
com.vmware.nsx_policy.model_client.
Datasource
(display_name=None, urls=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
An instance of a datasource configuration.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - display_name (
str
orNone
) – Name of a datasource instance. - urls (
list
ofUrlAlias
orNone
) – Array of urls relative to the datasource configuration. For example, api/v1/fabric/nodes is a relative url of nsx-manager instance.
- display_name (
-
class
com.vmware.nsx_policy.model_client.
DefaultFilterValue
(alias=None, value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
An instance of a datasource configuration.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alias (
str
orNone
) – Filter alias. - value (
str
orNone
) – Filter default value.
- alias (
-
class
com.vmware.nsx_policy.model_client.
DeploymentTemplate
(attributes=None, name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Deployment Template holds the attributes specific to partner for which the service is created. These attributes are opaque to NSX.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - attributes (
list
ofAttribute
orNone
) – List of attributes specific to a partner for which the service is created. There attributes are passed on to the partner appliance and is opaque to the NSX Manager. - name (
str
orNone
) – Deployment Template name.
- attributes (
-
class
com.vmware.nsx_policy.model_client.
DeploymentZone
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, enforcement_points=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Logical grouping of enforcement points. This is a deprecated type. DeploymentZone has been renamed to Site. Use Site.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - enforcement_points (
list
ofEnforcementPoint
orNone
) – Logical grouping of enforcement points
- links (
-
class
com.vmware.nsx_policy.model_client.
DeploymentZoneListResult
(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
Paged Collection of Deployment Zones. This is a deprecated type. DeploymentZone has been renamed to Site. Use SiteListResult.
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
ofDeploymentZone
orNone
) – Deployment Zones
- links (
-
class
com.vmware.nsx_policy.model_client.
DfwFirewallConfiguration
(idfw_enabled=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='DfwFirewallConfiguration', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, disable_auto_drafts=None, enable_firewall=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DFW Firewall related configurations
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - idfw_enabled (
bool
orNone
) – If set to true, identity firewall is enabled. - 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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - disable_auto_drafts (
bool
orNone
) – To disable auto drafts, set it to true. By default, auto drafts are enabled. - enable_firewall (
bool
orNone
) – If set to true, Firewall is enabled.
-
resource_type
¶ Return the discriminator value
- idfw_enabled (
-
class
com.vmware.nsx_policy.model_client.
DhcpHeader
(op_code=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: op_code ( str
orNone
) –Possible values are:
This is used to specify the general type of message. A client sending request to a server uses an op code of BOOTREQUEST, while a server replying uses an op code of BOOTREPLY.
-
OP_CODE_BOOTREPLY
= 'BOOTREPLY'¶
-
OP_CODE_BOOTREQUEST
= 'BOOTREQUEST'¶
-
-
class
com.vmware.nsx_policy.model_client.
DhcpIpPoolUsage
(allocated_number=None, allocated_percentage=None, dhcp_ip_pool_id=None, pool_size=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - allocated_number (
long
orNone
) – allocated number. COULD BE INACCURATE, REFERENCE ONLY. format: int64 - allocated_percentage (
long
orNone
) – allocated percentage. COULD BE INACCURATE, REFERENCE ONLY. format: int64 - dhcp_ip_pool_id (
str
orNone
) – uuid of dhcp ip pool - pool_size (
long
orNone
) – pool size format: int64
- allocated_number (
-
class
com.vmware.nsx_policy.model_client.
DhcpLeasePerIP
(expire_time=None, ip_address=None, lease_time=None, mac_address=None, start_time=None, subnet=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - expire_time (
str
orNone
) – expire time of the lease - ip_address (
str
orNone
) – ip address of client - lease_time (
str
orNone
) – lease time of the ip address, in seconds - mac_address (
str
orNone
) – mac address of client - start_time (
str
orNone
) – start time of lease - subnet (
str
orNone
) – subnet of client network
- expire_time (
-
class
com.vmware.nsx_policy.model_client.
DhcpLeases
(dhcp_server_id=None, leases=None, timestamp=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dhcp_server_id (
str
orNone
) – dhcp server uuid - leases (
list
ofDhcpLeasePerIP
orNone
) – The lease info list of the server - timestamp (
long
orNone
) – timestamp of the lease info format: int64
- dhcp_server_id (
-
class
com.vmware.nsx_policy.model_client.
DhcpLeasesResult
(dhcp_server_id=None, leases=None, timestamp=None, connectivity_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dhcp_server_id (
str
orNone
) – dhcp server uuid - leases (
list
ofDhcpLeasePerIP
orNone
) – The lease info list of the server - timestamp (
long
orNone
) – timestamp of the lease info format: int64 - connectivity_path (
str
orNone
) – Policy path to Segment, Tier0 or Tier1 gateway where DHCP server is attached.
- dhcp_server_id (
-
class
com.vmware.nsx_policy.model_client.
DhcpOption121
(static_routes=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DHCP option 121 to define classless static route.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: static_routes ( list
ofClasslessStaticRoute
orNone
) – Classless static route of DHCP option 121.
-
class
com.vmware.nsx_policy.model_client.
DhcpRelayConfig
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, server_addresses=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DHCP relay configuration. Please note, the realized-state of this entity returned by the “GET /policy/api/v1/infra/realized-state/realized-entity” with this entity policy-path is irrelevant with the application status of this entity. Please do not rely on this returned realized-state to determine how this dhcp-relay-config was applied. The dhcp realization information was reflected in the realization states of the referencing Segment or T0/T1 gateway.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - server_addresses (
list
ofstr
orNone
) – DHCP server IP addresses for DHCP relay configuration. Both IPv4 and IPv6 addresses are supported. format: ip
- links (
-
class
com.vmware.nsx_policy.model_client.
DhcpRelayConfigListResult
(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
Paged collection of DhcpRelayConfigs
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
ofDhcpRelayConfig
orNone
) – DhcpRelayConfig results
- links (
-
class
com.vmware.nsx_policy.model_client.
DhcpServerConfig
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, edge_cluster_path=None, lease_time=None, preferred_edge_paths=None, server_address=None, server_addresses=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DHCP server configuration. Please note, the realized-state of this entity returned by the “GET /policy/api/v1/infra/realized-state/realized-entity” with this entity policy-path is irrelevant with the application status of this entity. Please do not rely on this returned realized-state to determine how this dhcp-server-config was applied. The dhcp realization information was reflected in the realization states of the referencing Segment or T0/T1 gateway.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - edge_cluster_path (
str
orNone
) – Edge cluster path. Auto assigned if only one edge cluster is configured on enforcement-point. Modifying edge cluster will reallocate DHCP server to the new edge cluster. Please note that re-allocating edge-cluster will result in losing of all exisitng DHCP lease information. Change edge cluster only when losing DHCP leases is not a real problem, e.g. cross-site migration or failover and all client hosts will be reboot and get new IP addresses. - lease_time (
long
orNone
) – IP address lease time in seconds. format: int64 - preferred_edge_paths (
list
ofstr
orNone
) – Policy paths to edge nodes on which the DHCP servers run. The first edge node is assigned as active edge, and second one as stanby edge. If only one edge node is specified, the DHCP servers will run without HA support. When this property is not specified, edge nodes are auto-assigned during realization of the DHCP server. - server_address (
str
orNone
) – DHCP server address in CIDR format. Prefix length should be less than or equal to 30. DHCP server is deployed as DHCP relay service. This property is deprecated, use server_addresses instead. Both properties cannot be specified together with different new values. format: ip-cidr-block - server_addresses (
list
ofstr
orNone
) – DHCP server address in CIDR format. Both IPv4 and IPv6 address families are supported. Prefix length should be less than or equal to 30 for IPv4 address family and less than or equal to 126 for IPv6. When not specified, IPv4 value is auto-assigned to 100.96.0.1/30. Ignored when this object is configured at a Segment. format: ip-cidr-block
- links (
-
class
com.vmware.nsx_policy.model_client.
DhcpServerConfigListResult
(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
Paged collection of DhcpServerConfigs
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
ofDhcpServerConfig
orNone
) – DhcpServerConfig results
- links (
-
class
com.vmware.nsx_policy.model_client.
DhcpServerState
(details=None, failure_code=None, failure_message=None, state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
-
STATE_APPLIANCE_INTERNAL_ERROR
= 'APPLIANCE_INTERNAL_ERROR'¶
-
STATE_EDGE_CONFIG_ERROR
= 'EDGE_CONFIG_ERROR'¶
-
STATE_EDGE_HARDWARE_NOT_SUPPORTED
= 'EDGE_HARDWARE_NOT_SUPPORTED'¶
-
STATE_EDGE_NODE_VERSION_NOT_SUPPORTED
= 'EDGE_NODE_VERSION_NOT_SUPPORTED'¶
-
STATE_ERROR
= 'error'¶
-
STATE_FAILED
= 'failed'¶
-
STATE_HOSTSWITCH_PROFILE_NOT_FOUND
= 'HOSTSWITCH_PROFILE_NOT_FOUND'¶
-
STATE_INVALID_PNIC_DEVICE_NAME
= 'INVALID_PNIC_DEVICE_NAME'¶
-
STATE_IN_PROGRESS
= 'in_progress'¶
-
STATE_IN_SYNC
= 'in_sync'¶
-
STATE_LACP_NOT_SUPPORTED_FOR_EDGE_VM
= 'LACP_NOT_SUPPORTED_FOR_EDGE_VM'¶
-
STATE_LBSRCID_NOT_SUPPORTED_FOR_EDGE_VM
= 'LBSRCID_NOT_SUPPORTED_FOR_EDGE_VM'¶
-
STATE_LLDP_SEND_ENABLED_NOT_SUPPORTED
= 'LLDP_SEND_ENABLED_NOT_SUPPORTED'¶
-
STATE_MPA_DISCONNECTED
= 'MPA_DISCONNECTED'¶
-
STATE_MULTIPLE_ACTIVE_UPLINKS_NOT_SUPPORTED_FOR_EDGE
= 'MULTIPLE_ACTIVE_UPLINKS_NOT_SUPPORTED_FOR_EDGE'¶
-
STATE_MULTIPLE_OVERLAY_TZS_NOT_SUPPORTED
= 'MULTIPLE_OVERLAY_TZS_NOT_SUPPORTED'¶
-
STATE_NODE_NOT_READY
= 'NODE_NOT_READY'¶
-
STATE_NODE_READY
= 'NODE_READY'¶
-
STATE_NOT_AVAILABLE
= 'NOT_AVAILABLE'¶
-
STATE_NO_PNIC_PREPARED_IN_EDGE
= 'NO_PNIC_PREPARED_IN_EDGE'¶
-
STATE_NO_PNIC_SPECIFIED_IN_TN
= 'NO_PNIC_SPECIFIED_IN_TN'¶
-
STATE_ORPHANED
= 'orphaned'¶
-
STATE_PARTIAL_SUCCESS
= 'partial_success'¶
-
STATE_PENDING
= 'pending'¶
-
STATE_REGISTRATION_FAILED
= 'REGISTRATION_FAILED'¶
-
STATE_REGISTRATION_PENDING
= 'REGISTRATION_PENDING'¶
-
STATE_REGISTRATION_TIMEDOUT
= 'REGISTRATION_TIMEDOUT'¶
-
STATE_STANDBY_UPLINKS_NOT_SUPPORTED_FOR_EDGE_VM
= 'STANDBY_UPLINKS_NOT_SUPPORTED_FOR_EDGE_VM'¶
-
STATE_SUCCESS
= 'success'¶
-
STATE_TN_OVERLAY_TZ_IN_USE_BY_EDGE_CLUSTER
= 'TN_OVERLAY_TZ_IN_USE_BY_EDGE_CLUSTER'¶
-
STATE_TRANSPORT_NODE_CONFIGURATION_MISSING
= 'TRANSPORT_NODE_CONFIGURATION_MISSING'¶
-
STATE_TRANSPORT_NODE_READY
= 'TRANSPORT_NODE_READY'¶
-
STATE_TRANSPORT_NODE_SYNC_PENDING
= 'TRANSPORT_NODE_SYNC_PENDING'¶
-
STATE_TZ_ENDPOINTS_NOT_SPECIFIED
= 'TZ_ENDPOINTS_NOT_SPECIFIED'¶
-
STATE_UNKNOWN
= 'unknown'¶
-
STATE_UNSUPPORTED_DEFAULT_TEAMING_POLICY
= 'UNSUPPORTED_DEFAULT_TEAMING_POLICY'¶
-
STATE_UNSUPPORTED_HOST_SWITCH_PROFILE
= 'UNSUPPORTED_HOST_SWITCH_PROFILE'¶
-
STATE_UNSUPPORTED_LACP_LB_ALGO_FOR_NODE
= 'UNSUPPORTED_LACP_LB_ALGO_FOR_NODE'¶
-
STATE_UNSUPPORTED_NAMED_TEAMING_POLICY
= 'UNSUPPORTED_NAMED_TEAMING_POLICY'¶
-
STATE_UPLINK_HOST_SWITCH_PROFILE_NOT_SPECIFIED
= 'UPLINK_HOST_SWITCH_PROFILE_NOT_SPECIFIED'¶
-
STATE_VM_CONFIG_DISCREPANCY
= 'VM_CONFIG_DISCREPANCY'¶
-
STATE_VM_CONFIG_EDIT_FAILED
= 'VM_CONFIG_EDIT_FAILED'¶
-
STATE_VM_CONFIG_EDIT_PENDING
= 'VM_CONFIG_EDIT_PENDING'¶
-
STATE_VM_DEPLOYMENT_FAILED
= 'VM_DEPLOYMENT_FAILED'¶
-
STATE_VM_DEPLOYMENT_IN_PROGRESS
= 'VM_DEPLOYMENT_IN_PROGRESS'¶
-
STATE_VM_DEPLOYMENT_QUEUED
= 'VM_DEPLOYMENT_QUEUED'¶
-
STATE_VM_DEPLOYMENT_RESTARTED
= 'VM_DEPLOYMENT_RESTARTED'¶
-
STATE_VM_NETWORK_EDIT_FAILED
= 'VM_NETWORK_EDIT_FAILED'¶
-
STATE_VM_NETWORK_EDIT_PENDING
= 'VM_NETWORK_EDIT_PENDING'¶
-
STATE_VM_NODE_REFRESH_FAILED
= 'VM_NODE_REFRESH_FAILED'¶
-
STATE_VM_PLACEMENT_REFRESH_FAILED
= 'VM_PLACEMENT_REFRESH_FAILED'¶
-
STATE_VM_POWER_OFF_FAILED
= 'VM_POWER_OFF_FAILED'¶
-
STATE_VM_POWER_OFF_IN_PROGRESS
= 'VM_POWER_OFF_IN_PROGRESS'¶
-
STATE_VM_POWER_ON_FAILED
= 'VM_POWER_ON_FAILED'¶
-
STATE_VM_POWER_ON_IN_PROGRESS
= 'VM_POWER_ON_IN_PROGRESS'¶
-
STATE_VM_RENAME_FAILED
= 'VM_RENAME_FAILED'¶
-
STATE_VM_RENAME_PENDING
= 'VM_RENAME_PENDING'¶
-
STATE_VM_UNDEPLOY_FAILED
= 'VM_UNDEPLOY_FAILED'¶
-
STATE_VM_UNDEPLOY_IN_PROGRESS
= 'VM_UNDEPLOY_IN_PROGRESS'¶
-
STATE_VM_UNDEPLOY_SUCCESSFUL
= 'VM_UNDEPLOY_SUCCESSFUL'¶
-
STATE_VTEP_DHCP_NOT_SUPPORTED
= 'VTEP_DHCP_NOT_SUPPORTED'¶
-
-
class
com.vmware.nsx_policy.model_client.
DhcpServerStatistics
(acks=None, declines=None, dhcp_server_id=None, discovers=None, errors=None, informs=None, ip_pool_stats=None, nacks=None, offers=None, releases=None, requests=None, timestamp=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - acks (
long
orNone
) – The total number of DHCP ACK packets format: int64 - declines (
long
orNone
) – The total number of DHCP DECLINE packets format: int64 - dhcp_server_id (
str
orNone
) – dhcp server uuid - discovers (
long
orNone
) – The total number of DHCP DISCOVER packets format: int64 - errors (
long
orNone
) – The total number of DHCP errors format: int64 - informs (
long
orNone
) – The total number of DHCP INFORM packets format: int64 - ip_pool_stats (
list
ofDhcpIpPoolUsage
orNone
) – The DHCP ip pool usage statistics - nacks (
long
orNone
) – The total number of DHCP NACK packets format: int64 - offers (
long
orNone
) – The total number of DHCP OFFER packets format: int64 - releases (
long
orNone
) – The total number of DHCP RELEASE packets format: int64 - requests (
long
orNone
) – The total number of DHCP REQUEST packets format: int64 - timestamp (
long
orNone
) – timestamp of the statistics format: int64
- acks (
-
class
com.vmware.nsx_policy.model_client.
DhcpServerStatus
(active_node=None, error_message=None, service_status=None, stand_by_node=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - active_node (
str
orNone
) – uuid of active transport node - error_message (
str
orNone
) – Error message, if available - service_status (
str
orNone
) –Possible values are:
DhcpServerStatus.SERVICE_STATUS_UP
DhcpServerStatus.SERVICE_STATUS_DOWN
DhcpServerStatus.SERVICE_STATUS_ERROR
DhcpServerStatus.SERVICE_STATUS_NO_STANDBY
UP means the dhcp service is working fine on both active transport-node and stand-by transport-node (if have), hence fail-over can work at this time if there is failure happens on one of the transport-node; DOWN means the dhcp service is down on both active transport-node and stand-by node (if have), hence the dhcp-service will not repsonse any dhcp request; Error means error happens on transport-node(s) or no status is reported from transport-node(s). The dhcp service may be working (or not working); NO_STANDBY means dhcp service is working in one of the transport node while not in the other transport-node (if have). Hence if the dhcp service in the working transport-node is down, fail-over will not happen and the dhcp service will go down.
- stand_by_node (
str
orNone
) – uuid of stand_by transport node. null if non-HA mode
-
SERVICE_STATUS_DOWN
= 'DOWN'¶
-
SERVICE_STATUS_ERROR
= 'ERROR'¶
-
SERVICE_STATUS_NO_STANDBY
= 'NO_STANDBY'¶
-
SERVICE_STATUS_UP
= 'UP'¶
- active_node (
-
class
com.vmware.nsx_policy.model_client.
DhcpStaticBindingConfig
(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='DhcpStaticBindingConfig', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DHCP IPv4 and IPv6 static bindings are extended from this abstract class.
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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_DHCPV4STATICBINDINGCONFIG
= 'DhcpV4StaticBindingConfig'¶
-
RESOURCE_TYPE_DHCPV6STATICBINDINGCONFIG
= 'DhcpV6StaticBindingConfig'¶
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
DhcpStaticBindingConfigListResult
(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
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
) – Paginated list of DhcpStaticBindingConfig When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inDhcpStaticBindingConfig
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inDhcpStaticBindingConfig
.
- links (
-
class
com.vmware.nsx_policy.model_client.
DhcpStaticBindingState
(details=None, failure_code=None, failure_message=None, state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
-
STATE_APPLIANCE_INTERNAL_ERROR
= 'APPLIANCE_INTERNAL_ERROR'¶
-
STATE_EDGE_CONFIG_ERROR
= 'EDGE_CONFIG_ERROR'¶
-
STATE_EDGE_HARDWARE_NOT_SUPPORTED
= 'EDGE_HARDWARE_NOT_SUPPORTED'¶
-
STATE_EDGE_NODE_VERSION_NOT_SUPPORTED
= 'EDGE_NODE_VERSION_NOT_SUPPORTED'¶
-
STATE_ERROR
= 'error'¶
-
STATE_FAILED
= 'failed'¶
-
STATE_HOSTSWITCH_PROFILE_NOT_FOUND
= 'HOSTSWITCH_PROFILE_NOT_FOUND'¶
-
STATE_INVALID_PNIC_DEVICE_NAME
= 'INVALID_PNIC_DEVICE_NAME'¶
-
STATE_IN_PROGRESS
= 'in_progress'¶
-
STATE_IN_SYNC
= 'in_sync'¶
-
STATE_LACP_NOT_SUPPORTED_FOR_EDGE_VM
= 'LACP_NOT_SUPPORTED_FOR_EDGE_VM'¶
-
STATE_LBSRCID_NOT_SUPPORTED_FOR_EDGE_VM
= 'LBSRCID_NOT_SUPPORTED_FOR_EDGE_VM'¶
-
STATE_LLDP_SEND_ENABLED_NOT_SUPPORTED
= 'LLDP_SEND_ENABLED_NOT_SUPPORTED'¶
-
STATE_MPA_DISCONNECTED
= 'MPA_DISCONNECTED'¶
-
STATE_MULTIPLE_ACTIVE_UPLINKS_NOT_SUPPORTED_FOR_EDGE
= 'MULTIPLE_ACTIVE_UPLINKS_NOT_SUPPORTED_FOR_EDGE'¶
-
STATE_MULTIPLE_OVERLAY_TZS_NOT_SUPPORTED
= 'MULTIPLE_OVERLAY_TZS_NOT_SUPPORTED'¶
-
STATE_NODE_NOT_READY
= 'NODE_NOT_READY'¶
-
STATE_NODE_READY
= 'NODE_READY'¶
-
STATE_NOT_AVAILABLE
= 'NOT_AVAILABLE'¶
-
STATE_NO_PNIC_PREPARED_IN_EDGE
= 'NO_PNIC_PREPARED_IN_EDGE'¶
-
STATE_NO_PNIC_SPECIFIED_IN_TN
= 'NO_PNIC_SPECIFIED_IN_TN'¶
-
STATE_ORPHANED
= 'orphaned'¶
-
STATE_PARTIAL_SUCCESS
= 'partial_success'¶
-
STATE_PENDING
= 'pending'¶
-
STATE_REGISTRATION_FAILED
= 'REGISTRATION_FAILED'¶
-
STATE_REGISTRATION_PENDING
= 'REGISTRATION_PENDING'¶
-
STATE_REGISTRATION_TIMEDOUT
= 'REGISTRATION_TIMEDOUT'¶
-
STATE_STANDBY_UPLINKS_NOT_SUPPORTED_FOR_EDGE_VM
= 'STANDBY_UPLINKS_NOT_SUPPORTED_FOR_EDGE_VM'¶
-
STATE_SUCCESS
= 'success'¶
-
STATE_TN_OVERLAY_TZ_IN_USE_BY_EDGE_CLUSTER
= 'TN_OVERLAY_TZ_IN_USE_BY_EDGE_CLUSTER'¶
-
STATE_TRANSPORT_NODE_CONFIGURATION_MISSING
= 'TRANSPORT_NODE_CONFIGURATION_MISSING'¶
-
STATE_TRANSPORT_NODE_READY
= 'TRANSPORT_NODE_READY'¶
-
STATE_TRANSPORT_NODE_SYNC_PENDING
= 'TRANSPORT_NODE_SYNC_PENDING'¶
-
STATE_TZ_ENDPOINTS_NOT_SPECIFIED
= 'TZ_ENDPOINTS_NOT_SPECIFIED'¶
-
STATE_UNKNOWN
= 'unknown'¶
-
STATE_UNSUPPORTED_DEFAULT_TEAMING_POLICY
= 'UNSUPPORTED_DEFAULT_TEAMING_POLICY'¶
-
STATE_UNSUPPORTED_HOST_SWITCH_PROFILE
= 'UNSUPPORTED_HOST_SWITCH_PROFILE'¶
-
STATE_UNSUPPORTED_LACP_LB_ALGO_FOR_NODE
= 'UNSUPPORTED_LACP_LB_ALGO_FOR_NODE'¶
-
STATE_UNSUPPORTED_NAMED_TEAMING_POLICY
= 'UNSUPPORTED_NAMED_TEAMING_POLICY'¶
-
STATE_UPLINK_HOST_SWITCH_PROFILE_NOT_SPECIFIED
= 'UPLINK_HOST_SWITCH_PROFILE_NOT_SPECIFIED'¶
-
STATE_VM_CONFIG_DISCREPANCY
= 'VM_CONFIG_DISCREPANCY'¶
-
STATE_VM_CONFIG_EDIT_FAILED
= 'VM_CONFIG_EDIT_FAILED'¶
-
STATE_VM_CONFIG_EDIT_PENDING
= 'VM_CONFIG_EDIT_PENDING'¶
-
STATE_VM_DEPLOYMENT_FAILED
= 'VM_DEPLOYMENT_FAILED'¶
-
STATE_VM_DEPLOYMENT_IN_PROGRESS
= 'VM_DEPLOYMENT_IN_PROGRESS'¶
-
STATE_VM_DEPLOYMENT_QUEUED
= 'VM_DEPLOYMENT_QUEUED'¶
-
STATE_VM_DEPLOYMENT_RESTARTED
= 'VM_DEPLOYMENT_RESTARTED'¶
-
STATE_VM_NETWORK_EDIT_FAILED
= 'VM_NETWORK_EDIT_FAILED'¶
-
STATE_VM_NETWORK_EDIT_PENDING
= 'VM_NETWORK_EDIT_PENDING'¶
-
STATE_VM_NODE_REFRESH_FAILED
= 'VM_NODE_REFRESH_FAILED'¶
-
STATE_VM_PLACEMENT_REFRESH_FAILED
= 'VM_PLACEMENT_REFRESH_FAILED'¶
-
STATE_VM_POWER_OFF_FAILED
= 'VM_POWER_OFF_FAILED'¶
-
STATE_VM_POWER_OFF_IN_PROGRESS
= 'VM_POWER_OFF_IN_PROGRESS'¶
-
STATE_VM_POWER_ON_FAILED
= 'VM_POWER_ON_FAILED'¶
-
STATE_VM_POWER_ON_IN_PROGRESS
= 'VM_POWER_ON_IN_PROGRESS'¶
-
STATE_VM_RENAME_FAILED
= 'VM_RENAME_FAILED'¶
-
STATE_VM_RENAME_PENDING
= 'VM_RENAME_PENDING'¶
-
STATE_VM_UNDEPLOY_FAILED
= 'VM_UNDEPLOY_FAILED'¶
-
STATE_VM_UNDEPLOY_IN_PROGRESS
= 'VM_UNDEPLOY_IN_PROGRESS'¶
-
STATE_VM_UNDEPLOY_SUCCESSFUL
= 'VM_UNDEPLOY_SUCCESSFUL'¶
-
STATE_VTEP_DHCP_NOT_SUPPORTED
= 'VTEP_DHCP_NOT_SUPPORTED'¶
-
-
class
com.vmware.nsx_policy.model_client.
DhcpStatistics
(acks=None, declines=None, dhcp_server_id=None, discovers=None, errors=None, informs=None, ip_pool_stats=None, nacks=None, offers=None, releases=None, requests=None, timestamp=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - acks (
long
orNone
) – The total number of DHCP ACK packets format: int64 - declines (
long
orNone
) – The total number of DHCP DECLINE packets format: int64 - dhcp_server_id (
str
orNone
) – dhcp server uuid - discovers (
long
orNone
) – The total number of DHCP DISCOVER packets format: int64 - errors (
long
orNone
) – The total number of DHCP errors format: int64 - informs (
long
orNone
) – The total number of DHCP INFORM packets format: int64 - ip_pool_stats (
list
ofDhcpIpPoolUsage
orNone
) – The DHCP ip pool usage statistics - nacks (
long
orNone
) – The total number of DHCP NACK packets format: int64 - offers (
long
orNone
) – The total number of DHCP OFFER packets format: int64 - releases (
long
orNone
) – The total number of DHCP RELEASE packets format: int64 - requests (
long
orNone
) – The total number of DHCP REQUEST packets format: int64 - timestamp (
long
orNone
) – timestamp of the statistics format: int64
- acks (
-
class
com.vmware.nsx_policy.model_client.
DhcpV4Options
(option121=None, others=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DHCP options for IPv4 server.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - option121 (
DhcpOption121
orNone
) – DHCP option 121 to define classless static routes. - others (
list
ofGenericDhcpOption
orNone
) – To define DHCP options other than option 121 in generic format. Please note, only the following options can be defined in generic format. Those other options will be accepted without validation but will not take effect. ————————– Code Name ————————– 2 Time Offset 6 Domain Name Server 13 Boot File Size 19 Forward On/Off 26 MTU Interface 28 Broadcast Address 35 ARP Timeout 40 NIS Domain 41 NIS Servers 42 NTP Servers 44 NETBIOS Name Srv 45 NETBIOS Dist Srv 46 NETBIOS Node Type 47 NETBIOS Scope 58 Renewal Time 59 Rebinding Time 64 NIS+-Domain-Name 65 NIS+-Server-Addr 66 TFTP Server-Name (used by PXE) 67 Bootfile-Name (used by PXE) 93 PXE: Client system architecture 94 PXE: Client NDI 97 PXE: UUID/UNDI 117 Name Service Search 119 Domain Search 150 TFTP server address (used by PXE) 175 Etherboot 209 PXE Configuration File 210 PXE Path Prefix 211 PXE Reboot Time
- option121 (
-
class
com.vmware.nsx_policy.model_client.
DhcpV4StaticBindingConfig
(gateway_address=None, host_name=None, ip_address=None, lease_time=None, mac_address=None, options=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='DhcpV4StaticBindingConfig', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DHCP IPv4 static bindings are configured for each segment.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - gateway_address (
str
orNone
) – When not specified, gateway address is auto-assigned from segment configuration. format: ipv4 - host_name (
str
orNone
) – Hostname to assign to the host. - ip_address (
str
orNone
) – IP assigned to host. The IP address must belong to the subnet, if any, configured on Segment. format: ipv4 - lease_time (
long
orNone
) – DHCP lease time in seconds. format: int64 - mac_address (
str
orNone
) – MAC address of the host. format: mac-address - options (
DhcpV4Options
orNone
) – IPv4 DHCP options. - 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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
¶ Return the discriminator value
- gateway_address (
-
class
com.vmware.nsx_policy.model_client.
DhcpV6StaticBindingConfig
(dns_nameservers=None, domain_names=None, ip_addresses=None, lease_time=None, mac_address=None, preferred_time=None, sntp_servers=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='DhcpV6StaticBindingConfig', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DHCP IPv6 static bindings are configured for each segment.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dns_nameservers (
list
ofstr
orNone
) – When not specified, no DNS nameserver will be set to client host. - domain_names (
list
ofstr
orNone
) – When not specified, no domain name will be assigned to client host. - ip_addresses (
list
ofstr
orNone
) – When not specified, no ip address will be assigned to client host. format: ipv6 - lease_time (
long
orNone
) – Lease time, in seconds. format: int64 - mac_address (
str
orNone
) – The MAC address of the client host. Either client-duid or mac-address, but not both. format: mac-address - preferred_time (
long
orNone
) – Preferred time, in seconds. If this value is not provided, the value of lease_time*0.8 will be used. format: int64 - sntp_servers (
list
ofstr
orNone
) – SNTP server IP addresses. format: ipv6 - 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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
¶ Return the discriminator value
- dns_nameservers (
-
class
com.vmware.nsx_policy.model_client.
Dhcpv6Header
(msg_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: msg_type ( str
orNone
) –Possible values are:
Dhcpv6Header.MSG_TYPE_SOLICIT
Dhcpv6Header.MSG_TYPE_ADVERTISE
Dhcpv6Header.MSG_TYPE_REQUEST
Dhcpv6Header.MSG_TYPE_REPLY
This is used to specify the DHCP v6 message. To request the assignment of one or more IPv6 addresses, a client first locates a DHCP server and then requests the assignment of addresses and other configuration information from the server. The client sends a Solicit message to the All_DHCP_Relay_Agents_and_Servers address to find available DHCP servers. Any server that can meet the client’s requirements responds with an Advertise message. The client then chooses one of the servers and sends a Request message to the server asking for confirmed assignment of addresses and other configuration information. The server responds with a Reply message that contains the confirmed addresses and configuration. SOLICIT - A client sends a Solicit message to locate servers. ADVERTISE - A server sends and Advertise message to indicate that it is available. REQUEST - A client sends a Request message to request configuration parameters. REPLY - A server sends a Reply message containing assigned addresses and configuration parameters.
-
MSG_TYPE_ADVERTISE
= 'ADVERTISE'¶
-
MSG_TYPE_REPLY
= 'REPLY'¶
-
MSG_TYPE_REQUEST
= 'REQUEST'¶
-
MSG_TYPE_SOLICIT
= 'SOLICIT'¶
-
class
com.vmware.nsx_policy.model_client.
DiscoveredNode
(certificate=None, cm_local_id=None, external_id=None, hardware_id=None, ip_addresses=None, node_type=None, origin_id=None, origin_properties=None, os_type=None, os_version=None, parent_compute_collection=None, stateless=None, links=None, schema=None, self_=None, last_sync_time=None, description=None, display_name=None, resource_type='DiscoveredNode', tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - certificate (
str
orNone
) – Certificate of the discovered node - cm_local_id (
str
orNone
) – Local Id of the discovered node in the Compute Manager This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - external_id (
str
orNone
) – External id of the discovered node, ex. a mo-ref from VC This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - hardware_id (
str
orNone
) – Hardware Id is generated using system hardware info. It is used to retrieve fabric node of the esx. 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_addresses (
list
ofstr
orNone
) – IP Addresses of the the discovered node. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - node_type (
str
orNone
) – Discovered Node type like Host This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - origin_id (
str
orNone
) – Id of the compute manager from where this node was discovered This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - origin_properties (
list
ofKeyValuePair
orNone
) – Key-Value map of additional specific properties of discovered node in the Compute Manager This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - os_type (
str
orNone
) – OS type of the discovered node This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - os_version (
str
orNone
) – OS version of the discovered node 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_compute_collection (
str
orNone
) – External id of the compute collection to which this node belongs This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - stateless (
bool
orNone
) – The stateless property describes whether host persists its state across reboot or not. If state persists, value is set as false otherwise true. 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 (
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 - last_sync_time (
long
orNone
) – Timestamp of last modification format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - description (
str
orNone
) – Description of this resource - display_name (
str
orNone
) – Defaults to ID if not set - resource_type (
str
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
resource_type
¶ Return the discriminator value
- certificate (
-
class
com.vmware.nsx_policy.model_client.
DiscoveredResource
(links=None, schema=None, self_=None, last_sync_time=None, description=None, display_name=None, resource_type='DiscoveredResource', tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Base class for resources that are discovered and automatically updated
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - links (
list
ofResourceLink
orNone
) – The server will populate this field when returing the resource. Ignored on PUT and POST. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - schema (
str
orNone
) – Schema for this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - self (
SelfResourceLink
orNone
) – Link to this resource - last_sync_time (
long
orNone
) – Timestamp of last modification format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - description (
str
orNone
) – Description of this resource - display_name (
str
orNone
) – Defaults to ID if not set - resource_type (
str
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
DiscoveryProfileBindingMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Base Discovery Profile Binding Map
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_policy.model_client.
DistributedFloodProtectionProfile
(enable_rst_spoofing=None, enable_syncache=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='DistributedFloodProtectionProfile', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, icmp_active_flow_limit=None, other_active_conn_limit=None, tcp_half_open_conn_limit=None, udp_active_flow_limit=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - enable_rst_spoofing (
bool
orNone
) – If set to true, rst spoofing will be enabled. Flag is used only for distributed firewall profiles. - enable_syncache (
bool
orNone
) – If set to true, sync cache will be enabled. Flag is used only for distributed firewall profiles. - 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
) –Possible values are:
FloodProtectionProfile.RESOURCE_TYPE_GATEWAYFLOODPROTECTIONPROFILE
FloodProtectionProfile.RESOURCE_TYPE_DISTRIBUTEDFLOODPROTECTIONPROFILE
GatewayFloodProtectionProfile is used for all Tier0 and Tier1 gateways. DistributedFloodProtectionProfile is used for all Transport Nodes.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - icmp_active_flow_limit (
long
orNone
) – If this field is empty, firewall will not set a limit to active ICMP connections. format: int64 - other_active_conn_limit (
long
orNone
) – If this field is empty, firewall will not set a limit to other active connections. besides UDP, ICMP and half open TCP connections. format: int64 - tcp_half_open_conn_limit (
long
orNone
) – If this field is empty, firewall will not set a limit to half open TCP connections. format: int64 - udp_active_flow_limit (
long
orNone
) – If this field is empty, firewall will not set a limit to active UDP connections. format: int64
-
resource_type
¶ Return the discriminator value
- enable_rst_spoofing (
-
class
com.vmware.nsx_policy.model_client.
DistributedVirtualPortgroup
(backing_type=None, key=None, overall_status=None, cm_local_id=None, external_id=None, origin_type=None, links=None, schema=None, self_=None, last_sync_time=None, description=None, display_name=None, resource_type=None, tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Distributed virtual portgroup on a VC
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - backing_type (
str
orNone
) – For distributed virtual portgroup, backing type is standard. For logical switch portgroup, the backing type is set to nsx. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - key (
str
orNone
) – Generated UUID of the portgroup This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overall_status (
str
orNone
) –Possible values are:
DistributedVirtualPortgroup.OVERALL_STATUS_RED
DistributedVirtualPortgroup.OVERALL_STATUS_YELLOW
DistributedVirtualPortgroup.OVERALL_STATUS_GREEN
DistributedVirtualPortgroup.OVERALL_STATUS_GRAY
This parameters reflects the managed entity status of the portgroup as reported by VC. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- cm_local_id (
str
orNone
) – Id of the portgroup, eg. a mo-ref from VC. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - external_id (
str
orNone
) – External id of the virtual portgroup This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - origin_type (
str
orNone
) – Portgroup type like DistributedVirtualPortgroup 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 (
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 - last_sync_time (
long
orNone
) – Timestamp of last modification format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - description (
str
orNone
) – Description of this resource - display_name (
str
orNone
) – Defaults to ID if not set - resource_type (
str
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
OVERALL_STATUS_GRAY
= 'GRAY'¶
-
OVERALL_STATUS_GREEN
= 'GREEN'¶
-
OVERALL_STATUS_RED
= 'RED'¶
-
OVERALL_STATUS_YELLOW
= 'YELLOW'¶
-
resource_type
¶ Return the discriminator value
- backing_type (
-
class
com.vmware.nsx_policy.model_client.
DistributedVirtualSwitch
(discovered_nodes=None, lacp_group_configs=None, origin_properties=None, uplink_port_names=None, uplink_portgroup=None, uuid=None, cm_local_id=None, external_id=None, origin_id=None, origin_type=None, links=None, schema=None, self_=None, last_sync_time=None, description=None, display_name=None, resource_type=None, tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DistributedVirtualSwitch on a VC
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - discovered_nodes (
list
ofDiscoveredNode
orNone
) – Array of discovered nodes connected to this switch. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lacp_group_configs (
list
ofLacpGroupConfigInfo
orNone
) – It contains information about VMware specific multiple dynamic LACP groups. - origin_properties (
list
ofKeyValuePair
orNone
) – Key-Value map of additional properties of switch This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - uplink_port_names (
list
ofstr
orNone
) – The uniform name of uplink ports on each host. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - uplink_portgroup (
DistributedVirtualPortgroup
orNone
) – Uplink portgroup of distributed virtual switch - uuid (
str
orNone
) – UUID of the switch This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - cm_local_id (
str
orNone
) – ID of the virtual switch in compute manager This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - external_id (
str
orNone
) – External id of the virtual switch This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - origin_id (
str
orNone
) – ID of the compute manager where this virtual switch is discovered. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - origin_type (
str
orNone
) – Switch type like VmwareDistributedVirtualSwitch 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 (
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 - last_sync_time (
long
orNone
) – Timestamp of last modification format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - description (
str
orNone
) – Description of this resource - display_name (
str
orNone
) – Defaults to ID if not set - resource_type (
str
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
resource_type
¶ Return the discriminator value
- discovered_nodes (
-
class
com.vmware.nsx_policy.model_client.
DnsHeader
(address=None, address_type=None, message_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - address (
str
orNone
) – This is used to define what is being asked or responded. format: hostname-or-ip - address_type (
str
orNone
) –Possible values are:
This is used to specify the type of the address. V4 - The address provided is an IPv4 domain name/IP address, the Type in query or response will be A V6 - The address provided is an IPv6 domain name/IP address, the Type in query or response will be AAAA
- message_type (
str
orNone
) –Possible values are:
Specifies the message type whether it is a query or a response.
-
ADDRESS_TYPE_V4
= 'V4'¶
-
ADDRESS_TYPE_V6
= 'V6'¶
-
MESSAGE_TYPE_QUERY
= 'QUERY'¶
-
MESSAGE_TYPE_RESPONSE
= 'RESPONSE'¶
- address (
-
class
com.vmware.nsx_policy.model_client.
DnsSecurityProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, ttl=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Used to configure DNS security profile
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - ttl (
long
orNone
) – Time to live for DNS cache entry in seconds. Valid TTL values are between 3600 to 864000. However, this field accepts values between 0 through 864000. We define TTL type based on the value of TTL as follows: TTL 0 - cached entry never expires. TTL 1 to 3599 - invalid input and error is thrown TTL 3600 to 864000 - ttl is set to user input TTL field not set by user - TTL type is ‘AUTO’ and ttl value is set from DNS response packet. User defined TTL value is used only when it is betweeen 3600 to 864000. format: int64
- links (
-
class
com.vmware.nsx_policy.model_client.
DnsSecurityProfileBindingMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, profile_path=None, sequence_number=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This entity will be used to establish association between DNS security profile and Group. With this entity, user can specify intent for applying DNS security profile profile to particular Group.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - profile_path (
str
orNone
) – PolicyPath of associated Profile - sequence_number (
long
orNone
) – Sequence number used to resolve conflicts betweeen two profiles applied on the same group. Lower sequence number takes higher precedence. Two binding maps applied to the same profile must have the same sequence number. User defined sequence numbers range from 1 through 100,000. System defined sequence numbers range from 100,001 through 200,000. format: int64
- links (
-
class
com.vmware.nsx_policy.model_client.
DnsSecurityProfileBindingMapListResult
(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
Paged collection of DNS Security Profile Binding Map
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
ofDnsSecurityProfileBindingMap
orNone
) – DNS Security Profile Binding Map List Results
- links (
-
class
com.vmware.nsx_policy.model_client.
DnsSecurityProfileListResult
(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
Paged Collection of DnsSecurityProfile
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
ofDnsSecurityProfile
orNone
) – DnsSecurityProfile list results
- links (
-
class
com.vmware.nsx_policy.model_client.
Domain
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Domain.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_policy.model_client.
DomainDeploymentMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, enforcement_point_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Binding of domain to the enforcement point.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - enforcement_point_path (
str
orNone
) – Path of enforcement point on which domain shall be enforced.
- links (
-
class
com.vmware.nsx_policy.model_client.
DomainDeploymentMapListResult
(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
Paged collection of Domain Deployment Map.
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
ofDomainDeploymentMap
orNone
) – Domain Deployment Map list result.
- links (
-
class
com.vmware.nsx_policy.model_client.
DomainListResult
(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
Paged Collection of Domains
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
ofDomain
orNone
) – Domain list results
- links (
-
class
com.vmware.nsx_policy.model_client.
DonutConfiguration
(count=None, display_count=None, label=None, navigation=None, sections=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='DonutConfiguration', tags=None, datasources=None, default_filter_value=None, drilldown_id=None, filter=None, filter_value_required=None, footer=None, icons=None, is_drilldown=None, legend=None, shared=None, span=None, weight=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents configuration of a Donut
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - count (
str
orNone
) – Expression to retrieve count to be shown on Donut. - display_count (
bool
orNone
) – If true, displays the count of entities in the donut - label (
Label
orNone
) – Displayed at the middle of the donut, by default. It labels the entities of donut. - navigation (
str
orNone
) – Hyperlink of the specified UI page that provides details. - sections (
list
ofDonutSection
orNone
) – Sections - 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
) – Title of the widget. If display_name is omitted, the widget will be shown without a title. - id (
str
orNone
) – Unique identifier of this resource - resource_type (
str
) –Possible values are:
WidgetConfiguration.RESOURCE_TYPE_LABELVALUECONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DONUTCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_MULTIWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CONTAINERCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_STATSCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRIDCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRAPHCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CUSTOMWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DROPDOWNFILTERWIDGETCONFIGURATION
Supported visualization types are LabelValueConfiguration, DonutConfiguration, GridConfiguration, StatsConfiguration, MultiWidgetConfiguration, GraphConfiguration, ContainerConfiguration, CustomWidgetConfiguration and DropdownFilterWidgetConfiguration.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - datasources (
list
ofDatasource
orNone
) – The ‘datasources’ represent the sources from which data will be fetched. Currently, only NSX-API is supported as a ‘default’ datasource. An example of specifying ‘default’ datasource along with the urls to fetch data from is given at ‘example_request’ section of ‘CreateWidgetConfiguration’ API. - default_filter_value (
list
ofDefaultFilterValue
orNone
) – Default filter values to be passed to datasources. This will be used when the report is requested without filter values. - drilldown_id (
str
orNone
) – Id of drilldown widget, if any. Id should be a valid id of an existing widget. A widget is considered as drilldown widget when it is associated with any other widget and provides more detailed information about any data item from the parent widget. - filter (
str
orNone
) – Id of filter widget for subscription, if any. Id should be a valid id of an existing filter widget. Filter widget should be from the same view. Datasource URLs should have placeholder values equal to filter alias to accept the filter value on filter change. - filter_value_required (
bool
orNone
) – Flag to indicate that widget will continue to work without filter value. If this flag is set to false then default_filter_value is manadatory. - footer (
Footer
orNone
) – - icons (
list
ofIcon
orNone
) – Icons to be applied at dashboard for widgets and UI elements. - is_drilldown (
bool
orNone
) – Set to true if this widget should be used as a drilldown. - legend (
Legend
orNone
) – Legend to be displayed. If legend is not needed, do not include it. - shared (
bool
orNone
) – Please use the property ‘shared’ of View instead of this. The widgets of a shared view are visible to other users. - span (
long
orNone
) – Represents the horizontal span of the widget / container. format: int32 - weight (
long
orNone
) – Specify relavite weight in WidgetItem for placement in a view. Please see WidgetItem for details. format: int32
-
resource_type
¶ Return the discriminator value
- count (
-
class
com.vmware.nsx_policy.model_client.
DonutPart
(condition=None, drilldown_id=None, field=None, hide_empty_legend=None, label=None, navigation=None, render_configuration=None, tooltip=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents an entity or portion to be plotted on a donut or stats chart.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - condition (
str
orNone
) – If the condition is met then the part will be displayed. Examples of expression syntax are provided under ‘example_request’ section of ‘CreateWidgetConfiguration’ API. - drilldown_id (
str
orNone
) – Id of drilldown widget, if any. Id should be a valid id of an existing widget. A widget is considered as drilldown widget when it is associated with any other widget and provides more detailed information about any data item from the parent widget. - field (
str
orNone
) – A numerical value that represents the portion or entity of the donut or stats chart. - hide_empty_legend (
bool
orNone
) – If true, legend will be shown only if the data for the part is available. This is applicable only if legends are specified in widget configuration. - label (
Label
orNone
) – If a section ‘template’ holds this donut or stats part, then the label is auto-generated from the fetched field values after applying the template. - navigation (
str
orNone
) – Hyperlink of the specified UI page that provides details. If drilldown_id is provided, then navigation cannot be used. - render_configuration (
list
ofRenderConfiguration
orNone
) – Additional rendering or conditional evaluation of the field values to be performed, if any. - tooltip (
list
ofTooltip
orNone
) – Multi-line text to be shown on tooltip while hovering over the portion.
- condition (
-
class
com.vmware.nsx_policy.model_client.
DonutSection
(parts=None, row_list_field=None, template=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents high level logical grouping of portions or segments of a donut / stats chart.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - parts (
list
ofDonutPart
orNone
) – Array of portions or parts of the donut or stats chart. - row_list_field (
str
orNone
) – Field of the root of the api result set for forming parts. - template (
bool
orNone
) – If true, the section will be appled as template for forming parts. Only one part will be formed from each element of ‘row_list_field’.
- parts (
-
class
com.vmware.nsx_policy.model_client.
DropdownFilterWidgetConfiguration
(default_value=None, dropdown_item=None, placeholder_msg=None, static_filter_condition=None, static_filters=None, alias=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=None, tags=None, datasources=None, default_filter_value=None, drilldown_id=None, filter=None, filter_value_required=None, footer=None, icons=None, is_drilldown=None, legend=None, shared=None, span=None, weight=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents configuration for dropdown filter widget.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - default_value (
str
orNone
) – Expression to specify default value of filter. - dropdown_item (
DropdownItem
orNone
) – Defines the item of a dropdown. - placeholder_msg (
str
orNone
) – Placeholder message to be displayed in dropdown filter. - static_filter_condition (
str
orNone
) – If the condition is met then the static filter will be added. If no condition is provided, then the static filters will be applied unconditionally. - static_filters (
list
ofStaticFilter
orNone
) – Additional static items to be added in dropdown filter. Example can be ‘ALL’. - alias (
str
orNone
) – Alias to be used when emitting filter value. - 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
) – Title of the widget. If display_name is omitted, the widget will be shown without a title. - id (
str
orNone
) – Unique identifier of this resource - resource_type (
str
) –Possible values are:
WidgetConfiguration.RESOURCE_TYPE_LABELVALUECONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DONUTCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_MULTIWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CONTAINERCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_STATSCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRIDCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRAPHCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CUSTOMWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DROPDOWNFILTERWIDGETCONFIGURATION
Supported visualization types are LabelValueConfiguration, DonutConfiguration, GridConfiguration, StatsConfiguration, MultiWidgetConfiguration, GraphConfiguration, ContainerConfiguration, CustomWidgetConfiguration and DropdownFilterWidgetConfiguration.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - datasources (
list
ofDatasource
orNone
) – The ‘datasources’ represent the sources from which data will be fetched. Currently, only NSX-API is supported as a ‘default’ datasource. An example of specifying ‘default’ datasource along with the urls to fetch data from is given at ‘example_request’ section of ‘CreateWidgetConfiguration’ API. - default_filter_value (
list
ofDefaultFilterValue
orNone
) – Default filter values to be passed to datasources. This will be used when the report is requested without filter values. - drilldown_id (
str
orNone
) – Id of drilldown widget, if any. Id should be a valid id of an existing widget. A widget is considered as drilldown widget when it is associated with any other widget and provides more detailed information about any data item from the parent widget. - filter (
str
orNone
) – Id of filter widget for subscription, if any. Id should be a valid id of an existing filter widget. Filter widget should be from the same view. Datasource URLs should have placeholder values equal to filter alias to accept the filter value on filter change. - filter_value_required (
bool
orNone
) – Flag to indicate that widget will continue to work without filter value. If this flag is set to false then default_filter_value is manadatory. - footer (
Footer
orNone
) – - icons (
list
ofIcon
orNone
) – Icons to be applied at dashboard for widgets and UI elements. - is_drilldown (
bool
orNone
) – Set to true if this widget should be used as a drilldown. - legend (
Legend
orNone
) – Legend to be displayed. If legend is not needed, do not include it. - shared (
bool
orNone
) – Please use the property ‘shared’ of View instead of this. The widgets of a shared view are visible to other users. - span (
long
orNone
) – Represents the horizontal span of the widget / container. format: int32 - weight (
long
orNone
) – Specify relavite weight in WidgetItem for placement in a view. Please see WidgetItem for details. format: int32
-
resource_type
¶ Return the discriminator value
- default_value (
-
class
com.vmware.nsx_policy.model_client.
DropdownItem
(display_name=None, field=None, value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Dropdown item definition
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - display_name (
str
orNone
) – expression to extract display name to be shown in the drop down. - field (
str
orNone
) – An expression that represents the items of the dropdown filter. - value (
str
orNone
) – Value of filter inside dropdown filter.
- display_name (
-
class
com.vmware.nsx_policy.model_client.
DuplicateIPDetectionOptions
(duplicate_ip_detection_enabled=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Contains dupliacte IP detection related discovery options.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: duplicate_ip_detection_enabled ( bool
orNone
) – Indicates whether duplicate IP detection should be enabled
-
class
com.vmware.nsx_policy.model_client.
EULAAcceptance
(links=None, schema=None, self_=None, acceptance=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Indicate the status of End User License Agreement acceptance
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 - acceptance (
bool
orNone
) – Acceptance status of End User License Agreement
- links (
-
class
com.vmware.nsx_policy.model_client.
EULAContent
(links=None, schema=None, self_=None, content=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
End User License Agreement content
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 - content (
str
orNone
) – Content of End User License Agreement
- links (
-
class
com.vmware.nsx_policy.model_client.
EdgeConfigurationState
(details=None, failure_code=None, failure_message=None, state=None, pending_change_list=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This contains fields that captures state of Trackable entities. Edge and VPN state entities extend this object.
Tip
The arguments are used to initialize data attributes with the same names.
-
STATE_APPLIANCE_INTERNAL_ERROR
= 'APPLIANCE_INTERNAL_ERROR'¶
-
STATE_EDGE_CONFIG_ERROR
= 'EDGE_CONFIG_ERROR'¶
-
STATE_EDGE_HARDWARE_NOT_SUPPORTED
= 'EDGE_HARDWARE_NOT_SUPPORTED'¶
-
STATE_EDGE_NODE_VERSION_NOT_SUPPORTED
= 'EDGE_NODE_VERSION_NOT_SUPPORTED'¶
-
STATE_ERROR
= 'error'¶
-
STATE_FAILED
= 'failed'¶
-
STATE_HOSTSWITCH_PROFILE_NOT_FOUND
= 'HOSTSWITCH_PROFILE_NOT_FOUND'¶
-
STATE_INVALID_PNIC_DEVICE_NAME
= 'INVALID_PNIC_DEVICE_NAME'¶
-
STATE_IN_PROGRESS
= 'in_progress'¶
-
STATE_IN_SYNC
= 'in_sync'¶
-
STATE_LACP_NOT_SUPPORTED_FOR_EDGE_VM
= 'LACP_NOT_SUPPORTED_FOR_EDGE_VM'¶
-
STATE_LBSRCID_NOT_SUPPORTED_FOR_EDGE_VM
= 'LBSRCID_NOT_SUPPORTED_FOR_EDGE_VM'¶
-
STATE_LLDP_SEND_ENABLED_NOT_SUPPORTED
= 'LLDP_SEND_ENABLED_NOT_SUPPORTED'¶
-
STATE_MPA_DISCONNECTED
= 'MPA_DISCONNECTED'¶
-
STATE_MULTIPLE_ACTIVE_UPLINKS_NOT_SUPPORTED_FOR_EDGE
= 'MULTIPLE_ACTIVE_UPLINKS_NOT_SUPPORTED_FOR_EDGE'¶
-
STATE_MULTIPLE_OVERLAY_TZS_NOT_SUPPORTED
= 'MULTIPLE_OVERLAY_TZS_NOT_SUPPORTED'¶
-
STATE_NODE_NOT_READY
= 'NODE_NOT_READY'¶
-
STATE_NODE_READY
= 'NODE_READY'¶
-
STATE_NOT_AVAILABLE
= 'NOT_AVAILABLE'¶
-
STATE_NO_PNIC_PREPARED_IN_EDGE
= 'NO_PNIC_PREPARED_IN_EDGE'¶
-
STATE_NO_PNIC_SPECIFIED_IN_TN
= 'NO_PNIC_SPECIFIED_IN_TN'¶
-
STATE_ORPHANED
= 'orphaned'¶
-
STATE_PARTIAL_SUCCESS
= 'partial_success'¶
-
STATE_PENDING
= 'pending'¶
-
STATE_REGISTRATION_FAILED
= 'REGISTRATION_FAILED'¶
-
STATE_REGISTRATION_PENDING
= 'REGISTRATION_PENDING'¶
-
STATE_REGISTRATION_TIMEDOUT
= 'REGISTRATION_TIMEDOUT'¶
-
STATE_STANDBY_UPLINKS_NOT_SUPPORTED_FOR_EDGE_VM
= 'STANDBY_UPLINKS_NOT_SUPPORTED_FOR_EDGE_VM'¶
-
STATE_SUCCESS
= 'success'¶
-
STATE_TN_OVERLAY_TZ_IN_USE_BY_EDGE_CLUSTER
= 'TN_OVERLAY_TZ_IN_USE_BY_EDGE_CLUSTER'¶
-
STATE_TRANSPORT_NODE_CONFIGURATION_MISSING
= 'TRANSPORT_NODE_CONFIGURATION_MISSING'¶
-
STATE_TRANSPORT_NODE_READY
= 'TRANSPORT_NODE_READY'¶
-
STATE_TRANSPORT_NODE_SYNC_PENDING
= 'TRANSPORT_NODE_SYNC_PENDING'¶
-
STATE_TZ_ENDPOINTS_NOT_SPECIFIED
= 'TZ_ENDPOINTS_NOT_SPECIFIED'¶
-
STATE_UNKNOWN
= 'unknown'¶
-
STATE_UNSUPPORTED_DEFAULT_TEAMING_POLICY
= 'UNSUPPORTED_DEFAULT_TEAMING_POLICY'¶
-
STATE_UNSUPPORTED_HOST_SWITCH_PROFILE
= 'UNSUPPORTED_HOST_SWITCH_PROFILE'¶
-
STATE_UNSUPPORTED_LACP_LB_ALGO_FOR_NODE
= 'UNSUPPORTED_LACP_LB_ALGO_FOR_NODE'¶
-
STATE_UNSUPPORTED_NAMED_TEAMING_POLICY
= 'UNSUPPORTED_NAMED_TEAMING_POLICY'¶
-
STATE_UPLINK_HOST_SWITCH_PROFILE_NOT_SPECIFIED
= 'UPLINK_HOST_SWITCH_PROFILE_NOT_SPECIFIED'¶
-
STATE_VM_CONFIG_DISCREPANCY
= 'VM_CONFIG_DISCREPANCY'¶
-
STATE_VM_CONFIG_EDIT_FAILED
= 'VM_CONFIG_EDIT_FAILED'¶
-
STATE_VM_CONFIG_EDIT_PENDING
= 'VM_CONFIG_EDIT_PENDING'¶
-
STATE_VM_DEPLOYMENT_FAILED
= 'VM_DEPLOYMENT_FAILED'¶
-
STATE_VM_DEPLOYMENT_IN_PROGRESS
= 'VM_DEPLOYMENT_IN_PROGRESS'¶
-
STATE_VM_DEPLOYMENT_QUEUED
= 'VM_DEPLOYMENT_QUEUED'¶
-
STATE_VM_DEPLOYMENT_RESTARTED
= 'VM_DEPLOYMENT_RESTARTED'¶
-
STATE_VM_NETWORK_EDIT_FAILED
= 'VM_NETWORK_EDIT_FAILED'¶
-
STATE_VM_NETWORK_EDIT_PENDING
= 'VM_NETWORK_EDIT_PENDING'¶
-
STATE_VM_NODE_REFRESH_FAILED
= 'VM_NODE_REFRESH_FAILED'¶
-
STATE_VM_PLACEMENT_REFRESH_FAILED
= 'VM_PLACEMENT_REFRESH_FAILED'¶
-
STATE_VM_POWER_OFF_FAILED
= 'VM_POWER_OFF_FAILED'¶
-
STATE_VM_POWER_OFF_IN_PROGRESS
= 'VM_POWER_OFF_IN_PROGRESS'¶
-
STATE_VM_POWER_ON_FAILED
= 'VM_POWER_ON_FAILED'¶
-
STATE_VM_POWER_ON_IN_PROGRESS
= 'VM_POWER_ON_IN_PROGRESS'¶
-
STATE_VM_RENAME_FAILED
= 'VM_RENAME_FAILED'¶
-
STATE_VM_RENAME_PENDING
= 'VM_RENAME_PENDING'¶
-
STATE_VM_UNDEPLOY_FAILED
= 'VM_UNDEPLOY_FAILED'¶
-
STATE_VM_UNDEPLOY_IN_PROGRESS
= 'VM_UNDEPLOY_IN_PROGRESS'¶
-
STATE_VM_UNDEPLOY_SUCCESSFUL
= 'VM_UNDEPLOY_SUCCESSFUL'¶
-
STATE_VTEP_DHCP_NOT_SUPPORTED
= 'VTEP_DHCP_NOT_SUPPORTED'¶
-
-
class
com.vmware.nsx_policy.model_client.
EffectiveIPInfo
(effective_ips=None, site_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
List of effective ip address along with site id
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - effective_ips (
list
ofstr
orNone
) – - site_id (
str
orNone
) – Id of the site to which the effective IPs belong to
- effective_ips (
-
class
com.vmware.nsx_policy.model_client.
EgressRateLimiter
(average_bandwidth=None, burst_size=None, peak_bandwidth=None, enabled=None, resource_type='EgressRateLimiter')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A shaper that specifies egress rate properties in Mb/s
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - average_bandwidth (
long
orNone
) – Average bandwidth in Mb/s format: int32 - burst_size (
long
orNone
) – Burst size in bytes format: int32 - peak_bandwidth (
long
orNone
) – Peak bandwidth in Mb/s format: int32 - enabled (
bool
orNone
) – - resource_type (
str
) –Possible values are:
QosBaseRateLimiter.RESOURCE_TYPE_INGRESSRATELIMITER
QosBaseRateLimiter.RESOURCE_TYPE_INGRESSBROADCASTRATELIMITER
QosBaseRateLimiter.RESOURCE_TYPE_EGRESSRATELIMITER
Type rate limiter
-
resource_type
¶ Return the discriminator value
- average_bandwidth (
-
class
com.vmware.nsx_policy.model_client.
EndpointPolicy
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, endpoint_rules=None, sequence_number=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Ordered list of Endpoint Rules ordered by sequence number of the entries. The maximum number of policies is 25.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - endpoint_rules (
list
ofEndpointRule
orNone
) – Endpoint Rules that are a part of this EndpointPolicy - sequence_number (
long
orNone
) – This field is used to resolve conflicts between maps across domains. format: int32
- links (
-
class
com.vmware.nsx_policy.model_client.
EndpointPolicyListResult
(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
Paged Collection of 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
ofEndpointPolicy
orNone
) – Guest Introspection Map list results
- links (
-
class
com.vmware.nsx_policy.model_client.
EndpointRule
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, groups=None, sequence_number=None, service_profiles=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Endpoint Rule comes from user configuration. User configures Endpoint Rule to specify what services are applied on the 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 - 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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - groups (
list
ofstr
orNone
) – We need paths as duplicate names may exist for groups under different domains. In order to specify all groups, use the constant “ANY”. This is case insensitive. If “ANY” is used, it should be the ONLY element in the group array. Error will be thrown if ANY is used in conjunction with other values. - sequence_number (
long
orNone
) – This field is used to resolve conflicts between multiple entries under EndpointPolicy. It will be system default value when not specified by user. format: int32 - service_profiles (
list
ofstr
orNone
) – The policy paths of service profiles are listed here. It pecifies what services are applied on the group. Currently only one is allowed.
- links (
-
class
com.vmware.nsx_policy.model_client.
EndpointRuleListResult
(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
Paged Collection of Endpoint Rules
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
ofEndpointRule
orNone
) – Endpoint Rule list results
- links (
-
class
com.vmware.nsx_policy.model_client.
EnforcedStatusDetailsNsxt
(enforced_status_info=None, pending_changes_info=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Detailed Realized Status of an intent object on an NSX-T type of enforcement point. This is a detailed view of the Realized Status of an intent object from an NSX-T enforcement point perspective.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - enforced_status_info (
EnforcedStatusInfoNsxt
orNone
) – Information about the realized status of the intent on this enforcement point. Some very recent changes may be excluded when preparing this information, which is indicated by Pending Changes Info. - pending_changes_info (
PendingChangesInfoNsxt
orNone
) – Information about pending changes, if any, that aren’t reflected in the Enforced Realized Status.
- enforced_status_info (
-
class
com.vmware.nsx_policy.model_client.
EnforcedStatusInfoNsxt
(enforced_status=None, enforced_status_per_scope=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Information about the realized status of the intent object on an NSX-T type of enforcement point. Some very recent changes may be excluded when preparing this information, which is indicated by Pending Changes Info. In addition to the realized status across all scopes, this information holds details about enforced realized status per scope.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - enforced_status (
EnforcedStatusNsxt
orNone
) – Consolidated Realized Status of an Intent object across all scopes of an NSX-T type of enforcement point. - enforced_status_per_scope (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – List of Enforced Realized Status per Scope. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inEnforcedStatusPerScopeNsxt
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inEnforcedStatusPerScopeNsxt
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- enforced_status (
-
class
com.vmware.nsx_policy.model_client.
EnforcedStatusNsxt
(status=None, status_message=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
NSX-T Enforced Status.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - status (
str
orNone
) –Possible values are:
EnforcedStatusNsxt.STATUS_UNINITIALIZED
EnforcedStatusNsxt.STATUS_UNKNOWN
EnforcedStatusNsxt.STATUS_UP
EnforcedStatusNsxt.STATUS_DOWN
EnforcedStatusNsxt.STATUS_DEGRADED
EnforcedStatusNsxt.STATUS_SUCCESS
EnforcedStatusNsxt.STATUS_FAILURE
EnforcedStatusNsxt.STATUS_IN_PROGRESS
Enforced Realized Status.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- status_message (
str
orNone
) – Status Message conveying hints depending on the status value. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
STATUS_DEGRADED
= 'DEGRADED'¶
-
STATUS_DOWN
= 'DOWN'¶
-
STATUS_FAILURE
= 'FAILURE'¶
-
STATUS_IN_PROGRESS
= 'IN_PROGRESS'¶
-
STATUS_SUCCESS
= 'SUCCESS'¶
-
STATUS_UNINITIALIZED
= 'UNINITIALIZED'¶
-
STATUS_UNKNOWN
= 'UNKNOWN'¶
-
STATUS_UP
= 'UP'¶
- status (
-
class
com.vmware.nsx_policy.model_client.
EnforcedStatusPerScopeNsxt
(resource_type='EnforcedStatusPerScopeNsxT')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
NSX-T Detailed Realized Status Per Scope.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: resource_type ( str
) –Possible values are:
Enforced Realized Status Per Scope Resource Type.
-
RESOURCE_TYPE_TRANSPORTNODESPANENFORCEDSTATUS
= 'TransportNodeSpanEnforcedStatus'¶
-
resource_type
¶ Return the discriminator value
-
class
com.vmware.nsx_policy.model_client.
EnforcedStatusPerTransportNode
(display_name=None, enforced_status=None, nsx_id=None, path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Detailed Realized Status Per Transport Node.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - display_name (
str
orNone
) – Display name of the transport node. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - enforced_status (
EnforcedStatusNsxt
orNone
) – Realized Status of an Intent object on this Transport Node. - nsx_id (
str
orNone
) – UUID identifying uniquely the Transport Node. 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
) – Policy Path referencing the transport node. 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_policy.model_client.
EnforcementPoint
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, auto_enforce=None, connection_info=None, version=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Enforcement point is the endpoint where policy configurations are applied.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - auto_enforce (
bool
orNone
) – Auto enforce flag suggests whether the policy objects shall be automatically enforced on this enforcement point or not. When this flag is set to true, all policy objects will be automatically enforced on this enforcement point. If this flag is set to false, user shall rely on the usual means of realization, i.e., deployment maps. - connection_info (
vmware.vapi.struct.VapiStruct
orNone
) – Connection Info of the Enforcement Point. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inEnforcementPointConnectionInfo
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inEnforcementPointConnectionInfo
. - version (
str
orNone
) – Version of the Enforcement point. 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_policy.model_client.
EnforcementPointConnectionInfo
(enforcement_point_address=None, resource_type='EnforcementPointConnectionInfo')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Contains information required to connect to enforcement point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - enforcement_point_address (
str
orNone
) – Value of this property could be Hostname or IP. For instance: - On an NSX-T MP running on default port, the value could be “10.192.1.1” - On an NSX-T MP running on custom port, the value could be “192.168.1.1:32789” - On an NSX-T MP in VMC deployments, the value could be “192.168.1.1:5480/nsxapi” - resource_type (
str
) –Possible values are:
EnforcementPointConnectionInfo.RESOURCE_TYPE_NSXTCONNECTIONINFO
EnforcementPointConnectionInfo.RESOURCE_TYPE_NSXVCONNECTIONINFO
Resource Type of Enforcement Point Connection Info.
-
RESOURCE_TYPE_CVXCONNECTIONINFO
= 'CvxConnectionInfo'¶
-
RESOURCE_TYPE_NSXTCONNECTIONINFO
= 'NSXTConnectionInfo'¶
-
RESOURCE_TYPE_NSXVCONNECTIONINFO
= 'NSXVConnectionInfo'¶
-
resource_type
¶ Return the discriminator value
- enforcement_point_address (
-
class
com.vmware.nsx_policy.model_client.
EnforcementPointListResult
(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
Paged collection of enforcement points.
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
ofEnforcementPoint
orNone
) – Enforcement Point list Results.
- links (
-
class
com.vmware.nsx_policy.model_client.
EntityInstanceCountConstraintExpression
(count=None, operator=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='EntityInstanceCountConstraintExpression', tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents the leaf level constraint to restrict the number instances of an entity type can be created. This is useful in restricting number of CGWs or MGWs or Providers that can created in a system.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - count (
long
orNone
) – Instance count. format: int64 - operator (
str
orNone
) – Operations supported ‘<’ and ‘<=’. - 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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
resource_type
¶ Return the discriminator value
- count (
-
class
com.vmware.nsx_policy.model_client.
ErrorResolverInfo
(error_id=None, resolver_present=None, user_metadata=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Metadata related to a given error_id
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - error_id (
long
orNone
) – The error id for which metadata information is needed format: int64 - resolver_present (
bool
orNone
) – Indicates whether there is a resolver associated with the error or not - user_metadata (
ErrorResolverUserMetadata
orNone
) – User supplied metadata that might be required by the resolver
- error_id (
-
class
com.vmware.nsx_policy.model_client.
ErrorResolverInfoList
(results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Collection of all registered ErrorResolverInfo
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: results ( list
ofErrorResolverInfo
orNone
) – ErrorResolverInfo list
-
class
com.vmware.nsx_policy.model_client.
ErrorResolverMetadata
(entity_id=None, error_id=None, system_metadata=None, user_metadata=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Error along with its metadata
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - entity_id (
str
orNone
) – The entity/node UUID where the error has occurred. - error_id (
long
orNone
) – The error id as reported by the entity where the error occurred. format: int64 - system_metadata (
ErrorResolverSystemMetadata
orNone
) – This can come from some external system like syslog collector - user_metadata (
ErrorResolverUserMetadata
orNone
) – User supplied metadata that might be required by the resolver
- entity_id (
-
class
com.vmware.nsx_policy.model_client.
ErrorResolverMetadataList
(errors=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
List of errors with their metadata
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: errors ( list
ofErrorResolverMetadata
orNone
) – List of errors with their corresponding metadata.
-
class
com.vmware.nsx_policy.model_client.
ErrorResolverSystemMetadata
(value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Metadata fetched from an external system like Syslog or LogInsight.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: value ( str
orNone
) – The value fetched from another system
-
class
com.vmware.nsx_policy.model_client.
ErrorResolverUserInputData
(data_type=None, property_name=None, property_value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Corresponds to one property entered by the user
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - data_type (
str
orNone
) –Possible values are:
ErrorResolverUserInputData.DATA_TYPE_TEXT
ErrorResolverUserInputData.DATA_TYPE_NUMBER
ErrorResolverUserInputData.DATA_TYPE_PASSWORD
The datatype of the given property. Useful for data validation - property_name (
str
orNone
) – Name of the property supplied by the user - property_value (
str
orNone
) – The value associated with the above property
-
DATA_TYPE_NUMBER
= 'NUMBER'¶
-
DATA_TYPE_PASSWORD
= 'PASSWORD'¶
-
DATA_TYPE_TEXT
= 'TEXT'¶
- data_type (
-
class
com.vmware.nsx_policy.model_client.
ErrorResolverUserMetadata
(user_input_list=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
User supplied metadata needed for resolving errors
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: user_input_list ( list
ofErrorResolverUserInputData
orNone
) – List of user supplied input data.
-
class
com.vmware.nsx_policy.model_client.
EtherTypeServiceEntry
(ether_type=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='EtherTypeServiceEntry', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A ServiceEntry that represents an ethertype protocol
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ether_type (
long
orNone
) – Type of the encapsulated protocol format: int64 - 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
) –Possible values are:
ServiceEntry.RESOURCE_TYPE_IPPROTOCOLSERVICEENTRY
ServiceEntry.RESOURCE_TYPE_IGMPTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ICMPTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ALGTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_L4PORTSETSERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ETHERTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_NESTEDSERVICESERVICEENTRY
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
¶ Return the discriminator value
- ether_type (
-
class
com.vmware.nsx_policy.model_client.
EthernetHeader
(dst_mac=None, eth_type=None, src_mac=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dst_mac (
str
orNone
) – The destination MAC address of form: “^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$”. For example: 00:00:00:00:00:00. - eth_type (
long
orNone
) – This field defaults to IPv4. format: int64 - src_mac (
str
orNone
) – The source MAC address of form: “^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$”. For example: 00:00:00:00:00:00.
- dst_mac (
-
class
com.vmware.nsx_policy.model_client.
Evaluation
(resource_type='Evaluation')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Criterion Evaluation is the basic logical condition to evaluate whether the event could be potentially met.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: resource_type ( str
) –Possible values are:
Criterion Evaluation resource type.-
RESOURCE_TYPE_SOURCEFIELDEVALUATION
= 'SourceFieldEvaluation'¶
-
resource_type
¶ Return the discriminator value
-
-
class
com.vmware.nsx_policy.model_client.
Event
(criteria=None, source=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
The Event is the criterion or criteria applied to the source and, when met, prompt Policy to run the action. All Reaction Events are constructed with reference to the object, the “source”, that is logically deemed to be the object upon which the Event in question initially occurred upon. Some example events include: - New object was created. - Change in realization state. - Specific API is called.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - criteria (
list
ofCriterion
orNone
) – Criteria applied to the source and, if satisfied, would trigger the action. Criteria is composed of criterions. In order for the Criteria to be met, only one of the criterion must be fulfilled (implicit OR). - source (
vmware.vapi.struct.VapiStruct
orNone
) – Source that is logically deemed to be the “object” upon which the Event in question initially occurred upon. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inSource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inSource
.
- criteria (
-
class
com.vmware.nsx_policy.model_client.
EvpnConfig
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, encapsulation_method=None, mode=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Evpn Configuration.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - encapsulation_method (
EvpnEncapConfig
orNone
) – Encapsulation method for EVPN service that is used by the transport layer. - mode (
str
orNone
) –Possible values are:
EVPN service mode
-
MODE_INLINE
= 'INLINE'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
EvpnEncapConfig
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, vni_pool_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Encapsulation method for EVPN.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - vni_pool_path (
str
orNone
) – vni pool path
- links (
-
class
com.vmware.nsx_policy.model_client.
EvpnTunnelEndpointConfig
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, edge_path=None, local_addresses=None, mtu=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Evpn Tunnel Endpoint Configuration.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - edge_path (
str
orNone
) – edge path - local_addresses (
list
ofstr
orNone
) – local addresses format: ipv4 - mtu (
long
orNone
) – MTU format: int32
- links (
-
class
com.vmware.nsx_policy.model_client.
EvpnTunnelEndpointConfigListResult
(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
Collection of Evpn Tunnel Endpoint Configuration.
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
ofEvpnTunnelEndpointConfig
orNone
) – Evpn Tunnel Endpoint Configuration list results
- links (
-
class
com.vmware.nsx_policy.model_client.
Expression
(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='Expression', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
All the nodes of the expression extend from this abstract class. This is present for extensibility.
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
) –Possible values are:
Expression.RESOURCE_TYPE_CONDITION
Expression.RESOURCE_TYPE_CONJUNCTIONOPERATOR
Expression.RESOURCE_TYPE_NESTEDEXPRESSION
Expression.RESOURCE_TYPE_IPADDRESSEXPRESSION
Expression.RESOURCE_TYPE_MACADDRESSEXPRESSION
Expression.RESOURCE_TYPE_EXTERNALIDEXPRESSION
Expression.RESOURCE_TYPE_PATHEXPRESSION
Expression.RESOURCE_TYPE_IDENTITYGROUPEXPRESSION
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_CONDITION
= 'Condition'¶
-
RESOURCE_TYPE_CONJUNCTIONOPERATOR
= 'ConjunctionOperator'¶
-
RESOURCE_TYPE_EXTERNALIDEXPRESSION
= 'ExternalIDExpression'¶
-
RESOURCE_TYPE_IDENTITYGROUPEXPRESSION
= 'IdentityGroupExpression'¶
-
RESOURCE_TYPE_IPADDRESSEXPRESSION
= 'IPAddressExpression'¶
-
RESOURCE_TYPE_MACADDRESSEXPRESSION
= 'MACAddressExpression'¶
-
RESOURCE_TYPE_NESTEDEXPRESSION
= 'NestedExpression'¶
-
RESOURCE_TYPE_PATHEXPRESSION
= 'PathExpression'¶
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
ExternalIDExpression
(external_ids=None, member_type=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='ExternalIDExpression', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents external ID expressions in the form of an array, to support addition of objects like virtual interfaces, virtual machines, CloudNativeServiceInstance PhysicalServer to a group.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - external_ids (
list
ofstr
orNone
) – This array can consist of one or more external IDs for the specified member type. - member_type (
str
orNone
) –Possible values are:
ExternalIDExpression.MEMBER_TYPE_VIRTUALMACHINE
ExternalIDExpression.MEMBER_TYPE_VIRTUALNETWORKINTERFACE
ExternalIDExpression.MEMBER_TYPE_CLOUDNATIVESERVICEINSTANCE
ExternalIDExpression.MEMBER_TYPE_PHYSICALSERVER
External ID member type - 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
) –Possible values are:
Expression.RESOURCE_TYPE_CONDITION
Expression.RESOURCE_TYPE_CONJUNCTIONOPERATOR
Expression.RESOURCE_TYPE_NESTEDEXPRESSION
Expression.RESOURCE_TYPE_IPADDRESSEXPRESSION
Expression.RESOURCE_TYPE_MACADDRESSEXPRESSION
Expression.RESOURCE_TYPE_EXTERNALIDEXPRESSION
Expression.RESOURCE_TYPE_PATHEXPRESSION
Expression.RESOURCE_TYPE_IDENTITYGROUPEXPRESSION
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
MEMBER_TYPE_CLOUDNATIVESERVICEINSTANCE
= 'CloudNativeServiceInstance'¶
-
MEMBER_TYPE_PHYSICALSERVER
= 'PhysicalServer'¶
-
MEMBER_TYPE_VIRTUALMACHINE
= 'VirtualMachine'¶
-
MEMBER_TYPE_VIRTUALNETWORKINTERFACE
= 'VirtualNetworkInterface'¶
-
resource_type
¶ Return the discriminator value
- external_ids (
-
class
com.vmware.nsx_policy.model_client.
FIPSGlobalConfig
(lb_fips_enabled=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Global configuration
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: lb_fips_enabled ( bool
orNone
) – When this flag is set to true FIPS mode will be set on ssl encryptions of load balancer feature.
-
class
com.vmware.nsx_policy.model_client.
FeaturePermission
(feature=None, feature_description=None, feature_name=None, is_execute_recommended=None, is_internal=None, permission=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Feature Permission
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - feature (
str
orNone
) – Feature Id - feature_description (
str
orNone
) – Feature Description - feature_name (
str
orNone
) – Feature Name - is_execute_recommended (
bool
orNone
) – Is execute recommended This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - is_internal (
bool
orNone
) – Is internal This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - permission (
str
orNone
) –Possible values are:
FeaturePermission.PERMISSION_CRUD
FeaturePermission.PERMISSION_READ
FeaturePermission.PERMISSION_EXECUTE
FeaturePermission.PERMISSION_NONE
Permission
-
PERMISSION_CRUD
= 'crud'¶
-
PERMISSION_EXECUTE
= 'execute'¶
-
PERMISSION_NONE
= 'none'¶
-
PERMISSION_READ
= 'read'¶
- feature (
-
class
com.vmware.nsx_policy.model_client.
FederationComponentUpgradeStatus
(component_type=None, current_version_node_summary=None, details=None, percent_complete=None, status=None, target_version=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - component_type (
str
orNone
) – Component type for the upgrade status This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - current_version_node_summary (
list
ofFederationNodeSummary
orNone
) – Mapping of current versions of nodes and counts of nodes at the respective versions. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - details (
str
orNone
) – Details about the upgrade status This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - percent_complete (
float
orNone
) – Indicator of upgrade progress in percentage This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - status (
str
orNone
) –Possible values are:
FederationComponentUpgradeStatus.STATUS_SUCCESS
FederationComponentUpgradeStatus.STATUS_FAILED
FederationComponentUpgradeStatus.STATUS_IN_PROGRESS
FederationComponentUpgradeStatus.STATUS_NOT_STARTED
FederationComponentUpgradeStatus.STATUS_PAUSED
Upgrade status of componentThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- target_version (
str
orNone
) – Target component version This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
STATUS_FAILED
= 'FAILED'¶
-
STATUS_IN_PROGRESS
= 'IN_PROGRESS'¶
-
STATUS_NOT_STARTED
= 'NOT_STARTED'¶
-
STATUS_PAUSED
= 'PAUSED'¶
-
STATUS_SUCCESS
= 'SUCCESS'¶
- component_type (
-
class
com.vmware.nsx_policy.model_client.
FederationConfig
(site_config=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Global Manager federation configuration. This configuration is distributed to all Sites participating in federation.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: site_config ( list
ofSiteFederationConfig
orNone
) – Federation configurations of all Sites This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
class
com.vmware.nsx_policy.model_client.
FederationConnectivityConfig
(global_overlay_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Additional configuration required for federation.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: global_overlay_id ( long
orNone
) – Global id for by Layer3 services for federation usecases. format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
class
com.vmware.nsx_policy.model_client.
FederationGatewayConfig
(global_overlay_id=None, site_allocation_indices=None, transit_segment_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Additional gateway configuration required for federation
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - global_overlay_id (
long
orNone
) – Global id for by Layer3 services for federation usecases. 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. - site_allocation_indices (
list
ofSiteAllocationIndexForEdge
orNone
) – Indicies for cross site allocation for edge cluster and its members referred by gateway. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transit_segment_id (
str
orNone
) – Global UUID for transit segment id to be used by Layer2 services for federation usecases. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- global_overlay_id (
-
class
com.vmware.nsx_policy.model_client.
FederationNodeSummary
(links=None, schema=None, self_=None, node_count=None, version=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 - node_count (
long
orNone
) – Number of nodes of the type and at the component version. 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. - version (
str
orNone
) – Component version 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_policy.model_client.
FederationUpgradeSummary
(component_status=None, current_version=None, gpm_name=None, id=None, last_upgrade_timestamp=None, name=None, overall_upgrade_status=None, site_id=None, site_ip=None, site_type=None, target_version=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Provides upgrade summary for a specific site.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - component_status (
list
ofFederationComponentUpgradeStatus
orNone
) – List of component statuses This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - current_version (
str
orNone
) – This is NSX version for the site. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - gpm_name (
str
orNone
) – Name of the global manager if present. 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
) – Unique identifier of 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_upgrade_timestamp (
str
orNone
) – Indicates the time when the site was upgraded. 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
) – Name of the site. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overall_upgrade_status (
str
orNone
) –Possible values are:
FederationUpgradeSummary.OVERALL_UPGRADE_STATUS_SUCCESS
FederationUpgradeSummary.OVERALL_UPGRADE_STATUS_FAILED
FederationUpgradeSummary.OVERALL_UPGRADE_STATUS_IN_PROGRESS
FederationUpgradeSummary.OVERALL_UPGRADE_STATUS_NOT_STARTED
FederationUpgradeSummary.OVERALL_UPGRADE_STATUS_PAUSED
Status of upgradeThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- site_id (
str
orNone
) – This is the Site Manager generated UUID for every NSX deployment. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - site_ip (
str
orNone
) – IP address of the site. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - site_type (
str
orNone
) –Possible values are:
FederationUpgradeSummary.SITE_TYPE_ACTIVE_GM_SITE
FederationUpgradeSummary.SITE_TYPE_STANDBY_GM_SITE
FederationUpgradeSummary.SITE_TYPE_NON_GM_SITE
Type of this site.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- target_version (
str
orNone
) – This is NSX target version for the site, if it is undergoing upgrade. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
OVERALL_UPGRADE_STATUS_FAILED
= 'FAILED'¶
-
OVERALL_UPGRADE_STATUS_IN_PROGRESS
= 'IN_PROGRESS'¶
-
OVERALL_UPGRADE_STATUS_NOT_STARTED
= 'NOT_STARTED'¶
-
OVERALL_UPGRADE_STATUS_PAUSED
= 'PAUSED'¶
-
OVERALL_UPGRADE_STATUS_SUCCESS
= 'SUCCESS'¶
-
SITE_TYPE_ACTIVE_GM_SITE
= 'ACTIVE_GM_SITE'¶
-
SITE_TYPE_NON_GM_SITE
= 'NON_GM_SITE'¶
-
SITE_TYPE_STANDBY_GM_SITE
= 'STANDBY_GM_SITE'¶
- component_status (
-
class
com.vmware.nsx_policy.model_client.
FederationUpgradeSummaryListResult
(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
Paged Collection of site upgrade 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 - 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
ofFederationUpgradeSummary
orNone
) – Paged collection of site upgrade information 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_policy.model_client.
FieldSanityConstraintExpression
(checks=None, operator=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='FieldSanityConstraintExpression', tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents the field value constraint to constrain specified field value based on defined sanity checks. Example - For DNS.upstream_servers, all the IP addresses must either be public or private. { “target”: { “target_resource_type”: “DnsForwarderZone”, “attribute”: “upstreamServers”, “path_prefix”: “/infra/dns-forwarder-zones/” }, “constraint_expression”: { “resource_type”: “FieldSanityConstraintExpression”, “operator”: “OR”, “checks”: [“ALL_PUBLIC_IPS”, “ALL_PRIVATE_IPS”] } }
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - checks (
list
ofstr
orNone
) –Possible values are:
FieldSanityConstraintExpression.CHECKS_PUBLIC_IPS
FieldSanityConstraintExpression.CHECKS_PRIVATE_IPS
List of sanity checks. - operator (
str
orNone
) –Possible values are:
A conditional operator - 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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
CHECKS_PRIVATE_IPS
= 'ALL_PRIVATE_IPS'¶
-
CHECKS_PUBLIC_IPS
= 'ALL_PUBLIC_IPS'¶
-
OPERATOR_AND
= 'AND'¶
-
OPERATOR_OR
= 'OR'¶
-
resource_type
¶ Return the discriminator value
- checks (
-
class
com.vmware.nsx_policy.model_client.
FieldSetting
(field_pointer=None, value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Field Setting.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - field_pointer (
str
orNone
) – Field Pointer. - value (
vmware.vapi.struct.VapiStruct
orNone
) – Value that the field must be set to. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inFieldSettingValue
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inFieldSettingValue
.
- field_pointer (
-
class
com.vmware.nsx_policy.model_client.
FieldSettingValue
(resource_type='FieldSettingValue')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Field Setting Value.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: resource_type ( str
) –Possible values are:
Field Setting Value resource type.-
RESOURCE_TYPE_CONSTANTFIELDVALUE
= 'ConstantFieldValue'¶
-
resource_type
¶ Return the discriminator value
-
-
class
com.vmware.nsx_policy.model_client.
FieldsPacketData
(arp_header=None, eth_header=None, ip_header=None, ipv6_header=None, payload=None, transport_header=None, frame_size=None, resource_type='FieldsPacketData', routed=None, transport_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - arp_header (
ArpHeader
orNone
) – The ARP header - eth_header (
EthernetHeader
orNone
) – The ethernet header - ip_header (
Ipv4Header
orNone
) – The IPv4 header - ipv6_header (
Ipv6Header
orNone
) – The IPv6 header - payload (
str
orNone
) – Up to 1000 bytes of payload may be supplied (with a base64-encoded length of 1336 bytes.) Additional bytes of traceflow metadata will be appended to the payload. The payload contains any data the user wants to put after the transport header. - transport_header (
TransportProtocolHeader
orNone
) – This field contains a protocol that is above IP. It is not restricted to the ‘transport’ defined by the OSI model (e.g., ICMP is supported). - frame_size (
long
orNone
) – If the requested frame_size is too small (given the payload and traceflow metadata requirement of 16 bytes), the traceflow request will fail with an appropriate message. The frame will be zero padded to the requested size. format: int64 - resource_type (
str
) –Possible values are:
Packet configuration - routed (
bool
orNone
) – A flag, when set true, indicates that the traceflow packet is of L3 routing. - transport_type (
str
orNone
) –Possible values are:
PacketData.TRANSPORT_TYPE_BROADCAST
PacketData.TRANSPORT_TYPE_UNICAST
PacketData.TRANSPORT_TYPE_MULTICAST
PacketData.TRANSPORT_TYPE_UNKNOWN
transport type of the traceflow packet
-
resource_type
¶ Return the discriminator value
- arp_header (
-
class
com.vmware.nsx_policy.model_client.
FileTransferAuthenticationScheme
(password=None, scheme_name=None, username=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Remote server authentication details
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - password (
str
orNone
) – Password to authenticate with - scheme_name (
str
orNone
) –Possible values are:
Authentication scheme name - username (
str
orNone
) – User name to authenticate with
-
SCHEME_NAME_PASSWORD
= 'PASSWORD'¶
- password (
-
class
com.vmware.nsx_policy.model_client.
FileTransferProtocol
(authentication_scheme=None, protocol_name=None, ssh_fingerprint=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Protocol to transfer backup file to remote server
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - authentication_scheme (
FileTransferAuthenticationScheme
orNone
) – Scheme to authenticate if required - protocol_name (
str
orNone
) –Possible values are:
Protocol name - ssh_fingerprint (
str
orNone
) – The expected SSH fingerprint of the server. If the server’s fingerprint does not match this fingerprint, the connection will be terminated. Only ECDSA fingerprints hashed with SHA256 are supported. To obtain the host’s ssh fingerprint, you should connect via some method other than SSH to obtain this information. You can use one of these commands to view the key’s fingerprint: 1. ssh-keygen -l -E sha256 -f ssh_host_ecdsa_key.pub 2. awk ‘{print $2}’ ssh_host_ecdsa_key.pub | base64 -d | sha256sum -b | sed ‘s/ .*$//’ | xxd -r -p | base64 | sed ‘s/.//44g’ | awk ‘{print “SHA256:”$1}’
-
PROTOCOL_NAME_SFTP
= 'sftp'¶
- authentication_scheme (
-
class
com.vmware.nsx_policy.model_client.
FilterWidgetConfiguration
(alias=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='FilterWidgetConfiguration', tags=None, datasources=None, default_filter_value=None, drilldown_id=None, filter=None, filter_value_required=None, footer=None, icons=None, is_drilldown=None, legend=None, shared=None, span=None, weight=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents configuration for filter widget. This is abstract representation of filter widget.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alias (
str
orNone
) – Alias to be used when emitting filter value. - 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
) – Title of the widget. If display_name is omitted, the widget will be shown without a title. - id (
str
orNone
) – Unique identifier of this resource - resource_type (
str
) –Possible values are:
WidgetConfiguration.RESOURCE_TYPE_LABELVALUECONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DONUTCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_MULTIWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CONTAINERCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_STATSCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRIDCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRAPHCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CUSTOMWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DROPDOWNFILTERWIDGETCONFIGURATION
Supported visualization types are LabelValueConfiguration, DonutConfiguration, GridConfiguration, StatsConfiguration, MultiWidgetConfiguration, GraphConfiguration, ContainerConfiguration, CustomWidgetConfiguration and DropdownFilterWidgetConfiguration.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - datasources (
list
ofDatasource
orNone
) – The ‘datasources’ represent the sources from which data will be fetched. Currently, only NSX-API is supported as a ‘default’ datasource. An example of specifying ‘default’ datasource along with the urls to fetch data from is given at ‘example_request’ section of ‘CreateWidgetConfiguration’ API. - default_filter_value (
list
ofDefaultFilterValue
orNone
) – Default filter values to be passed to datasources. This will be used when the report is requested without filter values. - drilldown_id (
str
orNone
) – Id of drilldown widget, if any. Id should be a valid id of an existing widget. A widget is considered as drilldown widget when it is associated with any other widget and provides more detailed information about any data item from the parent widget. - filter (
str
orNone
) – Id of filter widget for subscription, if any. Id should be a valid id of an existing filter widget. Filter widget should be from the same view. Datasource URLs should have placeholder values equal to filter alias to accept the filter value on filter change. - filter_value_required (
bool
orNone
) – Flag to indicate that widget will continue to work without filter value. If this flag is set to false then default_filter_value is manadatory. - footer (
Footer
orNone
) – - icons (
list
ofIcon
orNone
) – Icons to be applied at dashboard for widgets and UI elements. - is_drilldown (
bool
orNone
) – Set to true if this widget should be used as a drilldown. - legend (
Legend
orNone
) – Legend to be displayed. If legend is not needed, do not include it. - shared (
bool
orNone
) – Please use the property ‘shared’ of View instead of this. The widgets of a shared view are visible to other users. - span (
long
orNone
) – Represents the horizontal span of the widget / container. format: int32 - weight (
long
orNone
) – Specify relavite weight in WidgetItem for placement in a view. Please see WidgetItem for details. format: int32
-
resource_type
¶ Return the discriminator value
- alias (
-
class
com.vmware.nsx_policy.model_client.
FirewallConfiguration
(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='FirewallConfiguration', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, disable_auto_drafts=None, enable_firewall=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Firewall related configurations
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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - disable_auto_drafts (
bool
orNone
) – To disable auto drafts, set it to true. By default, auto drafts are enabled. - enable_firewall (
bool
orNone
) – If set to true, Firewall is enabled.
-
RESOURCE_TYPE_DFWFIREWALLCONFIGURATION
= 'DfwFirewallConfiguration'¶
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
FirewallIdentityStore
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, base_distinguished_name=None, ldap_servers=None, name=None, netbios_name=None, selective_sync_settings=None, sync_settings=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents a generic firewall identity store (e.g. Microsoft AD) The firewall identity store allow access to the directory group via LDAP protocol.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - base_distinguished_name (
str
orNone
) – Each active directory domain has a domain naming context (NC), which contains domain-specific data. The root of this naming context is represented by a domain’s distinguished name (DN) and is typically referred to as the NC head. - ldap_servers (
list
ofFirewallIdentityStoreLdapServer
orNone
) – Directory domain LDAP servers’ information including host, name, port, protocol and so on. - name (
str
orNone
) – Directory domain name which best describes the domain. It could be unique fqdn name or it could also be descriptive. There is no unique contraint for domain name among different domains. - netbios_name (
str
orNone
) – NetBIOS names can contain all alphanumeric characters except for the certain disallowed characters. Names can contain a period, but names cannot start with a period. NetBIOS is similar to DNS in that it can serve as a directory service, but more limited as it has no provisions for a name hierarchy and names are limited to 15 characters. The netbios name is case insensitive and is stored in upper case regardless of input case. - selective_sync_settings (
FirewallIdentityStoreSelectiveSyncSettings
orNone
) – SelectiveSync settings toggle the SelectiveSync feature and selected OrgUnits. If this is not specified, SelectiveSync is disabled by default. - sync_settings (
FirewallIdentityStoreSyncSettings
orNone
) – Each domain sync settings can be changed using this object. It is not required since there are default values used if there is no specification for this object.
- links (
-
class
com.vmware.nsx_policy.model_client.
FirewallIdentityStoreLdapServer
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, domain_name=None, host=None, password=None, port=None, protocol=None, thumbprint=None, username=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Firewall identity LDAP server
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - domain_name (
str
orNone
) – Directory domain name which best describes the domain. It could be unique fqdn name or it could also be descriptive. There is no unique constraint for domain name among different domains. - host (
str
orNone
) – Directory LDAP server DNS host name or ip address which is reachable by NSX manager to be connected and do object synchronization. format: ip-or-hostname - password (
str
orNone
) – Directory LDAP server connection password. - port (
long
orNone
) – Directory LDAP server connection TCP/UDP port. format: int32 - protocol (
str
orNone
) –Possible values are:
Directory LDAP server connection protocol which is either LDAP or LDAPS.
- thumbprint (
str
orNone
) – Directory LDAP server certificate thumbprint used in secure LDAPS connection. - username (
str
orNone
) – Directory LDAP server connection user name.
-
PROTOCOL_LDAP
= 'LDAP'¶
-
PROTOCOL_LDAPS
= 'LDAPS'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
FirewallIdentityStoreSelectiveSyncSettings
(links=None, schema=None, self_=None, cursor=None, result_count=None, sort_ascending=None, sort_by=None, enabled=None, selected_org_units=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Firewall identity selective sync settings
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. - enabled (
bool
orNone
) – Enable or disable SelectiveSync - selected_org_units (
list
ofstr
orNone
) – If SelectiveSync is enabled, this contains 1 or more OrgUnits, NSX will synchronize with in LDAP server. If SelectiveSync is disabled, do not define this or specify an empty list.
- links (
-
class
com.vmware.nsx_policy.model_client.
FirewallIdentityStoreSyncSettings
(delta_sync_interval=None, full_sync_cron_expr=None, sync_delay_in_sec=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Firewall identity synchronization settings
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - delta_sync_interval (
long
orNone
) – Directory domain delta synchronization interval time between two delta sync in minutes. format: int64 - full_sync_cron_expr (
str
orNone
) – Directory domain full synchronization schedule using cron expression. For example, cron expression “0 0 12 ? * SUN *” means full sync is scheduled every Sunday midnight. If this object is null, it means there is no background cron job running for full sync. - sync_delay_in_sec (
long
orNone
) – Sync delay after Directory domain has been successfully created. if delay is -1, initial full sync will not be triggered. format: int32
- delta_sync_interval (
-
class
com.vmware.nsx_policy.model_client.
FloodProtectionProfile
(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='FloodProtectionProfile', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, icmp_active_flow_limit=None, other_active_conn_limit=None, tcp_half_open_conn_limit=None, udp_active_flow_limit=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A profile holding TCP, UDP and ICMP and other protcol connection limits.
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
) –Possible values are:
FloodProtectionProfile.RESOURCE_TYPE_GATEWAYFLOODPROTECTIONPROFILE
FloodProtectionProfile.RESOURCE_TYPE_DISTRIBUTEDFLOODPROTECTIONPROFILE
GatewayFloodProtectionProfile is used for all Tier0 and Tier1 gateways. DistributedFloodProtectionProfile is used for all Transport Nodes.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - icmp_active_flow_limit (
long
orNone
) – If this field is empty, firewall will not set a limit to active ICMP connections. format: int64 - other_active_conn_limit (
long
orNone
) – If this field is empty, firewall will not set a limit to other active connections. besides UDP, ICMP and half open TCP connections. format: int64 - tcp_half_open_conn_limit (
long
orNone
) – If this field is empty, firewall will not set a limit to half open TCP connections. format: int64 - udp_active_flow_limit (
long
orNone
) – If this field is empty, firewall will not set a limit to active UDP connections. format: int64
-
RESOURCE_TYPE_DISTRIBUTEDFLOODPROTECTIONPROFILE
= 'DistributedFloodProtectionProfile'¶
-
RESOURCE_TYPE_GATEWAYFLOODPROTECTIONPROFILE
= 'GatewayFloodProtectionProfile'¶
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
FloodProtectionProfileBindingListResult
(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
Paged Collection of flood protection profile binding 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
ofFloodProtectionProfileBindingMap
orNone
) – Flood protection profile binding maps list results
- links (
-
class
com.vmware.nsx_policy.model_client.
FloodProtectionProfileBindingMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, profile_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This entity will be used to establish association between Flood Protection profile and Logical Routers.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - profile_path (
str
orNone
) – PolicyPath of associated Profile
- links (
-
class
com.vmware.nsx_policy.model_client.
FloodProtectionProfileListResult
(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
Paged Collection of flood protection profiles
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
) – Flood protection profile list results When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inFloodProtectionProfile
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inFloodProtectionProfile
.
- links (
Bases:
vmware.vapi.bindings.struct.VapiStruct
Footer of a widget that provides additional information or allows an action such as clickable url for navigation. An example usage of footer is provided under ‘example_request’ section of ‘CreateWidgetConfiguration’ API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - actions (
list
ofFooterAction
orNone
) – Action to be performed at the footer of a widget. An action at the footer can be simple text description or a hyperlink to a UI page. Action allows a clickable url for navigation. An example usage of footer action is provided under ‘example_request’ section of ‘CreateWidgetConfiguration’ API. - condition (
str
orNone
) – If the condition is met then the footer will be applied. Examples of expression syntax are provided under ‘example_request’ section of ‘CreateWidgetConfiguration’ API.
- actions (
Bases:
vmware.vapi.bindings.struct.VapiStruct
Action specified at the footer of a widget to provide additional information or to provide a clickable url for navigation. An example usage of footer action is provided under the ‘example_request’ section of ‘CreateWidgetConfiguration’ API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dock_to_container_footer (
bool
orNone
) – If true, the footer will appear in the underlying container that holds the widget. - label (
Label
orNone
) – Label to be displayed against the footer action. - url (
str
orNone
) – Hyperlink to the UI page that provides details of action.
- dock_to_container_footer (
-
class
com.vmware.nsx_policy.model_client.
ForwardingPolicy
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, category=None, comments=None, internal_sequence_number=None, is_default=None, lock_modified_by=None, lock_modified_time=None, locked=None, rule_count=None, scheduler_path=None, scope=None, sequence_number=None, stateful=None, tcp_strict=None, rules=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Contains ordered list of forwarding rules that determine when to forward traffic to / from the underlay for accessing cloud native services.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - category (
str
orNone
) –- Distributed Firewall - Policy framework provides five pre-defined
categories for classifying a security policy. They are “Ethernet”,”Emergency”, “Infrastructure” “Environment” and “Application”. There is a pre-determined order in which the policy framework manages the priority of these security policies. Ethernet category is for supporting layer 2 firewall rules. The other four categories are applicable for layer 3 rules. Amongst them, the Emergency category has the highest priority followed by Infrastructure, Environment and then Application rules. Administrator can choose to categorize a security policy into the above categories or can choose to leave it empty. If empty it will have the least precedence w.r.t the above four categories. - Edge Firewall - Policy Framework for Edge Firewall provides six pre-defined categories “Emergency”, “SystemRules”, “SharedPreRules”, “LocalGatewayRules”, “AutoServiceRules” and “Default”, in order of priority of rules. All categories are allowed for Gatetway Policies that belong to ‘default’ Domain. However, for user created domains, category is restricted to “SharedPreRules” or “LocalGatewayRules” only. Also, the users can add/modify/delete rules from only the “SharedPreRules” and “LocalGatewayRules” categories. If user doesn’t specify the category then defaulted to “Rules”. System generated category is used by NSX created rules, for example BFD rules. Autoplumbed category used by NSX verticals to autoplumb data path rules. Finally, “Default” category is the placeholder default rules with lowest in the order of priority.
- comments (
str
orNone
) – Comments for security policy lock/unlock. - internal_sequence_number (
long
orNone
) – This field is to indicate the internal sequence number of a policy with respect to the policies across categories. 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. - is_default (
bool
orNone
) – A flag to indicate whether policy is a default policy. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lock_modified_by (
str
orNone
) – ID of the user who last modified the lock for the secruity policy. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lock_modified_time (
long
orNone
) – SecurityPolicy locked/unlocked time in epoch milliseconds. format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - locked (
bool
orNone
) – Indicates whether a security policy should be locked. If the security policy is locked by a user, then no other user would be able to modify this security policy. Once the user releases the lock, other users can update this security policy. - rule_count (
long
orNone
) – The count of rules in the policy. 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. - scheduler_path (
str
orNone
) – Provides a mechanism to apply the rules in this policy for a specified time duration. - scope (
list
ofstr
orNone
) – The list of group paths where the rules in this policy will get applied. This scope will take precedence over rule level scope. Supported only for security and redirection policies. In case of RedirectionPolicy, it is expected only when the policy is NS and redirecting to service chain. - sequence_number (
long
orNone
) – This field is used to resolve conflicts between security policies across domains. In order to change the sequence number of a policy one can fire a POST request on the policy entity with a query parameter action=revise The sequence number field will reflect the value of the computed sequence number upon execution of the above mentioned POST request. For scenarios where the administrator is using a template to update several security policies, the only way to set the sequence number is to explicitly specify the sequence number for each security policy. If no sequence number is specified in the payload, a value of 0 is assigned by default. If there are multiple policies with the same sequence number then their order is not deterministic. If a specific order of policies is desired, then one has to specify unique sequence numbers or use the POST request on the policy entity with a query parameter action=revise to let the framework assign a sequence number format: int32 - stateful (
bool
orNone
) – Stateful or Stateless nature of security policy is enforced on all rules in this security policy. When it is stateful, the state of the network connects are tracked and a stateful packet inspection is performed. Layer3 security policies can be stateful or stateless. By default, they are stateful. Layer2 security policies can only be stateless. - tcp_strict (
bool
orNone
) – Ensures that a 3 way TCP handshake is done before the data packets are sent. tcp_strict=true is supported only for stateful security policies. If the tcp_strict flag is not specified and the security policy is stateful, then tcp_strict will be set to true. - rules (
list
ofForwardingRule
orNone
) – Rules that are a part of this ForwardingPolicy
- links (
-
class
com.vmware.nsx_policy.model_client.
ForwardingPolicyListResult
(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
Paged Collection of ForwardingPolicy 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 - 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
ofForwardingPolicy
orNone
) – ForwardingPolicy list results
- links (
-
class
com.vmware.nsx_policy.model_client.
ForwardingRule
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, destination_groups=None, destinations_excluded=None, direction=None, disabled=None, ip_protocol=None, is_default=None, logged=None, notes=None, profiles=None, rule_id=None, scope=None, sequence_number=None, service_entries=None, services=None, source_groups=None, sources_excluded=None, tag=None, action=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Forwarding rule that determine how to forward traffic from a VM. Traffic from VM can either be routed via Overlay or Underlay when VM is on hybrid port. Additionally NAT can be performed for VM or container on overlay to route traffic to/from underlay ROUTE_TO_UNDERLAY - Access a service on underlay space from a VM connected to hybrid port. Eg access to AWS S3 on AWS underlay ROUTE_TO_OVERLAY - Access a service on overlay space from a VM connected to hybrid port. ROUTE_FROM_UNDERLAY - Access a service hosted on a VM (that is connected to hybrid port) from underlay space. Eg access from AWS ELB to VM ROUTE_FROM_OVERLAY - Access a service hosted on a VM (that is connected to hybrid port) from overlay space NAT_FROM_UNDERLAY - Access a service on overlay VM/container from underlay space using DNAT from underlay IP to overlay IP NAT_TO_UNDERLAY - Access an underlay service from a VM/container on overlay space using SNAT from overlay IP to underlay IP
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - destination_groups (
list
ofstr
orNone
) – We need paths as duplicate names may exist for groups under different domains. Along with paths we support IP Address of type IPv4 and IPv6. IP Address can be in one of the format(CIDR, IP Address, Range of IP Address). In order to specify all groups, use the constant “ANY”. This is case insensitive. If “ANY” is used, it should be the ONLY element in the group array. Error will be thrown if ANY is used in conjunction with other values. - destinations_excluded (
bool
orNone
) – If set to true, the rule gets applied on all the groups that are NOT part of the destination groups. If false, the rule applies to the destination groups - direction (
str
orNone
) –Possible values are:
Define direction of traffic. - disabled (
bool
orNone
) – Flag to disable the rule. Default is enabled. - ip_protocol (
str
orNone
) –Possible values are:
ForwardingRule.IP_PROTOCOL_IPV4
ForwardingRule.IP_PROTOCOL_IPV6
ForwardingRule.IP_PROTOCOL_IPV4_IPV6
Type of IP packet that should be matched while enforcing the rule. The value is set to IPV4_IPV6 for Layer3 rule if not specified. For Layer2/Ether rule the value must be null.
- is_default (
bool
orNone
) – A flag to indicate whether rule is a default rule. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - logged (
bool
orNone
) – Flag to enable packet logging. Default is disabled. - notes (
str
orNone
) – Text for additional notes on changes. - profiles (
list
ofstr
orNone
) – Holds the list of layer 7 service profile paths. These profiles accept attributes and sub-attributes of various network services (e.g. L4 AppId, encryption algorithm, domain name, etc) as key value pairs. - rule_id (
long
orNone
) – This is a unique 4 byte positive number that is assigned by the system. This rule id is passed all the way down to the data path. The first 1GB (1000 to 2^30) will be shared by GM and LM with zebra style striped number space. For E.g 1000 to (1Million -1) by LM, (1M - 2M-1) by GM and so on. 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. - scope (
list
ofstr
orNone
) – The list of policy paths where the rule is applied LR/Edge/T0/T1/LRP etc. Note that a given rule can be applied on multiple LRs/LRPs. - sequence_number (
long
orNone
) – This field is used to resolve conflicts between multiple Rules under Security or Gateway Policy for a Domain If no sequence number is specified in the payload, a value of 0 is assigned by default. If there are multiple rules with the same sequence number then their order is not deterministic. If a specific order of rules is desired, then one has to specify unique sequence numbers or use the POST request on the rule entity with a query parameter action=revise to let the framework assign a sequence number format: int32 - service_entries (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – In order to specify raw services this can be used, along with services which contains path to services. This can be empty or null. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inServiceEntry
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inServiceEntry
. - services (
list
ofstr
orNone
) – In order to specify all services, use the constant “ANY”. This is case insensitive. If “ANY” is used, it should be the ONLY element in the services array. Error will be thrown if ANY is used in conjunction with other values. - source_groups (
list
ofstr
orNone
) – We need paths as duplicate names may exist for groups under different domains. Along with paths we support IP Address of type IPv4 and IPv6. IP Address can be in one of the format(CIDR, IP Address, Range of IP Address). In order to specify all groups, use the constant “ANY”. This is case insensitive. If “ANY” is used, it should be the ONLY element in the group array. Error will be thrown if ANY is used in conjunction with other values. - sources_excluded (
bool
orNone
) – If set to true, the rule gets applied on all the groups that are NOT part of the source groups. If false, the rule applies to the source groups - tag (
str
orNone
) – User level field which will be printed in CLI and packet logs. - action (
str
orNone
) –Possible values are:
ForwardingRule.ACTION_ROUTE_TO_UNDERLAY
ForwardingRule.ACTION_ROUTE_TO_OVERLAY
ForwardingRule.ACTION_ROUTE_FROM_UNDERLAY
ForwardingRule.ACTION_ROUTE_FROM_OVERLAY
ForwardingRule.ACTION_NAT_FROM_UNDERLAY
ForwardingRule.ACTION_NAT_TO_UNDERLAY
The action to be applied to all the services
-
ACTION_NAT_FROM_UNDERLAY
= 'NAT_FROM_UNDERLAY'¶
-
ACTION_NAT_TO_UNDERLAY
= 'NAT_TO_UNDERLAY'¶
-
ACTION_ROUTE_FROM_OVERLAY
= 'ROUTE_FROM_OVERLAY'¶
-
ACTION_ROUTE_FROM_UNDERLAY
= 'ROUTE_FROM_UNDERLAY'¶
-
ACTION_ROUTE_TO_OVERLAY
= 'ROUTE_TO_OVERLAY'¶
-
ACTION_ROUTE_TO_UNDERLAY
= 'ROUTE_TO_UNDERLAY'¶
-
DIRECTION_IN
= 'IN'¶
-
DIRECTION_IN_OUT
= 'IN_OUT'¶
-
DIRECTION_OUT
= 'OUT'¶
-
IP_PROTOCOL_IPV4
= 'IPV4'¶
-
IP_PROTOCOL_IPV4_IPV6
= 'IPV4_IPV6'¶
-
IP_PROTOCOL_IPV6
= 'IPV6'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
ForwardingRuleListResult
(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
Paged Collection of ForwardingRules
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
ofForwardingRule
orNone
) – Rule list results
- links (
-
class
com.vmware.nsx_policy.model_client.
FullSyncState
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, errors=None, full_sync_id=None, last_completed_stage=None, last_upate_time=None, start_time=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Provides FullSync state for Local Manager from Global Manager.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - errors (
list
ofstr
orNone
) – Errors occurred during full sync. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - full_sync_id (
str
orNone
) – Full sync id generated by Async Replicator (AR) 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. - last_completed_stage (
str
orNone
) –Possible values are:
FullSyncState.LAST_COMPLETED_STAGE_INITIAL
FullSyncState.LAST_COMPLETED_STAGE_PAUSE_DCNS
FullSyncState.LAST_COMPLETED_STAGE_DELETED_STALE_ENTITIES
FullSyncState.LAST_COMPLETED_STAGE_PROCESSED_FULLSYNC_DATA
FullSyncState.LAST_COMPLETED_STAGE_PROCESSED_DELTAS
FullSyncState.LAST_COMPLETED_STAGE_UNPAUSE_DCNS
FullSyncState.LAST_COMPLETED_STAGE_COMPLETED
FullSyncState.LAST_COMPLETED_STAGE_ERROR
FullSyncState.LAST_COMPLETED_STAGE_ABORTED
The current stage of full sync completion for ongoing sync. When Local Manager (LM) receives full sync data from AR, LM starts with workflow to prserve the state and restore the full sync from where it has left off in case of change of leadership of the service to different NSX node or LM is restarted. LM starts the full sync workflow with state INITIAL capturing the AR full sync id and data location details. The stage/state transition follows the order given below INITIAL - Full sync started PROCESSED_FULLSYNC_DATA - Compelted processing the full state data provided by AR PRCESSED_DELTAS - Completed processing pending delta changes provided by AR. DELETED_STALE_ENTITIES - Completed deletion of all global entities on LM that are not in GM anymore COMPLETED - Full sync handling is completed on LM ERROR - Full sync failed with errors on LM, in which case AR will re-attempt full sync later point in time for the LM ABORTED - Indicates that the full sync cancelled as per user request 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_upate_time (
long
orNone
) – Timestamp of last update, could be progress or success or error. 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. - start_time (
long
orNone
) – Timestamp of Full Sync start. 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_COMPLETED_STAGE_ABORTED
= 'ABORTED'¶
-
LAST_COMPLETED_STAGE_COMPLETED
= 'COMPLETED'¶
-
LAST_COMPLETED_STAGE_DELETED_STALE_ENTITIES
= 'DELETED_STALE_ENTITIES'¶
-
LAST_COMPLETED_STAGE_ERROR
= 'ERROR'¶
-
LAST_COMPLETED_STAGE_INITIAL
= 'INITIAL'¶
-
LAST_COMPLETED_STAGE_PAUSE_DCNS
= 'PAUSE_DCNS'¶
-
LAST_COMPLETED_STAGE_PROCESSED_DELTAS
= 'PROCESSED_DELTAS'¶
-
LAST_COMPLETED_STAGE_PROCESSED_FULLSYNC_DATA
= 'PROCESSED_FULLSYNC_DATA'¶
-
LAST_COMPLETED_STAGE_UNPAUSE_DCNS
= 'UNPAUSE_DCNS'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
FullSyncStateListResult
(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
Paged Collection of FullSync states.
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
ofFullSyncState
orNone
) – FullSync states list.
- links (
-
class
com.vmware.nsx_policy.model_client.
GatewayFloodProtectionProfile
(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='GatewayFloodProtectionProfile', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, icmp_active_flow_limit=None, other_active_conn_limit=None, tcp_half_open_conn_limit=None, udp_active_flow_limit=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
) – Defaults to ID if not set - id (
str
orNone
) – Unique identifier of this resource - resource_type (
str
) –Possible values are:
FloodProtectionProfile.RESOURCE_TYPE_GATEWAYFLOODPROTECTIONPROFILE
FloodProtectionProfile.RESOURCE_TYPE_DISTRIBUTEDFLOODPROTECTIONPROFILE
GatewayFloodProtectionProfile is used for all Tier0 and Tier1 gateways. DistributedFloodProtectionProfile is used for all Transport Nodes.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - icmp_active_flow_limit (
long
orNone
) – If this field is empty, firewall will not set a limit to active ICMP connections. format: int64 - other_active_conn_limit (
long
orNone
) – If this field is empty, firewall will not set a limit to other active connections. besides UDP, ICMP and half open TCP connections. format: int64 - tcp_half_open_conn_limit (
long
orNone
) – If this field is empty, firewall will not set a limit to half open TCP connections. format: int64 - udp_active_flow_limit (
long
orNone
) – If this field is empty, firewall will not set a limit to active UDP connections. format: int64
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
GatewayPolicy
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, category=None, comments=None, internal_sequence_number=None, is_default=None, lock_modified_by=None, lock_modified_time=None, locked=None, rule_count=None, scheduler_path=None, scope=None, sequence_number=None, stateful=None, tcp_strict=None, rules=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Contains ordered list of Rules for GatewayPolicy
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - category (
str
orNone
) –- Distributed Firewall - Policy framework provides five pre-defined
categories for classifying a security policy. They are “Ethernet”,”Emergency”, “Infrastructure” “Environment” and “Application”. There is a pre-determined order in which the policy framework manages the priority of these security policies. Ethernet category is for supporting layer 2 firewall rules. The other four categories are applicable for layer 3 rules. Amongst them, the Emergency category has the highest priority followed by Infrastructure, Environment and then Application rules. Administrator can choose to categorize a security policy into the above categories or can choose to leave it empty. If empty it will have the least precedence w.r.t the above four categories. - Edge Firewall - Policy Framework for Edge Firewall provides six pre-defined categories “Emergency”, “SystemRules”, “SharedPreRules”, “LocalGatewayRules”, “AutoServiceRules” and “Default”, in order of priority of rules. All categories are allowed for Gatetway Policies that belong to ‘default’ Domain. However, for user created domains, category is restricted to “SharedPreRules” or “LocalGatewayRules” only. Also, the users can add/modify/delete rules from only the “SharedPreRules” and “LocalGatewayRules” categories. If user doesn’t specify the category then defaulted to “Rules”. System generated category is used by NSX created rules, for example BFD rules. Autoplumbed category used by NSX verticals to autoplumb data path rules. Finally, “Default” category is the placeholder default rules with lowest in the order of priority.
- comments (
str
orNone
) – Comments for security policy lock/unlock. - internal_sequence_number (
long
orNone
) – This field is to indicate the internal sequence number of a policy with respect to the policies across categories. 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. - is_default (
bool
orNone
) – A flag to indicate whether policy is a default policy. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lock_modified_by (
str
orNone
) – ID of the user who last modified the lock for the secruity policy. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lock_modified_time (
long
orNone
) – SecurityPolicy locked/unlocked time in epoch milliseconds. format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - locked (
bool
orNone
) – Indicates whether a security policy should be locked. If the security policy is locked by a user, then no other user would be able to modify this security policy. Once the user releases the lock, other users can update this security policy. - rule_count (
long
orNone
) – The count of rules in the policy. 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. - scheduler_path (
str
orNone
) – Provides a mechanism to apply the rules in this policy for a specified time duration. - scope (
list
ofstr
orNone
) – The list of group paths where the rules in this policy will get applied. This scope will take precedence over rule level scope. Supported only for security and redirection policies. In case of RedirectionPolicy, it is expected only when the policy is NS and redirecting to service chain. - sequence_number (
long
orNone
) – This field is used to resolve conflicts between security policies across domains. In order to change the sequence number of a policy one can fire a POST request on the policy entity with a query parameter action=revise The sequence number field will reflect the value of the computed sequence number upon execution of the above mentioned POST request. For scenarios where the administrator is using a template to update several security policies, the only way to set the sequence number is to explicitly specify the sequence number for each security policy. If no sequence number is specified in the payload, a value of 0 is assigned by default. If there are multiple policies with the same sequence number then their order is not deterministic. If a specific order of policies is desired, then one has to specify unique sequence numbers or use the POST request on the policy entity with a query parameter action=revise to let the framework assign a sequence number format: int32 - stateful (
bool
orNone
) – Stateful or Stateless nature of security policy is enforced on all rules in this security policy. When it is stateful, the state of the network connects are tracked and a stateful packet inspection is performed. Layer3 security policies can be stateful or stateless. By default, they are stateful. Layer2 security policies can only be stateless. - tcp_strict (
bool
orNone
) – Ensures that a 3 way TCP handshake is done before the data packets are sent. tcp_strict=true is supported only for stateful security policies. If the tcp_strict flag is not specified and the security policy is stateful, then tcp_strict will be set to true. - rules (
list
ofRule
orNone
) – Rules that are a part of this SecurityPolicy
- links (
-
class
com.vmware.nsx_policy.model_client.
GatewayPolicyListResult
(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
Paged Collection of gateway policies
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
ofGatewayPolicy
orNone
) – GatewayPolicy list results
- links (
-
class
com.vmware.nsx_policy.model_client.
GatewayQosProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, burst_size=None, committed_bandwitdth=None, excess_action=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
QoS profile contains configuration of rate limiting properties which can be applied in ingress and egress directions at Tier1 gateways
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - burst_size (
long
orNone
) – Burst size in bytes. format: int32 - committed_bandwitdth (
long
orNone
) – Committed bandwidth in both directions specoficd in Mbps. Bandwidth is limited to line rate when the value configured is greater than line rate. format: int32 - excess_action (
str
orNone
) –Possible values are:
Action on traffic exceeding bandwidth.
-
EXCESS_ACTION_DROP
= 'DROP'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
GatewayQosProfileConfig
(egress_qos_profile_path=None, ingress_qos_profile_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Gateway QoS profile configuration
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - egress_qos_profile_path (
str
orNone
) – Policy path to gateway QoS profile in egress direction. - ingress_qos_profile_path (
str
orNone
) – Policy path to gateway QoS profile in ingress direction.
- egress_qos_profile_path (
-
class
com.vmware.nsx_policy.model_client.
GatewayQosProfileListResult
(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
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
ofGatewayQosProfile
orNone
) – Paginated list of GatewayQosProfile
- links (
-
class
com.vmware.nsx_policy.model_client.
GatewayRouteCsvRecord
(admin_distance=None, edge_path=None, _interface=None, lr_component_id=None, lr_component_type=None, network=None, next_hop=None, route_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - admin_distance (
long
orNone
) – The admin distance of the next hop format: int64 - edge_path (
str
orNone
) – Edge node policy 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. - _interface (
str
orNone
) – The policy path of the interface which is used as the next hop - lr_component_id (
str
orNone
) – Logical router component(Service Router/Distributed Router) id - lr_component_type (
str
orNone
) – Logical router component(Service Router/Distributed Router) type - network (
str
orNone
) – CIDR network address format: ip-cidr-block - next_hop (
str
orNone
) – The IP of the next hop format: ip - route_type (
str
orNone
) – Route type (USER, CONNECTED, NSX_INTERNAL,..)
- admin_distance (
-
class
com.vmware.nsx_policy.model_client.
GatewayRouteTableInCsvFormat
(file_name=None, last_update_timestamp=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
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. - last_update_timestamp (
long
orNone
) – Timestamp when the data was last updated; unset if data source has never updated the data. 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. - results (
list
ofGatewayRouteCsvRecord
orNone
) –
- file_name (
-
class
com.vmware.nsx_policy.model_client.
GenericDhcpOption
(code=None, values=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Define DHCP options other than option 121.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - code (
long
orNone
) – Code of the dhcp option. format: int64 - values (
list
ofstr
orNone
) – Value of the option.
- code (
-
class
com.vmware.nsx_policy.model_client.
GenericPolicyRealizedResource
(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, parent_path=None, path=None, relative_path=None, unique_id=None, alarms=None, intent_reference=None, realization_api=None, realization_specific_identifier=None, runtime_error=None, runtime_status=None, state=None, enforcement_point_path=None, entity_type=None, extended_attributes=None, intent_paths=None, site_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents realized entity
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarms (
list
ofPolicyAlarmResource
orNone
) – Alarm info detail - intent_reference (
list
ofstr
orNone
) – Desire state paths of this object - realization_api (
str
orNone
) – Realization API of this object on enforcement point - realization_specific_identifier (
str
orNone
) – Realization id of this object - runtime_error (
str
orNone
) – It define the root cause for runtime error. - runtime_status (
str
orNone
) – Possible values could be UP, DOWN, UNKNOWN, DEGRADED This list is not exhaustive. - state (
str
orNone
) –Possible values are:
GenericPolicyRealizedResource.STATE_UNAVAILABLE
GenericPolicyRealizedResource.STATE_UNREALIZED
GenericPolicyRealizedResource.STATE_REALIZED
GenericPolicyRealizedResource.STATE_ERROR
Realization state of this object - enforcement_point_path (
str
orNone
) – The path of the enforcement point. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - entity_type (
str
orNone
) – Type of realized 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. - extended_attributes (
list
ofAttributeVal
orNone
) – Collection of type specific properties This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - intent_paths (
list
ofstr
orNone
) – Collection of intent 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. - site_path (
str
orNone
) – The site where this entity resides. 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_ERROR
= 'ERROR'¶
-
STATE_REALIZED
= 'REALIZED'¶
-
STATE_UNAVAILABLE
= 'UNAVAILABLE'¶
-
STATE_UNREALIZED
= 'UNREALIZED'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
GenericPolicyRealizedResourceListResult
(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
GenericPolicyRealizedResource 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
ofGenericPolicyRealizedResource
orNone
) – List of realized resources
- links (
-
class
com.vmware.nsx_policy.model_client.
GlobalConfig
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, fips=None, l3_forwarding_mode=None, mtu=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Global configuration
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - fips (
FIPSGlobalConfig
orNone
) – Contains the FIPSGlobalConfig object. - l3_forwarding_mode (
str
orNone
) –Possible values are:
Configure forwarding mode for routing. This setting does not restrict configuration for other modes.
- mtu (
long
orNone
) – Maximum transmission unit (MTU) specifies the size of the largest packet that a network protocol can transmit. format: int32
-
L3FORWARDING_MODE_AND_IPV6
= 'IPV4_AND_IPV6'¶
-
L3FORWARDING_MODE_ONLY
= 'IPV4_ONLY'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
GlobalManager
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, connection_info=None, fail_if_rtt_exceeded=None, federation_id=None, maximum_rtt=None, mode=None, site_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Global Manager.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - connection_info (
list
ofSiteNodeConnectionInfo
orNone
) – To create a standby GM, the connection information (username, password, and API thumbprint) for at least one NSX manager node in the remote site must be provided. Once the GM has been successfully onboarded, the connection_info is discarded and authentication to the standby GM occurs using an X.509 client certificate. - fail_if_rtt_exceeded (
bool
orNone
) – Fail onboarding if maximum RTT exceeded. - federation_id (
str
orNone
) – Internally generated UUID to the federation of Global Manager. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - maximum_rtt (
long
orNone
) – If provided and fail_if_rtt_exceeded is true, onboarding of the site will fail if measured RTT is greater than this value. format: int64 - mode (
str
orNone
) –Possible values are:
There can be at most one ACTIVE global manager and one STANDBY global manager. In order to add a STANDBY manager, there must be an ACTIVE manager defined.
- site_id (
str
orNone
) – UUID of the site where Global manager is running. This is the Site Manager generated UUID for every NSX deployment. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
MODE_ACTIVE
= 'ACTIVE'¶
-
MODE_STANDBY
= 'STANDBY'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
GlobalManagerConfig
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, rtep_config=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This configuration is distributed to all Sites participating in federation.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - rtep_config (
GmRtepConfig
orNone
) – Global Manager federation RTEP configuration. This configuration is distributed to all Sites participating in federation.
- links (
-
class
com.vmware.nsx_policy.model_client.
GlobalManagerListResult
(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
Paged Collection of Global Managers.
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
ofGlobalManager
orNone
) – Global Manager List Result.
- links (
-
class
com.vmware.nsx_policy.model_client.
GlobalRestoreStatus
(description=None, value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Overall restore process status
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - description (
str
orNone
) – A description of the restore status This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - value (
str
orNone
) –Possible values are:
GlobalRestoreStatus.VALUE_INITIAL
GlobalRestoreStatus.VALUE_SUCCESS
GlobalRestoreStatus.VALUE_FAILED
GlobalRestoreStatus.VALUE_RUNNING
GlobalRestoreStatus.VALUE_SUSPENDED_BY_USER
GlobalRestoreStatus.VALUE_SUSPENDED_FOR_USER_ACTION
GlobalRestoreStatus.VALUE_SUSPENDED
GlobalRestoreStatus.VALUE_ABORTED
Global rolled-up restore status valueThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
VALUE_ABORTED
= 'ABORTED'¶
-
VALUE_FAILED
= 'FAILED'¶
-
VALUE_INITIAL
= 'INITIAL'¶
-
VALUE_RUNNING
= 'RUNNING'¶
-
VALUE_SUCCESS
= 'SUCCESS'¶
-
VALUE_SUSPENDED
= 'SUSPENDED'¶
-
VALUE_SUSPENDED_BY_USER
= 'SUSPENDED_BY_USER'¶
-
VALUE_SUSPENDED_FOR_USER_ACTION
= 'SUSPENDED_FOR_USER_ACTION'¶
- description (
-
class
com.vmware.nsx_policy.model_client.
GmFederationSiteConfig
(transit_subnet=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Additional configuration required for federation at Site.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: transit_subnet ( str
orNone
) – IP Addresses to be allocated for transit segment when the gateway is stretched. Note that Global Manager will carve out the IP Pool for each site to be used for edge nodes when gateway is stretched based on the user provided subnet and maximum number of edge nodes allowed per site. format: ip-cidr-block
-
class
com.vmware.nsx_policy.model_client.
GmRtepConfig
(ibgp_password=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Global Manager federation RTEP configuration. This configuration is distributed to all Sites participating in federation.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: ibgp_password ( str
orNone
) – Password to authenticate IBGP session between remote tunnel endpoints created on federated sites. This is applied to inter-site underlay IBGP neighbors created over remote tunnel endpoints on all sites. Empty string (“”) clears existing password.
-
class
com.vmware.nsx_policy.model_client.
GraphConfiguration
(axes=None, displayx_value=None, graphs=None, navigation=None, sub_type=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='GraphConfiguration', tags=None, datasources=None, default_filter_value=None, drilldown_id=None, filter=None, filter_value_required=None, footer=None, icons=None, is_drilldown=None, legend=None, shared=None, span=None, weight=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents configuration of a graph widget
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - axes (
Axes
orNone
) – Axes of a graph - displayx_value (
bool
orNone
) – If true, value of a point is shown as label on X axis. If false, value of point is not shown as label on X axis. false can be useful in situations where there are too many points and showing the X value as label can clutter the X axis. - graphs (
list
ofGraphDefinition
orNone
) – Graphs - navigation (
str
orNone
) – Hyperlink of the specified UI page that provides details. - sub_type (
str
orNone
) –Possible values are:
GraphConfiguration.SUB_TYPE_LINE_GRAPH
GraphConfiguration.SUB_TYPE_BAR_GRAPH
GraphConfiguration.SUB_TYPE_STACKED_BAR_GRAPH
Describes the the type of graph. LINE_GRAPH shows a line graph chart BAR_GRAPH shows a simple bar graph chart STACKED_BAR_GRAPH shows a stacked bar graph chart
- 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
) – Title of the widget. If display_name is omitted, the widget will be shown without a title. - id (
str
orNone
) – Unique identifier of this resource - resource_type (
str
) –Possible values are:
WidgetConfiguration.RESOURCE_TYPE_LABELVALUECONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DONUTCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_MULTIWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CONTAINERCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_STATSCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRIDCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRAPHCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CUSTOMWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DROPDOWNFILTERWIDGETCONFIGURATION
Supported visualization types are LabelValueConfiguration, DonutConfiguration, GridConfiguration, StatsConfiguration, MultiWidgetConfiguration, GraphConfiguration, ContainerConfiguration, CustomWidgetConfiguration and DropdownFilterWidgetConfiguration.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - datasources (
list
ofDatasource
orNone
) – The ‘datasources’ represent the sources from which data will be fetched. Currently, only NSX-API is supported as a ‘default’ datasource. An example of specifying ‘default’ datasource along with the urls to fetch data from is given at ‘example_request’ section of ‘CreateWidgetConfiguration’ API. - default_filter_value (
list
ofDefaultFilterValue
orNone
) – Default filter values to be passed to datasources. This will be used when the report is requested without filter values. - drilldown_id (
str
orNone
) – Id of drilldown widget, if any. Id should be a valid id of an existing widget. A widget is considered as drilldown widget when it is associated with any other widget and provides more detailed information about any data item from the parent widget. - filter (
str
orNone
) – Id of filter widget for subscription, if any. Id should be a valid id of an existing filter widget. Filter widget should be from the same view. Datasource URLs should have placeholder values equal to filter alias to accept the filter value on filter change. - filter_value_required (
bool
orNone
) – Flag to indicate that widget will continue to work without filter value. If this flag is set to false then default_filter_value is manadatory. - footer (
Footer
orNone
) – - icons (
list
ofIcon
orNone
) – Icons to be applied at dashboard for widgets and UI elements. - is_drilldown (
bool
orNone
) – Set to true if this widget should be used as a drilldown. - legend (
Legend
orNone
) – Legend to be displayed. If legend is not needed, do not include it. - shared (
bool
orNone
) – Please use the property ‘shared’ of View instead of this. The widgets of a shared view are visible to other users. - span (
long
orNone
) – Represents the horizontal span of the widget / container. format: int32 - weight (
long
orNone
) – Specify relavite weight in WidgetItem for placement in a view. Please see WidgetItem for details. format: int32
-
SUB_TYPE_BAR_GRAPH
= 'BAR_GRAPH'¶
-
SUB_TYPE_LINE_GRAPH
= 'LINE_GRAPH'¶
-
SUB_TYPE_STACKED_BAR_GRAPH
= 'STACKED_BAR_GRAPH'¶
-
resource_type
¶ Return the discriminator value
- axes (
-
class
com.vmware.nsx_policy.model_client.
GraphDefinition
(label=None, point_definition=None, render_configuration=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Defines a graph
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - label (
Label
orNone
) – Describes the graph. It labels the entities of graph. If the label is not provided then it is not shown for a graph. For example, for a single graph, the title of widget can describe the graph and a label may not be necessary to be shown. - point_definition (
PointDefinition
orNone
) – Defines the points of a graph. - render_configuration (
list
ofRenderConfiguration
orNone
) – Additional rendering or conditional evaluation of the field values to be performed, if any.
- label (
-
class
com.vmware.nsx_policy.model_client.
GridConfiguration
(columns=None, page_size=None, row_list_fields=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='GridConfiguration', tags=None, datasources=None, default_filter_value=None, drilldown_id=None, filter=None, filter_value_required=None, footer=None, icons=None, is_drilldown=None, legend=None, shared=None, span=None, weight=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents configuration of a Grid or Table widget.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - columns (
list
ofColumnItem
orNone
) – Array of columns of a Grid widget - page_size (
long
orNone
) – Number of records per page. page_size will be effective only when the urls provided in the datasource support paging. format: int32 - row_list_fields (
list
ofRowListField
orNone
) – Rows of grid or table are formed from the list of objects returned by a row list field. - 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
) – Title of the widget. If display_name is omitted, the widget will be shown without a title. - id (
str
orNone
) – Unique identifier of this resource - resource_type (
str
) –Possible values are:
WidgetConfiguration.RESOURCE_TYPE_LABELVALUECONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DONUTCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_MULTIWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CONTAINERCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_STATSCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRIDCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRAPHCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CUSTOMWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DROPDOWNFILTERWIDGETCONFIGURATION
Supported visualization types are LabelValueConfiguration, DonutConfiguration, GridConfiguration, StatsConfiguration, MultiWidgetConfiguration, GraphConfiguration, ContainerConfiguration, CustomWidgetConfiguration and DropdownFilterWidgetConfiguration.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - datasources (
list
ofDatasource
orNone
) – The ‘datasources’ represent the sources from which data will be fetched. Currently, only NSX-API is supported as a ‘default’ datasource. An example of specifying ‘default’ datasource along with the urls to fetch data from is given at ‘example_request’ section of ‘CreateWidgetConfiguration’ API. - default_filter_value (
list
ofDefaultFilterValue
orNone
) – Default filter values to be passed to datasources. This will be used when the report is requested without filter values. - drilldown_id (
str
orNone
) – Id of drilldown widget, if any. Id should be a valid id of an existing widget. A widget is considered as drilldown widget when it is associated with any other widget and provides more detailed information about any data item from the parent widget. - filter (
str
orNone
) – Id of filter widget for subscription, if any. Id should be a valid id of an existing filter widget. Filter widget should be from the same view. Datasource URLs should have placeholder values equal to filter alias to accept the filter value on filter change. - filter_value_required (
bool
orNone
) – Flag to indicate that widget will continue to work without filter value. If this flag is set to false then default_filter_value is manadatory. - footer (
Footer
orNone
) – - icons (
list
ofIcon
orNone
) – Icons to be applied at dashboard for widgets and UI elements. - is_drilldown (
bool
orNone
) – Set to true if this widget should be used as a drilldown. - legend (
Legend
orNone
) – Legend to be displayed. If legend is not needed, do not include it. - shared (
bool
orNone
) – Please use the property ‘shared’ of View instead of this. The widgets of a shared view are visible to other users. - span (
long
orNone
) – Represents the horizontal span of the widget / container. format: int32 - weight (
long
orNone
) – Specify relavite weight in WidgetItem for placement in a view. Please see WidgetItem for details. format: int32
-
resource_type
¶ Return the discriminator value
- columns (
-
class
com.vmware.nsx_policy.model_client.
Group
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, expression=None, extended_expression=None, reference=None, state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Group.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - expression (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – The expression list must follow below criteria: 1. A non-empty expression list, must be of odd size. In a list, with indices starting from 0, all non-conjunction expressions must be at even indices, separated by a conjunction expression at odd indices. 2. The total of ConditionExpression and NestedExpression in a list should not exceed 5. 3. The total of IPAddressExpression, MACAddressExpression, external IDs in an ExternalIDExpression and paths in a PathExpression must not exceed 500. 4. Each expression must be a valid Expression. See the definition of the Expression type for more information. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inExpression
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inExpression
. - extended_expression (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – Extended Expression allows additional higher level context to be specified for grouping criteria. (e.g. user AD group) This field allow users to specified user context as the source of a firewall rule for IDFW feature. Current version only support a single IdentityGroupExpression. In the future, this might expand to support other conjunction and non-conjunction expression. The extended expression list must follow below criteria: 1. Contains a single IdentityGroupExpression. No conjunction expression is supported. 2. No other non-conjunction expression is supported, except for IdentityGroupExpression. 3. Each expression must be a valid Expression. See the definition of the Expression type for more information. 4. Extended expression are implicitly AND with expression. 5. No nesting can be supported if this value is used. 6. If a Group is using extended expression, this group must be the only member in the source field of an communication map. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inExpression
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inExpression
. - reference (
bool
orNone
) – If true, indicates that this is a remote reference group. Such group will have span different from the its parent domain. Default value is false. 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:
Realization state of this group
-
STATE_FAILURE
= 'FAILURE'¶
-
STATE_IN_PROGRESS
= 'IN_PROGRESS'¶
-
STATE_SUCCESS
= 'SUCCESS'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
GroupDiscoveryProfileBindingMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, profile_path=None, sequence_number=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This entity will be used to establish association between discovery profile and Group. With this entity, user can specify intent for applying discovery profile profile to particular Group.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - profile_path (
str
orNone
) – PolicyPath of associated Profile - sequence_number (
long
orNone
) – Sequence number used to resolve conflicts betweeen two profiles applied on the same group. Lower sequence number takes higher precedence. Two binding maps applied to the same profile must have the same sequence number. User defined sequence numbers range from 1 through 100,000. System defined sequence numbers range from 100,001 through 200,000. format: int64
- links (
-
class
com.vmware.nsx_policy.model_client.
GroupInfo
(group=None, group_policy_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
GroupInfo contains information about a particular Group used in Redirection Rules. It also contains information about policy path, if the group is created from Policy.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - group (
ResourceReference
orNone
) – Group Data. - group_policy_path (
str
orNone
) – Policy path of a particular 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.
- group (
-
class
com.vmware.nsx_policy.model_client.
GroupListResult
(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
Paged Collection of 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
ofGroup
orNone
) – Group list results
- links (
-
class
com.vmware.nsx_policy.model_client.
GroupMemberList
(members=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
List of same type members to either add or remove from a group.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: members ( list
ofstr
orNone
) – This array contains group members of similar types.
-
class
com.vmware.nsx_policy.model_client.
GroupMemberTagsList
(member_type=None, tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Collection of tags used in a policy group for a particular member type
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - member_type (
str
orNone
) – Member type for which we will list the tags - tags (
list
ofstr
orNone
) – List of tags for the member type
- member_type (
-
class
com.vmware.nsx_policy.model_client.
GroupMemberTypeListResult
(result_count=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - result_count (
long
orNone
) – Count of the member types in the results array 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. - results (
list
ofstr
orNone
) –Possible values are:
GroupMemberTypeListResult.RESULTS_VIRTUALMACHINE
GroupMemberTypeListResult.RESULTS_VIRTUALNETWORKINTERFACE
GroupMemberTypeListResult.RESULTS_SEGMENTPORT
GroupMemberTypeListResult.RESULTS_SEGMENT
GroupMemberTypeListResult.RESULTS_CLOUDNATIVESERVICEINSTANCE
GroupMemberTypeListResult.RESULTS_IPADDRESS
GroupMemberTypeListResult.RESULTS_MACADDRESS
GroupMemberTypeListResult.RESULTS_IPSET
GroupMemberTypeListResult.RESULTS_IDENTITYGROUP
GroupMemberTypeListResult.RESULTS_PHYSICALSERVER
Collection of member types for the given Group
-
RESULTS_CLOUDNATIVESERVICEINSTANCE
= 'CloudNativeServiceInstance'¶
-
RESULTS_IDENTITYGROUP
= 'IdentityGroup'¶
-
RESULTS_IPADDRESS
= 'IPAddress'¶
-
RESULTS_IPSET
= 'IPSet'¶
-
RESULTS_MACADDRESS
= 'MACAddress'¶
-
RESULTS_PHYSICALSERVER
= 'PhysicalServer'¶
-
RESULTS_SEGMENT
= 'Segment'¶
-
RESULTS_SEGMENTPORT
= 'SegmentPort'¶
-
RESULTS_VIRTUALMACHINE
= 'VirtualMachine'¶
-
RESULTS_VIRTUALNETWORKINTERFACE
= 'VirtualNetworkInterface'¶
- result_count (
-
class
com.vmware.nsx_policy.model_client.
GroupMonitoringProfileBindingMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, ipfix_dfw_profile_path=None, ipfix_l2_profile_path=None, port_mirroring_profile_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This entity will be used to establish association between monitoring profile and Group. Using this entity, you can specify intent for applying monitoring profile to particular Group. Group with membership criteria vm only supported as source group. Port mirroring is only supported on group with five vms.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - ipfix_dfw_profile_path (
str
orNone
) – PolicyPath of associated IPFIX DFW Profile - ipfix_l2_profile_path (
str
orNone
) – PolicyPath of associated IPFIX L2 Profile - port_mirroring_profile_path (
str
orNone
) – PolicyPath of associated Port Mirroring Profile
- links (
-
class
com.vmware.nsx_policy.model_client.
GroupMonitoringProfileBindingMapListResult
(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
Paged collection of Group Monitoring Profile Binding 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
ofGroupMonitoringProfileBindingMap
orNone
) – Group Monitoring Profile Binding Map list results
- links (
-
class
com.vmware.nsx_policy.model_client.
GroupTagsList
(results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Collection of tags used in a policy group listed per member type
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: results ( list
ofGroupMemberTagsList
orNone
) – Collection of tags used in a policy group listed per member type
-
class
com.vmware.nsx_policy.model_client.
GuestInfo
(computer_name=None, os_name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Guest virtual machine details include OS name and computer name of guest VM.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - computer_name (
str
orNone
) – Computer name of guest virtual machine, which is set inside guest OS. Currently this is supported for guests on ESXi that have VMware Tools installed. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - os_name (
str
orNone
) – OS name of guest virtual machine. Currently this is supported for guests on ESXi that have VMware Tools installed. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- computer_name (
-
class
com.vmware.nsx_policy.model_client.
Header
(condition=None, content_alignment=None, sub_headers=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Header of a widget that provides additional information. This will be shown at the container level. It includes details as label value pairs.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - condition (
str
orNone
) – If the condition is met then the header will be applied. Examples of expression syntax are provided under ‘example_request’ section of ‘CreateWidgetConfiguration’ API. - content_alignment (
str
orNone
) –Possible values are:
Alignment of header labels. - sub_headers (
list
ofPropertyItem
orNone
) – An array of label-value properties.
-
CONTENT_ALIGNMENT_LEFT
= 'LEFT'¶
-
CONTENT_ALIGNMENT_RIGHT
= 'RIGHT'¶
- condition (
-
class
com.vmware.nsx_policy.model_client.
HttpPolicyLbMonitorProfile
(url=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='HttpPolicyLbMonitorProfile', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, fall_count=None, interval=None, monitor_port=None, rise_count=None, timeout=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Active healthchecks are disabled by default and can be enabled for a server pool by binding a health monitor to the Group through the PolicyLbRule object. This represents active health monitoring over HTTP. Active healthchecks are initiated periodically, at a configurable interval, to each member of the Group. Only if a healthcheck fails consecutively for a specified number of times (fall_count) to a member will the member status be marked DOWN. Once a member is DOWN, a specified number of consecutive successful healthchecks (rise_count) will bring the member back to UP state. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - url (
str
orNone
) – For HTTP active healthchecks, the HTTP request url sent can be customized and can include query 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
) –Possible values are:
PolicyLbMonitorProfile.RESOURCE_TYPE_TCPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_UDPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_ICMPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_HTTPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_HTTPSPOLICYLBMONITORPROFILE
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - fall_count (
long
orNone
) – Only if a healthcheck fails consecutively for a specified number of times, given with fall_count, to a member will the member status be marked DOWN. format: int64 - interval (
long
orNone
) – Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group. format: int64 - monitor_port (
long
orNone
) – Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value. format: int32 - rise_count (
long
orNone
) – Once a member is DOWN, a specified number of consecutive successful healthchecks specified by rise_count will bring the member back to UP state. format: int64 - timeout (
long
orNone
) – Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout. format: int64
-
resource_type
¶ Return the discriminator value
- url (
-
class
com.vmware.nsx_policy.model_client.
HttpPolicyLbVirtualServer
(insert_client_ip_header=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='HttpPolicyLbVirtualServer', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, access_log_enabled=None, ip_address=None, lb_persistence_profile=None, ports=None, router_path=None, traffic_source=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Virtual server acts as a facade to an application, receives all client connections over HTTP and distributes them among the backend servers.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - insert_client_ip_header (
bool
orNone
) – Backend web servers typically log each request they handle along with the requesting client IP address. These logs are used for debugging, analytics and other such purposes. If the deployment topology requires enabling SNAT on the load balancer, then server will see the client as the SNAT IP which defeats the purpose of logging. To work around this issue, load balancer can be configured to insert XFF HTTP header with the original client IP address. Backend servers can then be configured to log the IP address in XFF header instead of the source IP address of the connection. If XFF header is not present in the incoming request, load balancer inserts a new XFF header with the client IP address. - 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
) –Possible values are:
PolicyLbVirtualServer.RESOURCE_TYPE_TCPPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_UDPPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_HTTPPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_HTTPSPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_CUSTOMPOLICYLBVIRTUALSERVER
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - access_log_enabled (
bool
orNone
) – If access log is enabled, all HTTP requests sent to an L7 virtual server are logged to the access log file. Both successful requests (backend server returns 2xx) and unsuccessful requests (backend server returns 4xx or 5xx) are logged to access log, if enabled. - ip_address (
str
orNone
) – Configures the IP address of the PolicyLbVirtualServer where it receives all client connections and distributes them among the backend servers. format: ip - lb_persistence_profile (
str
orNone
) – Path to optional object that enables persistence on a virtual server allowing related client connections to be sent to the same backend server. Persistence is disabled by default. - ports (
list
ofstr
orNone
) – Ports contains a list of at least one port or port range such as “80”, “1234-1236”. Each port element in the list should be a single port or a single port range. format: port-or-range - router_path (
str
orNone
) – Path to router type object that PolicyLbVirtualServer connects to. The only supported router object is Network. - traffic_source (
str
orNone
) –
-
resource_type
¶ Return the discriminator value
- insert_client_ip_header (
-
class
com.vmware.nsx_policy.model_client.
HttpsPolicyLbMonitorProfile
(url=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=None, tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, fall_count=None, interval=None, monitor_port=None, rise_count=None, timeout=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Active healthchecks are disabled by default and can be enabled for a server pool by binding a health monitor to the Group through the PolicyLbRule object. This represents active health monitoring over HTTPS. Active healthchecks are initiated periodically, at a configurable interval, to each member of the Group. Only if a healthcheck fails consecutively for a specified number of times (fall_count) to a member will the member status be marked DOWN. Once a member is DOWN, a specified number of consecutive successful healthchecks (rise_count) will bring the member back to UP state. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - url (
str
orNone
) – For HTTP active healthchecks, the HTTP request url sent can be customized and can include query 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
) –Possible values are:
PolicyLbMonitorProfile.RESOURCE_TYPE_TCPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_UDPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_ICMPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_HTTPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_HTTPSPOLICYLBMONITORPROFILE
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - fall_count (
long
orNone
) – Only if a healthcheck fails consecutively for a specified number of times, given with fall_count, to a member will the member status be marked DOWN. format: int64 - interval (
long
orNone
) – Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group. format: int64 - monitor_port (
long
orNone
) – Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value. format: int32 - rise_count (
long
orNone
) – Once a member is DOWN, a specified number of consecutive successful healthchecks specified by rise_count will bring the member back to UP state. format: int64 - timeout (
long
orNone
) – Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout. format: int64
-
resource_type
¶ Return the discriminator value
- url (
-
class
com.vmware.nsx_policy.model_client.
HttpsPolicyLbVirtualServer
(client_ssl_certificate_ids=None, client_ssl_settings=None, default_client_ssl_certificate_id=None, insert_client_ip_header=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=None, tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, access_log_enabled=None, ip_address=None, lb_persistence_profile=None, ports=None, router_path=None, traffic_source=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Virtual server acts as a facade to an application, receives all client connections over HTTPS and distributes them among the backend servers.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - client_ssl_certificate_ids (
list
ofstr
orNone
) – Client-side SSL profile binding allows multiple certificates, for different hostnames, to be bound to the same virtual server. The setting is used when load balancer acts as an SSL server and terminating the client SSL connection - client_ssl_settings (
str
orNone
) –Possible values are:
HttpsPolicyLbVirtualServer.CLIENT_SSL_SETTINGS_BASE_SECURE_111317
HttpsPolicyLbVirtualServer.CLIENT_SSL_SETTINGS_MODERATE_SECURE_111317
HttpsPolicyLbVirtualServer.CLIENT_SSL_SETTINGS_HIGH_SECURE_111317
Security settings representing various security settings when the VirtualServer acts as an SSL server - BASE_SECURE_111317 - MODERATE_SECURE_111317 - HIGH_SECURE_111317
- default_client_ssl_certificate_id (
str
orNone
) – The setting is used when load balancer acts as an SSL server and terminating the client SSL connection. A default certificate should be specified which will be used if the server does not host multiple hostnames on the same IP address or if the client does not support SNI extension. - insert_client_ip_header (
bool
orNone
) – Backend web servers typically log each request they handle along with the requesting client IP address. These logs are used for debugging, analytics and other such purposes. If the deployment topology requires enabling SNAT on the load balancer, then server will see the client as the SNAT IP which defeats the purpose of logging. To work around this issue, load balancer can be configured to insert XFF HTTP header with the original client IP address. Backend servers can then be configured to log the IP address in XFF header instead of the source IP address of the connection. If XFF header is not present in the incoming request, load balancer inserts a new XFF header with the client IP address. - 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
) –Possible values are:
PolicyLbVirtualServer.RESOURCE_TYPE_TCPPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_UDPPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_HTTPPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_HTTPSPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_CUSTOMPOLICYLBVIRTUALSERVER
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - access_log_enabled (
bool
orNone
) – If access log is enabled, all HTTP requests sent to an L7 virtual server are logged to the access log file. Both successful requests (backend server returns 2xx) and unsuccessful requests (backend server returns 4xx or 5xx) are logged to access log, if enabled. - ip_address (
str
orNone
) – Configures the IP address of the PolicyLbVirtualServer where it receives all client connections and distributes them among the backend servers. format: ip - lb_persistence_profile (
str
orNone
) – Path to optional object that enables persistence on a virtual server allowing related client connections to be sent to the same backend server. Persistence is disabled by default. - ports (
list
ofstr
orNone
) – Ports contains a list of at least one port or port range such as “80”, “1234-1236”. Each port element in the list should be a single port or a single port range. format: port-or-range - router_path (
str
orNone
) – Path to router type object that PolicyLbVirtualServer connects to. The only supported router object is Network. - traffic_source (
str
orNone
) –
-
CLIENT_SSL_SETTINGS_BASE_SECURE_111317
= 'BASE_SECURE_111317'¶
-
CLIENT_SSL_SETTINGS_HIGH_SECURE_111317
= 'HIGH_SECURE_111317'¶
-
CLIENT_SSL_SETTINGS_MODERATE_SECURE_111317
= 'MODERATE_SECURE_111317'¶
-
resource_type
¶ Return the discriminator value
- client_ssl_certificate_ids (
-
class
com.vmware.nsx_policy.model_client.
ICMPTypeServiceEntry
(icmp_code=None, icmp_type=None, protocol=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='ICMPTypeServiceEntry', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A ServiceEntry that represents IPv4 or IPv6 ICMP protocol
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - icmp_code (
long
orNone
) – ICMP message code format: int64 - icmp_type (
long
orNone
) – ICMP message type format: int64 - protocol (
str
orNone
) –Possible values are:
- 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
) –Possible values are:
ServiceEntry.RESOURCE_TYPE_IPPROTOCOLSERVICEENTRY
ServiceEntry.RESOURCE_TYPE_IGMPTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ICMPTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ALGTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_L4PORTSETSERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ETHERTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_NESTEDSERVICESERVICEENTRY
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
PROTOCOL_ICMPV4
= 'ICMPv4'¶
-
PROTOCOL_ICMPV6
= 'ICMPv6'¶
-
resource_type
¶ Return the discriminator value
- icmp_code (
-
class
com.vmware.nsx_policy.model_client.
IGMPTypeServiceEntry
(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='IGMPTypeServiceEntry', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A ServiceEntry that represents IGMP protocol
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
) –Possible values are:
ServiceEntry.RESOURCE_TYPE_IPPROTOCOLSERVICEENTRY
ServiceEntry.RESOURCE_TYPE_IGMPTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ICMPTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ALGTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_L4PORTSETSERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ETHERTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_NESTEDSERVICESERVICEENTRY
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
IPAddressExpression
(ip_addresses=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='IPAddressExpression', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents IP address expressions in the form of an array, to support addition of IP addresses in a group. Avoid creating groups with multiple IPAddressExpression. In future releases, group will be restricted to contain a single IPAddressExpression. To group IPAddresses, use nested groups instead of multiple IPAddressExpressions.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_addresses (
list
ofstr
orNone
) – This array can consist of a single IP address, IP address range or a subnet. Its type can be of either IPv4 or IPv6. Both IPv4 and IPv6 addresses within one expression is not allowed. Supported list of formats are, “192.168.1.1”, “192.168.1.1-192.168.1.100”, “192.168.0.0/24”, “fe80::250:56ff:fe83:318c”, “fe80::250:56ff:fe83:3181-fe80::250:56ff:fe83:318c”, “fe80::250:56ff:fe83:318c/64”. format: address-or-block-or-range - 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
) –Possible values are:
Expression.RESOURCE_TYPE_CONDITION
Expression.RESOURCE_TYPE_CONJUNCTIONOPERATOR
Expression.RESOURCE_TYPE_NESTEDEXPRESSION
Expression.RESOURCE_TYPE_IPADDRESSEXPRESSION
Expression.RESOURCE_TYPE_MACADDRESSEXPRESSION
Expression.RESOURCE_TYPE_EXTERNALIDEXPRESSION
Expression.RESOURCE_TYPE_PATHEXPRESSION
Expression.RESOURCE_TYPE_IDENTITYGROUPEXPRESSION
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
¶ Return the discriminator value
- ip_addresses (
-
class
com.vmware.nsx_policy.model_client.
IPAddressList
(ip_addresses=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Collection of IP Addresses.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: ip_addresses ( list
ofstr
orNone
) – The array contains IP addresses. format: address-or-block-or-range
-
class
com.vmware.nsx_policy.model_client.
IPAddressPortPair
(ip_address=None, port=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IP Address and Port information
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_address (
str
orNone
) – The IPAddress to be combined with Port for defining specific access point. format: ip - port (
long
orNone
) – The port to be combined with IPAddress for defining a specific access point. format: int32
- ip_address (
-
class
com.vmware.nsx_policy.model_client.
IPDiscoveryProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, arp_nd_binding_timeout=None, duplicate_ip_detection=None, ip_v4_discovery_options=None, ip_v6_discovery_options=None, tofu_enabled=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Using this profile to configure different options of IP Discovery
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - arp_nd_binding_timeout (
long
orNone
) – This property controls the ARP and ND cache timeout period. It is recommended that this property be greater than the ARP/ND cache timeout on the VM. format: int32 - duplicate_ip_detection (
DuplicateIPDetectionOptions
orNone
) – Duplicate IP detection is used to determine if there is any IP conflict with any other port on the same logical switch. If a conflict is detected, then the IP is marked as a duplicate on the port where the IP was discovered last. The duplicate IP will not be added to the realized address binings for the port and hence will not be used in DFW rules or other security configurations for the port.rt. - ip_v4_discovery_options (
IPv4DiscoveryOptions
orNone
) – Indicates IPv4 Discovery options - ip_v6_discovery_options (
IPv6DiscoveryOptions
orNone
) – Indicates IPv6 Discovery options - tofu_enabled (
bool
orNone
) – Indicates whether “Trust on First Use(TOFU)” paradigm is enabled.
- links (
-
class
com.vmware.nsx_policy.model_client.
IPDiscoveryProfileListResult
(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
Paged collection of IP Discovery Profiles
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
ofIPDiscoveryProfile
orNone
) – IP Discovery profile list results
- links (
-
class
com.vmware.nsx_policy.model_client.
IPFIXCollectorProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, ipaddress=None, port=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IPFIX data will be collected on collector Host ip and port address should be provided for collector.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - ipaddress (
str
orNone
) – IP address for the IPFIX collector. format: ip - port (
long
orNone
) – Port for the IPFIX collector. format: int32
- links (
-
class
com.vmware.nsx_policy.model_client.
IPFIXCollectorProfileListResult
(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
Paged collection of IPFIX collector profiles.
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
ofIPFIXCollectorProfile
orNone
) – IPFIX collector Instances list results
- links (
-
class
com.vmware.nsx_policy.model_client.
IPFIXDFWCollector
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, collector_ip_address=None, collector_port=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IPFIX DFW data will be collected on collector Host IP and Port address should be provided for collector.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - collector_ip_address (
str
orNone
) – IP address for the IPFIX DFW collector. IP addresses such as 0.0.0.0, 127.0.0.1, 255.255.255.255 are invalid. format: ip - collector_port (
long
orNone
) – Port for the IPFIX DFW collector. format: int32
- links (
-
class
com.vmware.nsx_policy.model_client.
IPFIXDFWCollectorProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, ipfix_dfw_collectors=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IPFIX data for the NSX distributed firewall will be sent to the specified IPFIX collectors.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - ipfix_dfw_collectors (
list
ofIPFIXDFWCollector
orNone
) – It accepts Multiple Collectors.
- links (
-
class
com.vmware.nsx_policy.model_client.
IPFIXDFWCollectorProfileListResult
(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
Paged Collection of IPFIX DFW Collector Profile
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
ofIPFIXDFWCollectorProfile
orNone
) – IPFIX DFW Collection Instances list results
- links (
-
class
com.vmware.nsx_policy.model_client.
IPFIXDFWProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, active_flow_export_timeout=None, ipfix_dfw_collector_profile_path=None, observation_domain_id=None, priority=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IPFIX packets from source will be sent to IPFIX DFW collector.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_flow_export_timeout (
long
orNone
) – For long standing active flows, IPFIX records will be sent per timeout period in minutes. format: int32 - ipfix_dfw_collector_profile_path (
str
orNone
) – Policy path for IPFIX collector profiles. IPFIX data from these logical segments will be sent to all specified IPFIX collectors. - observation_domain_id (
long
orNone
) – An identifier that is unique to the exporting process and used to meter the flows. format: int32 - priority (
long
orNone
) – This priority field is used to resolve conflicts in Segment Ports which are covered by more than one IPFIX profiles. The IPFIX exporter will send records to Collectors in highest priority profile (lowest number) only. format: int32
- links (
-
class
com.vmware.nsx_policy.model_client.
IPFIXDFWProfileListResult
(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
Paged Collection of IPFIX DFW Profile
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
ofIPFIXDFWProfile
orNone
) – IPFIX DFW Profile list results
- links (
-
class
com.vmware.nsx_policy.model_client.
IPFIXL2Collector
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, collector_ip_address=None, collector_port=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IPFIX packets will be collected on collector. IP and port address should be provided for collector.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - collector_ip_address (
str
orNone
) – IP address for the IPFIX L2 collector. IP addresses such as 0.0.0.0, 127.0.0.1, 255.255.255.255 are invalid. format: ip - collector_port (
long
orNone
) – Port number for the IPFIX L2 collector. format: int32
- links (
-
class
com.vmware.nsx_policy.model_client.
IPFIXL2CollectorProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, ipfix_l2_collectors=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IPFIX L2 data will be collected on collectors.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - ipfix_l2_collectors (
list
ofIPFIXL2Collector
orNone
) – It accepts Multiple Collector objects.
- links (
-
class
com.vmware.nsx_policy.model_client.
IPFIXL2CollectorProfileListResult
(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
Paged list of IPFIX collector profiles.
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
ofIPFIXL2CollectorProfile
orNone
) – IPFIX collector Profile list results
- links (
-
class
com.vmware.nsx_policy.model_client.
IPFIXL2Profile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, active_timeout=None, export_overlay_flow=None, idle_timeout=None, ipfix_collector_profile_path=None, max_flows=None, observation_domain_id=None, packet_sample_probability=None, priority=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IPFIX data from source logical segment, port, group will be forwarded to IPFIX collector.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_timeout (
long
orNone
) – The time in seconds after a flow is expired even if more packets matching this flow are received by the cache. format: int32 - export_overlay_flow (
bool
orNone
) – This property controls whether overlay flow info is included in the sample result. - idle_timeout (
long
orNone
) – The time in seconds after a flow is expired if no more packets matching this flow are received by the cache. format: int32 - ipfix_collector_profile_path (
str
orNone
) – Policy path for IPFIX collector profile. User can specify only one IPFIX collector. - max_flows (
long
orNone
) – The maximum number of flow entries in each exporter flow cache. format: int64 - observation_domain_id (
long
orNone
) – An identifier that is unique to the exporting process and used to meter the flows. format: int64 - packet_sample_probability (
float
orNone
) – The probability in percentage that a packet is sampled, in range 0-100. The probability is equal for every packet. - priority (
long
orNone
) – This priority field is used to resolve conflicts in Segment Ports which are covered by more than one IPFIX profiles. The IPFIX exporter will send records to Collectors in highest priority profile (lowest number) only. format: int32
- links (
-
class
com.vmware.nsx_policy.model_client.
IPFIXL2ProfileListResult
(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
Paged Collection of IPFIX L2 Profile
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
ofIPFIXL2Profile
orNone
) – IPFIX L2 Profile list results
- links (
-
class
com.vmware.nsx_policy.model_client.
IPFIXSwitchCollectionInstance
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, active_timeout=None, idle_timeout=None, ipfix_collector_profile_paths=None, max_flows=None, observation_domain_id=None, packet_sample_probability=None, source_logical_segment_paths=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IPFIX data from source logical segment will be copied to IPFIX collector.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_timeout (
long
orNone
) – The time in seconds after a flow is expired even if more packets matching this flow are received by the cache. format: int32 - idle_timeout (
long
orNone
) – The time in seconds after a Flow is expired if no more packets matching this Flow are received by the cache. format: int32 - ipfix_collector_profile_paths (
list
ofstr
orNone
) – Policy path for IPFIX collector profiles. IPFIX data from these logical segments will be sent to all specified IPFIX collectors. - max_flows (
long
orNone
) – The maximum number of flow entries in each exporter flow cache. format: int64 - observation_domain_id (
long
orNone
) – An identifier that is unique to the exporting process and used to meter the Flows. format: int32 - packet_sample_probability (
float
orNone
) – The probability in percentage that a packet is sampled, in range 0-100. The probability is equal for every packet. - source_logical_segment_paths (
list
ofstr
orNone
) – Policy path for source tier-1 segment. IPFIX data from these logical segments will be sent IPFIX collector.
- links (
-
class
com.vmware.nsx_policy.model_client.
IPFIXSwitchCollectionInstanceListResult
(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
Paged Collection of IPFIX Switch Collection Instances
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
ofIPFIXSwitchCollectionInstance
orNone
) – IPFIX Switch Collection Instances list results
- links (
-
class
com.vmware.nsx_policy.model_client.
IPInfo
(ip_addresses=None, prefix_length=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_addresses (
list
ofstr
orNone
) – IPv4 Addresses format: ipv4 - prefix_length (
long
orNone
) – Subnet Prefix Length format: int64
- ip_addresses (
-
class
com.vmware.nsx_policy.model_client.
IPProtocolServiceEntry
(protocol_number=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='IPProtocolServiceEntry', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A ServiceEntry that represents an IP protocol
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - protocol_number (
long
orNone
) – - 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
) –Possible values are:
ServiceEntry.RESOURCE_TYPE_IPPROTOCOLSERVICEENTRY
ServiceEntry.RESOURCE_TYPE_IGMPTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ICMPTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ALGTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_L4PORTSETSERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ETHERTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_NESTEDSERVICESERVICEENTRY
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
¶ Return the discriminator value
- protocol_number (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnDpdProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, dpd_probe_interval=None, dpd_probe_mode=None, enabled=None, retry_count=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Dead peer detection (DPD) is a method that allows detection of unreachable internet key excahnge (IKE) peers. Any changes affects all IPSec VPN sessions consuming this profile.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - dpd_probe_interval (
long
orNone
) – DPD probe interval defines an interval for DPD probes (in seconds). - When the DPD probe mode is periodic, this interval is the number of seconds between DPD messages. - When the DPD probe mode is on-demand, this interval is the number of seconds during which traffic is not received from the peer before DPD retry messages are sent if there is IPSec traffic to send. For PERIODIC Mode: Minimum: 3 Maximum: 360 Default: 60 For ON_DEMAND Mode: Minimum: 1 Maximum: 10 Default: 3 format: int64 - dpd_probe_mode (
str
orNone
) –Possible values are:
DPD probe mode is used to query the liveliness of the peer. Two modes are possible: - PERIODIC: is used to query the liveliness of the peer at regular intervals (dpd_probe_interval). It does not take into consideration traffic coming from the peer. The benefit of this mode over the on-demand mode is earlier detection of dead peers. However, use of periodic DPD incurs extra overhead. When communicating to large numbers of peers, please consider using on-demand DPD instead. - ON_DEMAND: is used to query the liveliness of the peer by instructing the local endpoint to send DPD message to a peer if there is traffic to send to the peer AND the peer was idle for dpd_probe_interval seconds (i.e. there was no traffic from the peer for dpd_probe_interval seconds).
- enabled (
bool
orNone
) – If true, enable dead peer detection. - retry_count (
long
orNone
) – Maximum number of DPD messages’ retry attempts. This value is applicable for both dpd probe modes, periodic and on-demand. format: int64
-
DPD_PROBE_MODE_ON_DEMAND
= 'ON_DEMAND'¶
-
DPD_PROBE_MODE_PERIODIC
= 'PERIODIC'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnDpdProfileListResult
(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
Paged Collection of IPSecVpnDpdProfile.
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
ofIPSecVpnDpdProfile
orNone
) – IPSecVpnDpdProfile list results.
- links (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnIkeProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, dh_groups=None, digest_algorithms=None, encryption_algorithms=None, ike_version=None, sa_life_time=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IKE Profile is a reusable profile that captures IKE phase one negotiation parameters. Any changes affects all IPSec VPN sessions consuming this profile.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - dh_groups (
list
ofstr
orNone
) –Possible values are:
IPSecVpnIkeProfile.DH_GROUPS_GROUP2
IPSecVpnIkeProfile.DH_GROUPS_GROUP5
IPSecVpnIkeProfile.DH_GROUPS_GROUP14
IPSecVpnIkeProfile.DH_GROUPS_GROUP15
IPSecVpnIkeProfile.DH_GROUPS_GROUP16
IPSecVpnIkeProfile.DH_GROUPS_GROUP19
IPSecVpnIkeProfile.DH_GROUPS_GROUP20
IPSecVpnIkeProfile.DH_GROUPS_GROUP21
Diffie-Hellman group to be used if PFS is enabled. Default is GROUP14.
- digest_algorithms (
list
ofstr
orNone
) –Possible values are:
IPSecVpnIkeProfile.DIGEST_ALGORITHMS_SHA1
IPSecVpnIkeProfile.DIGEST_ALGORITHMS_SHA2_256
IPSecVpnIkeProfile.DIGEST_ALGORITHMS_SHA2_384
IPSecVpnIkeProfile.DIGEST_ALGORITHMS_SHA2_512
Algorithm to be used for message digest during Internet Key Exchange(IKE) negotiation. Default is SHA2_256.
- encryption_algorithms (
list
ofstr
orNone
) –Possible values are:
IPSecVpnIkeProfile.ENCRYPTION_ALGORITHMS__128
IPSecVpnIkeProfile.ENCRYPTION_ALGORITHMS__256
IPSecVpnIkeProfile.ENCRYPTION_ALGORITHMS_GCM_128
IPSecVpnIkeProfile.ENCRYPTION_ALGORITHMS_GCM_192
IPSecVpnIkeProfile.ENCRYPTION_ALGORITHMS_GCM_256
Encryption algorithm is used during Internet Key Exchange(IKE) negotiation. Default is AES_128.
- ike_version (
str
orNone
) –Possible values are:
IPSecVpnIkeProfile.IKE_VERSION_V1
IPSecVpnIkeProfile.IKE_VERSION_V2
IPSecVpnIkeProfile.IKE_VERSION_FLEX
IKE protocol version to be used. IKE-Flex will initiate IKE-V2 and responds to both IKE-V1 and IKE-V2.
- sa_life_time (
long
orNone
) – Life time for security association. Default is 86400 seconds (1 day). format: int64
-
DH_GROUPS_GROUP14
= 'GROUP14'¶
-
DH_GROUPS_GROUP15
= 'GROUP15'¶
-
DH_GROUPS_GROUP16
= 'GROUP16'¶
-
DH_GROUPS_GROUP19
= 'GROUP19'¶
-
DH_GROUPS_GROUP2
= 'GROUP2'¶
-
DH_GROUPS_GROUP20
= 'GROUP20'¶
-
DH_GROUPS_GROUP21
= 'GROUP21'¶
-
DH_GROUPS_GROUP5
= 'GROUP5'¶
-
DIGEST_ALGORITHMS_SHA1
= 'SHA1'¶
-
DIGEST_ALGORITHMS_SHA2_256
= 'SHA2_256'¶
-
DIGEST_ALGORITHMS_SHA2_384
= 'SHA2_384'¶
-
DIGEST_ALGORITHMS_SHA2_512
= 'SHA2_512'¶
-
ENCRYPTION_ALGORITHMS_128
= 'AES_128'¶
-
ENCRYPTION_ALGORITHMS_256
= 'AES_256'¶
-
ENCRYPTION_ALGORITHMS_GCM_128
= 'AES_GCM_128'¶
-
ENCRYPTION_ALGORITHMS_GCM_192
= 'AES_GCM_192'¶
-
ENCRYPTION_ALGORITHMS_GCM_256
= 'AES_GCM_256'¶
-
IKE_VERSION_FLEX
= 'IKE_FLEX'¶
-
IKE_VERSION_V1
= 'IKE_V1'¶
-
IKE_VERSION_V2
= 'IKE_V2'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnIkeProfileListResult
(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
Paged Collection of IPSecVpnIkeProfile.
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
ofIPSecVpnIkeProfile
orNone
) – IPSecVpnIkeProfile list results.
- links (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnIkeSessionStatus
(fail_reason=None, ike_session_state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Status for IPSec VPN Ike session UP, DOWN, NEGOTIATING and fail reason if Ike session is down.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - fail_reason (
str
orNone
) – Reason for failure. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - ike_session_state (
str
orNone
) –Possible values are:
IPSecVpnIkeSessionStatus.IKE_SESSION_STATE_UP
IPSecVpnIkeSessionStatus.IKE_SESSION_STATE_DOWN
IPSecVpnIkeSessionStatus.IKE_SESSION_STATE_NEGOTIATING
Ike session service status UP, DOWN and NEGOTIATING.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
IKE_SESSION_STATE_DOWN
= 'DOWN'¶
-
IKE_SESSION_STATE_NEGOTIATING
= 'NEGOTIATING'¶
-
IKE_SESSION_STATE_UP
= 'UP'¶
- fail_reason (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnIkeTrafficStatistics
(bytes_in=None, bytes_out=None, fail_count=None, packets_in=None, packets_out=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Traffic statistics for IPSec VPN Ike session. Note - Not supported in this release.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - bytes_in (
long
orNone
) – Number of bytes in. 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. - bytes_out (
long
orNone
) – Number of bytes out. 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. - fail_count (
long
orNone
) – Fail count. 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. - packets_in (
long
orNone
) – Number of packets in. 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. - packets_out (
long
orNone
) – Number of packets out. 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.
- bytes_in (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnLocalEndpoint
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, certificate_path=None, local_address=None, local_id=None, trust_ca_paths=None, trust_crl_paths=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Local endpoint represents a tier-0/tier-1 on which tunnel needs to be terminated.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - certificate_path (
str
orNone
) – Policy path referencing site certificate. - local_address (
str
orNone
) – IPV4 Address of local endpoint. format: ipv4 - local_id (
str
orNone
) – Local identifier. - trust_ca_paths (
list
ofstr
orNone
) – List of policy paths referencing certificate authority (CA) to verify peer certificates. - trust_crl_paths (
list
ofstr
orNone
) – List of policy paths referencing certificate revocation list (CRL) to peer certificates.
- links (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnLocalEndpointListResult
(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
Paged Collection of IPSecVpnLocalEndpoint.
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
ofIPSecVpnLocalEndpoint
orNone
) – IPSecVpnLocalEndpoint list results.
- links (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnPolicyTrafficStatistics
(aggregate_traffic_counters=None, rule_path=None, tunnel_statistics=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IPSec VPN policy traffic statistics.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - aggregate_traffic_counters (
IPSecVpnTrafficCounters
orNone
) – Aggregate traffic statistics across all ipsec tunnels. - rule_path (
str
orNone
) – L3Vpn rule 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. - tunnel_statistics (
list
ofIPSecVpnTunnelTrafficStatistics
orNone
) – Tunnel statistics. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- aggregate_traffic_counters (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnRule
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, action=None, destinations=None, enabled=None, logged=None, sequence_number=None, sources=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
For policy-based IPsec VPNs, a security policy specifies as its action the VPN tunnel to be used for transit traffic that meets the policy’s match criteria.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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 (
str
orNone
) –Possible values are:
PROTECT - Protect rules are defined per policy based IPSec VPN session. BYPASS - Bypass rules are defined per IPSec VPN service and affects all policy based IPSec VPN sessions. Bypass rules are prioritized over protect rules. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- destinations (
list
ofIPSecVpnSubnet
orNone
) – List of peer subnets. Specifying no value is interpreted as 0.0.0.0/0. - enabled (
bool
orNone
) – A flag to enable/disable the rule. - logged (
bool
orNone
) – A flag to enable/disable the logging for the rule. - sequence_number (
long
orNone
) – A sequence number is used to give a priority to an IPSecVpnRule. format: int32 - sources (
list
ofIPSecVpnSubnet
orNone
) – List of local subnets. Specifying no value is interpreted as 0.0.0.0/0.
-
ACTION_BYPASS
= 'BYPASS'¶
-
ACTION_PROTECT
= 'PROTECT'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnService
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, bypass_rules=None, enabled=None, ha_sync=None, ike_log_level=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Create and manage IPSec VPN service for given locale service.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - bypass_rules (
list
ofIPSecVpnRule
orNone
) – Bypass policy rules are configured using VPN service. Bypass rules always have higher priority over protect rules and they affect all policy based vpn sessions associated with the IPSec VPN service. Protect rules are defined per policy based vpn session. - enabled (
bool
orNone
) – If true, enable VPN services for given locale service. - ha_sync (
bool
orNone
) – Enable/disable IPSec HA state sync. IPSec HA state sync can be disabled if in case there are performance issues w.r.t. the state sync messages. - ike_log_level (
str
orNone
) –Possible values are:
IPSecVpnService.IKE_LOG_LEVEL_DEBUG
IPSecVpnService.IKE_LOG_LEVEL_INFO
IPSecVpnService.IKE_LOG_LEVEL_WARN
IPSecVpnService.IKE_LOG_LEVEL_ERROR
IPSecVpnService.IKE_LOG_LEVEL_EMERGENCY
Log level for internet key exchange (IKE).
-
IKE_LOG_LEVEL_DEBUG
= 'DEBUG'¶
-
IKE_LOG_LEVEL_EMERGENCY
= 'EMERGENCY'¶
-
IKE_LOG_LEVEL_ERROR
= 'ERROR'¶
-
IKE_LOG_LEVEL_INFO
= 'INFO'¶
-
IKE_LOG_LEVEL_WARN
= 'WARN'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnServiceListResult
(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
Paged Collection of IPSecVpnService.
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
ofIPSecVpnService
orNone
) – IPSecVpnService list results.
- links (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnSession
(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='IPSecVpnSession', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, authentication_mode=None, compliance_suite=None, connection_initiation_mode=None, dpd_profile_path=None, enabled=None, ike_profile_path=None, local_endpoint_path=None, peer_address=None, peer_id=None, psk=None, tcp_mss_clamping=None, tunnel_profile_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
VPN session defines connection between local and peer endpoint. Until VPN session is defined configuration is not realized.
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
) –Possible values are:
IPSecVpnSession.RESOURCE_TYPE_POLICYBASEDIPSECVPNSESSION
IPSecVpnSession.RESOURCE_TYPE_ROUTEBASEDIPSECVPNSESSION
A Policy Based VPN requires to define protect rules that match local and peer subnets. IPSec security associations is negotiated for each pair of local and peer subnet. A Route Based VPN is more flexible, more powerful and recommended over policy based VPN. IP Tunnel port is created and all traffic routed via tunnel port is protected. Routes can be configured statically or can be learned through BGP. A route based VPN is must for establishing redundant VPN session to remote site.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - authentication_mode (
str
orNone
) –Possible values are:
Peer authentication mode. PSK - In this mode a secret key shared between local and peer sites is to be used for authentication. The secret key can be a string with a maximum length of 128 characters. CERTIFICATE - In this mode a certificate defined at the global level is to be used for authentication.
- compliance_suite (
str
orNone
) –Possible values are:
IPSecVpnSession.COMPLIANCE_SUITE_CNSA
IPSecVpnSession.COMPLIANCE_SUITE_SUITE_B_GCM_128
IPSecVpnSession.COMPLIANCE_SUITE_SUITE_B_GCM_256
IPSecVpnSession.COMPLIANCE_SUITE_PRIME
IPSecVpnSession.COMPLIANCE_SUITE_FOUNDATION
IPSecVpnSession.COMPLIANCE_SUITE_FIPS
IPSecVpnSession.COMPLIANCE_SUITE_NONE
Compliance suite. - connection_initiation_mode (
str
orNone
) –Possible values are:
IPSecVpnSession.CONNECTION_INITIATION_MODE_INITIATOR
IPSecVpnSession.CONNECTION_INITIATION_MODE_RESPOND_ONLY
IPSecVpnSession.CONNECTION_INITIATION_MODE_ON_DEMAND
Connection initiation mode used by local endpoint to establish ike connection with peer site. INITIATOR - In this mode local endpoint initiates tunnel setup and will also respond to incoming tunnel setup requests from peer gateway. RESPOND_ONLY - In this mode, local endpoint shall only respond to incoming tunnel setup requests. It shall not initiate the tunnel setup. ON_DEMAND - In this mode local endpoint will initiate tunnel creation once first packet matching the policy rule is received and will also respond to incoming initiation request.
- dpd_profile_path (
str
orNone
) – Policy path referencing Dead Peer Detection (DPD) profile. Default is set to system default profile. - enabled (
bool
orNone
) – Enable/Disable IPSec VPN session. - ike_profile_path (
str
orNone
) – Policy path referencing IKE profile to be used. Default is set according to system default profile. - local_endpoint_path (
str
orNone
) – Policy path referencing Local endpoint. - peer_address (
str
orNone
) – Public IPV4 address of the remote device terminating the VPN connection. - peer_id (
str
orNone
) – Peer ID to uniquely identify the peer site. The peer ID is the public IP address of the remote device terminating the VPN tunnel. When NAT is configured for the peer, enter the private IP address of the peer. - psk (
str
orNone
) – IPSec Pre-shared key. Maximum length of this field is 128 characters. - tcp_mss_clamping (
TcpMaximumSegmentSizeClamping
orNone
) – TCP Maximum Segment Size Clamping Direction and Value. - tunnel_profile_path (
str
orNone
) – Policy path referencing Tunnel profile to be used. Default is set to system default profile.
-
AUTHENTICATION_MODE_CERTIFICATE
= 'CERTIFICATE'¶
-
AUTHENTICATION_MODE_PSK
= 'PSK'¶
-
COMPLIANCE_SUITE_CNSA
= 'CNSA'¶
-
COMPLIANCE_SUITE_FIPS
= 'FIPS'¶
-
COMPLIANCE_SUITE_FOUNDATION
= 'FOUNDATION'¶
-
COMPLIANCE_SUITE_NONE
= 'NONE'¶
-
COMPLIANCE_SUITE_PRIME
= 'PRIME'¶
-
COMPLIANCE_SUITE_SUITE_B_GCM_128
= 'SUITE_B_GCM_128'¶
-
COMPLIANCE_SUITE_SUITE_B_GCM_256
= 'SUITE_B_GCM_256'¶
-
CONNECTION_INITIATION_MODE_INITIATOR
= 'INITIATOR'¶
-
CONNECTION_INITIATION_MODE_ON_DEMAND
= 'ON_DEMAND'¶
-
CONNECTION_INITIATION_MODE_RESPOND_ONLY
= 'RESPOND_ONLY'¶
-
RESOURCE_TYPE_POLICYBASEDIPSECVPNSESSION
= 'PolicyBasedIPSecVpnSession'¶
-
RESOURCE_TYPE_ROUTEBASEDIPSECVPNSESSION
= 'RouteBasedIPSecVpnSession'¶
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnSessionListResult
(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
Paged Collection of IPSecVpnSession.
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
) – IPSecVpnSession list results. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inIPSecVpnSession
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inIPSecVpnSession
.
- links (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnSessionStatistics
(aggregate_traffic_counters=None, ike_status=None, ike_traffic_statistics=None, last_update_timestamp=None, policy_statistics=None, enforcement_point_path=None, resource_type='IPSecVpnSessionStatistics')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IPSec VPN session statistics represents statistics on an NSX-T type of enforcement point. It gives aggregated statistics of all policies for all the tunnels.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - aggregate_traffic_counters (
IPSecVpnTrafficCounters
orNone
) – Aggregate traffic statistics across all ipsec tunnels. - ike_status (
IPSecVpnIkeSessionStatus
orNone
) – Status for IPSec VPN Ike session UP/DOWN and fail reason if Ike session is down. - ike_traffic_statistics (
IPSecVpnIkeTrafficStatistics
orNone
) – Traffic statistics for IPSec VPN Ike session. Note - Not supported in this release. - last_update_timestamp (
long
orNone
) – Timestamp when the data was last updated. 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. - policy_statistics (
list
ofIPSecVpnPolicyTrafficStatistics
orNone
) – Gives aggregate traffic statistics across all ipsec tunnels and individual tunnel statistics. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point wehere the statistics are fetched. 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
) –Possible values are:
-
resource_type
¶ Return the discriminator value
- aggregate_traffic_counters (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnSessionStatisticsNsxt
(aggregate_traffic_counters=None, display_name=None, ike_status=None, ike_traffic_statistics=None, last_update_timestamp=None, policy_statistics=None, alarm=None, enforcement_point_path=None, resource_type='IPSecVpnSessionStatisticsNsxT')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IPSec VPN session statistics represents statistics on an NSX-T type of enforcement point. It gives aggregated statistics of all policies for all the tunnels.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - aggregate_traffic_counters (
IPSecVpnTrafficCounters
orNone
) – Aggregate traffic statistics across all ipsec tunnels. - display_name (
str
orNone
) – Display Name of vpn session. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - ike_status (
IPSecVpnIkeSessionStatus
orNone
) – Status for IPSec VPN Ike session UP/DOWN and fail reason if Ike session is down. - ike_traffic_statistics (
IPSecVpnIkeTrafficStatistics
orNone
) – Traffic statistics for IPSec VPN Ike session. - last_update_timestamp (
long
orNone
) – Timestamp when the data was last updated. 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. - policy_statistics (
list
ofIpSecVpnPolicyTrafficStatistics
orNone
) – Gives aggregate traffic statistics across all ipsec tunnels and individual tunnel statistics. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –Possible values are:
-
resource_type
¶ Return the discriminator value
- aggregate_traffic_counters (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnSessionStatisticsPerEP
(alarm=None, enforcement_point_path=None, resource_type='IPSecVpnSessionStatisticsPerEP')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IPSec VPN Session Statistics Per Enforcement Point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –Possible values are:
-
RESOURCE_TYPE_IPSECVPNSESSIONSTATISTICSNSXT
= 'IPSecVpnSessionStatisticsNsxT'¶
-
resource_type
¶ Return the discriminator value
- alarm (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnSessionStatusNsxt
(aggregate_traffic_counters=None, display_name=None, failed_tunnels=None, ike_status=None, last_update_timestamp=None, negotiated_tunnels=None, runtime_status=None, total_tunnels=None, alarm=None, enforcement_point_path=None, resource_type='IPSecVpnSessionStatusNsxT')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IPSec VPN Session Status represents status on an NSX-T type of enforcement point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - aggregate_traffic_counters (
IPSecVpnTrafficCounters
orNone
) – Aggregate traffic statistics across all ipsec tunnels. - display_name (
str
orNone
) – Display Name of vpn session. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - failed_tunnels (
long
orNone
) – Number of failed tunnels. 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. - ike_status (
IPSecVpnIkeSessionStatus
orNone
) – Status for IPSec VPN IKE session UP/DOWN and fail reason if IKE session is down. - last_update_timestamp (
long
orNone
) – Timestamp when the data was last updated. 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. - negotiated_tunnels (
long
orNone
) – Number of negotiated tunnels. 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. - runtime_status (
str
orNone
) –Possible values are:
IPSecVpnSessionStatusNsxt.RUNTIME_STATUS_UP
IPSecVpnSessionStatusNsxt.RUNTIME_STATUS_DOWN
IPSecVpnSessionStatusNsxt.RUNTIME_STATUS_DEGRADED
Gives session status consolidated using IKE status and tunnel status. It can be UP, DOWN, DEGRADED. If IKE and all tunnels are UP status will be UP, if all down it will be DOWN, otherwise it will be DEGRADED. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- total_tunnels (
long
orNone
) – Total number of tunnels. 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. - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –Possible values are:
-
RUNTIME_STATUS_DEGRADED
= 'DEGRADED'¶
-
RUNTIME_STATUS_DOWN
= 'DOWN'¶
-
RUNTIME_STATUS_UP
= 'UP'¶
-
resource_type
¶ Return the discriminator value
- aggregate_traffic_counters (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnSessionStatusPerEP
(alarm=None, enforcement_point_path=None, resource_type='IPSecVpnSessionStatusPerEP')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IPSec VPN Session Status Per Enforcement Point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –Possible values are:
-
RESOURCE_TYPE_IPSECVPNSESSIONSTATUSNSXT
= 'IPSecVpnSessionStatusNsxT'¶
-
resource_type
¶ Return the discriminator value
- alarm (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnSubnet
(subnet=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Used to specify the local/peer subnets in IPSec VPN rule.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: subnet ( str
orNone
) – Subnet used in policy rule. format: ipv4-cidr-block
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnTrafficCounters
(bytes_in=None, bytes_out=None, dropped_packets_in=None, dropped_packets_out=None, packets_in=None, packets_out=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Traffic counters for IPSec VPN session.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - bytes_in (
long
orNone
) – Total number of bytes recevied. 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. - bytes_out (
long
orNone
) – Total number of bytes sent. 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. - dropped_packets_in (
long
orNone
) – Total number of incoming packets dropped on inbound security association. 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. - dropped_packets_out (
long
orNone
) – Total number of outgoing packets dropped on outbound security association. 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. - packets_in (
long
orNone
) – Total number of packets received. 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. - packets_out (
long
orNone
) – Total number of packets sent. 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.
- bytes_in (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnTransportStatus
(session_status=None, resource_type='IPSecVpnTransportStatus', transport_tunnel_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Provides IPSec VPN session status.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - session_status (
IPSecVpnSessionStatusNsxt
orNone
) – IPSec VPN Session status - resource_type (
str
) –Possible values are:
- transport_tunnel_path (
str
orNone
) – Policy path referencing Transport Tunnel. 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
¶ Return the discriminator value
- session_status (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnTunnelInterface
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, ip_subnets=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IP tunnel interface configuration.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_subnets (
list
ofTunnelInterfaceIPSubnet
orNone
) – IP Tunnel interface (commonly referred as VTI) subnet.
- links (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnTunnelProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, df_policy=None, dh_groups=None, digest_algorithms=None, enable_perfect_forward_secrecy=None, encryption_algorithms=None, extended_attributes=None, sa_life_time=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IPSec VPN tunnel profile is a reusable profile that captures phase two negotiation parameters and IPSec tunnel properties. Any changes affects all IPSec VPN sessions consuming this profile.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - df_policy (
str
orNone
) –Possible values are:
Defragmentation policy helps to handle defragmentation bit present in the inner packet. COPY copies the defragmentation bit from the inner IP packet into the outer packet. CLEAR ignores the defragmentation bit present in the inner packet.
- dh_groups (
list
ofstr
orNone
) –Possible values are:
IPSecVpnTunnelProfile.DH_GROUPS_GROUP2
IPSecVpnTunnelProfile.DH_GROUPS_GROUP5
IPSecVpnTunnelProfile.DH_GROUPS_GROUP14
IPSecVpnTunnelProfile.DH_GROUPS_GROUP15
IPSecVpnTunnelProfile.DH_GROUPS_GROUP16
IPSecVpnTunnelProfile.DH_GROUPS_GROUP19
IPSecVpnTunnelProfile.DH_GROUPS_GROUP20
IPSecVpnTunnelProfile.DH_GROUPS_GROUP21
Diffie-Hellman group to be used if PFS is enabled. Default is GROUP14.
- digest_algorithms (
list
ofstr
orNone
) –Possible values are:
IPSecVpnTunnelProfile.DIGEST_ALGORITHMS_SHA1
IPSecVpnTunnelProfile.DIGEST_ALGORITHMS_SHA2_256
IPSecVpnTunnelProfile.DIGEST_ALGORITHMS_SHA2_384
IPSecVpnTunnelProfile.DIGEST_ALGORITHMS_SHA2_512
Algorithm to be used for message digest. Default digest algorithm is implicitly covered by default encryption algorithm “AES_GCM_128”.
- enable_perfect_forward_secrecy (
bool
orNone
) – If true, perfect forward secrecy (PFS) is enabled. - encryption_algorithms (
list
ofstr
orNone
) –Possible values are:
IPSecVpnTunnelProfile.ENCRYPTION_ALGORITHMS_AES_128
IPSecVpnTunnelProfile.ENCRYPTION_ALGORITHMS_AES_256
IPSecVpnTunnelProfile.ENCRYPTION_ALGORITHMS_AES_GCM_128
IPSecVpnTunnelProfile.ENCRYPTION_ALGORITHMS_AES_GCM_192
IPSecVpnTunnelProfile.ENCRYPTION_ALGORITHMS_AES_GCM_256
IPSecVpnTunnelProfile.ENCRYPTION_ALGORITHMS_NO_ENCRYPTION_AUTH_AES_GMAC_128
IPSecVpnTunnelProfile.ENCRYPTION_ALGORITHMS_NO_ENCRYPTION_AUTH_AES_GMAC_192
IPSecVpnTunnelProfile.ENCRYPTION_ALGORITHMS_NO_ENCRYPTION_AUTH_AES_GMAC_256
IPSecVpnTunnelProfile.ENCRYPTION_ALGORITHMS_NO_ENCRYPTION
Encryption algorithm to encrypt/decrypt the messages exchanged between IPSec VPN initiator and responder during tunnel negotiation. Default is AES_GCM_128.
- extended_attributes (
list
ofAttributeVal
orNone
) – Collection of type specific properties. As of now, to hold encapsulation mode and transform protocol. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - sa_life_time (
long
orNone
) – SA life time specifies the expiry time of security association. Default is 3600 seconds. format: int64
-
DF_POLICY_CLEAR
= 'CLEAR'¶
-
DF_POLICY_COPY
= 'COPY'¶
-
DH_GROUPS_GROUP14
= 'GROUP14'¶
-
DH_GROUPS_GROUP15
= 'GROUP15'¶
-
DH_GROUPS_GROUP16
= 'GROUP16'¶
-
DH_GROUPS_GROUP19
= 'GROUP19'¶
-
DH_GROUPS_GROUP2
= 'GROUP2'¶
-
DH_GROUPS_GROUP20
= 'GROUP20'¶
-
DH_GROUPS_GROUP21
= 'GROUP21'¶
-
DH_GROUPS_GROUP5
= 'GROUP5'¶
-
DIGEST_ALGORITHMS_SHA1
= 'SHA1'¶
-
DIGEST_ALGORITHMS_SHA2_256
= 'SHA2_256'¶
-
DIGEST_ALGORITHMS_SHA2_384
= 'SHA2_384'¶
-
DIGEST_ALGORITHMS_SHA2_512
= 'SHA2_512'¶
-
ENCRYPTION_ALGORITHMS_AES_128
= 'AES_128'¶
-
ENCRYPTION_ALGORITHMS_AES_256
= 'AES_256'¶
-
ENCRYPTION_ALGORITHMS_AES_GCM_128
= 'AES_GCM_128'¶
-
ENCRYPTION_ALGORITHMS_AES_GCM_192
= 'AES_GCM_192'¶
-
ENCRYPTION_ALGORITHMS_AES_GCM_256
= 'AES_GCM_256'¶
-
ENCRYPTION_ALGORITHMS_NO_ENCRYPTION
= 'NO_ENCRYPTION'¶
-
ENCRYPTION_ALGORITHMS_NO_ENCRYPTION_AUTH_AES_GMAC_128
= 'NO_ENCRYPTION_AUTH_AES_GMAC_128'¶
-
ENCRYPTION_ALGORITHMS_NO_ENCRYPTION_AUTH_AES_GMAC_192
= 'NO_ENCRYPTION_AUTH_AES_GMAC_192'¶
-
ENCRYPTION_ALGORITHMS_NO_ENCRYPTION_AUTH_AES_GMAC_256
= 'NO_ENCRYPTION_AUTH_AES_GMAC_256'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnTunnelProfileListResult
(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
Paged Collection of IPSecVpnTunnelProfile.
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
ofIPSecVpnTunnelProfile
orNone
) – IPSecVpnTunnelProfile list results.
- links (
-
class
com.vmware.nsx_policy.model_client.
IPSecVpnTunnelTrafficStatistics
(bytes_in=None, bytes_out=None, decryption_failures=None, dropped_packets_in=None, dropped_packets_out=None, encryption_failures=None, integrity_failures=None, local_subnet=None, nomatching_policy_errors=None, packets_in=None, packets_out=None, packets_received_other_error=None, packets_sent_other_error=None, remote_subnet=None, replay_errors=None, sa_mismatch_errors_in=None, sa_mismatch_errors_out=None, seq_number_overflow_error=None, tunnel_down_reason=None, tunnel_status=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IPSec VPN tunnel traffic statistics.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - bytes_in (
long
orNone
) – Total number of incoming bytes on inbound Security association. 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. - bytes_out (
long
orNone
) – Total number of outgoing bytes on outbound Security association. 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. - decryption_failures (
long
orNone
) – Total number of packets dropped due to decryption failures. 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. - dropped_packets_in (
long
orNone
) – Total number of incoming packets dropped on inbound security association. 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. - dropped_packets_out (
long
orNone
) – Total number of outgoing packets dropped on outbound security association. 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. - encryption_failures (
long
orNone
) – Total number of packets dropped because of failure in encryption. 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. - integrity_failures (
long
orNone
) – Total number of packets dropped due to integrity failures. 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. - local_subnet (
str
orNone
) – Local subnet to which a tunnel belongs. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - nomatching_policy_errors (
long
orNone
) – Number of packets dropped because of no matching policy is available. 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. - packets_in (
long
orNone
) – Total number of incoming packets on inbound Security association. 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. - packets_out (
long
orNone
) – Total number of outgoing packets on outbound Security association. 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. - packets_received_other_error (
long
orNone
) – Total number of incoming packets dropped on inbound Security association. 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. - packets_sent_other_error (
long
orNone
) – Total number of packets dropped while sending for any reason. 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. - remote_subnet (
str
orNone
) – Peer subnet to which a tunnel belongs. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - replay_errors (
long
orNone
) – Total number of packets dropped due to replay check on that Security association. 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. - sa_mismatch_errors_in (
long
orNone
) – Totoal number of security association mismatch errors on incoming packets. 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. - sa_mismatch_errors_out (
long
orNone
) – Totoal number of security association mismatch errors on outgoing packets. 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. - seq_number_overflow_error (
long
orNone
) – Total number of packets dropped while sending due to overflow in sequence number. format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - tunnel_down_reason (
str
orNone
) – Gives the detailed reason about the tunnel when it is down. If tunnel is UP tunnel down reason will be empty. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - tunnel_status (
str
orNone
) –Possible values are:
Specifies the status of tunnel, if it is UP/DOWN.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
TUNNEL_STATUS_DOWN
= 'DOWN'¶
-
TUNNEL_STATUS_UP
= 'UP'¶
- bytes_in (
-
class
com.vmware.nsx_policy.model_client.
IPv4DiscoveryOptions
(arp_snooping_config=None, dhcp_snooping_enabled=None, vmtools_enabled=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Contains IPv4 related discovery options.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - arp_snooping_config (
ArpSnoopingConfig
orNone
) – Indicates ARP snooping options - dhcp_snooping_enabled (
bool
orNone
) – Indicates whether DHCP snooping is enabled - vmtools_enabled (
bool
orNone
) – Indicates whether fetching IP using vm-tools is enabled. This option is only supported on ESX where vm-tools is installed.
- arp_snooping_config (
-
class
com.vmware.nsx_policy.model_client.
IPv6DADStatus
(ip_address=None, status=None, transport_node=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IPv6 DAD status
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_address (
str
orNone
) – IP address on the port for which DAD status is reported. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - status (
str
orNone
) –Possible values are:
IPv6DADStatus.STATUS_DUPLICATED
IPv6DADStatus.STATUS_TENTATIVE
IPv6DADStatus.STATUS_ASSIGNED
IPv6DADStatus.STATUS_NOT_APPLICABLE
IPv6DADStatus.STATUS_UNKNOWN
DAD status for IP address on the 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.
- transport_node (
list
ofResourceReference
orNone
) – Array of transport node id on which DAD status is reported for given IP address. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
STATUS_ASSIGNED
= 'ASSIGNED'¶
-
STATUS_DUPLICATED
= 'DUPLICATED'¶
-
STATUS_NOT_APPLICABLE
= 'NOT_APPLICABLE'¶
-
STATUS_TENTATIVE
= 'TENTATIVE'¶
-
STATUS_UNKNOWN
= 'UNKNOWN'¶
- ip_address (
-
class
com.vmware.nsx_policy.model_client.
IPv6DiscoveryOptions
(dhcp_snooping_v6_enabled=None, nd_snooping_config=None, vmtools_v6_enabled=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Contains IPv6 related discovery options.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dhcp_snooping_v6_enabled (
bool
orNone
) – Enable this method will snoop the DHCPv6 message transaction which a VM makes with a DHCPv6 server. From the transaction, we learn the IPv6 addresses assigned by the DHCPv6 server to this VM along with its lease time. - nd_snooping_config (
NdSnoopingConfig
orNone
) – Indicates ND snooping options - vmtools_v6_enabled (
bool
orNone
) – Enable this method will learn the IPv6 addresses which are configured on interfaces of a VM with the help of the VMTools software.
- dhcp_snooping_v6_enabled (
-
class
com.vmware.nsx_policy.model_client.
IPv6Status
(connected_segment_path=None, dad_statuses=None, interface_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IPv6 status
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - connected_segment_path (
str
orNone
) – Path of the segment attached to the interface. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - dad_statuses (
list
ofIPv6DADStatus
orNone
) – Array of DAD status which contains DAD information for IP addresses on the interface. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - interface_id (
str
orNone
) – Policy path or realization ID of interface for which IPv6 DAD status is returned.
- connected_segment_path (
-
class
com.vmware.nsx_policy.model_client.
IcmpEchoRequestHeader
(id=None, sequence=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - id (
long
orNone
) – ICMP id format: int64 - sequence (
long
orNone
) – ICMP sequence number format: int64
- id (
-
class
com.vmware.nsx_policy.model_client.
IcmpPolicyLbMonitorProfile
(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='IcmpPolicyLbMonitorProfile', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, fall_count=None, interval=None, monitor_port=None, rise_count=None, timeout=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Active healthchecks are disabled by default and can be enabled for a server pool by binding a health monitor to the Group through the PolicyLbRule object. This represents active health monitoring over ICMP. Active healthchecks are initiated periodically, at a configurable interval, to each member of the Group. Only if a healthcheck fails consecutively for a specified number of times (fall_count) to a member will the member status be marked DOWN. Once a member is DOWN, a specified number of consecutive successful healt hchecks (rise_count) will bring the member back to UP state. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
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
) –Possible values are:
PolicyLbMonitorProfile.RESOURCE_TYPE_TCPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_UDPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_ICMPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_HTTPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_HTTPSPOLICYLBMONITORPROFILE
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - fall_count (
long
orNone
) – Only if a healthcheck fails consecutively for a specified number of times, given with fall_count, to a member will the member status be marked DOWN. format: int64 - interval (
long
orNone
) – Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group. format: int64 - monitor_port (
long
orNone
) – Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value. format: int32 - rise_count (
long
orNone
) – Once a member is DOWN, a specified number of consecutive successful healthchecks specified by rise_count will bring the member back to UP state. format: int64 - timeout (
long
orNone
) – Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout. format: int64
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
Icon
(placement=None, tooltip=None, type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Icon to be applied at dashboard for widgets and UI elements.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - placement (
str
orNone
) –Possible values are:
If specified as PRE, the icon appears before the UI element. If set as POST, the icon appears after the UI element.
- tooltip (
list
ofTooltip
orNone
) – Multi-line text to be shown on tooltip while hovering over the icon. - type (
str
orNone
) –Possible values are:
Icon.TYPE_ERROR
Icon.TYPE_WARNING
Icon.TYPE_INFO
Icon.TYPE_INPROGRESS
Icon.TYPE_SUCCESS
Icon.TYPE_DETAIL
Icon.TYPE_NOT_AVAILABLE
Icon.TYPE_SECURITY
Icon.TYPE_NETWORKING
Icon.TYPE_LOAD_BALANCER
Icon.TYPE_VPN
Icon.TYPE_DOMAIN
Icon.TYPE_GROUP
Icon.TYPE_DISTRIBUTED_FIREWALL
Icon.TYPE_NETWORKING_TIER0
Icon.TYPE_NETWORKING_TIER1
Icon.TYPE_SEGMENT
Icon.TYPE_SYSTEM
Icon.TYPE_SYSTEM_FABRIC
Icon.TYPE_SYSTEM_BACKUPRESTORE
Icon.TYPE_INVENTORY_GROUPS
Icon.TYPE_SECURITY_DFW
Icon will be rendered based on its type. For example, if ERROR is chosen, then icon representing error will be rendered.
-
PLACEMENT_POST
= 'POST'¶
-
PLACEMENT_PRE
= 'PRE'¶
-
TYPE_DETAIL
= 'DETAIL'¶
-
TYPE_DISTRIBUTED_FIREWALL
= 'DISTRIBUTED_FIREWALL'¶
-
TYPE_DOMAIN
= 'DOMAIN'¶
-
TYPE_ERROR
= 'ERROR'¶
-
TYPE_GROUP
= 'GROUP'¶
-
TYPE_INFO
= 'INFO'¶
-
TYPE_INPROGRESS
= 'INPROGRESS'¶
-
TYPE_INVENTORY_GROUPS
= 'INVENTORY_GROUPS'¶
-
TYPE_LOAD_BALANCER
= 'LOAD_BALANCER'¶
-
TYPE_NETWORKING
= 'NETWORKING'¶
-
TYPE_NETWORKING_TIER0
= 'NETWORKING_TIER0'¶
-
TYPE_NETWORKING_TIER1
= 'NETWORKING_TIER1'¶
-
TYPE_NOT_AVAILABLE
= 'NOT_AVAILABLE'¶
-
TYPE_SECURITY
= 'SECURITY'¶
-
TYPE_SECURITY_DFW
= 'SECURITY_DFW'¶
-
TYPE_SEGMENT
= 'SEGMENT'¶
-
TYPE_SUCCESS
= 'SUCCESS'¶
-
TYPE_SYSTEM
= 'SYSTEM'¶
-
TYPE_SYSTEM_BACKUPRESTORE
= 'SYSTEM_BACKUPRESTORE'¶
-
TYPE_SYSTEM_FABRIC
= 'SYSTEM_FABRIC'¶
-
TYPE_VPN
= 'VPN'¶
-
TYPE_WARNING
= 'WARNING'¶
- placement (
-
class
com.vmware.nsx_policy.model_client.
IdentityGroupExpression
(identity_groups=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='IdentityGroupExpression', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents a list of identity group (Ad group SID) expressions.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - identity_groups (
list
ofIdentityGroupInfo
orNone
) – This array consists of set of identity group object. All members within this array are implicitly OR’ed together. - 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
) –Possible values are:
Expression.RESOURCE_TYPE_CONDITION
Expression.RESOURCE_TYPE_CONJUNCTIONOPERATOR
Expression.RESOURCE_TYPE_NESTEDEXPRESSION
Expression.RESOURCE_TYPE_IPADDRESSEXPRESSION
Expression.RESOURCE_TYPE_MACADDRESSEXPRESSION
Expression.RESOURCE_TYPE_EXTERNALIDEXPRESSION
Expression.RESOURCE_TYPE_PATHEXPRESSION
Expression.RESOURCE_TYPE_IDENTITYGROUPEXPRESSION
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
¶ Return the discriminator value
- identity_groups (
-
class
com.vmware.nsx_policy.model_client.
IdentityGroupInfo
(distinguished_name=None, domain_base_distinguished_name=None, sid=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Identity (Directory) group
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - distinguished_name (
str
orNone
) – Each LDAP object is uniquely identified by its distinguished name (DN). A DN is a sequence of relative distinguished names (RDN) connected by commas. e.g. CN=Larry Cole,CN=admin,DC=corp,DC=acme,DC=com. A valid fully qualified distinguished name should be provided to include specific groups else the create / update realization of the Group containing an invalid/ partial DN will fail. This value is valid only if it matches to exactly 1 LDAP object on the LDAP server. - domain_base_distinguished_name (
str
orNone
) – This is the base distinguished name for the domain where this particular group resides. (e.g. dc=example,dc=com) Each active directory domain has a domain naming context (NC), which contains domain-specific data. The root of this naming context is represented by a domain’s distinguished name (DN) and is typically referred to as the NC head. - sid (
str
orNone
) – A security identifier (SID) is a unique value of variable length used to identify a trustee. A SID consists of the following components: The revision level of the SID structure; A 48-bit identifier authority value that identifies the authority that issued the SID; A variable number of subauthority or relative identifier (RID) values that uniquely identify the trustee relative to the authority that issued the SID. This field is only populated for Microsoft Active Directory identity store.
- distinguished_name (
-
class
com.vmware.nsx_policy.model_client.
IdentitySourceLdapServer
(bind_identity=None, certificates=None, enabled=None, password=None, url=None, use_starttls=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Information about a single LDAP server.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - bind_identity (
str
orNone
) – A username used to authenticate to the directory when admnistering roles in NSX. This user should have privileges to search the LDAP directory for groups and users. This user is also used in some cases (OpenLDAP) to look up an NSX user’s distinguished name based on their NSX login name. If omitted, NSX will authenticate to the LDAP server using an LDAP anonymous bind operation. For Active Directory, provide a userPrincipalName (e.g. administrator\@airius.com) or the full distinguished nane. For OpenLDAP, provide the distinguished name of the user (e.g. uid=admin, cn=airius, dc=com). - certificates (
list
ofstr
orNone
) – If using LDAPS or STARTTLS, provide the X.509 certificate of the LDAP server in PEM format. This property is not required when connecting without TLS encryption and is ignored in that case. - enabled (
bool
orNone
) – Allows the LDAP server to be enabled or disabled. When disabled, this LDAP server will not be used to authenticate users. - password (
str
orNone
) – A password used when authenticating to the directory. - url (
str
orNone
) – The URL for the LDAP server. Supported URL schemes are LDAP and LDAPS. Either a hostname or an IP address may be given, and the port number is optional and defaults to 389 for the LDAP scheme and 636 for the LDAPS scheme. - use_starttls (
bool
orNone
) – If set to true, Use the StartTLS extended operation to upgrade the connection to TLS before sending any sensitive information. The LDAP server must support the StartTLS extended operation in order for this protocol to operate correctly. This option is ignored if the URL scheme is LDAPS.
- bind_identity (
-
class
com.vmware.nsx_policy.model_client.
IdentitySourceLdapServerEndpoint
(url=None, use_starttls=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Information about a single LDAP server endpoint.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - url (
str
orNone
) – The URL for the LDAP server. Supported URL schemes are LDAP and LDAPS. Either a hostname or an IP address may be given, and the port number is optional and defaults to 389 for the LDAP scheme and 636 for the LDAPS scheme. - use_starttls (
bool
orNone
) – If set to true, Use the StartTLS extended operation to upgrade the connection to TLS before sending any sensitive information. The LDAP server must support the StartTLS extended operation in order for this protocol to operate correctly. This option is ignored if the URL scheme is LDAPS.
- url (
-
class
com.vmware.nsx_policy.model_client.
IdentitySourceLdapServerProbeResult
(errors=None, result=None, url=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
The results of probing an individual LDAP server.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - errors (
list
ofLdapProbeError
orNone
) – Detail about errors encountered during the probe. - result (
str
orNone
) –Possible values are:
IdentitySourceLdapServerProbeResult.RESULT_SUCCESS
IdentitySourceLdapServerProbeResult.RESULT_FAILURE
Overall result of the probe. If the probe was able to connect to the LDAP service, authenticate using the provided credentials, and perform searches of the configured user and group search bases without error, the result is SUCCESS. Otherwise, the result is FAILURE, and additional details may be found in the errors property.
- url (
str
orNone
) – THe URL of the probed LDAP host.
-
RESULT_FAILURE
= 'FAILURE'¶
-
RESULT_SUCCESS
= 'SUCCESS'¶
- errors (
-
class
com.vmware.nsx_policy.model_client.
IdsClusterConfig
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, cluster=None, ids_enabled=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IDS configuration to enable/disable IDS on cluster level.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - cluster (
PolicyResourceReference
orNone
) – Contains policy resource reference object - ids_enabled (
bool
orNone
) – If set to true, IDS is enabled on the respective cluster
- links (
-
class
com.vmware.nsx_policy.model_client.
IdsClusterConfigListResult
(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
Paged collection of IDS cluster configuration
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
ofIdsClusterConfig
orNone
) – Cluster wise IDS configuration list results
- links (
-
class
com.vmware.nsx_policy.model_client.
IdsProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, severities=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IDS Profile which contains the signatures and will be used in IDS rules.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - severities (
list
ofIdsProfileSeverity
orNone
) – Represents the severities of signatures which are part of this profile.
- links (
-
class
com.vmware.nsx_policy.model_client.
IdsProfileListResult
(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
Paged collection of IDS profiles
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
ofIdsProfile
orNone
) – IDS profile list results
- links (
-
class
com.vmware.nsx_policy.model_client.
IdsProfileSeverity
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, ignore_signatures=None, severity=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Intrusion Detection System Profile severity.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - ignore_signatures (
list
ofstr
orNone
) – Contains the id of signatures that will be ignored as part of the profile. - severity (
str
orNone
) –Possible values are:
IdsProfileSeverity.SEVERITY_CRITICAL
IdsProfileSeverity.SEVERITY_HIGH
IdsProfileSeverity.SEVERITY_MEDIUM
IdsProfileSeverity.SEVERITY_LOW
Represents the severity of a profile.
-
SEVERITY_CRITICAL
= 'CRITICAL'¶
-
SEVERITY_HIGH
= 'HIGH'¶
-
SEVERITY_LOW
= 'LOW'¶
-
SEVERITY_MEDIUM
= 'MEDIUM'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
IdsRule
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, destination_groups=None, destinations_excluded=None, direction=None, disabled=None, ip_protocol=None, is_default=None, logged=None, notes=None, profiles=None, rule_id=None, scope=None, sequence_number=None, service_entries=None, services=None, source_groups=None, sources_excluded=None, tag=None, action=None, ids_profiles=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents the Intrusion Detection System rule which indicates the action to be performed for the corresponding workload 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 - 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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - destination_groups (
list
ofstr
orNone
) – We need paths as duplicate names may exist for groups under different domains. Along with paths we support IP Address of type IPv4 and IPv6. IP Address can be in one of the format(CIDR, IP Address, Range of IP Address). In order to specify all groups, use the constant “ANY”. This is case insensitive. If “ANY” is used, it should be the ONLY element in the group array. Error will be thrown if ANY is used in conjunction with other values. - destinations_excluded (
bool
orNone
) – If set to true, the rule gets applied on all the groups that are NOT part of the destination groups. If false, the rule applies to the destination groups - direction (
str
orNone
) –Possible values are:
Define direction of traffic. - disabled (
bool
orNone
) – Flag to disable the rule. Default is enabled. - ip_protocol (
str
orNone
) –Possible values are:
Type of IP packet that should be matched while enforcing the rule. The value is set to IPV4_IPV6 for Layer3 rule if not specified. For Layer2/Ether rule the value must be null.
- is_default (
bool
orNone
) – A flag to indicate whether rule is a default rule. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - logged (
bool
orNone
) – Flag to enable packet logging. Default is disabled. - notes (
str
orNone
) – Text for additional notes on changes. - profiles (
list
ofstr
orNone
) – Holds the list of layer 7 service profile paths. These profiles accept attributes and sub-attributes of various network services (e.g. L4 AppId, encryption algorithm, domain name, etc) as key value pairs. - rule_id (
long
orNone
) – This is a unique 4 byte positive number that is assigned by the system. This rule id is passed all the way down to the data path. The first 1GB (1000 to 2^30) will be shared by GM and LM with zebra style striped number space. For E.g 1000 to (1Million -1) by LM, (1M - 2M-1) by GM and so on. 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. - scope (
list
ofstr
orNone
) – The list of policy paths where the rule is applied LR/Edge/T0/T1/LRP etc. Note that a given rule can be applied on multiple LRs/LRPs. - sequence_number (
long
orNone
) – This field is used to resolve conflicts between multiple Rules under Security or Gateway Policy for a Domain If no sequence number is specified in the payload, a value of 0 is assigned by default. If there are multiple rules with the same sequence number then their order is not deterministic. If a specific order of rules is desired, then one has to specify unique sequence numbers or use the POST request on the rule entity with a query parameter action=revise to let the framework assign a sequence number format: int32 - service_entries (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – In order to specify raw services this can be used, along with services which contains path to services. This can be empty or null. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inServiceEntry
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inServiceEntry
. - services (
list
ofstr
orNone
) – In order to specify all services, use the constant “ANY”. This is case insensitive. If “ANY” is used, it should be the ONLY element in the services array. Error will be thrown if ANY is used in conjunction with other values. - source_groups (
list
ofstr
orNone
) – We need paths as duplicate names may exist for groups under different domains. Along with paths we support IP Address of type IPv4 and IPv6. IP Address can be in one of the format(CIDR, IP Address, Range of IP Address). In order to specify all groups, use the constant “ANY”. This is case insensitive. If “ANY” is used, it should be the ONLY element in the group array. Error will be thrown if ANY is used in conjunction with other values. - sources_excluded (
bool
orNone
) – If set to true, the rule gets applied on all the groups that are NOT part of the source groups. If false, the rule applies to the source groups - tag (
str
orNone
) – User level field which will be printed in CLI and packet logs. - action (
str
orNone
) –Possible values are:
The action to be applied. - ids_profiles (
list
ofstr
orNone
) – collections of IDS profiles.
-
ACTION_DETECT
= 'DETECT'¶
-
DIRECTION_IN
= 'IN'¶
-
DIRECTION_IN_OUT
= 'IN_OUT'¶
-
DIRECTION_OUT
= 'OUT'¶
-
IP_PROTOCOL_IPV4
= 'IPV4'¶
-
IP_PROTOCOL_IPV4_IPV6
= 'IPV4_IPV6'¶
-
IP_PROTOCOL_IPV6
= 'IPV6'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
IdsRuleListResult
(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
Paged collection of IDS rules
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
ofIdsRule
orNone
) – IDS rule list results
- links (
-
class
com.vmware.nsx_policy.model_client.
IdsSecurityPolicy
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, category=None, comments=None, internal_sequence_number=None, is_default=None, lock_modified_by=None, lock_modified_time=None, locked=None, rule_count=None, scheduler_path=None, scope=None, sequence_number=None, stateful=None, tcp_strict=None, rules=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents the Intrusion Detection System Security Policy, which contains the list of IDS Rules.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - category (
str
orNone
) –- Distributed Firewall - Policy framework provides five pre-defined
categories for classifying a security policy. They are “Ethernet”,”Emergency”, “Infrastructure” “Environment” and “Application”. There is a pre-determined order in which the policy framework manages the priority of these security policies. Ethernet category is for supporting layer 2 firewall rules. The other four categories are applicable for layer 3 rules. Amongst them, the Emergency category has the highest priority followed by Infrastructure, Environment and then Application rules. Administrator can choose to categorize a security policy into the above categories or can choose to leave it empty. If empty it will have the least precedence w.r.t the above four categories. - Edge Firewall - Policy Framework for Edge Firewall provides six pre-defined categories “Emergency”, “SystemRules”, “SharedPreRules”, “LocalGatewayRules”, “AutoServiceRules” and “Default”, in order of priority of rules. All categories are allowed for Gatetway Policies that belong to ‘default’ Domain. However, for user created domains, category is restricted to “SharedPreRules” or “LocalGatewayRules” only. Also, the users can add/modify/delete rules from only the “SharedPreRules” and “LocalGatewayRules” categories. If user doesn’t specify the category then defaulted to “Rules”. System generated category is used by NSX created rules, for example BFD rules. Autoplumbed category used by NSX verticals to autoplumb data path rules. Finally, “Default” category is the placeholder default rules with lowest in the order of priority.
- comments (
str
orNone
) – Comments for security policy lock/unlock. - internal_sequence_number (
long
orNone
) – This field is to indicate the internal sequence number of a policy with respect to the policies across categories. 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. - is_default (
bool
orNone
) – A flag to indicate whether policy is a default policy. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lock_modified_by (
str
orNone
) – ID of the user who last modified the lock for the secruity policy. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lock_modified_time (
long
orNone
) – SecurityPolicy locked/unlocked time in epoch milliseconds. format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - locked (
bool
orNone
) – Indicates whether a security policy should be locked. If the security policy is locked by a user, then no other user would be able to modify this security policy. Once the user releases the lock, other users can update this security policy. - rule_count (
long
orNone
) – The count of rules in the policy. 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. - scheduler_path (
str
orNone
) – Provides a mechanism to apply the rules in this policy for a specified time duration. - scope (
list
ofstr
orNone
) – The list of group paths where the rules in this policy will get applied. This scope will take precedence over rule level scope. Supported only for security and redirection policies. In case of RedirectionPolicy, it is expected only when the policy is NS and redirecting to service chain. - sequence_number (
long
orNone
) – This field is used to resolve conflicts between security policies across domains. In order to change the sequence number of a policy one can fire a POST request on the policy entity with a query parameter action=revise The sequence number field will reflect the value of the computed sequence number upon execution of the above mentioned POST request. For scenarios where the administrator is using a template to update several security policies, the only way to set the sequence number is to explicitly specify the sequence number for each security policy. If no sequence number is specified in the payload, a value of 0 is assigned by default. If there are multiple policies with the same sequence number then their order is not deterministic. If a specific order of policies is desired, then one has to specify unique sequence numbers or use the POST request on the policy entity with a query parameter action=revise to let the framework assign a sequence number format: int32 - stateful (
bool
orNone
) – Stateful or Stateless nature of security policy is enforced on all rules in this security policy. When it is stateful, the state of the network connects are tracked and a stateful packet inspection is performed. Layer3 security policies can be stateful or stateless. By default, they are stateful. Layer2 security policies can only be stateless. - tcp_strict (
bool
orNone
) – Ensures that a 3 way TCP handshake is done before the data packets are sent. tcp_strict=true is supported only for stateful security policies. If the tcp_strict flag is not specified and the security policy is stateful, then tcp_strict will be set to true. - rules (
list
ofIdsRule
orNone
) – IDS Rules that are a part of this SecurityPolicy
- links (
-
class
com.vmware.nsx_policy.model_client.
IdsSecurityPolicyListResult
(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
Paged collection of IDS security policies
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
ofIdsSecurityPolicy
orNone
) – IDS security policy list results
- links (
-
class
com.vmware.nsx_policy.model_client.
IdsSettings
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, auto_update=None, ids_ever_enabled=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents the Intrusion Detection System settings.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - auto_update (
bool
orNone
) – Parameter to let the user decide whether to update the IDS Signatures automatically or not. - ids_ever_enabled (
bool
orNone
) – Flag which tells whether IDS was ever enabled. 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_policy.model_client.
IdsSignature
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, attack_target=None, categories=None, class_type=None, cves=None, cvssv2=None, cvssv3=None, flow=None, name=None, product_affected=None, severity=None, signature_id=None, signature_revision=None, urls=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Intrusion Detection System Signature .
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - attack_target (
str
orNone
) – Target of the signature. - categories (
list
ofstr
orNone
) –Possible values are:
IdsSignature.CATEGORIES_APPLICATION
IdsSignature.CATEGORIES_MALWARE
IdsSignature.CATEGORIES_VULNERABILITY
Represents the internal categories a signature belongs to. - class_type (
str
orNone
) – Class type of Signature. - cves (
list
ofstr
orNone
) – CVE score - cvssv2 (
str
orNone
) – Signature cvssv2 score. - cvssv3 (
str
orNone
) – Signature cvssv3 score. - flow (
str
orNone
) – Flow established from server, from client etc. - name (
str
orNone
) – Signature name. - product_affected (
str
orNone
) – Product affected by this signature. - severity (
str
orNone
) – Represents the severity of the Signature. - signature_id (
str
orNone
) – Represents the Signature’s id. - signature_revision (
str
orNone
) – Represents revision of the Signature. - urls (
list
ofstr
orNone
) – List of mitre attack URLs pertaining to signature
-
CATEGORIES_APPLICATION
= 'APPLICATION'¶
-
CATEGORIES_MALWARE
= 'MALWARE'¶
-
CATEGORIES_VULNERABILITY
= 'VULNERABILITY'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
IdsSignatureListResult
(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
Paged collection of IDS signatures
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
ofIdsSignature
orNone
) – IDS signature list results
- links (
-
class
com.vmware.nsx_policy.model_client.
IdsSignatureStatus
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, download_status=None, signature_status=None, version_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Ids signature status.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - links (
list
ofResourceLink
orNone
) – The server will populate this field when returing the resource. Ignored on PUT and POST. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - schema (
str
orNone
) – Schema for this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - self (
SelfResourceLink
orNone
) – Link to this 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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - download_status (
str
orNone
) –Possible values are:
IdsSignatureStatus.DOWNLOAD_STATUS_READY
IdsSignatureStatus.DOWNLOAD_STATUS_PENDING
IdsSignatureStatus.DOWNLOAD_STATUS_ERROR
IdsSignatureStatus.DOWNLOAD_STATUS_DISABLED
READY means signatures were downloaded and parsed successfully. PENDING means that signatures download is in progress. ERROR means error occurred during signature processing. DISABLED means IDS is disabled. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- signature_status (
str
orNone
) –Possible values are:
AVAILABLE means the signatures are available for the version. UNAVAILABLE means there are no available signatures for the version. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- version_id (
str
orNone
) – Represents the version 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.
-
DOWNLOAD_STATUS_DISABLED
= 'DISABLED'¶
-
DOWNLOAD_STATUS_ERROR
= 'ERROR'¶
-
DOWNLOAD_STATUS_PENDING
= 'PENDING'¶
-
DOWNLOAD_STATUS_READY
= 'READY'¶
-
SIGNATURE_STATUS_AVAILABLE
= 'AVAILABLE'¶
-
SIGNATURE_STATUS_UNAVAILABLE
= 'UNAVAILABLE'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
IdsSignatureVersion
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, change_log=None, state=None, status=None, update_time=None, user_uploaded=None, version_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
It represents the version information corresponding to which the signatures will be available.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - change_log (
str
orNone
) – Represents the version’s change log. 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:
This flag tells which Version is currently active. ACTIVE: It means the signatures under this version is currently been used under IDS Profiles. NOTACTIVE: It means signatures of this version are available but not being used in IDS Profiles. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- status (
str
orNone
) –Possible values are:
This flag tells the status of the signatures under a version. OUTDATED: It means the signatures under this version are outdated and new version is available. LATEST: It means the signatures of this version are up to date. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- update_time (
long
orNone
) – Time when this version was downloaded and saved. 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. - user_uploaded (
bool
orNone
) – Flag which tells whether te SIgnature version is uploaded by user or not. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - version_id (
str
orNone
) – Represents the version 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.
-
STATE_ACTIVE
= 'ACTIVE'¶
-
STATE_NOTACTIVE
= 'NOTACTIVE'¶
-
STATUS_LATEST
= 'LATEST'¶
-
STATUS_OUTDATED
= 'OUTDATED'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
IdsSignatureVersionListResult
(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
Paged collection of IDS signature versions
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
ofIdsSignatureVersion
orNone
) – IDS signature version list results
- links (
-
class
com.vmware.nsx_policy.model_client.
IdsStandaloneHostConfig
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, ids_enabled=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IDS configuration to enable/disable IDS on standalone host level.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - ids_enabled (
bool
orNone
) – If set to true, IDS is enabled on standalone hosts.
- links (
-
class
com.vmware.nsx_policy.model_client.
IgmpMembership
(group=None, igmp_version=None, _interface=None, no_of_sources=None, source_address=None, uptime=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IGMP (Internet Group Management Protocol) membership details.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - group (
str
orNone
) – Multicast group address. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - igmp_version (
long
orNone
) – IGMP version. 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. - _interface (
str
orNone
) – Interface on which multicast group membership is learned. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - no_of_sources (
str
orNone
) – Number of multicast sources. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - source_address (
str
orNone
) – IP address of multicast source. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - uptime (
str
orNone
) – Multicast group membership active time. 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 (
-
class
com.vmware.nsx_policy.model_client.
IgmpMembershipCsvRecord
(group=None, igmp_version=None, _interface=None, no_of_sources=None, source_address=None, transport_node=None, uptime=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - group (
str
orNone
) – Multicast group address. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - igmp_version (
long
orNone
) – IGMP version. 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. - _interface (
str
orNone
) – Interface on which multicast group membership is learned. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - no_of_sources (
str
orNone
) – Number of multicast sources. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - source_address (
str
orNone
) – IP address of multicast source. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node (
str
orNone
) – Transport node uuid or policy 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. - uptime (
str
orNone
) – Multicast group membership active time. 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 (
-
class
com.vmware.nsx_policy.model_client.
IgmpMemberships
(gateway_path=None, igmp_memberships_per_edge=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IGMP Memberships.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - gateway_path (
str
orNone
) – Policy path to Tier0 gateway. - igmp_memberships_per_edge (
list
ofIgmpMembershipsPerEdge
orNone
) –
- gateway_path (
-
class
com.vmware.nsx_policy.model_client.
IgmpMembershipsInCsvFormat
(file_name=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
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
ofIgmpMembershipCsvRecord
orNone
) –
- file_name (
-
class
com.vmware.nsx_policy.model_client.
IgmpMembershipsPerEdge
(edge_path=None, igmp_memberships=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IGMP Memberships Per Edge.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - edge_path (
str
orNone
) – Policy path to edge node. - igmp_memberships (
list
ofIgmpMembership
orNone
) –
- edge_path (
-
class
com.vmware.nsx_policy.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_policy.model_client.
Infra
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, connectivity_strategy=None, domains=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Infra space related policy.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - connectivity_strategy (
str
orNone
) –Possible values are:
Infra.CONNECTIVITY_STRATEGY_WHITELIST
Infra.CONNECTIVITY_STRATEGY_BLACKLIST
Infra.CONNECTIVITY_STRATEGY_WHITELIST_ENABLE_LOGGING
Infra.CONNECTIVITY_STRATEGY_BLACKLIST_ENABLE_LOGGING
Infra.CONNECTIVITY_STRATEGY_NONE
The connectivity strategy is deprecated. Use default layer3 rule, /infra/domains/default/security-policies/default-layer3-security-policy/rules/default-layer3-rule. This field indicates the default connectivity policy for the infra or tenant space WHITELIST - Adds a default drop rule. Administrator can then use “allow” rules (aka whitelist) to allow traffic between groups BLACKLIST - Adds a default allow rule. Admin can then use “drop” rules (aka blacklist) to block traffic between groups WHITELIST_ENABLE_LOGGING - Whitelising with logging enabled BLACKLIST_ENABLE_LOGGING - Blacklisting with logging enabled NONE - No default rules are added.
- domains (
list
ofDomain
orNone
) – This field is used while creating or updating the infra space.
-
CONNECTIVITY_STRATEGY_BLACKLIST
= 'BLACKLIST'¶
-
CONNECTIVITY_STRATEGY_BLACKLIST_ENABLE_LOGGING
= 'BLACKLIST_ENABLE_LOGGING'¶
-
CONNECTIVITY_STRATEGY_NONE
= 'NONE'¶
-
CONNECTIVITY_STRATEGY_WHITELIST
= 'WHITELIST'¶
-
CONNECTIVITY_STRATEGY_WHITELIST_ENABLE_LOGGING
= 'WHITELIST_ENABLE_LOGGING'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
IngressBroadcastRateLimiter
(average_bandwidth=None, burst_size=None, peak_bandwidth=None, enabled=None, resource_type='IngressBroadcastRateLimiter')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A shaper that specifies ingress rate properties in kb/s
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - average_bandwidth (
long
orNone
) – Average bandwidth in kb/s format: int32 - burst_size (
long
orNone
) – Burst size in bytes format: int32 - peak_bandwidth (
long
orNone
) – Peak bandwidth in kb/s format: int32 - enabled (
bool
orNone
) – - resource_type (
str
) –Possible values are:
QosBaseRateLimiter.RESOURCE_TYPE_INGRESSRATELIMITER
QosBaseRateLimiter.RESOURCE_TYPE_INGRESSBROADCASTRATELIMITER
QosBaseRateLimiter.RESOURCE_TYPE_EGRESSRATELIMITER
Type rate limiter
-
resource_type
¶ Return the discriminator value
- average_bandwidth (
-
class
com.vmware.nsx_policy.model_client.
IngressRateLimiter
(average_bandwidth=None, burst_size=None, peak_bandwidth=None, enabled=None, resource_type='IngressRateLimiter')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A shaper that specifies ingress rate properties in Mb/s
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - average_bandwidth (
long
orNone
) – You can use the average bandwidth to reduce network congestion. format: int32 - burst_size (
long
orNone
) – The burst duration is set in the burst size setting. format: int32 - peak_bandwidth (
long
orNone
) – The peak bandwidth rate is used to support burst traffic. format: int32 - enabled (
bool
orNone
) – - resource_type (
str
) –Possible values are:
QosBaseRateLimiter.RESOURCE_TYPE_INGRESSRATELIMITER
QosBaseRateLimiter.RESOURCE_TYPE_INGRESSBROADCASTRATELIMITER
QosBaseRateLimiter.RESOURCE_TYPE_EGRESSRATELIMITER
Type rate limiter
-
resource_type
¶ Return the discriminator value
- average_bandwidth (
-
class
com.vmware.nsx_policy.model_client.
InitiateClusterRestoreRequest
(ip_address=None, node_id=None, timestamp=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_address (
str
orNone
) – IP address or FQDN of the node from which the backup was taken format: hostname-or-ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - node_id (
str
orNone
) – Unique id of the backed-up configuration from which the appliance will be restored This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - timestamp (
long
orNone
) – Timestamp of the backed-up configuration from which the appliance will be restored 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.
- ip_address (
-
class
com.vmware.nsx_policy.model_client.
Injection
(key=None, value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Injection holding a key and a corresponding value.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - key (
str
orNone
) – Injection key. - value (
vmware.vapi.struct.VapiStruct
orNone
) – Injection value. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inInjectionValue
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inInjectionValue
.
- key (
-
class
com.vmware.nsx_policy.model_client.
InjectionValue
(resource_type='InjectionValue')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Injection Value.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: resource_type ( str
) –Possible values are:
Injection Value resource type.
-
RESOURCE_TYPE_UNARYOPERATIONBASEDINJECTIONVALUE
= 'UnaryOperationBasedInjectionValue'¶
-
resource_type
¶ Return the discriminator value
-
class
com.vmware.nsx_policy.model_client.
InstanceRuntimeStatistic
(interface_statistics=None, primary_runtime_stats=None, runtime_id=None, runtime_name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Statistics for data NICs on an instance runtime
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - interface_statistics (
list
ofRuntimeInterfaceStatistics
orNone
) – List of statistics for all data NICs on a runtime. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - primary_runtime_stats (
bool
orNone
) – Specifies whether statistics are for primary runtime. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - runtime_id (
str
orNone
) – Id of the instance runtime This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - runtime_name (
str
orNone
) – Name of the instance runtime This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- interface_statistics (
-
class
com.vmware.nsx_policy.model_client.
InstructionInfo
(actions=None, fields=None, id=None, name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Details of the instructions displayed during restore process
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - actions (
list
ofstr
orNone
) – A list of actions that are to be applied to resources This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - fields (
list
ofstr
orNone
) – A list of fields that are displayable to users in a table 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
) – UUID of the instruction 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
) – Instruction 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.
- actions (
-
class
com.vmware.nsx_policy.model_client.
IntentRuntimeRequestParameters
(intent_path=None, site_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Request parameters that represents a an intent path.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - intent_path (
str
orNone
) – Policy Path referencing an intent object. - site_path (
str
orNone
) – Policy Path referencing a site. This is applicable only on a GlobalManager. If no site_path is specified, then based on the span of the intent the response will be fetched from the respective sites
- intent_path (
-
class
com.vmware.nsx_policy.model_client.
InterSitePortCounters
(blocked_packets=None, dad_dropped_packets=None, destination_unsupported_dropped_packets=None, dropped_packets=None, firewall_dropped_packets=None, frag_needed_dropped_packets=None, ipsec_dropped_packets=None, ipsec_no_sa_dropped_packets=None, ipsec_no_vti_dropped_packets=None, ipsec_pol_block_dropped_packets=None, ipsec_pol_err_dropped_packets=None, ipv6_dropped_packets=None, kni_dropped_packets=None, l4port_unsupported_dropped_packets=None, malformed_dropped_packets=None, no_arp_dropped_packets=None, no_linked_dropped_packets=None, no_mem_dropped_packets=None, no_receiver_dropped_packets=None, no_route_dropped_packets=None, non_ip_dropped_packets=None, proto_unsupported_dropped_packets=None, redirect_dropped_packets=None, rpf_check_dropped_packets=None, service_insert_dropped_packets=None, total_bytes=None, total_packets=None, ttl_exceeded_dropped_packets=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - blocked_packets (
long
orNone
) – The total number of packets blocked. format: int64 - dad_dropped_packets (
long
orNone
) – Number of duplicate address detected packets dropped. format: int64 - destination_unsupported_dropped_packets (
long
orNone
) – Number of packtes dropped as destination is not supported. format: int64 - dropped_packets (
long
orNone
) – The total number of packets dropped. format: int64 - firewall_dropped_packets (
long
orNone
) – Number of firewall packets dropped. format: int64 - frag_needed_dropped_packets (
long
orNone
) – Number of fragmentation needed packets dropped. format: int64 - ipsec_dropped_packets (
long
orNone
) – Number of IPSec packets dropped format: int64 - ipsec_no_sa_dropped_packets (
long
orNone
) – Number of IPSec no security association packets dropped. format: int64 - ipsec_no_vti_dropped_packets (
long
orNone
) – Number of IPSec packets dropped as no VTI is present. format: int64 - ipsec_pol_block_dropped_packets (
long
orNone
) – Number of IPSec policy block packets dropped. format: int64 - ipsec_pol_err_dropped_packets (
long
orNone
) – Number of IPSec policy error packets dropped. format: int64 - ipv6_dropped_packets (
long
orNone
) – Number of IPV6 packets dropped. format: int64 - kni_dropped_packets (
long
orNone
) – Number of DPDK kernal NIC interface packets dropped. format: int64 - l4port_unsupported_dropped_packets (
long
orNone
) – Number of packets dropped due to unsupported L4 port. format: int64 - malformed_dropped_packets (
long
orNone
) – Number of packtes dropped as they are malformed. format: int64 - no_arp_dropped_packets (
long
orNone
) – Number of no ARP packets dropped. format: int64 - no_linked_dropped_packets (
long
orNone
) – Number of packets dropped as no linked ports are present. format: int64 - no_mem_dropped_packets (
long
orNone
) – Number of packets dropped due to insufficient memory. format: int64 - no_receiver_dropped_packets (
long
orNone
) – Number of packets dropped due to absence of receiver. format: int64 - no_route_dropped_packets (
long
orNone
) – The number of no route packets dropped format: int64 - non_ip_dropped_packets (
long
orNone
) – Number of non IP packets dropped. format: int64 - proto_unsupported_dropped_packets (
long
orNone
) – Number of packets dropped as protocol is unsupported. format: int64 - redirect_dropped_packets (
long
orNone
) – Number of redirect packets dropped. format: int64 - rpf_check_dropped_packets (
long
orNone
) – Number of reverse-path forwarding check packets dropped. format: int64 - service_insert_dropped_packets (
long
orNone
) – Number of service insert packets dropped. format: int64 - total_bytes (
long
orNone
) – The total number of bytes transferred. format: int64 - total_packets (
long
orNone
) – The total number of packets transferred. format: int64 - ttl_exceeded_dropped_packets (
long
orNone
) – Number of time to live exceeded packets dropped. format: int64
- blocked_packets (
-
class
com.vmware.nsx_policy.model_client.
InterfaceArpCsvRecord
(ip=None, mac_address=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip (
str
orNone
) – The IP address format: ip - mac_address (
str
orNone
) – The MAC address
- ip (
-
class
com.vmware.nsx_policy.model_client.
InterfaceArpEntry
(ip=None, mac_address=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip (
str
orNone
) – The IP address format: ip - mac_address (
str
orNone
) – The MAC address
- ip (
-
class
com.vmware.nsx_policy.model_client.
InterfaceArpTable
(links=None, schema=None, self_=None, cursor=None, result_count=None, sort_ascending=None, sort_by=None, edge_path=None, enforcement_point_path=None, interface_path=None, last_update_timestamp=None, results=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 - 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. - edge_path (
str
orNone
) – Policy path of edge node. - enforcement_point_path (
str
orNone
) – String Path of the enforcement point. - interface_path (
str
orNone
) – The ID of the logical router port - last_update_timestamp (
long
orNone
) – Timestamp when the data was last updated; unset if data source has never updated the data. 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. - results (
list
ofInterfaceArpEntry
orNone
) –
- links (
-
class
com.vmware.nsx_policy.model_client.
InterfaceArpTableInCsvFormat
(file_name=None, last_update_timestamp=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
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. - last_update_timestamp (
long
orNone
) – Timestamp when the data was last updated; unset if data source has never updated the data. 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. - results (
list
ofInterfaceArpCsvRecord
orNone
) –
- file_name (
-
class
com.vmware.nsx_policy.model_client.
InterfaceDADState
(dad_statuses=None, interface_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Duplicate address detection status on the interface.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dad_statuses (
list
ofInterfaceiPv6DADStatus
orNone
) – Array of DAD status which contains DAD information for IP addresses on the interface. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - interface_path (
str
orNone
) – Policy path or realization ID of interface for which IPv6 DAD status is returned. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- dad_statuses (
-
class
com.vmware.nsx_policy.model_client.
InterfaceSubnet
(ip_addresses=None, prefix_len=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Subnet specification for interface connectivity
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_addresses (
list
ofstr
orNone
) – IP addresses assigned to interface format: ip - prefix_len (
long
orNone
) – Subnet prefix length format: int32
- ip_addresses (
-
class
com.vmware.nsx_policy.model_client.
InterfaceiPv6DADStatus
(edge_paths=None, ip_address=None, status=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Duplicate address detection status for IP address on the interface.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - edge_paths (
list
ofstr
orNone
) – Array of edge nodes on which DAD status is reported for given IP address. 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_address (
str
orNone
) – IP address on the port for which DAD status is reported. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - status (
str
orNone
) –Possible values are:
InterfaceiPv6DADStatus.STATUS_DUPLICATED
InterfaceiPv6DADStatus.STATUS_TENTATIVE
InterfaceiPv6DADStatus.STATUS_ASSIGNED
InterfaceiPv6DADStatus.STATUS_NOT_APPLICABLE
InterfaceiPv6DADStatus.STATUS_UNKNOWN
DAD status for IP address on the 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.
-
STATUS_ASSIGNED
= 'ASSIGNED'¶
-
STATUS_DUPLICATED
= 'DUPLICATED'¶
-
STATUS_NOT_APPLICABLE
= 'NOT_APPLICABLE'¶
-
STATUS_TENTATIVE
= 'TENTATIVE'¶
-
STATUS_UNKNOWN
= 'UNKNOWN'¶
- edge_paths (
-
class
com.vmware.nsx_policy.model_client.
IntersiteGatewayConfig
(fallback_sites=None, intersite_transit_subnet=None, last_admin_active_epoch=None, primary_site_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Intersite gateway configuration.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - fallback_sites (
list
ofstr
orNone
) – Fallback site to be used as new primary site on current primary site failure. Disaster recovery must be initiated via API/UI. Fallback site configuration is supported only for T0 gateway. T1 gateway will follow T0 gateway’s primary site during disaster recovery. - intersite_transit_subnet (
str
orNone
) – IPv4 subnet for inter-site transit segment connecting service routers across sites for stretched gateway. For IPv6 link local subnet is auto configured. format: ip-cidr-block - last_admin_active_epoch (
long
orNone
) – Epoch(in seconds) is auto updated based on system current timestamp when primary locale service is updated. It is used for resolving conflict during site failover. If system clock not in sync then User can optionally override this. New value must be higher than the current value. format: int64 - primary_site_path (
str
orNone
) – Primary egress site for gateway. T0/T1 gateway in Active/Standby mode supports stateful services on primary site. In this mode primary site must be set if gateway is stretched to more than one site. For T0 gateway in Active/Active primary site is optional field. If set then secondary site prefers routes learned from primary over locally learned routes. This field is not applicable for T1 gateway with no services.
- fallback_sites (
-
class
com.vmware.nsx_policy.model_client.
IntervalBackupSchedule
(seconds_between_backups=None, resource_type='IntervalBackupSchedule')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Schedule to specify the interval time at which automated backups need to be taken
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - seconds_between_backups (
long
orNone
) – Time interval in seconds between two consecutive automated backups format: int64 - resource_type (
str
) –Possible values are:
BackupSchedule.RESOURCE_TYPE_WEEKLYBACKUPSCHEDULE
BackupSchedule.RESOURCE_TYPE_INTERVALBACKUPSCHEDULE
Schedule type
-
resource_type
¶ Return the discriminator value
- seconds_between_backups (
-
class
com.vmware.nsx_policy.model_client.
IpAddressAllocation
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, allocation_ip=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Allocation parameters for the IP address (e.g. specific IP address) can be specified. Tags, display_name and description attributes are not supported in this release.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - allocation_ip (
str
orNone
) – Address that is allocated from pool format: ip 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_policy.model_client.
IpAddressAllocationListResult
(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 of IP address allocations
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
ofIpAddressAllocation
orNone
) – List of IpAddressAllocations
- links (
-
class
com.vmware.nsx_policy.model_client.
IpAddressBlock
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, cidr=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A block of IP addresses defined by a start address and a mask/prefix (network CIDR). An IP block is typically large & allocated to a tenant for automated consumption. An IP block is always a contiguous address space, for example 192.0.0.1/8. An IP block can be further subdivided into subnets called IP block subnets. These IP block subnets can be added to IP pools and used for IP allocation.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - cidr (
str
orNone
) – Represents a network address and the prefix length which will be associated with a layer-2 broadcast domain. Support IPv4 and IPv6 CIDR. format: ip-cidr-block
- links (
-
class
com.vmware.nsx_policy.model_client.
IpAddressBlockListResult
(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
Paged collection of IpAddressBlocks
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
ofIpAddressBlock
orNone
) – IpAddressBlock list results
- links (
-
class
com.vmware.nsx_policy.model_client.
IpAddressInfo
(ip_addresses=None, source=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Ipaddress information of the fabric node.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_addresses (
list
ofstr
orNone
) – IP Addresses of the the virtual network interface, as discovered in the source. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - source (
str
orNone
) –Possible values are:
Source of the ipaddress information.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
SOURCE_TOOLS
= 'VM_TOOLS'¶
- ip_addresses (
-
class
com.vmware.nsx_policy.model_client.
IpAddressPool
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, ip_release_delay=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IpAddressPool is a collection of subnets. The subnets can either be derived from an IpBlock or specified by the user. User can request for IP addresses to be allocated from a pool. When an IP is requested from a pool, the IP that is returned can come from any subnet that belongs to the pool.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_release_delay (
long
orNone
) – Delay in milliseconds, while releasing allocated IP address from IP pool (Default is 2 mins). format: int64
- links (
-
class
com.vmware.nsx_policy.model_client.
IpAddressPoolBlockSubnet
(auto_assign_gateway=None, ip_block_path=None, size=None, start_ip=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='IpAddressPoolBlockSubnet', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This type of subnet allows user to dynamically carve a subnet out of a preconfigured IpAddressBlock. The user must specify the size of the subnet and the IpAddressBlock from which the subnet is to be derived. If the required amount of IP adress space is available in the specified IpAddressBlock, the system automatically configures subnet range.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - auto_assign_gateway (
bool
orNone
) – If this property is set to true, the first IP in the range will be reserved for gateway. - ip_block_path (
str
orNone
) – The path of the IpAddressBlock from which the subnet is to be created. - size (
long
orNone
) – The size parameter is required for subnet creation. It must be specified during creation but cannot be changed later. format: int64 - start_ip (
str
orNone
) – For internal system use Only. Represents start ip address of the subnet from IP block. Subnet ip adddress will start from this ip address. format: ip - 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
) –Possible values are:
IpAddressPoolSubnet.RESOURCE_TYPE_IPADDRESSPOOLBLOCKSUBNET
IpAddressPoolSubnet.RESOURCE_TYPE_IPADDRESSPOOLSTATICSUBNET
Specifies whether the IpAddressPoolSubnet is to be carved out of a IpAddressBlock or will be specified by the user
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
¶ Return the discriminator value
- auto_assign_gateway (
-
class
com.vmware.nsx_policy.model_client.
IpAddressPoolListResult
(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
Paged collection of IpAddressPools
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
ofIpAddressPool
orNone
) – IpAddressPool list results
- links (
-
class
com.vmware.nsx_policy.model_client.
IpAddressPoolStaticSubnet
(allocation_ranges=None, cidr=None, dns_nameservers=None, dns_suffix=None, gateway_ip=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='IpAddressPoolStaticSubnet', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This type of subnet is statically configured by the user. The user provides the range details and the gateway for the subnet.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - allocation_ranges (
list
ofIpPoolRange
orNone
) – A collection of IPv4 or IPv6 IP Pool Ranges. - cidr (
str
orNone
) – Subnet representation is a network address and prefix length - dns_nameservers (
list
ofstr
orNone
) – The collection of upto 3 DNS servers for the subnet. format: ip - dns_suffix (
str
orNone
) – The DNS suffix for the DNS server. format: hostname - gateway_ip (
str
orNone
) – The default gateway address on a layer-3 router. format: ip - 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
) –Possible values are:
IpAddressPoolSubnet.RESOURCE_TYPE_IPADDRESSPOOLBLOCKSUBNET
IpAddressPoolSubnet.RESOURCE_TYPE_IPADDRESSPOOLSTATICSUBNET
Specifies whether the IpAddressPoolSubnet is to be carved out of a IpAddressBlock or will be specified by the user
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
¶ Return the discriminator value
- allocation_ranges (
-
class
com.vmware.nsx_policy.model_client.
IpAddressPoolSubnet
(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='IpAddressPoolSubnet', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IpAddressPoolSubnet can either be carved out of a PolicyBlock or statically specified by the user. In the first case where the subnet is carved out of a IpAddressBlock, the user must specify the ID of the block from which this subnet is to be derived. This block must be pre-created. The subnet range is auto populated by the system. In the second case, the user configures the subnet range directly. No IpAddressBlock is required.
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
) –Possible values are:
IpAddressPoolSubnet.RESOURCE_TYPE_IPADDRESSPOOLBLOCKSUBNET
IpAddressPoolSubnet.RESOURCE_TYPE_IPADDRESSPOOLSTATICSUBNET
Specifies whether the IpAddressPoolSubnet is to be carved out of a IpAddressBlock or will be specified by the user
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_IPADDRESSPOOLBLOCKSUBNET
= 'IpAddressPoolBlockSubnet'¶
-
RESOURCE_TYPE_IPADDRESSPOOLSTATICSUBNET
= 'IpAddressPoolStaticSubnet'¶
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
IpAddressPoolSubnetListResult
(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
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
) – IP Pool subnet list results When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inIpAddressPoolSubnet
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inIpAddressPoolSubnet
.
- links (
-
class
com.vmware.nsx_policy.model_client.
IpPoolRange
(links=None, schema=None, self_=None, end=None, start=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A set of IPv4 or IPv6 addresses defined by a start and end address.
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 - end (
str
orNone
) – The end IP Address of the IP Range. format: ip - start (
str
orNone
) – The start IP Address of the IP Range. format: ip
- links (
-
class
com.vmware.nsx_policy.model_client.
IpSecVpnPolicyTrafficStatistics
(aggregate_traffic_counters=None, rule_path=None, tunnel_interface_path=None, tunnel_statistics=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IPSec VPN policy traffic statistics
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - aggregate_traffic_counters (
IPSecVpnTrafficCounters
orNone
) – Aggregate traffic statistics across all IPSec tunnels. - rule_path (
str
orNone
) – Policy path referencing the IPSec VPN Rule. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - tunnel_interface_path (
str
orNone
) – Policy path referencing the IPSec VPN Tunnel Interface. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - tunnel_statistics (
list
ofIpSecVpnTunnelTrafficStatistics
orNone
) – Tunnel statistics. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- aggregate_traffic_counters (
-
class
com.vmware.nsx_policy.model_client.
IpSecVpnTunnelTrafficStatistics
(bytes_in=None, bytes_out=None, decryption_failures=None, dropped_packets_in=None, dropped_packets_out=None, encryption_failures=None, integrity_failures=None, local_subnet=None, nomatching_policy_errors=None, packets_in=None, packets_out=None, packets_received_other_error=None, packets_sent_other_error=None, peer_subnet=None, replay_errors=None, sa_mismatch_errors_in=None, sa_mismatch_errors_out=None, seq_number_overflow_error=None, tunnel_down_reason=None, tunnel_status=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IPSec VPN tunnel traffic statistics.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - bytes_in (
long
orNone
) – Total number of incoming bytes on inbound Security association. 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. - bytes_out (
long
orNone
) – Total number of outgoing bytes on outbound Security association. 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. - decryption_failures (
long
orNone
) – Total number of packets dropped due to decryption failures. 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. - dropped_packets_in (
long
orNone
) – Total number of incoming packets dropped on inbound security association. 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. - dropped_packets_out (
long
orNone
) – Total number of outgoing packets dropped on outbound security association. 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. - encryption_failures (
long
orNone
) – Total number of packets dropped because of failure in encryption. 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. - integrity_failures (
long
orNone
) – Total number of packets dropped due to integrity failures. 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. - local_subnet (
str
orNone
) – Tunnel local subnet in IPv4 CIDR Block format. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - nomatching_policy_errors (
long
orNone
) – Number of packets dropped because of no matching policy is available. 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. - packets_in (
long
orNone
) – Total number of incoming packets on inbound Security association. 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. - packets_out (
long
orNone
) – Total number of outgoing packets on outbound Security association. 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. - packets_received_other_error (
long
orNone
) – Total number of incoming packets dropped on inbound Security association. 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. - packets_sent_other_error (
long
orNone
) – Total number of packets dropped while sending for any reason. 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. - peer_subnet (
str
orNone
) – Tunnel peer subnet in IPv4 CIDR Block format. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - replay_errors (
long
orNone
) – Total number of packets dropped due to replay check on that Security association. 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. - sa_mismatch_errors_in (
long
orNone
) – Totoal number of security association mismatch errors on incoming packets. 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. - sa_mismatch_errors_out (
long
orNone
) – Totoal number of security association mismatch errors on outgoing packets. 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. - seq_number_overflow_error (
long
orNone
) – Total number of packets dropped while sending due to overflow in sequence number. format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - tunnel_down_reason (
str
orNone
) – Gives the detailed reason about the tunnel when it is down. If tunnel is UP tunnel down reason will be empty. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - tunnel_status (
str
orNone
) –Possible values are:
Specifies the status of tunnel, if it is UP/DOWN.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
TUNNEL_STATUS_DOWN
= 'DOWN'¶
-
TUNNEL_STATUS_UP
= 'UP'¶
- bytes_in (
-
class
com.vmware.nsx_policy.model_client.
Ipv4Header
(dst_ip=None, flags=None, protocol=None, src_ip=None, src_subnet_prefix_len=None, ttl=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dst_ip (
str
orNone
) – The destination ip address. format: ipv4 - flags (
long
orNone
) – IP flags format: int64 - protocol (
long
orNone
) – IP protocol - defaults to ICMP format: int64 - src_ip (
str
orNone
) – The source ip address. format: ipv4 - src_subnet_prefix_len (
long
orNone
) – This is used together with src_ip to calculate dst_ip for broadcast when dst_ip is not given; not used in all other cases. format: int64 - ttl (
long
orNone
) – Time to live (ttl) format: int64
- dst_ip (
-
class
com.vmware.nsx_policy.model_client.
Ipv6DadProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, dad_mode=None, ns_retries=None, wait_time=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Duplicate address detection profile.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - dad_mode (
str
orNone
) –Possible values are:
DAD Mode - ns_retries (
long
orNone
) – Number of Neighbor solicitation packets generated before completing the Duplicate address detection process. format: int64 - wait_time (
long
orNone
) – The time duration in seconds, to wait for Neighbor advertisement after sending the Neighbor solicitation message. format: int64
-
DAD_MODE_LOOSE
= 'LOOSE'¶
-
DAD_MODE_STRICT
= 'STRICT'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
Ipv6DadProfileListResult
(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
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
ofIpv6DadProfile
orNone
) – Paginated list of Ipv6DadProfile
- links (
-
class
com.vmware.nsx_policy.model_client.
Ipv6Header
(dst_ip=None, hop_limit=None, next_header=None, src_ip=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dst_ip (
str
orNone
) – The destination ip address. format: ipv6 - hop_limit (
long
orNone
) – Decremented by 1 by each node that forwards the packets. The packet is discarded if Hop Limit is decremented to zero. format: int64 - next_header (
long
orNone
) – Identifies the type of header immediately following the IPv6 header. format: int64 - src_ip (
str
orNone
) – The source ip address. format: ipv6
- dst_ip (
-
class
com.vmware.nsx_policy.model_client.
Ipv6NdraProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, dns_config=None, ra_config=None, ra_mode=None, reachable_timer=None, retransmit_interval=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
) – 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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - dns_config (
RaDNSConfig
orNone
) – DNS Configurations - ra_config (
RAConfig
orNone
) – RA Configuration - ra_mode (
str
orNone
) –Possible values are:
- reachable_timer (
long
orNone
) – Neighbour reachable time duration in milliseconds. A value of 0 means unspecified. format: int64 - retransmit_interval (
long
orNone
) – The time, in milliseconds, between retransmitted neighbour solicitation messages. A value of 0 means unspecified. format: int64
-
RA_MODE_DHCP_ADDRESS_AND_DNS_THROUGH_DHCP
= 'DHCP_ADDRESS_AND_DNS_THROUGH_DHCP'¶
-
RA_MODE_DISABLED
= 'DISABLED'¶
-
RA_MODE_SLAAC_AND_ADDRESS_DNS_THROUGH_DHCP
= 'SLAAC_AND_ADDRESS_DNS_THROUGH_DHCP'¶
-
RA_MODE_SLAAC_DNS_THROUGH_DHCP
= 'SLAAC_DNS_THROUGH_DHCP'¶
-
RA_MODE_SLAAC_DNS_THROUGH_RA
= 'SLAAC_DNS_THROUGH_RA'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
Ipv6NdraProfileListResult
(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
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
ofIpv6NdraProfile
orNone
) – Paginated list of Ipv6NdraProfile
- links (
-
class
com.vmware.nsx_policy.model_client.
KeyValuePair
(key=None, value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
An arbitrary key-value pair
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - key (
str
orNone
) – Key - value (
str
orNone
) – Value
- key (
-
class
com.vmware.nsx_policy.model_client.
L2BridgeEndpointProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, edge_paths=None, failover_mode=None, ha_mode=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Used to configure L2 Bridge endpoint profile
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - edge_paths (
list
ofstr
orNone
) – List of policy paths to edge nodes. Edge allocation for L2 bridging. - failover_mode (
str
orNone
) –Possible values are:
L2BridgeEndpointProfile.FAILOVER_MODE_PREEMPTIVE
L2BridgeEndpointProfile.FAILOVER_MODE_NON_PREEMPTIVE
Failover mode for the edge bridge cluster - ha_mode (
str
orNone
) –Possible values are:
High avaialability mode can be active-active or active-standby. High availability mode cannot be modified after realization.
-
FAILOVER_MODE_NON_PREEMPTIVE
= 'NON_PREEMPTIVE'¶
-
FAILOVER_MODE_PREEMPTIVE
= 'PREEMPTIVE'¶
-
HA_MODE_STANDBY
= 'ACTIVE_STANDBY'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
L2BridgeEndpointProfileListResult
(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
Paged Collection of L2BridgeEndpointProfile
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
ofL2BridgeEndpointProfile
orNone
) – L2BridgeEndpointProfile list results
- links (
-
class
com.vmware.nsx_policy.model_client.
L2Extension
(l2vpn_path=None, l2vpn_paths=None, local_egress=None, tunnel_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Segment specific L2 VPN configuration
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - l2vpn_path (
str
orNone
) – This property has been deprecated. Please use the property l2vpn_paths for setting the paths of associated L2 VPN session. This property will continue to work as expected to provide backwards compatibility. However, when both l2vpn_path and l2vpn_paths properties are specified, only l2vpn_paths is used. - l2vpn_paths (
list
ofstr
orNone
) – Policy paths corresponding to the associated L2 VPN sessions - local_egress (
LocalEgress
orNone
) – Local Egress. - tunnel_id (
long
orNone
) – Tunnel ID format: int32
- l2vpn_path (
-
class
com.vmware.nsx_policy.model_client.
L2ForwarderRemoteMacsPerSite
(remote_active_ips=None, remote_mac_addresses=None, remote_site=None, remote_standby_ips=None, rtep_group_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - remote_active_ips (
list
ofstr
orNone
) – Remote active IP addresses. format: ip 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_mac_addresses (
list
ofstr
orNone
) – Remote mac addresses. 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_site (
ResourceReference
orNone
) – Remote site details. - remote_standby_ips (
list
ofstr
orNone
) – Remote standby IP addresses. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - rtep_group_id (
long
orNone
) – 32 bit unique RTEP group id of the logical switch per site. 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.
- remote_active_ips (
-
class
com.vmware.nsx_policy.model_client.
L2ForwarderStatusPerNode
(high_availability_status=None, transport_node=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - high_availability_status (
str
orNone
) –Possible values are:
L2ForwarderStatusPerNode.HIGH_AVAILABILITY_STATUS_ACTIVE
L2ForwarderStatusPerNode.HIGH_AVAILABILITY_STATUS_STANDBY
L2ForwarderStatusPerNode.HIGH_AVAILABILITY_STATUS_DOWN
L2ForwarderStatusPerNode.HIGH_AVAILABILITY_STATUS_SYNC
L2ForwarderStatusPerNode.HIGH_AVAILABILITY_STATUS_UNKNOWN
High Availability status of a service router on the edge node.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- transport_node (
ResourceReference
orNone
) – Edge node details from where the router status is being retrieved.
-
HIGH_AVAILABILITY_STATUS_ACTIVE
= 'ACTIVE'¶
-
HIGH_AVAILABILITY_STATUS_DOWN
= 'DOWN'¶
-
HIGH_AVAILABILITY_STATUS_STANDBY
= 'STANDBY'¶
-
HIGH_AVAILABILITY_STATUS_SYNC
= 'SYNC'¶
-
HIGH_AVAILABILITY_STATUS_UNKNOWN
= 'UNKNOWN'¶
- high_availability_status (
-
class
com.vmware.nsx_policy.model_client.
L2VPNService
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, enable_hub=None, encap_ip_pool=None, mode=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
L2VPN Service defines if service running as server or client. It also defines all the common properties for the multiple L2VPN Sessions associated with this service.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - enable_hub (
bool
orNone
) – This property applies only in SERVER mode. If set to true, traffic from any client will be replicated to all other clients. If set to false, traffic received from clients is only replicated to the local VPN endpoint. - encap_ip_pool (
list
ofstr
orNone
) – IP Pool to allocate local and peer endpoint IPs for L2VpnSession logical tap. format: ipv4-cidr-block - mode (
str
orNone
) –Possible values are:
Specify an L2VPN service mode as SERVER or CLIENT.
-
MODE_CLIENT
= 'CLIENT'¶
-
MODE_SERVER
= 'SERVER'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
L2VPNServiceListResult
(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
Paged Collection of L2VPNServices
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
ofL2VPNService
orNone
) – L2VPNService list results
- links (
-
class
com.vmware.nsx_policy.model_client.
L2VPNSession
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, enabled=None, transport_tunnels=None, tunnel_encapsulation=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Defines the tunnel local and peer addresses along with multiple tansport tunnels for redundancy. L2VPNSession belongs to only one L2VPNService.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
) – Enable to extend all the associated segments. - transport_tunnels (
list
ofstr
orNone
) – List of transport tunnels for redundancy. - tunnel_encapsulation (
L2VPNTunnelEncapsulation
orNone
) – Tunnel encapsulation config. This property only applies in CLIENT mode. It is auto-populated from the L2VPNSessionData.
- links (
-
class
com.vmware.nsx_policy.model_client.
L2VPNSessionData
(description=None, display_name=None, enabled=None, transport_tunnels=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
L2VPN Session Data represents meta data necessary to create the L2VPN Session. It is represented by an array of peer code for each tunnel.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - description (
str
orNone
) – Description of L2VPN Session - display_name (
str
orNone
) – Defaults to id if not set. - enabled (
bool
orNone
) – Enable to extend all the associated segments. - transport_tunnels (
list
ofL2VPNSessionTransportTunnelData
orNone
) – List of L2VPN transport tunnel data.
- description (
-
class
com.vmware.nsx_policy.model_client.
L2VPNSessionListResult
(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
Paged Collection of L2VPNSession
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
ofL2VPNSession
orNone
) – L2VPNSession list results
- links (
-
class
com.vmware.nsx_policy.model_client.
L2VPNSessionPeerConfigNsxt
(peer_codes=None, alarm=None, enforcement_point_path=None, resource_type='L2VPNSessionPeerConfigNsxT')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
L2VPNSessionPeerCodes represents an array of peer code for each tunnel. The peer code is necessary to configure the remote end of the tunnel. Currently only stand-along/unmanaged edge is supported on the remote end of the tunnel.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - peer_codes (
list
ofL2VPNSessionTransportTunnelPeerCode
orNone
) – List of peer codes per transport tunnel. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –Possible values are:
-
resource_type
¶ Return the discriminator value
- peer_codes (
-
class
com.vmware.nsx_policy.model_client.
L2VPNSessionPeerConfigPerEP
(alarm=None, enforcement_point_path=None, resource_type='L2VPNSessionPeerConfigPerEP')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Peer config per Enforcement Point to configure the other side of the tunnel.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –Possible values are:
-
RESOURCE_TYPE_L2VPNSESSIONPEERCONFIGNSXT
= 'L2VPNSessionPeerConfigNsxT'¶
-
resource_type
¶ Return the discriminator value
- alarm (
-
class
com.vmware.nsx_policy.model_client.
L2VPNSessionStatisticsNsxt
(display_name=None, tap_traffic_counters=None, traffic_statistics_per_segment=None, alarm=None, enforcement_point_path=None, resource_type='L2VPNSessionStatisticsNsxT')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
L2VPN session statistics gives session status and traffic statistics per segment.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - display_name (
str
orNone
) – Display name of l2vpn session. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - tap_traffic_counters (
list
ofL2VPNTapStatistics
orNone
) – Tunnel port traffic counters. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - traffic_statistics_per_segment (
list
ofL2VPNTrafficStatisticsPerSegment
orNone
) – Traffic statistics per segment. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –Possible values are:
-
resource_type
¶ Return the discriminator value
- display_name (
-
class
com.vmware.nsx_policy.model_client.
L2VPNSessionStatisticsPerEP
(alarm=None, enforcement_point_path=None, resource_type='L2VPNSessionStatisticsPerEP')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
L2VPN Session Statistics Per Enforcement Point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –Possible values are:
-
RESOURCE_TYPE_L2VPNSESSIONSTATISTICSNSXT
= 'L2VPNSessionStatisticsNsxT'¶
-
resource_type
¶ Return the discriminator value
- alarm (
-
class
com.vmware.nsx_policy.model_client.
L2VPNSessionStatusNsxt
(display_name=None, runtime_status=None, transport_tunnels=None, alarm=None, enforcement_point_path=None, resource_type='L2VPNSessionStatusNsxT')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
L2VPN Session Status represents status on an NSX-T type of enforcement point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - display_name (
str
orNone
) – Display name of l2vpn session. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - runtime_status (
str
orNone
) –Possible values are:
L2 VPN session status, specifies UP/DOWN.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- transport_tunnels (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – Transport tunnels status. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inL2VPNSessionTransportTunnelStatus
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inL2VPNSessionTransportTunnelStatus
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –Possible values are:
-
RUNTIME_STATUS_DOWN
= 'DOWN'¶
-
RUNTIME_STATUS_UP
= 'UP'¶
-
resource_type
¶ Return the discriminator value
- display_name (
-
class
com.vmware.nsx_policy.model_client.
L2VPNSessionStatusPerEP
(alarm=None, enforcement_point_path=None, resource_type='L2VPNSessionStatusPerEP')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
L2VPN Session Status Per Enforcement Point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –Possible values are:
-
RESOURCE_TYPE_L2VPNSESSIONSTATUSNSXT
= 'L2VPNSessionStatusNsxT'¶
-
resource_type
¶ Return the discriminator value
- alarm (
-
class
com.vmware.nsx_policy.model_client.
L2VPNSessionTransportTunnelData
(local_address=None, peer_address=None, peer_code=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
L2VPN Session Transport Tunnel Data uses a peer code which has all the information to create the transport tunnel.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - local_address (
str
orNone
) – IPv4 Address of local endpoint. format: ipv4 - peer_address (
str
orNone
) – IPv4 Address of Peer endpoint on remote site. format: ipv4 - peer_code (
str
orNone
) – Peer code represents a base64 encoded string which has all the configuration for tunnel. E.g local/peer ips and protocol, encryption algorithm, etc. Peer code also contains PSK; be careful when sharing or storing it.
- local_address (
-
class
com.vmware.nsx_policy.model_client.
L2VPNSessionTransportTunnelPeerCode
(peer_code=None, transport_tunnel_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
L2VPN transport tunnel peer code.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - peer_code (
str
orNone
) – Peer code represents a base64 encoded string which has all the configuration for tunnel. E.g local/peer ips and protocol, encryption algorithm, etc. Peer code also contains PSK; be careful when sharing or storing it. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_tunnel_path (
str
orNone
) – Policy Path referencing the transport tunnel. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- peer_code (
-
class
com.vmware.nsx_policy.model_client.
L2VPNSessionTransportTunnelStatus
(resource_type='L2VPNSessionTransportTunnelStatus', transport_tunnel_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Transport tunnel status.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - resource_type (
str
) –Possible values are:
- transport_tunnel_path (
str
orNone
) – Policy path referencing Transport Tunnel. 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_IPSECVPNTRANSPORTSTATUS
= 'IPSecVpnTransportStatus'¶
-
resource_type
¶ Return the discriminator value
- resource_type (
-
class
com.vmware.nsx_policy.model_client.
L2VPNTapStatistics
(bytes_in=None, bytes_out=None, packets_in=None, packets_out=None, packets_receive_error=None, packets_sent_error=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
TAP (Terminal access point) traffic statistics for L2VPN.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - bytes_in (
long
orNone
) – Total number of incoming bytes. 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. - bytes_out (
long
orNone
) – Total number of outgoing bytes. 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. - packets_in (
long
orNone
) – Total number of incoming packets. 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. - packets_out (
long
orNone
) – Total number of outgoing packets. 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. - packets_receive_error (
long
orNone
) – Total number of incoming packets dropped. 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. - packets_sent_error (
long
orNone
) – Total number of packets dropped while sending for any reason. 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.
- bytes_in (
-
class
com.vmware.nsx_policy.model_client.
L2VPNTrafficStatisticsPerSegment
(bum_bytes_in=None, bum_bytes_out=None, bum_packets_in=None, bum_packets_out=None, bytes_in=None, bytes_out=None, packets_in=None, packets_out=None, packets_receive_error=None, packets_sent_error=None, segment_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Traffic statistics for a segment.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - bum_bytes_in (
long
orNone
) – Total number of incoming Broadcast, Unknown unicast and Multicast (BUM) bytes. 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. - bum_bytes_out (
long
orNone
) – Total number of outgoing Broadcast, Unknown unicast and Multicast (BUM) bytes. 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. - bum_packets_in (
long
orNone
) – Total number of incoming Broadcast, Unknown unicast and Multicast (BUM) packets. 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. - bum_packets_out (
long
orNone
) – Total number of outgoing Broadcast, Unknown unicast and Multicast (BUM) packets. 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. - bytes_in (
long
orNone
) – Total number of incoming bytes. 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. - bytes_out (
long
orNone
) – Total number of outgoing bytes. 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. - packets_in (
long
orNone
) – Total number of incoming packets. 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. - packets_out (
long
orNone
) – Total number of outgoing packets. 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. - packets_receive_error (
long
orNone
) – Total number of incoming packets dropped. 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. - packets_sent_error (
long
orNone
) – Total number of packets dropped while sending for any reason. 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. - segment_path (
str
orNone
) – Policy path referencing the segment on which stats are gathered. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- bum_bytes_in (
-
class
com.vmware.nsx_policy.model_client.
L2VPNTunnelEncapsulation
(local_endpoint_address=None, peer_endpoint_address=None, protocol=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
L2VPN tunnel encapsulation config.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - local_endpoint_address (
str
orNone
) – IP Address of the local tunnel port. This property only applies in CLIENT mode. 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. - peer_endpoint_address (
str
orNone
) – IP Address of the peer tunnel port. This property only applies in CLIENT mode. 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. - protocol (
str
orNone
) –Possible values are:
Encapsulation protocol used by the tunnel.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
PROTOCOL_GRE
= 'GRE'¶
- local_endpoint_address (
-
class
com.vmware.nsx_policy.model_client.
L2Vpn
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, enabled=None, transport_tunnels=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Contains information necessary to configure L2Vpn.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
) – Enable to extend all the associated segments. - transport_tunnels (
list
ofstr
orNone
) – List of paths referencing transport tunnels.
- links (
-
class
com.vmware.nsx_policy.model_client.
L2VpnContext
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, enable_hub=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
L2Vpn Context provides meta-data information about the parent Tier-0.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - enable_hub (
bool
orNone
) – If enabled, the tier-0 acts as a Hub and replicates traffic received from peer to all other peers. If disabled, the tier-0 acts as a Spoke and replicates only the local.
- links (
-
class
com.vmware.nsx_policy.model_client.
L2VpnListResult
(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
Paged Collection of L2Vpns
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
ofL2Vpn
orNone
) – L2Vpn list results
- links (
-
class
com.vmware.nsx_policy.model_client.
L2VpnPeerCodes
(peer_codes=None, enforcement_point_path=None, resource_type='L2VpnPeerCodes')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Get the peer_code for each tunnel to paste on the remote end of the tunnel. Currently only stand-along/unmanaged edge is supported on the remote end of the tunnel.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - peer_codes (
list
ofL2VpnTransportTunnelPeerCode
orNone
) – List of peer codes per transport tunnel. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point to which the config belongs. 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
) –Possible values are:
-
resource_type
¶ Return the discriminator value
- peer_codes (
-
class
com.vmware.nsx_policy.model_client.
L2VpnPeerConfigPerEnforcementPoint
(enforcement_point_path=None, resource_type='L2VpnPeerConfigPerEnforcementPoint')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Peer config per Enforcement Point to configure the other side of the tunnel.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point to which the config belongs. 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
) –Possible values are:
-
RESOURCE_TYPE_L2VPNPEERCODES
= 'L2VpnPeerCodes'¶
-
resource_type
¶ Return the discriminator value
- enforcement_point_path (
-
class
com.vmware.nsx_policy.model_client.
L2VpnPerSegmentTrafficStatistics
(bum_bytes_in=None, bum_bytes_out=None, bum_packets_in=None, bum_packets_out=None, bytes_in=None, bytes_out=None, packets_in=None, packets_out=None, packets_receive_error=None, packets_sent_error=None, segment_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Traffic statistics for a segment.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - bum_bytes_in (
long
orNone
) – Total number of incoming Broadcast, Unknown unicast and Multicast (BUM) bytes. 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. - bum_bytes_out (
long
orNone
) – Total number of outgoing Broadcast, Unknown unicast and Multicast (BUM) bytes. 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. - bum_packets_in (
long
orNone
) – Total number of incoming Broadcast, Unknown unicast and Multicast (BUM) packets. 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. - bum_packets_out (
long
orNone
) – Total number of outgoing Broadcast, Unknown unicast and Multicast (BUM) packets. 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. - bytes_in (
long
orNone
) – Total number of incoming bytes. 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. - bytes_out (
long
orNone
) – Total number of outgoing bytes. 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. - packets_in (
long
orNone
) – Total number of incoming packets. 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. - packets_out (
long
orNone
) – Total number of outgoing packets. 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. - packets_receive_error (
long
orNone
) – Total number of incoming packets dropped. 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. - packets_sent_error (
long
orNone
) – Total number of packets dropped while sending for any reason. 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. - segment_path (
str
orNone
) – Policy path referencing the segment on which stats are gathered. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- bum_bytes_in (
-
class
com.vmware.nsx_policy.model_client.
L2VpnSessionRemoteMacForSegment
(remote_mac_addresses=None, segment_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Remote MAC addresses for logical switch.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - remote_mac_addresses (
list
ofstr
orNone
) – Remote Mac addresses. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - segment_path (
str
orNone
) – Intent path of the segment.
- remote_mac_addresses (
-
class
com.vmware.nsx_policy.model_client.
L2VpnSessionRemoteMacNsxt
(display_name=None, remote_macs=None, alarm=None, enforcement_point_path=None, resource_type='L2VpnSessionRemoteMacNsxT')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Remote Macs of L2Vpn Session on NsxT.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - display_name (
str
orNone
) – Display name of L2Vpn session. 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_macs (
list
ofL2VpnSessionRemoteMacForSegment
orNone
) – List of mac addresses of logical switches for an l2vpn session. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –Possible values are:
-
resource_type
¶ Return the discriminator value
- display_name (
-
class
com.vmware.nsx_policy.model_client.
L2VpnSessionRemoteMacPerEP
(alarm=None, enforcement_point_path=None, resource_type='L2VpnSessionRemoteMacPerEP')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
L2Vpn Session Remote Macs Per Enforcement Point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –Possible values are:
-
RESOURCE_TYPE_L2VPNSESSIONREMOTEMACNSXT
= 'L2VpnSessionRemoteMacNsxT'¶
-
resource_type
¶ Return the discriminator value
- alarm (
-
class
com.vmware.nsx_policy.model_client.
L2VpnSessionStatistics
(tap_traffic_counters=None, traffic_statistics_per_segment=None, enforcement_point_path=None, resource_type='L2VpnSessionStatistics')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Session statistics gives VPN session status and traffic statistics per segment.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - tap_traffic_counters (
list
ofL2VpnTapTrafficStatistics
orNone
) – Tunnel port traffic counters. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - traffic_statistics_per_segment (
list
ofL2VpnPerSegmentTrafficStatistics
orNone
) – Traffic statistics per segment. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point wehere the statistics are fetched. 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
) –Possible values are:
-
resource_type
¶ Return the discriminator value
- tap_traffic_counters (
-
class
com.vmware.nsx_policy.model_client.
L2VpnStatisticsPerEnforcementPoint
(enforcement_point_path=None, resource_type='L2VpnStatisticsPerEnforcementPoint')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
L2Vpn Statistics Per Enforcement Point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point wehere the statistics are fetched. 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
) –Possible values are:
-
RESOURCE_TYPE_L2VPNSESSIONSTATISTICS
= 'L2VpnSessionStatistics'¶
-
resource_type
¶ Return the discriminator value
- enforcement_point_path (
-
class
com.vmware.nsx_policy.model_client.
L2VpnTapTrafficStatistics
(bytes_in=None, bytes_out=None, packets_in=None, packets_out=None, packets_receive_error=None, packets_sent_error=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
TAP (Terminal access point) traffic statistics for L2Vpn.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - bytes_in (
long
orNone
) – Total number of incoming bytes. 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. - bytes_out (
long
orNone
) – Total number of outgoing bytes. 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. - packets_in (
long
orNone
) – Total number of incoming packets. 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. - packets_out (
long
orNone
) – Total number of outgoing packets. 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. - packets_receive_error (
long
orNone
) – Total number of incoming packets dropped. 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. - packets_sent_error (
long
orNone
) – Total number of packets dropped while sending for any reason. 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.
- bytes_in (
-
class
com.vmware.nsx_policy.model_client.
L2VpnTransportTunnelPeerCode
(peer_code=None, transport_tunnel_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
L2Vpn transport tunnel peer code.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - peer_code (
str
orNone
) – Copy this code to paste on the remote end of the tunnel. This is a base64 encoded string which has all the configuration for tunnel. E.g local/remote ips and protocol, encryption algorithm, etc. Peer code also contains PSK; be careful when sharing or storing it. - transport_tunnel_path (
str
orNone
) – Policy path referencing the transport tunnel.
- peer_code (
-
class
com.vmware.nsx_policy.model_client.
L3Vpn
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, dh_groups=None, enable_perfect_forward_secrecy=None, enabled=None, ike_digest_algorithms=None, ike_encryption_algorithms=None, ike_version=None, l3vpn_session=None, local_address=None, passphrases=None, remote_private_address=None, remote_public_address=None, tunnel_digest_algorithms=None, tunnel_encryption_algorithms=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Contains information necessary to configure IPSec VPN.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - dh_groups (
list
ofstr
orNone
) –Possible values are:
L3Vpn.DH_GROUPS_GROUP2
L3Vpn.DH_GROUPS_GROUP5
L3Vpn.DH_GROUPS_GROUP14
L3Vpn.DH_GROUPS_GROUP15
L3Vpn.DH_GROUPS_GROUP16
Diffie-Hellman group to be used if PFS is enabled. Default group is GROUP14.
- enable_perfect_forward_secrecy (
bool
orNone
) – If true, perfect forward secrecy (PFS) is enabled. - enabled (
bool
orNone
) – Flag to enable L3Vpn. Default is enabled. - ike_digest_algorithms (
list
ofstr
orNone
) –Possible values are:
Algorithm to be used for message digest during Internet Key Exchange(IKE) negotiation. Default is SHA2_256.
- ike_encryption_algorithms (
list
ofstr
orNone
) –Possible values are:
L3Vpn.IKE_ENCRYPTION_ALGORITHMS__128
L3Vpn.IKE_ENCRYPTION_ALGORITHMS__256
L3Vpn.IKE_ENCRYPTION_ALGORITHMS_GCM_128
L3Vpn.IKE_ENCRYPTION_ALGORITHMS_GCM_192
L3Vpn.IKE_ENCRYPTION_ALGORITHMS_GCM_256
Algorithm to be used during Internet Key Exchange(IKE) negotiation. Default is AES_128.
- ike_version (
str
orNone
) –Possible values are:
IKE protocol version to be used. IKE-Flex will initiate IKE-V2 and responds to both IKE-V1 and IKE-V2.
- l3vpn_session (
vmware.vapi.struct.VapiStruct
orNone
) – L3Vpn Session When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inL3VpnSession
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inL3VpnSession
. - local_address (
str
orNone
) – IPv4 address of local gateway format: ipv4 - passphrases (
list
ofstr
orNone
) – List of IPSec pre-shared keys used for IPSec authentication. If not specified, the older passphrase values are retained if there are any. - remote_private_address (
str
orNone
) – This field is used to resolve conflicts in case of a remote site being behind NAT as remote public ip address is not enough. If it is not the case the remote public address should be provided here. If not provided, the value of this field is set to remote_public_address. - remote_public_address (
str
orNone
) – Public IPv4 address of remote gateway format: ipv4 - tunnel_digest_algorithms (
list
ofstr
orNone
) –Possible values are:
Algorithm to be used for message digest during tunnel establishment. Default algorithm is empty.
- tunnel_encryption_algorithms (
list
ofstr
orNone
) –Possible values are:
L3Vpn.TUNNEL_ENCRYPTION_ALGORITHMS__128
L3Vpn.TUNNEL_ENCRYPTION_ALGORITHMS__256
L3Vpn.TUNNEL_ENCRYPTION_ALGORITHMS_GCM_128
L3Vpn.TUNNEL_ENCRYPTION_ALGORITHMS_GCM_192
L3Vpn.TUNNEL_ENCRYPTION_ALGORITHMS_GCM_256
Encryption algorithm to encrypt/decrypt the messages exchanged between IPSec VPN initiator and responder during tunnel negotiation. Default is AES_GCM_128.
-
DH_GROUPS_GROUP14
= 'GROUP14'¶
-
DH_GROUPS_GROUP15
= 'GROUP15'¶
-
DH_GROUPS_GROUP16
= 'GROUP16'¶
-
DH_GROUPS_GROUP2
= 'GROUP2'¶
-
DH_GROUPS_GROUP5
= 'GROUP5'¶
-
IKE_DIGEST_ALGORITHMS_SHA1
= 'SHA1'¶
-
IKE_DIGEST_ALGORITHMS_SHA2_256
= 'SHA2_256'¶
-
IKE_ENCRYPTION_ALGORITHMS_128
= 'AES_128'¶
-
IKE_ENCRYPTION_ALGORITHMS_256
= 'AES_256'¶
-
IKE_ENCRYPTION_ALGORITHMS_GCM_128
= 'AES_GCM_128'¶
-
IKE_ENCRYPTION_ALGORITHMS_GCM_192
= 'AES_GCM_192'¶
-
IKE_ENCRYPTION_ALGORITHMS_GCM_256
= 'AES_GCM_256'¶
-
IKE_VERSION_FLEX
= 'IKE_FLEX'¶
-
IKE_VERSION_V1
= 'IKE_V1'¶
-
IKE_VERSION_V2
= 'IKE_V2'¶
-
TUNNEL_DIGEST_ALGORITHMS_SHA1
= 'SHA1'¶
-
TUNNEL_DIGEST_ALGORITHMS_SHA2_256
= 'SHA2_256'¶
-
TUNNEL_ENCRYPTION_ALGORITHMS_128
= 'AES_128'¶
-
TUNNEL_ENCRYPTION_ALGORITHMS_256
= 'AES_256'¶
-
TUNNEL_ENCRYPTION_ALGORITHMS_GCM_128
= 'AES_GCM_128'¶
-
TUNNEL_ENCRYPTION_ALGORITHMS_GCM_192
= 'AES_GCM_192'¶
-
TUNNEL_ENCRYPTION_ALGORITHMS_GCM_256
= 'AES_GCM_256'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
L3VpnContext
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, available_local_addresses=None, bypass_rules=None, enabled=None, ike_log_level=None, label=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
L3Vpn Context provides the configuration context that different L3Vpns can consume.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - available_local_addresses (
list
ofPolicyIPAddressInfo
orNone
) – Local gateway IPv4 addresses available for configuration of each L3Vpn. - bypass_rules (
list
ofL3VpnRule
orNone
) – Bypass L3Vpn rules that will be shared across L3Vpns. Only Bypass action is supported on these L3Vpn rules. - enabled (
bool
orNone
) – If true, enable L3Vpn Service for given tier-0. Enabling/disabling this service affects all L3Vpns under the given tier-0. - ike_log_level (
str
orNone
) –Possible values are:
L3VpnContext.IKE_LOG_LEVEL_DEBUG
L3VpnContext.IKE_LOG_LEVEL_INFO
L3VpnContext.IKE_LOG_LEVEL_WARN
L3VpnContext.IKE_LOG_LEVEL_ERROR
L3VpnContext.IKE_LOG_LEVEL_EMERGENCY
Log level for internet key exchange (IKE). - label (
str
orNone
) – Policy path referencing Label. A label is used as a mechanism to group route-based L3Vpns in order to apply edge firewall rules on members’ VTIs.
-
IKE_LOG_LEVEL_DEBUG
= 'DEBUG'¶
-
IKE_LOG_LEVEL_EMERGENCY
= 'EMERGENCY'¶
-
IKE_LOG_LEVEL_ERROR
= 'ERROR'¶
-
IKE_LOG_LEVEL_INFO
= 'INFO'¶
-
IKE_LOG_LEVEL_WARN
= 'WARN'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
L3VpnListResult
(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
Paged Collection of L3Vpns
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
ofL3Vpn
orNone
) – L3Vpn list results
- links (
-
class
com.vmware.nsx_policy.model_client.
L3VpnPeerConfigRequestParameters
(enforcement_point_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Peer Config Request parameters that represents an enforcement point path. A request to get the Peer config for an L3Vpn can be parameterized with this path and will be evaluted as follows: - no enforcement point path specified: the request is evaluated on all enforcement points. - {enforcement_point_path}: the request is evaluated only on the given enforcement point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: enforcement_point_path ( str
orNone
) – enforcement point path, forward slashes must be escaped using %2F.
-
class
com.vmware.nsx_policy.model_client.
L3VpnRule
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, action=None, destinations=None, sequence_number=None, sources=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
For policy-based L3Vpn sessions, a rule specifies as its action the vpn tunnel to be used for transit traffic that meets the rule’s match criteria.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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 (
str
orNone
) –Possible values are:
Action to exchange data with or without protection. PROTECT - Allows to exchange data with ipsec protection. Protect rules are defined per L3Vpn. BYPASS - Allows to exchange data without ipsec protection. Bypass rules are defined per L3VpnContext and affects all policy based L3Vpns. Bypass rules are prioritized over protect rules.
- destinations (
list
ofL3VpnSubnet
orNone
) – List of remote subnets used in policy-based L3Vpn. - sequence_number (
long
orNone
) – This field is used to resolve conflicts between multiple L3VpnRules associated with a single L3Vpn or L3VpnContext. format: int32 - sources (
list
ofL3VpnSubnet
orNone
) – List of local subnets used in policy-based L3Vpn.
-
ACTION_BYPASS
= 'BYPASS'¶
-
ACTION_PROTECT
= 'PROTECT'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
L3VpnSession
(resource_type='L3VpnSession')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Contains information about L3Vpn session.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: resource_type ( str
) –Possible values are:
L3VpnSession.RESOURCE_TYPE_POLICYBASEDL3VPNSESSION
L3VpnSession.RESOURCE_TYPE_ROUTEBASEDL3VPNSESSION
- A Policy Based L3Vpn is a configuration in which protect rules to
match local and remote subnet needs to be defined. Tunnel is established for each pair of local and remote subnet defined in protect rules. - A Route Based L3Vpn is more flexible, more powerful and recommended over policy based. IP Tunnel subnet is created and all traffic routed through tunnel subnet (commonly known as VTI) is sent over tunnel. Routes can be learned through BGP. A route based L3Vpn is required when using redundant L3Vpn.
-
RESOURCE_TYPE_POLICYBASEDL3VPNSESSION
= 'PolicyBasedL3VpnSession'¶
-
RESOURCE_TYPE_ROUTEBASEDL3VPNSESSION
= 'RouteBasedL3VpnSession'¶
-
resource_type
¶ Return the discriminator value
-
class
com.vmware.nsx_policy.model_client.
L3VpnStatisticsPerEnforcementPoint
(enforcement_point_path=None, resource_type='L3VpnStatisticsPerEnforcementPoint')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
L3Vpn Statistics Per Enforcement Point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point wehere the statistics are fetched. 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
) –Possible values are:
-
RESOURCE_TYPE_IPSECVPNSESSIONSTATISTICS
= 'IPSecVpnSessionStatistics'¶
-
resource_type
¶ Return the discriminator value
- enforcement_point_path (
-
class
com.vmware.nsx_policy.model_client.
L3VpnSubnet
(subnet=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Used to specify subnets in L3Vpn rule.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: subnet ( str
orNone
) – Subnet used in L3Vpn Rule. format: ipv4-cidr-block
-
class
com.vmware.nsx_policy.model_client.
L4PolicyLbPersistenceProfile
(persistence=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='L4PolicyLbPersistenceProfile', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Some applications maintain state and require all relevant connections to be sent to the same server as the application state is not synchronized among servers. Persistence is enabled on a PolicyLbVirtualServer by binding a persistence profile to it.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - persistence (
str
orNone
) –Possible values are:
This field indicates the persistence method used for the PolicyLbVirtualServer. - SOURCE_IP persistence ensures all connections from a client (identified by IP address) are sent to the same backend server for a specified period. - This object is not required and persistence is disabled by default
- 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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
PERSISTENCE_IP
= 'SOURCE_IP'¶
-
resource_type
¶ Return the discriminator value
- persistence (
-
class
com.vmware.nsx_policy.model_client.
L4PortSetServiceEntry
(destination_ports=None, l4_protocol=None, source_ports=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='L4PortSetServiceEntry', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
L4PortSet can be specified in comma separated notation of parts. Parts of a L4PortSet includes single integer or range of port in hyphen notation. Example of a PortSet: “22, 33-70, 44”.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - destination_ports (
list
ofstr
orNone
) – Number of values should not exceed 15, ranges count as 2 values. format: port-or-range - l4_protocol (
str
orNone
) –Possible values are:
- source_ports (
list
ofstr
orNone
) – Number of values should not exceed 15, ranges count as 2 values. format: port-or-range - 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
) –Possible values are:
ServiceEntry.RESOURCE_TYPE_IPPROTOCOLSERVICEENTRY
ServiceEntry.RESOURCE_TYPE_IGMPTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ICMPTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ALGTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_L4PORTSETSERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ETHERTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_NESTEDSERVICESERVICEENTRY
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
L4PROTOCOL_TCP
= 'TCP'¶
-
L4PROTOCOL_UDP
= 'UDP'¶
-
resource_type
¶ Return the discriminator value
- destination_ports (
-
class
com.vmware.nsx_policy.model_client.
L7PolicyLbPersistenceProfile
(persistence=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='L7PolicyLbPersistenceProfile', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Some applications maintain state and require all relevant connections to be sent to the same server as the application state is not synchronized among servers. Persistence is enabled on a PolicyLbVirtualServer by binding a persistence profile to it.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - persistence (
str
orNone
) –Possible values are:
This field indicates the persistence method used for the PolicyLbVirtualServer. - COOKIE persistence allows related client connections, identified by the same cookie in HTTP requests [Refer to HTTP Cookie for details on HTTP cookies], to be redirected to the same server. Load balancer does not maintain any persistence table for cookie persistence. Instead, it encodes the necessary information in the HTTP cookie value sent to client and relies on the client to store it and send it back in subsequent related HTTP requests. Hence there is no limit on the number of cookie persistence entries that can be supported. - This object is not required and persistence is disabled by default
- 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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
PERSISTENCE_COOKIE
= 'COOKIE'¶
-
resource_type
¶ Return the discriminator value
- persistence (
-
class
com.vmware.nsx_policy.model_client.
LBAccessListControl
(action=None, enabled=None, group_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
LBAccessListControl is used to define how IP access list control can filter the connections from clients.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - action (
str
orNone
) –Possible values are:
ALLOW means connections matching grouping object IP list are allowed and requests not matching grouping object IP list are dropped. DROP means connections matching grouping object IP list are dropped and requests not matching grouping object IP list are allowed.
- enabled (
bool
orNone
) – The enabled flag indicates whether to enable access list control option. It is false by default. - group_path (
str
orNone
) – The path of grouping object which defines the IP addresses or ranges to match the client IP.
-
ACTION_ALLOW
= 'ALLOW'¶
-
ACTION_DROP
= 'DROP'¶
- action (
-
class
com.vmware.nsx_policy.model_client.
LBActiveMonitor
(fall_count=None, interval=None, monitor_port=None, rise_count=None, timeout=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='LBActiveMonitor', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
All the active types of LBMonitorProfile extend from this abstract class. This is present for extensibility.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - fall_count (
long
orNone
) – Only if a healthcheck fails consecutively for a specified number of times, given with fall_count, to a member will the member status be marked DOWN. format: int64 - interval (
long
orNone
) – Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group. format: int64 - monitor_port (
long
orNone
) – Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value. For ICMP monitor, monitor_port is not required. format: int32 - rise_count (
long
orNone
) – Once a member is DOWN, a specified number of consecutive successful healthchecks specified by rise_count will bring the member back to UP state. format: int64 - timeout (
long
orNone
) – Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout. format: int64 - 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
) –Possible values are:
LBMonitorProfile.RESOURCE_TYPE_LBTCPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBUDPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBICMPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBHTTPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBHTTPSMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBPASSIVEMONITORPROFILE
There are two types of healthchecks: active and passive. Passive healthchecks depend on failures in actual client traffic (e.g. RST from server in response to a client connection) to detect that the server or the application is down. In case of active healthchecks, load balancer itself initiates new connections (or sends ICMP ping) to the servers periodically to check their health, completely independent of any data traffic. Currently, active health monitors are supported for HTTP, HTTPS, TCP, UDP and ICMP protocols.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
¶ Return the discriminator value
- fall_count (
-
class
com.vmware.nsx_policy.model_client.
LBAppProfile
(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='LBAppProfile', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
App profile.
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
) –Possible values are:
LBAppProfile.RESOURCE_TYPE_LBHTTPPROFILE
LBAppProfile.RESOURCE_TYPE_LBFASTTCPPROFILE
LBAppProfile.RESOURCE_TYPE_LBFASTUDPPROFILE
An application profile can be bound to a virtual server to specify the application protocol characteristics. It is used to influence how load balancing is performed. Currently, three types of application profiles are supported: LBFastTCPProfile, LBFastUDPProfile and LBHttpProfile. LBFastTCPProfile or LBFastUDPProfile is typically used when the application is using a custom protocol or a standard protocol not supported by the load balancer. It is also used in cases where the user only wants L4 load balancing mainly because L4 load balancing has much higher performance and scalability, and/or supports connection mirroring. LBHttpProfile is used for both HTTP and HTTPS applications. Though application rules, if bound to the virtual server, can be used to accomplish the same goal, LBHttpProfile is intended to simplify enabling certain common use cases.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_LBFASTTCPPROFILE
= 'LBFastTcpProfile'¶
-
RESOURCE_TYPE_LBFASTUDPPROFILE
= 'LBFastUdpProfile'¶
-
RESOURCE_TYPE_LBHTTPPROFILE
= 'LBHttpProfile'¶
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
LBAppProfileListResult
(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
Paged Collection of LBAppProfile
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
) – LBAppProfile list results When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inLBAppProfile
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inLBAppProfile
.
- links (
-
class
com.vmware.nsx_policy.model_client.
LBClientCertificateIssuerDnCondition
(case_sensitive=None, issuer_dn=None, match_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Match condition for client certficate issuer DN.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - case_sensitive (
bool
orNone
) – If true, case is significant when comparing issuer DN value. - issuer_dn (
str
orNone
) – Value of issuer DN. - match_type (
str
orNone
) –Possible values are:
LBClientCertificateIssuerDnCondition.MATCH_TYPE_STARTS_WITH
LBClientCertificateIssuerDnCondition.MATCH_TYPE_ENDS_WITH
LBClientCertificateIssuerDnCondition.MATCH_TYPE_EQUALS
LBClientCertificateIssuerDnCondition.MATCH_TYPE_CONTAINS
LBClientCertificateIssuerDnCondition.MATCH_TYPE_REGEX
Match type of issuer DN.
-
MATCH_TYPE_CONTAINS
= 'CONTAINS'¶
-
MATCH_TYPE_ENDS_WITH
= 'ENDS_WITH'¶
-
MATCH_TYPE_EQUALS
= 'EQUALS'¶
-
MATCH_TYPE_REGEX
= 'REGEX'¶
-
MATCH_TYPE_STARTS_WITH
= 'STARTS_WITH'¶
- case_sensitive (
-
class
com.vmware.nsx_policy.model_client.
LBClientCertificateSubjectDnCondition
(case_sensitive=None, match_type=None, subject_dn=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Match condition for client certficate subject DN.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - case_sensitive (
bool
orNone
) – If true, case is significant when comparing subject DN value. - match_type (
str
orNone
) –Possible values are:
LBClientCertificateSubjectDnCondition.MATCH_TYPE_STARTS_WITH
LBClientCertificateSubjectDnCondition.MATCH_TYPE_ENDS_WITH
LBClientCertificateSubjectDnCondition.MATCH_TYPE_EQUALS
LBClientCertificateSubjectDnCondition.MATCH_TYPE_CONTAINS
LBClientCertificateSubjectDnCondition.MATCH_TYPE_REGEX
Match type of subject DN. - subject_dn (
str
orNone
) – Value of subject DN.
-
MATCH_TYPE_CONTAINS
= 'CONTAINS'¶
-
MATCH_TYPE_ENDS_WITH
= 'ENDS_WITH'¶
-
MATCH_TYPE_EQUALS
= 'EQUALS'¶
-
MATCH_TYPE_REGEX
= 'REGEX'¶
-
MATCH_TYPE_STARTS_WITH
= 'STARTS_WITH'¶
- case_sensitive (
-
class
com.vmware.nsx_policy.model_client.
LBClientSslProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, cipher_group_label=None, ciphers=None, is_fips=None, is_secure=None, prefer_server_ciphers=None, protocols=None, session_cache_enabled=None, session_cache_timeout=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Client SSL profile.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - cipher_group_label (
str
orNone
) –Possible values are:
LBClientSslProfile.CIPHER_GROUP_LABEL_BALANCED
LBClientSslProfile.CIPHER_GROUP_LABEL_HIGH_SECURITY
LBClientSslProfile.CIPHER_GROUP_LABEL_HIGH_COMPATIBILITY
LBClientSslProfile.CIPHER_GROUP_LABEL_CUSTOM
It is a label of cipher group which is mostly consumed by GUI. - ciphers (
list
ofstr
orNone
) –Possible values are:
LBClientSslProfile.CIPHERS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
LBClientSslProfile.CIPHERS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
LBClientSslProfile.CIPHERS_ECDHE_RSA_WITH_AES_256_CBC_SHA
LBClientSslProfile.CIPHERS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
LBClientSslProfile.CIPHERS_ECDH_ECDSA_WITH_AES_256_CBC_SHA
LBClientSslProfile.CIPHERS_ECDH_RSA_WITH_AES_256_CBC_SHA
LBClientSslProfile.CIPHERS_RSA_WITH_AES_256_CBC_SHA
LBClientSslProfile.CIPHERS_RSA_WITH_AES_128_CBC_SHA
LBClientSslProfile.CIPHERS_RSA_WITH_3DES_EDE_CBC_SHA
LBClientSslProfile.CIPHERS_ECDHE_RSA_WITH_AES_128_CBC_SHA
LBClientSslProfile.CIPHERS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
LBClientSslProfile.CIPHERS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
LBClientSslProfile.CIPHERS_RSA_WITH_AES_128_CBC_SHA256
LBClientSslProfile.CIPHERS_RSA_WITH_AES_128_GCM_SHA256
LBClientSslProfile.CIPHERS_RSA_WITH_AES_256_CBC_SHA256
LBClientSslProfile.CIPHERS_RSA_WITH_AES_256_GCM_SHA384
LBClientSslProfile.CIPHERS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
LBClientSslProfile.CIPHERS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
LBClientSslProfile.CIPHERS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
LBClientSslProfile.CIPHERS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384
LBClientSslProfile.CIPHERS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
LBClientSslProfile.CIPHERS_ECDH_ECDSA_WITH_AES_128_CBC_SHA
LBClientSslProfile.CIPHERS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256
LBClientSslProfile.CIPHERS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256
LBClientSslProfile.CIPHERS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384
LBClientSslProfile.CIPHERS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384
LBClientSslProfile.CIPHERS_ECDH_RSA_WITH_AES_128_CBC_SHA
LBClientSslProfile.CIPHERS_ECDH_RSA_WITH_AES_128_CBC_SHA256
LBClientSslProfile.CIPHERS_ECDH_RSA_WITH_AES_128_GCM_SHA256
LBClientSslProfile.CIPHERS_ECDH_RSA_WITH_AES_256_CBC_SHA384
Supported SSL cipher list to client side.
- is_fips (
bool
orNone
) – This flag is set to true when all the ciphers and protocols are FIPS compliant. It is set to false when one of the ciphers or protocols are not FIPS compliant.. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - is_secure (
bool
orNone
) – This flag is set to true when all the ciphers and protocols are secure. It is set to false when one of the ciphers or protocols is insecure. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - prefer_server_ciphers (
bool
orNone
) – During SSL handshake as part of the SSL client Hello client sends an ordered list of ciphers that it can support (or prefers) and typically server selects the first one from the top of that list it can also support. For Perfect Forward Secrecy(PFS), server could override the client’s preference. - protocols (
list
ofstr
orNone
) –Possible values are:
LBClientSslProfile.PROTOCOLS_SSL_V2
LBClientSslProfile.PROTOCOLS_SSL_V3
LBClientSslProfile.PROTOCOLS_TLS_V1
LBClientSslProfile.PROTOCOLS_TLS_V1_1
LBClientSslProfile.PROTOCOLS_TLS_V1_2
SSL versions TLS1.1 and TLS1.2 are supported and enabled by default. SSLv2, SSLv3, and TLS1.0 are supported, but disabled by default.
- session_cache_enabled (
bool
orNone
) – SSL session caching allows SSL client and server to reuse previously negotiated security parameters avoiding the expensive public key operation during handshake. - session_cache_timeout (
long
orNone
) – Session cache timeout specifies how long the SSL session parameters are held on to and can be reused. format: int64
-
CIPHERS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
= 'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA'¶
-
CIPHERS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
= 'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256'¶
-
CIPHERS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
= 'TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256'¶
-
CIPHERS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
= 'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA'¶
-
CIPHERS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384
= 'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384'¶
-
CIPHERS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
= 'TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384'¶
-
CIPHERS_ECDHE_RSA_WITH_AES_128_CBC_SHA
= 'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA'¶
-
CIPHERS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
= 'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256'¶
-
CIPHERS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
= 'TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256'¶
-
CIPHERS_ECDHE_RSA_WITH_AES_256_CBC_SHA
= 'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA'¶
-
CIPHERS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
= 'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384'¶
-
CIPHERS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
= 'TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384'¶
-
CIPHERS_ECDH_ECDSA_WITH_AES_128_CBC_SHA
= 'TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA'¶
-
CIPHERS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256
= 'TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256'¶
-
CIPHERS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256
= 'TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256'¶
-
CIPHERS_ECDH_ECDSA_WITH_AES_256_CBC_SHA
= 'TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA'¶
-
CIPHERS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384
= 'TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384'¶
-
CIPHERS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384
= 'TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384'¶
-
CIPHERS_ECDH_RSA_WITH_AES_128_CBC_SHA
= 'TLS_ECDH_RSA_WITH_AES_128_CBC_SHA'¶
-
CIPHERS_ECDH_RSA_WITH_AES_128_CBC_SHA256
= 'TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256'¶
-
CIPHERS_ECDH_RSA_WITH_AES_128_GCM_SHA256
= 'TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256'¶
-
CIPHERS_ECDH_RSA_WITH_AES_256_CBC_SHA
= 'TLS_ECDH_RSA_WITH_AES_256_CBC_SHA'¶
-
CIPHERS_ECDH_RSA_WITH_AES_256_CBC_SHA384
= 'TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384'¶
-
CIPHERS_ECDH_RSA_WITH_AES_256_GCM_SHA384
= 'TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384'¶
-
CIPHERS_RSA_WITH_3DES_EDE_CBC_SHA
= 'TLS_RSA_WITH_3DES_EDE_CBC_SHA'¶
-
CIPHERS_RSA_WITH_AES_128_CBC_SHA
= 'TLS_RSA_WITH_AES_128_CBC_SHA'¶
-
CIPHERS_RSA_WITH_AES_128_CBC_SHA256
= 'TLS_RSA_WITH_AES_128_CBC_SHA256'¶
-
CIPHERS_RSA_WITH_AES_128_GCM_SHA256
= 'TLS_RSA_WITH_AES_128_GCM_SHA256'¶
-
CIPHERS_RSA_WITH_AES_256_CBC_SHA
= 'TLS_RSA_WITH_AES_256_CBC_SHA'¶
-
CIPHERS_RSA_WITH_AES_256_CBC_SHA256
= 'TLS_RSA_WITH_AES_256_CBC_SHA256'¶
-
CIPHERS_RSA_WITH_AES_256_GCM_SHA384
= 'TLS_RSA_WITH_AES_256_GCM_SHA384'¶
-
CIPHER_GROUP_LABEL_BALANCED
= 'BALANCED'¶
-
CIPHER_GROUP_LABEL_CUSTOM
= 'CUSTOM'¶
-
CIPHER_GROUP_LABEL_HIGH_COMPATIBILITY
= 'HIGH_COMPATIBILITY'¶
-
CIPHER_GROUP_LABEL_HIGH_SECURITY
= 'HIGH_SECURITY'¶
-
PROTOCOLS_SSL_V2
= 'SSL_V2'¶
-
PROTOCOLS_SSL_V3
= 'SSL_V3'¶
-
PROTOCOLS_TLS_V1
= 'TLS_V1'¶
-
PROTOCOLS_TLS_V1_1
= 'TLS_V1_1'¶
-
PROTOCOLS_TLS_V1_2
= 'TLS_V1_2'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
LBClientSslProfileBinding
(certificate_chain_depth=None, client_auth=None, client_auth_ca_paths=None, client_auth_crl_paths=None, default_certificate_path=None, sni_certificate_paths=None, ssl_profile_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Client SSL profile binding.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - certificate_chain_depth (
long
orNone
) – Authentication depth is used to set the verification depth in the client certificates chain. format: int64 - client_auth (
str
orNone
) –Possible values are:
Client authentication mode. - client_auth_ca_paths (
list
ofstr
orNone
) – If client auth type is REQUIRED, client certificate must be signed by one of the trusted Certificate Authorities (CAs), also referred to as root CAs, whose self signed certificates are specified. - client_auth_crl_paths (
list
ofstr
orNone
) – A Certificate Revocation List (CRL) can be specified in the client-side SSL profile binding to disallow compromised client certificates. - default_certificate_path (
str
orNone
) – A default certificate should be specified which will be used if the server does not host multiple hostnames on the same IP address or if the client does not support SNI extension. - sni_certificate_paths (
list
ofstr
orNone
) – Client-side SSL profile binding allows multiple certificates, for different hostnames, to be bound to the same virtual server. - ssl_profile_path (
str
orNone
) – Client SSL profile defines reusable, application-independent client side SSL properties.
-
CLIENT_AUTH_IGNORE
= 'IGNORE'¶
-
CLIENT_AUTH_REQUIRED
= 'REQUIRED'¶
- certificate_chain_depth (
-
class
com.vmware.nsx_policy.model_client.
LBClientSslProfileListResult
(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
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
ofLBClientSslProfile
orNone
) – Paginated list of load balancer client SSL profiles
- links (
-
class
com.vmware.nsx_policy.model_client.
LBConnectionDropAction
(type='LBConnectionDropAction')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This action is used to drop the connections. There is no extra propery in this action. If there is no match condition specified, the connection will be always dropped. This action can be specified at HTTP_ACCESS or HTTP_FORWARDING pahse.
Tip
The arguments are used to initialize data attributes with the same names.
-
type
¶ Return the discriminator value
-
-
class
com.vmware.nsx_policy.model_client.
LBCookiePersistenceProfile
(cookie_domain=None, cookie_fallback=None, cookie_garble=None, cookie_mode=None, cookie_name=None, cookie_path=None, cookie_time=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='LBCookiePersistenceProfile', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, persistence_shared=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Some applications maintain state and require all relevant connections to be sent to the same server as the application state is not synchronized among servers. Persistence is enabled on a LBVirtualServer by binding a persistence profile to it.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - cookie_domain (
str
orNone
) – HTTP cookie domain could be configured, only available for insert mode. - cookie_fallback (
bool
orNone
) – If fallback is true, once the cookie points to a server that is down (i.e. admin state DISABLED or healthcheck state is DOWN), then a new server is selected by default to handle that request. If fallback is false, it will cause the request to be rejected if cookie points to a server. - cookie_garble (
bool
orNone
) – If garble is set to true, cookie value (server IP and port) would be encrypted. If garble is set to false, cookie value would be plain text. - cookie_mode (
str
orNone
) –Possible values are:
LBCookiePersistenceProfile.COOKIE_MODE_INSERT
LBCookiePersistenceProfile.COOKIE_MODE_PREFIX
LBCookiePersistenceProfile.COOKIE_MODE_REWRITE
Cookie persistence mode. - cookie_name (
str
orNone
) – Cookie name. - cookie_path (
str
orNone
) – HTTP cookie path could be set, only available for insert mode. - cookie_time (
vmware.vapi.struct.VapiStruct
orNone
) – Both session cookie and persistence cookie are supported, if not specified, it’s a session cookie. It expires when the browser is closed. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inLBCookieTime
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inLBCookieTime
. - 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
) –Possible values are:
LBPersistenceProfile.RESOURCE_TYPE_LBSOURCEIPPERSISTENCEPROFILE
LBPersistenceProfile.RESOURCE_TYPE_LBCOOKIEPERSISTENCEPROFILE
The resource_type property identifies persistence profile type.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - persistence_shared (
bool
orNone
) – Persistence shared setting indicates that all LBVirtualServers that consume this LBPersistenceProfile should share the same persistence mechanism when enabled. Meaning, persistence entries of a client accessing one virtual server will also affect the same client’s connections to a different virtual server. For example, say there are two virtual servers vip-ip1:80 and vip-ip1:8080 bound to the same Group g1 consisting of two servers (s11:80 and s12:80). By default, each virtual server will have its own persistence table or cookie. So, in the earlier example, there will be two tables (vip-ip1:80, p1) and (vip-ip1:8080, p1) or cookies. So, if a client connects to vip1:80 and later connects to vip1:8080, the second connection may be sent to a different server than the first. When persistence_shared is enabled, then the second connection will always connect to the same server as the original connection. For COOKIE persistence type, the same cookie will be shared by multiple virtual servers. For SOURCE_IP persistence type, the persistence table will be shared across virtual servers. For GENERIC persistence type, the persistence table will be shared across virtual servers which consume the same persistence profile in LBRule actions.
-
COOKIE_MODE_INSERT
= 'INSERT'¶
-
COOKIE_MODE_PREFIX
= 'PREFIX'¶
-
COOKIE_MODE_REWRITE
= 'REWRITE'¶
-
resource_type
¶ Return the discriminator value
- cookie_domain (
-
class
com.vmware.nsx_policy.model_client.
LBCookieTime
(type='LBCookieTime')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Cookie time.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: type ( str
) –Possible values are:
Both session cookie and persistence cookie are supported, Use LbSessionCookieTime for session cookie time setting, Use LbPersistenceCookieTime for persistence cookie time setting
-
TYPE_LBPERSISTENCECOOKIETIME
= 'LBPersistenceCookieTime'¶
-
TYPE_LBSESSIONCOOKIETIME
= 'LBSessionCookieTime'¶
-
type
¶ Return the discriminator value
-
-
class
com.vmware.nsx_policy.model_client.
LBEdgeNodeUsage
(current_large_load_balancer_count=None, current_load_balancer_credits=None, current_medium_load_balancer_count=None, current_pool_count=None, current_pool_member_count=None, current_small_load_balancer_count=None, current_virtual_server_count=None, current_xlarge_load_balancer_count=None, edge_cluster_path=None, form_factor=None, load_balancer_credit_capacity=None, pool_member_capacity=None, remaining_large_load_balancer_count=None, remaining_medium_load_balancer_count=None, remaining_small_load_balancer_count=None, remaining_xlarge_load_balancer_count=None, severity=None, usage_percentage=None, node_path=None, resource_type='LBEdgeNodeUsage')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
The capacity contains basic information and load balancer entity usages and capacity for the given edge node.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - current_large_load_balancer_count (
long
orNone
) – The count of large load balancer services configured on the node. 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. - current_load_balancer_credits (
long
orNone
) – The current load balancer credits means the current credits used on the node. For example, configuring a medium load balancer on a node consumes 10 credits. If there are 2 medium instances configured on a node, the current credit number is 2 * 10 = 20. 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. - current_medium_load_balancer_count (
long
orNone
) – The count of medium load balancer services configured on the node. 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. - current_pool_count (
long
orNone
) – The count of pools configured on the node. 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. - current_pool_member_count (
long
orNone
) – The count of pool members configured on the node. 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. - current_small_load_balancer_count (
long
orNone
) – The count of small load balancer services configured on the node. 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. - current_virtual_server_count (
long
orNone
) – The count of virtual servers configured on the node. 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. - current_xlarge_load_balancer_count (
long
orNone
) – The count of xlarge load balancer services configured on the node. 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. - edge_cluster_path (
str
orNone
) – The path of edge cluster which contains the edge node. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - form_factor (
str
orNone
) –Possible values are:
LBEdgeNodeUsage.FORM_FACTOR_SMALL_VIRTUAL_MACHINE
LBEdgeNodeUsage.FORM_FACTOR_MEDIUM_VIRTUAL_MACHINE
LBEdgeNodeUsage.FORM_FACTOR_LARGE_VIRTUAL_MACHINE
LBEdgeNodeUsage.FORM_FACTOR_XLARGE_VIRTUAL_MACHINE
LBEdgeNodeUsage.FORM_FACTOR_PHYSICAL_MACHINE
The form factor of the given edge node.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- load_balancer_credit_capacity (
long
orNone
) – The load balancer credit capacity means the maximum credits which can be used for load balancer configuration for the given edge node. 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. - pool_member_capacity (
long
orNone
) – Pool member capacity means maximum number of pool members which can be configured on the given edge node. 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. - remaining_large_load_balancer_count (
long
orNone
) – The remaining count of large load balancer services which can be configured on the given edge node. 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. - remaining_medium_load_balancer_count (
long
orNone
) – The remaining count of medium load balancer services which can be configured on the given edge node. 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. - remaining_small_load_balancer_count (
long
orNone
) – The remaining count of small load balancer services which can be configured on the given edge node. 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. - remaining_xlarge_load_balancer_count (
long
orNone
) – The remaining count of xlarge load balancer services which can be configured on the given edge node. 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. - severity (
str
orNone
) –Possible values are:
The severity calculation is based on current credit usage percentage of load balancer for one node. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- usage_percentage (
float
orNone
) – The usage percentage of the edge node for load balancer. The value is the larger value between load balancer credit usage percentage and pool member usage percentage for the edge node. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - node_path (
str
orNone
) – The property identifies the node path for load balancer node usage. For example, node_path=/infra/sites/default/enforcement-points/default /edge-clusters/85175e0b-4d74-461d-83e1-f3b785adef9c/edge-nodes /86e077c0-449f-11e9-87c8-02004eb37029. - resource_type (
str
) – The property identifies the load balancer node usage type.
-
FORM_FACTOR_LARGE_VIRTUAL_MACHINE
= 'LARGE_VIRTUAL_MACHINE'¶
-
FORM_FACTOR_MEDIUM_VIRTUAL_MACHINE
= 'MEDIUM_VIRTUAL_MACHINE'¶
-
FORM_FACTOR_PHYSICAL_MACHINE
= 'PHYSICAL_MACHINE'¶
-
FORM_FACTOR_SMALL_VIRTUAL_MACHINE
= 'SMALL_VIRTUAL_MACHINE'¶
-
FORM_FACTOR_XLARGE_VIRTUAL_MACHINE
= 'XLARGE_VIRTUAL_MACHINE'¶
-
SEVERITY_GREEN
= 'GREEN'¶
-
SEVERITY_ORANGE
= 'ORANGE'¶
-
SEVERITY_RED
= 'RED'¶
-
resource_type
¶ Return the discriminator value
- current_large_load_balancer_count (
-
class
com.vmware.nsx_policy.model_client.
LBFastTcpProfile
(close_timeout=None, ha_flow_mirroring_enabled=None, idle_timeout=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='LBFastTcpProfile', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Fast TCP profile.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - close_timeout (
long
orNone
) – It is used to specify how long a closing TCP connection (both FINs received or a RST is received) should be kept for this application before cleaning up the connection. format: int64 - ha_flow_mirroring_enabled (
bool
orNone
) – If flow mirroring is enabled, all the flows to the bounded virtual server are mirrored to the standby node. - idle_timeout (
long
orNone
) – It is used to configure how long an idle TCP connection in ESTABLISHED state should be kept for this application before cleaning up. format: int64 - 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
) –Possible values are:
LBAppProfile.RESOURCE_TYPE_LBHTTPPROFILE
LBAppProfile.RESOURCE_TYPE_LBFASTTCPPROFILE
LBAppProfile.RESOURCE_TYPE_LBFASTUDPPROFILE
An application profile can be bound to a virtual server to specify the application protocol characteristics. It is used to influence how load balancing is performed. Currently, three types of application profiles are supported: LBFastTCPProfile, LBFastUDPProfile and LBHttpProfile. LBFastTCPProfile or LBFastUDPProfile is typically used when the application is using a custom protocol or a standard protocol not supported by the load balancer. It is also used in cases where the user only wants L4 load balancing mainly because L4 load balancing has much higher performance and scalability, and/or supports connection mirroring. LBHttpProfile is used for both HTTP and HTTPS applications. Though application rules, if bound to the virtual server, can be used to accomplish the same goal, LBHttpProfile is intended to simplify enabling certain common use cases.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
¶ Return the discriminator value
- close_timeout (
-
class
com.vmware.nsx_policy.model_client.
LBFastUdpProfile
(flow_mirroring_enabled=None, idle_timeout=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='LBFastUdpProfile', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Fast UDP profile.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - flow_mirroring_enabled (
bool
orNone
) – If flow mirroring is enabled, all the flows to the bounded virtual server are mirrored to the standby node. - idle_timeout (
long
orNone
) – Though UDP is a connectionless protocol, for the purposes of load balancing, all UDP packets with the same flow signature (source and destination IP/ports and IP protocol) received within the idle timeout period are considered to belong to the same connection and are sent to the same backend server. If no packets are received for idle timeout period, the connection (association between flow signature and the selected server) is cleaned up. format: int64 - 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
) –Possible values are:
LBAppProfile.RESOURCE_TYPE_LBHTTPPROFILE
LBAppProfile.RESOURCE_TYPE_LBFASTTCPPROFILE
LBAppProfile.RESOURCE_TYPE_LBFASTUDPPROFILE
An application profile can be bound to a virtual server to specify the application protocol characteristics. It is used to influence how load balancing is performed. Currently, three types of application profiles are supported: LBFastTCPProfile, LBFastUDPProfile and LBHttpProfile. LBFastTCPProfile or LBFastUDPProfile is typically used when the application is using a custom protocol or a standard protocol not supported by the load balancer. It is also used in cases where the user only wants L4 load balancing mainly because L4 load balancing has much higher performance and scalability, and/or supports connection mirroring. LBHttpProfile is used for both HTTP and HTTPS applications. Though application rules, if bound to the virtual server, can be used to accomplish the same goal, LBHttpProfile is intended to simplify enabling certain common use cases.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
¶ Return the discriminator value
- flow_mirroring_enabled (
-
class
com.vmware.nsx_policy.model_client.
LBGenericPersistenceProfile
(ha_persistence_mirroring_enabled=None, timeout=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='LBGenericPersistenceProfile', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, persistence_shared=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Some applications maintain state and require all relevant connections to be sent to the same server as the application state is not synchronized among servers. Persistence is enabled on a LBVirtualServer by binding a persistence profile to it. LBGenericPersistenceProfile cannot be attached to virtual server directly, it can be specified in LB rule actions. In HTTP forwarding phase, the profile can be specified in LBVariablePersistenceOnAction. In HTTP response rewriting phase, the profile can be specified in LBVariablePersistenceLearnAction.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ha_persistence_mirroring_enabled (
bool
orNone
) – The mirroring enabled flag is to synchronize persistence entries. Persistence entries are not synchronized to the HA peer by default. - timeout (
long
orNone
) – When all connections complete (reference count reaches 0), persistence entry timer is started with the expiration time. format: int64 - 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
) –Possible values are:
LBPersistenceProfile.RESOURCE_TYPE_LBSOURCEIPPERSISTENCEPROFILE
LBPersistenceProfile.RESOURCE_TYPE_LBCOOKIEPERSISTENCEPROFILE
The resource_type property identifies persistence profile type.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - persistence_shared (
bool
orNone
) – Persistence shared setting indicates that all LBVirtualServers that consume this LBPersistenceProfile should share the same persistence mechanism when enabled. Meaning, persistence entries of a client accessing one virtual server will also affect the same client’s connections to a different virtual server. For example, say there are two virtual servers vip-ip1:80 and vip-ip1:8080 bound to the same Group g1 consisting of two servers (s11:80 and s12:80). By default, each virtual server will have its own persistence table or cookie. So, in the earlier example, there will be two tables (vip-ip1:80, p1) and (vip-ip1:8080, p1) or cookies. So, if a client connects to vip1:80 and later connects to vip1:8080, the second connection may be sent to a different server than the first. When persistence_shared is enabled, then the second connection will always connect to the same server as the original connection. For COOKIE persistence type, the same cookie will be shared by multiple virtual servers. For SOURCE_IP persistence type, the persistence table will be shared across virtual servers. For GENERIC persistence type, the persistence table will be shared across virtual servers which consume the same persistence profile in LBRule actions.
-
resource_type
¶ Return the discriminator value
- ha_persistence_mirroring_enabled (
-
class
com.vmware.nsx_policy.model_client.
LBHttpMonitorProfile
(request_body=None, request_headers=None, request_method=None, request_url=None, request_version=None, response_body=None, response_status_codes=None, fall_count=None, interval=None, monitor_port=None, rise_count=None, timeout=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=None, tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Active healthchecks are disabled by default and can be enabled for a server pool by binding a health monitor to the Group through the LBRule object. This represents active health monitoring over HTTP. Active healthchecks are initiated periodically, at a configurable interval, to each member of the Group. Only if a healthcheck fails consecutively for a specified number of times (fall_count) to a member will the member status be marked DOWN. Once a member is DOWN, a specified number of consecutive successful healthchecks (rise_count) will bring the member back to UP state. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - request_body (
str
orNone
) – String to send as part of HTTP health check request body. Valid only for certain HTTP methods like POST. - request_headers (
list
ofLbHttpRequestHeader
orNone
) – Array of HTTP request headers. - request_method (
str
orNone
) –Possible values are:
LBHttpMonitorProfile.REQUEST_METHOD_GET
LBHttpMonitorProfile.REQUEST_METHOD_OPTIONS
LBHttpMonitorProfile.REQUEST_METHOD_POST
LBHttpMonitorProfile.REQUEST_METHOD_HEAD
LBHttpMonitorProfile.REQUEST_METHOD_PUT
The health check method for HTTP monitor type. - request_url (
str
orNone
) – For HTTP active healthchecks, the HTTP request url sent can be customized and can include query parameters. - request_version (
str
orNone
) –Possible values are:
LBHttpMonitorProfile.REQUEST_VERSION__1_0
LBHttpMonitorProfile.REQUEST_VERSION__1_1
LBHttpMonitorProfile.REQUEST_VERSION__2_0
HTTP request version. - response_body (
str
orNone
) – If HTTP response body match string (regular expressions not supported) is specified (using LBHttpMonitor.response_body) then the healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match. If the response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is 2xx, but it can be configured to accept other status codes as successful. - response_status_codes (
list
oflong
orNone
) – The HTTP response status code should be a valid HTTP status code. format: int32 - fall_count (
long
orNone
) – Only if a healthcheck fails consecutively for a specified number of times, given with fall_count, to a member will the member status be marked DOWN. format: int64 - interval (
long
orNone
) – Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group. format: int64 - monitor_port (
long
orNone
) – Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value. For ICMP monitor, monitor_port is not required. format: int32 - rise_count (
long
orNone
) – Once a member is DOWN, a specified number of consecutive successful healthchecks specified by rise_count will bring the member back to UP state. format: int64 - timeout (
long
orNone
) – Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout. format: int64 - 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
) –Possible values are:
LBMonitorProfile.RESOURCE_TYPE_LBTCPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBUDPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBICMPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBHTTPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBHTTPSMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBPASSIVEMONITORPROFILE
There are two types of healthchecks: active and passive. Passive healthchecks depend on failures in actual client traffic (e.g. RST from server in response to a client connection) to detect that the server or the application is down. In case of active healthchecks, load balancer itself initiates new connections (or sends ICMP ping) to the servers periodically to check their health, completely independent of any data traffic. Currently, active health monitors are supported for HTTP, HTTPS, TCP, UDP and ICMP protocols.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
REQUEST_METHOD_GET
= 'GET'¶
-
REQUEST_METHOD_HEAD
= 'HEAD'¶
-
REQUEST_METHOD_OPTIONS
= 'OPTIONS'¶
-
REQUEST_METHOD_POST
= 'POST'¶
-
REQUEST_METHOD_PUT
= 'PUT'¶
-
REQUEST_VERSION_1_0
= 'HTTP_VERSION_1_0'¶
-
REQUEST_VERSION_1_1
= 'HTTP_VERSION_1_1'¶
-
REQUEST_VERSION_2_0
= 'HTTP_VERSION_2_0'¶
-
resource_type
¶ Return the discriminator value
- request_body (
-
class
com.vmware.nsx_policy.model_client.
LBHttpProfile
(http_redirect_to=None, http_redirect_to_https=None, idle_timeout=None, ntlm=None, request_body_size=None, request_header_size=None, response_buffering=None, response_header_size=None, response_timeout=None, x_forwarded_for=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='LBHttpProfile', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Http profile.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - http_redirect_to (
str
orNone
) – If a website is temporarily down or has moved, incoming requests for that virtual server can be temporarily redirected to a URL. - http_redirect_to_https (
bool
orNone
) – Certain secure applications may want to force communication over SSL, but instead of rejecting non-SSL connections, they may choose to redirect the client automatically to use SSL. - idle_timeout (
long
orNone
) – It is used to specify the HTTP application idle timeout, it means that how long the load balancer will keep the connection idle to wait for the client to send the next keep-alive request. It is not a TCP socket setting. format: int64 - ntlm (
bool
orNone
) – NTLM is an authentication protocol that can be used over HTTP. If the flag is set to true, LB will use NTLM challenge/response methodology. - request_body_size (
long
orNone
) – If it is not specified, it means that request body size is unlimited. format: int64 - request_header_size (
long
orNone
) – A request with header equal to or below this size is guaranteed to be processed. A request with header larger than request_header_size will be processed up to 32K bytes on best effort basis. format: int64 - response_buffering (
bool
orNone
) – When buffering is disabled, the response is passed to a client synchronously, immediately as it is received. When buffering is enabled, LB receives a response from the backend server as soon as possible, saving it into the buffers. - response_header_size (
long
orNone
) – A response with header larger than response_header_size will be dropped. format: int64 - response_timeout (
long
orNone
) – If server doesn’t send any packet within this time, the connection is closed. format: int64 - x_forwarded_for (
str
orNone
) –Possible values are:
When X-Forwareded-For is configured, X-Forwarded-Proto and X-Forwarded-Port information is added automatically. The two additional header information can be also modified or deleted in load balancer rules.
- 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
) –Possible values are:
LBAppProfile.RESOURCE_TYPE_LBHTTPPROFILE
LBAppProfile.RESOURCE_TYPE_LBFASTTCPPROFILE
LBAppProfile.RESOURCE_TYPE_LBFASTUDPPROFILE
An application profile can be bound to a virtual server to specify the application protocol characteristics. It is used to influence how load balancing is performed. Currently, three types of application profiles are supported: LBFastTCPProfile, LBFastUDPProfile and LBHttpProfile. LBFastTCPProfile or LBFastUDPProfile is typically used when the application is using a custom protocol or a standard protocol not supported by the load balancer. It is also used in cases where the user only wants L4 load balancing mainly because L4 load balancing has much higher performance and scalability, and/or supports connection mirroring. LBHttpProfile is used for both HTTP and HTTPS applications. Though application rules, if bound to the virtual server, can be used to accomplish the same goal, LBHttpProfile is intended to simplify enabling certain common use cases.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
XFORWARDED_FOR_INSERT
= 'INSERT'¶
-
XFORWARDED_FOR_REPLACE
= 'REPLACE'¶
-
resource_type
¶ Return the discriminator value
- http_redirect_to (
-
class
com.vmware.nsx_policy.model_client.
LBHttpRedirectAction
(redirect_status=None, redirect_url=None, type='LBHttpRedirectAction')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This action is used to redirect HTTP request messages to a new URL. The reply_status value specified in this action is used as the status code of HTTP response message which is sent back to client (Normally a browser). The HTTP status code for redirection is 3xx, for example, 301, 302, 303, 307, etc. The redirect_url is the new URL that the HTTP request message is redirected to. Normally browser will send another HTTP request to the new URL after receiving a redirection response message. Captured variables and built-in variables can be used in redirect_url field. For example, to redirect all HTTP requests to HTTPS requests for a virtual server. We create an LBRule without any conditions, add an LBHttpRedirectAction to the rule. Set the redirect_url field of the LBHttpRedirectAction to: https://$_host$_request_uri And set redirect_status to “302”, which means found. This rule will redirect all HTTP requests to HTTPS server port on the same host.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - redirect_status (
str
orNone
) – HTTP response status code. - redirect_url (
str
orNone
) – The URL that the HTTP request is redirected to. - type (
str
) –Possible values are:
LBRuleAction.TYPE_LBSELECTPOOLACTION
LBRuleAction.TYPE_LBHTTPREQUESTURIREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREJECTACTION
LBRuleAction.TYPE_LBHTTPREDIRECTACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERDELETEACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERDELETEACTION
LBRuleAction.TYPE_LBVARIABLEASSIGNMENTACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCEONACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCELEARNACTION
LBRuleAction.TYPE_LBJWTAUTHACTION
LBRuleAction.TYPE_LBSSLMODESELECTIONACTION
LBRuleAction.TYPE_LBCONNECTIONDROPACTION
The property identifies the load balancer rule action type.
-
type
¶ Return the discriminator value
- redirect_status (
-
class
com.vmware.nsx_policy.model_client.
LBHttpRejectAction
(reply_message=None, reply_status=None, type='LBHttpRejectAction')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This action is used to reject HTTP request messages. The specified reply_status value is used as the status code for the corresponding HTTP response message which is sent back to client (Normally a browser) indicating the reason it was rejected. Reference official HTTP status code list for your specific HTTP version to set the reply_status properly. LBHttpRejectAction does not support variables.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - reply_message (
str
orNone
) – Response message. - reply_status (
str
orNone
) – HTTP response status code. - type (
str
) –Possible values are:
LBRuleAction.TYPE_LBSELECTPOOLACTION
LBRuleAction.TYPE_LBHTTPREQUESTURIREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREJECTACTION
LBRuleAction.TYPE_LBHTTPREDIRECTACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERDELETEACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERDELETEACTION
LBRuleAction.TYPE_LBVARIABLEASSIGNMENTACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCEONACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCELEARNACTION
LBRuleAction.TYPE_LBJWTAUTHACTION
LBRuleAction.TYPE_LBSSLMODESELECTIONACTION
LBRuleAction.TYPE_LBCONNECTIONDROPACTION
The property identifies the load balancer rule action type.
-
type
¶ Return the discriminator value
- reply_message (
-
class
com.vmware.nsx_policy.model_client.
LBHttpRequestBodyCondition
(body_value=None, case_sensitive=None, match_type=None, inverse=None, type='LBHttpRequestBodyCondition')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This condition is used to match the message body of an HTTP request. Typically, only HTTP POST, PATCH, or PUT requests have request body. The match_type field defines how body_value field is used to match the body of HTTP requests.
Tip
The arguments are used to initialize data attributes with the same names.
-
MATCH_TYPE_CONTAINS
= 'CONTAINS'¶
-
MATCH_TYPE_ENDS_WITH
= 'ENDS_WITH'¶
-
MATCH_TYPE_EQUALS
= 'EQUALS'¶
-
MATCH_TYPE_REGEX
= 'REGEX'¶
-
MATCH_TYPE_STARTS_WITH
= 'STARTS_WITH'¶
-
type
¶ Return the discriminator value
-
-
class
com.vmware.nsx_policy.model_client.
LBHttpRequestCookieCondition
(case_sensitive=None, cookie_name=None, cookie_value=None, match_type=None, inverse=None, type='LBHttpRequestCookieCondition')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This condition is used to match HTTP request messages by cookie which is a specific type of HTTP header. The match_type and case_sensitive define how to compare cookie value.
Tip
The arguments are used to initialize data attributes with the same names.
-
MATCH_TYPE_CONTAINS
= 'CONTAINS'¶
-
MATCH_TYPE_ENDS_WITH
= 'ENDS_WITH'¶
-
MATCH_TYPE_EQUALS
= 'EQUALS'¶
-
MATCH_TYPE_REGEX
= 'REGEX'¶
-
MATCH_TYPE_STARTS_WITH
= 'STARTS_WITH'¶
-
type
¶ Return the discriminator value
-
-
class
com.vmware.nsx_policy.model_client.
LBHttpRequestHeaderCondition
(case_sensitive=None, header_name=None, header_value=None, match_type=None, inverse=None, type='LBHttpRequestHeaderCondition')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This condition is used to match HTTP request messages by HTTP header fields. HTTP header fields are components of the header section of HTTP request and response messages. They define the operating parameters of an HTTP transaction. For example, Cookie, Authorization, User-Agent, etc. One condition can be used to match one header field, to match multiple header fields, multiple conditions must be specified. The match_type field defines how header_value field is used to match HTTP requests. The header_name field does not support match types.
Tip
The arguments are used to initialize data attributes with the same names.
-
MATCH_TYPE_CONTAINS
= 'CONTAINS'¶
-
MATCH_TYPE_ENDS_WITH
= 'ENDS_WITH'¶
-
MATCH_TYPE_EQUALS
= 'EQUALS'¶
-
MATCH_TYPE_REGEX
= 'REGEX'¶
-
MATCH_TYPE_STARTS_WITH
= 'STARTS_WITH'¶
-
type
¶ Return the discriminator value
-
-
class
com.vmware.nsx_policy.model_client.
LBHttpRequestHeaderDeleteAction
(header_name=None, type='LBHttpRequestHeaderDeleteAction')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This action is used to delete header fields of HTTP request messages at HTTP_REQUEST_REWRITE phase. One action can be used to delete all headers with same header name. To delete headers with different header names, multiple actions must be defined.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - header_name (
str
orNone
) – Name of a header field of HTTP request message. - type (
str
) –Possible values are:
LBRuleAction.TYPE_LBSELECTPOOLACTION
LBRuleAction.TYPE_LBHTTPREQUESTURIREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREJECTACTION
LBRuleAction.TYPE_LBHTTPREDIRECTACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERDELETEACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERDELETEACTION
LBRuleAction.TYPE_LBVARIABLEASSIGNMENTACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCEONACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCELEARNACTION
LBRuleAction.TYPE_LBJWTAUTHACTION
LBRuleAction.TYPE_LBSSLMODESELECTIONACTION
LBRuleAction.TYPE_LBCONNECTIONDROPACTION
The property identifies the load balancer rule action type.
-
type
¶ Return the discriminator value
- header_name (
-
class
com.vmware.nsx_policy.model_client.
LBHttpRequestHeaderRewriteAction
(header_name=None, header_value=None, type='LBHttpRequestHeaderRewriteAction')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This action is used to rewrite header fields of matched HTTP request messages to specified new values. One action can be used to rewrite one header field. To rewrite multiple header fields, multiple actions must be defined. Captured variables and built-in variables can be used in the header_value field, header_name field does not support variables.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - header_name (
str
orNone
) – Name of HTTP request header. - header_value (
str
orNone
) – Value of HTTP request header. - type (
str
) –Possible values are:
LBRuleAction.TYPE_LBSELECTPOOLACTION
LBRuleAction.TYPE_LBHTTPREQUESTURIREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREJECTACTION
LBRuleAction.TYPE_LBHTTPREDIRECTACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERDELETEACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERDELETEACTION
LBRuleAction.TYPE_LBVARIABLEASSIGNMENTACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCEONACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCELEARNACTION
LBRuleAction.TYPE_LBJWTAUTHACTION
LBRuleAction.TYPE_LBSSLMODESELECTIONACTION
LBRuleAction.TYPE_LBCONNECTIONDROPACTION
The property identifies the load balancer rule action type.
-
type
¶ Return the discriminator value
- header_name (
-
class
com.vmware.nsx_policy.model_client.
LBHttpRequestMethodCondition
(method=None, inverse=None, type='LBHttpRequestMethodCondition')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This condition is used to match method of HTTP requests. If the method of an HTTP request is same as the method specified in this condition, the HTTP request match this condition. For example, if the method field is set to GET in this condition, any HTTP request with GET method matches the condition.
Tip
The arguments are used to initialize data attributes with the same names.
-
METHOD_GET
= 'GET'¶
-
METHOD_HEAD
= 'HEAD'¶
-
METHOD_OPTIONS
= 'OPTIONS'¶
-
METHOD_POST
= 'POST'¶
-
METHOD_PUT
= 'PUT'¶
-
type
¶ Return the discriminator value
-
-
class
com.vmware.nsx_policy.model_client.
LBHttpRequestUriArgumentsCondition
(case_sensitive=None, match_type=None, uri_arguments=None, inverse=None, type='LBHttpRequestUriArgumentsCondition')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This condition is used to match URI arguments aka query string of Http request messages, for example, in URI http://exaple.com?foo=1&bar=2, the “foo=1&bar=2” is the query string containing URI arguments. In an URI scheme, query string is indicated by the first question mark (“?”) character and terminated by a number sign (“#”) character or by the end of the URI. The uri_arguments field can be specified as a regular expression(Set match_type to REGEX). For example, “foo=(?<x>d+)”. It matches HTTP requests whose URI arguments containing “foo”, the value of foo contains only digits. And the value of foo is captured as $x which can be used in LBRuleAction fields which support variables.
Tip
The arguments are used to initialize data attributes with the same names.
-
MATCH_TYPE_CONTAINS
= 'CONTAINS'¶
-
MATCH_TYPE_ENDS_WITH
= 'ENDS_WITH'¶
-
MATCH_TYPE_EQUALS
= 'EQUALS'¶
-
MATCH_TYPE_REGEX
= 'REGEX'¶
-
MATCH_TYPE_STARTS_WITH
= 'STARTS_WITH'¶
-
type
¶ Return the discriminator value
-
-
class
com.vmware.nsx_policy.model_client.
LBHttpRequestUriCondition
(case_sensitive=None, match_type=None, uri=None, inverse=None, type='LBHttpRequestUriCondition')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This condition is used to match URIs(Uniform Resource Identifier) of HTTP request messages. The URI field can be specified as a regular expression. If an HTTP request message is requesting an URI which matches specified regular expression, it matches the condition. The syntax of whole URI looks like this: scheme:[//[user[:password]\@]host[:port]][/path][?query][#fragment] This condition matches only the path part of entire URI. When match_type field is specified as REGEX, the uri field is used as a regular expression to match URI path of HTTP requests. For example, to match any URI that has “/image/” or “/images/”, uri field can be specified as: “/image[s]?/”. Named capturing groups can be used in the uri field to capture substrings of matched URIs and store them in variables for use in LBRuleAction. For example, specify uri field as: “/news/(?<year>d+)/(?<month>d+)/(?<article>.*)” If the URI path is /articles/news/2017/06/xyz.html, then substring “2017” is captured in variable year, “06” is captured in variable month, and “xyz.html” is captured in variable article. These variables can then be used in an LBRuleAction field which supports variables, such as uri field of LBHttpRequestUriRewriteAction. For example, set the uri field of LBHttpRequestUriRewriteAction as: “/articles/news/$year-$month-$article” Then the URI path /articles/news/2017/06/xyz.html is rewritten to: “/articles/news/2017-06-xyz.html”
Tip
The arguments are used to initialize data attributes with the same names.
-
MATCH_TYPE_CONTAINS
= 'CONTAINS'¶
-
MATCH_TYPE_ENDS_WITH
= 'ENDS_WITH'¶
-
MATCH_TYPE_EQUALS
= 'EQUALS'¶
-
MATCH_TYPE_REGEX
= 'REGEX'¶
-
MATCH_TYPE_STARTS_WITH
= 'STARTS_WITH'¶
-
type
¶ Return the discriminator value
-
-
class
com.vmware.nsx_policy.model_client.
LBHttpRequestUriRewriteAction
(uri=None, uri_arguments=None, type='LBHttpRequestUriRewriteAction')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This action is used to rewrite URIs in matched HTTP request messages. Specify the uri and uri_arguments fields in this condition to rewrite the matched HTTP request message’s URI and URI arguments to the new values. Full URI scheme of HTTP messages have following syntax: scheme:[//[user[:password]\@]host[:port]][/path][?query][#fragment] The uri field of this action is used to rewrite the /path part in above scheme. And the uri_arguments field is used to rewrite the query part. Captured variables and built-in variables can be used in the uri and uri_arguments fields. Check the example in LBRuleAction to see how to use variables in this action.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - uri (
str
orNone
) – URI of HTTP request. - uri_arguments (
str
orNone
) – Query string of URI, typically contains key value pairs, for example: foo1=bar1&foo2=bar2. - type (
str
) –Possible values are:
LBRuleAction.TYPE_LBSELECTPOOLACTION
LBRuleAction.TYPE_LBHTTPREQUESTURIREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREJECTACTION
LBRuleAction.TYPE_LBHTTPREDIRECTACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERDELETEACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERDELETEACTION
LBRuleAction.TYPE_LBVARIABLEASSIGNMENTACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCEONACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCELEARNACTION
LBRuleAction.TYPE_LBJWTAUTHACTION
LBRuleAction.TYPE_LBSSLMODESELECTIONACTION
LBRuleAction.TYPE_LBCONNECTIONDROPACTION
The property identifies the load balancer rule action type.
-
type
¶ Return the discriminator value
- uri (
-
class
com.vmware.nsx_policy.model_client.
LBHttpRequestVersionCondition
(version=None, inverse=None, type='LBHttpRequestVersionCondition')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This condition is used to match the HTTP protocol version of the HTTP request messages.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - version (
str
orNone
) –Possible values are:
LBHttpRequestVersionCondition.VERSION__1_0
LBHttpRequestVersionCondition.VERSION__1_1
LBHttpRequestVersionCondition.VERSION__2_0
HTTP version - inverse (
bool
orNone
) – A flag to indicate whether reverse the match result of this condition - type (
str
) –Possible values are:
LBRuleCondition.TYPE_LBHTTPREQUESTURICONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTHEADERCONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTMETHODCONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTURIARGUMENTSCONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTVERSIONCONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTCOOKIECONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTBODYCONDITION
LBRuleCondition.TYPE_LBHTTPRESPONSEHEADERCONDITION
LBRuleCondition.TYPE_LBTCPHEADERCONDITION
LBRuleCondition.TYPE_LBIPHEADERCONDITION
LBRuleCondition.TYPE_LBVARIABLECONDITION
LBRuleCondition.TYPE_LBHTTPSSLCONDITION
LBRuleCondition.TYPE_LBSSLSNICONDITION
Type of load balancer rule condition
-
VERSION_1_0
= 'HTTP_VERSION_1_0'¶
-
VERSION_1_1
= 'HTTP_VERSION_1_1'¶
-
VERSION_2_0
= 'HTTP_VERSION_2_0'¶
-
type
¶ Return the discriminator value
- version (
-
class
com.vmware.nsx_policy.model_client.
LBHttpResponseHeaderCondition
(case_sensitive=None, header_name=None, header_value=None, match_type=None, inverse=None, type='LBHttpResponseHeaderCondition')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This condition is used to match HTTP response messages from backend servers by HTTP header fields. HTTP header fields are components of the header section of HTTP request and response messages. They define the operating parameters of an HTTP transaction. For example, Cookie, Authorization, User-Agent, etc. One condition can be used to match one header field, to match multiple header fields, multiple conditions must be specified. The match_type field defines how header_value field is used to match HTTP responses. The header_name field does not support match types.
Tip
The arguments are used to initialize data attributes with the same names.
-
MATCH_TYPE_CONTAINS
= 'CONTAINS'¶
-
MATCH_TYPE_ENDS_WITH
= 'ENDS_WITH'¶
-
MATCH_TYPE_EQUALS
= 'EQUALS'¶
-
MATCH_TYPE_REGEX
= 'REGEX'¶
-
MATCH_TYPE_STARTS_WITH
= 'STARTS_WITH'¶
-
type
¶ Return the discriminator value
-
-
class
com.vmware.nsx_policy.model_client.
LBHttpResponseHeaderDeleteAction
(header_name=None, type='LBHttpResponseHeaderDeleteAction')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This action is used to delete header fields of HTTP response messages at HTTP_RESPONSE_REWRITE phase. One action can be used to delete allgi headers with same header name. To delete headers with different header names, multiple actions must be defined.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - header_name (
str
orNone
) – Name of a header field of HTTP response message. - type (
str
) –Possible values are:
LBRuleAction.TYPE_LBSELECTPOOLACTION
LBRuleAction.TYPE_LBHTTPREQUESTURIREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREJECTACTION
LBRuleAction.TYPE_LBHTTPREDIRECTACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERDELETEACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERDELETEACTION
LBRuleAction.TYPE_LBVARIABLEASSIGNMENTACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCEONACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCELEARNACTION
LBRuleAction.TYPE_LBJWTAUTHACTION
LBRuleAction.TYPE_LBSSLMODESELECTIONACTION
LBRuleAction.TYPE_LBCONNECTIONDROPACTION
The property identifies the load balancer rule action type.
-
type
¶ Return the discriminator value
- header_name (
-
class
com.vmware.nsx_policy.model_client.
LBHttpResponseHeaderRewriteAction
(header_name=None, header_value=None, type='LBHttpResponseHeaderRewriteAction')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This action is used to rewrite header fields of HTTP response messages to specified new values at HTTP_RESPONSE_REWRITE phase. One action can be used to rewrite one header field. To rewrite multiple header fields, multiple actions must be defined. Captured variables and built-in variables can be used in the header_value field, header_name field does not support variables.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - header_name (
str
orNone
) – Name of a header field of HTTP request message. - header_value (
str
orNone
) – Value of header field - type (
str
) –Possible values are:
LBRuleAction.TYPE_LBSELECTPOOLACTION
LBRuleAction.TYPE_LBHTTPREQUESTURIREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREJECTACTION
LBRuleAction.TYPE_LBHTTPREDIRECTACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERDELETEACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERDELETEACTION
LBRuleAction.TYPE_LBVARIABLEASSIGNMENTACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCEONACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCELEARNACTION
LBRuleAction.TYPE_LBJWTAUTHACTION
LBRuleAction.TYPE_LBSSLMODESELECTIONACTION
LBRuleAction.TYPE_LBCONNECTIONDROPACTION
The property identifies the load balancer rule action type.
-
type
¶ Return the discriminator value
- header_name (
-
class
com.vmware.nsx_policy.model_client.
LBHttpSslCondition
(client_certificate_issuer_dn=None, client_certificate_subject_dn=None, client_supported_ssl_ciphers=None, session_reused=None, used_protocol=None, used_ssl_cipher=None, inverse=None, type='LBHttpSslCondition')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This condition is used to match SSL handshake and SSL connection at all phases.If multiple properties are configured, the rule is considered a match when all the configured properties are matched.
Tip
The arguments are used to initialize data attributes with the same names.
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
= 'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
= 'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
= 'TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
= 'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384
= 'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
= 'TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDHE_RSA_WITH_AES_128_CBC_SHA
= 'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
= 'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
= 'TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDHE_RSA_WITH_AES_256_CBC_SHA
= 'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
= 'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
= 'TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDH_ECDSA_WITH_AES_128_CBC_SHA
= 'TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256
= 'TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256
= 'TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDH_ECDSA_WITH_AES_256_CBC_SHA
= 'TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384
= 'TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384
= 'TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDH_RSA_WITH_AES_128_CBC_SHA
= 'TLS_ECDH_RSA_WITH_AES_128_CBC_SHA'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDH_RSA_WITH_AES_128_CBC_SHA256
= 'TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDH_RSA_WITH_AES_128_GCM_SHA256
= 'TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDH_RSA_WITH_AES_256_CBC_SHA
= 'TLS_ECDH_RSA_WITH_AES_256_CBC_SHA'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDH_RSA_WITH_AES_256_CBC_SHA384
= 'TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_ECDH_RSA_WITH_AES_256_GCM_SHA384
= 'TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_RSA_WITH_3DES_EDE_CBC_SHA
= 'TLS_RSA_WITH_3DES_EDE_CBC_SHA'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_RSA_WITH_AES_128_CBC_SHA
= 'TLS_RSA_WITH_AES_128_CBC_SHA'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_RSA_WITH_AES_128_CBC_SHA256
= 'TLS_RSA_WITH_AES_128_CBC_SHA256'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_RSA_WITH_AES_128_GCM_SHA256
= 'TLS_RSA_WITH_AES_128_GCM_SHA256'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_RSA_WITH_AES_256_CBC_SHA
= 'TLS_RSA_WITH_AES_256_CBC_SHA'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_RSA_WITH_AES_256_CBC_SHA256
= 'TLS_RSA_WITH_AES_256_CBC_SHA256'¶
-
CLIENT_SUPPORTED_SSL_CIPHERS_RSA_WITH_AES_256_GCM_SHA384
= 'TLS_RSA_WITH_AES_256_GCM_SHA384'¶
-
SESSION_REUSED_IGNORE
= 'IGNORE'¶
-
SESSION_REUSED_NEW
= 'NEW'¶
-
SESSION_REUSED_REUSED
= 'REUSED'¶
-
USED_PROTOCOL_SSL_V2
= 'SSL_V2'¶
-
USED_PROTOCOL_SSL_V3
= 'SSL_V3'¶
-
USED_PROTOCOL_TLS_V1
= 'TLS_V1'¶
-
USED_PROTOCOL_TLS_V1_1
= 'TLS_V1_1'¶
-
USED_PROTOCOL_TLS_V1_2
= 'TLS_V1_2'¶
-
USED_SSL_CIPHER_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
= 'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA'¶
-
USED_SSL_CIPHER_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
= 'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256'¶
-
USED_SSL_CIPHER_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
= 'TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256'¶
-
USED_SSL_CIPHER_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
= 'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA'¶
-
USED_SSL_CIPHER_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384
= 'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384'¶
-
USED_SSL_CIPHER_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
= 'TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384'¶
-
USED_SSL_CIPHER_ECDHE_RSA_WITH_AES_128_CBC_SHA
= 'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA'¶
-
USED_SSL_CIPHER_ECDHE_RSA_WITH_AES_128_CBC_SHA256
= 'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256'¶
-
USED_SSL_CIPHER_ECDHE_RSA_WITH_AES_128_GCM_SHA256
= 'TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256'¶
-
USED_SSL_CIPHER_ECDHE_RSA_WITH_AES_256_CBC_SHA
= 'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA'¶
-
USED_SSL_CIPHER_ECDHE_RSA_WITH_AES_256_CBC_SHA384
= 'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384'¶
-
USED_SSL_CIPHER_ECDHE_RSA_WITH_AES_256_GCM_SHA384
= 'TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384'¶
-
USED_SSL_CIPHER_ECDH_ECDSA_WITH_AES_128_CBC_SHA
= 'TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA'¶
-
USED_SSL_CIPHER_ECDH_ECDSA_WITH_AES_128_CBC_SHA256
= 'TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256'¶
-
USED_SSL_CIPHER_ECDH_ECDSA_WITH_AES_128_GCM_SHA256
= 'TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256'¶
-
USED_SSL_CIPHER_ECDH_ECDSA_WITH_AES_256_CBC_SHA
= 'TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA'¶
-
USED_SSL_CIPHER_ECDH_ECDSA_WITH_AES_256_CBC_SHA384
= 'TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384'¶
-
USED_SSL_CIPHER_ECDH_ECDSA_WITH_AES_256_GCM_SHA384
= 'TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384'¶
-
USED_SSL_CIPHER_ECDH_RSA_WITH_AES_128_CBC_SHA
= 'TLS_ECDH_RSA_WITH_AES_128_CBC_SHA'¶
-
USED_SSL_CIPHER_ECDH_RSA_WITH_AES_128_CBC_SHA256
= 'TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256'¶
-
USED_SSL_CIPHER_ECDH_RSA_WITH_AES_128_GCM_SHA256
= 'TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256'¶
-
USED_SSL_CIPHER_ECDH_RSA_WITH_AES_256_CBC_SHA
= 'TLS_ECDH_RSA_WITH_AES_256_CBC_SHA'¶
-
USED_SSL_CIPHER_ECDH_RSA_WITH_AES_256_CBC_SHA384
= 'TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384'¶
-
USED_SSL_CIPHER_ECDH_RSA_WITH_AES_256_GCM_SHA384
= 'TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384'¶
-
USED_SSL_CIPHER_RSA_WITH_3DES_EDE_CBC_SHA
= 'TLS_RSA_WITH_3DES_EDE_CBC_SHA'¶
-
USED_SSL_CIPHER_RSA_WITH_AES_128_CBC_SHA
= 'TLS_RSA_WITH_AES_128_CBC_SHA'¶
-
USED_SSL_CIPHER_RSA_WITH_AES_128_CBC_SHA256
= 'TLS_RSA_WITH_AES_128_CBC_SHA256'¶
-
USED_SSL_CIPHER_RSA_WITH_AES_128_GCM_SHA256
= 'TLS_RSA_WITH_AES_128_GCM_SHA256'¶
-
USED_SSL_CIPHER_RSA_WITH_AES_256_CBC_SHA
= 'TLS_RSA_WITH_AES_256_CBC_SHA'¶
-
USED_SSL_CIPHER_RSA_WITH_AES_256_CBC_SHA256
= 'TLS_RSA_WITH_AES_256_CBC_SHA256'¶
-
USED_SSL_CIPHER_RSA_WITH_AES_256_GCM_SHA384
= 'TLS_RSA_WITH_AES_256_GCM_SHA384'¶
-
type
¶ Return the discriminator value
-
-
class
com.vmware.nsx_policy.model_client.
LBHttpsMonitorProfile
(request_body=None, request_headers=None, request_method=None, request_url=None, request_version=None, response_body=None, response_status_codes=None, server_ssl_profile_binding=None, fall_count=None, interval=None, monitor_port=None, rise_count=None, timeout=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=None, tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Active healthchecks are disabled by default and can be enabled for a server pool by binding a health monitor to the Group through the LBRule object. This represents active health monitoring over HTTPS. Active healthchecks are initiated periodically, at a configurable interval, to each member of the Group. Only if a healthcheck fails consecutively for a specified number of times (fall_count) to a member will the member status be marked DOWN. Once a member is DOWN, a specified number of consecutive successful healthchecks (rise_count) will bring the member back to UP state. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - request_body (
str
orNone
) – String to send as part of HTTP health check request body. Valid only for certain HTTP methods like POST. - request_headers (
list
ofLbHttpRequestHeader
orNone
) – Array of HTTP request headers. - request_method (
str
orNone
) –Possible values are:
LBHttpsMonitorProfile.REQUEST_METHOD_GET
LBHttpsMonitorProfile.REQUEST_METHOD_OPTIONS
LBHttpsMonitorProfile.REQUEST_METHOD_POST
LBHttpsMonitorProfile.REQUEST_METHOD_HEAD
LBHttpsMonitorProfile.REQUEST_METHOD_PUT
The health check method for HTTP monitor type. - request_url (
str
orNone
) – For HTTPS active healthchecks, the HTTPS request url sent can be customized and can include query parameters. - request_version (
str
orNone
) –Possible values are:
LBHttpsMonitorProfile.REQUEST_VERSION__1_0
LBHttpsMonitorProfile.REQUEST_VERSION__1_1
LBHttpsMonitorProfile.REQUEST_VERSION__2_0
HTTP request version. - response_body (
str
orNone
) – If HTTP response body match string (regular expressions not supported) is specified (using LBHttpMonitor.response_body) then the healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match. If the response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is 2xx, but it can be configured to accept other status codes as successful. - response_status_codes (
list
oflong
orNone
) – The HTTP response status code should be a valid HTTP status code. format: int32 - server_ssl_profile_binding (
LBServerSslProfileBinding
orNone
) – The setting is used when the monitor acts as an SSL client and establishing a connection to the backend server. - fall_count (
long
orNone
) – Only if a healthcheck fails consecutively for a specified number of times, given with fall_count, to a member will the member status be marked DOWN. format: int64 - interval (
long
orNone
) – Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group. format: int64 - monitor_port (
long
orNone
) – Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value. For ICMP monitor, monitor_port is not required. format: int32 - rise_count (
long
orNone
) – Once a member is DOWN, a specified number of consecutive successful healthchecks specified by rise_count will bring the member back to UP state. format: int64 - timeout (
long
orNone
) – Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout. format: int64 - 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
) –Possible values are:
LBMonitorProfile.RESOURCE_TYPE_LBTCPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBUDPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBICMPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBHTTPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBHTTPSMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBPASSIVEMONITORPROFILE
There are two types of healthchecks: active and passive. Passive healthchecks depend on failures in actual client traffic (e.g. RST from server in response to a client connection) to detect that the server or the application is down. In case of active healthchecks, load balancer itself initiates new connections (or sends ICMP ping) to the servers periodically to check their health, completely independent of any data traffic. Currently, active health monitors are supported for HTTP, HTTPS, TCP, UDP and ICMP protocols.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
REQUEST_METHOD_GET
= 'GET'¶
-
REQUEST_METHOD_HEAD
= 'HEAD'¶
-
REQUEST_METHOD_OPTIONS
= 'OPTIONS'¶
-
REQUEST_METHOD_POST
= 'POST'¶
-
REQUEST_METHOD_PUT
= 'PUT'¶
-
REQUEST_VERSION_1_0
= 'HTTP_VERSION_1_0'¶
-
REQUEST_VERSION_1_1
= 'HTTP_VERSION_1_1'¶
-
REQUEST_VERSION_2_0
= 'HTTP_VERSION_2_0'¶
-
resource_type
¶ Return the discriminator value
- request_body (
-
class
com.vmware.nsx_policy.model_client.
LBIcmpMonitorProfile
(data_length=None, fall_count=None, interval=None, monitor_port=None, rise_count=None, timeout=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=None, tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Active healthchecks are disabled by default and can be enabled for a server pool by binding a health monitor to the Group through the LBRule object. This represents active health monitoring over ICMP. Active healthchecks are initiated periodically, at a configurable interval, to each member of the Group. Only if a healthcheck fails consecutively for a specified number of times (fall_count) to a member will the member status be marked DOWN. Once a member is DOWN, a specified number of consecutive successful healt hchecks (rise_count) will bring the member back to UP state. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - data_length (
long
orNone
) – The data size (in byte) of the ICMP healthcheck packet format: int64 - fall_count (
long
orNone
) – Only if a healthcheck fails consecutively for a specified number of times, given with fall_count, to a member will the member status be marked DOWN. format: int64 - interval (
long
orNone
) – Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group. format: int64 - monitor_port (
long
orNone
) – Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value. For ICMP monitor, monitor_port is not required. format: int32 - rise_count (
long
orNone
) – Once a member is DOWN, a specified number of consecutive successful healthchecks specified by rise_count will bring the member back to UP state. format: int64 - timeout (
long
orNone
) – Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout. format: int64 - 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
) –Possible values are:
LBMonitorProfile.RESOURCE_TYPE_LBTCPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBUDPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBICMPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBHTTPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBHTTPSMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBPASSIVEMONITORPROFILE
There are two types of healthchecks: active and passive. Passive healthchecks depend on failures in actual client traffic (e.g. RST from server in response to a client connection) to detect that the server or the application is down. In case of active healthchecks, load balancer itself initiates new connections (or sends ICMP ping) to the servers periodically to check their health, completely independent of any data traffic. Currently, active health monitors are supported for HTTP, HTTPS, TCP, UDP and ICMP protocols.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
¶ Return the discriminator value
- data_length (
-
class
com.vmware.nsx_policy.model_client.
LBIpHeaderCondition
(group_path=None, source_address=None, inverse=None, type='LBIpHeaderCondition')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This condition is used to match IP header fields of HTTP messages. Either source_address or group_id should be specified.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - group_path (
str
orNone
) – Source IP address of HTTP message should match IP addresses which are configured in Group in order to perform actions. - source_address (
str
orNone
) – Source IP address of HTTP message. IP Address can be expressed as a single IP address like 10.1.1.1, or a range of IP addresses like 10.1.1.101-10.1.1.160. Both IPv4 and IPv6 addresses are supported. format: address-or-block-or-range - inverse (
bool
orNone
) – A flag to indicate whether reverse the match result of this condition - type (
str
) –Possible values are:
LBRuleCondition.TYPE_LBHTTPREQUESTURICONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTHEADERCONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTMETHODCONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTURIARGUMENTSCONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTVERSIONCONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTCOOKIECONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTBODYCONDITION
LBRuleCondition.TYPE_LBHTTPRESPONSEHEADERCONDITION
LBRuleCondition.TYPE_LBTCPHEADERCONDITION
LBRuleCondition.TYPE_LBIPHEADERCONDITION
LBRuleCondition.TYPE_LBVARIABLECONDITION
LBRuleCondition.TYPE_LBHTTPSSLCONDITION
LBRuleCondition.TYPE_LBSSLSNICONDITION
Type of load balancer rule condition
-
type
¶ Return the discriminator value
- group_path (
-
class
com.vmware.nsx_policy.model_client.
LBJwtAuthAction
(key=None, pass_jwt_to_pool=None, realm=None, tokens=None, type='LBJwtAuthAction')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This action is used to control access to backend server resources using JSON Web Token(JWT) authentication. The JWT authentication is done before any HTTP manipulation if the HTTP request matches the given condition in LBRule. Any verification failed, the HTTP process will be terminated, and HTTP response with 401 status code and WWW-Authentication header will be returned to client.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - key (
vmware.vapi.struct.VapiStruct
orNone
) – LBJwtKey used for verifying the signature of JWT token When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inLBJwtKey
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inLBJwtKey
. - pass_jwt_to_pool (
bool
orNone
) – Specify whether to pass the JWT to backend server or remove it. By default, it is false which means will not pass the JWT to backend servers. - realm (
str
orNone
) – A description of the protected area. If no realm is specified, clients often display a formatted hostname instead. The configured realm is returned when client request is rejected with 401 http status. In the response, it will be “WWW-Authentication: Bearer realm=<realm>”. - tokens (
list
ofstr
orNone
) – JWT is an open standard that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. Load balancer will search for every specified tokens one by one for the jwt message until found. This parameter is optional. In case not found or this field is not configured, load balancer searches the Bearer header by default in the http request “Authorization: Bearer <token>”. - type (
str
) –Possible values are:
LBRuleAction.TYPE_LBSELECTPOOLACTION
LBRuleAction.TYPE_LBHTTPREQUESTURIREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREJECTACTION
LBRuleAction.TYPE_LBHTTPREDIRECTACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERDELETEACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERDELETEACTION
LBRuleAction.TYPE_LBVARIABLEASSIGNMENTACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCEONACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCELEARNACTION
LBRuleAction.TYPE_LBJWTAUTHACTION
LBRuleAction.TYPE_LBSSLMODESELECTIONACTION
LBRuleAction.TYPE_LBCONNECTIONDROPACTION
The property identifies the load balancer rule action type.
-
type
¶ Return the discriminator value
- key (
-
class
com.vmware.nsx_policy.model_client.
LBJwtCertificateKey
(certificate_path=None, type='LBJwtCertificateKey')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
The key is used to specify certificate which is used to verify the signature of JWT tokens.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - certificate_path (
str
orNone
) – Certificate identifier - type (
str
) –Possible values are:
The property is used to identify JWT key type.
-
type
¶ Return the discriminator value
- certificate_path (
-
class
com.vmware.nsx_policy.model_client.
LBJwtKey
(type='LBJwtKey')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
LBJwtKey specifies the symmetric key or asymmetric public key used to decrypt the data in JWT.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: type ( str
) –Possible values are:
The property is used to identify JWT key type.-
TYPE_LBJWTCERTIFICATEKEY
= 'LBJwtCertificateKey'¶
-
TYPE_LBJWTPUBLICKEY
= 'LBJwtPublicKey'¶
-
TYPE_LBJWTSYMMETRICKEY
= 'LBJwtSymmetricKey'¶
-
type
¶ Return the discriminator value
-
-
class
com.vmware.nsx_policy.model_client.
LBJwtPublicKey
(public_key_content=None, type='LBJwtPublicKey')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
The key is used to specify the public key content which is used to verify the signature of JWT tokens.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - public_key_content (
str
orNone
) – Content of public key - type (
str
) –Possible values are:
The property is used to identify JWT key type.
-
type
¶ Return the discriminator value
- public_key_content (
-
class
com.vmware.nsx_policy.model_client.
LBJwtSymmetricKey
(type='LBJwtSymmetricKey')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
The key is used to specify the symmetric key which is used to verify the signature of JWT tokens.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: type ( str
) –Possible values are:
The property is used to identify JWT key type.-
type
¶ Return the discriminator value
-
-
class
com.vmware.nsx_policy.model_client.
LBMonitorProfile
(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='LBMonitorProfile', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=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
) – Defaults to ID if not set - id (
str
orNone
) – Unique identifier of this resource - resource_type (
str
) –Possible values are:
LBMonitorProfile.RESOURCE_TYPE_LBTCPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBUDPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBICMPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBHTTPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBHTTPSMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBPASSIVEMONITORPROFILE
There are two types of healthchecks: active and passive. Passive healthchecks depend on failures in actual client traffic (e.g. RST from server in response to a client connection) to detect that the server or the application is down. In case of active healthchecks, load balancer itself initiates new connections (or sends ICMP ping) to the servers periodically to check their health, completely independent of any data traffic. Currently, active health monitors are supported for HTTP, HTTPS, TCP, UDP and ICMP protocols.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_LBHTTPMONITORPROFILE
= 'LBHttpMonitorProfile'¶
-
RESOURCE_TYPE_LBHTTPSMONITORPROFILE
= 'LBHttpsMonitorProfile'¶
-
RESOURCE_TYPE_LBICMPMONITORPROFILE
= 'LBIcmpMonitorProfile'¶
-
RESOURCE_TYPE_LBPASSIVEMONITORPROFILE
= 'LBPassiveMonitorProfile'¶
-
RESOURCE_TYPE_LBTCPMONITORPROFILE
= 'LBTcpMonitorProfile'¶
-
RESOURCE_TYPE_LBUDPMONITORPROFILE
= 'LBUdpMonitorProfile'¶
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
LBMonitorProfileListResult
(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
Paged Collection of LBMonitorProfiles
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
) – LBMonitorProfile list results When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inLBMonitorProfile
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inLBMonitorProfile
.
- links (
-
class
com.vmware.nsx_policy.model_client.
LBNodeCountPerSeverity
(node_count=None, severity=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
The node count for specific load balancer usage severity.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - node_count (
long
orNone
) – Node count for specific serverity. 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. - severity (
str
orNone
) –Possible values are:
LBNodeCountPerSeverity.SEVERITY_GREEN
LBNodeCountPerSeverity.SEVERITY_ORANGE
LBNodeCountPerSeverity.SEVERITY_RED
The severity calculation is based on current credit usage percentage of load balancer for one node. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
SEVERITY_GREEN
= 'GREEN'¶
-
SEVERITY_ORANGE
= 'ORANGE'¶
-
SEVERITY_RED
= 'RED'¶
- node_count (
-
class
com.vmware.nsx_policy.model_client.
LBNodeUsage
(node_path=None, resource_type='LBNodeUsage')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Node usage for load balancer contains basic information and LB entity usages and capacity for the given node. Only edge node is supported.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - node_path (
str
orNone
) – The property identifies the node path for load balancer node usage. For example, node_path=/infra/sites/default/enforcement-points/default /edge-clusters/85175e0b-4d74-461d-83e1-f3b785adef9c/edge-nodes /86e077c0-449f-11e9-87c8-02004eb37029. - resource_type (
str
) – The property identifies the load balancer node usage type.
-
resource_type
¶ Return the discriminator value
- node_path (
-
class
com.vmware.nsx_policy.model_client.
LBNodeUsageSummary
(alarm=None, enforcement_point_path=None, current_load_balancer_credits=None, current_pool_member_count=None, load_balancer_credit_capacity=None, node_counts=None, node_usages=None, pool_member_capacity=None, severity=None, usage_percentage=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
The load balancer node usage summary for all nodes from specific enforcement point. Only edge node is supported. The summary contains all edge nodes which are configured in edge clusters.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - current_load_balancer_credits (
long
orNone
) – Current load balancer credits in use for all nodes. For example, configuring a medium load balancer on a node consumes 10 credits. If there are 2 medium instances configured, the current load balancer credit number is 2 * 10 = 20. 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. - current_pool_member_count (
long
orNone
) – The overall count of pool members configured on all nodes. 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. - load_balancer_credit_capacity (
long
orNone
) – The load balancer credit capacity means the maximum credits which can be used for load balancer service configuration for all nodes. 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. - node_counts (
list
ofLBNodeCountPerSeverity
orNone
) – The property identifies array of node count for each severity. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - node_usages (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – The property identifies all LB node usages. By default, it is not included in response. It exists when parameter ?include_usages=true. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inLBNodeUsage
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inLBNodeUsage
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - pool_member_capacity (
long
orNone
) – Pool member capacity means maximum number of pool members which can be configured on all nodes. 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. - severity (
str
orNone
) –Possible values are:
LBNodeUsageSummary.SEVERITY_GREEN
LBNodeUsageSummary.SEVERITY_ORANGE
LBNodeUsageSummary.SEVERITY_RED
The severity calculation is based on overall credit usage percentage of load balancer for all nodes. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- usage_percentage (
float
orNone
) – The overall usage percentage of all nodes for load balancer. The value is the larger value between overall pool member usage percentage and overall load balancer credit usage percentage. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
SEVERITY_GREEN
= 'GREEN'¶
-
SEVERITY_ORANGE
= 'ORANGE'¶
-
SEVERITY_RED
= 'RED'¶
- alarm (
-
class
com.vmware.nsx_policy.model_client.
LBPassiveMonitorProfile
(max_fails=None, timeout=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='LBPassiveMonitorProfile', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
The passive type of LBMonitorProfile.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - max_fails (
long
orNone
) – When the consecutive failures reach this value, then the member is considered temporarily unavailable for a configurable period format: int64 - timeout (
long
orNone
) – After this timeout period, the member is tried again for a new connection to see if it is available. format: int64 - 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
) –Possible values are:
LBMonitorProfile.RESOURCE_TYPE_LBTCPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBUDPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBICMPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBHTTPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBHTTPSMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBPASSIVEMONITORPROFILE
There are two types of healthchecks: active and passive. Passive healthchecks depend on failures in actual client traffic (e.g. RST from server in response to a client connection) to detect that the server or the application is down. In case of active healthchecks, load balancer itself initiates new connections (or sends ICMP ping) to the servers periodically to check their health, completely independent of any data traffic. Currently, active health monitors are supported for HTTP, HTTPS, TCP, UDP and ICMP protocols.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
¶ Return the discriminator value
- max_fails (
-
class
com.vmware.nsx_policy.model_client.
LBPersistenceCookieTime
(cookie_max_idle=None, type='LBPersistenceCookieTime')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Persistence cookie time.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - cookie_max_idle (
long
orNone
) – HTTP cookie max-age to expire cookie, only available for insert mode. format: int64 - type (
str
) –Possible values are:
Both session cookie and persistence cookie are supported, Use LbSessionCookieTime for session cookie time setting, Use LbPersistenceCookieTime for persistence cookie time setting
-
type
¶ Return the discriminator value
- cookie_max_idle (
-
class
com.vmware.nsx_policy.model_client.
LBPersistenceProfile
(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='LBPersistenceProfile', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, persistence_shared=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Some applications maintain state and require all relevant connections to be sent to the same server as the application state is not synchronized among servers. Persistence is enabled on a LBVirtualServer by binding a persistence profile to it. LBGenericPersistenceProfile cannot be attached to LBVirtualServer directly, it can be specified in LBVariablePersistenceOnAction or LBVariablePersistenceLearnAction in LBRule. If a user attaches a LBGenericPersistenceProfile directly to a virtual server, the operation is rejected.
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
) –Possible values are:
LBPersistenceProfile.RESOURCE_TYPE_LBSOURCEIPPERSISTENCEPROFILE
LBPersistenceProfile.RESOURCE_TYPE_LBCOOKIEPERSISTENCEPROFILE
The resource_type property identifies persistence profile type.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - persistence_shared (
bool
orNone
) – Persistence shared setting indicates that all LBVirtualServers that consume this LBPersistenceProfile should share the same persistence mechanism when enabled. Meaning, persistence entries of a client accessing one virtual server will also affect the same client’s connections to a different virtual server. For example, say there are two virtual servers vip-ip1:80 and vip-ip1:8080 bound to the same Group g1 consisting of two servers (s11:80 and s12:80). By default, each virtual server will have its own persistence table or cookie. So, in the earlier example, there will be two tables (vip-ip1:80, p1) and (vip-ip1:8080, p1) or cookies. So, if a client connects to vip1:80 and later connects to vip1:8080, the second connection may be sent to a different server than the first. When persistence_shared is enabled, then the second connection will always connect to the same server as the original connection. For COOKIE persistence type, the same cookie will be shared by multiple virtual servers. For SOURCE_IP persistence type, the persistence table will be shared across virtual servers. For GENERIC persistence type, the persistence table will be shared across virtual servers which consume the same persistence profile in LBRule actions.
-
RESOURCE_TYPE_LBCOOKIEPERSISTENCEPROFILE
= 'LBCookiePersistenceProfile'¶
-
RESOURCE_TYPE_LBGENERICPERSISTENCEPROFILE
= 'LBGenericPersistenceProfile'¶
-
RESOURCE_TYPE_LBSOURCEIPPERSISTENCEPROFILE
= 'LBSourceIpPersistenceProfile'¶
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
LBPersistenceProfileListResult
(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
Paged Collection of LBPersistenceProfiles
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
) – LBPersistenceProfile list results When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inLBPersistenceProfile
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inLBPersistenceProfile
.
- links (
-
class
com.vmware.nsx_policy.model_client.
LBPool
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, active_monitor_paths=None, algorithm=None, member_group=None, members=None, min_active_members=None, passive_monitor_path=None, snat_translation=None, tcp_multiplexing_enabled=None, tcp_multiplexing_number=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Defining access of a Group from a LBVirtualServer and binding to LBMonitorProfile.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_monitor_paths (
list
ofstr
orNone
) – In case of active healthchecks, load balancer itself initiates new connections (or sends ICMP ping) to the servers periodically to check their health, completely independent of any data traffic. Active healthchecks are disabled by default and can be enabled for a server pool by binding a health monitor to the pool. If multiple active monitors are configured, the pool member status is UP only when the health check status for all the monitors are UP. - algorithm (
str
orNone
) –Possible values are:
LBPool.ALGORITHM_ROUND_ROBIN
LBPool.ALGORITHM_WEIGHTED_ROUND_ROBIN
LBPool.ALGORITHM_LEAST_CONNECTION
LBPool.ALGORITHM_WEIGHTED_LEAST_CONNECTION
LBPool.ALGORITHM_IP_HASH
Load Balancing algorithm chooses a server for each new connection by going through the list of servers in the pool. Currently, following load balancing algorithms are supported with ROUND_ROBIN as the default. ROUND_ROBIN means that a server is selected in a round-robin fashion. The weight would be ignored even if it is configured. WEIGHTED_ROUND_ROBIN means that a server is selected in a weighted round-robin fashion. Default weight of 1 is used if weight is not configured. LEAST_CONNECTION means that a server is selected when it has the least number of connections. The weight would be ignored even if it is configured. Slow start would be enabled by default. WEIGHTED_LEAST_CONNECTION means that a server is selected in a weighted least connection fashion. Default weight of 1 is used if weight is not configured. Slow start would be enabled by default. IP_HASH means that consistent hash is performed on the source IP address of the incoming connection. This ensures that the same client IP address will always reach the same server as long as no server goes down or up. It may be used on the Internet to provide a best-effort stickiness to clients which refuse session cookies.
- member_group (
LBPoolMemberGroup
orNone
) – Load balancer pool support grouping object as dynamic pool members. When member group is defined, members setting should not be specified. - members (
list
ofLBPoolMember
orNone
) – Server pool consists of one or more pool members. Each pool member is identified, typically, by an IP address and a port. - min_active_members (
long
orNone
) – A pool is considered active if there are at least certain minimum number of members. format: int64 - passive_monitor_path (
str
orNone
) – Passive healthchecks are disabled by default and can be enabled by attaching a passive health monitor to a server pool. Each time a client connection to a pool member fails, its failed count is incremented. For pools bound to L7 virtual servers, a connection is considered to be failed and failed count is incremented if any TCP connection errors (e.g. TCP RST or failure to send data) or SSL handshake failures occur. For pools bound to L4 virtual servers, if no response is received to a TCP SYN sent to the pool member or if a TCP RST is received in response to a TCP SYN, then the pool member is considered to have failed and the failed count is incremented. - snat_translation (
vmware.vapi.struct.VapiStruct
orNone
) – Depending on the topology, Source NAT (SNAT) may be required to ensure traffic from the server destined to the client is received by the load balancer. SNAT can be enabled per pool. If SNAT is not enabled for a pool, then load balancer uses the client IP and port (spoofing) while establishing connections to the servers. This is referred to as no-SNAT or TRANSPARENT mode. By default Source NAT is enabled as LBSnatAutoMap. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inLBSnatTranslation
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inLBSnatTranslation
. - tcp_multiplexing_enabled (
bool
orNone
) – TCP multiplexing allows the same TCP connection between load balancer and the backend server to be used for sending multiple client requests from different client TCP connections. - tcp_multiplexing_number (
long
orNone
) – The maximum number of TCP connections per pool that are idly kept alive for sending future client requests. format: int64
-
ALGORITHM_IP_HASH
= 'IP_HASH'¶
-
ALGORITHM_LEAST_CONNECTION
= 'LEAST_CONNECTION'¶
-
ALGORITHM_ROUND_ROBIN
= 'ROUND_ROBIN'¶
-
ALGORITHM_WEIGHTED_LEAST_CONNECTION
= 'WEIGHTED_LEAST_CONNECTION'¶
-
ALGORITHM_WEIGHTED_ROUND_ROBIN
= 'WEIGHTED_ROUND_ROBIN'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
LBPoolListResult
(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
Paged Collection of LBPool.
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
ofLBPool
orNone
) – LBPool list results.
- links (
-
class
com.vmware.nsx_policy.model_client.
LBPoolMember
(admin_state=None, backup_member=None, display_name=None, ip_address=None, max_concurrent_connections=None, port=None, weight=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Pool member.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - admin_state (
str
orNone
) –Possible values are:
LBPoolMember.ADMIN_STATE_ENABLED
LBPoolMember.ADMIN_STATE_DISABLED
LBPoolMember.ADMIN_STATE_GRACEFUL_DISABLED
Member admin state. - backup_member (
bool
orNone
) – Backup servers are typically configured with a sorry page indicating to the user that the application is currently unavailable. While the pool is active (a specified minimum number of pool members are active) BACKUP members are skipped during server selection. When the pool is inactive, incoming connections are sent to only the BACKUP member(s). - display_name (
str
orNone
) – Pool member name. - ip_address (
str
orNone
) – Pool member IP address. format: ip - max_concurrent_connections (
long
orNone
) – To ensure members are not overloaded, connections to a member can be capped by the load balancer. When a member reaches this limit, it is skipped during server selection. If it is not specified, it means that connections are unlimited. format: int64 - port (
str
orNone
) – If port is specified, all connections will be sent to this port. Only single port is supported. If unset, the same port the client connected to will be used, it could be overrode by default_pool_member_port setting in virtual server. The port should not specified for port range case. format: port-or-range - weight (
long
orNone
) – Pool member weight is used for WEIGHTED_ROUND_ROBIN balancing algorithm. The weight value would be ignored in other algorithms. format: int64
-
ADMIN_STATE_DISABLED
= 'DISABLED'¶
-
ADMIN_STATE_ENABLED
= 'ENABLED'¶
-
ADMIN_STATE_GRACEFUL_DISABLED
= 'GRACEFUL_DISABLED'¶
- admin_state (
-
class
com.vmware.nsx_policy.model_client.
LBPoolMemberGroup
(customized_members=None, group_path=None, ip_revision_filter=None, max_ip_list_size=None, port=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Pool member group.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - customized_members (
list
ofPoolMemberSetting
orNone
) – The list is used to show the customized pool member settings. User can only user pool member action API to update the admin state for a specific IP address. - group_path (
str
orNone
) – Load balancer pool support Group as dynamic pool members. The IP list of the Group would be used as pool member IP setting. - ip_revision_filter (
str
orNone
) –Possible values are:
LBPoolMemberGroup.IP_REVISION_FILTER_IPV4
LBPoolMemberGroup.IP_REVISION_FILTER_IPV6
LBPoolMemberGroup.IP_REVISION_FILTER_IPV4_IPV6
Ip revision filter is used to filter IPv4 or IPv6 addresses from the grouping object. If the filter is not specified, both IPv4 and IPv6 addresses would be used as server IPs. The link local and loopback addresses would be always filtered out.
- max_ip_list_size (
long
orNone
) – The size is used to define the maximum number of grouping object IP address list. These IP addresses would be used as pool members. If the grouping object includes more than certain number of IP addresses, the redundant parts would be ignored and those IP addresses would not be treated as pool members. If the size is not specified, one member is budgeted for this dynamic pool so that the pool has at least one member even if some other dynamic pools grow beyond the capacity of load balancer service. Other members are picked according to available dynamic capacity. The unused members would be set to DISABLED so that the load balancer system itself is not overloaded during runtime. format: int64 - port (
long
orNone
) – If port is specified, all connections will be sent to this port. If unset, the same port the client connected to will be used, it could be overridden by default_pool_member_ports setting in virtual server. The port should not specified for multiple ports case. format: int32
-
IP_REVISION_FILTER_IPV4
= 'IPV4'¶
-
IP_REVISION_FILTER_IPV4_IPV6
= 'IPV4_IPV6'¶
-
IP_REVISION_FILTER_IPV6
= 'IPV6'¶
- customized_members (
-
class
com.vmware.nsx_policy.model_client.
LBPoolMemberStatistics
(ip_address=None, port=None, statistics=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_address (
str
orNone
) – Pool member IP address. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - port (
str
orNone
) – The port is configured in pool member. For virtual server port range case, pool member port must be null. format: port-or-range This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - statistics (
LBStatisticsCounter
orNone
) – Pool member statistics counter.
- ip_address (
-
class
com.vmware.nsx_policy.model_client.
LBPoolMemberStatus
(failure_cause=None, ip_address=None, last_check_time=None, last_state_change_time=None, port=None, status=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - failure_cause (
str
orNone
) – If multiple active monitors are configured, the failure_cause contains failure cause for each monitors. Like “Monitor_1:failure_cause_1. Monitor_2:failure_cause_2.” 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_address (
str
orNone
) – Pool member IP address. format: ip 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_check_time (
long
orNone
) – If multiple active monitors are configured, the property value is the latest last_check_time among all the monitors. 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_state_change_time (
long
orNone
) – If multiple active monitors are configured, the property value is the latest last_state_change_time among all the monitors. 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. - port (
str
orNone
) – The port is configured in pool member. For virtual server port range case, pool member port must be null. format: port-or-range This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - status (
str
orNone
) –Possible values are:
LBPoolMemberStatus.STATUS_UP
LBPoolMemberStatus.STATUS_DOWN
LBPoolMemberStatus.STATUS_DISABLED
LBPoolMemberStatus.STATUS_GRACEFUL_DISABLED
LBPoolMemberStatus.STATUS_UNUSED
LBPoolMemberStatus.STATUS_UNKNOWN
UP means that pool member is enabled and monitors have marked the pool member as UP. If the pool member has no monitor configured, it would be treated as UP. DOWN means that pool member is enabled and monitors have marked the pool member as DOWN. DISABLED means that admin state of pool member is set to DISABLED. GRACEFUL_DISABLED means that admin state of pool member is set to GRACEFUL_DISABLED. UNUSED means that the pool member is not used when the IP list size of member group exceeds the maximum setting. The remaining IP addresses would not be used as available backend servers, hence mark the status as UNUSED. UNKNOWN means that the related pool is not associated to any enabled virtual servers, or no status reported from transport-nodes, the associated load balancer service may be working(or not working). This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
STATUS_DISABLED
= 'DISABLED'¶
-
STATUS_DOWN
= 'DOWN'¶
-
STATUS_GRACEFUL_DISABLED
= 'GRACEFUL_DISABLED'¶
-
STATUS_UNKNOWN
= 'UNKNOWN'¶
-
STATUS_UNUSED
= 'UNUSED'¶
-
STATUS_UP
= 'UP'¶
- failure_cause (
-
class
com.vmware.nsx_policy.model_client.
LBPoolStatistics
(last_update_timestamp=None, members=None, pool_path=None, statistics=None, alarm=None, enforcement_point_path=None, resource_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - last_update_timestamp (
long
orNone
) – Timestamp when the data was last updated. 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. - members (
list
ofLBPoolMemberStatistics
orNone
) – Statistics of load balancer pool members. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - pool_path (
str
orNone
) – Load balancer pool object 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. - statistics (
LBStatisticsCounter
orNone
) – Virtual server statistics counter. - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –
-
resource_type
¶ Return the discriminator value
- last_update_timestamp (
-
class
com.vmware.nsx_policy.model_client.
LBPoolStatisticsPerEP
(alarm=None, enforcement_point_path=None, resource_type='LBPoolStatisticsPerEP')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
LBPoolStatistics on specific Enforcement Point
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –
-
resource_type
¶ Return the discriminator value
- alarm (
-
class
com.vmware.nsx_policy.model_client.
LBPoolStatus
(last_update_timestamp=None, members=None, pool_path=None, status=None, alarm=None, enforcement_point_path=None, resource_type='LBPoolStatus')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - last_update_timestamp (
long
orNone
) – Timestamp when the data was last updated. 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. - members (
list
ofLBPoolMemberStatus
orNone
) – Status of load balancer pool members. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - pool_path (
str
orNone
) – Load balancer pool object 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. - status (
str
orNone
) –Possible values are:
LBPoolStatus.STATUS_UP
LBPoolStatus.STATUS_PARTIALLY_UP
LBPoolStatus.STATUS_PRIMARY_DOWN
LBPoolStatus.STATUS_DOWN
LBPoolStatus.STATUS_DETACHED
LBPoolStatus.STATUS_UNKNOWN
UP means that all primary members are in UP status. PARTIALLY_UP means that some(not all) primary members are in UP status, the number of these active members is larger or equal to certain number(min_active_members) which is defined in LBPool. When there are no backup members which are in the UP status, the number(min_active_members) would be ignored. PRIMARY_DOWN means that less than certain(min_active_members) primary members are in UP status but backup members are in UP status, connections to this pool would be dispatched to backup members. DOWN means that all primary and backup members are DOWN. DETACHED means that the pool is not bound to any virtual server. UNKOWN means that no status reported from transport-nodes. The associated load balancer service may be working(or not working). This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –
-
STATUS_DETACHED
= 'DETACHED'¶
-
STATUS_DOWN
= 'DOWN'¶
-
STATUS_PARTIALLY_UP
= 'PARTIALLY_UP'¶
-
STATUS_PRIMARY_DOWN
= 'PRIMARY_DOWN'¶
-
STATUS_UNKNOWN
= 'UNKNOWN'¶
-
STATUS_UP
= 'UP'¶
-
resource_type
¶ Return the discriminator value
- last_update_timestamp (
-
class
com.vmware.nsx_policy.model_client.
LBPoolStatusPerEP
(alarm=None, enforcement_point_path=None, resource_type='LBPoolStatusPerEP')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
LBPoolStatus on specific Enforcement Point
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –
-
resource_type
¶ Return the discriminator value
- alarm (
-
class
com.vmware.nsx_policy.model_client.
LBRule
(actions=None, display_name=None, match_conditions=None, match_strategy=None, phase=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Binding of a LBPool and Group to a LBVirtualServer used to route application traffic passing through load balancers. LBRule uses match conditions to match application traffic passing through a LBVirtualServer using HTTP or HTTPS. Can bind multiple LBVirtualServers to a Group. Each LBRule consists of two optional match conditions, each match contidion defines a criterion for application traffic. If no match conditions are specified, then the LBRule will always match and it is used typically to define default rules. If more than one match condition is specified, then matching strategy determines if all conditions should match or any one condition should match for the LBRule to be considered a match. A match indicates that the LBVirtualServer should route the request to the Group (parent of LBRule).
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - actions (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – A list of actions to be executed at specified phase when load balancer rule matches. The actions are used to manipulate application traffic, such as rewrite URI of HTTP messages, redirect HTTP messages, etc. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inLBRuleAction
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inLBRuleAction
. - display_name (
str
orNone
) – A display name useful for identifying an LBRule. - match_conditions (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – A list of match conditions used to match application traffic. Multiple match conditions can be specified in one load balancer rule, each match condition defines a criterion to match application traffic. If no match conditions are specified, then the load balancer rule will always match and it is used typically to define default rules. If more than one match condition is specified, then match strategy determines if all conditions should match or any one condition should match for the load balancer rule to considered a match. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inLBRuleCondition
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inLBRuleCondition
. - match_strategy (
str
orNone
) –Possible values are:
If more than one match condition is specified, then matching strategy determines if all conditions should match or any one condition should match for the LB Rule to be considered a match. - ALL indicates that both host_match and path_match must match for this LBRule to be considered a match. - ANY indicates that either host_match or patch match may match for this LBRule to be considered a match.
- phase (
str
orNone
) –Possible values are:
LBRule.PHASE_HTTP_REQUEST_REWRITE
LBRule.PHASE_HTTP_FORWARDING
LBRule.PHASE_HTTP_RESPONSE_REWRITE
LBRule.PHASE_HTTP_ACCESS
LBRule.PHASE_TRANSPORT
Each load balancer rule is used at a specific phase of load balancer processing. Currently five phases are supported, HTTP_REQUEST_REWRITE, HTTP_FORWARDING, HTTP_RESPONSE_REWRITE, HTTP_ACCESS and TRANSPORT. When an HTTP request message is received by load balancer, all HTTP_REQUEST_REWRITE rules, if present are executed in the order they are applied to virtual server. And then if HTTP_FORWARDING rules present, only first matching rule’s action is executed, remaining rules are not checked. HTTP_FORWARDING rules can have only one action. If the request is forwarded to a backend server and the response goes back to load balancer, all HTTP_RESPONSE_REWRITE rules, if present, are executed in the order they are applied to the virtual server. In HTTP_ACCESS phase, user can define action to control access using JWT authentication. In TRANSPORT phase, user can define the condition to match SNI in TLS client hello and define the action to do SSL end-to-end, SSL offloading or SSL passthrough using a specific load balancer server pool.
-
MATCH_STRATEGY_ALL
= 'ALL'¶
-
MATCH_STRATEGY_ANY
= 'ANY'¶
-
PHASE_HTTP_ACCESS
= 'HTTP_ACCESS'¶
-
PHASE_HTTP_FORWARDING
= 'HTTP_FORWARDING'¶
-
PHASE_HTTP_REQUEST_REWRITE
= 'HTTP_REQUEST_REWRITE'¶
-
PHASE_HTTP_RESPONSE_REWRITE
= 'HTTP_RESPONSE_REWRITE'¶
-
PHASE_TRANSPORT
= 'TRANSPORT'¶
- actions (
-
class
com.vmware.nsx_policy.model_client.
LBRuleAction
(type='LBRuleAction')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Load balancer rule actions are used to manipulate application traffic. Currently load balancer rules can be used at three load balancer processing phases. Each phase has its own supported type of actions. Supported actions in HTTP_REQUST_REWRITE phase are: LBHttpRequestUriRewriteAction LBHttpRequestHeaderRewriteAction LBHttpRequestHeaderDeleteAction LBVariableAssignmentAction Supported actions in HTTP_FORWARDING phase are: LBHttpRejectAction LBHttpRedirectAction LBSelectPoolAction LBVariablePersistenceOnAction LBConnectionDropAction Supported action in HTTP_RESPONSE_REWRITE phase is: LBHttpResponseHeaderRewriteAction LBHttpResponseHeaderDeleteAction LBVariablePersistenceLearnAction Supported action in HTTP_ACCESS phase is: LBJwtAuthAction LBConnectionDropAction LBVariableAssignmentAction Supported action in TRANSPORT phase is: LBSslModeSelectionAction LBSelectPoolAction If the match type of an LBRuleCondition field is specified as REGEX and named capturing groups are used in the specified regular expression. The groups can be used as variables in LBRuleAction fields. For example, define a rule with LBHttpRequestUriCondition as match condition and LBHttpRequestUriRewriteAction as action. Set match_type field of LBHttpRequestUriCondition to REGEX, and set uri field to “/news/(?<year>d+)/(?<month>d+)/(?<article>.*)”. Set uri field of LBHttpRequestUriRewriteAction to: “/news/$year-$month/$article” In uri field of LBHttpRequestUriCondition, the (?<year>d+), (?<month>d+) and (?<article>.*) are named capturing groups, they define variables named $year, $month and $article respectively. The defined variables are used in LBHttpRequestUriRewriteAction. For a matched HTTP request with URI “/news/2017/06/xyz.html”, the substring “2017” is captured in variable $year, “06” is captured in variable $month, and “xyz.html” is captured in variable $article. The LBHttpRequestUriRewriteAction will rewrite the URI to: “/news/2017-06/xyz.html” A set of built-in variables can be used in LBRuleAction as well. The name of built-in variables start with underscore, the name of user defined variables is not allowed to start with underscore. Following are some of the built-in variables: $_scheme: Reference the scheme part of matched HTTP messages, could be “http” or “https”. $_host: Host of matched HTTP messages, for example “www.example.com”. $_server_port: Port part of URI, it is also the port of the server which accepted a request. Default port is 80 for http and 443 for https. $_uri: The URI path, for example “/products/sample.html”. $_request_uri: Full original request URI with arguments, for example, “/products/sample.html?a=b&c=d”. $_args: URI arguments, for instance “a=b&c=d” $_is_args: “?” if a request has URI arguments, or an empty string otherwise. For the full list of built-in variables, please reference the NSX-T Administrator’s Guide.
Tip
The arguments are used to initialize data attributes with the same names.
-
TYPE_LBCONNECTIONDROPACTION
= 'LBConnectionDropAction'¶
-
TYPE_LBHTTPREDIRECTACTION
= 'LBHttpRedirectAction'¶
-
TYPE_LBHTTPREJECTACTION
= 'LBHttpRejectAction'¶
-
TYPE_LBHTTPREQUESTHEADERDELETEACTION
= 'LBHttpRequestHeaderDeleteAction'¶
-
TYPE_LBHTTPREQUESTHEADERREWRITEACTION
= 'LBHttpRequestHeaderRewriteAction'¶
-
TYPE_LBHTTPREQUESTURIREWRITEACTION
= 'LBHttpRequestUriRewriteAction'¶
-
TYPE_LBHTTPRESPONSEHEADERDELETEACTION
= 'LBHttpResponseHeaderDeleteAction'¶
-
TYPE_LBHTTPRESPONSEHEADERREWRITEACTION
= 'LBHttpResponseHeaderRewriteAction'¶
-
TYPE_LBJWTAUTHACTION
= 'LBJwtAuthAction'¶
-
TYPE_LBSELECTPOOLACTION
= 'LBSelectPoolAction'¶
-
TYPE_LBSSLMODESELECTIONACTION
= 'LBSslModeSelectionAction'¶
-
TYPE_LBVARIABLEASSIGNMENTACTION
= 'LBVariableAssignmentAction'¶
-
TYPE_LBVARIABLEPERSISTENCELEARNACTION
= 'LBVariablePersistenceLearnAction'¶
-
TYPE_LBVARIABLEPERSISTENCEONACTION
= 'LBVariablePersistenceOnAction'¶
-
type
¶ Return the discriminator value
-
-
class
com.vmware.nsx_policy.model_client.
LBRuleCondition
(inverse=None, type='LBRuleCondition')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Match conditions are used to match application traffic passing through load balancers. Multiple match conditions can be specified in one load balancer rule, each match condition defines a criterion for application traffic. If inverse field is set to true, the match result of the condition is inverted. If more than one match condition is specified, match strategy determines if all conditions should match or any one condition should match for the load balancer rule to be considered a match. Currently only HTTP messages are supported by load balancer rules. Each load balancer rule is used at a specific phase of load balancer processing. Currently three phases are supported, HTTP_REQUEST_REWRITE, HTTP_FORWARDING and HTTP_RESPONSE_REWRITE. Each phase supports certain types of match conditions, supported match conditions in HTTP_REQUEST_REWRITE phase are: LBHttpRequestMethodCondition LBHttpRequestUriCondition LBHttpRequestUriArgumentsCondition LBHttpRequestVersionCondition LBHttpRequestHeaderCondition LBHttpRequestCookieCondition LBHttpRequestBodyCondition LBTcpHeaderCondition LBIpHeaderCondition LBVariableCondition LBHttpSslCondition Supported match conditions in HTTP_FORWARDING phase are: LBHttpRequestMethodCondition LBHttpRequestUriCondition LBHttpRequestUriArgumentsCondition LBHttpRequestVersionCondition LBHttpRequestHeaderCondition LBHttpRequestCookieCondition LBHttpRequestBodyCondition LBTcpHeaderCondition LBIpHeaderCondition LBVariableCondition LBHttpSslCondition LBSslSniCondition Supported match conditions in HTTP_RESPONSE_REWRITE phase are: LBHttpResponseHeaderCondition LBHttpRequestMethodCondition LBHttpRequestUriCondition LBHttpRequestUriArgumentsCondition LBHttpRequestVersionCondition LBHttpRequestHeaderCondition LBHttpRequestCookieCondition LBTcpHeaderCondition LBIpHeaderCondition LBVariableCondition LBHttpSslCondition Supported match condition in HTTP_ACCESS phase is: LBHttpRequestMethodCondition LBHttpRequestUriCondition LBHttpRequestUriArgumentsCondition LBHttpRequestVersionCondition LBHttpRequestHeaderCondition LBHttpRequestCookieCondition LBHttpRequestBodyCondition LBTcpHeaderCondition LBIpHeaderCondition LBVariableCondition LBHttpSslCondition Supported match condition in TRANSPORT phase is: LBSslSniCondition
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - inverse (
bool
orNone
) – A flag to indicate whether reverse the match result of this condition - type (
str
) –Possible values are:
LBRuleCondition.TYPE_LBHTTPREQUESTURICONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTHEADERCONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTMETHODCONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTURIARGUMENTSCONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTVERSIONCONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTCOOKIECONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTBODYCONDITION
LBRuleCondition.TYPE_LBHTTPRESPONSEHEADERCONDITION
LBRuleCondition.TYPE_LBTCPHEADERCONDITION
LBRuleCondition.TYPE_LBIPHEADERCONDITION
LBRuleCondition.TYPE_LBVARIABLECONDITION
LBRuleCondition.TYPE_LBHTTPSSLCONDITION
LBRuleCondition.TYPE_LBSSLSNICONDITION
Type of load balancer rule condition
-
TYPE_LBHTTPREQUESTBODYCONDITION
= 'LBHttpRequestBodyCondition'¶
-
TYPE_LBHTTPREQUESTCOOKIECONDITION
= 'LBHttpRequestCookieCondition'¶
-
TYPE_LBHTTPREQUESTHEADERCONDITION
= 'LBHttpRequestHeaderCondition'¶
-
TYPE_LBHTTPREQUESTMETHODCONDITION
= 'LBHttpRequestMethodCondition'¶
-
TYPE_LBHTTPREQUESTURIARGUMENTSCONDITION
= 'LBHttpRequestUriArgumentsCondition'¶
-
TYPE_LBHTTPREQUESTURICONDITION
= 'LBHttpRequestUriCondition'¶
-
TYPE_LBHTTPREQUESTVERSIONCONDITION
= 'LBHttpRequestVersionCondition'¶
-
TYPE_LBHTTPRESPONSEHEADERCONDITION
= 'LBHttpResponseHeaderCondition'¶
-
TYPE_LBHTTPSSLCONDITION
= 'LBHttpSslCondition'¶
-
TYPE_LBIPHEADERCONDITION
= 'LBIpHeaderCondition'¶
-
TYPE_LBSSLSNICONDITION
= 'LBSslSniCondition'¶
-
TYPE_LBTCPHEADERCONDITION
= 'LBTcpHeaderCondition'¶
-
TYPE_LBVARIABLECONDITION
= 'LBVariableCondition'¶
-
type
¶ Return the discriminator value
- inverse (
-
class
com.vmware.nsx_policy.model_client.
LBSelectPoolAction
(pool_id=None, type='LBSelectPoolAction')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This action is used to select a pool for matched HTTP request messages. The pool is specified by path. The matched HTTP request messages are forwarded to the specified pool.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - pool_id (
str
orNone
) – Path of load balancer pool. - type (
str
) –Possible values are:
LBRuleAction.TYPE_LBSELECTPOOLACTION
LBRuleAction.TYPE_LBHTTPREQUESTURIREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREJECTACTION
LBRuleAction.TYPE_LBHTTPREDIRECTACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERDELETEACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERDELETEACTION
LBRuleAction.TYPE_LBVARIABLEASSIGNMENTACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCEONACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCELEARNACTION
LBRuleAction.TYPE_LBJWTAUTHACTION
LBRuleAction.TYPE_LBSSLMODESELECTIONACTION
LBRuleAction.TYPE_LBCONNECTIONDROPACTION
The property identifies the load balancer rule action type.
-
type
¶ Return the discriminator value
- pool_id (
-
class
com.vmware.nsx_policy.model_client.
LBServerSslProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, cipher_group_label=None, ciphers=None, is_fips=None, is_secure=None, protocols=None, session_cache_enabled=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Server SSL profile.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - cipher_group_label (
str
orNone
) –Possible values are:
LBServerSslProfile.CIPHER_GROUP_LABEL_BALANCED
LBServerSslProfile.CIPHER_GROUP_LABEL_HIGH_SECURITY
LBServerSslProfile.CIPHER_GROUP_LABEL_HIGH_COMPATIBILITY
LBServerSslProfile.CIPHER_GROUP_LABEL_CUSTOM
It is a label of cipher group which is mostly consumed by GUI. - ciphers (
list
ofstr
orNone
) –Possible values are:
LBServerSslProfile.CIPHERS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
LBServerSslProfile.CIPHERS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
LBServerSslProfile.CIPHERS_ECDHE_RSA_WITH_AES_256_CBC_SHA
LBServerSslProfile.CIPHERS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
LBServerSslProfile.CIPHERS_ECDH_ECDSA_WITH_AES_256_CBC_SHA
LBServerSslProfile.CIPHERS_ECDH_RSA_WITH_AES_256_CBC_SHA
LBServerSslProfile.CIPHERS_RSA_WITH_AES_256_CBC_SHA
LBServerSslProfile.CIPHERS_RSA_WITH_AES_128_CBC_SHA
LBServerSslProfile.CIPHERS_RSA_WITH_3DES_EDE_CBC_SHA
LBServerSslProfile.CIPHERS_ECDHE_RSA_WITH_AES_128_CBC_SHA
LBServerSslProfile.CIPHERS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
LBServerSslProfile.CIPHERS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
LBServerSslProfile.CIPHERS_RSA_WITH_AES_128_CBC_SHA256
LBServerSslProfile.CIPHERS_RSA_WITH_AES_128_GCM_SHA256
LBServerSslProfile.CIPHERS_RSA_WITH_AES_256_CBC_SHA256
LBServerSslProfile.CIPHERS_RSA_WITH_AES_256_GCM_SHA384
LBServerSslProfile.CIPHERS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
LBServerSslProfile.CIPHERS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
LBServerSslProfile.CIPHERS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
LBServerSslProfile.CIPHERS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384
LBServerSslProfile.CIPHERS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
LBServerSslProfile.CIPHERS_ECDH_ECDSA_WITH_AES_128_CBC_SHA
LBServerSslProfile.CIPHERS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256
LBServerSslProfile.CIPHERS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256
LBServerSslProfile.CIPHERS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384
LBServerSslProfile.CIPHERS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384
LBServerSslProfile.CIPHERS_ECDH_RSA_WITH_AES_128_CBC_SHA
LBServerSslProfile.CIPHERS_ECDH_RSA_WITH_AES_128_CBC_SHA256
LBServerSslProfile.CIPHERS_ECDH_RSA_WITH_AES_128_GCM_SHA256
LBServerSslProfile.CIPHERS_ECDH_RSA_WITH_AES_256_CBC_SHA384
Supported SSL cipher list to client side.
- is_fips (
bool
orNone
) – This flag is set to true when all the ciphers and protocols are FIPS compliant. It is set to false when one of the ciphers or protocols are not FIPS compliant. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - is_secure (
bool
orNone
) – This flag is set to true when all the ciphers and protocols are secure. It is set to false when one of the ciphers or protocols is insecure. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - protocols (
list
ofstr
orNone
) –Possible values are:
LBServerSslProfile.PROTOCOLS_SSL_V2
LBServerSslProfile.PROTOCOLS_SSL_V3
LBServerSslProfile.PROTOCOLS_TLS_V1
LBServerSslProfile.PROTOCOLS_TLS_V1_1
LBServerSslProfile.PROTOCOLS_TLS_V1_2
SSL versions TLS1.1 and TLS1.2 are supported and enabled by default. SSLv2, SSLv3, and TLS1.0 are supported, but disabled by default.
- session_cache_enabled (
bool
orNone
) – SSL session caching allows SSL client and server to reuse previously negotiated security parameters avoiding the expensive public key operation during handshake.
-
CIPHERS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
= 'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA'¶
-
CIPHERS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
= 'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256'¶
-
CIPHERS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
= 'TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256'¶
-
CIPHERS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
= 'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA'¶
-
CIPHERS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384
= 'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384'¶
-
CIPHERS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
= 'TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384'¶
-
CIPHERS_ECDHE_RSA_WITH_AES_128_CBC_SHA
= 'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA'¶
-
CIPHERS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
= 'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256'¶
-
CIPHERS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
= 'TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256'¶
-
CIPHERS_ECDHE_RSA_WITH_AES_256_CBC_SHA
= 'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA'¶
-
CIPHERS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
= 'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384'¶
-
CIPHERS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
= 'TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384'¶
-
CIPHERS_ECDH_ECDSA_WITH_AES_128_CBC_SHA
= 'TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA'¶
-
CIPHERS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256
= 'TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256'¶
-
CIPHERS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256
= 'TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256'¶
-
CIPHERS_ECDH_ECDSA_WITH_AES_256_CBC_SHA
= 'TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA'¶
-
CIPHERS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384
= 'TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384'¶
-
CIPHERS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384
= 'TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384'¶
-
CIPHERS_ECDH_RSA_WITH_AES_128_CBC_SHA
= 'TLS_ECDH_RSA_WITH_AES_128_CBC_SHA'¶
-
CIPHERS_ECDH_RSA_WITH_AES_128_CBC_SHA256
= 'TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256'¶
-
CIPHERS_ECDH_RSA_WITH_AES_128_GCM_SHA256
= 'TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256'¶
-
CIPHERS_ECDH_RSA_WITH_AES_256_CBC_SHA
= 'TLS_ECDH_RSA_WITH_AES_256_CBC_SHA'¶
-
CIPHERS_ECDH_RSA_WITH_AES_256_CBC_SHA384
= 'TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384'¶
-
CIPHERS_ECDH_RSA_WITH_AES_256_GCM_SHA384
= 'TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384'¶
-
CIPHERS_RSA_WITH_3DES_EDE_CBC_SHA
= 'TLS_RSA_WITH_3DES_EDE_CBC_SHA'¶
-
CIPHERS_RSA_WITH_AES_128_CBC_SHA
= 'TLS_RSA_WITH_AES_128_CBC_SHA'¶
-
CIPHERS_RSA_WITH_AES_128_CBC_SHA256
= 'TLS_RSA_WITH_AES_128_CBC_SHA256'¶
-
CIPHERS_RSA_WITH_AES_128_GCM_SHA256
= 'TLS_RSA_WITH_AES_128_GCM_SHA256'¶
-
CIPHERS_RSA_WITH_AES_256_CBC_SHA
= 'TLS_RSA_WITH_AES_256_CBC_SHA'¶
-
CIPHERS_RSA_WITH_AES_256_CBC_SHA256
= 'TLS_RSA_WITH_AES_256_CBC_SHA256'¶
-
CIPHERS_RSA_WITH_AES_256_GCM_SHA384
= 'TLS_RSA_WITH_AES_256_GCM_SHA384'¶
-
CIPHER_GROUP_LABEL_BALANCED
= 'BALANCED'¶
-
CIPHER_GROUP_LABEL_CUSTOM
= 'CUSTOM'¶
-
CIPHER_GROUP_LABEL_HIGH_COMPATIBILITY
= 'HIGH_COMPATIBILITY'¶
-
CIPHER_GROUP_LABEL_HIGH_SECURITY
= 'HIGH_SECURITY'¶
-
PROTOCOLS_SSL_V2
= 'SSL_V2'¶
-
PROTOCOLS_SSL_V3
= 'SSL_V3'¶
-
PROTOCOLS_TLS_V1
= 'TLS_V1'¶
-
PROTOCOLS_TLS_V1_1
= 'TLS_V1_1'¶
-
PROTOCOLS_TLS_V1_2
= 'TLS_V1_2'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
LBServerSslProfileBinding
(certificate_chain_depth=None, client_certificate_path=None, server_auth=None, server_auth_ca_paths=None, server_auth_crl_paths=None, ssl_profile_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Server SSL profile binding.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - certificate_chain_depth (
long
orNone
) – Authentication depth is used to set the verification depth in the server certificates chain. format: int64 - client_certificate_path (
str
orNone
) – To support client authentication (load balancer acting as a client authenticating to the backend server), client certificate can be specified in the server-side SSL profile binding - server_auth (
str
orNone
) –Possible values are:
LBServerSslProfileBinding.SERVER_AUTH_REQUIRED
LBServerSslProfileBinding.SERVER_AUTH_IGNORE
LBServerSslProfileBinding.SERVER_AUTH_AUTO_APPLY
Server authentication mode. - server_auth_ca_paths (
list
ofstr
orNone
) – If server auth type is REQUIRED, server certificate must be signed by one of the trusted Certificate Authorities (CAs), also referred to as root CAs, whose self signed certificates are specified. - server_auth_crl_paths (
list
ofstr
orNone
) – A Certificate Revocation List (CRL) can be specified in the server-side SSL profile binding to disallow compromised server certificates. - ssl_profile_path (
str
orNone
) – Server SSL profile defines reusable, application-independent server side SSL properties.
-
SERVER_AUTH_AUTO_APPLY
= 'AUTO_APPLY'¶
-
SERVER_AUTH_IGNORE
= 'IGNORE'¶
-
SERVER_AUTH_REQUIRED
= 'REQUIRED'¶
- certificate_chain_depth (
-
class
com.vmware.nsx_policy.model_client.
LBServerSslProfileListResult
(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
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
ofLBServerSslProfile
orNone
) – Paginated list of load balancer server SSL profiles
- links (
-
class
com.vmware.nsx_policy.model_client.
LBService
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, access_log_enabled=None, connectivity_path=None, enabled=None, error_log_level=None, relax_scale_validation=None, size=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Loadbalancer Service.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - access_log_enabled (
bool
orNone
) – Flag to enable access log - connectivity_path (
str
orNone
) – LBS could be instantiated (or created) on the Tier-1, etc. For now, only the Tier-1 object is supported. - enabled (
bool
orNone
) – Flag to enable the load balancer service. - error_log_level (
str
orNone
) –Possible values are:
LBService.ERROR_LOG_LEVEL_DEBUG
LBService.ERROR_LOG_LEVEL_INFO
LBService.ERROR_LOG_LEVEL_WARNING
LBService.ERROR_LOG_LEVEL_ERROR
LBService.ERROR_LOG_LEVEL_CRITICAL
LBService.ERROR_LOG_LEVEL_ALERT
LBService.ERROR_LOG_LEVEL_EMERGENCY
Load balancer engine writes information about encountered issues of different severity levels to the error log. This setting is used to define the severity level of the error log.
- relax_scale_validation (
bool
orNone
) – If relax_scale_validation is true, the scale validations for virtual servers/pools/pool members/rules are relaxed for load balancer service. When load balancer service is deployed on edge nodes, the scale of virtual servers/pools/pool members for the load balancer service should not exceed the scale number of the largest load balancer size which could be configured on a certain edge form factor. For example, the largest load balancer size supported on a MEDIUM edge node is MEDIUM. So one SMALL load balancer deployed on MEDIUM edge nodes can support the scale number of MEDIUM load balancer. It is not recommended to enable active monitors if relax_scale_validation is true due to performance consideration. If relax_scale_validation is false, scale numbers should be validated for load balancer service. - size (
str
orNone
) –Possible values are:
LBService.SIZE_SMALL
LBService.SIZE_MEDIUM
LBService.SIZE_LARGE
LBService.SIZE_XLARGE
LBService.SIZE_DLB
Load balancer service size.
-
ERROR_LOG_LEVEL_ALERT
= 'ALERT'¶
-
ERROR_LOG_LEVEL_CRITICAL
= 'CRITICAL'¶
-
ERROR_LOG_LEVEL_DEBUG
= 'DEBUG'¶
-
ERROR_LOG_LEVEL_EMERGENCY
= 'EMERGENCY'¶
-
ERROR_LOG_LEVEL_ERROR
= 'ERROR'¶
-
ERROR_LOG_LEVEL_INFO
= 'INFO'¶
-
ERROR_LOG_LEVEL_WARNING
= 'WARNING'¶
-
SIZE_DLB
= 'DLB'¶
-
SIZE_LARGE
= 'LARGE'¶
-
SIZE_MEDIUM
= 'MEDIUM'¶
-
SIZE_SMALL
= 'SMALL'¶
-
SIZE_XLARGE
= 'XLARGE'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
LBServiceCountPerSeverity
(service_count=None, severity=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
The service count for specific load balancer usage severity.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - service_count (
long
orNone
) – Service count for specific serverity. 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. - severity (
str
orNone
) –Possible values are:
LBServiceCountPerSeverity.SEVERITY_GREEN
LBServiceCountPerSeverity.SEVERITY_ORANGE
LBServiceCountPerSeverity.SEVERITY_RED
The severity calculation is based on current usage percentage for one load balancer 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.
-
SEVERITY_GREEN
= 'GREEN'¶
-
SEVERITY_ORANGE
= 'ORANGE'¶
-
SEVERITY_RED
= 'RED'¶
- service_count (
-
class
com.vmware.nsx_policy.model_client.
LBServiceListResult
(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
Paged Collection of LBServices
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
ofLBService
orNone
) – LBService list results
- links (
-
class
com.vmware.nsx_policy.model_client.
LBServiceStatistics
(last_update_timestamp=None, pools=None, service_path=None, statistics=None, virtual_servers=None, alarm=None, enforcement_point_path=None, resource_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - last_update_timestamp (
long
orNone
) – Timestamp when the data was last updated. 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. - pools (
list
ofLBPoolStatistics
orNone
) – Statistics of load balancer pools This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - service_path (
str
orNone
) – load balancer service 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. - statistics (
LBServiceStatisticsCounter
orNone
) – Load balancer service statistics counter. - virtual_servers (
list
ofLBVirtualServerStatistics
orNone
) – Statistics of load balancer virtual servers. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –
-
resource_type
¶ Return the discriminator value
- last_update_timestamp (
-
class
com.vmware.nsx_policy.model_client.
LBServiceStatisticsCounter
(l4_current_session_rate=None, l4_current_sessions=None, l4_max_sessions=None, l4_total_sessions=None, l7_current_session_rate=None, l7_current_sessions=None, l7_max_sessions=None, l7_total_sessions=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - l4_current_session_rate (
float
orNone
) – The average number of l4 current sessions per second, the number is averaged over the last 5 one-second intervals. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - l4_current_sessions (
long
orNone
) – Number of l4 current sessions. 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. - l4_max_sessions (
long
orNone
) – L4 max sessions is used to show the peak L4 max session data since load balancer starts to provide service. 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. - l4_total_sessions (
long
orNone
) – Number of l4 total sessions. 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. - l7_current_session_rate (
float
orNone
) – The average number of l7 current requests per second, the number is averaged over the last 5 one-second intervals. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - l7_current_sessions (
long
orNone
) – Number of l7 current sessions. 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. - l7_max_sessions (
long
orNone
) – L7 max sessions is used to show the peak L7 max session data since load balancer starts to provide service. 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. - l7_total_sessions (
long
orNone
) – Number of l7 total sessions. 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.
- l4_current_session_rate (
-
class
com.vmware.nsx_policy.model_client.
LBServiceStatisticsPerEP
(alarm=None, enforcement_point_path=None, resource_type='LBServiceStatisticsPerEP')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
LBServiceStatistics on specific Enforcement Point
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –
-
resource_type
¶ Return the discriminator value
- alarm (
-
class
com.vmware.nsx_policy.model_client.
LBServiceStatus
(active_transport_nodes=None, cpu_usage=None, error_message=None, last_update_timestamp=None, memory_usage=None, pools=None, service_path=None, service_status=None, standby_transport_nodes=None, virtual_servers=None, alarm=None, enforcement_point_path=None, resource_type='LBServiceStatus')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - active_transport_nodes (
list
ofstr
orNone
) – Ids of load balancer service related active transport nodes. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - cpu_usage (
long
orNone
) – Cpu usage in percentage. 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. - error_message (
str
orNone
) – Error message, if available. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - last_update_timestamp (
long
orNone
) – Timestamp when the data was last updated. 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. - memory_usage (
long
orNone
) – Memory usage in percentage. 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. - pools (
list
ofLBPoolStatus
orNone
) – status of load balancer pools. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - service_path (
str
orNone
) – Load balancer service object 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. - service_status (
str
orNone
) –Possible values are:
LBServiceStatus.SERVICE_STATUS_UP
LBServiceStatus.SERVICE_STATUS_DOWN
LBServiceStatus.SERVICE_STATUS_ERROR
LBServiceStatus.SERVICE_STATUS_NO_STANDBY
LBServiceStatus.SERVICE_STATUS_DETACHED
LBServiceStatus.SERVICE_STATUS_DISABLED
LBServiceStatus.SERVICE_STATUS_UNKNOWN
UP means the load balancer service is working fine on both transport-nodes(if have); DOWN means the load balancer service is down on both transport-nodes (if have), hence the load balancer will not respond to any requests; ERROR means error happens on transport-node(s) or no status is reported from transport-node(s). The load balancer service may be working (or not working); NO_STANDBY means load balancer service is working in one of the transport node while not in the other transport-node (if have). Hence if the load balancer service in the working transport-node goes down, the load balancer service will go down; DETACHED means that the load balancer service has no attachment setting and is not instantiated in any transport nodes; DISABLED means that admin state of load balancer service is DISABLED; UNKNOWN means that no status reported from transport-nodes.The load balancer service may be working(or not working). This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- standby_transport_nodes (
list
ofstr
orNone
) – Ids of load balancer service related standby transport nodes. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - virtual_servers (
list
ofLBVirtualServerStatus
orNone
) – status of load balancer virtual servers. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –
-
SERVICE_STATUS_DETACHED
= 'DETACHED'¶
-
SERVICE_STATUS_DISABLED
= 'DISABLED'¶
-
SERVICE_STATUS_DOWN
= 'DOWN'¶
-
SERVICE_STATUS_ERROR
= 'ERROR'¶
-
SERVICE_STATUS_NO_STANDBY
= 'NO_STANDBY'¶
-
SERVICE_STATUS_UNKNOWN
= 'UNKNOWN'¶
-
SERVICE_STATUS_UP
= 'UP'¶
-
resource_type
¶ Return the discriminator value
- active_transport_nodes (
-
class
com.vmware.nsx_policy.model_client.
LBServiceStatusPerEP
(alarm=None, enforcement_point_path=None, resource_type='LBServiceStatusPerEP')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
LBServiceStatus on specific Enforcement Point
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –
-
resource_type
¶ Return the discriminator value
- alarm (
-
class
com.vmware.nsx_policy.model_client.
LBServiceUsage
(current_pool_count=None, current_pool_member_count=None, current_virtual_server_count=None, last_update_timestamp=None, pool_capacity=None, pool_member_capacity=None, service_path=None, service_size=None, severity=None, usage_percentage=None, virtual_server_capacity=None, alarm=None, enforcement_point_path=None, resource_type='LBServiceUsage')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Describes the capacity and current usage of virtual servers, pools and pool members for the given load balancer service.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - current_pool_count (
long
orNone
) – The current number of pools which has been configured in the given load balancer service. 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. - current_pool_member_count (
long
orNone
) – The current number of pool members which has been configured in the given load balancer service. 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. - current_virtual_server_count (
long
orNone
) – The current number of virtual servers which has been configured in the given load balancer service. 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_update_timestamp (
long
orNone
) – Timestamp when the data was last updated. format: int64 - pool_capacity (
long
orNone
) – Pool capacity means maximum number of pools which could be configured in the given load balancer service. 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. - pool_member_capacity (
long
orNone
) – Pool member capacity means maximum number of pool members which could be configured in the given load balancer service. 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. - service_path (
str
orNone
) – LBService object 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. - service_size (
str
orNone
) –Possible values are:
LBServiceUsage.SERVICE_SIZE_SMALL
LBServiceUsage.SERVICE_SIZE_MEDIUM
LBServiceUsage.SERVICE_SIZE_LARGE
LBServiceUsage.SERVICE_SIZE_XLARGE
LBServiceUsage.SERVICE_SIZE_DLB
The size of load balancer 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.
- severity (
str
orNone
) –Possible values are:
The severity calculation is based on the largest usage percentage from virtual servers, pools and pool members for one load balancer 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.
- usage_percentage (
float
orNone
) – The usage percentage is the largest usage percentage from virtual servers, pools and pool members for the load balancer service. If the property relax_scale_validation is set as true for LBService, it is possible that the value is larger than 100.0. For example, if SMALL LBS is deployed on MEDIUM edge node and configured with MEDIUM LBS virtual server scale number, LBS usage percentage is shown larger than 100.0. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - virtual_server_capacity (
long
orNone
) – Virtual server capacity means maximum number of virtual servers which could be configured in the given load balancer service. 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. - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –
-
SERVICE_SIZE_DLB
= 'DLB'¶
-
SERVICE_SIZE_LARGE
= 'LARGE'¶
-
SERVICE_SIZE_MEDIUM
= 'MEDIUM'¶
-
SERVICE_SIZE_SMALL
= 'SMALL'¶
-
SERVICE_SIZE_XLARGE
= 'XLARGE'¶
-
SEVERITY_GREEN
= 'GREEN'¶
-
SEVERITY_ORANGE
= 'ORANGE'¶
-
SEVERITY_RED
= 'RED'¶
-
resource_type
¶ Return the discriminator value
- current_pool_count (
-
class
com.vmware.nsx_policy.model_client.
LBServiceUsagePerEP
(alarm=None, enforcement_point_path=None, resource_type='LBServiceUsagePerEP')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
LBServiceUsage on specific Enforcement Point
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –
-
resource_type
¶ Return the discriminator value
- alarm (
-
class
com.vmware.nsx_policy.model_client.
LBServiceUsageSummary
(current_pool_count=None, current_pool_member_count=None, current_virtual_server_count=None, pool_capacity=None, pool_member_capacity=None, pool_member_severity=None, pool_member_usage_percentage=None, pool_severity=None, pool_usage_percentage=None, service_counts=None, service_usages=None, virtual_server_capacity=None, virtual_server_severity=None, virtual_server_usage_percentage=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Describes usage summary of virtual servers, pools and pool members for all load balancer services.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - current_pool_count (
long
orNone
) – The current count of pools configured for all load balancer services. 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. - current_pool_member_count (
long
orNone
) – The current count of pool members configured for all load balancer services. 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. - current_virtual_server_count (
long
orNone
) – The current count of virtual servers configured for all load balancer services. 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. - pool_capacity (
long
orNone
) – Pool capacity means maximum number of pools which can be configured for all load balancer services. 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. - pool_member_capacity (
long
orNone
) – Pool capacity means maximum number of pool members which can be configured for all load balancer services. 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. - pool_member_severity (
str
orNone
) –Possible values are:
LBServiceUsageSummary.POOL_MEMBER_SEVERITY_GREEN
LBServiceUsageSummary.POOL_MEMBER_SEVERITY_ORANGE
LBServiceUsageSummary.POOL_MEMBER_SEVERITY_RED
The severity calculation is based on the overall usage percentage of pool members for all load balancer services. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- pool_member_usage_percentage (
float
orNone
) – Overall pool member usage percentage for all load balancer services. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - pool_severity (
str
orNone
) –Possible values are:
LBServiceUsageSummary.POOL_SEVERITY_GREEN
LBServiceUsageSummary.POOL_SEVERITY_ORANGE
LBServiceUsageSummary.POOL_SEVERITY_RED
The severity calculation is based on the overall usage percentage of pools for all load balancer services. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- pool_usage_percentage (
float
orNone
) – Overall pool usage percentage for all load balancer services. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - service_counts (
list
ofLBServiceCountPerSeverity
orNone
) – The service count for each load balancer usage severity. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - service_usages (
list
ofLBServiceUsage
orNone
) – The property identifies all lb service usages. By default, it is not included in response. It exists when parameter ?include_usages=true. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - virtual_server_capacity (
long
orNone
) – Virtual server capacity means maximum number of virtual servers which can be configured for all load balancer services. 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. - virtual_server_severity (
str
orNone
) –Possible values are:
LBServiceUsageSummary.VIRTUAL_SERVER_SEVERITY_GREEN
LBServiceUsageSummary.VIRTUAL_SERVER_SEVERITY_ORANGE
LBServiceUsageSummary.VIRTUAL_SERVER_SEVERITY_RED
The severity calculation is based on the overall usage percentage of virtual servers for all load balancer services. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- virtual_server_usage_percentage (
float
orNone
) – Overall virtual server usage percentage for all load balancer services. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
POOL_MEMBER_SEVERITY_GREEN
= 'GREEN'¶
-
POOL_MEMBER_SEVERITY_ORANGE
= 'ORANGE'¶
-
POOL_MEMBER_SEVERITY_RED
= 'RED'¶
-
POOL_SEVERITY_GREEN
= 'GREEN'¶
-
POOL_SEVERITY_ORANGE
= 'ORANGE'¶
-
POOL_SEVERITY_RED
= 'RED'¶
-
VIRTUAL_SERVER_SEVERITY_GREEN
= 'GREEN'¶
-
VIRTUAL_SERVER_SEVERITY_ORANGE
= 'ORANGE'¶
-
VIRTUAL_SERVER_SEVERITY_RED
= 'RED'¶
- current_pool_count (
-
class
com.vmware.nsx_policy.model_client.
LBSessionCookieTime
(cookie_max_idle=None, cookie_max_life=None, type='LBSessionCookieTime')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Session cookie time.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - cookie_max_idle (
long
orNone
) – Instead of using HTTP Cookie max-age and relying on client to expire the cookie, max idle time and/or max lifetime of the cookie can be used. Max idle time, if configured, specifies the maximum interval the cookie is valid for from the last time it was seen in a request. It is available for insert mode. format: int64 - cookie_max_life (
long
orNone
) – Max life time, if configured, specifies the maximum interval the cookie is valid for from the first time the cookie was seen in a request. It is available for insert mode. format: int64 - type (
str
) –Possible values are:
Both session cookie and persistence cookie are supported, Use LbSessionCookieTime for session cookie time setting, Use LbPersistenceCookieTime for persistence cookie time setting
-
type
¶ Return the discriminator value
- cookie_max_idle (
-
class
com.vmware.nsx_policy.model_client.
LBSnatAutoMap
(type='LBSnatAutoMap')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Snat auto map.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: type ( str
) –Possible values are:
LBSnatTranslation.TYPE_LBSNATAUTOMAP
LBSnatTranslation.TYPE_LBSNATIPPOOL
LBSnatTranslation.TYPE_LBSNATDISABLED
Snat translation type.-
type
¶ Return the discriminator value
-
class
com.vmware.nsx_policy.model_client.
LBSnatDisabled
(type='LBSnatDisabled')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Snat disabled.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: type ( str
) –Possible values are:
LBSnatTranslation.TYPE_LBSNATAUTOMAP
LBSnatTranslation.TYPE_LBSNATIPPOOL
LBSnatTranslation.TYPE_LBSNATDISABLED
Snat translation type.-
type
¶ Return the discriminator value
-
class
com.vmware.nsx_policy.model_client.
LBSnatIpElement
(ip_address=None, prefix_length=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Snat Ip element.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_address (
str
orNone
) – Ip address or ip range such as 1.1.1.1 or 1.1.1.101-1.1.1.160. format: address-or-block-or-range - prefix_length (
long
orNone
) – Subnet prefix length should be not specified if there is only one single IP address or IP range. format: int64
- ip_address (
-
class
com.vmware.nsx_policy.model_client.
LBSnatIpPool
(ip_addresses=None, type='LBSnatIpPool')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Snat Ip pool.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_addresses (
list
ofLBSnatIpElement
orNone
) – If an IP range is specified, the range may contain no more than 64 IP addresses. - type (
str
) –Possible values are:
LBSnatTranslation.TYPE_LBSNATAUTOMAP
LBSnatTranslation.TYPE_LBSNATIPPOOL
LBSnatTranslation.TYPE_LBSNATDISABLED
Snat translation type.
-
type
¶ Return the discriminator value
- ip_addresses (
-
class
com.vmware.nsx_policy.model_client.
LBSnatTranslation
(type='LBSnatTranslation')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Snat Translation.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: type ( str
) –Possible values are:
LBSnatTranslation.TYPE_LBSNATAUTOMAP
LBSnatTranslation.TYPE_LBSNATIPPOOL
LBSnatTranslation.TYPE_LBSNATDISABLED
Snat translation type.-
TYPE_LBSNATAUTOMAP
= 'LBSnatAutoMap'¶
-
TYPE_LBSNATDISABLED
= 'LBSnatDisabled'¶
-
TYPE_LBSNATIPPOOL
= 'LBSnatIpPool'¶
-
type
¶ Return the discriminator value
-
class
com.vmware.nsx_policy.model_client.
LBSourceIpPersistenceProfile
(ha_persistence_mirroring_enabled=None, purge=None, timeout=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='LBSourceIpPersistenceProfile', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, persistence_shared=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Some applications maintain state and require all relevant connections to be sent to the same server as the application state is not synchronized among servers. Persistence is enabled on a LBVirtualServer by binding a persistence profile to it.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ha_persistence_mirroring_enabled (
bool
orNone
) – Persistence entries are not synchronized to the HA peer by default. - purge (
str
orNone
) –Possible values are:
Persistence purge setting. - timeout (
long
orNone
) – When all connections complete (reference count reaches 0), persistence entry timer is started with the expiration time. format: int64 - 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
) –Possible values are:
LBPersistenceProfile.RESOURCE_TYPE_LBSOURCEIPPERSISTENCEPROFILE
LBPersistenceProfile.RESOURCE_TYPE_LBCOOKIEPERSISTENCEPROFILE
The resource_type property identifies persistence profile type.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - persistence_shared (
bool
orNone
) – Persistence shared setting indicates that all LBVirtualServers that consume this LBPersistenceProfile should share the same persistence mechanism when enabled. Meaning, persistence entries of a client accessing one virtual server will also affect the same client’s connections to a different virtual server. For example, say there are two virtual servers vip-ip1:80 and vip-ip1:8080 bound to the same Group g1 consisting of two servers (s11:80 and s12:80). By default, each virtual server will have its own persistence table or cookie. So, in the earlier example, there will be two tables (vip-ip1:80, p1) and (vip-ip1:8080, p1) or cookies. So, if a client connects to vip1:80 and later connects to vip1:8080, the second connection may be sent to a different server than the first. When persistence_shared is enabled, then the second connection will always connect to the same server as the original connection. For COOKIE persistence type, the same cookie will be shared by multiple virtual servers. For SOURCE_IP persistence type, the persistence table will be shared across virtual servers. For GENERIC persistence type, the persistence table will be shared across virtual servers which consume the same persistence profile in LBRule actions.
-
PURGE_FULL
= 'FULL'¶
-
PURGE_NO_PURGE
= 'NO_PURGE'¶
-
resource_type
¶ Return the discriminator value
- ha_persistence_mirroring_enabled (
-
class
com.vmware.nsx_policy.model_client.
LBSslModeSelectionAction
(ssl_mode=None, type='LBSslModeSelectionAction')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This action is used to select SSL mode. Three types of SSL mode actions can be specified in Transport phase, ssl passthrough, ssl offloading and ssl end-to-end.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ssl_mode (
str
orNone
) –Possible values are:
LBSslModeSelectionAction.SSL_MODE_PASSTHROUGH
LBSslModeSelectionAction.SSL_MODE_END_TO_END
LBSslModeSelectionAction.SSL_MODE_OFFLOAD
SSL Passthrough: LB establishes a TCP connection with client and another connection with selected backend server. LB won’t inspect the stream data between client and backend server, but just pass it through. Backend server exchanges SSL connection with client. SSL Offloading: LB terminiates the connections from client, and establishes SSL connection with it. After receiving the HTTP request, LB connects the selected backend server and talk with it via HTTP without SSL. LB estalishes new connection to selected backend server for each HTTP request, in case ntlm or multiplexing are NOT configured. SSL End-to-End: LB terminiates the connections from client, and establishes SSL connection with it. After receiving the HTTP request, LB connects the selected backend server and talk with it via HTTPS. LB estalishes new SSL connection to selected backend server for each HTTP request, in case ntlm or multiplexing are NOT configured.
- type (
str
) –Possible values are:
LBRuleAction.TYPE_LBSELECTPOOLACTION
LBRuleAction.TYPE_LBHTTPREQUESTURIREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREJECTACTION
LBRuleAction.TYPE_LBHTTPREDIRECTACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERDELETEACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERDELETEACTION
LBRuleAction.TYPE_LBVARIABLEASSIGNMENTACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCEONACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCELEARNACTION
LBRuleAction.TYPE_LBJWTAUTHACTION
LBRuleAction.TYPE_LBSSLMODESELECTIONACTION
LBRuleAction.TYPE_LBCONNECTIONDROPACTION
The property identifies the load balancer rule action type.
-
SSL_MODE_END_TO_END
= 'SSL_END_TO_END'¶
-
SSL_MODE_OFFLOAD
= 'SSL_OFFLOAD'¶
-
SSL_MODE_PASSTHROUGH
= 'SSL_PASSTHROUGH'¶
-
type
¶ Return the discriminator value
- ssl_mode (
-
class
com.vmware.nsx_policy.model_client.
LBSslProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Load balancer abstract SSL profile.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_policy.model_client.
LBSslSniCondition
(case_sensitive=None, match_type=None, sni=None, inverse=None, type='LBSslSniCondition')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This condition is used to match SSL SNI in client hello. This condition is only supported in TRANSPORT phase. Only if virtual server is associated with client SSL profile, matching SNI condition in transport phase is available to be configured.
Tip
The arguments are used to initialize data attributes with the same names.
-
MATCH_TYPE_CONTAINS
= 'CONTAINS'¶
-
MATCH_TYPE_ENDS_WITH
= 'ENDS_WITH'¶
-
MATCH_TYPE_EQUALS
= 'EQUALS'¶
-
MATCH_TYPE_REGEX
= 'REGEX'¶
-
MATCH_TYPE_STARTS_WITH
= 'STARTS_WITH'¶
-
type
¶ Return the discriminator value
-
-
class
com.vmware.nsx_policy.model_client.
LBStatisticsCounter
(bytes_in=None, bytes_in_rate=None, bytes_out=None, bytes_out_rate=None, current_session_rate=None, current_sessions=None, dropped_packets_by_access_list=None, dropped_sessions_by_lbrule_action=None, http_request_rate=None, http_requests=None, max_sessions=None, packets_in=None, packets_in_rate=None, packets_out=None, packets_out_rate=None, source_ip_persistence_entry_size=None, total_sessions=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - bytes_in (
long
orNone
) – Number of bytes in. 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. - bytes_in_rate (
float
orNone
) – The average number of inbound bytes per second, the number is averaged over the last 5 one-second intervals. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - bytes_out (
long
orNone
) – Number of bytes out. 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. - bytes_out_rate (
float
orNone
) – The average number of outbound bytes per second, the number is averaged over the last 5 one-second intervals. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - current_session_rate (
float
orNone
) – The average number of current sessions per second, the number is averaged over the last 5 one-second intervals. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - current_sessions (
long
orNone
) – Number of current sessions. 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. - dropped_packets_by_access_list (
long
orNone
) – The total number of dropped TCP SYN or UDP packets by access list control. format: int64 - dropped_sessions_by_lbrule_action (
long
orNone
) – The total number of dropped sessions by LB rule action. format: int64 - http_request_rate (
float
orNone
) – The average number of http requests per second, the number is averaged over the last 5 one-second intervals. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - http_requests (
long
orNone
) – The total number of http requests. 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. - max_sessions (
long
orNone
) – Number of maximum sessions. 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. - packets_in (
long
orNone
) – Number of packets in. 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. - packets_in_rate (
float
orNone
) – The average number of inbound packets per second, the number is averaged over the last 5 one-second intervals. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - packets_out (
long
orNone
) – Number of packets out. 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. - packets_out_rate (
float
orNone
) – The average number of outbound packets per second, the number is averaged over the last 5 one-second intervals. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - source_ip_persistence_entry_size (
long
orNone
) – Number of source IP persistence entries 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. - total_sessions (
long
orNone
) – Number of total sessions. 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.
- bytes_in (
-
class
com.vmware.nsx_policy.model_client.
LBTcpHeaderCondition
(source_port=None, inverse=None, type='LBTcpHeaderCondition')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This condition is used to match TCP header fields of HTTP messages. Currently, only the TCP source port is supported. Ports can be expressed as a single port number like 80, or a port range like 1024-1030.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - source_port (
str
orNone
) – TCP source port of HTTP message format: port-or-range - inverse (
bool
orNone
) – A flag to indicate whether reverse the match result of this condition - type (
str
) –Possible values are:
LBRuleCondition.TYPE_LBHTTPREQUESTURICONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTHEADERCONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTMETHODCONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTURIARGUMENTSCONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTVERSIONCONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTCOOKIECONDITION
LBRuleCondition.TYPE_LBHTTPREQUESTBODYCONDITION
LBRuleCondition.TYPE_LBHTTPRESPONSEHEADERCONDITION
LBRuleCondition.TYPE_LBTCPHEADERCONDITION
LBRuleCondition.TYPE_LBIPHEADERCONDITION
LBRuleCondition.TYPE_LBVARIABLECONDITION
LBRuleCondition.TYPE_LBHTTPSSLCONDITION
LBRuleCondition.TYPE_LBSSLSNICONDITION
Type of load balancer rule condition
-
type
¶ Return the discriminator value
- source_port (
-
class
com.vmware.nsx_policy.model_client.
LBTcpMonitorProfile
(receive=None, send=None, fall_count=None, interval=None, monitor_port=None, rise_count=None, timeout=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=None, tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Active healthchecks are disabled by default and can be enabled for a server pool by binding a health monitor to the Group through the LBRule object. This represents active health monitoring over TCP. Active healthchecks are initiated periodically, at a configurable interval, to each member of the Group. Only if a healthcheck fails consecutively for a specified number of times (fall_count) to a member will the member status be marked DOWN. Once a member is DOWN, a specified number of consecutive successful healthchecks (rise_count) will bring the member back to UP state. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - receive (
str
orNone
) – Expected data, if specified, can be anywhere in the response and it has to be a string, regular expressions are not supported. - send (
str
orNone
) – If both send and receive are not specified, then just a TCP connection is established (3-way handshake) to validate server is healthy, no data is sent. - fall_count (
long
orNone
) – Only if a healthcheck fails consecutively for a specified number of times, given with fall_count, to a member will the member status be marked DOWN. format: int64 - interval (
long
orNone
) – Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group. format: int64 - monitor_port (
long
orNone
) – Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value. For ICMP monitor, monitor_port is not required. format: int32 - rise_count (
long
orNone
) – Once a member is DOWN, a specified number of consecutive successful healthchecks specified by rise_count will bring the member back to UP state. format: int64 - timeout (
long
orNone
) – Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout. format: int64 - 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
) –Possible values are:
LBMonitorProfile.RESOURCE_TYPE_LBTCPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBUDPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBICMPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBHTTPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBHTTPSMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBPASSIVEMONITORPROFILE
There are two types of healthchecks: active and passive. Passive healthchecks depend on failures in actual client traffic (e.g. RST from server in response to a client connection) to detect that the server or the application is down. In case of active healthchecks, load balancer itself initiates new connections (or sends ICMP ping) to the servers periodically to check their health, completely independent of any data traffic. Currently, active health monitors are supported for HTTP, HTTPS, TCP, UDP and ICMP protocols.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
¶ Return the discriminator value
- receive (
-
class
com.vmware.nsx_policy.model_client.
LBUdpMonitorProfile
(receive=None, send=None, fall_count=None, interval=None, monitor_port=None, rise_count=None, timeout=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=None, tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Active healthchecks are disabled by default and can be enabled for a server pool by binding a health monitor to the Group through the LBRule object. This represents active health monitoring over UDP. Active healthchecks are initiated periodically, at a configurable interval, to each member of the Group. Only if a healthcheck fails consecutively for a specified number of times (fall_count) to a member will the member status be marked DOWN. Once a member is DOWN, a specified number of consecutive successful healthchecks (rise_count) will bring the member back to UP state. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - receive (
str
orNone
) – Expected data, can be anywhere in the response and it has to be a string, regular expressions are not supported. UDP healthcheck is considered failed if there is no server response within the timeout period. - send (
str
orNone
) – The data to be sent to the monitored server. - fall_count (
long
orNone
) – Only if a healthcheck fails consecutively for a specified number of times, given with fall_count, to a member will the member status be marked DOWN. format: int64 - interval (
long
orNone
) – Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group. format: int64 - monitor_port (
long
orNone
) – Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value. For ICMP monitor, monitor_port is not required. format: int32 - rise_count (
long
orNone
) – Once a member is DOWN, a specified number of consecutive successful healthchecks specified by rise_count will bring the member back to UP state. format: int64 - timeout (
long
orNone
) – Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout. format: int64 - 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
) –Possible values are:
LBMonitorProfile.RESOURCE_TYPE_LBTCPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBUDPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBICMPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBHTTPMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBHTTPSMONITORPROFILE
LBMonitorProfile.RESOURCE_TYPE_LBPASSIVEMONITORPROFILE
There are two types of healthchecks: active and passive. Passive healthchecks depend on failures in actual client traffic (e.g. RST from server in response to a client connection) to detect that the server or the application is down. In case of active healthchecks, load balancer itself initiates new connections (or sends ICMP ping) to the servers periodically to check their health, completely independent of any data traffic. Currently, active health monitors are supported for HTTP, HTTPS, TCP, UDP and ICMP protocols.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
¶ Return the discriminator value
- receive (
-
class
com.vmware.nsx_policy.model_client.
LBVariableAssignmentAction
(variable_name=None, variable_value=None, type='LBVariableAssignmentAction')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This action is used to create a new variable and assign value to it. One action can be used to create one variable. To create multiple variables, multiple actions must be defined. The variables can be used by LBVariableCondition, etc.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - variable_name (
str
orNone
) – Name of the variable to be assigned. - variable_value (
str
orNone
) – Value of variable. - type (
str
) –Possible values are:
LBRuleAction.TYPE_LBSELECTPOOLACTION
LBRuleAction.TYPE_LBHTTPREQUESTURIREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREJECTACTION
LBRuleAction.TYPE_LBHTTPREDIRECTACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERDELETEACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERDELETEACTION
LBRuleAction.TYPE_LBVARIABLEASSIGNMENTACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCEONACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCELEARNACTION
LBRuleAction.TYPE_LBJWTAUTHACTION
LBRuleAction.TYPE_LBSSLMODESELECTIONACTION
LBRuleAction.TYPE_LBCONNECTIONDROPACTION
The property identifies the load balancer rule action type.
-
type
¶ Return the discriminator value
- variable_name (
-
class
com.vmware.nsx_policy.model_client.
LBVariableCondition
(case_sensitive=None, match_type=None, variable_name=None, variable_value=None, inverse=None, type='LBVariableCondition')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This condition is used to match variable’s name and value at all phases. The variables could be captured from REGEX or assigned by LBVariableAssignmentAction or system embedded variable. Varialbe_name and variable_value should be matched at the same time.
Tip
The arguments are used to initialize data attributes with the same names.
-
MATCH_TYPE_CONTAINS
= 'CONTAINS'¶
-
MATCH_TYPE_ENDS_WITH
= 'ENDS_WITH'¶
-
MATCH_TYPE_EQUALS
= 'EQUALS'¶
-
MATCH_TYPE_REGEX
= 'REGEX'¶
-
MATCH_TYPE_STARTS_WITH
= 'STARTS_WITH'¶
-
type
¶ Return the discriminator value
-
-
class
com.vmware.nsx_policy.model_client.
LBVariablePersistenceLearnAction
(persistence_profile_path=None, variable_hash_enabled=None, variable_name=None, type='LBVariablePersistenceLearnAction')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This action is performed in HTTP response rewrite phase. It is used to learn the value of variable from the HTTP response, and insert an entry into the persistence table if the entry doesn’t exist.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - persistence_profile_path (
str
orNone
) – If the persistence profile path is not specified, a default persistence table is created per virtual server. Currently, only LBGenericPersistenceProfile is supported. - variable_hash_enabled (
bool
orNone
) – The property is used to enable a hash operation for variable value when composing the persistence key. - variable_name (
str
orNone
) – The property is the name of variable to be learnt. It is used to identify which variable’s value is learnt from HTTP response. The variable can be a built-in variable such as “_cookie_JSESSIONID”, a customized variable defined in LBVariableAssignmentAction or a captured variable in regular expression such as “article”. For the full list of built-in variables, please reference the NSX-T Administrator’s Guide. - type (
str
) –Possible values are:
LBRuleAction.TYPE_LBSELECTPOOLACTION
LBRuleAction.TYPE_LBHTTPREQUESTURIREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREJECTACTION
LBRuleAction.TYPE_LBHTTPREDIRECTACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERDELETEACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERDELETEACTION
LBRuleAction.TYPE_LBVARIABLEASSIGNMENTACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCEONACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCELEARNACTION
LBRuleAction.TYPE_LBJWTAUTHACTION
LBRuleAction.TYPE_LBSSLMODESELECTIONACTION
LBRuleAction.TYPE_LBCONNECTIONDROPACTION
The property identifies the load balancer rule action type.
-
type
¶ Return the discriminator value
- persistence_profile_path (
-
class
com.vmware.nsx_policy.model_client.
LBVariablePersistenceOnAction
(persistence_profile_path=None, variable_hash_enabled=None, variable_name=None, type='LBVariablePersistenceOnAction')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This action is performed in HTTP forwarding phase. It is used to inspect the variable of HTTP request, and look up the persistence entry with its value and pool uuid as key. If the persistence entry is found, the HTTP request is forwarded to the recorded backend server according to the persistence entry. If the persistence entry is not found, a new entry is created in the table after backend server is selected.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - persistence_profile_path (
str
orNone
) – If the persistence profile path is not specified, a default persistence table is created per virtual server. Currently, only LBGenericPersistenceProfile is supported. - variable_hash_enabled (
bool
orNone
) – The property is used to enable a hash operation for variable value when composing the persistence key. - variable_name (
str
orNone
) – The property is the name of variable to be used. It specifies which variable’s value of a HTTP Request will be used in the key of persistence entry. The variable can be a built-in variable such as “_cookie_JSESSIONID”, a customized variable defined in LBVariableAssignmentAction or a captured variable in regular expression such as “article”. For the full list of built-in variables, please reference the NSX-T Administrator’s Guide. - type (
str
) –Possible values are:
LBRuleAction.TYPE_LBSELECTPOOLACTION
LBRuleAction.TYPE_LBHTTPREQUESTURIREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREJECTACTION
LBRuleAction.TYPE_LBHTTPREDIRECTACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERREWRITEACTION
LBRuleAction.TYPE_LBHTTPREQUESTHEADERDELETEACTION
LBRuleAction.TYPE_LBHTTPRESPONSEHEADERDELETEACTION
LBRuleAction.TYPE_LBVARIABLEASSIGNMENTACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCEONACTION
LBRuleAction.TYPE_LBVARIABLEPERSISTENCELEARNACTION
LBRuleAction.TYPE_LBJWTAUTHACTION
LBRuleAction.TYPE_LBSSLMODESELECTIONACTION
LBRuleAction.TYPE_LBCONNECTIONDROPACTION
The property identifies the load balancer rule action type.
-
type
¶ Return the discriminator value
- persistence_profile_path (
-
class
com.vmware.nsx_policy.model_client.
LBVirtualServer
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, access_list_control=None, access_log_enabled=None, application_profile_path=None, client_ssl_profile_binding=None, default_pool_member_ports=None, enabled=None, ip_address=None, lb_persistence_profile_path=None, lb_service_path=None, log_significant_event_only=None, max_concurrent_connections=None, max_new_connection_rate=None, pool_path=None, ports=None, rules=None, server_ssl_profile_binding=None, sorry_pool_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
All the types of LBVirtualServer extend from this abstract class. This is present for extensibility.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - access_list_control (
LBAccessListControl
orNone
) – Specifies the access list control to define how to filter the connections from clients. - access_log_enabled (
bool
orNone
) – If access log is enabled, all HTTP requests sent to L7 virtual server are logged to the access log file. Both successful returns information responses(1xx), successful responses(2xx), redirection messages(3xx) and unsuccessful requests, backend server returns 4xx or 5xx, are logged to access log, if enabled. All L4 virtual server connections are also logged to the access log if enabled. The non-significant events such as successful requests are not logged if log_significant_event_only is set to true. - application_profile_path (
str
orNone
) – The application profile defines the application protocol characteristics. It is used to influence how load balancing is performed. Currently, LBFastTCPProfile, LBFastUDPProfile and LBHttpProfile, etc are supported. - client_ssl_profile_binding (
LBClientSslProfileBinding
orNone
) – The setting is used when load balancer acts as an SSL server and terminating the client SSL connection - default_pool_member_ports (
list
ofstr
orNone
) – Default pool member ports when member port is not defined. format: port-or-range - enabled (
bool
orNone
) – Flag to enable the load balancer virtual server. - ip_address (
str
orNone
) – Configures the IP address of the LBVirtualServer where it receives all client connections and distributes them among the backend servers. format: ip - lb_persistence_profile_path (
str
orNone
) – Path to optional object that enables persistence on a virtual server allowing related client connections to be sent to the same backend server. Persistence is disabled by default. - lb_service_path (
str
orNone
) – virtual servers can be associated to LBService(which is similar to physical/virtual load balancer), LB virtual servers, pools and other entities could be defined independently, the LBService identifier list here would be used to maintain the relationship of LBService and other LB entities. - log_significant_event_only (
bool
orNone
) – The property log_significant_event_only can take effect only when access_log_enabled is true. If log_significant_event_only is true, significant events are logged in access log. For L4 virtual server, significant event means unsuccessful(error or dropped) TCP/UDP connections. For L7 virtual server, significant event means unsuccessful connections or HTTP/HTTPS requests which have error response code(e.g. 4xx, 5xx). - max_concurrent_connections (
long
orNone
) – To ensure one virtual server does not over consume resources, affecting other applications hosted on the same LBS, connections to a virtual server can be capped. If it is not specified, it means that connections are unlimited. format: int64 - max_new_connection_rate (
long
orNone
) – To ensure one virtual server does not over consume resources, connections to a member can be rate limited. If it is not specified, it means that connection rate is unlimited. format: int64 - pool_path (
str
orNone
) – The server pool(LBPool) contains backend servers. Server pool consists of one or more servers, also referred to as pool members, that are similarly configured and are running the same application. - ports (
list
ofstr
orNone
) – Ports contains a list of at least one port or port range such as “80”, “1234-1236”. Each port element in the list should be a single port or a single port range. format: port-or-range - rules (
list
ofLBRule
orNone
) – Load balancer rules allow customization of load balancing behavior using match/action rules. Currently, load balancer rules are supported for only layer 7 virtual servers with LBHttpProfile. - server_ssl_profile_binding (
LBServerSslProfileBinding
orNone
) – The setting is used when load balancer acts as an SSL client and establishing a connection to the backend server. - sorry_pool_path (
str
orNone
) – When load balancer can not select a backend server to serve the request in default pool or pool in rules, the request would be served by sorry server pool.
- links (
-
class
com.vmware.nsx_policy.model_client.
LBVirtualServerListResult
(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
Paged Collection of LBVirtualServers
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
ofLBVirtualServer
orNone
) – LBVirtualServer list results
- links (
-
class
com.vmware.nsx_policy.model_client.
LBVirtualServerStatistics
(last_update_timestamp=None, statistics=None, virtual_server_path=None, alarm=None, enforcement_point_path=None, resource_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - last_update_timestamp (
long
orNone
) – Timestamp when the data was last updated. 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. - statistics (
LBStatisticsCounter
orNone
) – Virtual server statistics counter. - virtual_server_path (
str
orNone
) – load balancer virtual server object 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. - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –
-
resource_type
¶ Return the discriminator value
- last_update_timestamp (
-
class
com.vmware.nsx_policy.model_client.
LBVirtualServerStatisticsPerEP
(alarm=None, enforcement_point_path=None, resource_type='LBVirtualServerStatisticsPerEP')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
LBVirtualServerStatistics on specific Enforcement Point
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –
-
resource_type
¶ Return the discriminator value
- alarm (
-
class
com.vmware.nsx_policy.model_client.
LBVirtualServerStatus
(last_update_timestamp=None, status=None, virtual_server_path=None, alarm=None, enforcement_point_path=None, resource_type='LBVirtualServerStatus')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - last_update_timestamp (
long
orNone
) – Timestamp when the data was last updated. format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - status (
str
orNone
) –Possible values are:
LBVirtualServerStatus.STATUS_UP
LBVirtualServerStatus.STATUS_PARTIALLY_UP
LBVirtualServerStatus.STATUS_PRIMARY_DOWN
LBVirtualServerStatus.STATUS_DOWN
LBVirtualServerStatus.STATUS_DETACHED
LBVirtualServerStatus.STATUS_DISABLED
LBVirtualServerStatus.STATUS_UNKNOWN
UP means that all primary members in default pool are in UP status. For L7 virtual server, if there is no default pool, the virtual server would be treated as UP. PARTIALLY_UP means that some(not all) primary members in default pool are in UP status. The size of these active primary members should be larger than or equal to the certain number(min_active_members) which is defined in LBPool. When there are no backup members which are in the UP status, the number(min_active_members) would be ignored. PRIMARY_DOWN means that less than certain(min_active_members) primary members in default pool are in UP status but backup members are in UP status, the connections would be dispatched to backup members. DOWN means that all primary and backup members are in DOWN status. DETACHED means that the virtual server is not bound to any service. DISABLED means that the admin state of the virtual server is disabled. UNKOWN means that no status reported from transport-nodes. The associated load balancer service may be working(or not working). This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- virtual_server_path (
str
orNone
) – load balancer virtual server object 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. - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –
-
STATUS_DETACHED
= 'DETACHED'¶
-
STATUS_DISABLED
= 'DISABLED'¶
-
STATUS_DOWN
= 'DOWN'¶
-
STATUS_PARTIALLY_UP
= 'PARTIALLY_UP'¶
-
STATUS_PRIMARY_DOWN
= 'PRIMARY_DOWN'¶
-
STATUS_UNKNOWN
= 'UNKNOWN'¶
-
STATUS_UP
= 'UP'¶
-
resource_type
¶ Return the discriminator value
- last_update_timestamp (
-
class
com.vmware.nsx_policy.model_client.
LBVirtualServerStatusPerEP
(alarm=None, enforcement_point_path=None, resource_type='LBVirtualServerStatusPerEP')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
LBVirtualServerStatus on specific Enforcement Point
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. 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
) –
-
resource_type
¶ Return the discriminator value
- alarm (
-
class
com.vmware.nsx_policy.model_client.
Label
(condition=None, hover=None, icons=None, navigation=None, text=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Label that will be displayed for a UI element.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - condition (
str
orNone
) – If the condition is met then the label will be applied. Examples of expression syntax are provided under example_request section of CreateWidgetConfiguration API. - hover (
bool
orNone
) – If true, displays the label only on hover - icons (
list
ofIcon
orNone
) – Icons to be applied at dashboard for the label - navigation (
str
orNone
) – Hyperlink of the specified UI page that provides details. - text (
str
orNone
) – Text to be displayed at the label.
- condition (
-
class
com.vmware.nsx_policy.model_client.
LabelValueConfiguration
(layout=None, navigation=None, properties=None, sub_type=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='LabelValueConfiguration', tags=None, datasources=None, default_filter_value=None, drilldown_id=None, filter=None, filter_value_required=None, footer=None, icons=None, is_drilldown=None, legend=None, shared=None, span=None, weight=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents a Label-Value widget configuration
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - layout (
Layout
orNone
) – Layout of properties can be vertical or grid. If layout is not specified a default vertical layout is applied. - navigation (
str
orNone
) – Hyperlink of the specified UI page that provides details. - properties (
list
ofPropertyItem
orNone
) – An array of label-value properties. - sub_type (
str
orNone
) –Possible values are:
A sub-type of LabelValueConfiguration. If sub-type is not specified the parent type is rendered. For VERTICALLY_ALIGNED sub_type, the value is placed below the label.
- 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
) – Title of the widget. If display_name is omitted, the widget will be shown without a title. - id (
str
orNone
) – Unique identifier of this resource - resource_type (
str
) –Possible values are:
WidgetConfiguration.RESOURCE_TYPE_LABELVALUECONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DONUTCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_MULTIWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CONTAINERCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_STATSCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRIDCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRAPHCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CUSTOMWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DROPDOWNFILTERWIDGETCONFIGURATION
Supported visualization types are LabelValueConfiguration, DonutConfiguration, GridConfiguration, StatsConfiguration, MultiWidgetConfiguration, GraphConfiguration, ContainerConfiguration, CustomWidgetConfiguration and DropdownFilterWidgetConfiguration.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - datasources (
list
ofDatasource
orNone
) – The ‘datasources’ represent the sources from which data will be fetched. Currently, only NSX-API is supported as a ‘default’ datasource. An example of specifying ‘default’ datasource along with the urls to fetch data from is given at ‘example_request’ section of ‘CreateWidgetConfiguration’ API. - default_filter_value (
list
ofDefaultFilterValue
orNone
) – Default filter values to be passed to datasources. This will be used when the report is requested without filter values. - drilldown_id (
str
orNone
) – Id of drilldown widget, if any. Id should be a valid id of an existing widget. A widget is considered as drilldown widget when it is associated with any other widget and provides more detailed information about any data item from the parent widget. - filter (
str
orNone
) – Id of filter widget for subscription, if any. Id should be a valid id of an existing filter widget. Filter widget should be from the same view. Datasource URLs should have placeholder values equal to filter alias to accept the filter value on filter change. - filter_value_required (
bool
orNone
) – Flag to indicate that widget will continue to work without filter value. If this flag is set to false then default_filter_value is manadatory. - footer (
Footer
orNone
) – - icons (
list
ofIcon
orNone
) – Icons to be applied at dashboard for widgets and UI elements. - is_drilldown (
bool
orNone
) – Set to true if this widget should be used as a drilldown. - legend (
Legend
orNone
) – Legend to be displayed. If legend is not needed, do not include it. - shared (
bool
orNone
) – Please use the property ‘shared’ of View instead of this. The widgets of a shared view are visible to other users. - span (
long
orNone
) – Represents the horizontal span of the widget / container. format: int32 - weight (
long
orNone
) – Specify relavite weight in WidgetItem for placement in a view. Please see WidgetItem for details. format: int32
-
SUB_TYPE_ALIGNED
= 'VERTICALLY_ALIGNED'¶
-
resource_type
¶ Return the discriminator value
- layout (
-
class
com.vmware.nsx_policy.model_client.
LacpGroupConfigInfo
(key=None, load_balance_algorithm=None, mode=None, name=None, uplink_names=None, uplink_num=None, uplink_port_keys=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - key (
str
orNone
) – The key represents the identifier for the group that is unique across VC. - load_balance_algorithm (
str
orNone
) – Load balance algorithm used in LACP group. The possible values are dictated by the values available in VC. Please refer VMwareDvsLacpLoadBalanceAlgorithm documentation for a full list of values. A few examples are srcDestIp where source and destination IP are considered, srcIp where only source IP is considered. - mode (
str
orNone
) –Possible values are:
The mode of LACP can be ACTIVE or PASSIVE. If the mode is ACTIVE, LACP is enabled unconditionally. If the mode is PASSIVE, LACP is enabled only if LACP device is detected.
- name (
str
orNone
) – The display name of the LACP group. - uplink_names (
list
ofstr
orNone
) – Names for the uplink ports in the group. - uplink_num (
long
orNone
) – The number of uplink ports format: int64 - uplink_port_keys (
list
ofstr
orNone
) – Keys for the uplink ports in the group. Each uplink port is assigned a key that is unique across VC.
-
MODE_ACTIVE
= 'ACTIVE'¶
-
MODE_PASSIVE
= 'PASSIVE'¶
- key (
-
class
com.vmware.nsx_policy.model_client.
Layout
(properties=None, type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents layout of a container or widget
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - properties (
LayoutProperties
orNone
) – - type (
str
orNone
) –Possible values are:
Describes layout of a container or widget. Layout describes how individual widgets are placed inside the container. For example, if HORIZONTAL is chosen widgets are placed side by side inside the container. If VERTICAL is chosen then widgets are placed one below the other. If GRID is chosen then the container or widget display area is divided into a grid of m rows and n columns, as specified in the properties, and the widgets are placed inside the grid.
-
TYPE_GRID
= 'GRID'¶
-
TYPE_HORIZONTAL
= 'HORIZONTAL'¶
-
TYPE_VERTICAL
= 'VERTICAL'¶
- properties (
-
class
com.vmware.nsx_policy.model_client.
LayoutProperties
(num_columns=None, num_rows=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Properties of the layout of a container or widget
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - num_columns (
long
orNone
) – Describes the number of columns of grid layout of a container or widget. This property is applicable for grid layout only. format: int32 - num_rows (
long
orNone
) – Describes the number of rows of grid layout of a container or widget. This property is applicable for grid layout only. format: int32
- num_columns (
-
class
com.vmware.nsx_policy.model_client.
LbHttpRequestHeader
(header_name=None, header_value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - header_name (
str
orNone
) – Name of HTTP request header - header_value (
str
orNone
) – Value of HTTP request header
- header_name (
-
class
com.vmware.nsx_policy.model_client.
LbSslCipherAndProtocolListResult
(links=None, schema=None, self_=None, cursor=None, result_count=None, sort_ascending=None, sort_by=None, ciphers=None, protocols=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 - 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. - ciphers (
list
ofLbSslCipherInfo
orNone
) – List of SSL ciphers - protocols (
list
ofLbSslProtocolInfo
orNone
) – List of SSL protocols
- links (
-
class
com.vmware.nsx_policy.model_client.
LbSslCipherInfo
(cipher=None, cipher_group_labels=None, is_default=None, is_secure=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
SSL cipher
Tip
The arguments are used to initialize data attributes with the same names.
-
CIPHER_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
= 'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA'¶
-
CIPHER_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
= 'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256'¶
-
CIPHER_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
= 'TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256'¶
-
CIPHER_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
= 'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA'¶
-
CIPHER_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384
= 'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384'¶
-
CIPHER_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
= 'TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384'¶
-
CIPHER_ECDHE_RSA_WITH_AES_128_CBC_SHA
= 'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA'¶
-
CIPHER_ECDHE_RSA_WITH_AES_128_CBC_SHA256
= 'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256'¶
-
CIPHER_ECDHE_RSA_WITH_AES_128_GCM_SHA256
= 'TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256'¶
-
CIPHER_ECDHE_RSA_WITH_AES_256_CBC_SHA
= 'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA'¶
-
CIPHER_ECDHE_RSA_WITH_AES_256_CBC_SHA384
= 'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384'¶
-
CIPHER_ECDHE_RSA_WITH_AES_256_GCM_SHA384
= 'TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384'¶
-
CIPHER_ECDH_ECDSA_WITH_AES_128_CBC_SHA
= 'TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA'¶
-
CIPHER_ECDH_ECDSA_WITH_AES_128_CBC_SHA256
= 'TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256'¶
-
CIPHER_ECDH_ECDSA_WITH_AES_128_GCM_SHA256
= 'TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256'¶
-
CIPHER_ECDH_ECDSA_WITH_AES_256_CBC_SHA
= 'TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA'¶
-
CIPHER_ECDH_ECDSA_WITH_AES_256_CBC_SHA384
= 'TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384'¶
-
CIPHER_ECDH_ECDSA_WITH_AES_256_GCM_SHA384
= 'TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384'¶
-
CIPHER_ECDH_RSA_WITH_AES_128_CBC_SHA
= 'TLS_ECDH_RSA_WITH_AES_128_CBC_SHA'¶
-
CIPHER_ECDH_RSA_WITH_AES_128_CBC_SHA256
= 'TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256'¶
-
CIPHER_ECDH_RSA_WITH_AES_128_GCM_SHA256
= 'TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256'¶
-
CIPHER_ECDH_RSA_WITH_AES_256_CBC_SHA
= 'TLS_ECDH_RSA_WITH_AES_256_CBC_SHA'¶
-
CIPHER_ECDH_RSA_WITH_AES_256_CBC_SHA384
= 'TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384'¶
-
CIPHER_ECDH_RSA_WITH_AES_256_GCM_SHA384
= 'TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384'¶
-
CIPHER_GROUP_LABELS_BALANCED
= 'BALANCED'¶
-
CIPHER_GROUP_LABELS_CUSTOM
= 'CUSTOM'¶
-
CIPHER_GROUP_LABELS_HIGH_COMPATIBILITY
= 'HIGH_COMPATIBILITY'¶
-
CIPHER_GROUP_LABELS_HIGH_SECURITY
= 'HIGH_SECURITY'¶
-
CIPHER_RSA_WITH_3DES_EDE_CBC_SHA
= 'TLS_RSA_WITH_3DES_EDE_CBC_SHA'¶
-
CIPHER_RSA_WITH_AES_128_CBC_SHA
= 'TLS_RSA_WITH_AES_128_CBC_SHA'¶
-
CIPHER_RSA_WITH_AES_128_CBC_SHA256
= 'TLS_RSA_WITH_AES_128_CBC_SHA256'¶
-
CIPHER_RSA_WITH_AES_128_GCM_SHA256
= 'TLS_RSA_WITH_AES_128_GCM_SHA256'¶
-
CIPHER_RSA_WITH_AES_256_CBC_SHA
= 'TLS_RSA_WITH_AES_256_CBC_SHA'¶
-
CIPHER_RSA_WITH_AES_256_CBC_SHA256
= 'TLS_RSA_WITH_AES_256_CBC_SHA256'¶
-
CIPHER_RSA_WITH_AES_256_GCM_SHA384
= 'TLS_RSA_WITH_AES_256_GCM_SHA384'¶
-
-
class
com.vmware.nsx_policy.model_client.
LbSslProtocolInfo
(is_default=None, is_secure=None, protocol=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
SSL protocol
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - is_default (
bool
orNone
) – Default SSL protocol flag - is_secure (
bool
orNone
) – Secure/insecure SSL protocol flag - protocol (
str
orNone
) –Possible values are:
LbSslProtocolInfo.PROTOCOL_SSL_V2
LbSslProtocolInfo.PROTOCOL_SSL_V3
LbSslProtocolInfo.PROTOCOL_TLS_V1
LbSslProtocolInfo.PROTOCOL_TLS_V1_1
LbSslProtocolInfo.PROTOCOL_TLS_V1_2
SSL protocol
-
PROTOCOL_SSL_V2
= 'SSL_V2'¶
-
PROTOCOL_SSL_V3
= 'SSL_V3'¶
-
PROTOCOL_TLS_V1
= 'TLS_V1'¶
-
PROTOCOL_TLS_V1_1
= 'TLS_V1_1'¶
-
PROTOCOL_TLS_V1_2
= 'TLS_V1_2'¶
- is_default (
-
class
com.vmware.nsx_policy.model_client.
LdapIdentitySource
(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='LdapIdentitySource', tags=None, alternative_domain_names=None, base_dn=None, domain_name=None, ldap_servers=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This is the base type for all identity sources that use LDAP for authentication and group membership.
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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - alternative_domain_names (
list
ofstr
orNone
) – After parsing the “user\@domain”, the domain portion is used to select the LDAP identity source to use. Additional domains listed here will also be directed to this LDAP identity source. In Active Directory these are sometimes referred to as Alternative UPN Suffixes. - base_dn (
str
orNone
) – The subtree of the LDAP identity source to search when locating users and groups. - domain_name (
str
orNone
) – The name of the authentication domain. When users log into NSX using an identity of the form “user\@domain”, NSX uses the domain portion to determine which LDAP identity source to use. - ldap_servers (
list
ofIdentitySourceLdapServer
orNone
) – The list of LDAP servers that provide LDAP service for this identity source. Currently, only one LDAP server is supported.
-
RESOURCE_TYPE_ACTIVEDIRECTORYIDENTITYSOURCE
= 'ActiveDirectoryIdentitySource'¶
-
RESOURCE_TYPE_OPENLDAPIDENTITYSOURCE
= 'OpenLdapIdentitySource'¶
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
LdapIdentitySourceListResult
(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
The results of listing LDAP identity sources.
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 inLdapIdentitySource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inLdapIdentitySource
.
- links (
-
class
com.vmware.nsx_policy.model_client.
LdapIdentitySourceProbeResults
(links=None, schema=None, self_=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Results from probing all LDAP servers in an LDAP identity source configuration.
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 - results (
list
ofIdentitySourceLdapServerProbeResult
orNone
) – Probe results for all probed LDAP servers.
- links (
-
class
com.vmware.nsx_policy.model_client.
LdapIdentitySourceSearchResultItem
(common_name=None, dn=None, principal_name=None, type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - common_name (
str
orNone
) – The Common Name (CN) of the entry, if available. - dn (
str
orNone
) – Distinguished name (DN) of the entry. - principal_name (
str
orNone
) – For Active Directory (AD) users, this will be the user principal name (UPN), in the format user\@domain. For non-AD users, this will be the user’s uid property, followed by “\@” and the domain of the directory. For groups, this will be the group’s common name, followed by “\@” and the domain of the directory. - type (
str
orNone
) –Possible values are:
Describes the type of the entry
-
TYPE_GROUP
= 'GROUP'¶
-
TYPE_USER
= 'USER'¶
- common_name (
-
class
com.vmware.nsx_policy.model_client.
LdapIdentitySourceSearchResultList
(links=None, schema=None, self_=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A list of LDA entries returned from a search of an LDAP identity source.
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 - results (
list
ofLdapIdentitySourceSearchResultItem
orNone
) –
- links (
-
class
com.vmware.nsx_policy.model_client.
LdapProbeError
(error_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Detail about one error encountered during a probe.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: error_type ( str
orNone
) –Possible values are:
LdapProbeError.ERROR_TYPE_BASE_DN_NOT_FOUND
LdapProbeError.ERROR_TYPE_BIND_DN_AND_PASSWORD_REQUIRED
LdapProbeError.ERROR_TYPE_BIND_DN_INVALID
LdapProbeError.ERROR_TYPE_CERTIFICATE_HOSTNAME_MISMATCH_ERROR
LdapProbeError.ERROR_TYPE_CERTIFICATE_MISMATCH_ERROR
LdapProbeError.ERROR_TYPE_CONNECTION_REFUSED
LdapProbeError.ERROR_TYPE_CONNECTION_TIMEOUT
LdapProbeError.ERROR_TYPE_GENERAL_ERROR
LdapProbeError.ERROR_TYPE_INVALID_CONFIGURED_CERTIFICATE
LdapProbeError.ERROR_TYPE_INVALID_CREDENTIALS
LdapProbeError.ERROR_TYPE_SSL_HANDSHAKE_ERROR
LdapProbeError.ERROR_TYPE_STARTTLS_FAILED
The cause of the error. BASE_DN_NOT_FOUND: The configured base DN does not exist on the LDAP server or is not readable. BIND_DN_AND_PASSWORD_REQUIRED: This server is configured to required a bind DN and password. Please add these to your LDAP server configuration. BIND_DN_INVALID: The bind DN or username provided is not valid on the LDAP server. Check that the bind DN is correct. This error may also indicate that the base DN in your configuration is incorrect. CERTIFICATE_HOSTNAME_MISMATCH_ERROR: The hostname configured for the LDAP server does not match the hostname in the server’s certificate subject or alternative subject names. Be sure that the hostname you configure in NSX Manager matches one of those names. CERTIFICATE_MISMATCH_ERROR: The certificate presented by the LDAP server did not match the certificate in the configuration on the NSX Manager. CONNECTION_REFUSED: The connection was refused when contacting the LDAP server. Ensure that the LDAP server is running and that you are using the correct ip/hostname. CONNECTION_TIMEOUT: The connection timed out when contacting the LDAP server. Check the hostname/ip and any firewalls between the NSX Manager and the LDAP server. GENERAL_ERROR: An undetermined error occurred. INVALID_CONFIGURED_CERTIFICATE: The certificate configured for this LDAP server is invalid and could not be decoded. Check that the PEM-formatted certificate you provided is correct. INVALID_CREDENTIALS: The username and/or password are incorrect. SSL_HANDSHAKE_ERROR: An error occurred while establishing a secure connection with the LDAP server. Check that the LDAP server’s certificate is correct, and that it is using an SSL/TLS cipher suite that is compatible with the NSX Manager. This error can also occur if the hostname you have configured for the LDAP server does not match any of the hostnames in the Subject Alternative Name records in the server certificate. STARTTLS_FAILED: Unable to use StartTLS to upgrade the connection to use TLS. Ensure that the LDAP server supports TLS and if not, use LDAP or LDAPS as the protocol.
-
ERROR_TYPE_BASE_DN_NOT_FOUND
= 'BASE_DN_NOT_FOUND'¶
-
ERROR_TYPE_BIND_DN_AND_PASSWORD_REQUIRED
= 'BIND_DN_AND_PASSWORD_REQUIRED'¶
-
ERROR_TYPE_BIND_DN_INVALID
= 'BIND_DN_INVALID'¶
-
ERROR_TYPE_CERTIFICATE_HOSTNAME_MISMATCH_ERROR
= 'CERTIFICATE_HOSTNAME_MISMATCH_ERROR'¶
-
ERROR_TYPE_CERTIFICATE_MISMATCH_ERROR
= 'CERTIFICATE_MISMATCH_ERROR'¶
-
ERROR_TYPE_CONNECTION_REFUSED
= 'CONNECTION_REFUSED'¶
-
ERROR_TYPE_CONNECTION_TIMEOUT
= 'CONNECTION_TIMEOUT'¶
-
ERROR_TYPE_GENERAL_ERROR
= 'GENERAL_ERROR'¶
-
ERROR_TYPE_INVALID_CONFIGURED_CERTIFICATE
= 'INVALID_CONFIGURED_CERTIFICATE'¶
-
ERROR_TYPE_INVALID_CREDENTIALS
= 'INVALID_CREDENTIALS'¶
-
ERROR_TYPE_SSL_HANDSHAKE_ERROR
= 'SSL_HANDSHAKE_ERROR'¶
-
ERROR_TYPE_STARTTLS_FAILED
= 'STARTTLS_FAILED'¶
-
class
com.vmware.nsx_policy.model_client.
Legend
(alignment=None, display_count=None, position=None, type=None, unit=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents legend that describes the entities of the widget.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alignment (
str
orNone
) –Possible values are:
Describes the alignment of legend. Alignment of a legend denotes how individual items of the legend are aligned in a container. For example, if VERTICAL is chosen then the items of the legend will appear one below the other and if HORIZONTAL is chosen then the items will appear side by side.
- display_count (
bool
orNone
) – If set to true, it will display the counts in legend. If set to false, counts of entities are not displayed in the legend. - position (
str
orNone
) –Possible values are:
Legend.POSITION_TOP
Legend.POSITION_BOTTOM
Legend.POSITION_LEFT
Legend.POSITION_RIGHT
Legend.POSITION_TOP_RIGHT
Describes the relative placement of legend. The legend of a widget can be placed either to the TOP or BOTTOM or LEFT or RIGHT relative to the widget. For example, if RIGHT is chosen then legend is placed to the right of the widget.
- type (
str
orNone
) –Possible values are:
Describes the render type for the legend. The legend for an entity describes the entity in the widget. The supported legend type is a circle against which the entity’s details such as display_name are shown. The color of the circle denotes the color of the entity shown inside the widget.
- unit (
str
orNone
) – Show unit of entities in the legend.
-
ALIGNMENT_HORIZONTAL
= 'HORIZONTAL'¶
-
ALIGNMENT_VERTICAL
= 'VERTICAL'¶
-
POSITION_BOTTOM
= 'BOTTOM'¶
-
POSITION_LEFT
= 'LEFT'¶
-
POSITION_RIGHT
= 'RIGHT'¶
-
POSITION_TOP
= 'TOP'¶
-
POSITION_TOP_RIGHT
= 'TOP_RIGHT'¶
-
TYPE_CIRCLE
= 'CIRCLE'¶
- alignment (
-
class
com.vmware.nsx_policy.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_policy.model_client.
LocalEgress
(optimized_ips=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Local Egress is used on both server and client sites so that the gateway is used for N-S traffic and overhead on L2VPN tunnel is reduced.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: optimized_ips ( list
ofstr
orNone
) – Gateway IP for Local Egress. Local egress is enabled only when this list is not empty. format: ip
-
class
com.vmware.nsx_policy.model_client.
LocalEgressRoutingEntry
(nexthop_address=None, prefix_list_paths=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Local egress routing policy
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - nexthop_address (
str
orNone
) – Next hop address for proximity routing. - prefix_list_paths (
list
ofstr
orNone
) – The destination address of traffic matching a prefix-list is forwarded to the nexthop_address. Traffic matching a prefix list with Action DENY will be dropped. Individual prefix-lists specified could have different actions.
- nexthop_address (
-
class
com.vmware.nsx_policy.model_client.
LocaleServices
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, edge_cluster_path=None, ha_vip_configs=None, preferred_edge_paths=None, route_redistribution_config=None, route_redistribution_types=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Site specific configuration of Tier0 in multi-site scenario
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - edge_cluster_path (
str
orNone
) – Policy path to edge cluster. Auto-assigned on Tier0 if associated enforcement-point has only one edge cluster. - ha_vip_configs (
list
ofTier0HaVipConfig
orNone
) – This configuration can be defined only for Active-Standby Tier0 gateway to provide redundancy. For mulitple external interfaces, multiple HA VIP configs must be defined and each config will pair exactly two external interfaces. The VIP will move and will always be owned by the Active node. When this property is configured, configuration of dynamic-routing is not allowed. - preferred_edge_paths (
list
ofstr
orNone
) – Policy paths to edge nodes. For Tier1 gateway, the field is used to statically assign the ordered list of up to two edge nodes for stateful services. To enable auto allocation of nodes from the specified edge cluster the field must be left unset. The auto allocation of nodes is supported only for the Tier1 gateway. For Tier0 gateway specified edge is used as a preferred edge node when failover mode is set to PREEMPTIVE, not applicable otherwise. - route_redistribution_config (
Tier0RouteRedistributionConfig
orNone
) – Configure all route redistribution properties like enable/disable redistributon, redistribution rule and so on. - route_redistribution_types (
list
ofstr
orNone
) –Possible values are:
LocaleServices.ROUTE_REDISTRIBUTION_TYPES_TIER0_STATIC
LocaleServices.ROUTE_REDISTRIBUTION_TYPES_TIER0_CONNECTED
LocaleServices.ROUTE_REDISTRIBUTION_TYPES_TIER0_EXTERNAL_INTERFACE
LocaleServices.ROUTE_REDISTRIBUTION_TYPES_TIER0_SEGMENT
LocaleServices.ROUTE_REDISTRIBUTION_TYPES_TIER0_ROUTER_LINK
LocaleServices.ROUTE_REDISTRIBUTION_TYPES_TIER0_SERVICE_INTERFACE
LocaleServices.ROUTE_REDISTRIBUTION_TYPES_TIER0_LOOPBACK_INTERFACE
LocaleServices.ROUTE_REDISTRIBUTION_TYPES_TIER0_DNS_FORWARDER_IP
LocaleServices.ROUTE_REDISTRIBUTION_TYPES_TIER0_IPSEC_LOCAL_IP
LocaleServices.ROUTE_REDISTRIBUTION_TYPES_TIER0_NAT
LocaleServices.ROUTE_REDISTRIBUTION_TYPES_TIER0_EVPN_TEP_IP
LocaleServices.ROUTE_REDISTRIBUTION_TYPES_TIER1_NAT
LocaleServices.ROUTE_REDISTRIBUTION_TYPES_TIER1_STATIC
LocaleServices.ROUTE_REDISTRIBUTION_TYPES_TIER1_LB_VIP
LocaleServices.ROUTE_REDISTRIBUTION_TYPES_TIER1_LB_SNAT
LocaleServices.ROUTE_REDISTRIBUTION_TYPES_TIER1_DNS_FORWARDER_IP
LocaleServices.ROUTE_REDISTRIBUTION_TYPES_TIER1_CONNECTED
LocaleServices.ROUTE_REDISTRIBUTION_TYPES_TIER1_SERVICE_INTERFACE
LocaleServices.ROUTE_REDISTRIBUTION_TYPES_TIER1_SEGMENT
LocaleServices.ROUTE_REDISTRIBUTION_TYPES_TIER1_IPSEC_LOCAL_ENDPOINT
Enable redistribution of different types of routes on Tier-0. This property is only valid for locale-service under Tier-0. This property is deprecated, please use “route_redistribution_config” property to configure redistribution rules.
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_CONNECTED
= 'TIER0_CONNECTED'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_DNS_FORWARDER_IP
= 'TIER0_DNS_FORWARDER_IP'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_EVPN_TEP_IP
= 'TIER0_EVPN_TEP_IP'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_EXTERNAL_INTERFACE
= 'TIER0_EXTERNAL_INTERFACE'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_IPSEC_LOCAL_IP
= 'TIER0_IPSEC_LOCAL_IP'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_LOOPBACK_INTERFACE
= 'TIER0_LOOPBACK_INTERFACE'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_NAT
= 'TIER0_NAT'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_ROUTER_LINK
= 'TIER0_ROUTER_LINK'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_SEGMENT
= 'TIER0_SEGMENT'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_SERVICE_INTERFACE
= 'TIER0_SERVICE_INTERFACE'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_STATIC
= 'TIER0_STATIC'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_CONNECTED
= 'TIER1_CONNECTED'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_DNS_FORWARDER_IP
= 'TIER1_DNS_FORWARDER_IP'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_IPSEC_LOCAL_ENDPOINT
= 'TIER1_IPSEC_LOCAL_ENDPOINT'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_LB_SNAT
= 'TIER1_LB_SNAT'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_LB_VIP
= 'TIER1_LB_VIP'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_NAT
= 'TIER1_NAT'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_SEGMENT
= 'TIER1_SEGMENT'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_SERVICE_INTERFACE
= 'TIER1_SERVICE_INTERFACE'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_STATIC
= 'TIER1_STATIC'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
LocaleServicesListResult
(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
Paged collection of LocaleServices
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
ofLocaleServices
orNone
) – LocaleServices results
- links (
-
class
com.vmware.nsx_policy.model_client.
LogicalPortStatistics
(rx_bytes=None, rx_packets=None, tx_bytes=None, tx_packets=None, dropped_by_security_packets=None, mac_learning=None, last_update_timestamp=None, logical_port_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - rx_bytes (
DataCounter
orNone
) – - rx_packets (
DataCounter
orNone
) – - tx_bytes (
DataCounter
orNone
) – - tx_packets (
DataCounter
orNone
) – - dropped_by_security_packets (
PacketsDroppedBySecurity
orNone
) – - mac_learning (
MacLearningCounters
orNone
) – - last_update_timestamp (
long
orNone
) – Timestamp when the data was last updated; unset if data source has never updated the data. 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. - logical_port_id (
str
orNone
) – The id of the logical 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.
- rx_bytes (
-
class
com.vmware.nsx_policy.model_client.
LogicalRouterPortCounters
(blocked_packets=None, dad_dropped_packets=None, destination_unsupported_dropped_packets=None, dropped_packets=None, firewall_dropped_packets=None, frag_needed_dropped_packets=None, ipsec_dropped_packets=None, ipsec_no_sa_dropped_packets=None, ipsec_no_vti_dropped_packets=None, ipsec_pol_block_dropped_packets=None, ipsec_pol_err_dropped_packets=None, ipv6_dropped_packets=None, kni_dropped_packets=None, l4port_unsupported_dropped_packets=None, malformed_dropped_packets=None, no_arp_dropped_packets=None, no_linked_dropped_packets=None, no_mem_dropped_packets=None, no_receiver_dropped_packets=None, no_route_dropped_packets=None, non_ip_dropped_packets=None, proto_unsupported_dropped_packets=None, redirect_dropped_packets=None, rpf_check_dropped_packets=None, service_insert_dropped_packets=None, total_bytes=None, total_packets=None, ttl_exceeded_dropped_packets=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - blocked_packets (
long
orNone
) – The total number of packets blocked. format: int64 - dad_dropped_packets (
long
orNone
) – Number of duplicate address detected packets dropped. format: int64 - destination_unsupported_dropped_packets (
long
orNone
) – Number of packtes dropped as destination is not supported. format: int64 - dropped_packets (
long
orNone
) – The total number of packets dropped. format: int64 - firewall_dropped_packets (
long
orNone
) – Number of firewall packets dropped. format: int64 - frag_needed_dropped_packets (
long
orNone
) – Number of fragmentation needed packets dropped. format: int64 - ipsec_dropped_packets (
long
orNone
) – Number of IPSec packets dropped format: int64 - ipsec_no_sa_dropped_packets (
long
orNone
) – Number of IPSec no security association packets dropped. format: int64 - ipsec_no_vti_dropped_packets (
long
orNone
) – Number of IPSec packets dropped as no VTI is present. format: int64 - ipsec_pol_block_dropped_packets (
long
orNone
) – Number of IPSec policy block packets dropped. format: int64 - ipsec_pol_err_dropped_packets (
long
orNone
) – Number of IPSec policy error packets dropped. format: int64 - ipv6_dropped_packets (
long
orNone
) – Number of IPV6 packets dropped. format: int64 - kni_dropped_packets (
long
orNone
) – Number of DPDK kernal NIC interface packets dropped. format: int64 - l4port_unsupported_dropped_packets (
long
orNone
) – Number of packets dropped due to unsupported L4 port. format: int64 - malformed_dropped_packets (
long
orNone
) – Number of packtes dropped as they are malformed. format: int64 - no_arp_dropped_packets (
long
orNone
) – Number of no ARP packets dropped. format: int64 - no_linked_dropped_packets (
long
orNone
) – Number of packets dropped as no linked ports are present. format: int64 - no_mem_dropped_packets (
long
orNone
) – Number of packets dropped due to insufficient memory. format: int64 - no_receiver_dropped_packets (
long
orNone
) – Number of packets dropped due to absence of receiver. format: int64 - no_route_dropped_packets (
long
orNone
) – The number of no route packets dropped format: int64 - non_ip_dropped_packets (
long
orNone
) – Number of non IP packets dropped. format: int64 - proto_unsupported_dropped_packets (
long
orNone
) – Number of packets dropped as protocol is unsupported. format: int64 - redirect_dropped_packets (
long
orNone
) – Number of redirect packets dropped. format: int64 - rpf_check_dropped_packets (
long
orNone
) – Number of reverse-path forwarding check packets dropped. format: int64 - service_insert_dropped_packets (
long
orNone
) – Number of service insert packets dropped. format: int64 - total_bytes (
long
orNone
) – The total number of bytes transferred. format: int64 - total_packets (
long
orNone
) – The total number of packets transferred. format: int64 - ttl_exceeded_dropped_packets (
long
orNone
) – Number of time to live exceeded packets dropped. format: int64
- blocked_packets (
-
class
com.vmware.nsx_policy.model_client.
LogicalRouterPortStatistics
(logical_router_port_id=None, per_node_statistics=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - logical_router_port_id (
str
orNone
) – The ID of the logical router port - per_node_statistics (
list
ofLogicalRouterPortStatisticsPerNode
orNone
) – Per Node Statistics This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- logical_router_port_id (
-
class
com.vmware.nsx_policy.model_client.
LogicalRouterPortStatisticsPerNode
(last_update_timestamp=None, rx=None, tx=None, transport_node_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - last_update_timestamp (
long
orNone
) – Timestamp when the data was last updated; unset if data source has never updated the data. format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - rx (
LogicalRouterPortCounters
orNone
) – - tx (
LogicalRouterPortCounters
orNone
) – - transport_node_id (
str
orNone
) – The ID of the TransportNode 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_update_timestamp (
-
class
com.vmware.nsx_policy.model_client.
LogicalRouterPortStatisticsSummary
(last_update_timestamp=None, rx=None, tx=None, logical_router_port_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - last_update_timestamp (
long
orNone
) – Timestamp when the data was last updated; unset if data source has never updated the data. format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - rx (
LogicalRouterPortCounters
orNone
) – - tx (
LogicalRouterPortCounters
orNone
) – - logical_router_port_id (
str
orNone
) – The ID of the logical router port
- last_update_timestamp (
-
class
com.vmware.nsx_policy.model_client.
LogicalRouterState
(details=None, failure_code=None, failure_message=None, state=None, pending_change_list=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This holds the state of Logical Router. If there are errors in realizing LR outside of MP, it gives details of the components and specific errors.
Tip
The arguments are used to initialize data attributes with the same names.
-
STATE_APPLIANCE_INTERNAL_ERROR
= 'APPLIANCE_INTERNAL_ERROR'¶
-
STATE_EDGE_CONFIG_ERROR
= 'EDGE_CONFIG_ERROR'¶
-
STATE_EDGE_HARDWARE_NOT_SUPPORTED
= 'EDGE_HARDWARE_NOT_SUPPORTED'¶
-
STATE_EDGE_NODE_VERSION_NOT_SUPPORTED
= 'EDGE_NODE_VERSION_NOT_SUPPORTED'¶
-
STATE_ERROR
= 'error'¶
-
STATE_FAILED
= 'failed'¶
-
STATE_HOSTSWITCH_PROFILE_NOT_FOUND
= 'HOSTSWITCH_PROFILE_NOT_FOUND'¶
-
STATE_INVALID_PNIC_DEVICE_NAME
= 'INVALID_PNIC_DEVICE_NAME'¶
-
STATE_IN_PROGRESS
= 'in_progress'¶
-
STATE_IN_SYNC
= 'in_sync'¶
-
STATE_LACP_NOT_SUPPORTED_FOR_EDGE_VM
= 'LACP_NOT_SUPPORTED_FOR_EDGE_VM'¶
-
STATE_LBSRCID_NOT_SUPPORTED_FOR_EDGE_VM
= 'LBSRCID_NOT_SUPPORTED_FOR_EDGE_VM'¶
-
STATE_LLDP_SEND_ENABLED_NOT_SUPPORTED
= 'LLDP_SEND_ENABLED_NOT_SUPPORTED'¶
-
STATE_MPA_DISCONNECTED
= 'MPA_DISCONNECTED'¶
-
STATE_MULTIPLE_ACTIVE_UPLINKS_NOT_SUPPORTED_FOR_EDGE
= 'MULTIPLE_ACTIVE_UPLINKS_NOT_SUPPORTED_FOR_EDGE'¶
-
STATE_MULTIPLE_OVERLAY_TZS_NOT_SUPPORTED
= 'MULTIPLE_OVERLAY_TZS_NOT_SUPPORTED'¶
-
STATE_NODE_NOT_READY
= 'NODE_NOT_READY'¶
-
STATE_NODE_READY
= 'NODE_READY'¶
-
STATE_NOT_AVAILABLE
= 'NOT_AVAILABLE'¶
-
STATE_NO_PNIC_PREPARED_IN_EDGE
= 'NO_PNIC_PREPARED_IN_EDGE'¶
-
STATE_NO_PNIC_SPECIFIED_IN_TN
= 'NO_PNIC_SPECIFIED_IN_TN'¶
-
STATE_ORPHANED
= 'orphaned'¶
-
STATE_PARTIAL_SUCCESS
= 'partial_success'¶
-
STATE_PENDING
= 'pending'¶
-
STATE_REGISTRATION_FAILED
= 'REGISTRATION_FAILED'¶
-
STATE_REGISTRATION_PENDING
= 'REGISTRATION_PENDING'¶
-
STATE_REGISTRATION_TIMEDOUT
= 'REGISTRATION_TIMEDOUT'¶
-
STATE_STANDBY_UPLINKS_NOT_SUPPORTED_FOR_EDGE_VM
= 'STANDBY_UPLINKS_NOT_SUPPORTED_FOR_EDGE_VM'¶
-
STATE_SUCCESS
= 'success'¶
-
STATE_TN_OVERLAY_TZ_IN_USE_BY_EDGE_CLUSTER
= 'TN_OVERLAY_TZ_IN_USE_BY_EDGE_CLUSTER'¶
-
STATE_TRANSPORT_NODE_CONFIGURATION_MISSING
= 'TRANSPORT_NODE_CONFIGURATION_MISSING'¶
-
STATE_TRANSPORT_NODE_READY
= 'TRANSPORT_NODE_READY'¶
-
STATE_TRANSPORT_NODE_SYNC_PENDING
= 'TRANSPORT_NODE_SYNC_PENDING'¶
-
STATE_TZ_ENDPOINTS_NOT_SPECIFIED
= 'TZ_ENDPOINTS_NOT_SPECIFIED'¶
-
STATE_UNKNOWN
= 'unknown'¶
-
STATE_UNSUPPORTED_DEFAULT_TEAMING_POLICY
= 'UNSUPPORTED_DEFAULT_TEAMING_POLICY'¶
-
STATE_UNSUPPORTED_HOST_SWITCH_PROFILE
= 'UNSUPPORTED_HOST_SWITCH_PROFILE'¶
-
STATE_UNSUPPORTED_LACP_LB_ALGO_FOR_NODE
= 'UNSUPPORTED_LACP_LB_ALGO_FOR_NODE'¶
-
STATE_UNSUPPORTED_NAMED_TEAMING_POLICY
= 'UNSUPPORTED_NAMED_TEAMING_POLICY'¶
-
STATE_UPLINK_HOST_SWITCH_PROFILE_NOT_SPECIFIED
= 'UPLINK_HOST_SWITCH_PROFILE_NOT_SPECIFIED'¶
-
STATE_VM_CONFIG_DISCREPANCY
= 'VM_CONFIG_DISCREPANCY'¶
-
STATE_VM_CONFIG_EDIT_FAILED
= 'VM_CONFIG_EDIT_FAILED'¶
-
STATE_VM_CONFIG_EDIT_PENDING
= 'VM_CONFIG_EDIT_PENDING'¶
-
STATE_VM_DEPLOYMENT_FAILED
= 'VM_DEPLOYMENT_FAILED'¶
-
STATE_VM_DEPLOYMENT_IN_PROGRESS
= 'VM_DEPLOYMENT_IN_PROGRESS'¶
-
STATE_VM_DEPLOYMENT_QUEUED
= 'VM_DEPLOYMENT_QUEUED'¶
-
STATE_VM_DEPLOYMENT_RESTARTED
= 'VM_DEPLOYMENT_RESTARTED'¶
-
STATE_VM_NETWORK_EDIT_FAILED
= 'VM_NETWORK_EDIT_FAILED'¶
-
STATE_VM_NETWORK_EDIT_PENDING
= 'VM_NETWORK_EDIT_PENDING'¶
-
STATE_VM_NODE_REFRESH_FAILED
= 'VM_NODE_REFRESH_FAILED'¶
-
STATE_VM_PLACEMENT_REFRESH_FAILED
= 'VM_PLACEMENT_REFRESH_FAILED'¶
-
STATE_VM_POWER_OFF_FAILED
= 'VM_POWER_OFF_FAILED'¶
-
STATE_VM_POWER_OFF_IN_PROGRESS
= 'VM_POWER_OFF_IN_PROGRESS'¶
-
STATE_VM_POWER_ON_FAILED
= 'VM_POWER_ON_FAILED'¶
-
STATE_VM_POWER_ON_IN_PROGRESS
= 'VM_POWER_ON_IN_PROGRESS'¶
-
STATE_VM_RENAME_FAILED
= 'VM_RENAME_FAILED'¶
-
STATE_VM_RENAME_PENDING
= 'VM_RENAME_PENDING'¶
-
STATE_VM_UNDEPLOY_FAILED
= 'VM_UNDEPLOY_FAILED'¶
-
STATE_VM_UNDEPLOY_IN_PROGRESS
= 'VM_UNDEPLOY_IN_PROGRESS'¶
-
STATE_VM_UNDEPLOY_SUCCESSFUL
= 'VM_UNDEPLOY_SUCCESSFUL'¶
-
STATE_VTEP_DHCP_NOT_SUPPORTED
= 'VTEP_DHCP_NOT_SUPPORTED'¶
-
-
class
com.vmware.nsx_policy.model_client.
LogicalRouterStatus
(last_update_timestamp=None, locale_operation_mode=None, logical_router_id=None, per_node_status=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - last_update_timestamp (
long
orNone
) – Timestamp when the data was last updated; unset if data source has never updated the data. 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. - locale_operation_mode (
str
orNone
) –Possible values are:
LogicalRouterStatus.LOCALE_OPERATION_MODE_PRIMARY_LOCATION
Egress mode for the logical router at given mode
This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- logical_router_id (
str
orNone
) – The id of the logical router - per_node_status (
list
ofLogicalRouterStatusPerNode
orNone
) – Per Node Status This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
LOCALE_OPERATION_MODE_PRIMARY_LOCATION
= 'PRIMARY_LOCATION'¶
-
LOCALE_OPERATION_MODE_SECONDARY_LOCATION
= 'SECONDARY_LOCATION'¶
- last_update_timestamp (
-
class
com.vmware.nsx_policy.model_client.
LogicalRouterStatusPerNode
(high_availability_status=None, service_router_id=None, transport_node_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - high_availability_status (
str
orNone
) –Possible values are:
LogicalRouterStatusPerNode.HIGH_AVAILABILITY_STATUS_ACTIVE
LogicalRouterStatusPerNode.HIGH_AVAILABILITY_STATUS_STANDBY
LogicalRouterStatusPerNode.HIGH_AVAILABILITY_STATUS_DOWN
LogicalRouterStatusPerNode.HIGH_AVAILABILITY_STATUS_SYNC
LogicalRouterStatusPerNode.HIGH_AVAILABILITY_STATUS_UNKNOWN
A service router’s HA status on an edge node
- service_router_id (
str
orNone
) – id of the service router where the router status is retrieved. - transport_node_id (
str
orNone
) – id of the transport node where the router status is retrieved.
-
HIGH_AVAILABILITY_STATUS_ACTIVE
= 'ACTIVE'¶
-
HIGH_AVAILABILITY_STATUS_ADMIN_DOWN
= 'ADMIN_DOWN'¶
-
HIGH_AVAILABILITY_STATUS_DOWN
= 'DOWN'¶
-
HIGH_AVAILABILITY_STATUS_STANDBY
= 'STANDBY'¶
-
HIGH_AVAILABILITY_STATUS_SYNC
= 'SYNC'¶
-
HIGH_AVAILABILITY_STATUS_UNKNOWN
= 'UNKNOWN'¶
- high_availability_status (
-
class
com.vmware.nsx_policy.model_client.
LogicalSwitchStatistics
(rx_bytes=None, rx_packets=None, tx_bytes=None, tx_packets=None, dropped_by_security_packets=None, mac_learning=None, last_update_timestamp=None, logical_switch_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - rx_bytes (
DataCounter
orNone
) – - rx_packets (
DataCounter
orNone
) – - tx_bytes (
DataCounter
orNone
) – - tx_packets (
DataCounter
orNone
) – - dropped_by_security_packets (
PacketsDroppedBySecurity
orNone
) – - mac_learning (
MacLearningCounters
orNone
) – - last_update_timestamp (
long
orNone
) – Timestamp when the data was last updated; unset if data source has never updated the data. 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. - logical_switch_id (
str
orNone
) – The id of the logical Switch This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- rx_bytes (
-
class
com.vmware.nsx_policy.model_client.
MACAddressExpression
(mac_addresses=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='MACAddressExpression', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents MAC address expressions in the form of an array, to support addition of MAC addresses in a group. Avoid creating groups with multiple MACAddressExpression. In future releases, group will be restricted to contain a single MACAddressExpression. To group MAC addresses, use nested groups instead of multiple MACAddressExpression.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - mac_addresses (
list
ofstr
orNone
) – This array can consist of one or more MAC addresses. format: mac-address - 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
) –Possible values are:
Expression.RESOURCE_TYPE_CONDITION
Expression.RESOURCE_TYPE_CONJUNCTIONOPERATOR
Expression.RESOURCE_TYPE_NESTEDEXPRESSION
Expression.RESOURCE_TYPE_IPADDRESSEXPRESSION
Expression.RESOURCE_TYPE_MACADDRESSEXPRESSION
Expression.RESOURCE_TYPE_EXTERNALIDEXPRESSION
Expression.RESOURCE_TYPE_PATHEXPRESSION
Expression.RESOURCE_TYPE_IDENTITYGROUPEXPRESSION
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
¶ Return the discriminator value
- mac_addresses (
-
class
com.vmware.nsx_policy.model_client.
MACAddressList
(mac_addresses=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
List of MAC Addresses.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: mac_addresses ( list
ofstr
orNone
) – The array contains MAC addresses. format: mac-address
-
class
com.vmware.nsx_policy.model_client.
MacDiscoveryProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, mac_change_enabled=None, mac_learning_aging_time=None, mac_learning_enabled=None, mac_limit=None, mac_limit_policy=None, remote_overlay_mac_limit=None, unknown_unicast_flooding_enabled=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Mac Discovery Profile
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - mac_change_enabled (
bool
orNone
) – Allowing source MAC address change - mac_learning_aging_time (
long
orNone
) – Indicates how long learned MAC address remain. 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. - mac_learning_enabled (
bool
orNone
) – Allowing source MAC address learning - mac_limit (
long
orNone
) – The maximum number of MAC addresses that can be learned on this port format: int32 - mac_limit_policy (
str
orNone
) –Possible values are:
The policy after MAC Limit is exceeded - remote_overlay_mac_limit (
long
orNone
) – This property specifies the limit on the maximum number of MACs learned for a remote virtual machine’s MAC to VTEP binding per overlay logical switch. format: int32 - unknown_unicast_flooding_enabled (
bool
orNone
) – Allowing flooding for unlearned MAC for ingress traffic
-
MAC_LIMIT_POLICY_ALLOW
= 'ALLOW'¶
-
MAC_LIMIT_POLICY_DROP
= 'DROP'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
MacDiscoveryProfileListResult
(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
Paged collection of Mac Discovery Profiles
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
ofMacDiscoveryProfile
orNone
) – Mac Discovery profile list results
- links (
-
class
com.vmware.nsx_policy.model_client.
MacLearningCounters
(mac_not_learned_packets_allowed=None, mac_not_learned_packets_dropped=None, macs_learned=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - mac_not_learned_packets_allowed (
long
orNone
) – The number of packets with unknown source MAC address that are dispatched without learning the source MAC address. Applicable only when the MAC limit is reached and MAC Limit policy is MAC_LEARNING_LIMIT_POLICY_ALLOW. format: int64 - mac_not_learned_packets_dropped (
long
orNone
) – The number of packets with unknown source MAC address that are dropped without learning the source MAC address. Applicable only when the MAC limit is reached and MAC Limit policy is MAC_LEARNING_LIMIT_POLICY_DROP. format: int64 - macs_learned (
long
orNone
) – Number of MACs learned format: int64
- mac_not_learned_packets_allowed (
-
class
com.vmware.nsx_policy.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_policy.model_client.
ManagementConfig
(links=None, schema=None, self_=None, revision=None, publish_fqdns=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 - publish_fqdns (
bool
orNone
) – True if Management nodes publish their fqdns(instead of default IP addresses) across NSX for its reachability.
- links (
-
class
com.vmware.nsx_policy.model_client.
MetadataProxyConfig
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, crypto_protocols=None, edge_cluster_path=None, enable_standby_relocation=None, preferred_edge_paths=None, secret=None, server_address=None, server_certificates=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Metadata Proxy Configuration
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - crypto_protocols (
list
ofstr
orNone
) –Possible values are:
MetadataProxyConfig.CRYPTO_PROTOCOLS_V1
MetadataProxyConfig.CRYPTO_PROTOCOLS_V1_1
MetadataProxyConfig.CRYPTO_PROTOCOLS_V1_2
The cryptographic protocols listed here are supported by the metadata proxy. TLSv1.1 and TLSv1.2 are supported by default
- edge_cluster_path (
str
orNone
) – Edge clusters configured on MP are auto-discovered by Policy and create corresponding read-only intent objects. - enable_standby_relocation (
bool
orNone
) – Only auto-placed metadata proxies are considered for relocation. Must be FALSE, when the preferred_edge_paths property is configured. - preferred_edge_paths (
list
ofstr
orNone
) – Edge nodes should be members of edge cluster configured in edge_cluster_path. - secret (
str
orNone
) – Secret word or phrase to access metadata server. - server_address (
str
orNone
) – This field is a URL. Example formats - http://1.2.3.4:3888/path, http://text-md-proxy:5001/. Port number should be between 3000-9000. - server_certificates (
list
ofstr
orNone
) – Valid certificates should be configured. The validity of certificates is not checked. Certificates are managed through /infra/certificates API on Policy.
-
CRYPTO_PROTOCOLS_V1
= 'TLS_V1'¶
-
CRYPTO_PROTOCOLS_V1_1
= 'TLS_V1_1'¶
-
CRYPTO_PROTOCOLS_V1_2
= 'TLS_V1_2'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
MetadataProxyConfigListResult
(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
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
ofMetadataProxyConfig
orNone
) – Paginated list of metadata proxy configurations
- links (
-
class
com.vmware.nsx_policy.model_client.
MonitoringProfileBindingMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Base Monitoring Profile Binding Map
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_policy.model_client.
MultiWidgetConfiguration
(navigation=None, widgets=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='MultiWidgetConfiguration', tags=None, datasources=None, default_filter_value=None, drilldown_id=None, filter=None, filter_value_required=None, footer=None, icons=None, is_drilldown=None, legend=None, shared=None, span=None, weight=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Combines two or more widgetconfigurations into a multi-widget
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - navigation (
str
orNone
) – Hyperlink of the specified UI page that provides details. - widgets (
list
ofWidgetItem
orNone
) – Array of widgets that are part of the multi-widget. - 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
) – Title of the widget. If display_name is omitted, the widget will be shown without a title. - id (
str
orNone
) – Unique identifier of this resource - resource_type (
str
) –Possible values are:
WidgetConfiguration.RESOURCE_TYPE_LABELVALUECONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DONUTCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_MULTIWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CONTAINERCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_STATSCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRIDCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRAPHCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CUSTOMWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DROPDOWNFILTERWIDGETCONFIGURATION
Supported visualization types are LabelValueConfiguration, DonutConfiguration, GridConfiguration, StatsConfiguration, MultiWidgetConfiguration, GraphConfiguration, ContainerConfiguration, CustomWidgetConfiguration and DropdownFilterWidgetConfiguration.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - datasources (
list
ofDatasource
orNone
) – The ‘datasources’ represent the sources from which data will be fetched. Currently, only NSX-API is supported as a ‘default’ datasource. An example of specifying ‘default’ datasource along with the urls to fetch data from is given at ‘example_request’ section of ‘CreateWidgetConfiguration’ API. - default_filter_value (
list
ofDefaultFilterValue
orNone
) – Default filter values to be passed to datasources. This will be used when the report is requested without filter values. - drilldown_id (
str
orNone
) – Id of drilldown widget, if any. Id should be a valid id of an existing widget. A widget is considered as drilldown widget when it is associated with any other widget and provides more detailed information about any data item from the parent widget. - filter (
str
orNone
) – Id of filter widget for subscription, if any. Id should be a valid id of an existing filter widget. Filter widget should be from the same view. Datasource URLs should have placeholder values equal to filter alias to accept the filter value on filter change. - filter_value_required (
bool
orNone
) – Flag to indicate that widget will continue to work without filter value. If this flag is set to false then default_filter_value is manadatory. - footer (
Footer
orNone
) – - icons (
list
ofIcon
orNone
) – Icons to be applied at dashboard for widgets and UI elements. - is_drilldown (
bool
orNone
) – Set to true if this widget should be used as a drilldown. - legend (
Legend
orNone
) – Legend to be displayed. If legend is not needed, do not include it. - shared (
bool
orNone
) – Please use the property ‘shared’ of View instead of this. The widgets of a shared view are visible to other users. - span (
long
orNone
) – Represents the horizontal span of the widget / container. format: int32 - weight (
long
orNone
) – Specify relavite weight in WidgetItem for placement in a view. Please see WidgetItem for details. format: int32
-
resource_type
¶ Return the discriminator value
- navigation (
-
class
com.vmware.nsx_policy.model_client.
MulticastForwarding
(incoming_interface=None, multicast_group=None, outgoing_interfaces=None, source=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Multicast forwarding entry.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - incoming_interface (
MulticastForwardingInterface
orNone
) – Ingress interface on whic multicast traffic is learned. - multicast_group (
str
orNone
) – Multicast group address. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - outgoing_interfaces (
list
ofMulticastForwardingInterface
orNone
) – Array of egress interfaces on whic multicast traffic is forwarded. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - source (
str
orNone
) – Multicast source address. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- incoming_interface (
-
class
com.vmware.nsx_policy.model_client.
MulticastForwardingCsvRecord
(incoming_interface=None, multicast_group=None, outgoing_interfaces=None, source=None, transport_node=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - incoming_interface (
str
orNone
) – Ingress interface on whic multicast traffic is learned. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - multicast_group (
str
orNone
) – Multicast group address. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - outgoing_interfaces (
str
orNone
) – Array of egress interfaces on whic multicast traffic is forwarded. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - source (
str
orNone
) – Multicast source address. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node (
str
orNone
) – Transport node uuid or policy 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.
- incoming_interface (
-
class
com.vmware.nsx_policy.model_client.
MulticastForwardingInterface
(ifuid=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Multicast forwarding interface details.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: ifuid ( str
orNone
) – Interface 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.
-
class
com.vmware.nsx_policy.model_client.
MulticastForwardingPerEdge
(edge_path=None, mcast_forwarding=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Multicast Forwarding Per Edge.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - edge_path (
str
orNone
) – Policy path to edge node. - mcast_forwarding (
list
ofMulticastForwarding
orNone
) –
- edge_path (
-
class
com.vmware.nsx_policy.model_client.
MulticastRoute
(group=None, input_interface=None, output_interface=None, source_address=None, ttl=None, uptime=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Multicast route details.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - group (
str
orNone
) – Multicast group address. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - input_interface (
str
orNone
) – Ingress interface on which multicast traffic is learned. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - output_interface (
str
orNone
) – Egress interface on which multicast traffic is forwarded. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - source_address (
str
orNone
) – Multicast source address. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - ttl (
long
orNone
) – Time-to-live value for multicast packets. 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. - uptime (
str
orNone
) – Time for which multicast route entry is active. 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 (
-
class
com.vmware.nsx_policy.model_client.
MulticastRouteCsvRecord
(group=None, input_interface=None, output_interface=None, source_address=None, transport_node=None, ttl=None, uptime=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - group (
str
orNone
) – Multicast group address. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - input_interface (
str
orNone
) – Ingress interface on which multicast traffic is learned. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - output_interface (
str
orNone
) – Egress interface on which multicast traffic is forwarded. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - source_address (
str
orNone
) – Multicast source address. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node (
str
orNone
) – Transport node uuid or policy 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. - ttl (
long
orNone
) – Time-to-live value for multicast packets. 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. - uptime (
str
orNone
) – Time for which multicast route entry is active. 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 (
-
class
com.vmware.nsx_policy.model_client.
MulticastRoutesPerEdge
(edge_path=None, mcast_routes=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Multicast Routes Per Edge.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - edge_path (
str
orNone
) – Policy path to edge node. - mcast_routes (
list
ofMulticastRoute
orNone
) –
- edge_path (
-
class
com.vmware.nsx_policy.model_client.
NSXTConnectionInfo
(edge_cluster_ids=None, password=None, thumbprint=None, transport_zone_ids=None, username=None, enforcement_point_address=None, resource_type='NSXTConnectionInfo')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Credential info to connect to an NSX-T type of enforcement point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - edge_cluster_ids (
list
ofstr
orNone
) – Edge Cluster UUIDs on enforcement point. Edge cluster information is required for creating logical L2, L3 constructs on enforcement point. Max 1 edge cluster ID. This is a deprecated property. The edge cluster id is now auto populated from enforcement point and its value can be read using APIs GET /infra/sites/site-id/enforcement-points/enforcementpoint-id/edge-clusters and GET /infra/sites/site-id/enforcement-points/enforcementpoint-1/edge-clusters/edge-cluster-id. The value passed through this property will be ignored. - password (
str
orNone
) – Password. - thumbprint (
str
orNone
) – Thumbprint of EnforcementPoint in the form of a SHA-256 hash represented in lower case HEX. - transport_zone_ids (
list
ofstr
orNone
) – Transport Zone UUIDs on enforcement point. Transport zone information is required for creating logical L2, L3 constructs on enforcement point. Max 1 transport zone ID. This is a deprecated property. The transport zone id is now auto populated from enforcement point and its value can be read using APIs GET /infra/sites/site-id/enforcement-points/enforcementpoint-id/transport-zones and GET /infra/sites/site-id/enforcement-points/enforcementpoint-id/transport-zones/transport-zone-id. The value passed through this property will be ignored. - username (
str
orNone
) – Username. - enforcement_point_address (
str
orNone
) – Value of this property could be Hostname or IP. For instance: - On an NSX-T MP running on default port, the value could be “10.192.1.1” - On an NSX-T MP running on custom port, the value could be “192.168.1.1:32789” - On an NSX-T MP in VMC deployments, the value could be “192.168.1.1:5480/nsxapi” - resource_type (
str
) –Possible values are:
EnforcementPointConnectionInfo.RESOURCE_TYPE_NSXTCONNECTIONINFO
EnforcementPointConnectionInfo.RESOURCE_TYPE_NSXVCONNECTIONINFO
Resource Type of Enforcement Point Connection Info.
-
resource_type
¶ Return the discriminator value
- edge_cluster_ids (
-
class
com.vmware.nsx_policy.model_client.
NSXVConnectionInfo
(password=None, thumbprint=None, username=None, enforcement_point_address=None, resource_type='NSXVConnectionInfo')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Credential info to connect to an NSX-V type of enforcement point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - password (
str
orNone
) – Password. - thumbprint (
str
orNone
) – Thumbprint of EnforcementPoint in the form of a SHA-256 hash represented in lower case HEX. - username (
str
orNone
) – Username. - enforcement_point_address (
str
orNone
) – Value of this property could be Hostname or IP. For instance: - On an NSX-T MP running on default port, the value could be “10.192.1.1” - On an NSX-T MP running on custom port, the value could be “192.168.1.1:32789” - On an NSX-T MP in VMC deployments, the value could be “192.168.1.1:5480/nsxapi” - resource_type (
str
) –Possible values are:
EnforcementPointConnectionInfo.RESOURCE_TYPE_NSXTCONNECTIONINFO
EnforcementPointConnectionInfo.RESOURCE_TYPE_NSXVCONNECTIONINFO
Resource Type of Enforcement Point Connection Info.
-
resource_type
¶ Return the discriminator value
- password (
-
class
com.vmware.nsx_policy.model_client.
NdSnoopingConfig
(nd_snooping_enabled=None, nd_snooping_limit=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Contains Neighbor Discovery Protocol (ND) snooping related configuration.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - nd_snooping_enabled (
bool
orNone
) – Enable this method will snoop the NS (Neighbor Solicitation) and NA (Neighbor Advertisement) messages in the ND (Neighbor Discovery Protocol) family of messages which are transmitted by a VM. From the NS messages, we will learn about the source which sent this NS message. From the NA message, we will learn the resolved address in the message which the VM is a recipient of. Addresses snooped by this method are subject to TOFU (Trust on First Use) policies as enforced by the system. - nd_snooping_limit (
long
orNone
) – Maximum number of ND (Neighbor Discovery Protocol) snooped IPv6 addresses format: int32
- nd_snooping_enabled (
-
class
com.vmware.nsx_policy.model_client.
NdpHeader
(dst_ip=None, msg_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Neighbor discovery protocol header
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dst_ip (
str
orNone
) – The IP address of the destination of the solicitation. It MUST NOT be a multicast address. format: ipv6 - msg_type (
str
orNone
) –Possible values are:
This field specifies the type of the Neighbor discover message being sent. NEIGHBOR_SOLICITATION - Neighbor Solicitation message to discover the link-layer address of an on-link IPv6 node or to confirm a previously determined link-layer address. NEIGHBOR_ADVERTISEMENT - Neighbor Advertisement message in response to a Neighbor Solicitation message.
-
MSG_TYPE_ADVERTISEMENT
= 'NEIGHBOR_ADVERTISEMENT'¶
-
MSG_TYPE_SOLICITATION
= 'NEIGHBOR_SOLICITATION'¶
- dst_ip (
-
class
com.vmware.nsx_policy.model_client.
NestedExpression
(expressions=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='NestedExpression', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Nested expressions is a list of condition expressions that must follow the below criteria: 0. Only allowed expressions in a NestedExpression are Condition and ConjunctionOperator. 1. A non-empty expression list, must be of odd size. In a list, with indices starting from 0, all condition expressions must be at even indices, separated by the conjunction expressions AND at odd indices. 2. There may be at most 5 condition expressions inside a list. 3. NestedExpressions are homogeneous in nature, i.e, all expressions inside a nested expression must have the same member type.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - expressions (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – Expression. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inExpression
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inExpression
. - 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
) –Possible values are:
Expression.RESOURCE_TYPE_CONDITION
Expression.RESOURCE_TYPE_CONJUNCTIONOPERATOR
Expression.RESOURCE_TYPE_NESTEDEXPRESSION
Expression.RESOURCE_TYPE_IPADDRESSEXPRESSION
Expression.RESOURCE_TYPE_MACADDRESSEXPRESSION
Expression.RESOURCE_TYPE_EXTERNALIDEXPRESSION
Expression.RESOURCE_TYPE_PATHEXPRESSION
Expression.RESOURCE_TYPE_IDENTITYGROUPEXPRESSION
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
¶ Return the discriminator value
- expressions (
-
class
com.vmware.nsx_policy.model_client.
NestedServiceServiceEntry
(nested_service_path=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='NestedServiceServiceEntry', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A ServiceEntry that represents nesting service
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - nested_service_path (
str
orNone
) – path of nested service - 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
) –Possible values are:
ServiceEntry.RESOURCE_TYPE_IPPROTOCOLSERVICEENTRY
ServiceEntry.RESOURCE_TYPE_IGMPTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ICMPTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ALGTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_L4PORTSETSERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ETHERTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_NESTEDSERVICESERVICEENTRY
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
¶ Return the discriminator value
- nested_service_path (
-
class
com.vmware.nsx_policy.model_client.
NetworkError
(error_code=None, error_message=None, spec=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Network error related to container objects.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - error_code (
str
orNone
) – Error code of network related error. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - error_message (
str
orNone
) – Detailed message of network related error. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - spec (
str
orNone
) – Additional error information in json format. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- error_code (
-
class
com.vmware.nsx_policy.model_client.
NicMetadata
(interface_index=None, interface_label=None, interface_type=None, transports=None, user_configurable=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Information on the Network interfaces present on the partner appliance that needs to be configured by the NSX Manager.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - interface_index (
long
orNone
) – Network Interface index. format: int64 - interface_label (
str
orNone
) – Network Interface label. - interface_type (
str
orNone
) –Possible values are:
NicMetadata.INTERFACE_TYPE_MANAGEMENT
NicMetadata.INTERFACE_TYPE_DATA1
NicMetadata.INTERFACE_TYPE_DATA2
NicMetadata.INTERFACE_TYPE_HA1
NicMetadata.INTERFACE_TYPE_HA2
NicMetadata.INTERFACE_TYPE_CONTROL
Interface that needs to be configured on the partner appliance. Ex. MANAGEMENT, DATA1, DATA2, HA1, HA2, CONTROL.
- transports (
list
ofstr
orNone
) –Possible values are:
Transport Type of the service, which is the mechanism of redirecting the traffic to the the partner appliance. Transport type is required if Service caters to any functionality other than EPP. Here, the transports array specifies the kinds of transport where this particular NIC is user configurable. If nothing is specified, and the “user_configurable” flag is true, then user configuration will be allowed for all transports. If any transport is/are specified, then it will be considered as user configurable for the specified transports only.”
- user_configurable (
bool
orNone
) – Used to specify if the given interface needs configuration. Management nics will always need the configuration, for others it will be use case specific. For example, a DATA NIC may be user configurable if the appliance is deployed in certain mode, such as L3_ROUTED.
-
INTERFACE_TYPE_CONTROL
= 'CONTROL'¶
-
INTERFACE_TYPE_DATA1
= 'DATA1'¶
-
INTERFACE_TYPE_DATA2
= 'DATA2'¶
-
INTERFACE_TYPE_HA1
= 'HA1'¶
-
INTERFACE_TYPE_HA2
= 'HA2'¶
-
INTERFACE_TYPE_MANAGEMENT
= 'MANAGEMENT'¶
-
TRANSPORTS_L2_BRIDGE
= 'L2_BRIDGE'¶
-
TRANSPORTS_L3_ROUTED
= 'L3_ROUTED'¶
-
TRANSPORTS_NSH
= 'NSH'¶
- interface_index (
-
class
com.vmware.nsx_policy.model_client.
NsxRole
(permissions=None, role=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Role
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - permissions (
list
ofstr
orNone
) –Possible values are:
NsxRole.PERMISSIONS_READ_API
NsxRole.PERMISSIONS_READ_WRITE_API
NsxRole.PERMISSIONS_CRUD
NsxRole.PERMISSIONS_READ
NsxRole.PERMISSIONS_EXECUTE
NsxRole.PERMISSIONS_NONE
Please use the /user-info/permissions api to get the permission that the user has on each feature.
- role (
str
orNone
) – This field represents the identifier of the role. With the introduction of custom roles, this field is no longer an enum.
-
PERMISSIONS_CRUD
= 'crud'¶
-
PERMISSIONS_EXECUTE
= 'execute'¶
-
PERMISSIONS_NONE
= 'none'¶
-
PERMISSIONS_READ
= 'read'¶
-
PERMISSIONS_READ_API
= 'read-api'¶
-
PERMISSIONS_READ_WRITE_API
= 'read-write-api'¶
- permissions (
-
class
com.vmware.nsx_policy.model_client.
NsxTDNSForwarderStatistics
(cached_entries=None, conditional_forwarder_statistics=None, configured_cache_size=None, default_forwarder_statistics=None, queries_answered_locally=None, queries_forwarded=None, timestamp=None, total_queries=None, used_cache_statistics=None, enforcement_point_path=None, resource_type='NsxTDNSForwarderStatistics')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
The current statistics counters of the DNS forwarder including cache usages and query numbers per forwarders, on an NSX-T type of enforcement point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - cached_entries (
long
orNone
) – The total number of cached entries 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. - conditional_forwarder_statistics (
list
ofNsxTDNSForwarderZoneStatistics
orNone
) – The statistics of conditional forwarder zones This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - configured_cache_size (
long
orNone
) – The configured cache size, in kb 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. - default_forwarder_statistics (
NsxTDNSForwarderZoneStatistics
orNone
) – The statistics of default forwarder zone - queries_answered_locally (
long
orNone
) – The total number of queries answered from local cache 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. - queries_forwarded (
long
orNone
) – The total number of forwarded DNS queries 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. - timestamp (
long
orNone
) – Time stamp of the current statistics, in ms 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. - total_queries (
long
orNone
) – The total number of received DNS queries 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. - used_cache_statistics (
list
ofNsxtPerNodeUsedCacheStatistics
orNone
) – The statistics of used cache This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - enforcement_point_path (
str
orNone
) – Policy path referencing the enforcement point from where the statistics are fetched. 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
) –Possible values are:
-
resource_type
¶ Return the discriminator value
- cached_entries (
-
class
com.vmware.nsx_policy.model_client.
NsxTDNSForwarderStatus
(extra_message=None, status=None, timestamp=None, enforcement_point_path=None, resource_type='NsxTDNSForwarderStatus')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
The current runtime status of the DNS forwarder.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - extra_message (
str
orNone
) – Extra message, if available This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - status (
str
orNone
) –Possible values are:
NsxTDNSForwarderStatus.STATUS_UP
NsxTDNSForwarderStatus.STATUS_DOWN
NsxTDNSForwarderStatus.STATUS_ERROR
NsxTDNSForwarderStatus.STATUS_NO_BACKUP
NsxTDNSForwarderStatus.STATUS_UNKNOWN
UP means the DNS forwarder is working correctly on the active transport node and the stand-by transport node (if present). Failover will occur if either node goes down. DOWN means the DNS forwarder is down on both active transport node and standby node (if present). The DNS forwarder does not function in this situation. Error means there is some error on one or both transport node, or no status was reported from one or both transport nodes. The DNS forwarder may be working (or not working). NO_BACKUP means DNS forwarder is working in only one transport node, either because it is down on the standby node, or no standby is configured. An forwarder outage will occur if the active node goes down. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- timestamp (
long
orNone
) – Time stamp of the current status, in ms 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. - enforcement_point_path (
str
orNone
) – Policy path referencing the enforcement point from where the status is fetched. 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
) –Possible values are:
-
STATUS_DOWN
= 'DOWN'¶
-
STATUS_ERROR
= 'ERROR'¶
-
STATUS_NO_BACKUP
= 'NO_BACKUP'¶
-
STATUS_UNKNOWN
= 'UNKNOWN'¶
-
STATUS_UP
= 'UP'¶
-
resource_type
¶ Return the discriminator value
- extra_message (
-
class
com.vmware.nsx_policy.model_client.
NsxTDNSForwarderZoneStatistics
(domain_names=None, upstream_statistics=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Statistics counters of the DNS forwarder zone.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - domain_names (
list
ofstr
orNone
) – Domain names configured for the forwarder. Empty if this is the default forwarder. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - upstream_statistics (
list
ofNsxtUpstreamServerStatistics
orNone
) – Statistics per upstream server. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- domain_names (
-
class
com.vmware.nsx_policy.model_client.
NsxtDnsAnswer
(authoritative_answers=None, dns_server=None, edge_node_id=None, non_authoritative_answers=None, raw_answer=None, enforcement_point_path=None, resource_type='NsxTDnsAnswer')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Answer of dns nslookup
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - authoritative_answers (
list
ofNsxtDnsQueryAnswer
orNone
) – Authoritative answers - dns_server (
str
orNone
) – Dns server ip address and port, format is “ip address#port”. - edge_node_id (
str
orNone
) – ID of the edge node that performed the query. - non_authoritative_answers (
list
ofNsxtDnsQueryAnswer
orNone
) – Non authoritative answers - raw_answer (
str
orNone
) – It can be NXDOMAIN or error message which is not consisted of authoritative_answer or non_authoritative_answer. - enforcement_point_path (
str
orNone
) – Policy path referencing the enforcement point from where the DNS forwarder nslookup answer is fetched. 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
) –Possible values are:
Resource type of the DNS forwarder nslookup answer.
-
resource_type
¶ Return the discriminator value
- authoritative_answers (
-
class
com.vmware.nsx_policy.model_client.
NsxtDnsQueryAnswer
(address=None, name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Answer of nslookup
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - address (
str
orNone
) – Resolved IP address matched with the nslookup address provided as a request parameter. - name (
str
orNone
) – Matched name of the given address.
- address (
-
class
com.vmware.nsx_policy.model_client.
NsxtPerNodeUsedCacheStatistics
(cached_entries=None, node_id=None, used_cache_size=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Query statistics counters of used cache from node
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - cached_entries (
long
orNone
) – The total number of cached entries 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. - node_id (
str
orNone
) – UUID of active/standby transport node This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - used_cache_size (
long
orNone
) – The memory size used in cache, in kb 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.
- cached_entries (
-
class
com.vmware.nsx_policy.model_client.
NsxtUpstreamServerStatistics
(queries_failed=None, queries_succeeded=None, upstream_server=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Query statistics counters to an upstream server including successfully forwarded queries and failed queries.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - queries_failed (
long
orNone
) – Queries failed to forward. 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. - queries_succeeded (
long
orNone
) – Queries forwarded successfully 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. - upstream_server (
str
orNone
) – Upstream server ip format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- queries_failed (
-
class
com.vmware.nsx_policy.model_client.
ObjectRolePermissionGroup
(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, inheritance_disabled=None, operation=None, path_prefix=None, role_name=None, rule_disabled=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
RBAC Objects qualifier
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 - inheritance_disabled (
bool
orNone
) – Does children of this object inherit this rule - operation (
str
orNone
) –Possible values are:
ObjectRolePermissionGroup.OPERATION_CRUD
ObjectRolePermissionGroup.OPERATION_READ
ObjectRolePermissionGroup.OPERATION_EXECUTE
ObjectRolePermissionGroup.OPERATION_NONE
Allowed operation - path_prefix (
str
orNone
) – Path prefix - role_name (
str
orNone
) – Role name - rule_disabled (
bool
orNone
) – Is rule disabled or not
-
OPERATION_CRUD
= 'crud'¶
-
OPERATION_EXECUTE
= 'execute'¶
-
OPERATION_NONE
= 'none'¶
-
OPERATION_READ
= 'read'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
ObjectRolePermissionGroupListResult
(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
Paged collection of RBAC 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 - 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
ofObjectRolePermissionGroup
orNone
) – ObjectRolePermissionGroup list results
- links (
-
class
com.vmware.nsx_policy.model_client.
OpenLdapIdentitySource
(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='OpenLdapIdentitySource', tags=None, alternative_domain_names=None, base_dn=None, domain_name=None, ldap_servers=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
An identity source service that runs OpenLDAP. The service allows selected user accounts defined in OpenLDAP to log into and access NSX-T.
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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - alternative_domain_names (
list
ofstr
orNone
) – After parsing the “user\@domain”, the domain portion is used to select the LDAP identity source to use. Additional domains listed here will also be directed to this LDAP identity source. In Active Directory these are sometimes referred to as Alternative UPN Suffixes. - base_dn (
str
orNone
) – The subtree of the LDAP identity source to search when locating users and groups. - domain_name (
str
orNone
) – The name of the authentication domain. When users log into NSX using an identity of the form “user\@domain”, NSX uses the domain portion to determine which LDAP identity source to use. - ldap_servers (
list
ofIdentitySourceLdapServer
orNone
) – The list of LDAP servers that provide LDAP service for this identity source. Currently, only one LDAP server is supported.
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
OverriddenResource
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, intent_path=None, site_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents which federated global resources have been overrriden on a specific Site.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - intent_path (
str
orNone
) – Policy resource path of the overridden 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. - site_path (
str
orNone
) – Site path to the specific site that has overridden the global 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.
- links (
-
class
com.vmware.nsx_policy.model_client.
OverriddenResourceListResult
(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
Paged Collection of OverriddenResource.
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
ofOverriddenResource
orNone
) – OverriddenResource list results.
- links (
-
class
com.vmware.nsx_policy.model_client.
PacketData
(frame_size=None, resource_type='PacketData', routed=None, transport_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - frame_size (
long
orNone
) – If the requested frame_size is too small (given the payload and traceflow metadata requirement of 16 bytes), the traceflow request will fail with an appropriate message. The frame will be zero padded to the requested size. format: int64 - resource_type (
str
) –Possible values are:
Packet configuration - routed (
bool
orNone
) – A flag, when set true, indicates that the traceflow packet is of L3 routing. - transport_type (
str
orNone
) –Possible values are:
PacketData.TRANSPORT_TYPE_BROADCAST
PacketData.TRANSPORT_TYPE_UNICAST
PacketData.TRANSPORT_TYPE_MULTICAST
PacketData.TRANSPORT_TYPE_UNKNOWN
transport type of the traceflow packet
-
RESOURCE_TYPE_BINARYPACKETDATA
= 'BinaryPacketData'¶
-
RESOURCE_TYPE_FIELDSPACKETDATA
= 'FieldsPacketData'¶
-
TRANSPORT_TYPE_BROADCAST
= 'BROADCAST'¶
-
TRANSPORT_TYPE_MULTICAST
= 'MULTICAST'¶
-
TRANSPORT_TYPE_UNICAST
= 'UNICAST'¶
-
TRANSPORT_TYPE_UNKNOWN
= 'UNKNOWN'¶
-
resource_type
¶ Return the discriminator value
- frame_size (
-
class
com.vmware.nsx_policy.model_client.
PacketTypeAndCounter
(counter=None, packet_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - counter (
long
orNone
) – The number of packets. format: int64 - packet_type (
str
orNone
) – The type of the packets
- counter (
-
class
com.vmware.nsx_policy.model_client.
PacketsDroppedBySecurity
(bpdu_filter_dropped=None, dhcp_client_dropped_ipv4=None, dhcp_client_dropped_ipv6=None, dhcp_server_dropped_ipv4=None, dhcp_server_dropped_ipv6=None, spoof_guard_dropped=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - bpdu_filter_dropped (
long
orNone
) – The number of packets dropped by “BPDU filter”. format: int64 - dhcp_client_dropped_ipv4 (
long
orNone
) – The number of IPv4 packets dropped by “DHCP client block”. format: int64 - dhcp_client_dropped_ipv6 (
long
orNone
) – The number of IPv6 packets dropped by “DHCP client block”. format: int64 - dhcp_server_dropped_ipv4 (
long
orNone
) – The number of IPv4 packets dropped by “DHCP server block”. format: int64 - dhcp_server_dropped_ipv6 (
long
orNone
) – The number of IPv6 packets dropped by “DHCP server block”. format: int64 - spoof_guard_dropped (
list
ofPacketTypeAndCounter
orNone
) – The packets dropped by “Spoof Guard”; supported packet types are IPv4, IPv6, ARP, ND, non-IP.
- bpdu_filter_dropped (
-
class
com.vmware.nsx_policy.model_client.
PartialPatchConfig
(enable_partial_patch=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This object allows enabling or disabling of partial patch functionality. Enabling partial patch allows patching of a subset of the fields of any object. After enabling partial patching, any object payload provided will be merged with the existing object payload. Note that while all mandatory fields are expected to be provided during the creation of any object, enabling partial patch will allow patching of existing objects with a subset of mandatory fields.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: enable_partial_patch ( bool
orNone
) – boolean value used to enable/disable partial patch
-
class
com.vmware.nsx_policy.model_client.
PatchResources
(body=None, injections=None, resource_type='PatchResources')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Patch Resources is an action to create/patch resources in response to an event.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - body (
vmware.vapi.struct.VapiStruct
orNone
) – Patch body representing a Hierarchical Patch payload. The resources included in the body are patched replacing the injections’ keys with their actual values. - injections (
list
ofInjection
orNone
) – Injections holding keys (variables) and their corresponding values. - resource_type (
str
) –Possible values are:
Reaction Action resource type.
-
resource_type
¶ Return the discriminator value
- body (
-
class
com.vmware.nsx_policy.model_client.
PathExpression
(paths=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='PathExpression', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents policy path expressions in the form of an array, to support addition of objects like groups, segments and policy logical ports in a group.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - paths (
list
ofstr
orNone
) – This array can consist of one or more policy paths. Only policy paths of groups, segments and policy logical ports are allowed. - 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
) –Possible values are:
Expression.RESOURCE_TYPE_CONDITION
Expression.RESOURCE_TYPE_CONJUNCTIONOPERATOR
Expression.RESOURCE_TYPE_NESTEDEXPRESSION
Expression.RESOURCE_TYPE_IPADDRESSEXPRESSION
Expression.RESOURCE_TYPE_MACADDRESSEXPRESSION
Expression.RESOURCE_TYPE_EXTERNALIDEXPRESSION
Expression.RESOURCE_TYPE_PATHEXPRESSION
Expression.RESOURCE_TYPE_IDENTITYGROUPEXPRESSION
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
¶ Return the discriminator value
- paths (
-
class
com.vmware.nsx_policy.model_client.
PathPermissionGroup
(object_path=None, operation=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
RBAC Objects qualifier
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - object_path (
str
orNone
) – Full Object Path - operation (
str
orNone
) –Possible values are:
PathPermissionGroup.OPERATION_CRUD
PathPermissionGroup.OPERATION_READ
PathPermissionGroup.OPERATION_EXECUTE
PathPermissionGroup.OPERATION_NONE
Allowed operation
-
OPERATION_CRUD
= 'crud'¶
-
OPERATION_EXECUTE
= 'execute'¶
-
OPERATION_NONE
= 'none'¶
-
OPERATION_READ
= 'read'¶
- object_path (
-
class
com.vmware.nsx_policy.model_client.
PeerCertificateChain
(details=None, pem_encoded=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
The certificate chain presented by a remote TLS service.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - details (
list
ofX509Certificate
orNone
) – List of X509Certificates. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - pem_encoded (
str
orNone
) – PEM encoded certificate data.
- details (
-
class
com.vmware.nsx_policy.model_client.
PendingChangesInfoNsxt
(pending_changes_flag=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Information about recent changes, if any, that are not reflected in the Enforced Realized Status.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: pending_changes_flag ( bool
orNone
) – Flag describing whether there are any pending changes that are not reflected in the status. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
class
com.vmware.nsx_policy.model_client.
PerStepRestoreStatus
(description=None, value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Restore step status
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - description (
str
orNone
) – A description of the restore status This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - value (
str
orNone
) –Possible values are:
PerStepRestoreStatus.VALUE_INITIAL
PerStepRestoreStatus.VALUE_RUNNING
PerStepRestoreStatus.VALUE_SUSPENDED_BY_USER
PerStepRestoreStatus.VALUE_SUSPENDED_FOR_USER_ACTION
PerStepRestoreStatus.VALUE_FAILED
PerStepRestoreStatus.VALUE_SUCCESS
Per step restore status valueThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
VALUE_FAILED
= 'FAILED'¶
-
VALUE_INITIAL
= 'INITIAL'¶
-
VALUE_RUNNING
= 'RUNNING'¶
-
VALUE_SUCCESS
= 'SUCCESS'¶
-
VALUE_SUSPENDED_BY_USER
= 'SUSPENDED_BY_USER'¶
-
VALUE_SUSPENDED_FOR_USER_ACTION
= 'SUSPENDED_FOR_USER_ACTION'¶
- description (
-
class
com.vmware.nsx_policy.model_client.
PimRpMapping
(group=None, is_rp=None, outgoing_interface=None, rp_address=None, source=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
PIM (Protocol Independent Multicast) RP (Randezvous Point) mapping details.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - group (
str
orNone
) – Multicast group address. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - is_rp (
bool
orNone
) – Value of this field will be true if this edge transport node acts as rendezvous point, otherwise false. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - outgoing_interface (
str
orNone
) – Outgoing/Egress interface for multicast traffic. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - rp_address (
str
orNone
) – RP (Randezvous Point) address. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - source (
str
orNone
) – Source of learning RP information. Either Static RP configured or RP learned via BSR (Bootstrap Router). 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 (
-
class
com.vmware.nsx_policy.model_client.
PimRpMappingCsvRecord
(group=None, is_rp=None, outgoing_interface=None, rp_address=None, source=None, transport_node=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - group (
str
orNone
) – Multicast group address. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - is_rp (
bool
orNone
) – Value of this field will be true if this edge transport node acts as rendezvous point, otherwise false. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - outgoing_interface (
str
orNone
) – Outgoing/Egress interface for multicast traffic. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - rp_address (
str
orNone
) – RP (Randezvous Point) address. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - source (
str
orNone
) – Source of learning RP information. Either Static RP configured or RP learned via BSR (Bootstrap Router). This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node (
str
orNone
) – Transport node uuid or policy 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.
- group (
-
class
com.vmware.nsx_policy.model_client.
PimRpMappings
(gateway_path=None, pim_rp_mappings_per_edge=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
PIM Rendezvous Point Mappings.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - gateway_path (
str
orNone
) – Policy path to Tier0 gateway. - pim_rp_mappings_per_edge (
list
ofPimRpMappingsPerEdge
orNone
) –
- gateway_path (
-
class
com.vmware.nsx_policy.model_client.
PimRpMappingsInCsvFormat
(file_name=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
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
ofPimRpMappingCsvRecord
orNone
) –
- file_name (
-
class
com.vmware.nsx_policy.model_client.
PimRpMappingsPerEdge
(edge_path=None, pim_rp_mappings=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
PIM Rendezvous Point Mappings Per Edge.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - edge_path (
str
orNone
) – Policy path to edge node. - pim_rp_mappings (
list
ofPimRpMapping
orNone
) –
- edge_path (
-
class
com.vmware.nsx_policy.model_client.
PointDefinition
(drilldown_id=None, field=None, navigation=None, tooltip=None, x_value=None, y_value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Defines the point of a graph.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - drilldown_id (
str
orNone
) – Id of drilldown widget, if any. Id should be a valid id of an existing widget. A widget is considered as drilldown widget when it is associated with any other widget and provides more detailed information about any data item from the parent widget. - field (
str
orNone
) – An expression that represents the points of the graph - navigation (
str
orNone
) – Hyperlink of the specified UI page that provides details. - tooltip (
list
ofTooltip
orNone
) – Multi-line text to be shown on tooltip while hovering over the point of a graph. - x_value (
str
orNone
) – Represents the variable for the X value of points that are plotted on the graph. - y_value (
str
orNone
) – Represents the variable for the Y value of points that are plotted on the graph.
- drilldown_id (
-
class
com.vmware.nsx_policy.model_client.
Policy
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, category=None, comments=None, internal_sequence_number=None, is_default=None, lock_modified_by=None, lock_modified_time=None, locked=None, rule_count=None, scheduler_path=None, scope=None, sequence_number=None, stateful=None, tcp_strict=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Ordered list of Rules. This object is created by default along with the Domain.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - category (
str
orNone
) –- Distributed Firewall - Policy framework provides five pre-defined
categories for classifying a security policy. They are “Ethernet”,”Emergency”, “Infrastructure” “Environment” and “Application”. There is a pre-determined order in which the policy framework manages the priority of these security policies. Ethernet category is for supporting layer 2 firewall rules. The other four categories are applicable for layer 3 rules. Amongst them, the Emergency category has the highest priority followed by Infrastructure, Environment and then Application rules. Administrator can choose to categorize a security policy into the above categories or can choose to leave it empty. If empty it will have the least precedence w.r.t the above four categories. - Edge Firewall - Policy Framework for Edge Firewall provides six pre-defined categories “Emergency”, “SystemRules”, “SharedPreRules”, “LocalGatewayRules”, “AutoServiceRules” and “Default”, in order of priority of rules. All categories are allowed for Gatetway Policies that belong to ‘default’ Domain. However, for user created domains, category is restricted to “SharedPreRules” or “LocalGatewayRules” only. Also, the users can add/modify/delete rules from only the “SharedPreRules” and “LocalGatewayRules” categories. If user doesn’t specify the category then defaulted to “Rules”. System generated category is used by NSX created rules, for example BFD rules. Autoplumbed category used by NSX verticals to autoplumb data path rules. Finally, “Default” category is the placeholder default rules with lowest in the order of priority.
- comments (
str
orNone
) – Comments for security policy lock/unlock. - internal_sequence_number (
long
orNone
) – This field is to indicate the internal sequence number of a policy with respect to the policies across categories. 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. - is_default (
bool
orNone
) – A flag to indicate whether policy is a default policy. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lock_modified_by (
str
orNone
) – ID of the user who last modified the lock for the secruity policy. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lock_modified_time (
long
orNone
) – SecurityPolicy locked/unlocked time in epoch milliseconds. format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - locked (
bool
orNone
) – Indicates whether a security policy should be locked. If the security policy is locked by a user, then no other user would be able to modify this security policy. Once the user releases the lock, other users can update this security policy. - rule_count (
long
orNone
) – The count of rules in the policy. 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. - scheduler_path (
str
orNone
) – Provides a mechanism to apply the rules in this policy for a specified time duration. - scope (
list
ofstr
orNone
) – The list of group paths where the rules in this policy will get applied. This scope will take precedence over rule level scope. Supported only for security and redirection policies. In case of RedirectionPolicy, it is expected only when the policy is NS and redirecting to service chain. - sequence_number (
long
orNone
) – This field is used to resolve conflicts between security policies across domains. In order to change the sequence number of a policy one can fire a POST request on the policy entity with a query parameter action=revise The sequence number field will reflect the value of the computed sequence number upon execution of the above mentioned POST request. For scenarios where the administrator is using a template to update several security policies, the only way to set the sequence number is to explicitly specify the sequence number for each security policy. If no sequence number is specified in the payload, a value of 0 is assigned by default. If there are multiple policies with the same sequence number then their order is not deterministic. If a specific order of policies is desired, then one has to specify unique sequence numbers or use the POST request on the policy entity with a query parameter action=revise to let the framework assign a sequence number format: int32 - stateful (
bool
orNone
) – Stateful or Stateless nature of security policy is enforced on all rules in this security policy. When it is stateful, the state of the network connects are tracked and a stateful packet inspection is performed. Layer3 security policies can be stateful or stateless. By default, they are stateful. Layer2 security policies can only be stateless. - tcp_strict (
bool
orNone
) – Ensures that a 3 way TCP handshake is done before the data packets are sent. tcp_strict=true is supported only for stateful security policies. If the tcp_strict flag is not specified and the security policy is stateful, then tcp_strict will be set to true.
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyAlarmResource
(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, parent_path=None, path=None, relative_path=None, unique_id=None, error_details=None, message=None, source_reference=None, source_site_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Alarm base class of realized policy object
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - error_details (
PolicyApiError
orNone
) – Detailed information about errors from an API call made to the enforcement point, if any. - message (
str
orNone
) – error message to describe the issue - source_reference (
str
orNone
) – path of the object on which alarm is created - source_site_id (
str
orNone
) – This field will refer to the source site on which the alarm is generated. This field is populated by GM, when it receives corresponding notification from LM. 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_policy.model_client.
PolicyAlarmResourceListResult
(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
PolicyAlarmResource 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
ofPolicyAlarmResource
orNone
) – List of alarm resources
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyApiError
(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
ofPolicyRelatedApiError
orNone
) – Other errors related to this error
- details (
-
class
com.vmware.nsx_policy.model_client.
PolicyAttributes
(datatype=None, description=None, is_alg_type=None, key=None, sub_attributes=None, value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Policy Attributes data holder
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - datatype (
str
orNone
) –Possible values are:
Datatype for attribute - description (
str
orNone
) – Description for attribute value - is_alg_type (
bool
orNone
) – Describes whether the APP_ID value is ALG type or not. - key (
str
orNone
) –Possible values are:
Key for attribute - sub_attributes (
list
ofPolicySubAttributes
orNone
) – Reference to sub attributes for the attribute - value (
list
ofstr
orNone
) – Multiple attribute values can be specified as elements of array.
-
DATATYPE_STRING
= 'STRING'¶
-
KEY_APP_ID
= 'APP_ID'¶
-
KEY_DOMAIN_NAME
= 'DOMAIN_NAME'¶
-
KEY_URL_CATEGORY
= 'URL_CATEGORY'¶
- datatype (
-
class
com.vmware.nsx_policy.model_client.
PolicyBasedIPSecVpnSession
(rules=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='PolicyBasedIPSecVpnSession', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, authentication_mode=None, compliance_suite=None, connection_initiation_mode=None, dpd_profile_path=None, enabled=None, ike_profile_path=None, local_endpoint_path=None, peer_address=None, peer_id=None, psk=None, tcp_mss_clamping=None, tunnel_profile_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A Policy Based VPN requires to define protect rules that match local and peer subnets. IPSec security associations is negotiated for each pair of local and peer subnet.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - rules (
list
ofIPSecVpnRule
orNone
) – Rules - 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
) –Possible values are:
IPSecVpnSession.RESOURCE_TYPE_POLICYBASEDIPSECVPNSESSION
IPSecVpnSession.RESOURCE_TYPE_ROUTEBASEDIPSECVPNSESSION
A Policy Based VPN requires to define protect rules that match local and peer subnets. IPSec security associations is negotiated for each pair of local and peer subnet. A Route Based VPN is more flexible, more powerful and recommended over policy based VPN. IP Tunnel port is created and all traffic routed via tunnel port is protected. Routes can be configured statically or can be learned through BGP. A route based VPN is must for establishing redundant VPN session to remote site.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - authentication_mode (
str
orNone
) –Possible values are:
Peer authentication mode. PSK - In this mode a secret key shared between local and peer sites is to be used for authentication. The secret key can be a string with a maximum length of 128 characters. CERTIFICATE - In this mode a certificate defined at the global level is to be used for authentication.
- compliance_suite (
str
orNone
) –Possible values are:
IPSecVpnSession.COMPLIANCE_SUITE_CNSA
IPSecVpnSession.COMPLIANCE_SUITE_SUITE_B_GCM_128
IPSecVpnSession.COMPLIANCE_SUITE_SUITE_B_GCM_256
IPSecVpnSession.COMPLIANCE_SUITE_PRIME
IPSecVpnSession.COMPLIANCE_SUITE_FOUNDATION
IPSecVpnSession.COMPLIANCE_SUITE_FIPS
IPSecVpnSession.COMPLIANCE_SUITE_NONE
Compliance suite. - connection_initiation_mode (
str
orNone
) –Possible values are:
IPSecVpnSession.CONNECTION_INITIATION_MODE_INITIATOR
IPSecVpnSession.CONNECTION_INITIATION_MODE_RESPOND_ONLY
IPSecVpnSession.CONNECTION_INITIATION_MODE_ON_DEMAND
Connection initiation mode used by local endpoint to establish ike connection with peer site. INITIATOR - In this mode local endpoint initiates tunnel setup and will also respond to incoming tunnel setup requests from peer gateway. RESPOND_ONLY - In this mode, local endpoint shall only respond to incoming tunnel setup requests. It shall not initiate the tunnel setup. ON_DEMAND - In this mode local endpoint will initiate tunnel creation once first packet matching the policy rule is received and will also respond to incoming initiation request.
- dpd_profile_path (
str
orNone
) – Policy path referencing Dead Peer Detection (DPD) profile. Default is set to system default profile. - enabled (
bool
orNone
) – Enable/Disable IPSec VPN session. - ike_profile_path (
str
orNone
) – Policy path referencing IKE profile to be used. Default is set according to system default profile. - local_endpoint_path (
str
orNone
) – Policy path referencing Local endpoint. - peer_address (
str
orNone
) – Public IPV4 address of the remote device terminating the VPN connection. - peer_id (
str
orNone
) – Peer ID to uniquely identify the peer site. The peer ID is the public IP address of the remote device terminating the VPN tunnel. When NAT is configured for the peer, enter the private IP address of the peer. - psk (
str
orNone
) – IPSec Pre-shared key. Maximum length of this field is 128 characters. - tcp_mss_clamping (
TcpMaximumSegmentSizeClamping
orNone
) – TCP Maximum Segment Size Clamping Direction and Value. - tunnel_profile_path (
str
orNone
) – Policy path referencing Tunnel profile to be used. Default is set to system default profile.
-
resource_type
¶ Return the discriminator value
- rules (
-
class
com.vmware.nsx_policy.model_client.
PolicyBasedL3VpnSession
(rules=None, resource_type='PolicyBasedL3VpnSession')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A Policy-based L3Vpn session is a configuration in which a specific vpn tunnel is referenced in a policy whose action is set as tunnel.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - rules (
list
ofL3VpnRule
orNone
) – L3Vpn rules that are specific to the L3Vpn. Only L3Vpn rules with PROTECT action are supported. - resource_type (
str
) –Possible values are:
L3VpnSession.RESOURCE_TYPE_POLICYBASEDL3VPNSESSION
L3VpnSession.RESOURCE_TYPE_ROUTEBASEDL3VPNSESSION
- A Policy Based L3Vpn is a configuration in which protect rules to
match local and remote subnet needs to be defined. Tunnel is established for each pair of local and remote subnet defined in protect rules. - A Route Based L3Vpn is more flexible, more powerful and recommended over policy based. IP Tunnel subnet is created and all traffic routed through tunnel subnet (commonly known as VTI) is sent over tunnel. Routes can be learned through BGP. A route based L3Vpn is required when using redundant L3Vpn.
-
resource_type
¶ Return the discriminator value
- rules (
-
class
com.vmware.nsx_policy.model_client.
PolicyBgpNeighborStatus
(address_families=None, announced_capabilities=None, connection_drop_count=None, connection_state=None, edge_path=None, established_connection_count=None, graceful_restart_mode=None, hold_time=None, keep_alive_interval=None, last_update_timestamp=None, local_port=None, messages_received=None, messages_sent=None, negotiated_capability=None, neighbor_address=None, neighbor_router_id=None, remote_as_number=None, remote_port=None, remote_site=None, source_address=None, tier0_path=None, time_since_established=None, total_in_prefix_count=None, total_out_prefix_count=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - address_families (
list
ofBgpAddressFamily
orNone
) – Address families of BGP neighbor This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - announced_capabilities (
list
ofstr
orNone
) – BGP capabilities sent to BGP neighbor. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - connection_drop_count (
long
orNone
) – Count of connection drop 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. - connection_state (
str
orNone
) –Possible values are:
PolicyBgpNeighborStatus.CONNECTION_STATE_INVALID
PolicyBgpNeighborStatus.CONNECTION_STATE_IDLE
PolicyBgpNeighborStatus.CONNECTION_STATE_CONNECT
PolicyBgpNeighborStatus.CONNECTION_STATE_ACTIVE
PolicyBgpNeighborStatus.CONNECTION_STATE_OPEN_SENT
PolicyBgpNeighborStatus.CONNECTION_STATE_OPEN_CONFIRM
PolicyBgpNeighborStatus.CONNECTION_STATE_ESTABLISHED
PolicyBgpNeighborStatus.CONNECTION_STATE_UNKNOWN
Current state of the BGP session.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- edge_path (
str
orNone
) – Transport node policy path - established_connection_count (
long
orNone
) – Count of connections established 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. - graceful_restart_mode (
str
orNone
) – Current state of graceful restart of BGP neighbor. Possible values are - 1. GR_AND_HELPER - Graceful restart with Helper 2. HELPER_ONLY - Helper only 3. DISABLE - Disabled This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - hold_time (
long
orNone
) – If a HELLO packet is not seen from BGP Peer withing hold_time then BGP neighbor will be marked as down. 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. - keep_alive_interval (
long
orNone
) – Time in ms to wait for HELLO packet from BGP peer 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_update_timestamp (
long
orNone
) – Timestamp when the data was last updated, unset if data source has never updated the data. 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. - local_port (
long
orNone
) – TCP port number of Local BGP connection 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. - messages_received (
long
orNone
) – Count of messages received from the neighbor 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. - messages_sent (
long
orNone
) – Count of messages sent to the neighbor 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. - negotiated_capability (
list
ofstr
orNone
) – BGP capabilities negotiated with BGP neighbor. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - neighbor_address (
str
orNone
) – The IP of the BGP neighbor format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - neighbor_router_id (
str
orNone
) – Router ID of the BGP neighbor. 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_as_number (
str
orNone
) – AS number of the BGP neighbor 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_port (
long
orNone
) – TCP port number of remote BGP Connection 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. - remote_site (
ResourceReference
orNone
) – Remote site details. - source_address (
str
orNone
) – The Ip address of logical port format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - tier0_path (
str
orNone
) – Policy path to Tier0 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - time_since_established (
long
orNone
) – Time(in milliseconds) since connection was established. 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. - total_in_prefix_count (
long
orNone
) – Sum of in prefixes counts across all address families. 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. - total_out_prefix_count (
long
orNone
) – Sum of out prefixes counts across all address families. 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.
-
CONNECTION_STATE_ACTIVE
= 'ACTIVE'¶
-
CONNECTION_STATE_CONNECT
= 'CONNECT'¶
-
CONNECTION_STATE_ESTABLISHED
= 'ESTABLISHED'¶
-
CONNECTION_STATE_IDLE
= 'IDLE'¶
-
CONNECTION_STATE_INVALID
= 'INVALID'¶
-
CONNECTION_STATE_OPEN_CONFIRM
= 'OPEN_CONFIRM'¶
-
CONNECTION_STATE_OPEN_SENT
= 'OPEN_SENT'¶
-
CONNECTION_STATE_UNKNOWN
= 'UNKNOWN'¶
- address_families (
-
class
com.vmware.nsx_policy.model_client.
PolicyBgpNeighborsStatusListResult
(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
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
ofPolicyBgpNeighborStatus
orNone
) – Status of BGP neighbors of the Tier0 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_policy.model_client.
PolicyCapacityDashboardUsage
(current_usage_count=None, current_usage_percentage=None, display_name=None, max_supported_count=None, usage_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
-
USAGE_TYPE_DHCP_IP_POOLS
= 'NUMBER_OF_DHCP_IP_POOLS'¶
-
USAGE_TYPE_EDGE_CLUSTERS
= 'NUMBER_OF_EDGE_CLUSTERS'¶
-
USAGE_TYPE_EDGE_NODES
= 'NUMBER_OF_EDGE_NODES'¶
-
USAGE_TYPE_FIREWALL_RULES
= 'NUMBER_OF_FIREWALL_RULES'¶
-
USAGE_TYPE_FIREWALL_SECTIONS
= 'NUMBER_OF_FIREWALL_SECTIONS'¶
-
USAGE_TYPE_GROUPS
= 'NUMBER_OF_GROUPS'¶
-
USAGE_TYPE_NAT_RULES
= 'NUMBER_OF_NAT_RULES'¶
-
USAGE_TYPE_PREFIX_LIST
= 'NUMBER_OF_PREFIX_LIST'¶
-
USAGE_TYPE_PREPARED_HOSTS
= 'NUMBER_OF_PREPARED_HOSTS'¶
-
USAGE_TYPE_PROTECTION_ENABLED_HOST
= 'NUMBER_OF_PROTECTION_ENABLED_HOST'¶
-
USAGE_TYPE_PROTECTION_ENABLED_VIRTUAL_MACHINES
= 'NUMBER_OF_PROTECTION_ENABLED_VIRTUAL_MACHINES'¶
-
USAGE_TYPE_SECURITY_POLICY
= 'NUMBER_OF_SECURITY_POLICY'¶
-
USAGE_TYPE_SECURITY_POLICY_RULES
= 'NUMBER_OF_SECURITY_POLICY_RULES'¶
-
USAGE_TYPE_SEGMENT
= 'NUMBER_OF_SEGMENT'¶
-
USAGE_TYPE_SEGMENT_PORT
= 'NUMBER_OF_SEGMENT_PORT'¶
-
USAGE_TYPE_TIER0_ROUTERS
= 'NUMBER_OF_TIER0_ROUTERS'¶
-
USAGE_TYPE_TIER1_ROUTERS
= 'NUMBER_OF_TIER1_ROUTERS'¶
-
USAGE_TYPE_TIER1_WITH_NAT_RULE
= 'NUMBER_OF_TIER1_WITH_NAT_RULE'¶
-
USAGE_TYPE_VSPHERE_CLUSTERS
= 'NUMBER_OF_VSPHERE_CLUSTERS'¶
-
-
class
com.vmware.nsx_policy.model_client.
PolicyCapacityUsageResponse
(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, capacity_usage=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
) – 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 - capacity_usage (
list
ofPolicyCapacityDashboardUsage
orNone
) – List of capacity usage for NSX Objects
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyComplianceStatus
(last_updated_time=None, non_compliant_configs=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - last_updated_time (
long
orNone
) – Timestamp of last update 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. - non_compliant_configs (
list
ofPolicyNonCompliantConfig
orNone
) – List of non compliant configuration and impacted services 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_updated_time (
-
class
com.vmware.nsx_policy.model_client.
PolicyConfigResource
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents an object on the desired state.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_policy.model_client.
PolicyContextProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, attributes=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
An entity that encapsulates attributes and sub-attributes of various network services (eg. L7 services, domain name, encryption algorithm) The entity will be consumed in firewall rules and can be added in new tuple called profile in firewall rules. To get a list of supported attributes and sub-attributes fire the following REST API GET https://<policy-mgr>/policy/api/v1/infra/context-profiles/attributes
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - attributes (
list
ofPolicyAttributes
orNone
) – Property containing attributes/sub-attributes for Policy Context Profile.
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyContextProfileListResult
(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 of PolicyContextProfiles
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
ofPolicyContextProfile
orNone
) – Paged collection of PolicyContextProfiles 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_policy.model_client.
PolicyDnsAnswerPerEnforcementPoint
(enforcement_point_path=None, resource_type='PolicyDnsAnswerPerEnforcementPoint')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DNS forwarder nslookup answer per enforcement point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - enforcement_point_path (
str
orNone
) – Policy path referencing the enforcement point from where the DNS forwarder nslookup answer is fetched. 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
) –Possible values are:
Resource type of the DNS forwarder nslookup answer.
-
RESOURCE_TYPE_NSXTDNSANSWER
= 'NsxTDnsAnswer'¶
-
resource_type
¶ Return the discriminator value
- enforcement_point_path (
-
class
com.vmware.nsx_policy.model_client.
PolicyDnsForwarder
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, conditional_forwarder_zone_paths=None, default_forwarder_zone_path=None, enabled=None, listener_ip=None, log_level=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Used to configure DNS Forwarder
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - conditional_forwarder_zone_paths (
list
ofstr
orNone
) – Max of 5 DNS servers can be configured - default_forwarder_zone_path (
str
orNone
) – This is the zone to which DNS requests are forwarded by default - enabled (
bool
orNone
) – The flag, which suggests whether the DNS forwarder is enabled or disabled. The default is True. - listener_ip (
str
orNone
) – This is the IP on which the DNS Forwarder listens. format: ipv4 - log_level (
str
orNone
) –Possible values are:
PolicyDnsForwarder.LOG_LEVEL_DEBUG
PolicyDnsForwarder.LOG_LEVEL_INFO
PolicyDnsForwarder.LOG_LEVEL_WARNING
PolicyDnsForwarder.LOG_LEVEL_ERROR
PolicyDnsForwarder.LOG_LEVEL_FATAL
Set log_level to DISABLED will stop dumping fowarder log.
-
LOG_LEVEL_DEBUG
= 'DEBUG'¶
-
LOG_LEVEL_ERROR
= 'ERROR'¶
-
LOG_LEVEL_FATAL
= 'FATAL'¶
-
LOG_LEVEL_INFO
= 'INFO'¶
-
LOG_LEVEL_WARNING
= 'WARNING'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyDnsForwarderZone
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, dns_domain_names=None, source_ip=None, upstream_servers=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Used to configure zones on DNS Forwarder
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - dns_domain_names (
list
ofstr
orNone
) – List of domain names on which conditional forwarding is based. This field is required if the DNS Zone is being used for a conditional forwarder. This field will also be used for conditional reverse lookup. Example 1, if for one of the zones, one of the entries in the fqdn is example.com, all the DNS requests under the domain example.com will be served by the corresponding upstream DNS server. Example 2, if for one of the zones, one of the entries in the fqdn list is “13.12.30.in-addr.arpa”, reverse lookup for 30.12.13.0/24 will go to the corresponding DNS server. - source_ip (
str
orNone
) – The source IP used by the DNS Forwarder zone. format: ipv4 - upstream_servers (
list
ofstr
orNone
) – Max of 3 DNS servers can be configured format: ipv4
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyDnsForwarderZoneListResult
(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
Paged Collection of DNS Forwarder Zones
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
ofPolicyDnsForwarderZone
orNone
) – Dns Forwarder Zone list results
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyDraft
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, is_auto_draft=None, lock_comments=None, lock_modified_by=None, lock_modified_time=None, locked=None, ref_draft_path=None, system_area=None, user_area=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A draft which stores the system generated as well as user intended changes in a hierarchical body format.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - is_auto_draft (
bool
orNone
) – Flag to indicate whether draft is auto created. True indicates that the draft is an auto draft. False indicates that the draft is a manual draft. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lock_comments (
str
orNone
) – Comments for a policy draft lock/unlock. - lock_modified_by (
str
orNone
) – ID of the user who last modified the lock for a policy draft. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lock_modified_time (
long
orNone
) – Policy draft locked/unlocked time in epoch milliseconds. format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - locked (
bool
orNone
) – Indicates whether a draft should be locked. If the draft is locked by an user, then no other user would be able to modify or publish this draft. Once the user releases the lock, other users can then modify or publish this draft. - ref_draft_path (
str
orNone
) – When specified, a manual draft will be created w.r.t. the specified draft. If not specified, manual draft will be created w.r.t. the current published configuration. For an auto draft, this will always be null. - system_area (
Infra
orNone
) – Configuration changes against the current configuration, tracked by the system. The value is stored in a hierarchical body format. - user_area (
Infra
orNone
) – These are user defined configuration changes, which are applicable only in case of manual drafts. During the publish of a draft, system_area changes gets applied first, and then these changes. The value must be in a hierarchical body format.
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyDraftListResult
(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
This holds the list of policy drafts.
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
ofPolicyDraft
orNone
) – Paginated list of policy drafts. 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_policy.model_client.
PolicyEdgeCluster
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, inter_site_forwarding_enabled=None, nsx_id=None, rtep_ips=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Edge Cluster.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - inter_site_forwarding_enabled (
bool
orNone
) – Flag to indicate status of inter site l2 and l3 forwarding in federation. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - nsx_id (
str
orNone
) – UUID of Edge Cluster on NSX-T enforcement point. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - rtep_ips (
list
ofstr
orNone
) – List of remote tunnel endpoint ipaddress configured on edge cluster. format: ip 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_policy.model_client.
PolicyEdgeClusterInterSiteBgpSummary
(edge_cluster_path=None, edge_nodes=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - edge_cluster_path (
str
orNone
) – Edge cluster path whose status is being reported. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - edge_nodes (
list
ofPolicyEdgeNodeInterSiteBgpSummary
orNone
) – Status of all edge nodes within cluster. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- edge_cluster_path (
-
class
com.vmware.nsx_policy.model_client.
PolicyEdgeClusterInterSiteStatus
(edge_cluster_name=None, edge_cluster_path=None, last_update_timestamp=None, member_status=None, overall_status=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - edge_cluster_name (
str
orNone
) – Name of the edge cluster whose status is being reported. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - edge_cluster_path (
str
orNone
) – Policy path of the edge cluster whose status is being reported. 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_update_timestamp (
long
orNone
) – Timestamp when the edge cluster inter-site status was last updated. 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. - member_status (
list
ofPolicyEdgeClusterMemberInterSiteStatus
orNone
) – Per edge node inter-site status. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overall_status (
str
orNone
) –Possible values are:
PolicyEdgeClusterInterSiteStatus.OVERALL_STATUS_UP
PolicyEdgeClusterInterSiteStatus.OVERALL_STATUS_DOWN
PolicyEdgeClusterInterSiteStatus.OVERALL_STATUS_DEGRADED
PolicyEdgeClusterInterSiteStatus.OVERALL_STATUS_UNKNOWN
Overall status of all edge nodes IBGP status in the edge cluster.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
OVERALL_STATUS_DEGRADED
= 'DEGRADED'¶
-
OVERALL_STATUS_DOWN
= 'DOWN'¶
-
OVERALL_STATUS_UNKNOWN
= 'UNKNOWN'¶
-
OVERALL_STATUS_UP
= 'UP'¶
- edge_cluster_name (
-
class
com.vmware.nsx_policy.model_client.
PolicyEdgeClusterListResult
(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
Paged Collection of Edge Cluster
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
ofPolicyEdgeCluster
orNone
) – Edge Cluster list result.
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyEdgeClusterMemberInterSiteStatus
(edge_node_path=None, established_bgp_sessions=None, neighbor_status=None, status=None, total_bgp_sessions=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - edge_node_path (
ResourceReference
orNone
) – Edge node details from where the status is being retrived. - established_bgp_sessions (
long
orNone
) – Total number of current established inter-site IBGP sessions. 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. - neighbor_status (
list
ofPolicyBgpNeighborStatus
orNone
) – Inter-site BGP neighbor status. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - status (
str
orNone
) –Possible values are:
PolicyEdgeClusterMemberInterSiteStatus.STATUS_UP
PolicyEdgeClusterMemberInterSiteStatus.STATUS_DOWN
PolicyEdgeClusterMemberInterSiteStatus.STATUS_DEGRADED
PolicyEdgeClusterMemberInterSiteStatus.STATUS_UNKNOWN
Edge node IBGP statusThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- total_bgp_sessions (
long
orNone
) – Total number of inter-site IBGP sessions. format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
STATUS_DEGRADED
= 'DEGRADED'¶
-
STATUS_DOWN
= 'DOWN'¶
-
STATUS_UNKNOWN
= 'UNKNOWN'¶
-
STATUS_UP
= 'UP'¶
- edge_node_path (
-
class
com.vmware.nsx_policy.model_client.
PolicyEdgeNode
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, member_index=None, nsx_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This object serves as a representation of the edge cluster index to which the edge node connects. It should not be mistaken for the edge / transport node itself. Consuming services can refer to the nsx_id property to fetch the UUID of the edge / transport node that is attached to this index.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - member_index (
long
orNone
) – The numerical value of the member index in the edge cluster that this object represents and to which the edge node connects. 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. - nsx_id (
str
orNone
) – UUID of edge node on NSX-T enforcement point. 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_policy.model_client.
PolicyEdgeNodeInterSiteBgpSummary
(edge_node_path=None, last_update_timestamp=None, neighbor_status=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - edge_node_path (
str
orNone
) – Edge node path whose status is being reported. 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_update_timestamp (
long
orNone
) – Timestamp when the inter-site IBGP neighbors status was last updated. 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. - neighbor_status (
list
ofPolicyBgpNeighborStatus
orNone
) – Status of all inter-site IBGP neighbors. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- edge_node_path (
-
class
com.vmware.nsx_policy.model_client.
PolicyEdgeNodeListResult
(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
Paged Collection of Edge Node
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
ofPolicyEdgeNode
orNone
) – Edge Node list result.
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyExcludeList
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, members=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
) – 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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - members (
list
ofstr
orNone
) – List of the members in the exclude list
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyFineTuningResourceInfo
(fields=None, resource_name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
It represent the resource with details of name and fields it owns.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - fields (
list
ofPolicyFineTuningResourceInfoDetail
orNone
) – List of all field of any resource - resource_name (
str
orNone
) – It will represent resource with name and fields.
- fields (
-
class
com.vmware.nsx_policy.model_client.
PolicyFineTuningResourceInfoDetail
(field_name=None, sub_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Contains the details of resource field
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - field_name (
str
orNone
) – It will represent resource with name and fields. - sub_type (
PolicyFineTuningResourceInfo
orNone
) – List of all field of any resource
- field_name (
-
class
com.vmware.nsx_policy.model_client.
PolicyFirewallCPUMemThresholdsProfileBindingMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, profile_path=None, sequence_number=None, transport_nodes=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This entity will be used to establish association between CPU Memory Thresholds Profile and Transport Node. Using this entity, user can specify intent for applying Firewall CPU Memory Thresholds Profile to particular Transport Node.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - profile_path (
str
orNone
) – PolicyPath of associated Profile - sequence_number (
long
orNone
) – Sequence number is used to resolve conflicts when two profiles get applied to a single node. Lower value gets higher precedence. Two binding maps having the same profile path should have the same sequence number. format: int64 - transport_nodes (
list
ofPolicyResourceReference
orNone
) – References of transport nodes on which the profile intended to be applied.
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyFirewallCPUMemThresholdsProfileBindingMapListResult
(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
Paged collection of Firewall CPU Memory Thresholds Profile Binding 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
ofPolicyFirewallCPUMemThresholdsProfileBindingMap
orNone
) – Firewall CPU Memory Thresholds Profile Binding Map list results
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyFirewallCpuMemThresholdsProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, cpu_threshold_percentage=None, mem_threshold_percentage=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A profile holding CPU and memory thresholds configuration.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - cpu_threshold_percentage (
long
orNone
) – CPU utilization thresholds percentage to monitor and report for distributed firewall. format: int64 - mem_threshold_percentage (
long
orNone
) – Heap memory thresholds percentage to monitor and report for distributed firewall. format: int64
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyFirewallCpuMemThresholdsProfileListResult
(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
Paged Collection of PolicyFirewallCpuMemThresholdsProfile
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
ofPolicyFirewallCpuMemThresholdsProfile
orNone
) – PolicyFirewallCpuMemThresholdsProfile list results
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyFirewallFloodProtectionProfileBindingMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, profile_path=None, sequence_number=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This entity will be used to establish association between Firewall Flood Protection profile and Group. Using this entity, user can specify intent for applying Firewall Flood Protection profile to particular Group.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - profile_path (
str
orNone
) – PolicyPath of associated Profile - sequence_number (
long
orNone
) – Sequence number is used to resolve conflicts when two profiles get applied to a single port. Lower value gets higher precedence. Two binding maps having the same profile path should have the same sequence number. format: int64
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyFirewallFloodProtectionProfileBindingMapListResult
(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
Paged collection of Firewall Flood Protection Profile Binding 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
ofPolicyFirewallFloodProtectionProfileBindingMap
orNone
) – Firewall Flood Protection Profile Binding Map list results
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyFirewallScheduler
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, days=None, end_date=None, end_time=None, recurring=None, start_date=None, start_time=None, time_interval=None, timezone=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
An entity that encapsulates attributes to schedule firewall rules to be active to allow or block traffic for a specific period of time. Note that at least one property out of “days”, “start_time”, “end_time”, “start_date”, “end_date” is required.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - days (
list
ofstr
orNone
) –Possible values are:
PolicyFirewallScheduler.DAYS_SUNDAY
PolicyFirewallScheduler.DAYS_MONDAY
PolicyFirewallScheduler.DAYS_TUESDAY
PolicyFirewallScheduler.DAYS_WEDNESDAY
PolicyFirewallScheduler.DAYS_THURSDAY
PolicyFirewallScheduler.DAYS_FRIDAY
PolicyFirewallScheduler.DAYS_SATURDAY
Days of week on which rules will be enforced. If property is omitted, then days of the week will not considered while calculating the firewall schedule. It should not be present when the recurring flag is false.
- end_date (
str
orNone
) – End date on which schedule to end. Example, 12/22/2019. - end_time (
str
orNone
) – If recurring field is set false, then this field must be present. The schedule will be enforced till the end time of the specified end date. If recurring field is set true, then this field should not be present. - recurring (
bool
orNone
) – Flag to indicate whether firewall schedule recurs or not. The default value is true and it should be set to false when the firewall schedule does not recur and is a one time time interval. - start_date (
str
orNone
) – Start date on which schedule to start. Example, 02/22/2019. - start_time (
str
orNone
) – Time in 24 hour and minutes in multiple of 30. Example, 9:00. If recurring field is set false, then this field must be present. The schedule will start getting enforced from the start time of the specified start date. If recurring field is set true, then this field should not be present. - time_interval (
list
ofPolicyTimeIntervalValue
orNone
) – The recurring time interval in a day during which the schedule will be applicable. It should not be present when the recurring flag is false. - timezone (
str
orNone
) –Possible values are:
Host Timezone to be used to enforce firewall rules.
-
DAYS_FRIDAY
= 'FRIDAY'¶
-
DAYS_MONDAY
= 'MONDAY'¶
-
DAYS_SATURDAY
= 'SATURDAY'¶
-
DAYS_SUNDAY
= 'SUNDAY'¶
-
DAYS_THURSDAY
= 'THURSDAY'¶
-
DAYS_TUESDAY
= 'TUESDAY'¶
-
DAYS_WEDNESDAY
= 'WEDNESDAY'¶
-
TIMEZONE_LOCAL
= 'LOCAL'¶
-
TIMEZONE_UTC
= 'UTC'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyFirewallSchedulerListResult
(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 of PolicyFirewallSchedulers
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
ofPolicyFirewallScheduler
orNone
) – Paged collection of PolicyFirewallSchedulers 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_policy.model_client.
PolicyFirewallSessionTimerProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, icmp_error_reply=None, icmp_first_packet=None, tcp_closed=None, tcp_closing=None, tcp_established=None, tcp_finwait=None, tcp_first_packet=None, tcp_opening=None, udp_first_packet=None, udp_multiple=None, udp_single=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A profile holding TCP, UDP and ICMP session timeout configuration.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - icmp_error_reply (
long
orNone
) – The timeout value for the connection after an ICMP error came back in response to an ICMP packet. The default value for Edges (i.e, Gateway, or Logical Router) may be different than Distributed Firewall hosts. format: int64 - icmp_first_packet (
long
orNone
) – The timeout value of connection in seconds after the first packet. This will be the initial timeout for the new ICMP flow. The default value for Edges (i.e, Gateway, or Logical Router) may be different than Distributed Firewall hosts. format: int64 - tcp_closed (
long
orNone
) – The timeout value of connection in seconds after one endpoint sends an RST. The default value for Edges (i.e, Gateway, or Logical Router) may be different than Distributed Firewall hosts. format: int64 - tcp_closing (
long
orNone
) – The timeout value of connection in seconds after the first FIN has been sent. The default value for Edges (i.e, Gateway, or Logical Router) may be different than Distributed Firewall hosts. format: int64 - tcp_established (
long
orNone
) – The timeout value of connection in seconds once the connection has become fully established. The default value for Edges (i.e, Gateway,or Logical Router) may be different than Distributed Firewall hosts. format: int64 - tcp_finwait (
long
orNone
) – The timeout value of connection in seconds after both FINs have been exchanged and connection is closed. The default value for Edges (i.e, Gateway, or Logical Router) may be different than Distributed Firewall hosts. format: int64 - tcp_first_packet (
long
orNone
) – The timeout value of connection in seconds after the first packet has been sent. The default value for Edges (i.e, Gateway, or Logical Router) may be different than Distributed Firewall hosts. format: int64 - tcp_opening (
long
orNone
) – The timeout value of connection in seconds after a second packet has been transferred. The default value for Edges (i.e, Gateway, or Logical Router) may be different than Distributed Firewall hosts. format: int64 - udp_first_packet (
long
orNone
) – The timeout value of connection in seconds after the first packet. This will be the initial timeout for the new UDP flow. The default value for Edges (i.e, Gateway, or Logical Router) may be different than Distributed Firewall hosts. format: int64 - udp_multiple (
long
orNone
) – The timeout value of connection in seconds if both hosts have sent packets. The default value for Edges (i.e, Gateway, or Logical Router) may be different than Distributed Firewall hosts. format: int64 - udp_single (
long
orNone
) – The timeout value of connection in seconds if the source host sends more than one packet but the destination host has never sent one back. The default value for Edges (i.e, Gateway, or Logical Router) may be different than Distributed Firewall hosts. format: int64
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyFirewallSessionTimerProfileBindingMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, firewall_session_timer_profile_path=None, sequence_number=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This entity will be used to establish association between Firewall Timer session profile and Group. Using this entity, user can specify intent for applying Firewall Timer session profile to particular Group.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - firewall_session_timer_profile_path (
str
orNone
) – PolicyPath of associated Firewall Timer Session Profile - sequence_number (
long
orNone
) – Sequence number is used to resolve conflicts when two profiles get applied to a single port. Lower value gets higher precedence. Two binding maps having the same profile path should have the same sequence number. format: int64
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyFirewallSessionTimerProfileBindingMapListResult
(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
Paged collection of Firewall Session Timer Profile Binding 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
ofPolicyFirewallSessionTimerProfileBindingMap
orNone
) – Firewall Session Timer Profile Binding Map list results
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyFirewallSessionTimerProfileListResult
(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
Paged Collection of Policy Firewall Session timeout profiles
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
ofPolicyFirewallSessionTimerProfile
orNone
) – Policy Firewall Session timeout profile list results
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyGroupIPMembersListResult
(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
Paginated collection of IP members belonging to a Group.
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
ofstr
orNone
) – Paged Collection of IP addresses that belong to the given Group format: address-or-block-or-range
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyGroupMemberDetails
(display_name=None, id=None, path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Details of the member belonging to a Group
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - display_name (
str
orNone
) – The display name of the member on the enforcement point 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
) – The ID of the member on the enforcement point 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
) – The path of the member, if relevant 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_policy.model_client.
PolicyGroupMembersListResult
(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
Paginated collection of members belonging to a Group.
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
ofPolicyGroupMemberDetails
orNone
) – Paged Collection of members that belong to the given Group
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyGroupReference
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, refs=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Placeholder to reference group entity.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - refs (
list
ofstr
orNone
) – Policy entity paths referred by the group instance
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyIPAddressInfo
(address_value=None, display_name=None, next_hop=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Used to specify the display name and value of the IPv4Address.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - address_value (
str
orNone
) – Value of the IPv4Address. format: ipv4 - display_name (
str
orNone
) – Display name used to help identify the IPv4Address. - next_hop (
str
orNone
) – Next hop used in auto-plumbing of static route. If a value is not provided, static route will not be auto-plumbed. format: ipv4
- address_value (
-
class
com.vmware.nsx_policy.model_client.
PolicyIgmpProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, last_member_query_interval=None, query_interval=None, query_max_response_time=None, robustness_variable=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IGMP profile.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_member_query_interval (
long
orNone
) – Max Response Time inserted into Group-Specific Queries sent in response to Leave Group messages, and is also the amount of time between Group-Specific Query messages. This value may be tuned to modify the “leave latency” of the network. A reduced value results in reduced time to detect the loss of the last member of a group. format: int32 - query_interval (
long
orNone
) – Interval(seconds) between general IGMP host-query messages. format: int32 - query_max_response_time (
long
orNone
) – The query response interval(seconds) is the maximum amount of time that can elapse between when the querier router sends a host-query message and when it receives a response from a host. Configuring this interval allows admins to adjust the burstiness of IGMP messages on the subnet; larger values make the traffic less bursty, as host responses are spread out over a larger interval. The number of seconds represented by the query_max_response_time must be less than the query_interval. format: int32 - robustness_variable (
long
orNone
) – The Robustness Variable allows tuning for the expected packet loss on a subnet. If a subnet is expected to be lossy, the Robustness Variable may be increased. IGMP is robust to (Robustness Variable-1) packet losses. The Robustness Variable must not be zero, and SHOULD NOT be one. format: int32
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyIgmpProfileListResult
(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
Collection of Igmp Profile.
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
ofPolicyIgmpProfile
orNone
) – Igmp Profile list results
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyInsertParameters
(anchor_path=None, operation=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Parameters to let the admin specify a relative position of a security policy or rule w.r.t to another one.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - anchor_path (
str
orNone
) – The security policy/rule path if operation is ‘insert_after’ or ‘insert_before’ - operation (
str
orNone
) –Possible values are:
PolicyInsertParameters.OPERATION_TOP
PolicyInsertParameters.OPERATION_BOTTOM
PolicyInsertParameters.OPERATION_AFTER
PolicyInsertParameters.OPERATION_BEFORE
Operation
-
OPERATION_AFTER
= 'insert_after'¶
-
OPERATION_BEFORE
= 'insert_before'¶
-
OPERATION_BOTTOM
= 'insert_bottom'¶
-
OPERATION_TOP
= 'insert_top'¶
- anchor_path (
-
class
com.vmware.nsx_policy.model_client.
PolicyInterfaceStatistics
(logical_router_port_id=None, per_node_statistics=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tier0 or Tier1 interface statistics on specific Enforcement Point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - logical_router_port_id (
str
orNone
) – The ID of the logical router port - per_node_statistics (
list
ofLogicalRouterPortStatisticsPerNode
orNone
) – Per Node Statistics This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- logical_router_port_id (
-
class
com.vmware.nsx_policy.model_client.
PolicyInterfaceStatisticsSummary
(last_update_timestamp=None, rx=None, tx=None, logical_router_port_id=None, interface_policy_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tier0 or Tier1 interface statistics on specific Enforcement Point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - last_update_timestamp (
long
orNone
) – Timestamp when the data was last updated; unset if data source has never updated the data. format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - rx (
LogicalRouterPortCounters
orNone
) – - tx (
LogicalRouterPortCounters
orNone
) – - logical_router_port_id (
str
orNone
) – The ID of the logical router port - interface_policy_path (
str
orNone
) – Policy path for the interface
- last_update_timestamp (
-
class
com.vmware.nsx_policy.model_client.
PolicyLabel
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, refs=None, type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Label to reference group of policy entities of same type.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - refs (
list
ofstr
orNone
) – Policy entity paths referred by the label instance - type (
str
orNone
) – Policy intent entity type from PolicyResourceType
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyLabelListResult
(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
Paged Collection of Domains
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
ofPolicyLabel
orNone
) – Policy label list results
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyLbMonitorProfile
(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='PolicyLbMonitorProfile', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, fall_count=None, interval=None, monitor_port=None, rise_count=None, timeout=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
All the types of PolicyLbMonitorProfile extend from this abstract class. This is present for extensibility.
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
) –Possible values are:
PolicyLbMonitorProfile.RESOURCE_TYPE_TCPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_UDPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_ICMPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_HTTPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_HTTPSPOLICYLBMONITORPROFILE
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - fall_count (
long
orNone
) – Only if a healthcheck fails consecutively for a specified number of times, given with fall_count, to a member will the member status be marked DOWN. format: int64 - interval (
long
orNone
) – Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group. format: int64 - monitor_port (
long
orNone
) – Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value. format: int32 - rise_count (
long
orNone
) – Once a member is DOWN, a specified number of consecutive successful healthchecks specified by rise_count will bring the member back to UP state. format: int64 - timeout (
long
orNone
) – Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout. format: int64
-
RESOURCE_TYPE_HTTPPOLICYLBMONITORPROFILE
= 'HttpPolicyLbMonitorProfile'¶
-
RESOURCE_TYPE_HTTPSPOLICYLBMONITORPROFILE
= 'HttpsPolicyLbMonitorProfile'¶
-
RESOURCE_TYPE_ICMPPOLICYLBMONITORPROFILE
= 'IcmpPolicyLbMonitorProfile'¶
-
RESOURCE_TYPE_TCPPOLICYLBMONITORPROFILE
= 'TcpPolicyLbMonitorProfile'¶
-
RESOURCE_TYPE_UDPPOLICYLBMONITORPROFILE
= 'UdpPolicyLbMonitorProfile'¶
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyLbPersistenceProfile
(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='PolicyLbPersistenceProfile', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Some applications maintain state and require all relevant connections to be sent to the same server as the application state is not synchronized among servers. Persistence is enabled on a PolicyLbVirtualServer by binding a persistence profile to it.
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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_CUSTOMPOLICYLBPERSISTENCEPROFILE
= 'CustomPolicyLbPersistenceProfile'¶
-
RESOURCE_TYPE_L4POLICYLBPERSISTENCEPROFILE
= 'L4PolicyLbPersistenceProfile'¶
-
RESOURCE_TYPE_L7POLICYLBPERSISTENCEPROFILE
= 'L7PolicyLbPersistenceProfile'¶
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyLbPoolAccess
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, algorithm=None, ip_port_list=None, lb_monitor_profile=None, pool_port=None, source_nat=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Defining access of a Group from a PolicyLbVirtualServer and binding to PolicyLbMonitorProfile.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - algorithm (
str
orNone
) –Possible values are:
Load balanding algorithm controls how the incoming connections are distributed among the members. - ROUND_ROBIN - requests to the application servers are distributed in a round-robin fashion, - LEAST_CONNECTION - next request is assigned to the server with the least number of active connections
- ip_port_list (
list
ofIPAddressPortPair
orNone
) – IP Port list for applications within the Group to allow for non-uniform port usage by applications - lb_monitor_profile (
str
orNone
) – Path of the PolicyLbMonitorProfile to actively monitor the PolicyLbPoolAccess’s Group - pool_port (
long
orNone
) – Port for LoadBalancer to send connections to the PolicyLbPoolAccess’s Group. Pool_port could be optional, if it is not specified, LB will use PolicyLbVirtualServer port to connect to backend servers. If the PolicyLbMonitorProfile is configured in PolicyLbPoolAccess and active monitor IP protocol is TCP/UDP(which requires TCP or UDP port number), monitor_port should be specified if pool_port is unset. format: int32 - source_nat (
str
orNone
) –Possible values are:
Depending on the topology, Source NAT (SNAT) may be required to ensure traffic from the server destined to the client is received by the load balancer. SNAT can be enabled per pool. If SNAT is not enabled for a pool, then load balancer uses the client IP and port (spoofing) while establishing connections to the servers. This is referred to as no-SNAT or TRANSPARENT mode. SNAT is enabled by default and will use the load balancer interface IP and an ephemeral port as the source IP and port of the server side connection.
-
ALGORITHM_LEAST_CONNECTION
= 'LEAST_CONNECTION'¶
-
ALGORITHM_ROUND_ROBIN
= 'ROUND_ROBIN'¶
-
SOURCE_NAT_DISABLED
= 'DISABLED'¶
-
SOURCE_NAT_ENABLED
= 'ENABLED'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyLbRule
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, host_match=None, lb_virtual_server=None, match_strategy=None, path_match=None, sequence_number=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Binding of a LbPoolAccess and Group to a PolicyLbVirtualServer used to route application traffic passing through load balancers. PolicyLbRule uses match conditions to match application traffic passing through a PolicyLbVirtualServer using HTTP or HTTPS. Can bind multiple PolicyLbVirtualServers to a Group. Each PolicyLbRule consists of two optional match conditions, each match contidion defines a criterion for application traffic. If no match conditions are specified, then the PolicyLbRule will always match and it is used typically to define default rules. If more than one match condition is specified, then matching strategy determines if all conditions should match or any one condition should match for the PolicyLbRule to be considered a match. A match indicates that the PolicyLbVirtualServer should route the request to the Group (parent of PolicyLbRule).
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - host_match (
str
orNone
) – This condition is used to match HTTP request messages by the specific HTTP header field, Host. The Host request header specifies the domain name of the server. The supplied Host HTTP header match condition will be matched as a regular expression. The regular expressions in load balancer rules use the features common to both Java regular expressions and Perl Compatible Regular Expressions (PCREs) with some restrictions. Reference http://www.pcre .org for PCRE and the NSX-T Administrator’s Guide for the restrictions. Please note, when regular expressions are used in JSON (JavaScript Object Notation) string, every backslash character () needs to be escaped by one additional backslash character. - lb_virtual_server (
str
orNone
) – The path of PolicyLbVirtualServer to bind to this PolicyLbRule and its Group - match_strategy (
str
orNone
) –Possible values are:
If more than one match condition is specified, then matching strategy determines if all conditions should match or any one condition should match for the LB Rule to be considered a match. - ALL indicates that both host_match and path_match must match for this PolicyLbRule to be considered a match - ANY indicates that either host_match or patch match may match for this PolicyLbRule to be considered a match
- path_match (
str
orNone
) – This condition is used to match URIs(Uniform Resource Identifier) of HTTP request messages. The URI field can be specified as a regluar expression. If an HTTP request message is requesting an URI which matches specified regular expression, it matches the condition. The syntax of whole URI looks like this: scheme:[//[user[:password]\@]host[:port]][/path][?query][#fragment] This condition matches only the path part of entire URI. The path_match field is used as a regular expression to match URI path of HTTP requests. For example, to match any URI that has “/image/” or “/images/”, uri field can be specified as: “/image[s]?/”. The regular expressions in load balancer rules use the features common to both Java regular expressions and Perl Compatible Regular Expressions (PCREs) with some restrictions. Reference http://www.pcre .org for PCRE and the NSX-T Administrator’s Guide for the restrictions. Please note, when regular expressions are used in JSON (JavaScript Object Notation) string, every backslash character () needs to be escaped by one additional backslash character. - sequence_number (
long
orNone
) – This field is used to resolve conflicts between multiple PolicyLbRules associated with a single PolicyLbVirtualServer and will be applied numerically or low to high format: int32
-
MATCH_STRATEGY_ALL
= 'ALL'¶
-
MATCH_STRATEGY_ANY
= 'ANY'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyLbVirtualServer
(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='PolicyLbVirtualServer', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, access_log_enabled=None, ip_address=None, lb_persistence_profile=None, ports=None, router_path=None, traffic_source=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
All the types of PolicyLbVirtualServer extend from this abstract class. This is present for extensibility.
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
) –Possible values are:
PolicyLbVirtualServer.RESOURCE_TYPE_TCPPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_UDPPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_HTTPPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_HTTPSPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_CUSTOMPOLICYLBVIRTUALSERVER
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - access_log_enabled (
bool
orNone
) – If access log is enabled, all HTTP requests sent to an L7 virtual server are logged to the access log file. Both successful requests (backend server returns 2xx) and unsuccessful requests (backend server returns 4xx or 5xx) are logged to access log, if enabled. - ip_address (
str
orNone
) – Configures the IP address of the PolicyLbVirtualServer where it receives all client connections and distributes them among the backend servers. format: ip - lb_persistence_profile (
str
orNone
) – Path to optional object that enables persistence on a virtual server allowing related client connections to be sent to the same backend server. Persistence is disabled by default. - ports (
list
ofstr
orNone
) – Ports contains a list of at least one port or port range such as “80”, “1234-1236”. Each port element in the list should be a single port or a single port range. format: port-or-range - router_path (
str
orNone
) – Path to router type object that PolicyLbVirtualServer connects to. The only supported router object is Network. - traffic_source (
str
orNone
) –
-
RESOURCE_TYPE_CUSTOMPOLICYLBVIRTUALSERVER
= 'CustomPolicyLbVirtualServer'¶
-
RESOURCE_TYPE_HTTPPOLICYLBVIRTUALSERVER
= 'HttpPolicyLbVirtualServer'¶
-
RESOURCE_TYPE_HTTPSPOLICYLBVIRTUALSERVER
= 'HttpsPolicyLbVirtualServer'¶
-
RESOURCE_TYPE_TCPPOLICYLBVIRTUALSERVER
= 'TcpPolicyLbVirtualServer'¶
-
RESOURCE_TYPE_UDPPOLICYLBVIRTUALSERVER
= 'UdpPolicyLbVirtualServer'¶
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyListResult
(links=None, schema=None, self_=None, cursor=None, result_count=None, sort_ascending=None, sort_by=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Paged Collection of security policies
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_policy.model_client.
PolicyMulticastConfig
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, enabled=None, igmp_profile_path=None, pim_profile_path=None, replication_multicast_range=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Multicast routing configuration.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
) – Enable/disable Multicast Configuration. - igmp_profile_path (
str
orNone
) – Updates to IGMP profile applied on all Tier0 gateways consuming the configuration. - pim_profile_path (
str
orNone
) – Updates to PIM profile applied on all Tier0 gateways consuming the configuration. - replication_multicast_range (
str
orNone
) – Replication multicast range. Required when enabled. format: ipv4-cidr-block
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyMulticastForwarding
(gateway_path=None, mcast_forwarding_per_edge=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Multicast Forwarding.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - gateway_path (
str
orNone
) – Policy path to Tier0 gateway. - mcast_forwarding_per_edge (
list
ofMulticastForwardingPerEdge
orNone
) –
- gateway_path (
-
class
com.vmware.nsx_policy.model_client.
PolicyMulticastForwardingInCsvFormat
(file_name=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
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
ofMulticastForwardingCsvRecord
orNone
) –
- file_name (
-
class
com.vmware.nsx_policy.model_client.
PolicyMulticastRoutes
(gateway_path=None, mcast_routes_per_edge=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Multicast Routes.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - gateway_path (
str
orNone
) – Policy path to Tier0 gateway. - mcast_routes_per_edge (
list
ofMulticastRoutesPerEdge
orNone
) –
- gateway_path (
-
class
com.vmware.nsx_policy.model_client.
PolicyMulticastRoutesInCsvFormat
(file_name=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
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
ofMulticastRouteCsvRecord
orNone
) –
- file_name (
-
class
com.vmware.nsx_policy.model_client.
PolicyNATRuleCounters
(active_sessions=None, total_bytes=None, total_packets=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Gives the statistics count of a NAT rule.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - active_sessions (
long
orNone
) – Gives the total number of active sessions. 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. - total_bytes (
long
orNone
) – Gives the total number of bytes. 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. - total_packets (
long
orNone
) – Gives the total number of packets. 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.
- active_sessions (
-
class
com.vmware.nsx_policy.model_client.
PolicyNat
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, nat_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents NAT section. This object is created by default when corresponding tier-0/tier-1 is created. Under tier-0/tier-1 there will be 4 different NATs(sections). (INTERNAL, USER, DEFAULT and NAT64).
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - nat_type (
str
orNone
) –Possible values are:
PolicyNat.NAT_TYPE_INTERNAL
PolicyNat.NAT_TYPE_USER
PolicyNat.NAT_TYPE_DEFAULT
PolicyNat.NAT_TYPE_NAT64
Represents a NAT section under tier-0/tier-1.
-
NAT_TYPE_DEFAULT
= 'DEFAULT'¶
-
NAT_TYPE_INTERNAL
= 'INTERNAL'¶
-
NAT_TYPE_NAT64
= 'NAT64'¶
-
NAT_TYPE_USER
= 'USER'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyNatRule
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, action=None, destination_network=None, enabled=None, firewall_match=None, logging=None, scope=None, sequence_number=None, service=None, source_network=None, translated_network=None, translated_ports=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents a NAT rule between source and destination at T0/T1 router.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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 (
str
orNone
) –Possible values are:
PolicyNatRule.ACTION_SNAT
PolicyNatRule.ACTION_DNAT
PolicyNatRule.ACTION_REFLEXIVE
PolicyNatRule.ACTION_NO_SNAT
PolicyNatRule.ACTION_NO_DNAT
PolicyNatRule.ACTION_NAT64
Source NAT(SNAT) - translates a source IP address in an outbound packet so that the packet appears to originate from a different network. SNAT is only supported when the logical router is running in active-standby mode. Destination NAT(DNAT) - translates the destination IP address of inbound packets so that packets are delivered to a target address into another network. DNAT is only supported when the logical router is running in active-standby mode. Reflexive NAT(REFLEXIVE) - IP-Range and CIDR are supported to define the “n”. The number of original networks should be exactly the same as that of translated networks. The address translation is deterministic. Reflexive is supported on both Active/Standby and Active/Active LR. NO_SNAT and NO_DNAT - These do not have support for translated_fields, only source_network and destination_network fields are supported. NAT64 - translates an external IPv6 address to a internal IPv4 address.
- destination_network (
str
orNone
) – This supports single IP address or comma separated list of single IP addresses or CIDR. This does not support IP range or IP sets. For DNAT and NO_DNAT rules, this is a mandatory field, and represents the destination network for the incoming packets. For other type of rules, optionally it can contain destination network of outgoing packets. NULL value for this field represents ANY network. format: list-of-address-or-block-or-range - enabled (
bool
orNone
) – The flag, which suggests whether the NAT rule is enabled or disabled. The default is True. - firewall_match (
str
orNone
) –Possible values are:
PolicyNatRule.FIREWALL_MATCH_MATCH_EXTERNAL_ADDRESS
PolicyNatRule.FIREWALL_MATCH_MATCH_INTERNAL_ADDRESS
PolicyNatRule.FIREWALL_MATCH_BYPASS
It indicates how the firewall matches the address after NATing if firewall stage is not skipped. MATCH_EXTERNAL_ADDRESS indicates the firewall will be applied to external address of a NAT rule. For SNAT, the external address is the translated source address after NAT is done. For DNAT, the external address is the original destination address before NAT is done. For REFLEXIVE, to egress traffic, the firewall will be applied to the translated source address after NAT is done; To ingress traffic, the firewall will be applied to the original destination address before NAT is done. MATCH_INTERNAL_ADDRESS indicates the firewall will be applied to internal address of a NAT rule. For SNAT, the internal address is the original source address before NAT is done. For DNAT, the internal address is the translated destination address after NAT is done. For REFLEXIVE, to egress traffic, the firewall will be applied to the original source address before NAT is done; To ingress traffic, the firewall will be applied to the translated destination address after NAT is done. BYPASS indicates the firewall stage will be skipped. For NO_SNAT or NO_DNAT, it must be BYPASS or leave it unassigned
- logging (
bool
orNone
) – The flag, which suggests whether the logging of NAT rule is enabled or disabled. The default is False. - scope (
list
ofstr
orNone
) – Represents the array of policy paths of ProviderInterface or NetworkInterface or labels of type ProviderInterface or NetworkInterface on which the NAT rule should get enforced. The interfaces must belong to the same router for which the NAT Rule is created. - sequence_number (
long
orNone
) – The sequence_number decides the rule_priority of a NAT rule. Sequence_number and rule_priority have 1:1 mapping.For each NAT section, there will be reserved rule_priority numbers.The valid range of rule_priority number is from 0 to 2147483647(MAX_INT). 1. INTERNAL section rule_priority reserved from 0 - 1023 (1024 rules) valid sequence_number range 0 - 1023 2. USER section rule_priority reserved from 1024 - 2147482623 (2147481600 rules) valid sequence_number range 0 - 2147481599 3. DEFAULT section rule_priority reserved from 2147482624 - 2147483647 (1024 rules) valid sequence_number range 0 - 1023 format: int32 - service (
str
orNone
) – It represents the path of Service on which the NAT rule will be applied. If not provided or if it is blank then Policy manager will consider it as ANY. Please note, if this is a DNAT, the destination_port of the service will be realized on NSX Manager as the translated_port. And if this is a SNAT, the destination_port will be ignored. - source_network (
str
orNone
) – This supports single IP address or comma separated list of single IP addresses or CIDR. This does not support IP range or IP sets. For SNAT, NO_SNAT, NAT64 and REFLEXIVE rules, this is a mandatory field and represents the source network of the packets leaving the network. For DNAT and NO_DNAT rules, optionally it can contain source network of incoming packets. NULL value for this field represents ANY network. format: list-of-address-or-block-or-range - translated_network (
str
orNone
) – This supports single IP address or comma separated list of single IP addresses or CIDR. This does not support IP range or IP sets. For SNAT, DNAT, NAT64 and REFLEXIVE rules, this ia a mandatory field, which represents the translated network address. For NO_SNAT and NO_DNAT this should be empty. format: list-of-address-or-block-or-range - translated_ports (
str
orNone
) – Please note, if there is service configured in this NAT rule, the translated_port will be realized on NSX Manager as the destination_port. If there is no sevice configured, the port will be ignored. format: port-or-range
-
ACTION_DNAT
= 'DNAT'¶
-
ACTION_NAT64
= 'NAT64'¶
-
ACTION_NO_DNAT
= 'NO_DNAT'¶
-
ACTION_NO_SNAT
= 'NO_SNAT'¶
-
ACTION_REFLEXIVE
= 'REFLEXIVE'¶
-
ACTION_SNAT
= 'SNAT'¶
-
FIREWALL_MATCH_BYPASS
= 'BYPASS'¶
-
FIREWALL_MATCH_MATCH_EXTERNAL_ADDRESS
= 'MATCH_EXTERNAL_ADDRESS'¶
-
FIREWALL_MATCH_MATCH_INTERNAL_ADDRESS
= 'MATCH_INTERNAL_ADDRESS'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyNatRuleListResult
(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
Paged Collection of NAT Rules
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
ofPolicyNatRule
orNone
) – NAT Rules list results
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyNatRuleStatistics
(active_sessions=None, total_bytes=None, total_packets=None, last_update_timestamp=None, warning_message=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Gives the Statistics of a NAT rule.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - active_sessions (
long
orNone
) – Gives the total number of active sessions. 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. - total_bytes (
long
orNone
) – Gives the total number of bytes. 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. - total_packets (
long
orNone
) – Gives the total number of packets. 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_update_timestamp (
long
orNone
) – Timestamp when the data was last updated. 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. - warning_message (
str
orNone
) – The warning message about the NAT Rule Statistics. 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_sessions (
-
class
com.vmware.nsx_policy.model_client.
PolicyNatRuleStatisticsListResult
(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
Gives the collection of NAT rule statistics per enforcement point.
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
ofPolicyNatRuleStatisticsPerEnforcementPoint
orNone
) – NAT rules statistics per enforcement point
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyNatRuleStatisticsPerEnforcementPoint
(enforcement_point_path=None, rule_path=None, rule_statistics=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Gives the statistics of a NAT rule per enforcement point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point from where the statistics are fetched. - rule_path (
str
orNone
) – Path of NAT Rule. - rule_statistics (
list
ofPolicyNatRuleStatistics
orNone
) – Gives NAT rule stats on an enforcement point. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- enforcement_point_path (
-
class
com.vmware.nsx_policy.model_client.
PolicyNatRuleStatisticsPerLogicalRouter
(enforcement_point_path=None, last_update_timestamp=None, per_node_statistics=None, router_path=None, statistics=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Gives the statistics of a NAT rule per logical router on specified enforcement point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point from where the statistics are fetched. - last_update_timestamp (
long
orNone
) – Timestamp when the data was last updated. 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. - per_node_statistics (
list
ofPolicyNatRuleStatisticsPerTransportNode
orNone
) – Detailed Rule statistics per logical router. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - router_path (
str
orNone
) – Path of the router. - statistics (
PolicyNATRuleCounters
orNone
) – Rolled up statistics for all rules on the logical router.
- enforcement_point_path (
-
class
com.vmware.nsx_policy.model_client.
PolicyNatRuleStatisticsPerLogicalRouterListResult
(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
Gives the collection of NAT rule statistics per logical router on specified enforcement point.
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
ofPolicyNatRuleStatisticsPerLogicalRouter
orNone
) – NAT rules statistics per logical router
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyNatRuleStatisticsPerTransportNode
(active_sessions=None, total_bytes=None, total_packets=None, last_update_timestamp=None, transport_node_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Gives the Statistics of a NAT rule.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - active_sessions (
long
orNone
) – Gives the total number of active sessions. 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. - total_bytes (
long
orNone
) – Gives the total number of bytes. 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. - total_packets (
long
orNone
) – Gives the total number of packets. 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_update_timestamp (
long
orNone
) – Timestamp when the data was last updated. 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. - transport_node_path (
str
orNone
) – Policy path of the Edge Node. 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_sessions (
-
class
com.vmware.nsx_policy.model_client.
PolicyNonCompliantConfig
(affected_resources=None, description=None, non_compliance_code=None, reported_by=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - affected_resources (
list
ofPolicyResourceReference
orNone
) – Resources/Services impacted by non compliant configuration 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
) – Detail description of non compliant configuration with suggestive 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. - non_compliance_code (
long
orNone
) – Code for non compliant configuration 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. - reported_by (
PolicyResourceReference
orNone
) – Id and name of non compliant resource/service
- affected_resources (
-
class
com.vmware.nsx_policy.model_client.
PolicyPimProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, rp_address=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
PIM profile.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - rp_address (
str
orNone
) – Static IPv4 multicast address configuration. format: ip
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyPimProfileListResult
(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
Collection of Pim Profile.
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
ofPolicyPimProfile
orNone
) – PIM Profile list results.
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyRealizedResource
(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, parent_path=None, path=None, relative_path=None, unique_id=None, alarms=None, intent_reference=None, realization_api=None, realization_specific_identifier=None, runtime_error=None, runtime_status=None, state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Abstract base class for all the realized policy 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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarms (
list
ofPolicyAlarmResource
orNone
) – Alarm info detail - intent_reference (
list
ofstr
orNone
) – Desire state paths of this object - realization_api (
str
orNone
) – Realization API of this object on enforcement point - realization_specific_identifier (
str
orNone
) – Realization id of this object - runtime_error (
str
orNone
) – It define the root cause for runtime error. - runtime_status (
str
orNone
) – Possible values could be UP, DOWN, UNKNOWN, DEGRADED This list is not exhaustive. - state (
str
orNone
) –Possible values are:
PolicyRealizedResource.STATE_UNAVAILABLE
PolicyRealizedResource.STATE_UNREALIZED
PolicyRealizedResource.STATE_REALIZED
PolicyRealizedResource.STATE_ERROR
Realization state of this object
-
STATE_ERROR
= 'ERROR'¶
-
STATE_REALIZED
= 'REALIZED'¶
-
STATE_UNAVAILABLE
= 'UNAVAILABLE'¶
-
STATE_UNREALIZED
= 'UNREALIZED'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyRelatedApiError
(details=None, error_code=None, error_data=None, error_message=None, module_name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Detailed information about errors from API call to an enforcement point
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_policy.model_client.
PolicyResource
(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, parent_path=None, path=None, relative_path=None, unique_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Abstract base class for all the policy 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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. 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_policy.model_client.
PolicyResourceReference
(is_valid=None, target_display_name=None, target_id=None, target_type=None, path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Policy resource reference.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - is_valid (
bool
orNone
) – Will be set to false if the referenced NSX resource has been deleted. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - target_display_name (
str
orNone
) – Display name of the NSX 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. - target_id (
str
orNone
) – Identifier of the NSX resource. - target_type (
str
orNone
) – Type of the NSX resource. - 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.
- is_valid (
-
class
com.vmware.nsx_policy.model_client.
PolicyResourceReferenceForEP
(is_valid=None, target_display_name=None, target_id=None, target_type=None, path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Policy resource reference for enforcement point
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - is_valid (
bool
orNone
) – Will be set to false if the referenced NSX resource has been deleted. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - target_display_name (
str
orNone
) – Display name of the NSX 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. - target_id (
str
orNone
) – Identifier of the NSX resource. - target_type (
str
orNone
) – Type of the NSX resource. - 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.
- is_valid (
-
class
com.vmware.nsx_policy.model_client.
PolicyResourceReferenceForEPListResult
(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
Paginated collection of policy resource references for enforcement point
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
ofPolicyResourceReferenceForEP
orNone
) – Paged Collection of policy resource references for enforcement point
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyResourceReferenceListResult
(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
Paged Collection of PolicyResourceReference
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
ofPolicyResourceReference
orNone
) – Policy resource references list results
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyRuntimeAlarm
(error_details=None, error_id=None, message=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Alarm associated with the PolicyRuntimeInfoPerEP that exposes potential errors when retrieving runtime information from the enforcement point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - error_details (
PolicyApiError
orNone
) – Detailed information about errors from an API call made to the enforcement point, if any. - error_id (
str
orNone
) – Alarm error 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. - message (
str
orNone
) – Error message describing the issue. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- error_details (
-
class
com.vmware.nsx_policy.model_client.
PolicyRuntimeInfoPerEP
(alarm=None, enforcement_point_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Runtime Info Per Enforcement Point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alarm (
PolicyRuntimeAlarm
orNone
) – Alarm information details. - enforcement_point_path (
str
orNone
) – Policy Path referencing the enforcement point where the info is fetched. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- alarm (
-
class
com.vmware.nsx_policy.model_client.
PolicyServiceChain
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, failure_policy=None, forward_path_service_profiles=None, path_selection_policy=None, reverse_path_service_profiles=None, service_segment_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Service chain is a set of network Services. A Service chain is made up of ordered list of service profiles belonging to any same or different services.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - failure_policy (
str
orNone
) –Possible values are:
Failure policy for the service defines the action to be taken i.e to allow or to block the traffic during failure scenarios.
- forward_path_service_profiles (
list
ofstr
orNone
) – Forward path service profiles are applied to ingress traffic. - path_selection_policy (
str
orNone
) –Possible values are:
PolicyServiceChain.PATH_SELECTION_POLICY_ANY
PolicyServiceChain.PATH_SELECTION_POLICY_LOCAL
PolicyServiceChain.PATH_SELECTION_POLICY_REMOTE
PolicyServiceChain.PATH_SELECTION_POLICY_ROUND_ROBIN
Path selection policy can be - ANY - Service Insertion is free to redirect to any service path regardless of any load balancing considerations or flow pinning. LOCAL - Preference to be given to local service insances. REMOTE - Preference to be given to the SVM co-located on the same host. ROUND_ROBIN - All active service paths are hit with equal probability.
- reverse_path_service_profiles (
list
ofstr
orNone
) – Reverse path service profiles are applied to egress traffic and is optional. 2 different set of profiles can be defined for forward and reverse path. If not defined, the reverse of the forward path service profile is applied. - service_segment_path (
list
ofstr
orNone
) – Path to service segment using which the traffic needs to be redirected.
-
FAILURE_POLICY_ALLOW
= 'ALLOW'¶
-
FAILURE_POLICY_BLOCK
= 'BLOCK'¶
-
PATH_SELECTION_POLICY_ANY
= 'ANY'¶
-
PATH_SELECTION_POLICY_LOCAL
= 'LOCAL'¶
-
PATH_SELECTION_POLICY_REMOTE
= 'REMOTE'¶
-
PATH_SELECTION_POLICY_ROUND_ROBIN
= 'ROUND_ROBIN'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyServiceChainListResult
(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
Policy Service Chain 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
ofPolicyServiceChain
orNone
) – All PolicyServiceChain objects
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyServiceInstance
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, deployment_mode=None, partner_service_name=None, transport_type=None, attributes=None, compute_id=None, context_id=None, deployment_spec_name=None, deployment_template_name=None, failure_policy=None, primary_gateway_address=None, primary_interface_mgmt_ip=None, primary_interface_network=None, primary_portgroup_id=None, primary_subnet_mask=None, secondary_gateway_address=None, secondary_interface_mgmt_ip=None, secondary_interface_network=None, secondary_portgroup_id=None, secondary_subnet_mask=None, storage_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents an instance of partner Service and its configuration.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - deployment_mode (
str
orNone
) –Possible values are:
PolicyServiceInstance.DEPLOYMENT_MODE_STAND_ALONE
PolicyServiceInstance.DEPLOYMENT_MODE_ACTIVE_STANDBY
Deployment mode specifies how the partner appliance will be deployed i.e. in HA or standalone mode.
- partner_service_name (
str
orNone
) – Unique name of Partner Service in the Marketplace - transport_type (
str
orNone
) –Possible values are:
Transport to be used while deploying Service-VM. - attributes (
list
ofAttribute
orNone
) – List of attributes specific to a partner for which the service is created. There attributes are passed on to the partner appliance. - compute_id (
str
orNone
) – Id of the compute(ResourcePool) to which this service needs to be deployed. - context_id (
str
orNone
) – UUID of VCenter/Compute Manager as seen on NSX Manager, to which this service needs to be deployed. - deployment_spec_name (
str
orNone
) – Form factor for the deployment of partner service. - deployment_template_name (
str
orNone
) – Template for the deployment of partnet service. - failure_policy (
str
orNone
) –Possible values are:
Failure policy for the Service VM. If this values is not provided, it will be defaulted to FAIL_CLOSE.
- primary_gateway_address (
str
orNone
) – Gateway address for primary management console. If the provided segment already has gateway, this field can be omitted. But if it is provided, it takes precedence always. However, if provided segment does not have gateway, this field must be provided. format: address-or-block-or-range - primary_interface_mgmt_ip (
str
orNone
) – Management IP Address of primary interface of the Service format: address-or-block-or-range - primary_interface_network (
str
orNone
) – Path of the segment to which primary interface of the Service VM needs to be connected - primary_portgroup_id (
str
orNone
) – Id of the standard or ditsributed port group for primary management console. Please note that only 1 of the 2 values from 1. primary_interface_network 2. primary_portgroup_id are allowed to be passed. Both can’t be passed in the same request. - primary_subnet_mask (
str
orNone
) – Subnet for primary management console IP. If the provided segment already has subnet, this field can be omitted. But if it is provided, it takes precedence always. However, if provided segment does not have subnet, this field must be provided. format: address-or-block-or-range - secondary_gateway_address (
str
orNone
) – Gateway address for secondary management console. If the provided segment already has gateway, this field can be omitted. But if it is provided, it takes precedence always. However, if provided segment does not have gateway, this field must be provided. format: address-or-block-or-range - secondary_interface_mgmt_ip (
str
orNone
) – Management IP Address of secondary interface of the Service format: address-or-block-or-range - secondary_interface_network (
str
orNone
) – Path of segment to which secondary interface of the Service VM needs to be connected - secondary_portgroup_id (
str
orNone
) – Id of the standard or ditsributed port group for secondary management console. Please note that only 1 of the 2 values from 1. secondary_interface_network 2. secondary_portgroup_id are allowed to be passed. Both can’t be passed in the same request. - secondary_subnet_mask (
str
orNone
) – Subnet for secondary management console IP. If the provided segment already has subnet, this field can be omitted. But if it is provided, it takes precedence always. However, if provided segment does not have subnet, this field must be provided. format: address-or-block-or-range - storage_id (
str
orNone
) – Id of the storage(Datastore). VC moref of Datastore to which this service needs to be deployed.
-
DEPLOYMENT_MODE_ACTIVE_STANDBY
= 'ACTIVE_STANDBY'¶
-
DEPLOYMENT_MODE_STAND_ALONE
= 'STAND_ALONE'¶
-
FAILURE_POLICY_ALLOW
= 'ALLOW'¶
-
FAILURE_POLICY_BLOCK
= 'BLOCK'¶
-
TRANSPORT_TYPE_L2_BRIDGE
= 'L2_BRIDGE'¶
-
TRANSPORT_TYPE_L3_ROUTED
= 'L3_ROUTED'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyServiceInstanceListResult
(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
Collection of only SI 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 - 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
ofPolicyServiceInstance
orNone
) – Service instance list results
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyServiceInstanceStatistics
(links=None, schema=None, self_=None, enforcement_point_path=None, instance_runtime_statistics=None, service_instance_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Statistics for NICs for a PolicyServiceInstance
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 - enforcement_point_path (
str
orNone
) – Enforcement point path, forward slashes must be escaped using %2F. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - instance_runtime_statistics (
list
ofInstanceRuntimeStatistic
orNone
) – Statistics for the data NICs for all the runtimes associated with this service instance. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - service_instance_id (
str
orNone
) – PolicyServiceInsatnce 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.
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyServiceProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, attributes=None, redirection_action=None, vendor_template_key=None, vendor_template_name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Service profile represents specialization of a vendor template. User may provide any of the vendor_template_name or vendor_template_key properties. But in case of multiple vendor templates with the same name, it is recommended to use the vendor_template_key. When both attributes are provided, name is ignored and only key is used to identify the template. If there are multiple templates with same name, and vendor_template_name is provided, realization will fail.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - attributes (
list
ofAttribute
orNone
) – List of attributes specific to a partner for which the service is created. These attributes are passed on to the partner appliance and are opaque to NSX. If a vendor template exposes configurable parameters, then their values are specified here. - redirection_action (
str
orNone
) –Possible values are:
The redirection action represents if the packet is exclusively redirected to the service, or if a copy is forwarded to the service. Redirection action is not applicable to guest introspection service.
- vendor_template_key (
str
orNone
) – The vendor template key property of actual vendor template. This should be used when multiple templates with same name exist. - vendor_template_name (
str
orNone
) – Name of the vendor template for which this Service Profile is being created.
-
REDIRECTION_ACTION_COPY
= 'COPY'¶
-
REDIRECTION_ACTION_PUNT
= 'PUNT'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyServiceProfileListResult
(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
Policy Service Profile 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
ofPolicyServiceProfile
orNone
) – Service Profile list results
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicySubAttributes
(datatype=None, key=None, value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Policy Sub Attributes data holder
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - datatype (
str
orNone
) –Possible values are:
Datatype for sub attribute - key (
str
orNone
) –Possible values are:
PolicySubAttributes.KEY_TLS_CIPHER_SUITE
PolicySubAttributes.KEY_TLS_VERSION
PolicySubAttributes.KEY_CIFS_SMB_VERSION
Key for sub attribute - value (
list
ofstr
orNone
) – Multiple sub attribute values can be specified as elements of array.
-
DATATYPE_STRING
= 'STRING'¶
-
KEY_CIFS_SMB_VERSION
= 'CIFS_SMB_VERSION'¶
-
KEY_TLS_CIPHER_SUITE
= 'TLS_CIPHER_SUITE'¶
-
KEY_TLS_VERSION
= 'TLS_VERSION'¶
- datatype (
-
class
com.vmware.nsx_policy.model_client.
PolicyTimeIntervalValue
(end_interval=None, start_interval=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Time interval on which firewall schedule will be applicable
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - end_interval (
str
orNone
) – Time in 24 hour and minutes in multiple of 30. Example, 17:30. - start_interval (
str
orNone
) – Time in 24 hour and minutes in multiple of 30. Example, 9:00.
- end_interval (
-
class
com.vmware.nsx_policy.model_client.
PolicyTraceflowObservationDropped
(acl_rule_path=None, nat_rule_path=None, acl_rule_id=None, arp_fail_reason=None, lport_id=None, lport_name=None, nat_rule_id=None, reason=None, component_name=None, component_sub_type=None, component_type=None, resource_type=None, sequence_no=None, timestamp=None, timestamp_micro=None, transport_node_id=None, transport_node_name=None, transport_node_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - acl_rule_path (
str
orNone
) – The path of the ACL rule that was applied to forward the traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - nat_rule_path (
str
orNone
) – The path of the NAT rule that was applied to forward the traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - acl_rule_id (
long
orNone
) – The id of the acl rule that was applied to drop the traceflow packet 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. - arp_fail_reason (
str
orNone
) –Possible values are:
TraceflowObservationDropped.ARP_FAIL_REASON_UNKNOWN
TraceflowObservationDropped.ARP_FAIL_REASON_TIMEOUT
TraceflowObservationDropped.ARP_FAIL_REASON_CPFAIL
TraceflowObservationDropped.ARP_FAIL_REASON_FROMCP
TraceflowObservationDropped.ARP_FAIL_REASON_PORTDESTROY
TraceflowObservationDropped.ARP_FAIL_REASON_TABLEDESTROY
TraceflowObservationDropped.ARP_FAIL_REASON_NETDESTROY
This field specifies the ARP fails reason ARP_TIMEOUT - ARP failure due to query control plane timeout ARP_CPFAIL - ARP failure due post ARP query message to control plane failure ARP_FROMCP - ARP failure due to deleting ARP entry from control plane ARP_PORTDESTROY - ARP failure due to port destruction ARP_TABLEDESTROY - ARP failure due to ARP table destruction ARP_NETDESTROY - ARP failure due to overlay network destruction This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- lport_id (
str
orNone
) – The id of the logical port at which the traceflow packet was dropped This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lport_name (
str
orNone
) – The name of the logical port at which the traceflow packet was dropped This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - nat_rule_id (
long
orNone
) – The ID of the NAT rule that was applied to forward the traceflow packet 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. - reason (
str
orNone
) –Possible values are:
TraceflowObservationDropped.REASON_ARP_FAIL
TraceflowObservationDropped.REASON_BFD
TraceflowObservationDropped.REASON_DHCP
TraceflowObservationDropped.REASON_FW_RULE
TraceflowObservationDropped.REASON_GENEVE
TraceflowObservationDropped.REASON_GRE
TraceflowObservationDropped.REASON_IFACE
TraceflowObservationDropped.REASON_IP
TraceflowObservationDropped.REASON_IP_REASS
TraceflowObservationDropped.REASON_IPSEC
TraceflowObservationDropped.REASON_IPSEC_VTI
TraceflowObservationDropped.REASON_L2VPN
TraceflowObservationDropped.REASON_L4PORT
TraceflowObservationDropped.REASON_LB
TraceflowObservationDropped.REASON_LROUTER
TraceflowObservationDropped.REASON_LSERVICE
TraceflowObservationDropped.REASON_LSWITCH
TraceflowObservationDropped.REASON_MD_PROXY
TraceflowObservationDropped.REASON_NAT
TraceflowObservationDropped.REASON_ND_NS_FAIL
TraceflowObservationDropped.REASON_NEIGH
TraceflowObservationDropped.REASON_NO_EIP_FOUND
TraceflowObservationDropped.REASON_NO_EIP_ASSOCIATION
TraceflowObservationDropped.REASON_NO_ENI_FOR_IP
TraceflowObservationDropped.REASON_NO_ENI_FOR_LIF
TraceflowObservationDropped.REASON_NO_ROUTE
TraceflowObservationDropped.REASON_NO_ROUTE_TABLE_FOUND
TraceflowObservationDropped.REASON_NO_UNDERLAY_ROUTE_FOUND
TraceflowObservationDropped.REASON_NOT_VDR_DOWNLINK_
TraceflowObservationDropped.REASON_NO_VDR_FOUND
TraceflowObservationDropped.REASON_NO_VDR_ON_HOST
TraceflowObservationDropped.REASON_NOT_VDR_UPLINK_
TraceflowObservationDropped.REASON_SERVICE_INSERT
TraceflowObservationDropped.REASON_SPOOFGUARD
TraceflowObservationDropped.REASON_TTL_ZERO
TraceflowObservationDropped.REASON_TUNNEL
TraceflowObservationDropped.REASON_VXLAN
TraceflowObservationDropped.REASON_VXSTT
TraceflowObservationDropped.REASON_VMC_NO_RESPONSE
TraceflowObservationDropped.REASON_WRONG_UPLINK
TraceflowObservationDropped.REASON_UNKNOWN
The reason traceflow packet was droppedThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- component_name (
str
orNone
) – The name of the component that issued the observation. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - component_sub_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER1
TraceflowObservation.COMPONENT_SUB_TYPE_LR_VRF_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LS_TRANSIT
TraceflowObservation.COMPONENT_SUB_TYPE_SI_CLASSIFIER
TraceflowObservation.COMPONENT_SUB_TYPE_SI_PROXY
TraceflowObservation.COMPONENT_SUB_TYPE_VDR
TraceflowObservation.COMPONENT_SUB_TYPE_ENI
TraceflowObservation.COMPONENT_SUB_TYPE_AWS_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_TGW_ROUTE
TraceflowObservation.COMPONENT_SUB_TYPE_EDGE_UPLINK
TraceflowObservation.COMPONENT_SUB_TYPE_DELL_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_UNKNOWN
The sub type of the component that issued the observation.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- component_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_TYPE_PHYSICAL
TraceflowObservation.COMPONENT_TYPE_LR
TraceflowObservation.COMPONENT_TYPE_LS
TraceflowObservation.COMPONENT_TYPE_DFW
TraceflowObservation.COMPONENT_TYPE_BRIDGE
TraceflowObservation.COMPONENT_TYPE_EDGE_TUNNEL
TraceflowObservation.COMPONENT_TYPE_EDGE_HOSTSWITCH
TraceflowObservation.COMPONENT_TYPE_FW_BRIDGE
TraceflowObservation.COMPONENT_TYPE_LOAD_BALANCER
TraceflowObservation.COMPONENT_TYPE_NAT
TraceflowObservation.COMPONENT_TYPE_IPSEC
TraceflowObservation.COMPONENT_TYPE_SERVICE_INSERTION
TraceflowObservation.COMPONENT_TYPE_VMC
TraceflowObservation.COMPONENT_TYPE_SPOOFGUARD
TraceflowObservation.COMPONENT_TYPE_EDGE_FW
TraceflowObservation.COMPONENT_TYPE_UNKNOWN
The type of the component that issued the observation.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
) –Possible values are:
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDELIVERED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONREPLICATIONLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRELAYEDLOGICAL
- sequence_no (
long
orNone
) – the hop count for observations on the transport node that a traceflow packet is injected in will be 0. The hop count is incremented each time a subsequent transport node receives the traceflow packet. The sequence number of 999 indicates that the hop count could not be determined for the containing observation. 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. - timestamp (
long
orNone
) – Timestamp when the observation was created by the transport node (milliseconds epoch) 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. - timestamp_micro (
long
orNone
) – Timestamp when the observation was created by the transport node (microseconds epoch) 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. - transport_node_id (
str
orNone
) – id of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_name (
str
orNone
) – name of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_type (
str
orNone
) –Possible values are:
TraceflowObservation.TRANSPORT_NODE_TYPE_ESX
TraceflowObservation.TRANSPORT_NODE_TYPE_RHELKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_UBUNTUKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_EDGE
TraceflowObservation.TRANSPORT_NODE_TYPE_PUBLIC_CLOUD_GATEWAY_NODE
TraceflowObservation.TRANSPORT_NODE_TYPE_OTHERS
TraceflowObservation.TRANSPORT_NODE_TYPE_HYPERV
type of the transport node that observed a traceflow packetThis 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
¶ Return the discriminator value
- acl_rule_path (
-
class
com.vmware.nsx_policy.model_client.
PolicyTraceflowObservationDroppedLogical
(acl_rule_path=None, nat_rule_path=None, component_id=None, service_path_index=None, acl_rule_id=None, arp_fail_reason=None, lport_id=None, lport_name=None, nat_rule_id=None, reason=None, component_name=None, component_sub_type=None, component_type=None, resource_type=None, sequence_no=None, timestamp=None, timestamp_micro=None, transport_node_id=None, transport_node_name=None, transport_node_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - acl_rule_path (
str
orNone
) – The path of the ACL rule that was applied to forward the traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - nat_rule_path (
str
orNone
) – The path of the NAT rule that was applied to forward the traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - component_id (
str
orNone
) – The id of the component that dropped the traceflow packet. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - service_path_index (
long
orNone
) – The index of service path that is a chain of services represents the point where the traceflow packet was dropped. 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. - acl_rule_id (
long
orNone
) – The id of the acl rule that was applied to drop the traceflow packet 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. - arp_fail_reason (
str
orNone
) –Possible values are:
TraceflowObservationDropped.ARP_FAIL_REASON_UNKNOWN
TraceflowObservationDropped.ARP_FAIL_REASON_TIMEOUT
TraceflowObservationDropped.ARP_FAIL_REASON_CPFAIL
TraceflowObservationDropped.ARP_FAIL_REASON_FROMCP
TraceflowObservationDropped.ARP_FAIL_REASON_PORTDESTROY
TraceflowObservationDropped.ARP_FAIL_REASON_TABLEDESTROY
TraceflowObservationDropped.ARP_FAIL_REASON_NETDESTROY
This field specifies the ARP fails reason ARP_TIMEOUT - ARP failure due to query control plane timeout ARP_CPFAIL - ARP failure due post ARP query message to control plane failure ARP_FROMCP - ARP failure due to deleting ARP entry from control plane ARP_PORTDESTROY - ARP failure due to port destruction ARP_TABLEDESTROY - ARP failure due to ARP table destruction ARP_NETDESTROY - ARP failure due to overlay network destruction This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- lport_id (
str
orNone
) – The id of the logical port at which the traceflow packet was dropped This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lport_name (
str
orNone
) – The name of the logical port at which the traceflow packet was dropped This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - nat_rule_id (
long
orNone
) – The ID of the NAT rule that was applied to forward the traceflow packet 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. - reason (
str
orNone
) –Possible values are:
TraceflowObservationDropped.REASON_ARP_FAIL
TraceflowObservationDropped.REASON_BFD
TraceflowObservationDropped.REASON_DHCP
TraceflowObservationDropped.REASON_FW_RULE
TraceflowObservationDropped.REASON_GENEVE
TraceflowObservationDropped.REASON_GRE
TraceflowObservationDropped.REASON_IFACE
TraceflowObservationDropped.REASON_IP
TraceflowObservationDropped.REASON_IP_REASS
TraceflowObservationDropped.REASON_IPSEC
TraceflowObservationDropped.REASON_IPSEC_VTI
TraceflowObservationDropped.REASON_L2VPN
TraceflowObservationDropped.REASON_L4PORT
TraceflowObservationDropped.REASON_LB
TraceflowObservationDropped.REASON_LROUTER
TraceflowObservationDropped.REASON_LSERVICE
TraceflowObservationDropped.REASON_LSWITCH
TraceflowObservationDropped.REASON_MD_PROXY
TraceflowObservationDropped.REASON_NAT
TraceflowObservationDropped.REASON_ND_NS_FAIL
TraceflowObservationDropped.REASON_NEIGH
TraceflowObservationDropped.REASON_NO_EIP_FOUND
TraceflowObservationDropped.REASON_NO_EIP_ASSOCIATION
TraceflowObservationDropped.REASON_NO_ENI_FOR_IP
TraceflowObservationDropped.REASON_NO_ENI_FOR_LIF
TraceflowObservationDropped.REASON_NO_ROUTE
TraceflowObservationDropped.REASON_NO_ROUTE_TABLE_FOUND
TraceflowObservationDropped.REASON_NO_UNDERLAY_ROUTE_FOUND
TraceflowObservationDropped.REASON_NOT_VDR_DOWNLINK_
TraceflowObservationDropped.REASON_NO_VDR_FOUND
TraceflowObservationDropped.REASON_NO_VDR_ON_HOST
TraceflowObservationDropped.REASON_NOT_VDR_UPLINK_
TraceflowObservationDropped.REASON_SERVICE_INSERT
TraceflowObservationDropped.REASON_SPOOFGUARD
TraceflowObservationDropped.REASON_TTL_ZERO
TraceflowObservationDropped.REASON_TUNNEL
TraceflowObservationDropped.REASON_VXLAN
TraceflowObservationDropped.REASON_VXSTT
TraceflowObservationDropped.REASON_VMC_NO_RESPONSE
TraceflowObservationDropped.REASON_WRONG_UPLINK
TraceflowObservationDropped.REASON_UNKNOWN
The reason traceflow packet was droppedThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- component_name (
str
orNone
) – The name of the component that issued the observation. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - component_sub_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER1
TraceflowObservation.COMPONENT_SUB_TYPE_LR_VRF_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LS_TRANSIT
TraceflowObservation.COMPONENT_SUB_TYPE_SI_CLASSIFIER
TraceflowObservation.COMPONENT_SUB_TYPE_SI_PROXY
TraceflowObservation.COMPONENT_SUB_TYPE_VDR
TraceflowObservation.COMPONENT_SUB_TYPE_ENI
TraceflowObservation.COMPONENT_SUB_TYPE_AWS_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_TGW_ROUTE
TraceflowObservation.COMPONENT_SUB_TYPE_EDGE_UPLINK
TraceflowObservation.COMPONENT_SUB_TYPE_DELL_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_UNKNOWN
The sub type of the component that issued the observation.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- component_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_TYPE_PHYSICAL
TraceflowObservation.COMPONENT_TYPE_LR
TraceflowObservation.COMPONENT_TYPE_LS
TraceflowObservation.COMPONENT_TYPE_DFW
TraceflowObservation.COMPONENT_TYPE_BRIDGE
TraceflowObservation.COMPONENT_TYPE_EDGE_TUNNEL
TraceflowObservation.COMPONENT_TYPE_EDGE_HOSTSWITCH
TraceflowObservation.COMPONENT_TYPE_FW_BRIDGE
TraceflowObservation.COMPONENT_TYPE_LOAD_BALANCER
TraceflowObservation.COMPONENT_TYPE_NAT
TraceflowObservation.COMPONENT_TYPE_IPSEC
TraceflowObservation.COMPONENT_TYPE_SERVICE_INSERTION
TraceflowObservation.COMPONENT_TYPE_VMC
TraceflowObservation.COMPONENT_TYPE_SPOOFGUARD
TraceflowObservation.COMPONENT_TYPE_EDGE_FW
TraceflowObservation.COMPONENT_TYPE_UNKNOWN
The type of the component that issued the observation.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
) –Possible values are:
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDELIVERED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONREPLICATIONLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRELAYEDLOGICAL
- sequence_no (
long
orNone
) – the hop count for observations on the transport node that a traceflow packet is injected in will be 0. The hop count is incremented each time a subsequent transport node receives the traceflow packet. The sequence number of 999 indicates that the hop count could not be determined for the containing observation. 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. - timestamp (
long
orNone
) – Timestamp when the observation was created by the transport node (milliseconds epoch) 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. - timestamp_micro (
long
orNone
) – Timestamp when the observation was created by the transport node (microseconds epoch) 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. - transport_node_id (
str
orNone
) – id of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_name (
str
orNone
) – name of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_type (
str
orNone
) –Possible values are:
TraceflowObservation.TRANSPORT_NODE_TYPE_ESX
TraceflowObservation.TRANSPORT_NODE_TYPE_RHELKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_UBUNTUKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_EDGE
TraceflowObservation.TRANSPORT_NODE_TYPE_PUBLIC_CLOUD_GATEWAY_NODE
TraceflowObservation.TRANSPORT_NODE_TYPE_OTHERS
TraceflowObservation.TRANSPORT_NODE_TYPE_HYPERV
type of the transport node that observed a traceflow packetThis 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
¶ Return the discriminator value
- acl_rule_path (
-
class
com.vmware.nsx_policy.model_client.
PolicyTraceflowObservationForwardedLogical
(acl_rule_path=None, nat_rule_path=None, acl_rule_id=None, component_id=None, dst_component_id=None, dst_component_name=None, dst_component_type=None, lport_id=None, lport_name=None, nat_rule_id=None, resend_type=None, service_index=None, service_path_index=None, service_ttl=None, spoofguard_ip=None, spoofguard_mac=None, spoofguard_vlan_id=None, svc_nh_mac=None, translated_dst_ip=None, translated_src_ip=None, vni=None, component_name=None, component_sub_type=None, component_type=None, resource_type=None, sequence_no=None, timestamp=None, timestamp_micro=None, transport_node_id=None, transport_node_name=None, transport_node_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - acl_rule_path (
str
orNone
) – The path of the ACL rule that was applied to forward the traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - nat_rule_path (
str
orNone
) – The path of the NAT rule that was applied to forward the traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - acl_rule_id (
long
orNone
) – The id of the acl rule that was applied to forward the traceflow packet 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. - component_id (
str
orNone
) – The id of the component that forwarded the traceflow packet. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - dst_component_id (
str
orNone
) – The id of the destination component to which the traceflow packet was forwarded. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - dst_component_name (
str
orNone
) – The name of the destination component to which the traceflow packet was forwarded. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - dst_component_type (
str
orNone
) –Possible values are:
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_PHYSICAL
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_LR
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_LS
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_DFW
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_BRIDGE
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_EDGE_TUNNEL
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_EDGE_HOSTSWITCH
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_FW_BRIDGE
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_LOAD_BALANCER
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_NAT
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_IPSEC
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_SERVICE_INSERTION
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_VMC
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_SPOOFGUARD
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_EDGE_FW
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_UNKNOWN
The type of the destination component to which the traceflow packet was forwarded. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- lport_id (
str
orNone
) – The id of the logical port through which the traceflow packet was forwarded. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lport_name (
str
orNone
) – The name of the logical port through which the traceflow packet was forwarded. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - nat_rule_id (
long
orNone
) – The ID of the NAT rule that was applied to forward the traceflow packet 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. - resend_type (
str
orNone
) –Possible values are:
TraceflowObservationForwardedLogical.RESEND_TYPE_UNKNOWN
TraceflowObservationForwardedLogical.RESEND_TYPE_ARP_UNKNOWN_FROM_CP
TraceflowObservationForwardedLogical.RESEND_TYPE_ND_NS_UNKNWON_FROM_CP
ARP_UNKNOWN_FROM_CP - Unknown ARP query result emitted by control plane ND_NS_UNKNOWN_FROM_CP - Unknown neighbor solicitation query result emitted by control plane UNKNOWN - Unknown resend 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.
- service_index (
long
orNone
) – The index of the service insertion component 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. - service_path_index (
long
orNone
) – The path index of the service insertion component 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. - service_ttl (
long
orNone
) – The ttl of the service insertion component 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. - spoofguard_ip (
str
orNone
) – This field specified the prefix IP address a traceflow packet matched in the whitelist in spoofguard. format: ip-cidr-block This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - spoofguard_mac (
str
orNone
) – The source MAC address of form: “^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$”. For example: 00:00:00:00:00:00. format: mac-address This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - spoofguard_vlan_id (
long
orNone
) – This field specified the VLAN id a traceflow packet matched in the whitelist in spoofguard. 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. - svc_nh_mac (
str
orNone
) – MAC address of nexthop for service insertion(SI) in service VM(SVM) where the traceflow packet was received. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - translated_dst_ip (
str
orNone
) – The translated destination IP address of VNP/NAT format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - translated_src_ip (
str
orNone
) – The translated source IP address of VPN/NAT format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - vni (
long
orNone
) – VNI for the logical network on which the traceflow packet was forwarded. 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. - component_name (
str
orNone
) – The name of the component that issued the observation. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - component_sub_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER1
TraceflowObservation.COMPONENT_SUB_TYPE_LR_VRF_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LS_TRANSIT
TraceflowObservation.COMPONENT_SUB_TYPE_SI_CLASSIFIER
TraceflowObservation.COMPONENT_SUB_TYPE_SI_PROXY
TraceflowObservation.COMPONENT_SUB_TYPE_VDR
TraceflowObservation.COMPONENT_SUB_TYPE_ENI
TraceflowObservation.COMPONENT_SUB_TYPE_AWS_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_TGW_ROUTE
TraceflowObservation.COMPONENT_SUB_TYPE_EDGE_UPLINK
TraceflowObservation.COMPONENT_SUB_TYPE_DELL_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_UNKNOWN
The sub type of the component that issued the observation.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- component_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_TYPE_PHYSICAL
TraceflowObservation.COMPONENT_TYPE_LR
TraceflowObservation.COMPONENT_TYPE_LS
TraceflowObservation.COMPONENT_TYPE_DFW
TraceflowObservation.COMPONENT_TYPE_BRIDGE
TraceflowObservation.COMPONENT_TYPE_EDGE_TUNNEL
TraceflowObservation.COMPONENT_TYPE_EDGE_HOSTSWITCH
TraceflowObservation.COMPONENT_TYPE_FW_BRIDGE
TraceflowObservation.COMPONENT_TYPE_LOAD_BALANCER
TraceflowObservation.COMPONENT_TYPE_NAT
TraceflowObservation.COMPONENT_TYPE_IPSEC
TraceflowObservation.COMPONENT_TYPE_SERVICE_INSERTION
TraceflowObservation.COMPONENT_TYPE_VMC
TraceflowObservation.COMPONENT_TYPE_SPOOFGUARD
TraceflowObservation.COMPONENT_TYPE_EDGE_FW
TraceflowObservation.COMPONENT_TYPE_UNKNOWN
The type of the component that issued the observation.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
) –Possible values are:
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDELIVERED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONREPLICATIONLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRELAYEDLOGICAL
- sequence_no (
long
orNone
) – the hop count for observations on the transport node that a traceflow packet is injected in will be 0. The hop count is incremented each time a subsequent transport node receives the traceflow packet. The sequence number of 999 indicates that the hop count could not be determined for the containing observation. 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. - timestamp (
long
orNone
) – Timestamp when the observation was created by the transport node (milliseconds epoch) 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. - timestamp_micro (
long
orNone
) – Timestamp when the observation was created by the transport node (microseconds epoch) 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. - transport_node_id (
str
orNone
) – id of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_name (
str
orNone
) – name of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_type (
str
orNone
) –Possible values are:
TraceflowObservation.TRANSPORT_NODE_TYPE_ESX
TraceflowObservation.TRANSPORT_NODE_TYPE_RHELKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_UBUNTUKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_EDGE
TraceflowObservation.TRANSPORT_NODE_TYPE_PUBLIC_CLOUD_GATEWAY_NODE
TraceflowObservation.TRANSPORT_NODE_TYPE_OTHERS
TraceflowObservation.TRANSPORT_NODE_TYPE_HYPERV
type of the transport node that observed a traceflow packetThis 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
¶ Return the discriminator value
- acl_rule_path (
-
class
com.vmware.nsx_policy.model_client.
PolicyTransportZone
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, is_default=None, nsx_id=None, tz_type=None, uplink_teaming_policy_names=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Transport Zone.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - is_default (
bool
orNone
) – Flag to indicate if the transport zone is the default one. Only one transport zone can be the default one for a given transport zone type. - nsx_id (
str
orNone
) – UUID of transport zone on NSX-T enforcement point. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - tz_type (
str
orNone
) –Possible values are:
PolicyTransportZone.TZ_TYPE_OVERLAY_STANDARD
PolicyTransportZone.TZ_TYPE_OVERLAY_ENS
PolicyTransportZone.TZ_TYPE_VLAN_BACKED
PolicyTransportZone.TZ_TYPE_UNKNOWN
Transport Zone 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.
- uplink_teaming_policy_names (
list
ofstr
orNone
) – The names of switching uplink teaming policies that all transport nodes in this transport zone support. Uplinkin teaming policies are only valid for VLAN backed transport zones.
-
TZ_TYPE_OVERLAY_ENS
= 'OVERLAY_ENS'¶
-
TZ_TYPE_OVERLAY_STANDARD
= 'OVERLAY_STANDARD'¶
-
TZ_TYPE_UNKNOWN
= 'UNKNOWN'¶
-
TZ_TYPE_VLAN_BACKED
= 'VLAN_BACKED'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyTransportZoneListResult
(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
Paged Collection of Transport Zone
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
ofPolicyTransportZone
orNone
) – Transport Zone list result.
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyUrlCategorizationConfig
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, context_profiles=None, enabled=None, update_frequency=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
The type contains information about the configuration of the feature for a specific node. It contains information like the whether the feature is enabled/disabled, the context profiles defining the category list to detect.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - context_profiles (
list
ofstr
orNone
) – The ids of the context profiles that provides the list of categories to be detected. - enabled (
bool
orNone
) – Property which specifies the enabling/disabling of the feature. - update_frequency (
long
orNone
) – The frequency in minutes at which the updates are downloaded from the URL categorization cloud service. The minimum allowed value is 5 minutes. format: int32
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyUrlCategory
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, category_id=None, category_name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Every URL is classified into one or more of 83 pre-defined categories. Examples of categories are ‘Shopping’, ‘Financial Services’, ‘Travel’, etc.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - category_id (
long
orNone
) – The id of the category. format: int32 - category_name (
str
orNone
) – The name of the category.
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyUrlCategoryListResult
(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 of Policy URL categories.
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
ofPolicyUrlCategory
orNone
) – Category list result
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyUrlReputationSeverity
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, max_reputation=None, min_reputation=None, name=None, reputation_severity_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
The reputation severity of an URL.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - max_reputation (
long
orNone
) – The maximum reputation for the severity. format: int32 - min_reputation (
long
orNone
) – The minimum reputation for the severity. format: int32 - name (
str
orNone
) – The name of the severity. - reputation_severity_id (
long
orNone
) – The id of the reputation severity. format: int32
- links (
-
class
com.vmware.nsx_policy.model_client.
PolicyUrlReputationSeverityListResult
(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 of URL reputation severities.
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
ofPolicyUrlReputationSeverity
orNone
) – Reputation Severity list
- links (
-
class
com.vmware.nsx_policy.model_client.
PoolMemberSetting
(admin_state=None, display_name=None, ip_address=None, port=None, weight=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
The setting is used to add, update or remove pool members from pool. For static pool members, admin_state, display_name and weight can be updated. For dynamic pool members, only admin_state can be updated.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - admin_state (
str
orNone
) –Possible values are:
PoolMemberSetting.ADMIN_STATE_ENABLED
PoolMemberSetting.ADMIN_STATE_DISABLED
PoolMemberSetting.ADMIN_STATE_GRACEFUL_DISABLED
Member admin state - display_name (
str
orNone
) – Only applicable to static pool members. If supplied for a pool defined by a grouping object, update API would fail. - ip_address (
str
orNone
) – Pool member IP address format: ip - port (
str
orNone
) – Pool member port number format: port-or-range - weight (
long
orNone
) – Only applicable to static pool members. If supplied for a pool defined by a grouping object, update API would fail. format: int64
-
ADMIN_STATE_DISABLED
= 'DISABLED'¶
-
ADMIN_STATE_ENABLED
= 'ENABLED'¶
-
ADMIN_STATE_GRACEFUL_DISABLED
= 'GRACEFUL_DISABLED'¶
- admin_state (
-
class
com.vmware.nsx_policy.model_client.
PortAddressBindingEntry
(ip_address=None, mac_address=None, vlan_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Detailed information about static address for the port.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_address (
str
orNone
) – IP Address for port binding - mac_address (
str
orNone
) – Mac address for port binding format: mac-address - vlan_id (
long
orNone
) – VLAN ID for port binding format: int64
- ip_address (
-
class
com.vmware.nsx_policy.model_client.
PortAttachment
(allocate_addresses=None, app_id=None, context_id=None, context_type=None, hyperbus_mode=None, id=None, traffic_tag=None, type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Detail information about port attachment
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - allocate_addresses (
str
orNone
) –Possible values are:
PortAttachment.ALLOCATE_ADDRESSES_IP_POOL
PortAttachment.ALLOCATE_ADDRESSES_MAC_POOL
PortAttachment.ALLOCATE_ADDRESSES_BOTH
PortAttachment.ALLOCATE_ADDRESSES_NONE
Indicate how IP will be allocated for the port - app_id (
str
orNone
) – ID used to identify/look up a child attachment behind a parent attachment - context_id (
str
orNone
) – If type is CHILD and the parent port is on the same segment as the child port, then this field should be VIF ID of the parent port. If type is CHILD and the parent port is on a different segment, then this field should be policy path of the parent port. If type is INDEPENDENT/STATIC, then this field should be transport node ID. - context_type (
str
orNone
) –Possible values are:
Set to PARENT when type field is CHILD. Read only field.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- hyperbus_mode (
str
orNone
) –Possible values are:
Flag to indicate if hyperbus configuration is required. - id (
str
orNone
) – VIF UUID on NSX Manager. If the attachement type is PARENT, this property is required. - traffic_tag (
long
orNone
) – Not valid when type field is INDEPENDENT, mainly used to identify traffic from different ports in container use case. format: int64 - type (
str
orNone
) –Possible values are:
PortAttachment.TYPE_PARENT
PortAttachment.TYPE_CHILD
PortAttachment.TYPE_INDEPENDENT
PortAttachment.TYPE_STATIC
Type of port attachment. STATIC is added to replace INDEPENDENT. INDEPENDENT type and PARENT type are deprecated.
-
ALLOCATE_ADDRESSES_BOTH
= 'BOTH'¶
-
ALLOCATE_ADDRESSES_IP_POOL
= 'IP_POOL'¶
-
ALLOCATE_ADDRESSES_MAC_POOL
= 'MAC_POOL'¶
-
ALLOCATE_ADDRESSES_NONE
= 'NONE'¶
-
CONTEXT_TYPE_PARENT
= 'PARENT'¶
-
HYPERBUS_MODE_DISABLE
= 'DISABLE'¶
-
HYPERBUS_MODE_ENABLE
= 'ENABLE'¶
-
TYPE_CHILD
= 'CHILD'¶
-
TYPE_INDEPENDENT
= 'INDEPENDENT'¶
-
TYPE_PARENT
= 'PARENT'¶
-
TYPE_STATIC
= 'STATIC'¶
- allocate_addresses (
-
class
com.vmware.nsx_policy.model_client.
PortDiscoveryProfileBindingMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, ip_discovery_profile_path=None, mac_discovery_profile_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This entity will be used to establish association between discovery profile and Port. Using this entity, user can specify intent for applying discovery profile to particular Port. Port here is Logical Port.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_discovery_profile_path (
str
orNone
) – PolicyPath of associated IP Discovery Profile - mac_discovery_profile_path (
str
orNone
) – PolicyPath of associated Mac Discovery Profile
- links (
-
class
com.vmware.nsx_policy.model_client.
PortDiscoveryProfileBindingMapListResult
(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
Paged collection of Port Discovery Profile Binding 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
ofPortDiscoveryProfileBindingMap
orNone
) – Port Discovery Profile Binding Map list results
- links (
-
class
com.vmware.nsx_policy.model_client.
PortMirroringInstance
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, destination_group=None, direction=None, snap_length=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Mirrors Data from source to destination
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - destination_group (
str
orNone
) – Data from source group will be copied to members of destination group. - direction (
str
orNone
) –Possible values are:
PortMirroringInstance.DIRECTION_INGRESS
PortMirroringInstance.DIRECTION_EGRESS
PortMirroringInstance.DIRECTION_BIDIRECTIONAL
Port mirroring instance direction - snap_length (
long
orNone
) – If this property is set, the packet will be truncated to the provided length. If this property is unset, entire packet will be mirrored. format: int32
-
DIRECTION_BIDIRECTIONAL
= 'BIDIRECTIONAL'¶
-
DIRECTION_EGRESS
= 'EGRESS'¶
-
DIRECTION_INGRESS
= 'INGRESS'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
PortMirroringInstanceListResult
(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
Paged collection of port mirroring instances
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
ofPortMirroringInstance
orNone
) – Port Mirroring Instances list results
- links (
-
class
com.vmware.nsx_policy.model_client.
PortMirroringProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, destination_group=None, direction=None, encapsulation_type=None, erspan_id=None, gre_key=None, profile_type=None, snap_length=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Mirrors Data from source to destination
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - destination_group (
str
orNone
) – Data from source group will be copied to members of destination group. Only IPSET group and group with membership criteria VM is supported. IPSET group allows only three ip’s. - direction (
str
orNone
) –Possible values are:
PortMirroringProfile.DIRECTION_INGRESS
PortMirroringProfile.DIRECTION_EGRESS
PortMirroringProfile.DIRECTION_BIDIRECTIONAL
Port mirroring profile direction - encapsulation_type (
str
orNone
) –Possible values are:
PortMirroringProfile.ENCAPSULATION_TYPE_GRE
PortMirroringProfile.ENCAPSULATION_TYPE_ERSPAN_TWO
PortMirroringProfile.ENCAPSULATION_TYPE_ERSPAN_THREE
User can provide Mirror Destination type e.g GRE, ERSPAN_TWO or ERSPAN_THREE.If profile type is REMOTE_L3_SPAN, encapsulation type is used else ignored.
- erspan_id (
long
orNone
) – Used by physical switch for the mirror traffic forwarding. Must be provided and only effective when encapsulation type is ERSPAN type II or type III. format: int32 - gre_key (
long
orNone
) – User-configurable 32-bit key only for GRE format: int32 - profile_type (
str
orNone
) –Possible values are:
Allows user to select type of port mirroring session. - snap_length (
long
orNone
) – If this property is set, the packet will be truncated to the provided length. If this property is unset, entire packet will be mirrored. format: int32
-
DIRECTION_BIDIRECTIONAL
= 'BIDIRECTIONAL'¶
-
DIRECTION_EGRESS
= 'EGRESS'¶
-
DIRECTION_INGRESS
= 'INGRESS'¶
-
ENCAPSULATION_TYPE_ERSPAN_THREE
= 'ERSPAN_THREE'¶
-
ENCAPSULATION_TYPE_ERSPAN_TWO
= 'ERSPAN_TWO'¶
-
ENCAPSULATION_TYPE_GRE
= 'GRE'¶
-
PROFILE_TYPE_LOGICAL_SPAN
= 'LOGICAL_SPAN'¶
-
PROFILE_TYPE_REMOTE_L3_SPAN
= 'REMOTE_L3_SPAN'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
PortMirroringProfileListResult
(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
Paged collection of port mirroring profiles
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
ofPortMirroringProfile
orNone
) – Port Mirroring Profiles list results
- links (
-
class
com.vmware.nsx_policy.model_client.
PortMonitoringProfileBindingMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, ipfix_l2_profile_path=None, port_mirroring_profile_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This entity will be used to establish association between monitoring profile and Port. Using this entity, user can specify intent for applying monitoring profile to particular Port. Port here is Segment Port.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - ipfix_l2_profile_path (
str
orNone
) – PolicyPath of associated IPFIX L2 Profile - port_mirroring_profile_path (
str
orNone
) – PolicyPath of associated Port Mirroring Profile
- links (
-
class
com.vmware.nsx_policy.model_client.
PortMonitoringProfileBindingMapListResult
(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
Paged collection of Port Monitoring Profile Binding 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
ofPortMonitoringProfileBindingMap
orNone
) – Port Monitoring Profile Binding Map list results
- links (
-
class
com.vmware.nsx_policy.model_client.
PortQosProfileBindingMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, qos_profile_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This entity will be used to establish association between qos profile and Port. Using this entity, you can specify intent for applying qos profile to particular Port. Port here is Segment Port.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - qos_profile_path (
str
orNone
) – PolicyPath of associated QoS Profile
- links (
-
class
com.vmware.nsx_policy.model_client.
PortQosProfileBindingMapListResult
(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
Paged collection of Port QoS Profile Binding 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
ofPortQosProfileBindingMap
orNone
) – Port QoS Profile Binding Map list results
- links (
-
class
com.vmware.nsx_policy.model_client.
PortSecurityProfileBindingMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, segment_security_profile_path=None, spoofguard_profile_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Contains the binding relationship between port and security profile.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - segment_security_profile_path (
str
orNone
) – The policy path of the asscociated Segment Security profile - spoofguard_profile_path (
str
orNone
) – The policy path of the asscociated SpoofGuard profile
- links (
-
class
com.vmware.nsx_policy.model_client.
PortSecurityProfileBindingMapListResult
(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
Paged collection of port security profile binding 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
ofPortSecurityProfileBindingMap
orNone
) – Port security profile binding map list results
- links (
-
class
com.vmware.nsx_policy.model_client.
PrefixEntry
(action=None, ge=None, le=None, network=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Network prefix entry
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - action (
str
orNone
) –Possible values are:
Action for the prefix list. - ge (
long
orNone
) – Prefix length greater than or equal to. format: int32 - le (
long
orNone
) – Prefix length less than or equal to. format: int32 - network (
str
orNone
) – Network prefix in CIDR format. “ANY” matches all networks.
-
ACTION_DENY
= 'DENY'¶
-
ACTION_PERMIT
= 'PERMIT'¶
- action (
-
class
com.vmware.nsx_policy.model_client.
PrefixList
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, prefixes=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A named list of prefixes for routing purposes.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - prefixes (
list
ofPrefixEntry
orNone
) – Specify ordered list of network prefixes.
- links (
-
class
com.vmware.nsx_policy.model_client.
PrefixListResult
(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
Paged collection of PrefixLists
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
ofPrefixList
orNone
) – PrefixList results
- links (
-
class
com.vmware.nsx_policy.model_client.
ProfileBindingMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, profile_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This entity will be used to establish association between profile and policy entities.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - profile_path (
str
orNone
) – PolicyPath of associated Profile
- links (
-
class
com.vmware.nsx_policy.model_client.
PropertyItem
(condition=None, field=None, heading=None, label=None, navigation=None, render_configuration=None, separator=None, type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents a label-value pair.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - condition (
str
orNone
) – If the condition is met then the property will be displayed. Examples of expression syntax are provided under ‘example_request’ section of ‘CreateWidgetConfiguration’ API. - field (
str
orNone
) – Represents field value of the property. - heading (
bool
orNone
) – Set to true if the field is a heading. Default is false. - label (
Label
orNone
) – If a field represents a heading, then label is not needed - navigation (
str
orNone
) – Hyperlink of the specified UI page that provides details. This will be linked with value of the property. - render_configuration (
list
ofRenderConfiguration
orNone
) – Render configuration to be applied, if any. - separator (
bool
orNone
) – If true, separates this property in a widget. - type (
str
orNone
) –Possible values are:
Data type of the field.
-
TYPE_DATE
= 'Date'¶
-
TYPE_NUMBER
= 'Number'¶
-
TYPE_STRING
= 'String'¶
-
TYPE_URL
= 'Url'¶
- condition (
-
class
com.vmware.nsx_policy.model_client.
QosBaseRateLimiter
(enabled=None, resource_type='QoSBaseRateLimiter')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A Limiter configuration entry that specifies type and metrics
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - enabled (
bool
orNone
) – - resource_type (
str
) –Possible values are:
QosBaseRateLimiter.RESOURCE_TYPE_INGRESSRATELIMITER
QosBaseRateLimiter.RESOURCE_TYPE_INGRESSBROADCASTRATELIMITER
QosBaseRateLimiter.RESOURCE_TYPE_EGRESSRATELIMITER
Type rate limiter
-
RESOURCE_TYPE_EGRESSRATELIMITER
= 'EgressRateLimiter'¶
-
RESOURCE_TYPE_INGRESSBROADCASTRATELIMITER
= 'IngressBroadcastRateLimiter'¶
-
RESOURCE_TYPE_INGRESSRATELIMITER
= 'IngressRateLimiter'¶
-
resource_type
¶ Return the discriminator value
- enabled (
-
class
com.vmware.nsx_policy.model_client.
QosDscp
(mode=None, priority=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Dscp value is ignored in case of ‘TRUSTED’ DscpTrustMode.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - mode (
str
orNone
) –Possible values are:
When you select the Trusted mode the inner header DSCP value is applied to the outer IP header for IP/IPv6 traffic. For non IP/IPv6 traffic, the outer IP header takes the default value.Untrusted mode is supported on overlay-based and VLAN-based logical port.
- priority (
long
orNone
) – Internal Forwarding Priority format: int32
-
MODE_TRUSTED
= 'TRUSTED'¶
-
MODE_UNTRUSTED
= 'UNTRUSTED'¶
- mode (
-
class
com.vmware.nsx_policy.model_client.
QosProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, class_of_service=None, dscp=None, shaper_configurations=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
) – 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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - class_of_service (
long
orNone
) – Class of service groups similar types of traffic in the network and each type of traffic is treated as a class with its own level of service priority. The lower priority traffic is slowed down or in some cases dropped to provide better throughput for higher priority traffic. format: int32 - dscp (
QosDscp
orNone
) – - shaper_configurations (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – Array of Rate limiter configurations to applied on Segment or Port. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inQosBaseRateLimiter
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inQosBaseRateLimiter
.
- links (
-
class
com.vmware.nsx_policy.model_client.
QosProfileBindingMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Base QoS Profile Binding Map
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_policy.model_client.
QosProfileListResult
(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
Paged collection of QoS profiles
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
ofQosProfile
orNone
) – QoS profiles list results
- links (
-
class
com.vmware.nsx_policy.model_client.
RAConfig
(hop_limit=None, prefix_lifetime=None, prefix_preferred_time=None, ra_interval=None, router_lifetime=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - hop_limit (
long
orNone
) – The maximum number of hops through which packets can pass before being discarded. format: int64 - prefix_lifetime (
long
orNone
) – The time interval in seconds, in which the prefix is advertised as valid. format: int64 - prefix_preferred_time (
long
orNone
) – The time interval in seconds, in which the prefix is advertised as preferred. format: int64 - ra_interval (
long
orNone
) – Interval between 2 Router advertisement in seconds. format: int64 - router_lifetime (
long
orNone
) – Router lifetime value in seconds. A value of 0 indicates the router is not a default router for the receiving end. Any other value in this field specifies the lifetime, in seconds, associated with this router as a default router. format: int64
- hop_limit (
-
class
com.vmware.nsx_policy.model_client.
RaDNSConfig
(dns_server=None, dns_server_lifetime=None, domain_name=None, domain_name_lifetime=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dns_server (
list
ofstr
orNone
) – DNS server. format: ipv6 - dns_server_lifetime (
long
orNone
) – Lifetime of DNS server in milliseconds format: int64 - domain_name (
list
ofstr
orNone
) – Domain name in RA message. - domain_name_lifetime (
long
orNone
) – Lifetime of Domain names in milliseconds format: int64
- dns_server (
-
class
com.vmware.nsx_policy.model_client.
Reaction
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, actions=None, events=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Reaction represents a programmable entity which encapsulates the events and the actions in response to the events, or simply “If This Then That”.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - actions (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – Actions that need to be taken when the events occur. These actions must appear in the order that they need to be taken in. This field can be interpreted as the HOW of the Reaction, or simply as “Then That”. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inAction
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inAction
. - events (
list
ofEvent
orNone
) – Events that provide contextual variables about what the reaction should react to. This field can be interpreted as the WHAT of the Reaction, or simply as “If This” Clause.
- links (
-
class
com.vmware.nsx_policy.model_client.
ReactionListResult
(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
Paged Collection of Reactions.
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
ofReaction
orNone
) – Reaction list results.
- links (
-
class
com.vmware.nsx_policy.model_client.
RealizedEnforcementPoint
(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, parent_path=None, path=None, relative_path=None, unique_id=None, alarms=None, intent_reference=None, realization_api=None, realization_specific_identifier=None, runtime_error=None, runtime_status=None, state=None, realized_firewalls=None, realized_groups=None, realized_services=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Realized Enforcement Point
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarms (
list
ofPolicyAlarmResource
orNone
) – Alarm info detail - intent_reference (
list
ofstr
orNone
) – Desire state paths of this object - realization_api (
str
orNone
) – Realization API of this object on enforcement point - realization_specific_identifier (
str
orNone
) – Realization id of this object - runtime_error (
str
orNone
) – It define the root cause for runtime error. - runtime_status (
str
orNone
) – Possible values could be UP, DOWN, UNKNOWN, DEGRADED This list is not exhaustive. - state (
str
orNone
) –Possible values are:
RealizedEnforcementPoint.STATE_UNAVAILABLE
RealizedEnforcementPoint.STATE_UNREALIZED
RealizedEnforcementPoint.STATE_REALIZED
RealizedEnforcementPoint.STATE_ERROR
Realization state of this object - realized_firewalls (
RealizedFirewalls
orNone
) – Root of Realized Firewalls - realized_groups (
RealizedGroups
orNone
) – Root of Realized Groups - realized_services (
RealizedServices
orNone
) – Root of Realized Services
-
STATE_ERROR
= 'ERROR'¶
-
STATE_REALIZED
= 'REALIZED'¶
-
STATE_UNAVAILABLE
= 'UNAVAILABLE'¶
-
STATE_UNREALIZED
= 'UNREALIZED'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
RealizedEnforcementPointListResult
(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
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
ofRealizedEnforcementPoint
orNone
) – Paged Collection of Enforcement Point’s
- links (
-
class
com.vmware.nsx_policy.model_client.
RealizedFirewall
(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='RealizedFirewall', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, alarms=None, intent_reference=None, realization_api=None, realization_specific_identifier=None, runtime_error=None, runtime_status=None, state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Realized firewall
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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarms (
list
ofPolicyAlarmResource
orNone
) – Alarm info detail - intent_reference (
list
ofstr
orNone
) – Desire state paths of this object - realization_api (
str
orNone
) – Realization API of this object on enforcement point - realization_specific_identifier (
str
orNone
) – Realization id of this object - runtime_error (
str
orNone
) – It define the root cause for runtime error. - runtime_status (
str
orNone
) – Possible values could be UP, DOWN, UNKNOWN, DEGRADED This list is not exhaustive. - state (
str
orNone
) –Possible values are:
RealizedFirewall.STATE_UNAVAILABLE
RealizedFirewall.STATE_UNREALIZED
RealizedFirewall.STATE_REALIZED
RealizedFirewall.STATE_ERROR
Realization state of this object
-
RESOURCE_TYPE_REALIZEDFIREWALLSECTION
= 'RealizedFirewallSection'¶
-
STATE_ERROR
= 'ERROR'¶
-
STATE_REALIZED
= 'REALIZED'¶
-
STATE_UNAVAILABLE
= 'UNAVAILABLE'¶
-
STATE_UNREALIZED
= 'UNREALIZED'¶
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
RealizedFirewallRule
(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, parent_path=None, path=None, relative_path=None, unique_id=None, alarms=None, intent_reference=None, realization_api=None, realization_specific_identifier=None, runtime_error=None, runtime_status=None, state=None, action=None, destinations=None, direction=None, disabled=None, services=None, sources=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Realized Firewall Rule
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarms (
list
ofPolicyAlarmResource
orNone
) – Alarm info detail - intent_reference (
list
ofstr
orNone
) – Desire state paths of this object - realization_api (
str
orNone
) – Realization API of this object on enforcement point - realization_specific_identifier (
str
orNone
) – Realization id of this object - runtime_error (
str
orNone
) – It define the root cause for runtime error. - runtime_status (
str
orNone
) – Possible values could be UP, DOWN, UNKNOWN, DEGRADED This list is not exhaustive. - state (
str
orNone
) –Possible values are:
RealizedFirewallRule.STATE_UNAVAILABLE
RealizedFirewallRule.STATE_UNREALIZED
RealizedFirewallRule.STATE_REALIZED
RealizedFirewallRule.STATE_ERROR
Realization state of this object - action (
str
orNone
) –Possible values are:
RealizedFirewallRule.ACTION_ALLOW
RealizedFirewallRule.ACTION_DROP
RealizedFirewallRule.ACTION_REJECT
Action enforced on the packets which matches the firewall rule.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- destinations (
list
ofResourceReference
orNone
) – List of the destinations. Null will be treated as any. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - direction (
str
orNone
) –Possible values are:
RealizedFirewallRule.DIRECTION_IN
RealizedFirewallRule.DIRECTION_OUT
RealizedFirewallRule.DIRECTION_IN_OUT
Rule direction in case of stateless firewall rules. This will only considered if section level parameter is set to stateless. Default to IN_OUT if not specified. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- disabled (
bool
orNone
) – Flag to disable rule. Disabled will only be persisted but never provisioned/realized. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - services (
list
ofResourceReference
orNone
) – List of the services. Null will be treated as any. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - sources (
list
ofResourceReference
orNone
) – List of sources. Null will be treated as any. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
ACTION_ALLOW
= 'ALLOW'¶
-
ACTION_DROP
= 'DROP'¶
-
ACTION_REJECT
= 'REJECT'¶
-
DIRECTION_IN
= 'IN'¶
-
DIRECTION_IN_OUT
= 'IN_OUT'¶
-
DIRECTION_OUT
= 'OUT'¶
-
STATE_ERROR
= 'ERROR'¶
-
STATE_REALIZED
= 'REALIZED'¶
-
STATE_UNAVAILABLE
= 'UNAVAILABLE'¶
-
STATE_UNREALIZED
= 'UNREALIZED'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
RealizedFirewallSection
(rule_count=None, rules=None, section_type=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='RealizedFirewallSection', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, alarms=None, intent_reference=None, realization_api=None, realization_specific_identifier=None, runtime_error=None, runtime_status=None, state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Realized Firewall section
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - rule_count (
long
orNone
) – Number of rules in this section. 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. - rules (
list
ofRealizedFirewallRule
orNone
) – List of firewall rules in the section. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - section_type (
str
orNone
) –Possible values are:
Type of the rules which a section can contain.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 (
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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarms (
list
ofPolicyAlarmResource
orNone
) – Alarm info detail - intent_reference (
list
ofstr
orNone
) – Desire state paths of this object - realization_api (
str
orNone
) – Realization API of this object on enforcement point - realization_specific_identifier (
str
orNone
) – Realization id of this object - runtime_error (
str
orNone
) – It define the root cause for runtime error. - runtime_status (
str
orNone
) – Possible values could be UP, DOWN, UNKNOWN, DEGRADED This list is not exhaustive. - state (
str
orNone
) –Possible values are:
RealizedFirewall.STATE_UNAVAILABLE
RealizedFirewall.STATE_UNREALIZED
RealizedFirewall.STATE_REALIZED
RealizedFirewall.STATE_ERROR
Realization state of this object
-
SECTION_TYPE_LAYER2
= 'LAYER2'¶
-
SECTION_TYPE_LAYER3
= 'LAYER3'¶
-
resource_type
¶ Return the discriminator value
- rule_count (
-
class
com.vmware.nsx_policy.model_client.
RealizedFirewallSectionListResult
(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
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
ofRealizedFirewallSection
orNone
) – Paged Collection of firewall sections 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_policy.model_client.
RealizedFirewalls
(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, parent_path=None, path=None, relative_path=None, unique_id=None, alarms=None, intent_reference=None, realization_api=None, realization_specific_identifier=None, runtime_error=None, runtime_status=None, state=None, realized_firewalls=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Realized firewalls
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarms (
list
ofPolicyAlarmResource
orNone
) – Alarm info detail - intent_reference (
list
ofstr
orNone
) – Desire state paths of this object - realization_api (
str
orNone
) – Realization API of this object on enforcement point - realization_specific_identifier (
str
orNone
) – Realization id of this object - runtime_error (
str
orNone
) – It define the root cause for runtime error. - runtime_status (
str
orNone
) – Possible values could be UP, DOWN, UNKNOWN, DEGRADED This list is not exhaustive. - state (
str
orNone
) –Possible values are:
RealizedFirewalls.STATE_UNAVAILABLE
RealizedFirewalls.STATE_UNREALIZED
RealizedFirewalls.STATE_REALIZED
RealizedFirewalls.STATE_ERROR
Realization state of this object - realized_firewalls (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – list of realized firewalls When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inRealizedFirewall
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inRealizedFirewall
. 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_ERROR
= 'ERROR'¶
-
STATE_REALIZED
= 'REALIZED'¶
-
STATE_UNAVAILABLE
= 'UNAVAILABLE'¶
-
STATE_UNREALIZED
= 'UNREALIZED'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
RealizedGroup
(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='RealizedGroup', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, alarms=None, intent_reference=None, realization_api=None, realization_specific_identifier=None, runtime_error=None, runtime_status=None, state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Realized group
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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarms (
list
ofPolicyAlarmResource
orNone
) – Alarm info detail - intent_reference (
list
ofstr
orNone
) – Desire state paths of this object - realization_api (
str
orNone
) – Realization API of this object on enforcement point - realization_specific_identifier (
str
orNone
) – Realization id of this object - runtime_error (
str
orNone
) – It define the root cause for runtime error. - runtime_status (
str
orNone
) – Possible values could be UP, DOWN, UNKNOWN, DEGRADED This list is not exhaustive. - state (
str
orNone
) –Possible values are:
RealizedGroup.STATE_UNAVAILABLE
RealizedGroup.STATE_UNREALIZED
RealizedGroup.STATE_REALIZED
RealizedGroup.STATE_ERROR
Realization state of this object
-
RESOURCE_TYPE_REALIZEDNSGROUP
= 'RealizedNSGroup'¶
-
RESOURCE_TYPE_REALIZEDSECURITYGROUP
= 'RealizedSecurityGroup'¶
-
STATE_ERROR
= 'ERROR'¶
-
STATE_REALIZED
= 'REALIZED'¶
-
STATE_UNAVAILABLE
= 'UNAVAILABLE'¶
-
STATE_UNREALIZED
= 'UNREALIZED'¶
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
RealizedGroups
(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, parent_path=None, path=None, relative_path=None, unique_id=None, alarms=None, intent_reference=None, realization_api=None, realization_specific_identifier=None, runtime_error=None, runtime_status=None, state=None, realized_groups=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Realized 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 - 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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarms (
list
ofPolicyAlarmResource
orNone
) – Alarm info detail - intent_reference (
list
ofstr
orNone
) – Desire state paths of this object - realization_api (
str
orNone
) – Realization API of this object on enforcement point - realization_specific_identifier (
str
orNone
) – Realization id of this object - runtime_error (
str
orNone
) – It define the root cause for runtime error. - runtime_status (
str
orNone
) – Possible values could be UP, DOWN, UNKNOWN, DEGRADED This list is not exhaustive. - state (
str
orNone
) –Possible values are:
RealizedGroups.STATE_UNAVAILABLE
RealizedGroups.STATE_UNREALIZED
RealizedGroups.STATE_REALIZED
RealizedGroups.STATE_ERROR
Realization state of this object - realized_groups (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – list of realized groups When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inRealizedGroup
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inRealizedGroup
. 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_ERROR
= 'ERROR'¶
-
STATE_REALIZED
= 'REALIZED'¶
-
STATE_UNAVAILABLE
= 'UNAVAILABLE'¶
-
STATE_UNREALIZED
= 'UNREALIZED'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
RealizedLogicalPort
(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, parent_path=None, path=None, relative_path=None, unique_id=None, alarms=None, intent_reference=None, realization_api=None, realization_specific_identifier=None, runtime_error=None, runtime_status=None, state=None, logical_port_id=None, status=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Realized Logical Port
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarms (
list
ofPolicyAlarmResource
orNone
) – Alarm info detail - intent_reference (
list
ofstr
orNone
) – Desire state paths of this object - realization_api (
str
orNone
) – Realization API of this object on enforcement point - realization_specific_identifier (
str
orNone
) – Realization id of this object - runtime_error (
str
orNone
) – It define the root cause for runtime error. - runtime_status (
str
orNone
) – Possible values could be UP, DOWN, UNKNOWN, DEGRADED This list is not exhaustive. - state (
str
orNone
) –Possible values are:
RealizedLogicalPort.STATE_UNAVAILABLE
RealizedLogicalPort.STATE_UNREALIZED
RealizedLogicalPort.STATE_REALIZED
RealizedLogicalPort.STATE_ERROR
Realization state of this object - logical_port_id (
str
orNone
) – The id of the logical 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. - status (
str
orNone
) –Possible values are:
The Operational status of the logical portThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
STATE_ERROR
= 'ERROR'¶
-
STATE_REALIZED
= 'REALIZED'¶
-
STATE_UNAVAILABLE
= 'UNAVAILABLE'¶
-
STATE_UNREALIZED
= 'UNREALIZED'¶
-
STATUS_DOWN
= 'DOWN'¶
-
STATUS_UNKNOWN
= 'UNKNOWN'¶
-
STATUS_UP
= 'UP'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
RealizedLogicalSwitch
(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, parent_path=None, path=None, relative_path=None, unique_id=None, alarms=None, intent_reference=None, realization_api=None, realization_specific_identifier=None, runtime_error=None, runtime_status=None, state=None, logical_switch_id=None, transport_zone_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Realized Logical Switch
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarms (
list
ofPolicyAlarmResource
orNone
) – Alarm info detail - intent_reference (
list
ofstr
orNone
) – Desire state paths of this object - realization_api (
str
orNone
) – Realization API of this object on enforcement point - realization_specific_identifier (
str
orNone
) – Realization id of this object - runtime_error (
str
orNone
) – It define the root cause for runtime error. - runtime_status (
str
orNone
) – Possible values could be UP, DOWN, UNKNOWN, DEGRADED This list is not exhaustive. - state (
str
orNone
) –Possible values are:
RealizedLogicalSwitch.STATE_UNAVAILABLE
RealizedLogicalSwitch.STATE_UNREALIZED
RealizedLogicalSwitch.STATE_REALIZED
RealizedLogicalSwitch.STATE_ERROR
Realization state of this object - logical_switch_id (
str
orNone
) – Id of the logical switch This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_zone_id (
str
orNone
) – Transport zone 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.
-
STATE_ERROR
= 'ERROR'¶
-
STATE_REALIZED
= 'REALIZED'¶
-
STATE_UNAVAILABLE
= 'UNAVAILABLE'¶
-
STATE_UNREALIZED
= 'UNREALIZED'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
RealizedNSGroup
(evaluations=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='RealizedNSGroup', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, alarms=None, intent_reference=None, realization_api=None, realization_specific_identifier=None, runtime_error=None, runtime_status=None, state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Realized Network and Security Group
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - evaluations (
list
ofRealizedNSGroupMemberEvaluation
orNone
) – Reference to the evaluated members of the NSGroup. 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 (
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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarms (
list
ofPolicyAlarmResource
orNone
) – Alarm info detail - intent_reference (
list
ofstr
orNone
) – Desire state paths of this object - realization_api (
str
orNone
) – Realization API of this object on enforcement point - realization_specific_identifier (
str
orNone
) – Realization id of this object - runtime_error (
str
orNone
) – It define the root cause for runtime error. - runtime_status (
str
orNone
) – Possible values could be UP, DOWN, UNKNOWN, DEGRADED This list is not exhaustive. - state (
str
orNone
) –Possible values are:
RealizedGroup.STATE_UNAVAILABLE
RealizedGroup.STATE_UNREALIZED
RealizedGroup.STATE_REALIZED
RealizedGroup.STATE_ERROR
Realization state of this object
-
resource_type
¶ Return the discriminator value
- evaluations (
-
class
com.vmware.nsx_policy.model_client.
RealizedNSGroupMemberEvaluation
(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, parent_path=None, path=None, relative_path=None, unique_id=None, alarms=None, intent_reference=None, realization_api=None, realization_specific_identifier=None, runtime_error=None, runtime_status=None, state=None, logical_ports=None, logical_switches=None, member_count=None, virtual_machines=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Realized NSGroup member evaluation
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarms (
list
ofPolicyAlarmResource
orNone
) – Alarm info detail - intent_reference (
list
ofstr
orNone
) – Desire state paths of this object - realization_api (
str
orNone
) – Realization API of this object on enforcement point - realization_specific_identifier (
str
orNone
) – Realization id of this object - runtime_error (
str
orNone
) – It define the root cause for runtime error. - runtime_status (
str
orNone
) – Possible values could be UP, DOWN, UNKNOWN, DEGRADED This list is not exhaustive. - state (
str
orNone
) –Possible values are:
RealizedNSGroupMemberEvaluation.STATE_UNAVAILABLE
RealizedNSGroupMemberEvaluation.STATE_UNREALIZED
RealizedNSGroupMemberEvaluation.STATE_REALIZED
RealizedNSGroupMemberEvaluation.STATE_ERROR
Realization state of this object - logical_ports (
list
ofRealizedLogicalPort
orNone
) – list of logical ports This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - logical_switches (
list
ofRealizedLogicalSwitch
orNone
) – list of logical switches This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - member_count (
long
orNone
) – Count of the members added to this NSGroup 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. - virtual_machines (
list
ofRealizedVirtualMachine
orNone
) – list of virtual machines 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_ERROR
= 'ERROR'¶
-
STATE_REALIZED
= 'REALIZED'¶
-
STATE_UNAVAILABLE
= 'UNAVAILABLE'¶
-
STATE_UNREALIZED
= 'UNREALIZED'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
RealizedNSService
(service_type=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='RealizedNSService', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, alarms=None, intent_reference=None, realization_api=None, realization_specific_identifier=None, runtime_error=None, runtime_status=None, state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Realized NSService
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - service_type (
str
orNone
) –Possible values are:
Realized nsservice typeThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- 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
) –Possible values are:
Realized services - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarms (
list
ofPolicyAlarmResource
orNone
) – Alarm info detail - intent_reference (
list
ofstr
orNone
) – Desire state paths of this object - realization_api (
str
orNone
) – Realization API of this object on enforcement point - realization_specific_identifier (
str
orNone
) – Realization id of this object - runtime_error (
str
orNone
) – It define the root cause for runtime error. - runtime_status (
str
orNone
) – Possible values could be UP, DOWN, UNKNOWN, DEGRADED This list is not exhaustive. - state (
str
orNone
) –Possible values are:
RealizedService.STATE_UNAVAILABLE
RealizedService.STATE_UNREALIZED
RealizedService.STATE_REALIZED
RealizedService.STATE_ERROR
Realization state of this object
-
SERVICE_TYPE_SERVICE
= 'SERVICE'¶
-
SERVICE_TYPE_SERVICE_GROUP
= 'SERVICE_GROUP'¶
-
resource_type
¶ Return the discriminator value
- service_type (
-
class
com.vmware.nsx_policy.model_client.
RealizedSecurityGroup
(evaluations=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='RealizedSecurityGroup', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, alarms=None, intent_reference=None, realization_api=None, realization_specific_identifier=None, runtime_error=None, runtime_status=None, state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Realized Network and Security Group
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - evaluations (
list
ofRealizedSecurityGroupMemberEvaluation
orNone
) – Reference to the evaluted members of the Security 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. - 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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarms (
list
ofPolicyAlarmResource
orNone
) – Alarm info detail - intent_reference (
list
ofstr
orNone
) – Desire state paths of this object - realization_api (
str
orNone
) – Realization API of this object on enforcement point - realization_specific_identifier (
str
orNone
) – Realization id of this object - runtime_error (
str
orNone
) – It define the root cause for runtime error. - runtime_status (
str
orNone
) – Possible values could be UP, DOWN, UNKNOWN, DEGRADED This list is not exhaustive. - state (
str
orNone
) –Possible values are:
RealizedGroup.STATE_UNAVAILABLE
RealizedGroup.STATE_UNREALIZED
RealizedGroup.STATE_REALIZED
RealizedGroup.STATE_ERROR
Realization state of this object
-
resource_type
¶ Return the discriminator value
- evaluations (
-
class
com.vmware.nsx_policy.model_client.
RealizedSecurityGroupListResult
(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
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
ofRealizedSecurityGroup
orNone
) – Paged Collection of realized Security Groups 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_policy.model_client.
RealizedSecurityGroupMemberEvaluation
(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, parent_path=None, path=None, relative_path=None, unique_id=None, alarms=None, intent_reference=None, realization_api=None, realization_specific_identifier=None, runtime_error=None, runtime_status=None, state=None, member_count=None, virtual_machines=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Realized Security Group member evaluation
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarms (
list
ofPolicyAlarmResource
orNone
) – Alarm info detail - intent_reference (
list
ofstr
orNone
) – Desire state paths of this object - realization_api (
str
orNone
) – Realization API of this object on enforcement point - realization_specific_identifier (
str
orNone
) – Realization id of this object - runtime_error (
str
orNone
) – It define the root cause for runtime error. - runtime_status (
str
orNone
) – Possible values could be UP, DOWN, UNKNOWN, DEGRADED This list is not exhaustive. - state (
str
orNone
) –Possible values are:
RealizedSecurityGroupMemberEvaluation.STATE_UNAVAILABLE
RealizedSecurityGroupMemberEvaluation.STATE_UNREALIZED
RealizedSecurityGroupMemberEvaluation.STATE_REALIZED
RealizedSecurityGroupMemberEvaluation.STATE_ERROR
Realization state of this object - member_count (
long
orNone
) – Count of the members added to this Security Group 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. - virtual_machines (
list
ofRealizedVirtualMachine
orNone
) – list of virtual machines 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_ERROR
= 'ERROR'¶
-
STATE_REALIZED
= 'REALIZED'¶
-
STATE_UNAVAILABLE
= 'UNAVAILABLE'¶
-
STATE_UNREALIZED
= 'UNREALIZED'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
RealizedService
(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='RealizedService', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, alarms=None, intent_reference=None, realization_api=None, realization_specific_identifier=None, runtime_error=None, runtime_status=None, state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Realized Service
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
) –Possible values are:
Realized services - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarms (
list
ofPolicyAlarmResource
orNone
) – Alarm info detail - intent_reference (
list
ofstr
orNone
) – Desire state paths of this object - realization_api (
str
orNone
) – Realization API of this object on enforcement point - realization_specific_identifier (
str
orNone
) – Realization id of this object - runtime_error (
str
orNone
) – It define the root cause for runtime error. - runtime_status (
str
orNone
) – Possible values could be UP, DOWN, UNKNOWN, DEGRADED This list is not exhaustive. - state (
str
orNone
) –Possible values are:
RealizedService.STATE_UNAVAILABLE
RealizedService.STATE_UNREALIZED
RealizedService.STATE_REALIZED
RealizedService.STATE_ERROR
Realization state of this object
-
RESOURCE_TYPE_REALIZEDNSSERVICE
= 'RealizedNSService'¶
-
STATE_ERROR
= 'ERROR'¶
-
STATE_REALIZED
= 'REALIZED'¶
-
STATE_UNAVAILABLE
= 'UNAVAILABLE'¶
-
STATE_UNREALIZED
= 'UNREALIZED'¶
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
RealizedServices
(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, parent_path=None, path=None, relative_path=None, unique_id=None, alarms=None, intent_reference=None, realization_api=None, realization_specific_identifier=None, runtime_error=None, runtime_status=None, state=None, realized_services=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Realized services
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarms (
list
ofPolicyAlarmResource
orNone
) – Alarm info detail - intent_reference (
list
ofstr
orNone
) – Desire state paths of this object - realization_api (
str
orNone
) – Realization API of this object on enforcement point - realization_specific_identifier (
str
orNone
) – Realization id of this object - runtime_error (
str
orNone
) – It define the root cause for runtime error. - runtime_status (
str
orNone
) – Possible values could be UP, DOWN, UNKNOWN, DEGRADED This list is not exhaustive. - state (
str
orNone
) –Possible values are:
RealizedServices.STATE_UNAVAILABLE
RealizedServices.STATE_UNREALIZED
RealizedServices.STATE_REALIZED
RealizedServices.STATE_ERROR
Realization state of this object - realized_services (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – List of realized services When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inRealizedService
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inRealizedService
. 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_ERROR
= 'ERROR'¶
-
STATE_REALIZED
= 'REALIZED'¶
-
STATE_UNAVAILABLE
= 'UNAVAILABLE'¶
-
STATE_UNREALIZED
= 'UNREALIZED'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
RealizedVirtualMachine
(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, parent_path=None, path=None, relative_path=None, unique_id=None, alarms=None, intent_reference=None, realization_api=None, realization_specific_identifier=None, runtime_error=None, runtime_status=None, state=None, compute_ids=None, host_id=None, local_id_on_host=None, power_state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Realized Virtual Machine
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - alarms (
list
ofPolicyAlarmResource
orNone
) – Alarm info detail - intent_reference (
list
ofstr
orNone
) – Desire state paths of this object - realization_api (
str
orNone
) – Realization API of this object on enforcement point - realization_specific_identifier (
str
orNone
) – Realization id of this object - runtime_error (
str
orNone
) – It define the root cause for runtime error. - runtime_status (
str
orNone
) – Possible values could be UP, DOWN, UNKNOWN, DEGRADED This list is not exhaustive. - state (
str
orNone
) –Possible values are:
RealizedVirtualMachine.STATE_UNAVAILABLE
RealizedVirtualMachine.STATE_UNREALIZED
RealizedVirtualMachine.STATE_REALIZED
RealizedVirtualMachine.STATE_ERROR
Realization state of this object - compute_ids (
list
ofstr
orNone
) – List of external compute ids of the virtual machine in the format ‘id-type-key:value’ , list of external compute ids [‘uuid:xxxx-xxxx-xxxx-xxxx’, ‘moIdOnHost:moref-11’, ‘instanceUuid:xxxx-xxxx-xxxx-xxxx’] This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - host_id (
str
orNone
) – Id of the host on which the vm exists. 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_id_on_host (
str
orNone
) – Id of the vm unique within the host. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - power_state (
str
orNone
) –Possible values are:
RealizedVirtualMachine.POWER_STATE_VM_RUNNING
RealizedVirtualMachine.POWER_STATE_VM_STOPPED
RealizedVirtualMachine.POWER_STATE_VM_SUSPENDED
RealizedVirtualMachine.POWER_STATE_UNKNOWN
Current power state of this virtual machine in the system.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
POWER_STATE_UNKNOWN
= 'UNKNOWN'¶
-
POWER_STATE_VM_RUNNING
= 'VM_RUNNING'¶
-
POWER_STATE_VM_STOPPED
= 'VM_STOPPED'¶
-
POWER_STATE_VM_SUSPENDED
= 'VM_SUSPENDED'¶
-
STATE_ERROR
= 'ERROR'¶
-
STATE_REALIZED
= 'REALIZED'¶
-
STATE_UNAVAILABLE
= 'UNAVAILABLE'¶
-
STATE_UNREALIZED
= 'UNREALIZED'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
RealizedVirtualMachineListResult
(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
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
ofRealizedVirtualMachine
orNone
) – Paged Collection of VMs
- links (
-
class
com.vmware.nsx_policy.model_client.
RedirectionPolicy
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, category=None, comments=None, internal_sequence_number=None, is_default=None, lock_modified_by=None, lock_modified_time=None, locked=None, rule_count=None, scheduler_path=None, scope=None, sequence_number=None, stateful=None, tcp_strict=None, north_south=None, redirect_to=None, rules=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Ordered list of rules long with the path of PolicyServiceInstance to which the traffic needs to be redirected. | Please note that the scope property must be provided for NS redirection | policy if redirect to is a service chain. For NS, when redirect to is not | to the service chain, and scope is specified on RedirectionPolicy, it | will be ignored. The scope will be determined from redirect to path | instead. For EW policy, scope must not be supplied in the request. | Path to either Tier0 or Tier1 is allowed as the scope. Only 1 path | can be specified as a scope. | Also, note that, if stateful flag is not sent, it will be treated as true. If statelessness is intended, false must be sent explicitly as the value | for stateful field.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - category (
str
orNone
) –- Distributed Firewall - Policy framework provides five pre-defined
categories for classifying a security policy. They are “Ethernet”,”Emergency”, “Infrastructure” “Environment” and “Application”. There is a pre-determined order in which the policy framework manages the priority of these security policies. Ethernet category is for supporting layer 2 firewall rules. The other four categories are applicable for layer 3 rules. Amongst them, the Emergency category has the highest priority followed by Infrastructure, Environment and then Application rules. Administrator can choose to categorize a security policy into the above categories or can choose to leave it empty. If empty it will have the least precedence w.r.t the above four categories. - Edge Firewall - Policy Framework for Edge Firewall provides six pre-defined categories “Emergency”, “SystemRules”, “SharedPreRules”, “LocalGatewayRules”, “AutoServiceRules” and “Default”, in order of priority of rules. All categories are allowed for Gatetway Policies that belong to ‘default’ Domain. However, for user created domains, category is restricted to “SharedPreRules” or “LocalGatewayRules” only. Also, the users can add/modify/delete rules from only the “SharedPreRules” and “LocalGatewayRules” categories. If user doesn’t specify the category then defaulted to “Rules”. System generated category is used by NSX created rules, for example BFD rules. Autoplumbed category used by NSX verticals to autoplumb data path rules. Finally, “Default” category is the placeholder default rules with lowest in the order of priority.
- comments (
str
orNone
) – Comments for security policy lock/unlock. - internal_sequence_number (
long
orNone
) – This field is to indicate the internal sequence number of a policy with respect to the policies across categories. 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. - is_default (
bool
orNone
) – A flag to indicate whether policy is a default policy. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lock_modified_by (
str
orNone
) – ID of the user who last modified the lock for the secruity policy. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lock_modified_time (
long
orNone
) – SecurityPolicy locked/unlocked time in epoch milliseconds. format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - locked (
bool
orNone
) – Indicates whether a security policy should be locked. If the security policy is locked by a user, then no other user would be able to modify this security policy. Once the user releases the lock, other users can update this security policy. - rule_count (
long
orNone
) – The count of rules in the policy. 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. - scheduler_path (
str
orNone
) – Provides a mechanism to apply the rules in this policy for a specified time duration. - scope (
list
ofstr
orNone
) – The list of group paths where the rules in this policy will get applied. This scope will take precedence over rule level scope. Supported only for security and redirection policies. In case of RedirectionPolicy, it is expected only when the policy is NS and redirecting to service chain. - sequence_number (
long
orNone
) – This field is used to resolve conflicts between security policies across domains. In order to change the sequence number of a policy one can fire a POST request on the policy entity with a query parameter action=revise The sequence number field will reflect the value of the computed sequence number upon execution of the above mentioned POST request. For scenarios where the administrator is using a template to update several security policies, the only way to set the sequence number is to explicitly specify the sequence number for each security policy. If no sequence number is specified in the payload, a value of 0 is assigned by default. If there are multiple policies with the same sequence number then their order is not deterministic. If a specific order of policies is desired, then one has to specify unique sequence numbers or use the POST request on the policy entity with a query parameter action=revise to let the framework assign a sequence number format: int32 - stateful (
bool
orNone
) – Stateful or Stateless nature of security policy is enforced on all rules in this security policy. When it is stateful, the state of the network connects are tracked and a stateful packet inspection is performed. Layer3 security policies can be stateful or stateless. By default, they are stateful. Layer2 security policies can only be stateless. - tcp_strict (
bool
orNone
) – Ensures that a 3 way TCP handshake is done before the data packets are sent. tcp_strict=true is supported only for stateful security policies. If the tcp_strict flag is not specified and the security policy is stateful, then tcp_strict will be set to true. - north_south (
bool
orNone
) – This is the read only flag which will state the direction of this | redirection policy. True denotes that it is NORTH-SOUTH and false | value means it is an EAST-WEST redirection policy. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - redirect_to (
list
ofstr
orNone
) – Paths to which traffic will be redirected to. As of now, only 1 is | supported. Paths allowed are | 1. Policy Service Instance | 2. Service Instance Endpoint | 3. Virtual Endpoint | 4. Policy Service Chain - rules (
list
ofRedirectionRule
orNone
) – Redirection rules that are a part of this RedirectionPolicy. At max, there can be 1000 rules in a given RedirectPolicy.
- links (
-
class
com.vmware.nsx_policy.model_client.
RedirectionPolicyListResult
(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
Paged Collection of Redirection Policies
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
ofRedirectionPolicy
orNone
) – Redirection policy list results
- links (
-
class
com.vmware.nsx_policy.model_client.
RedirectionRule
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, destination_groups=None, destinations_excluded=None, direction=None, disabled=None, ip_protocol=None, is_default=None, logged=None, notes=None, profiles=None, rule_id=None, scope=None, sequence_number=None, service_entries=None, services=None, source_groups=None, sources_excluded=None, tag=None, action=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
It define redirection rule for service insertion
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - destination_groups (
list
ofstr
orNone
) – We need paths as duplicate names may exist for groups under different domains. Along with paths we support IP Address of type IPv4 and IPv6. IP Address can be in one of the format(CIDR, IP Address, Range of IP Address). In order to specify all groups, use the constant “ANY”. This is case insensitive. If “ANY” is used, it should be the ONLY element in the group array. Error will be thrown if ANY is used in conjunction with other values. - destinations_excluded (
bool
orNone
) – If set to true, the rule gets applied on all the groups that are NOT part of the destination groups. If false, the rule applies to the destination groups - direction (
str
orNone
) –Possible values are:
Define direction of traffic. - disabled (
bool
orNone
) – Flag to disable the rule. Default is enabled. - ip_protocol (
str
orNone
) –Possible values are:
RedirectionRule.IP_PROTOCOL_IPV4
RedirectionRule.IP_PROTOCOL_IPV6
RedirectionRule.IP_PROTOCOL_IPV4_IPV6
Type of IP packet that should be matched while enforcing the rule. The value is set to IPV4_IPV6 for Layer3 rule if not specified. For Layer2/Ether rule the value must be null.
- is_default (
bool
orNone
) – A flag to indicate whether rule is a default rule. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - logged (
bool
orNone
) – Flag to enable packet logging. Default is disabled. - notes (
str
orNone
) – Text for additional notes on changes. - profiles (
list
ofstr
orNone
) – Holds the list of layer 7 service profile paths. These profiles accept attributes and sub-attributes of various network services (e.g. L4 AppId, encryption algorithm, domain name, etc) as key value pairs. - rule_id (
long
orNone
) – This is a unique 4 byte positive number that is assigned by the system. This rule id is passed all the way down to the data path. The first 1GB (1000 to 2^30) will be shared by GM and LM with zebra style striped number space. For E.g 1000 to (1Million -1) by LM, (1M - 2M-1) by GM and so on. 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. - scope (
list
ofstr
orNone
) – The list of policy paths where the rule is applied LR/Edge/T0/T1/LRP etc. Note that a given rule can be applied on multiple LRs/LRPs. - sequence_number (
long
orNone
) – This field is used to resolve conflicts between multiple Rules under Security or Gateway Policy for a Domain If no sequence number is specified in the payload, a value of 0 is assigned by default. If there are multiple rules with the same sequence number then their order is not deterministic. If a specific order of rules is desired, then one has to specify unique sequence numbers or use the POST request on the rule entity with a query parameter action=revise to let the framework assign a sequence number format: int32 - service_entries (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – In order to specify raw services this can be used, along with services which contains path to services. This can be empty or null. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inServiceEntry
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inServiceEntry
. - services (
list
ofstr
orNone
) – In order to specify all services, use the constant “ANY”. This is case insensitive. If “ANY” is used, it should be the ONLY element in the services array. Error will be thrown if ANY is used in conjunction with other values. - source_groups (
list
ofstr
orNone
) – We need paths as duplicate names may exist for groups under different domains. Along with paths we support IP Address of type IPv4 and IPv6. IP Address can be in one of the format(CIDR, IP Address, Range of IP Address). In order to specify all groups, use the constant “ANY”. This is case insensitive. If “ANY” is used, it should be the ONLY element in the group array. Error will be thrown if ANY is used in conjunction with other values. - sources_excluded (
bool
orNone
) – If set to true, the rule gets applied on all the groups that are NOT part of the source groups. If false, the rule applies to the source groups - tag (
str
orNone
) – User level field which will be printed in CLI and packet logs. - action (
str
orNone
) –Possible values are:
The action to be applied to all the services
-
ACTION_DO_NOT_REDIRECT
= 'DO_NOT_REDIRECT'¶
-
ACTION_REDIRECT
= 'REDIRECT'¶
-
DIRECTION_IN
= 'IN'¶
-
DIRECTION_IN_OUT
= 'IN_OUT'¶
-
DIRECTION_OUT
= 'OUT'¶
-
IP_PROTOCOL_IPV4
= 'IPV4'¶
-
IP_PROTOCOL_IPV4_IPV6
= 'IPV4_IPV6'¶
-
IP_PROTOCOL_IPV6
= 'IPV6'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
RedirectionRuleListResult
(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
Paged Collection of RedirectionRules
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
ofRedirectionRule
orNone
) – RedirectionRule list results
- links (
-
class
com.vmware.nsx_policy.model_client.
RegistrationToken
(roles=None, token=None, user=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Appliance registration access token
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - roles (
list
ofstr
orNone
) – List results - token (
str
orNone
) – Access token - user (
str
orNone
) – User delegated by token
- roles (
-
class
com.vmware.nsx_policy.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_policy.model_client.
RelatedAttribute
(attribute=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Related attribute on the target resource for conditional constraints based on related attribute value. Example - destinationGroups/service/action is related attribute of sourceGroups in communcation entry.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: attribute ( str
orNone
) – Related attribute name on the target entity.
-
class
com.vmware.nsx_policy.model_client.
RelatedAttributeConditionalExpression
(condition=None, related_attribute=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='RelatedAttributeConditionalExpression', tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents the leaf level type expression to express constraint as value of realted attribute to the target. Example - Constraint traget attribute ‘X’ (example in Constraint), if destinationGroups contains ‘vCeneter’ then allow only values “HTTPS”, “HTTP” for attribute X. { “target”:{ “target_resource_type”:”CommunicationEntry”, “attribute”:”services”, “path_prefix”: “/infra/domains/{{DOMAIN}}/edge-communication-maps/default/communication-entries/” }, “constraint_expression”: { “resource_type”: “RelatedAttributeConditionalExpression”, “related_attribute”:{ “attribute”:”destinationGroups” }, “condition” : { “operator”:”INCLUDES”, “rhs_value”: [“/infra/domains/mgw/groups/VCENTER”], “value_constraint”: { “resource_type”: “ValueConstraintExpression”, “operator”:”INCLUDES”, “values”:[“/infra/services/HTTP”, “/infra/services/HTTPS”] } } } }
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - condition (
ConditionalValueConstraintExpression
orNone
) – Conditional value expression for target based on realted attribute value. - related_attribute (
RelatedAttribute
orNone
) – Related attribute. - 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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
resource_type
¶ Return the discriminator value
- condition (
-
class
com.vmware.nsx_policy.model_client.
RemoteFileServer
(directory_path=None, port=None, protocol=None, server=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Remote file server
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - directory_path (
str
orNone
) – Remote server directory to copy bundle files to - port (
long
orNone
) – Server port format: int64 - protocol (
FileTransferProtocol
orNone
) – Protocol to use to copy file - server (
str
orNone
) – Remote server hostname or IP address format: hostname-or-ip
- directory_path (
-
class
com.vmware.nsx_policy.model_client.
RemoteServerFingerprint
(port=None, server=None, ssh_fingerprint=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Remote server
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - port (
long
orNone
) – Server port format: int64 - server (
str
orNone
) – Remote server hostname or IP address format: hostname-or-ip - ssh_fingerprint (
str
orNone
) – SSH fingerprint of server
- port (
-
class
com.vmware.nsx_policy.model_client.
RemoteServerFingerprintRequest
(port=None, server=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Remote server
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - port (
long
orNone
) – Server port format: int64 - server (
str
orNone
) – Remote server hostname or IP address format: hostname-or-ip
- port (
-
class
com.vmware.nsx_policy.model_client.
RenderConfiguration
(color=None, condition=None, display_value=None, icons=None, tooltip=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Render configuration to be applied to the widget.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - color (
str
orNone
) –Possible values are:
RenderConfiguration.COLOR_GREY
RenderConfiguration.COLOR_DARK_GREY
RenderConfiguration.COLOR_LIGHT_GREY
RenderConfiguration.COLOR_SKY_BLUE
RenderConfiguration.COLOR_BLUE
RenderConfiguration.COLOR_GREEN
RenderConfiguration.COLOR_YELLOW
RenderConfiguration.COLOR_RED
RenderConfiguration.COLOR_DARK_RED
The color to use when rendering an entity. For example, set color as ‘RED’ to render a portion of donut in red.
- condition (
str
orNone
) – If the condition is met then the rendering specified for the condition will be applied. Examples of expression syntax are provided under ‘example_request’ section of ‘CreateWidgetConfiguration’ API. - display_value (
str
orNone
) – If specified, overrides the field value. This can be used to display a meaningful value in situations where field value is not available or not configured. - icons (
list
ofIcon
orNone
) – Icons to be applied at dashboard for widgets and UI elements. - tooltip (
list
ofTooltip
orNone
) – Multi-line text to be shown on tooltip while hovering over the UI element if the condition is met.
-
COLOR_BLUE
= 'BLUE'¶
-
COLOR_DARK_GREY
= 'DARK_GREY'¶
-
COLOR_DARK_RED
= 'DARK_RED'¶
-
COLOR_GREEN
= 'GREEN'¶
-
COLOR_GREY
= 'GREY'¶
-
COLOR_LIGHT_GREY
= 'LIGHT_GREY'¶
-
COLOR_RED
= 'RED'¶
-
COLOR_SKY_BLUE
= 'SKY_BLUE'¶
-
COLOR_YELLOW
= 'YELLOW'¶
- color (
-
class
com.vmware.nsx_policy.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_policy.model_client.
ResourceFieldPointer
(field_pointer=None, path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Resource Field Pointer representing the exact value within a policy object.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - field_pointer (
str
orNone
) – Field Pointer referencing the exact field within the policy object. - path (
str
orNone
) – Policy Path referencing a policy object. If not supplied, the field pointer will be applied to the event source.
- field_pointer (
-
class
com.vmware.nsx_policy.model_client.
ResourceInfo
(resource_ids=None, resource_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
It represents the resource information which could identify resource.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - resource_ids (
list
ofstr
orNone
) – It will represent resource identifiers. For example, policy objects will be represented with paths and virtual machine will be represented with external ids. - resource_type (
str
orNone
) – It will represent resource type on which tag bulk operation to be performed. Supported resource type is VirtualMachine.
- resource_ids (
-
class
com.vmware.nsx_policy.model_client.
ResourceInfoListResult
(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
Collection of resource info 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 - 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
ofPolicyFineTuningResourceInfo
orNone
) – Resource info list results
- links (
-
class
com.vmware.nsx_policy.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_policy.model_client.
ResourceOperation
(operation_types=None, resource_pointer=None, resource_type='ResourceOperation')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Resource Operation is an Event Source that represents a resource that is being changed at very specific points of time, with regard to its interaction with dao layer.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - operation_types (
list
ofstr
orNone
) –Possible values are:
ResourceOperation.OPERATION_TYPES_POST_CREATE
ResourceOperation.OPERATION_TYPES_POST_UPDATE
ResourceOperation.OPERATION_TYPES_PRE_DELETE
Operation types. - resource_pointer (
str
orNone
) – Regex path representing a regex expression on resources. This regex is used to identify the object(s) that is/are the source of the Event. For instance: specifying “Lb* | /infra/tier-0s/vmc/ipsec-vpn-services/default” as a source means that ANY resource starting with Lb or ANY resource with “/infra/tier-0s/vmc/ipsec-vpn-services/default” as path would be the source of the event in question. - resource_type (
str
) –Possible values are:
Event Source resource type.
-
OPERATION_TYPES_POST_CREATE
= 'POST_CREATE'¶
-
OPERATION_TYPES_POST_UPDATE
= 'POST_UPDATE'¶
-
OPERATION_TYPES_PRE_DELETE
= 'PRE_DELETE'¶
-
resource_type
¶ Return the discriminator value
- operation_types (
-
class
com.vmware.nsx_policy.model_client.
ResourceReference
(is_valid=None, target_display_name=None, target_id=None, target_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A weak reference to an NSX resource.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - is_valid (
bool
orNone
) – Will be set to false if the referenced NSX resource has been deleted. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - target_display_name (
str
orNone
) – Display name of the NSX 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. - target_id (
str
orNone
) – Identifier of the NSX resource. - target_type (
str
orNone
) – Type of the NSX resource.
- is_valid (
-
class
com.vmware.nsx_policy.model_client.
ResourceTagStatus
(details=None, resource_display_name=None, resource_id=None, tag_status=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
It represents tag operation status for a resource and details of the failure if any.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - details (
str
orNone
) – Details about the error if any - resource_display_name (
str
orNone
) – Resource display name - resource_id (
str
orNone
) – Resource id - tag_status (
str
orNone
) –Possible values are:
Status of tag apply or remove operation
-
TAG_STATUS_ERROR
= 'Error'¶
-
TAG_STATUS_SUCCESS
= 'Success'¶
- details (
-
class
com.vmware.nsx_policy.model_client.
ResourceTypeTagStatus
(resource_tag_status=None, resource_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tag operation status for particular resource type and resource ids.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - resource_tag_status (
list
ofResourceTagStatus
orNone
) – List of resources on which tag needs to be applied - resource_type (
str
orNone
) – Resource type
- resource_tag_status (
-
class
com.vmware.nsx_policy.model_client.
RestoreConfiguration
(passphrase=None, remote_file_server=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Configuration where backup files are stored for restore
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - passphrase (
str
orNone
) – Passphrase used to encrypt backup files. - remote_file_server (
RemoteFileServer
orNone
) – The server from which backup files will be retrieved for restore.
- passphrase (
-
class
com.vmware.nsx_policy.model_client.
RestoreStep
(description=None, status=None, step_number=None, value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Restore step info
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - description (
str
orNone
) – Restore step description This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - status (
PerStepRestoreStatus
orNone
) – - step_number (
long
orNone
) – Restore step number 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. - value (
str
orNone
) – Restore step value 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 (
-
class
com.vmware.nsx_policy.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_policy.model_client.
Role
(role=None, role_display_name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - role (
str
orNone
) – Short identifier for the role. Must be all lower case with no spaces. - role_display_name (
str
orNone
) – A short, human-friendly display name of the role.
- role (
-
class
com.vmware.nsx_policy.model_client.
RoleBinding
(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, identity_source_id=None, identity_source_type=None, name=None, roles=None, stale=None, type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
User/Group’s role binding
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 - identity_source_id (
str
orNone
) – The ID of the external identity source that holds the referenced external entity. Currently, only external LDAP servers are allowed. - identity_source_type (
str
orNone
) –Possible values are:
Identity source type - name (
str
orNone
) – User/Group’s 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. - roles (
list
ofRole
orNone
) – Roles This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - stale (
str
orNone
) –Possible values are:
Property ‘stale’ can be considered to have these values - absent - This type of rolebinding does not support stale property TRUE - Rolebinding is stale in vIDM meaning the user is no longer present in vIDM FALSE - Rolebinding is available in vIDM UNKNOWN - Rolebinding’s state of staleness in unknown Once rolebindings become stale, they can be deleted using the API POST /aaa/role-bindings?action=delete_stale_bindings 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
) –Possible values are:
RoleBinding.TYPE_REMOTE_USER
RoleBinding.TYPE_REMOTE_GROUP
RoleBinding.TYPE_LOCAL_USER
RoleBinding.TYPE_PRINCIPAL_IDENTITY
TypeThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
IDENTITY_SOURCE_TYPE_LDAP
= 'LDAP'¶
-
IDENTITY_SOURCE_TYPE_VIDM
= 'VIDM'¶
-
STALE_FALSE
= 'FALSE'¶
-
STALE_TRUE
= 'TRUE'¶
-
STALE_UNKNOWN
= 'UNKNOWN'¶
-
TYPE_LOCAL_USER
= 'local_user'¶
-
TYPE_PRINCIPAL_IDENTITY
= 'principal_identity'¶
-
TYPE_REMOTE_GROUP
= 'remote_group'¶
-
TYPE_REMOTE_USER
= 'remote_user'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
RoleBindingListResult
(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
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
ofRoleBinding
orNone
) – List results
- links (
-
class
com.vmware.nsx_policy.model_client.
RoleListResult
(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
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
ofRole
orNone
) – List results
- links (
-
class
com.vmware.nsx_policy.model_client.
RoleWithFeatures
(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, features=None, role=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Role
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 - features (
list
ofFeaturePermission
orNone
) – Features - role (
str
orNone
) – Short identifier for the role. Must be all lower case with no spaces. 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_policy.model_client.
RoleWithFeaturesListResult
(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
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
ofRoleWithFeatures
orNone
) – List results
- links (
-
class
com.vmware.nsx_policy.model_client.
RouteAdvertisementRule
(action=None, name=None, prefix_operator=None, route_advertisement_types=None, subnets=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Route advertisement rules and filtering
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - action (
str
orNone
) –Possible values are:
Action to advertise filtered routes to the connected Tier0 gateway. PERMIT: Enables the advertisment DENY: Disables the advertisement
- name (
str
orNone
) – Display name should be unique. - prefix_operator (
str
orNone
) –Possible values are:
Prefix operator to filter subnets. GE prefix operator filters all the routes with prefix length greater than or equal to the subnets configured. EQ prefix operator filter all the routes with prefix length equal to the subnets configured.
- route_advertisement_types (
list
ofstr
orNone
) –Possible values are:
RouteAdvertisementRule.ROUTE_ADVERTISEMENT_TYPES_STATIC_ROUTES
RouteAdvertisementRule.ROUTE_ADVERTISEMENT_TYPES_CONNECTED
RouteAdvertisementRule.ROUTE_ADVERTISEMENT_TYPES_NAT
RouteAdvertisementRule.ROUTE_ADVERTISEMENT_TYPES_LB_VIP
RouteAdvertisementRule.ROUTE_ADVERTISEMENT_TYPES_LB_SNAT
RouteAdvertisementRule.ROUTE_ADVERTISEMENT_TYPES_DNS_FORWARDER_IP
RouteAdvertisementRule.ROUTE_ADVERTISEMENT_TYPES_IPSEC_LOCAL_ENDPOINT
Enable different types of route advertisements. When not specified, routes to IPSec VPN local-endpoint subnets (TIER1_IPSEC_LOCAL_ENDPOINT) are automatically advertised.
- subnets (
list
ofstr
orNone
) – Network CIDRs to be routed. format: ip-cidr-block
-
ACTION_DENY
= 'DENY'¶
-
ACTION_PERMIT
= 'PERMIT'¶
-
PREFIX_OPERATOR_EQ
= 'EQ'¶
-
PREFIX_OPERATOR_GE
= 'GE'¶
-
ROUTE_ADVERTISEMENT_TYPES_CONNECTED
= 'TIER1_CONNECTED'¶
-
ROUTE_ADVERTISEMENT_TYPES_DNS_FORWARDER_IP
= 'TIER1_DNS_FORWARDER_IP'¶
-
ROUTE_ADVERTISEMENT_TYPES_IPSEC_LOCAL_ENDPOINT
= 'TIER1_IPSEC_LOCAL_ENDPOINT'¶
-
ROUTE_ADVERTISEMENT_TYPES_LB_SNAT
= 'TIER1_LB_SNAT'¶
-
ROUTE_ADVERTISEMENT_TYPES_LB_VIP
= 'TIER1_LB_VIP'¶
-
ROUTE_ADVERTISEMENT_TYPES_NAT
= 'TIER1_NAT'¶
-
ROUTE_ADVERTISEMENT_TYPES_STATIC_ROUTES
= 'TIER1_STATIC_ROUTES'¶
- action (
-
class
com.vmware.nsx_policy.model_client.
RouteAggregationEntry
(prefix=None, summary_only=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
List of routes to be aggregated
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - prefix (
str
orNone
) – CIDR of aggregate address format: ip-cidr-block - summary_only (
bool
orNone
) – Send only summarized route. Summarization reduces number of routes advertised by representing multiple related routes with prefix property.
- prefix (
-
class
com.vmware.nsx_policy.model_client.
RouteBasedIPSecVpnSession
(force_whitelisting=None, tunnel_interfaces=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='RouteBasedIPSecVpnSession', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, authentication_mode=None, compliance_suite=None, connection_initiation_mode=None, dpd_profile_path=None, enabled=None, ike_profile_path=None, local_endpoint_path=None, peer_address=None, peer_id=None, psk=None, tcp_mss_clamping=None, tunnel_profile_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A Route Based VPN is more flexible, more powerful and recommended over policy based VPN. IP Tunnel port is created and all traffic routed via tunnel port is protected. Routes can be configured statically or can be learned through BGP. A route based VPN is must for establishing redundant VPN session to remote site.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - force_whitelisting (
bool
orNone
) – If true the default firewall rule Action is set to DROP, otherwise set to ALLOW. This filed is deprecated and recommended to change Rule action filed. Note that this filed is not synchornied with default rule field. - tunnel_interfaces (
list
ofIPSecVpnTunnelInterface
orNone
) – IP Tunnel interfaces. - 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
) –Possible values are:
IPSecVpnSession.RESOURCE_TYPE_POLICYBASEDIPSECVPNSESSION
IPSecVpnSession.RESOURCE_TYPE_ROUTEBASEDIPSECVPNSESSION
A Policy Based VPN requires to define protect rules that match local and peer subnets. IPSec security associations is negotiated for each pair of local and peer subnet. A Route Based VPN is more flexible, more powerful and recommended over policy based VPN. IP Tunnel port is created and all traffic routed via tunnel port is protected. Routes can be configured statically or can be learned through BGP. A route based VPN is must for establishing redundant VPN session to remote site.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - authentication_mode (
str
orNone
) –Possible values are:
Peer authentication mode. PSK - In this mode a secret key shared between local and peer sites is to be used for authentication. The secret key can be a string with a maximum length of 128 characters. CERTIFICATE - In this mode a certificate defined at the global level is to be used for authentication.
- compliance_suite (
str
orNone
) –Possible values are:
IPSecVpnSession.COMPLIANCE_SUITE_CNSA
IPSecVpnSession.COMPLIANCE_SUITE_SUITE_B_GCM_128
IPSecVpnSession.COMPLIANCE_SUITE_SUITE_B_GCM_256
IPSecVpnSession.COMPLIANCE_SUITE_PRIME
IPSecVpnSession.COMPLIANCE_SUITE_FOUNDATION
IPSecVpnSession.COMPLIANCE_SUITE_FIPS
IPSecVpnSession.COMPLIANCE_SUITE_NONE
Compliance suite. - connection_initiation_mode (
str
orNone
) –Possible values are:
IPSecVpnSession.CONNECTION_INITIATION_MODE_INITIATOR
IPSecVpnSession.CONNECTION_INITIATION_MODE_RESPOND_ONLY
IPSecVpnSession.CONNECTION_INITIATION_MODE_ON_DEMAND
Connection initiation mode used by local endpoint to establish ike connection with peer site. INITIATOR - In this mode local endpoint initiates tunnel setup and will also respond to incoming tunnel setup requests from peer gateway. RESPOND_ONLY - In this mode, local endpoint shall only respond to incoming tunnel setup requests. It shall not initiate the tunnel setup. ON_DEMAND - In this mode local endpoint will initiate tunnel creation once first packet matching the policy rule is received and will also respond to incoming initiation request.
- dpd_profile_path (
str
orNone
) – Policy path referencing Dead Peer Detection (DPD) profile. Default is set to system default profile. - enabled (
bool
orNone
) – Enable/Disable IPSec VPN session. - ike_profile_path (
str
orNone
) – Policy path referencing IKE profile to be used. Default is set according to system default profile. - local_endpoint_path (
str
orNone
) – Policy path referencing Local endpoint. - peer_address (
str
orNone
) – Public IPV4 address of the remote device terminating the VPN connection. - peer_id (
str
orNone
) – Peer ID to uniquely identify the peer site. The peer ID is the public IP address of the remote device terminating the VPN tunnel. When NAT is configured for the peer, enter the private IP address of the peer. - psk (
str
orNone
) – IPSec Pre-shared key. Maximum length of this field is 128 characters. - tcp_mss_clamping (
TcpMaximumSegmentSizeClamping
orNone
) – TCP Maximum Segment Size Clamping Direction and Value. - tunnel_profile_path (
str
orNone
) – Policy path referencing Tunnel profile to be used. Default is set to system default profile.
-
resource_type
¶ Return the discriminator value
- force_whitelisting (
-
class
com.vmware.nsx_policy.model_client.
RouteBasedL3VpnSession
(default_rule_logging=None, force_whitelisting=None, routing_config_path=None, tunnel_subnets=None, resource_type='RouteBasedL3VpnSession')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A Route Based L3Vpn is more flexible, more powerful and recommended over policy based. IP Tunnel subnet is created and all traffic routed through tunnel subnet is sent over tunnel. Routes can be learned through BGP. A route based L3Vpn is required when using redundant L3Vpn.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - default_rule_logging (
bool
orNone
) – Indicates if logging should be enabled for the default whitelisting rule for the VTI interface. - force_whitelisting (
bool
orNone
) – The default firewall rule Action is set to DROP if true otherwise set to ALLOW. - routing_config_path (
str
orNone
) – This is a deprecated field. Any specified value is not saved and will be ignored. - tunnel_subnets (
list
ofTunnelSubnet
orNone
) – Virtual tunnel interface (VTI) port IP subnets to be used to configure route-based L3Vpn session. A max of one tunnel subnet is allowed. - resource_type (
str
) –Possible values are:
L3VpnSession.RESOURCE_TYPE_POLICYBASEDL3VPNSESSION
L3VpnSession.RESOURCE_TYPE_ROUTEBASEDL3VPNSESSION
- A Policy Based L3Vpn is a configuration in which protect rules to
match local and remote subnet needs to be defined. Tunnel is established for each pair of local and remote subnet defined in protect rules. - A Route Based L3Vpn is more flexible, more powerful and recommended over policy based. IP Tunnel subnet is created and all traffic routed through tunnel subnet (commonly known as VTI) is sent over tunnel. Routes can be learned through BGP. A route based L3Vpn is required when using redundant L3Vpn.
-
resource_type
¶ Return the discriminator value
- default_rule_logging (
-
class
com.vmware.nsx_policy.model_client.
RouteDetails
(as_path=None, local_pref=None, med=None, network=None, next_hop=None, weight=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
BGP route details.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - as_path (
str
orNone
) – BGP AS path attribute. 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_pref (
long
orNone
) – BGP Local Preference attribute. 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. - med (
long
orNone
) – BGP Multi Exit Discriminator attribute. 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. - network (
str
orNone
) – CIDR network address. format: ip-cidr-block This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - next_hop (
str
orNone
) – Next hop IP address. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - weight (
long
orNone
) – BGP Weight attribute. 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.
- as_path (
-
class
com.vmware.nsx_policy.model_client.
RouteMapEntry
(action=None, community_list_matches=None, prefix_list_matches=None, set=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Route map entry
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - action (
str
orNone
) –Possible values are:
Action for the route map entry - community_list_matches (
list
ofCommunityMatchCriteria
orNone
) – Community list match criteria for route map. Properties community_list_matches and prefix_list_matches are mutually exclusive and cannot be used in the same route map entry. - prefix_list_matches (
list
ofstr
orNone
) – Prefix list match criteria for route map. Properties community_list_matches and prefix_list_matches are mutually exclusive and cannot be used in the same route map entry. - set (
RouteMapEntrySet
orNone
) – Set criteria for route map entry
-
ACTION_DENY
= 'DENY'¶
-
ACTION_PERMIT
= 'PERMIT'¶
- action (
-
class
com.vmware.nsx_policy.model_client.
RouteMapEntrySet
(as_path_prepend=None, community=None, local_preference=None, med=None, prefer_global_v6_next_hop=None, weight=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Set criteria for route map entry
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - as_path_prepend (
str
orNone
) – AS path prepend to influence route selection. - community (
str
orNone
) – Set BGP regular or large community for matching routes. A maximum of one value for each community type separated by space. Well-known community name, community value in aa:nn (2byte:2byte) format for regular community and community value in aa:bb:nn (4byte:4byte:4byte) format for large community are supported. - local_preference (
long
orNone
) – Local preference indicates the degree of preference for one BGP route over other BGP routes. The path with highest local preference is preferred. format: int64 - med (
long
orNone
) – Multi exit descriminator (MED) is a hint to BGP neighbors about the preferred path into an autonomous system (AS) that has multiple entry points. A lower MED value is preferred over a higher value. format: int32 - prefer_global_v6_next_hop (
bool
orNone
) – For incoming and import route_maps on receiving both v6 global and v6 link-local address for the route, prefer to use the global address as the next hop. By default, it prefers the link-local next hop. - weight (
long
orNone
) – Weight is used to select a route when multiple routes are available to the same network. Route with the highest weight is preferred. format: int32
- as_path_prepend (
-
class
com.vmware.nsx_policy.model_client.
RouterNexthop
(admin_distance=None, ip_address=None, scope=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Next hop configuration for network
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - admin_distance (
long
orNone
) – Cost associated with next hop route format: int32 - ip_address (
str
orNone
) – Next hop gateway IP address format: ip - scope (
list
ofstr
orNone
) – Interface path associated with current route. For example: specify a policy path referencing the IPSec VPN Session.
- admin_distance (
-
class
com.vmware.nsx_policy.model_client.
RoutesPerTransportNode
(routes=None, source_address=None, transport_node_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
BGP routes per transport node.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - routes (
list
ofRouteDetails
orNone
) – Array of BGP neighbor route details for this transport node. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - source_address (
str
orNone
) – BGP neighbor source address. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_id (
str
orNone
) – Transport node 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.
- routes (
-
class
com.vmware.nsx_policy.model_client.
RoutingEntry
(admin_distance=None, _interface=None, lr_component_id=None, lr_component_type=None, network=None, next_hop=None, route_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Routing table entry.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - admin_distance (
long
orNone
) – Admin distance. 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. - _interface (
str
orNone
) – The policy path of the interface which is used as the next hop - lr_component_id (
str
orNone
) – Logical router component(Service Router/Distributed Router) id - lr_component_type (
str
orNone
) – Logical router component(Service Router/Distributed Router) type - network (
str
orNone
) – Network CIDR. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - next_hop (
str
orNone
) – Next hop address. format: ip 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_type (
str
orNone
) – Network address CIDR. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- admin_distance (
-
class
com.vmware.nsx_policy.model_client.
RoutingTable
(count=None, edge_node=None, route_entries=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Routing table.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - count (
long
orNone
) – Entry count. 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. - edge_node (
str
orNone
) – Transport node 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. - route_entries (
list
ofRoutingEntry
orNone
) – Route entries.
- count (
-
class
com.vmware.nsx_policy.model_client.
RoutingTableListResult
(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
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
ofRoutingTable
orNone
) – Paged Collection of Routes per transport node ID.
- links (
-
class
com.vmware.nsx_policy.model_client.
RowListField
(alias=None, path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Root of the api result set for forming rows.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alias (
str
orNone
) – - path (
str
orNone
) – JSON path to the root of the api result set for forming rows.
- alias (
-
class
com.vmware.nsx_policy.model_client.
Rule
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, destination_groups=None, destinations_excluded=None, direction=None, disabled=None, ip_protocol=None, is_default=None, logged=None, notes=None, profiles=None, rule_id=None, scope=None, sequence_number=None, service_entries=None, services=None, source_groups=None, sources_excluded=None, tag=None, action=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A rule indicates the action to be performed for various types of traffic flowing between workload 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 - 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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - destination_groups (
list
ofstr
orNone
) – We need paths as duplicate names may exist for groups under different domains. Along with paths we support IP Address of type IPv4 and IPv6. IP Address can be in one of the format(CIDR, IP Address, Range of IP Address). In order to specify all groups, use the constant “ANY”. This is case insensitive. If “ANY” is used, it should be the ONLY element in the group array. Error will be thrown if ANY is used in conjunction with other values. - destinations_excluded (
bool
orNone
) – If set to true, the rule gets applied on all the groups that are NOT part of the destination groups. If false, the rule applies to the destination groups - direction (
str
orNone
) –Possible values are:
Define direction of traffic. - disabled (
bool
orNone
) – Flag to disable the rule. Default is enabled. - ip_protocol (
str
orNone
) –Possible values are:
Type of IP packet that should be matched while enforcing the rule. The value is set to IPV4_IPV6 for Layer3 rule if not specified. For Layer2/Ether rule the value must be null.
- is_default (
bool
orNone
) – A flag to indicate whether rule is a default rule. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - logged (
bool
orNone
) – Flag to enable packet logging. Default is disabled. - notes (
str
orNone
) – Text for additional notes on changes. - profiles (
list
ofstr
orNone
) – Holds the list of layer 7 service profile paths. These profiles accept attributes and sub-attributes of various network services (e.g. L4 AppId, encryption algorithm, domain name, etc) as key value pairs. - rule_id (
long
orNone
) – This is a unique 4 byte positive number that is assigned by the system. This rule id is passed all the way down to the data path. The first 1GB (1000 to 2^30) will be shared by GM and LM with zebra style striped number space. For E.g 1000 to (1Million -1) by LM, (1M - 2M-1) by GM and so on. 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. - scope (
list
ofstr
orNone
) – The list of policy paths where the rule is applied LR/Edge/T0/T1/LRP etc. Note that a given rule can be applied on multiple LRs/LRPs. - sequence_number (
long
orNone
) – This field is used to resolve conflicts between multiple Rules under Security or Gateway Policy for a Domain If no sequence number is specified in the payload, a value of 0 is assigned by default. If there are multiple rules with the same sequence number then their order is not deterministic. If a specific order of rules is desired, then one has to specify unique sequence numbers or use the POST request on the rule entity with a query parameter action=revise to let the framework assign a sequence number format: int32 - service_entries (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – In order to specify raw services this can be used, along with services which contains path to services. This can be empty or null. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inServiceEntry
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inServiceEntry
. - services (
list
ofstr
orNone
) – In order to specify all services, use the constant “ANY”. This is case insensitive. If “ANY” is used, it should be the ONLY element in the services array. Error will be thrown if ANY is used in conjunction with other values. - source_groups (
list
ofstr
orNone
) – We need paths as duplicate names may exist for groups under different domains. Along with paths we support IP Address of type IPv4 and IPv6. IP Address can be in one of the format(CIDR, IP Address, Range of IP Address). In order to specify all groups, use the constant “ANY”. This is case insensitive. If “ANY” is used, it should be the ONLY element in the group array. Error will be thrown if ANY is used in conjunction with other values. - sources_excluded (
bool
orNone
) – If set to true, the rule gets applied on all the groups that are NOT part of the source groups. If false, the rule applies to the source groups - tag (
str
orNone
) – User level field which will be printed in CLI and packet logs. - action (
str
orNone
) –Possible values are:
The action to be applied to all the services
-
ACTION_ALLOW
= 'ALLOW'¶
-
ACTION_DROP
= 'DROP'¶
-
ACTION_REJECT
= 'REJECT'¶
-
DIRECTION_IN
= 'IN'¶
-
DIRECTION_IN_OUT
= 'IN_OUT'¶
-
DIRECTION_OUT
= 'OUT'¶
-
IP_PROTOCOL_IPV4
= 'IPV4'¶
-
IP_PROTOCOL_IPV4_IPV6
= 'IPV4_IPV6'¶
-
IP_PROTOCOL_IPV6
= 'IPV6'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
RuleListResult
(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
Paged Collection of Rules
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
ofRule
orNone
) – Rule list results
- links (
-
class
com.vmware.nsx_policy.model_client.
RuleStatistics
(links=None, schema=None, self_=None, byte_count=None, hit_count=None, internal_rule_id=None, lr_path=None, max_popularity_index=None, max_session_count=None, packet_count=None, popularity_index=None, rule=None, session_count=None, total_session_count=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 - byte_count (
long
orNone
) – Aggregated number of bytes processed by the rule. 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. - hit_count (
long
orNone
) – Aggregated number of hits received by the rule. 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. - internal_rule_id (
str
orNone
) – Realized id of the rule on NSX MP. Policy Manager can create more than one rule per policy rule, in which case this identifier helps to distinguish between the multple rules created. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lr_path (
str
orNone
) – Path of the LR on which the section is applied in case of Edge FW. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - max_popularity_index (
long
orNone
) – Maximum value of popularity index of all rules of the type. This is aggregated statistic which are computed with lower frequency compared to individual generic rule statistics. It may have a computation delay up to 15 minutes in response to this API. 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. - max_session_count (
long
orNone
) – Maximum value of sessions count of all rules of the type. This is aggregated statistic which are computed with lower frequency compared to generic rule statistics. It may have a computation delay up to 15 minutes in response to this API. 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. - packet_count (
long
orNone
) – Aggregated number of packets processed by the rule. 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. - popularity_index (
long
orNone
) – This is calculated by sessions count divided by age of the rule. 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. - rule (
str
orNone
) – Path of the rule. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - session_count (
long
orNone
) – Aggregated number of sessions processed by the rule. 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. - total_session_count (
long
orNone
) – Aggregated number of sessions processed by all the rules This is aggregated statistic which are computed with lower frequency compared to individual generic rule statistics. It may have a computation delay up to 15 minutes in response to this API. 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.
- links (
-
class
com.vmware.nsx_policy.model_client.
RuleStatisticsForEnforcementPoint
(enforcement_point=None, statistics=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Rule statistics for a specfic enforcement point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - enforcement_point (
str
orNone
) – Rule statistics for a single enforcement point This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - statistics (
RuleStatistics
orNone
) – Statistics for the specified enforcement point
- enforcement_point (
-
class
com.vmware.nsx_policy.model_client.
RuleStatisticsListResult
(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
Paged Collection of rule statistics
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
ofRuleStatisticsForEnforcementPoint
orNone
) – RuleStatistics list results
- links (
-
class
com.vmware.nsx_policy.model_client.
RuntimeInterfaceStatistics
(rx_bytes=None, rx_packets=None, tx_bytes=None, tx_packets=None, dropped_by_security_packets=None, mac_learning=None, interface_index=None, last_update_timestamp=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - rx_bytes (
SIDataCounter
orNone
) – - rx_packets (
SIDataCounter
orNone
) – - tx_bytes (
SIDataCounter
orNone
) – - tx_packets (
SIDataCounter
orNone
) – - dropped_by_security_packets (
SIPacketsDroppedBySecurity
orNone
) – - mac_learning (
SIMacLearningCounters
orNone
) – - interface_index (
long
orNone
) – Index of the interface 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_update_timestamp (
long
orNone
) – Timestamp when the data was last updated; unset if data source has never updated the data. format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- rx_bytes (
-
class
com.vmware.nsx_policy.model_client.
SIAggregatedDataCounter
(rx_bytes=None, rx_packets=None, tx_bytes=None, tx_packets=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - rx_bytes (
SIDataCounter
orNone
) – - rx_packets (
SIDataCounter
orNone
) – - tx_bytes (
SIDataCounter
orNone
) – - tx_packets (
SIDataCounter
orNone
) –
- rx_bytes (
-
class
com.vmware.nsx_policy.model_client.
SIAggregatedDataCounterEx
(rx_bytes=None, rx_packets=None, tx_bytes=None, tx_packets=None, dropped_by_security_packets=None, mac_learning=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - rx_bytes (
SIDataCounter
orNone
) – - rx_packets (
SIDataCounter
orNone
) – - tx_bytes (
SIDataCounter
orNone
) – - tx_packets (
SIDataCounter
orNone
) – - dropped_by_security_packets (
SIPacketsDroppedBySecurity
orNone
) – - mac_learning (
SIMacLearningCounters
orNone
) –
- rx_bytes (
-
class
com.vmware.nsx_policy.model_client.
SIDataCounter
(dropped=None, multicast_broadcast=None, total=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dropped (
long
orNone
) – The dropped packets or bytes format: int64 - multicast_broadcast (
long
orNone
) – The multicast and broadcast packets or bytes format: int64 - total (
long
orNone
) – The total packets or bytes format: int64
- dropped (
-
class
com.vmware.nsx_policy.model_client.
SIMacLearningCounters
(mac_not_learned_packets_allowed=None, mac_not_learned_packets_dropped=None, macs_learned=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - mac_not_learned_packets_allowed (
long
orNone
) – The number of packets with unknown source MAC address that are dispatched without learning the source MAC address. Applicable only when the MAC limit is reached and MAC Limit policy is MAC_LEARNING_LIMIT_POLICY_ALLOW. format: int64 - mac_not_learned_packets_dropped (
long
orNone
) – The number of packets with unknown source MAC address that are dropped without learning the source MAC address. Applicable only when the MAC limit is reached and MAC Limit policy is MAC_LEARNING_LIMIT_POLICY_DROP. format: int64 - macs_learned (
long
orNone
) – Number of MACs learned format: int64
- mac_not_learned_packets_allowed (
-
class
com.vmware.nsx_policy.model_client.
SIPacketTypeAndCounter
(counter=None, packet_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - counter (
long
orNone
) – The number of packets. format: int64 - packet_type (
str
orNone
) – The type of the packets
- counter (
-
class
com.vmware.nsx_policy.model_client.
SIPacketsDroppedBySecurity
(bpdu_filter_dropped=None, dhcp_client_dropped_ipv4=None, dhcp_client_dropped_ipv6=None, dhcp_server_dropped_ipv4=None, dhcp_server_dropped_ipv6=None, spoof_guard_dropped=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - bpdu_filter_dropped (
long
orNone
) – The number of packets dropped by “BPDU filter”. format: int64 - dhcp_client_dropped_ipv4 (
long
orNone
) – The number of IPv4 packets dropped by “DHCP client block”. format: int64 - dhcp_client_dropped_ipv6 (
long
orNone
) – The number of IPv6 packets dropped by “DHCP client block”. format: int64 - dhcp_server_dropped_ipv4 (
long
orNone
) – The number of IPv4 packets dropped by “DHCP server block”. format: int64 - dhcp_server_dropped_ipv6 (
long
orNone
) – The number of IPv6 packets dropped by “DHCP server block”. format: int64 - spoof_guard_dropped (
list
ofSIPacketTypeAndCounter
orNone
) – The packets dropped by “Spoof Guard”; supported packet types are IPv4, IPv6, ARP, ND, non-IP.
- bpdu_filter_dropped (
-
class
com.vmware.nsx_policy.model_client.
SVMDeploymentSpec
(host_type=None, min_host_version=None, name=None, ovf_url=None, service_form_factor=None, svm_version=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Deployment Specs holds information required to deploy the Service-VMs.i.e. OVF url where the partner Service-VM OVF is hosted. The host type on which the OVF(Open Virtualization Format) can be deployed, Form factor to name a few.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - host_type (
str
orNone
) –Possible values are:
SVMDeploymentSpec.HOST_TYPE_ESXI
SVMDeploymentSpec.HOST_TYPE_RHELKVM
SVMDeploymentSpec.HOST_TYPE_UBUNTUKVM
Host Type on which the specified OVF can be deployed. - min_host_version (
str
orNone
) – Minimum host version supported by this ovf. If a host in the deployment cluster is having version less than this, then service deployment will not happen on that host. - name (
str
orNone
) – Deployment Spec name for ease of use, since multiple DeploymentSpec can be specified. - ovf_url (
str
orNone
) – Location of the partner VM OVF to be deployed. - service_form_factor (
str
orNone
) –Possible values are:
SVMDeploymentSpec.SERVICE_FORM_FACTOR_SMALL
SVMDeploymentSpec.SERVICE_FORM_FACTOR_MEDIUM
SVMDeploymentSpec.SERVICE_FORM_FACTOR_LARGE
Supported ServiceInsertion Form Factor for the OVF deployment. The default FormFactor is Medium.
- svm_version (
str
orNone
) – Partner needs to specify the Service VM version which will get deployed.
-
HOST_TYPE_ESXI
= 'ESXI'¶
-
HOST_TYPE_RHELKVM
= 'RHELKVM'¶
-
HOST_TYPE_UBUNTUKVM
= 'UBUNTUKVM'¶
-
SERVICE_FORM_FACTOR_LARGE
= 'LARGE'¶
-
SERVICE_FORM_FACTOR_MEDIUM
= 'MEDIUM'¶
-
SERVICE_FORM_FACTOR_SMALL
= 'SMALL'¶
- host_type (
-
class
com.vmware.nsx_policy.model_client.
SearchResponse
(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
Search response
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
) – List of records matching the search query. 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_policy.model_client.
SecurityPolicy
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, category=None, comments=None, internal_sequence_number=None, is_default=None, lock_modified_by=None, lock_modified_time=None, locked=None, rule_count=None, scheduler_path=None, scope=None, sequence_number=None, stateful=None, tcp_strict=None, connectivity_strategy=None, default_rule_id=None, rules=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Ordered list of Rules.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - category (
str
orNone
) –- Distributed Firewall - Policy framework provides five pre-defined
categories for classifying a security policy. They are “Ethernet”,”Emergency”, “Infrastructure” “Environment” and “Application”. There is a pre-determined order in which the policy framework manages the priority of these security policies. Ethernet category is for supporting layer 2 firewall rules. The other four categories are applicable for layer 3 rules. Amongst them, the Emergency category has the highest priority followed by Infrastructure, Environment and then Application rules. Administrator can choose to categorize a security policy into the above categories or can choose to leave it empty. If empty it will have the least precedence w.r.t the above four categories. - Edge Firewall - Policy Framework for Edge Firewall provides six pre-defined categories “Emergency”, “SystemRules”, “SharedPreRules”, “LocalGatewayRules”, “AutoServiceRules” and “Default”, in order of priority of rules. All categories are allowed for Gatetway Policies that belong to ‘default’ Domain. However, for user created domains, category is restricted to “SharedPreRules” or “LocalGatewayRules” only. Also, the users can add/modify/delete rules from only the “SharedPreRules” and “LocalGatewayRules” categories. If user doesn’t specify the category then defaulted to “Rules”. System generated category is used by NSX created rules, for example BFD rules. Autoplumbed category used by NSX verticals to autoplumb data path rules. Finally, “Default” category is the placeholder default rules with lowest in the order of priority.
- comments (
str
orNone
) – Comments for security policy lock/unlock. - internal_sequence_number (
long
orNone
) – This field is to indicate the internal sequence number of a policy with respect to the policies across categories. 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. - is_default (
bool
orNone
) – A flag to indicate whether policy is a default policy. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lock_modified_by (
str
orNone
) – ID of the user who last modified the lock for the secruity policy. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lock_modified_time (
long
orNone
) – SecurityPolicy locked/unlocked time in epoch milliseconds. format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - locked (
bool
orNone
) – Indicates whether a security policy should be locked. If the security policy is locked by a user, then no other user would be able to modify this security policy. Once the user releases the lock, other users can update this security policy. - rule_count (
long
orNone
) – The count of rules in the policy. 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. - scheduler_path (
str
orNone
) – Provides a mechanism to apply the rules in this policy for a specified time duration. - scope (
list
ofstr
orNone
) – The list of group paths where the rules in this policy will get applied. This scope will take precedence over rule level scope. Supported only for security and redirection policies. In case of RedirectionPolicy, it is expected only when the policy is NS and redirecting to service chain. - sequence_number (
long
orNone
) – This field is used to resolve conflicts between security policies across domains. In order to change the sequence number of a policy one can fire a POST request on the policy entity with a query parameter action=revise The sequence number field will reflect the value of the computed sequence number upon execution of the above mentioned POST request. For scenarios where the administrator is using a template to update several security policies, the only way to set the sequence number is to explicitly specify the sequence number for each security policy. If no sequence number is specified in the payload, a value of 0 is assigned by default. If there are multiple policies with the same sequence number then their order is not deterministic. If a specific order of policies is desired, then one has to specify unique sequence numbers or use the POST request on the policy entity with a query parameter action=revise to let the framework assign a sequence number format: int32 - stateful (
bool
orNone
) – Stateful or Stateless nature of security policy is enforced on all rules in this security policy. When it is stateful, the state of the network connects are tracked and a stateful packet inspection is performed. Layer3 security policies can be stateful or stateless. By default, they are stateful. Layer2 security policies can only be stateless. - tcp_strict (
bool
orNone
) – Ensures that a 3 way TCP handshake is done before the data packets are sent. tcp_strict=true is supported only for stateful security policies. If the tcp_strict flag is not specified and the security policy is stateful, then tcp_strict will be set to true. - connectivity_strategy (
str
orNone
) –Possible values are:
SecurityPolicy.CONNECTIVITY_STRATEGY_WHITELIST
SecurityPolicy.CONNECTIVITY_STRATEGY_BLACKLIST
SecurityPolicy.CONNECTIVITY_STRATEGY_WHITELIST_ENABLE_LOGGING
SecurityPolicy.CONNECTIVITY_STRATEGY_BLACKLIST_ENABLE_LOGGING
SecurityPolicy.CONNECTIVITY_STRATEGY_NONE
This field indicates the default connectivity policy for the security policy. Based on the connectivitiy strategy, a default rule for this security policy will be created. An appropriate action will be set on the rule based on the value of the connectivity strategy. If NONE is selected or no connectivity strategy is specified, then no default rule for the security policy gets created. The default rule that gets created will be a any-any rule and applied to entities specified in the scope of the security policy. Specifying the connectivity_strategy without specifying the scope is not allowed. The scope has to be a Group and one cannot specify IPAddress directly in the group that is used as scope. This default rule is only applicable for the Layer3 security policies. WHITELIST - Adds a default drop rule. Administrator can then use “allow” rules (aka whitelist) to allow traffic between groups BLACKLIST - Adds a default allow rule. Admin can then use “drop” rules (aka blacklist) to block traffic between groups WHITELIST_ENABLE_LOGGING - Whitelising with logging enabled BLACKLIST_ENABLE_LOGGING - Blacklisting with logging enabled NONE - No default rule is created.
- default_rule_id (
long
orNone
) – Based on the value of the connectivity strategy, a default rule is created for the security policy. The rule id is internally assigned by the system for this default rule. 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. - rules (
list
ofRule
orNone
) – Rules that are a part of this SecurityPolicy
-
CONNECTIVITY_STRATEGY_BLACKLIST
= 'BLACKLIST'¶
-
CONNECTIVITY_STRATEGY_BLACKLIST_ENABLE_LOGGING
= 'BLACKLIST_ENABLE_LOGGING'¶
-
CONNECTIVITY_STRATEGY_NONE
= 'NONE'¶
-
CONNECTIVITY_STRATEGY_WHITELIST
= 'WHITELIST'¶
-
CONNECTIVITY_STRATEGY_WHITELIST_ENABLE_LOGGING
= 'WHITELIST_ENABLE_LOGGING'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
SecurityPolicyListResult
(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
Paged Collection of security policies
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
ofSecurityPolicy
orNone
) – SecurityPolicy list results
- links (
-
class
com.vmware.nsx_policy.model_client.
SecurityPolicyStatistics
(internal_section_id=None, lr_path=None, result_count=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Aggregate statistics of all the rules in a security policy.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - internal_section_id (
str
orNone
) – Realized id of the section on NSX MP. Policy Manager can create more than one section per SecurityPolicy, in which case this identifier helps to distinguish between the multiple sections created. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lr_path (
str
orNone
) – Path of the LR on which the section is applied in case of Gateway Firewall. 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
) – Total count for rule statistics 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. - results (
list
ofRuleStatistics
orNone
) – List of rule statistics. 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_section_id (
-
class
com.vmware.nsx_policy.model_client.
SecurityPolicyStatisticsForEnforcementPoint
(enforcement_point=None, statistics=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Aggregate statistics of all the rules in a security policy for a specific enforcement point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - enforcement_point (
str
orNone
) – Enforcement point to fetch the statistics from. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - statistics (
SecurityPolicyStatistics
orNone
) – Statistics for the specified enforcement point
- enforcement_point (
-
class
com.vmware.nsx_policy.model_client.
SecurityPolicyStatisticsListResult
(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
Paged Collection of Security Policy statistics
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
ofSecurityPolicyStatisticsForEnforcementPoint
orNone
) – Security Policy statistics list results
- links (
-
class
com.vmware.nsx_policy.model_client.
SecurityProfileBindingMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Base security profile binding map
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_policy.model_client.
SecurityZone
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, sites=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A Security Zone establishes the policies that govern the connectivity of application tiers. While applications run in a self-service mode, the security zone policies constrain the connectivity based on the security requirements of that zone. In Policy Applications, each application tier is associated with a security zone that should be pre-created by the VHC admin.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - sites (
list
ofstr
orNone
) – PolicyPath of the sites
- links (
-
class
com.vmware.nsx_policy.model_client.
SecurityZoneBinding
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, security_zone_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Binding object to bind Security Zone and Application Tier
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - security_zone_path (
str
orNone
) – Path of the security zone.
- links (
-
class
com.vmware.nsx_policy.model_client.
SecurityZoneRule
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, action=None, destination=None, disabled=None, logged=None, notes=None, sequence_number=None, services=None, source=None, tag=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A SecurityZoneRule specifies the security policy that applies to the tiers associated with the security zones.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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 (
str
orNone
) –Possible values are:
SecurityZoneRule.ACTION_ALLOW
SecurityZoneRule.ACTION_DROP
SecurityZoneRule.ACTION_REJECT
SecurityZoneRule.ACTION_SKIP
The action to be applied to all the services. - destination (
list
ofstr
orNone
) – Destination field indicates the destination path of the Rule. It could be; - Path of the current/other zone - One/more tiers associated with the zone - Shared Group - ANY (It should be the ONLY element in the services array. Error will be thrown if ANY is used in conjunction with other values.) Note that either Source or Destination has to be associated with the current Zone. - disabled (
bool
orNone
) – Flag to disable the rule. Default is enabled. - logged (
bool
orNone
) – Flag to enable packet logging. Default is disabled. - notes (
str
orNone
) – Text for additional notes on changes. - sequence_number (
long
orNone
) – This field is used to resolve conflicts between multiple SecurityZoneRule under same securityZone format: int32 - services (
list
ofstr
orNone
) – ID of the Service that is defined in Infra space. e.g. HTTPS. In order to specify all services, use the constant “ANY”. If “ANY” is used, it should be the ONLY element in the services array. Error will be thrown if ANY is used in conjunction with other values. - source (
list
ofstr
orNone
) – Source field indicates the source path of the Rule. It could be; - Path of the current/other zone - One/more tiers associated with the zone - Shared Group - ANY (It should be the ONLY element in the services array. Error will be thrown if ANY is used in conjunction with other values.) Note that either Source or Destination has to be associated with the current Zone. - tag (
str
orNone
) – User level field which will be printed in CLI and packet logs.
-
ACTION_ALLOW
= 'ALLOW'¶
-
ACTION_DROP
= 'DROP'¶
-
ACTION_REJECT
= 'REJECT'¶
-
ACTION_SKIP
= 'SKIP'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
Segment
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, address_bindings=None, admin_state=None, advanced_config=None, bridge_profiles=None, connectivity_path=None, dhcp_config_path=None, domain_name=None, extra_configs=None, federation_config=None, l2_extension=None, ls_id=None, mac_pool_id=None, metadata_proxy_paths=None, overlay_id=None, replication_mode=None, subnets=None, transport_zone_path=None, type=None, vlan_ids=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Segment configuration to attach workloads.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - address_bindings (
list
ofPortAddressBindingEntry
orNone
) – Static address binding used for the Segment. - admin_state (
str
orNone
) –Possible values are:
Represents Desired state of the Segment - advanced_config (
SegmentAdvancedConfig
orNone
) – Advanced configuration for Segment. - bridge_profiles (
list
ofBridgeProfileConfig
orNone
) – Multiple distinct L2 bridge profiles can be configured. - connectivity_path (
str
orNone
) – Policy path to the connecting Tier-0 or Tier-1. Valid only for segments created under Infra. - dhcp_config_path (
str
orNone
) – Policy path to DHCP server or relay configuration to use for all IPv4 & IPv6 subnets configured on this segment. - domain_name (
str
orNone
) – DNS domain name - extra_configs (
list
ofSegmentExtraConfig
orNone
) – This property could be used for vendor specific configuration in key value string pairs, the setting in extra_configs will be automatically inheritted by segment ports in the Segment. - federation_config (
FederationConnectivityConfig
orNone
) – Additional config for federation. - l2_extension (
L2Extension
orNone
) – Configuration for extending Segment through L2 VPN - ls_id (
str
orNone
) – This property is deprecated. The property will continue to work as expected for existing segments. The segments that are newly created with ls_id will be ignored. Sepcify pre-creted logical switch id for Segment. - mac_pool_id (
str
orNone
) – Mac pool id that associated with a Segment. - metadata_proxy_paths (
list
ofstr
orNone
) – Policy path to metadata proxy configuration. Multiple distinct MD proxies can be configured. - overlay_id (
long
orNone
) – Used for overlay connectivity of segments. The overlay_id should be allocated from the pool as definied by enforcement-point. If not provided, it is auto-allocated from the default pool on the enforcement-point. format: int32 - replication_mode (
str
orNone
) –Possible values are:
If this field is not set for overlay segment, then the default of MTEP will be used.
- subnets (
list
ofSegmentSubnet
orNone
) – Subnet configuration. Max 1 subnet - transport_zone_path (
str
orNone
) – Policy path to the transport zone. Supported for VLAN backed segments as well as Overlay Segments. - This field is required for VLAN backed Segments. - For overlay Segments, it is auto assigned if only one transport zone exists in the enforcement point. Default transport zone is auto assigned for overlay segments if none specified. - type (
str
orNone
) –Possible values are:
Segment.TYPE_ROUTED
Segment.TYPE_EXTENDED
Segment.TYPE_ROUTED_AND_EXTENDED
Segment.TYPE_DISCONNECTED
Segment type based on configuration.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- vlan_ids (
list
ofstr
orNone
) – VLAN ids for a VLAN backed Segment. Can be a VLAN id or a range of VLAN ids specified with ‘-‘ in between.
-
ADMIN_STATE_DOWN
= 'DOWN'¶
-
ADMIN_STATE_UP
= 'UP'¶
-
REPLICATION_MODE_MTEP
= 'MTEP'¶
-
REPLICATION_MODE_SOURCE
= 'SOURCE'¶
-
TYPE_DISCONNECTED
= 'DISCONNECTED'¶
-
TYPE_EXTENDED
= 'EXTENDED'¶
-
TYPE_ROUTED
= 'ROUTED'¶
-
TYPE_ROUTED_AND_EXTENDED
= 'ROUTED_AND_EXTENDED'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
SegmentAdvancedConfig
(connectivity=None, address_pool_paths=None, hybrid=None, inter_router=None, local_egress=None, local_egress_routing_policies=None, multicast=None, uplink_teaming_policy_name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Advanced configuration for Segment
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - connectivity (
str
orNone
) –Possible values are:
Connectivity configuration to manually connect (ON) or disconnect (OFF) a Tier1 segment from corresponding Tier1 gateway. Only valid for Tier1 Segments. This property is ignored for L2 VPN extended segments when subnets property is not specified.
- address_pool_paths (
list
ofstr
orNone
) – Policy path to IP address pools. - hybrid (
bool
orNone
) – When set to true, all the ports created on this segment will behave in a hybrid fashion. The hybrid port indicates to NSX that the VM intends to operate in underlay mode, but retains the ability to forward egress traffic to the NSX overlay network. This property is only applicable for segment created with transport zone type OVERLAY_STANDARD. This property cannot be modified after segment is created. - inter_router (
bool
orNone
) – When set to true, any port attached to this logical switch will not be visible through VC/ESX UI - local_egress (
bool
orNone
) – This property is used to enable proximity routing with local egress. When set to true, logical router interface (downlink) connecting Segment to Tier0/Tier1 gateway is configured with prefix-length 32. - local_egress_routing_policies (
list
ofLocalEgressRoutingEntry
orNone
) – An ordered list of routing policies to forward traffic to the next hop. - multicast (
bool
orNone
) – Enable multicast for a segment. Only applicable for segments connected to Tier0 gateway. - uplink_teaming_policy_name (
str
orNone
) – The name of the switching uplink teaming policy for the Segment. This name corresponds to one of the switching uplink teaming policy names listed in TransportZone associated with the Segment. See transport_zone_path property above for more details. When this property is not specified, the segment will not have a teaming policy associated with it and the host switch’s default teaming policy will be used by MP.
-
CONNECTIVITY_OFF
= 'OFF'¶
-
CONNECTIVITY_ON
= 'ON'¶
- connectivity (
-
class
com.vmware.nsx_policy.model_client.
SegmentConfigurationState
(details=None, failure_code=None, failure_message=None, state=None, segment_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Segment state on specific Enforcement Point.
Tip
The arguments are used to initialize data attributes with the same names.
-
STATE_APPLIANCE_INTERNAL_ERROR
= 'APPLIANCE_INTERNAL_ERROR'¶
-
STATE_EDGE_CONFIG_ERROR
= 'EDGE_CONFIG_ERROR'¶
-
STATE_EDGE_HARDWARE_NOT_SUPPORTED
= 'EDGE_HARDWARE_NOT_SUPPORTED'¶
-
STATE_EDGE_NODE_VERSION_NOT_SUPPORTED
= 'EDGE_NODE_VERSION_NOT_SUPPORTED'¶
-
STATE_ERROR
= 'error'¶
-
STATE_FAILED
= 'failed'¶
-
STATE_HOSTSWITCH_PROFILE_NOT_FOUND
= 'HOSTSWITCH_PROFILE_NOT_FOUND'¶
-
STATE_INVALID_PNIC_DEVICE_NAME
= 'INVALID_PNIC_DEVICE_NAME'¶
-
STATE_IN_PROGRESS
= 'in_progress'¶
-
STATE_IN_SYNC
= 'in_sync'¶
-
STATE_LACP_NOT_SUPPORTED_FOR_EDGE_VM
= 'LACP_NOT_SUPPORTED_FOR_EDGE_VM'¶
-
STATE_LBSRCID_NOT_SUPPORTED_FOR_EDGE_VM
= 'LBSRCID_NOT_SUPPORTED_FOR_EDGE_VM'¶
-
STATE_LLDP_SEND_ENABLED_NOT_SUPPORTED
= 'LLDP_SEND_ENABLED_NOT_SUPPORTED'¶
-
STATE_MPA_DISCONNECTED
= 'MPA_DISCONNECTED'¶
-
STATE_MULTIPLE_ACTIVE_UPLINKS_NOT_SUPPORTED_FOR_EDGE
= 'MULTIPLE_ACTIVE_UPLINKS_NOT_SUPPORTED_FOR_EDGE'¶
-
STATE_MULTIPLE_OVERLAY_TZS_NOT_SUPPORTED
= 'MULTIPLE_OVERLAY_TZS_NOT_SUPPORTED'¶
-
STATE_NODE_NOT_READY
= 'NODE_NOT_READY'¶
-
STATE_NODE_READY
= 'NODE_READY'¶
-
STATE_NOT_AVAILABLE
= 'NOT_AVAILABLE'¶
-
STATE_NO_PNIC_PREPARED_IN_EDGE
= 'NO_PNIC_PREPARED_IN_EDGE'¶
-
STATE_NO_PNIC_SPECIFIED_IN_TN
= 'NO_PNIC_SPECIFIED_IN_TN'¶
-
STATE_ORPHANED
= 'orphaned'¶
-
STATE_PARTIAL_SUCCESS
= 'partial_success'¶
-
STATE_PENDING
= 'pending'¶
-
STATE_REGISTRATION_FAILED
= 'REGISTRATION_FAILED'¶
-
STATE_REGISTRATION_PENDING
= 'REGISTRATION_PENDING'¶
-
STATE_REGISTRATION_TIMEDOUT
= 'REGISTRATION_TIMEDOUT'¶
-
STATE_STANDBY_UPLINKS_NOT_SUPPORTED_FOR_EDGE_VM
= 'STANDBY_UPLINKS_NOT_SUPPORTED_FOR_EDGE_VM'¶
-
STATE_SUCCESS
= 'success'¶
-
STATE_TN_OVERLAY_TZ_IN_USE_BY_EDGE_CLUSTER
= 'TN_OVERLAY_TZ_IN_USE_BY_EDGE_CLUSTER'¶
-
STATE_TRANSPORT_NODE_CONFIGURATION_MISSING
= 'TRANSPORT_NODE_CONFIGURATION_MISSING'¶
-
STATE_TRANSPORT_NODE_READY
= 'TRANSPORT_NODE_READY'¶
-
STATE_TRANSPORT_NODE_SYNC_PENDING
= 'TRANSPORT_NODE_SYNC_PENDING'¶
-
STATE_TZ_ENDPOINTS_NOT_SPECIFIED
= 'TZ_ENDPOINTS_NOT_SPECIFIED'¶
-
STATE_UNKNOWN
= 'unknown'¶
-
STATE_UNSUPPORTED_DEFAULT_TEAMING_POLICY
= 'UNSUPPORTED_DEFAULT_TEAMING_POLICY'¶
-
STATE_UNSUPPORTED_HOST_SWITCH_PROFILE
= 'UNSUPPORTED_HOST_SWITCH_PROFILE'¶
-
STATE_UNSUPPORTED_LACP_LB_ALGO_FOR_NODE
= 'UNSUPPORTED_LACP_LB_ALGO_FOR_NODE'¶
-
STATE_UNSUPPORTED_NAMED_TEAMING_POLICY
= 'UNSUPPORTED_NAMED_TEAMING_POLICY'¶
-
STATE_UPLINK_HOST_SWITCH_PROFILE_NOT_SPECIFIED
= 'UPLINK_HOST_SWITCH_PROFILE_NOT_SPECIFIED'¶
-
STATE_VM_CONFIG_DISCREPANCY
= 'VM_CONFIG_DISCREPANCY'¶
-
STATE_VM_CONFIG_EDIT_FAILED
= 'VM_CONFIG_EDIT_FAILED'¶
-
STATE_VM_CONFIG_EDIT_PENDING
= 'VM_CONFIG_EDIT_PENDING'¶
-
STATE_VM_DEPLOYMENT_FAILED
= 'VM_DEPLOYMENT_FAILED'¶
-
STATE_VM_DEPLOYMENT_IN_PROGRESS
= 'VM_DEPLOYMENT_IN_PROGRESS'¶
-
STATE_VM_DEPLOYMENT_QUEUED
= 'VM_DEPLOYMENT_QUEUED'¶
-
STATE_VM_DEPLOYMENT_RESTARTED
= 'VM_DEPLOYMENT_RESTARTED'¶
-
STATE_VM_NETWORK_EDIT_FAILED
= 'VM_NETWORK_EDIT_FAILED'¶
-
STATE_VM_NETWORK_EDIT_PENDING
= 'VM_NETWORK_EDIT_PENDING'¶
-
STATE_VM_NODE_REFRESH_FAILED
= 'VM_NODE_REFRESH_FAILED'¶
-
STATE_VM_PLACEMENT_REFRESH_FAILED
= 'VM_PLACEMENT_REFRESH_FAILED'¶
-
STATE_VM_POWER_OFF_FAILED
= 'VM_POWER_OFF_FAILED'¶
-
STATE_VM_POWER_OFF_IN_PROGRESS
= 'VM_POWER_OFF_IN_PROGRESS'¶
-
STATE_VM_POWER_ON_FAILED
= 'VM_POWER_ON_FAILED'¶
-
STATE_VM_POWER_ON_IN_PROGRESS
= 'VM_POWER_ON_IN_PROGRESS'¶
-
STATE_VM_RENAME_FAILED
= 'VM_RENAME_FAILED'¶
-
STATE_VM_RENAME_PENDING
= 'VM_RENAME_PENDING'¶
-
STATE_VM_UNDEPLOY_FAILED
= 'VM_UNDEPLOY_FAILED'¶
-
STATE_VM_UNDEPLOY_IN_PROGRESS
= 'VM_UNDEPLOY_IN_PROGRESS'¶
-
STATE_VM_UNDEPLOY_SUCCESSFUL
= 'VM_UNDEPLOY_SUCCESSFUL'¶
-
STATE_VTEP_DHCP_NOT_SUPPORTED
= 'VTEP_DHCP_NOT_SUPPORTED'¶
-
-
class
com.vmware.nsx_policy.model_client.
SegmentCrossSiteTrafficStats
(last_update_timestamp=None, rx_stats=None, segment_path=None, tx_stats=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - last_update_timestamp (
long
orNone
) – Timestamp when the l2 forwarder statistics was last updated. format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - rx_stats (
InterSitePortCounters
orNone
) – Total received data counters. - segment_path (
str
orNone
) – Policy path of Segment to attach interface. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - tx_stats (
InterSitePortCounters
orNone
) – Total sent data counters.
- last_update_timestamp (
-
class
com.vmware.nsx_policy.model_client.
SegmentDhcpConfig
(dns_servers=None, lease_time=None, resource_type='SegmentDhcpConfig', server_address=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DHCP IPv4 and IPv6 configurations are extended from this abstract class.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dns_servers (
list
ofstr
orNone
) – IP address of DNS servers for subnet. DNS server IP address must belong to the same address family as segment gateway_address property. format: ip - lease_time (
long
orNone
) – DHCP lease time in seconds. When specified, this property overwrites lease time configured DHCP server config. format: int64 - resource_type (
str
) –Possible values are:
- server_address (
str
orNone
) – IP address of the DHCP server in CIDR format. The server_address is mandatory in case this segment has provided a dhcp_config_path and it represents a DHCP server config. If this SegmentDhcpConfig is a SegmentDhcpV4Config, the address must be an IPv4 address. If this is a SegmentDhcpV6Config, the address must be an IPv6 address. This address must not overlap the ip-ranges of the subnet, or the gateway address of the subnet, or the DHCP static-binding addresses of this segment. format: ip-cidr-block
-
RESOURCE_TYPE_SEGMENTDHCPV4CONFIG
= 'SegmentDhcpV4Config'¶
-
RESOURCE_TYPE_SEGMENTDHCPV6CONFIG
= 'SegmentDhcpV6Config'¶
-
resource_type
¶ Return the discriminator value
- dns_servers (
-
class
com.vmware.nsx_policy.model_client.
SegmentDhcpV4Config
(options=None, dns_servers=None, lease_time=None, resource_type='SegmentDhcpV4Config', server_address=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DHCP configuration of IPv4 subnet in a segment
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - options (
DhcpV4Options
orNone
) – IPv4 DHCP options for segment subnet. - dns_servers (
list
ofstr
orNone
) – IP address of DNS servers for subnet. DNS server IP address must belong to the same address family as segment gateway_address property. format: ip - lease_time (
long
orNone
) – DHCP lease time in seconds. When specified, this property overwrites lease time configured DHCP server config. format: int64 - resource_type (
str
) –Possible values are:
- server_address (
str
orNone
) – IP address of the DHCP server in CIDR format. The server_address is mandatory in case this segment has provided a dhcp_config_path and it represents a DHCP server config. If this SegmentDhcpConfig is a SegmentDhcpV4Config, the address must be an IPv4 address. If this is a SegmentDhcpV6Config, the address must be an IPv6 address. This address must not overlap the ip-ranges of the subnet, or the gateway address of the subnet, or the DHCP static-binding addresses of this segment. format: ip-cidr-block
-
resource_type
¶ Return the discriminator value
- options (
-
class
com.vmware.nsx_policy.model_client.
SegmentDhcpV6Config
(domain_names=None, excluded_ranges=None, preferred_time=None, sntp_servers=None, dns_servers=None, lease_time=None, resource_type='SegmentDhcpV6Config', server_address=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DHCP configuration of IPv6 subnet in a segment
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - domain_names (
list
ofstr
orNone
) – Domain names for subnet. - excluded_ranges (
list
ofstr
orNone
) – Excluded addresses to define dynamic ip allocation ranges. format: address-or-block-or-range - preferred_time (
long
orNone
) – The length of time that a valid address is preferred. When the preferred lifetime expires, the address becomes deprecated. format: int64 - sntp_servers (
list
ofstr
orNone
) – IPv6 address of SNTP servers for subnet. format: ipv6 - dns_servers (
list
ofstr
orNone
) – IP address of DNS servers for subnet. DNS server IP address must belong to the same address family as segment gateway_address property. format: ip - lease_time (
long
orNone
) – DHCP lease time in seconds. When specified, this property overwrites lease time configured DHCP server config. format: int64 - resource_type (
str
) –Possible values are:
- server_address (
str
orNone
) – IP address of the DHCP server in CIDR format. The server_address is mandatory in case this segment has provided a dhcp_config_path and it represents a DHCP server config. If this SegmentDhcpConfig is a SegmentDhcpV4Config, the address must be an IPv4 address. If this is a SegmentDhcpV6Config, the address must be an IPv6 address. This address must not overlap the ip-ranges of the subnet, or the gateway address of the subnet, or the DHCP static-binding addresses of this segment. format: ip-cidr-block
-
resource_type
¶ Return the discriminator value
- domain_names (
-
class
com.vmware.nsx_policy.model_client.
SegmentDiscoveryProfileBindingMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, ip_discovery_profile_path=None, mac_discovery_profile_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This entity will be used to establish association between discovery profile and Segment. Using this entity, user can specify intent for applying discovery profile to particular segments.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_discovery_profile_path (
str
orNone
) – PolicyPath of associated IP Discovery Profile - mac_discovery_profile_path (
str
orNone
) – PolicyPath of associated Mac Discovery Profile
- links (
-
class
com.vmware.nsx_policy.model_client.
SegmentDiscoveryProfileBindingMapListResult
(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
Paged collection of Segment Discovery Profile Binding 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
ofSegmentDiscoveryProfileBindingMap
orNone
) – Segment Discovery Profile Binding Map list results
- links (
-
class
com.vmware.nsx_policy.model_client.
SegmentExtraConfig
(config_pair=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Segment extra config is intended for supporting vendor specific configuration on the data path, it can be set as key value string pairs on either segment or segment port.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: config_pair ( UnboundedKeyValuePair
orNone
) – Key value pair in string for the configuration
-
class
com.vmware.nsx_policy.model_client.
SegmentL2ForwarderSiteSpanInfo
(inter_site_forwarder_status=None, last_update_timestamp=None, remote_macs_per_site=None, segment_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - inter_site_forwarder_status (
list
ofL2ForwarderStatusPerNode
orNone
) – Inter-site forwarder status per node. 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_update_timestamp (
long
orNone
) – Timestamp when the L2 forwarder remote mac addresses was last updated. 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. - remote_macs_per_site (
list
ofL2ForwarderRemoteMacsPerSite
orNone
) – L2 forwarder remote mac addresses per site for logical switch. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - segment_path (
str
orNone
) – Policy path of a segment. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- inter_site_forwarder_status (
-
class
com.vmware.nsx_policy.model_client.
SegmentListResult
(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
Paged collection of Segments
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
ofSegment
orNone
) – Segment list results
- links (
-
class
com.vmware.nsx_policy.model_client.
SegmentMonitoringProfileBindingMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, ipfix_l2_profile_path=None, port_mirroring_profile_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This entity will be used to establish association between monitoring profile and Segment. Using this entity, you can specify intent for applying monitoring profile to particular segment.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - ipfix_l2_profile_path (
str
orNone
) – PolicyPath of associated IPFIX L2 Profile - port_mirroring_profile_path (
str
orNone
) – PolicyPath of associated Port Mirroring Profile
- links (
-
class
com.vmware.nsx_policy.model_client.
SegmentMonitoringProfileBindingMapListResult
(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
Paged collection of Segment Monitoring Profile Binding 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
ofSegmentMonitoringProfileBindingMap
orNone
) – Segment Monitoring Profile Binding Map list results
- links (
-
class
com.vmware.nsx_policy.model_client.
SegmentPort
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, address_bindings=None, admin_state=None, attachment=None, extra_configs=None, ignored_address_bindings=None, init_state=None, source_site_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Policy port will create LogicalPort on LogicalSwitch corresponding to the Segment. Address bindings cannot be removed after realization.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - address_bindings (
list
ofPortAddressBindingEntry
orNone
) – Static address binding used for the port. - admin_state (
str
orNone
) –Possible values are:
Represents desired state of the segment port - attachment (
PortAttachment
orNone
) – Only VIF attachment is supported - extra_configs (
list
ofSegmentExtraConfig
orNone
) – This property could be used for vendor specific configuration in key value string pairs. Segment port setting will override segment setting if the same key was set on both segment and segment port. - ignored_address_bindings (
list
ofPortAddressBindingEntry
orNone
) – IP Discovery module uses various mechanisms to discover address bindings being used on each segment port. If a user would like to ignore any specific discovered address bindings or prevent the discovery of a particular set of discovered bindings, then those address bindings can be provided here. Currently IP range in CIDR format is not supported. - init_state (
str
orNone
) –Possible values are:
Set initial state when a new logical port is created. ‘UNBLOCKED_VLAN’ means new port will be unblocked on traffic in creation, also VLAN will be set with corresponding logical switch setting. This port setting can only be configured at port creation, and cannot be modified.
- source_site_id (
str
orNone
) – This field will refer to the source site on which the segment port is discovered. This field is populated by GM, when it receives corresponding notification from LM. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
ADMIN_STATE_DOWN
= 'DOWN'¶
-
ADMIN_STATE_UP
= 'UP'¶
-
INIT_STATE_VLAN
= 'UNBLOCKED_VLAN'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
SegmentPortListResult
(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 SegmentPort 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 - 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
ofSegmentPort
orNone
) – Place holder for the list result
- links (
-
class
com.vmware.nsx_policy.model_client.
SegmentPortStatistics
(rx_bytes=None, rx_packets=None, tx_bytes=None, tx_packets=None, dropped_by_security_packets=None, mac_learning=None, last_update_timestamp=None, logical_port_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Segment port statistics on specific Enforcement Point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - rx_bytes (
DataCounter
orNone
) – - rx_packets (
DataCounter
orNone
) – - tx_bytes (
DataCounter
orNone
) – - tx_packets (
DataCounter
orNone
) – - dropped_by_security_packets (
PacketsDroppedBySecurity
orNone
) – - mac_learning (
MacLearningCounters
orNone
) – - last_update_timestamp (
long
orNone
) – Timestamp when the data was last updated; unset if data source has never updated the data. 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. - logical_port_id (
str
orNone
) – The id of the logical 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.
- rx_bytes (
-
class
com.vmware.nsx_policy.model_client.
SegmentQosProfileBindingMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, qos_profile_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This entity will be used to establish association between qos profile and Segment. Using this entity, you can specify intent for applying qos profile to particular segment.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - qos_profile_path (
str
orNone
) – PolicyPath of associated QoS Profile
- links (
-
class
com.vmware.nsx_policy.model_client.
SegmentQosProfileBindingMapListResult
(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
Paged collection of Segment QoS Profile Binding 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
ofSegmentQosProfileBindingMap
orNone
) – Segment QoS Profile Binding Map list results
- links (
-
class
com.vmware.nsx_policy.model_client.
SegmentSecurityProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, bpdu_filter_allow=None, bpdu_filter_enable=None, dhcp_client_block_enabled=None, dhcp_client_block_v6_enabled=None, dhcp_server_block_enabled=None, dhcp_server_block_v6_enabled=None, non_ip_traffic_block_enabled=None, ra_guard_enabled=None, rate_limits=None, rate_limits_enabled=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Security features extended by policy operations for securing logical segments.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - bpdu_filter_allow (
list
ofstr
orNone
) – Pre-defined list of allowed MAC addresses to be excluded from BPDU filtering. List of allowed MACs - 01:80:c2:00:00:00, 01:80:c2:00:00:01, 01:80:c2:00:00:02, 01:80:c2:00:00:03, 01:80:c2:00:00:04, 01:80:c2:00:00:05, 01:80:c2:00:00:06, 01:80:c2:00:00:07, 01:80:c2:00:00:08, 01:80:c2:00:00:09, 01:80:c2:00:00:0a, 01:80:c2:00:00:0b, 01:80:c2:00:00:0c, 01:80:c2:00:00:0d, 01:80:c2:00:00:0e, 01:80:c2:00:00:0f, 00:e0:2b:00:00:00, 00:e0:2b:00:00:04, 00:e0:2b:00:00:06, 01:00:0c:00:00:00, 01:00:0c:cc:cc:cc, 01:00:0c:cc:cc:cd, 01:00:0c:cd:cd:cd, 01:00:0c:cc:cc:c0, 01:00:0c:cc:cc:c1, 01:00:0c:cc:cc:c2, 01:00:0c:cc:cc:c3, 01:00:0c:cc:cc:c4, 01:00:0c:cc:cc:c5, 01:00:0c:cc:cc:c6, 01:00:0c:cc:cc:c7 format: mac-address - bpdu_filter_enable (
bool
orNone
) – Indicates whether BPDU filter is enabled. BPDU filtering is enabled by default. - dhcp_client_block_enabled (
bool
orNone
) – Filters DHCP server and/or client traffic. DHCP server blocking is enabled and client blocking is disabled by default. - dhcp_client_block_v6_enabled (
bool
orNone
) – Filters DHCP server and/or client IPv6 traffic. DHCP server blocking is enabled and client blocking is disabled by default. - dhcp_server_block_enabled (
bool
orNone
) – Filters DHCP server and/or client traffic. DHCP server blocking is enabled and client blocking is disabled by default. - dhcp_server_block_v6_enabled (
bool
orNone
) – Filters DHCP server and/or client IPv6 traffic. DHCP server blocking is enabled and client blocking is disabled by default. - non_ip_traffic_block_enabled (
bool
orNone
) – A flag to block all traffic except IP/(G)ARP/BPDU. - ra_guard_enabled (
bool
orNone
) – Enable or disable Router Advertisement Guard. - rate_limits (
TrafficRateLimits
orNone
) – Allows configuration of rate limits for broadcast and multicast traffic. Rate limiting is disabled by default - rate_limits_enabled (
bool
orNone
) – Enable or disable Rate Limits
- links (
-
class
com.vmware.nsx_policy.model_client.
SegmentSecurityProfileBindingMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, segment_security_profile_path=None, spoofguard_profile_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Contains the binding relationship between segment and security profile.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - segment_security_profile_path (
str
orNone
) – The policy path of the asscociated Segment Security profile - spoofguard_profile_path (
str
orNone
) – The policy path of the asscociated SpoofGuard profile
- links (
-
class
com.vmware.nsx_policy.model_client.
SegmentSecurityProfileBindingMapListResult
(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
Paged collection of segment security profile binding 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
ofSegmentSecurityProfileBindingMap
orNone
) – Segment security profile binding map list results
- links (
-
class
com.vmware.nsx_policy.model_client.
SegmentSecurityProfileListResult
(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
Paged collection of segment security profiles
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
ofSegmentSecurityProfile
orNone
) – Segment Security profile list results
- links (
-
class
com.vmware.nsx_policy.model_client.
SegmentStatistics
(rx_bytes=None, rx_packets=None, tx_bytes=None, tx_packets=None, dropped_by_security_packets=None, mac_learning=None, last_update_timestamp=None, logical_switch_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Segment statistics on specific Enforcement Point.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - rx_bytes (
DataCounter
orNone
) – - rx_packets (
DataCounter
orNone
) – - tx_bytes (
DataCounter
orNone
) – - tx_packets (
DataCounter
orNone
) – - dropped_by_security_packets (
PacketsDroppedBySecurity
orNone
) – - mac_learning (
MacLearningCounters
orNone
) – - last_update_timestamp (
long
orNone
) – Timestamp when the data was last updated; unset if data source has never updated the data. 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. - logical_switch_id (
str
orNone
) – The id of the logical Switch This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- rx_bytes (
-
class
com.vmware.nsx_policy.model_client.
SegmentSubnet
(dhcp_config=None, dhcp_ranges=None, gateway_address=None, network=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Subnet configuration for segment
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dhcp_config (
vmware.vapi.struct.VapiStruct
orNone
) – Additional DHCP configuration for current subnet. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inSegmentDhcpConfig
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inSegmentDhcpConfig
. - dhcp_ranges (
list
ofstr
orNone
) – DHCP address ranges are used for dynamic IP allocation. Supports address range and CIDR formats. First valid host address from the first value is assigned to DHCP server IP address. Existing values cannot be deleted or modified, but additional DHCP ranges can be added. format: address-or-block-or-range - gateway_address (
str
orNone
) – Gateway IP address in CIDR format for both IPv4 and IPv6. format: ip-cidr-block - network (
str
orNone
) – Network CIDR for this subnet calculated from gateway_addresses and prefix_len. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- dhcp_config (
-
class
com.vmware.nsx_policy.model_client.
SelectableResourceReference
(is_valid=None, target_display_name=None, target_id=None, target_type=None, selected=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Resources to take action on
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - is_valid (
bool
orNone
) – Will be set to false if the referenced NSX resource has been deleted. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - target_display_name (
str
orNone
) – Display name of the NSX 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. - target_id (
str
orNone
) – Identifier of the NSX resource. - target_type (
str
orNone
) – Type of the NSX resource. - selected (
bool
orNone
) – Set to true if this resource has been selected to be acted upon
- is_valid (
-
class
com.vmware.nsx_policy.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_policy.model_client.
Service
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, is_default=None, service_entries=None, service_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Used while defining a CommunicationEntry. A service may have multiple service entries.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - is_default (
bool
orNone
) – The flag, if true, indicates that service is created in the system by default. Such default services can’t be modified/deleted. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - service_entries (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – Service type When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inServiceEntry
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inServiceEntry
. - service_type (
str
orNone
) – Type of service, EITHER or NON_ETHER
- links (
-
class
com.vmware.nsx_policy.model_client.
ServiceCapability
(can_decrement_si=None, nsh_liveness_support_enabled=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Service capabilities that will be inherited by service VMs created using a service definition that contains this service capability.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - can_decrement_si (
bool
orNone
) – Indicating whether service is configured to decrement SI field in NSH metadata. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - nsh_liveness_support_enabled (
bool
orNone
) – Indicating whether service supports NSH liveness detection.
- can_decrement_si (
-
class
com.vmware.nsx_policy.model_client.
ServiceChainMapping
(direction=None, service_chain_id=None, service_index=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A ServiceInsertionServiceProfile can be part of multiple ServiceChains. ServiceChainMapping for a particular profile will contain a list of all the ServiceChains it’s part of. Each Mapping will also contain some metadata to uniquely identify a profile from other profiles.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - direction (
str
orNone
) –Possible values are:
Each ServiceChain has forward_path_service_profiles and reverse_path_service_profiles. This property will indicate which of them being used. FORWARD - forward_path_service_profiles REVERSE - reverse_path_service_profiles This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- service_chain_id (
str
orNone
) – A unique id generated for every ServiceChain. This is not a uuid. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - service_index (
long
orNone
) – Service Index represents a numerical position of a ServiceInsertionServiceProfile in a ServiceChain. It will be in reverse order. Service Index can point to either forward_path_service_profiles or reverse_path_service_profiles indicated by direction property. Example - For a ServiceChain A-B-C, A will have index of 3, B will have index of 2 and C will have index of 1. 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.
-
DIRECTION_FORWARD
= 'FORWARD'¶
-
DIRECTION_REVERSE
= 'REVERSE'¶
- direction (
-
class
com.vmware.nsx_policy.model_client.
ServiceChainMappingListResult
(links=None, schema=None, self_=None, cursor=None, result_count=None, sort_ascending=None, sort_by=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Service Chain Mapping 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
ofServiceChainMapping
orNone
) – List of the Service Chain Mappings. The list has to be homogenous. 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_policy.model_client.
ServiceDefinition
(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, attachment_point=None, functionalities=None, implementations=None, on_failure_policy=None, service_capability=None, service_deployment_spec=None, service_manager_id=None, transports=None, vendor_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Registering a Service is the first step in the ServiceInsertion mechanism. A ServiceDefinition is used to create a service.
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 - attachment_point (
list
ofstr
orNone
) –Possible values are:
ServiceDefinition.ATTACHMENT_POINT_TIER0_LR
ServiceDefinition.ATTACHMENT_POINT_TIER1_LR
ServiceDefinition.ATTACHMENT_POINT_SERVICE_PLANE
The point at which the service is deployed/attached for redirecting the traffic to the the partner appliance. Attachment Point is required if Service caters to any functionality other than EPP.
- functionalities (
list
ofstr
orNone
) –Possible values are:
ServiceDefinition.FUNCTIONALITIES_NG_FW
ServiceDefinition.FUNCTIONALITIES_IDS_IPS
ServiceDefinition.FUNCTIONALITIES_NET_MON
ServiceDefinition.FUNCTIONALITIES_HCX
ServiceDefinition.FUNCTIONALITIES_BYOD
ServiceDefinition.FUNCTIONALITIES_EPP
The capabilities provided by the services. Needs to be one or more of the following | NG_FW - Next Generation Firewall | IDS_IPS - Intrusion detection System / Intrusion Prevention System | NET_MON - Network Monitoring | HCX - Hybrid Cloud Exchange | BYOD - Bring Your Own Device | EPP - Endpoint Protection.(Third party AntiVirus partners using NXGI should use this functionality for the service)
- implementations (
list
ofstr
orNone
) –Possible values are:
This indicates the insertion point of the service i.e whether the service will be used to protect North-South or East-West traffic in the datacenter.
- on_failure_policy (
str
orNone
) –Possible values are:
Failure policy for the service tells datapath, the action to take i.e to Allow or Block traffic during failure scenarios. For north-south ServiceInsertion, failure policy in the service instance takes precedence. For east-west ServiceInsertion, failure policy in the service chain takes precedence. BLOCK is not supported for Endpoint protection (EPP) functionality.
- service_capability (
ServiceCapability
orNone
) – Service capability. - service_deployment_spec (
ServiceDeploymentSpec
orNone
) – Service Deployment Specification defines takes in information required to deploy and configure a partner appliance/service-vm. - service_manager_id (
str
orNone
) – ID of the service manager to which this service is attached with. This field is not set during creation of service. This field will be set explicitly when Service Manager is created successfully using this 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. - transports (
list
ofstr
orNone
) –Possible values are:
ServiceDefinition.TRANSPORTS_L2_BRIDGE
ServiceDefinition.TRANSPORTS_L3_ROUTED
ServiceDefinition.TRANSPORTS_NSH
Transport Type of the service, which is the mechanism of redirecting the traffic to the the partner appliance. Transport type is required if Service caters to any functionality other than EPP.
- vendor_id (
str
orNone
) – Id which is unique to a vendor or partner for which the service is created.
-
ATTACHMENT_POINT_SERVICE_PLANE
= 'SERVICE_PLANE'¶
-
ATTACHMENT_POINT_TIER0_LR
= 'TIER0_LR'¶
-
ATTACHMENT_POINT_TIER1_LR
= 'TIER1_LR'¶
-
FUNCTIONALITIES_BYOD
= 'BYOD'¶
-
FUNCTIONALITIES_EPP
= 'EPP'¶
-
FUNCTIONALITIES_HCX
= 'HCX'¶
-
FUNCTIONALITIES_IDS_IPS
= 'IDS_IPS'¶
-
FUNCTIONALITIES_NET_MON
= 'NET_MON'¶
-
FUNCTIONALITIES_NG_FW
= 'NG_FW'¶
-
IMPLEMENTATIONS_EAST_WEST
= 'EAST_WEST'¶
-
IMPLEMENTATIONS_NORTH_SOUTH
= 'NORTH_SOUTH'¶
-
ON_FAILURE_POLICY_ALLOW
= 'ALLOW'¶
-
ON_FAILURE_POLICY_BLOCK
= 'BLOCK'¶
-
TRANSPORTS_L2_BRIDGE
= 'L2_BRIDGE'¶
-
TRANSPORTS_L3_ROUTED
= 'L3_ROUTED'¶
-
TRANSPORTS_NSH
= 'NSH'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
ServiceDeploymentSpec
(deployment_specs=None, deployment_template=None, nic_metadata_list=None, svm_version=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
ServiceDeployment Spec consists of information required to deploy and configure the partner appliances. viz. Deployment template, deployment spec and NIC metatdata.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - deployment_specs (
list
ofSVMDeploymentSpec
orNone
) – Deployment Specs holds information required to deploy the Service-VMs. i.e. OVF url where the partner Service-VM OVF is hosted. The host type on which the OVF can be deployed, Form factor to name a few. - deployment_template (
list
ofDeploymentTemplate
orNone
) – Deployment Template holds the attributes specific to partner for which the service is created. These attributes are opaque to NSX Manager. - nic_metadata_list (
list
ofNicMetadata
orNone
) – NIC metadata associated with the deployment spec. - svm_version (
str
orNone
) – Partner needs to specify the Service VM version which will get deployed.
- deployment_specs (
-
class
com.vmware.nsx_policy.model_client.
ServiceEntry
(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='ServiceEntry', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A Service entry that describes traffic
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
) –Possible values are:
ServiceEntry.RESOURCE_TYPE_IPPROTOCOLSERVICEENTRY
ServiceEntry.RESOURCE_TYPE_IGMPTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ICMPTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ALGTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_L4PORTSETSERVICEENTRY
ServiceEntry.RESOURCE_TYPE_ETHERTYPESERVICEENTRY
ServiceEntry.RESOURCE_TYPE_NESTEDSERVICESERVICEENTRY
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_ALGTYPESERVICEENTRY
= 'ALGTypeServiceEntry'¶
-
RESOURCE_TYPE_ETHERTYPESERVICEENTRY
= 'EtherTypeServiceEntry'¶
-
RESOURCE_TYPE_ICMPTYPESERVICEENTRY
= 'ICMPTypeServiceEntry'¶
-
RESOURCE_TYPE_IGMPTYPESERVICEENTRY
= 'IGMPTypeServiceEntry'¶
-
RESOURCE_TYPE_IPPROTOCOLSERVICEENTRY
= 'IPProtocolServiceEntry'¶
-
RESOURCE_TYPE_L4PORTSETSERVICEENTRY
= 'L4PortSetServiceEntry'¶
-
RESOURCE_TYPE_NESTEDSERVICESERVICEENTRY
= 'NestedServiceServiceEntry'¶
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
ServiceEntryListResult
(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
Paged Collection of Service entries
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
) – Service entry list results When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inServiceEntry
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inServiceEntry
.
- links (
-
class
com.vmware.nsx_policy.model_client.
ServiceInsertionServiceListResult
(links=None, schema=None, self_=None, cursor=None, result_count=None, sort_ascending=None, sort_by=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Service 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
ofServiceDefinition
orNone
) – List of the Service-Insertion Services. The list has to be homogenous. 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_policy.model_client.
ServiceInstanceEndpoint
(service_interface_path=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='ServiceInstanceEndpoint', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, target_ips=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A ServiceInstanceEndpoint belongs to one ByodPolicyServiceInstance and is attached to one ServiceInterface. A ServiceInstanceEndpoint represents a redirection target for a RedirectionPolicy.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - service_interface_path (
str
orNone
) – Path of Service Interface to which this ServiceInstanceEndpoint is connected. - 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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - target_ips (
list
ofIPInfo
orNone
) – IPs where either inbound or outbound traffic is to be redirected.
-
resource_type
¶ Return the discriminator value
- service_interface_path (
-
class
com.vmware.nsx_policy.model_client.
ServiceInstanceEndpointListResult
(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
Paged Collection of ServiceInstanceEndpoint
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
ofServiceInstanceEndpoint
orNone
) – ServiceInstanceEndpoint list results
- links (
-
class
com.vmware.nsx_policy.model_client.
ServiceInterface
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, subnets=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Service interface configuration for internal connectivity.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - subnets (
list
ofInterfaceSubnet
orNone
) – Specify IP address and network prefix for interface.
- links (
-
class
com.vmware.nsx_policy.model_client.
ServiceInterfaceListResult
(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
Paged collection of Service Interfaces
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
ofServiceInterface
orNone
) – Service Interface list results
- links (
-
class
com.vmware.nsx_policy.model_client.
ServiceListResult
(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
Paged Collection of Services
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
ofService
orNone
) – Service list results
- links (
-
class
com.vmware.nsx_policy.model_client.
ServiceProfileGroups
(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, groups=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
ServiceProfileGroups contains list of Groups referenced in Service Insertion Rules.To be considered, Service profile must be part of a Service chain and that Service chain must be used in a Rule.
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 - groups (
list
ofGroupInfo
orNone
) – List of Groups Used in ServiceInsertion Rules. 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_policy.model_client.
ServiceReference
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, enabled=None, partner_service_name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
An anchor object representing the intent to consume a given 3rd party service.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
) – A Service’s operational state can be enabled or disabled. Note that would work only for NetX type of services and would not work for Guest Introsp- ection type of Services. TRUE - The Service should be enabled FALSE - The Service should be disabled - partner_service_name (
str
orNone
) – Unique name of Partner Service to be consumed for redirection.
- links (
-
class
com.vmware.nsx_policy.model_client.
ServiceReferenceListResult
(links=None, schema=None, self_=None, cursor=None, result_count=None, sort_ascending=None, sort_by=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Service Reference 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
ofServiceReference
orNone
) – Service Reference list results
- links (
-
class
com.vmware.nsx_policy.model_client.
ServiceSegment
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, lr_paths=None, transport_zone_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Service Segment configuration to attach Service Insertion VM.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lr_paths (
list
ofstr
orNone
) – Policy paths of logical routers or ports | to which this Service Segment can be connected. - transport_zone_path (
str
orNone
) – Policy path to transport zone. Only overlay transport zone is supported.
- links (
-
class
com.vmware.nsx_policy.model_client.
ServiceSegmentListResult
(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
Paged collection of Service Segment
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
ofServiceSegment
orNone
) – Service Segment list results
- links (
-
class
com.vmware.nsx_policy.model_client.
SessionTimerProfileBindingListResult
(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
Paged Collection of session timer profile binding 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
ofSessionTimerProfileBindingMap
orNone
) – Session timer profile binding maps list results
- links (
-
class
com.vmware.nsx_policy.model_client.
SessionTimerProfileBindingMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, profile_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This entity will be used to establish association between Session Timer profile and Logical Routers.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - profile_path (
str
orNone
) – PolicyPath of associated Profile
- links (
-
class
com.vmware.nsx_policy.model_client.
SetFields
(field_settings=None, resource_type='SetFields')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Set Fields is an action to set fields of the source event.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - field_settings (
list
ofFieldSetting
orNone
) – Field Settings. - resource_type (
str
) –Possible values are:
Reaction Action resource type.
-
resource_type
¶ Return the discriminator value
- field_settings (
-
class
com.vmware.nsx_policy.model_client.
Site
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, fail_if_rtep_misconfigured=None, fail_if_rtt_exceeded=None, federation_config=None, maximum_rtt=None, site_connection_info=None, site_number=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Site represents an NSX deployment having its own set of NSX clusters and transport nodes. It may correspond to a Data Center, VMC deployment, or NSX-Cloud deployment managed via CSM.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - fail_if_rtep_misconfigured (
bool
orNone
) – Both the local site and the remote site must have edge clusters correctly configured and remote tunnel endpoint (RTEP) interfaces must be defined, or onboarding will fail. - fail_if_rtt_exceeded (
bool
orNone
) – Fail onboarding if maximum RTT exceeded. - federation_config (
GmFederationSiteConfig
orNone
) – System managed federation config. - maximum_rtt (
long
orNone
) – If provided and fail_if_rtt_exceeded is true, onboarding of the site will fail if measured RTT is greater than this value. format: int64 - site_connection_info (
list
ofSiteNodeConnectionInfo
orNone
) – To onboard a site, the connection information (username, password, and API thumbprint) for at least one NSX manager node in the remote site must be provided. Once the site has been successfully onboarded, the site_connection_info is discarded and authentication to the remote site occurs using an X.509 client certificate. - site_number (
long
orNone
) – 12-bit system generated site number 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.
- links (
-
class
com.vmware.nsx_policy.model_client.
SiteAllocationIndexForEdge
(index=None, target_resource_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Index for cross site allocation for edge cluster and its members referred by gateway.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - index (
long
orNone
) – Unqiue edge cluster node index across sites based on stretch of the Gateway. For example, if a Gateway is streched to sites S1 with one edge cluster of 3 nodes and site S2 with one edge cluster of 2 nodes, the in the Global Manager will allocate the index for 5 edge nodes and 2 cluster in the rage 0 to 7. 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. - target_resource_path (
str
orNone
) – Edge cluster or edge node 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.
- index (
-
class
com.vmware.nsx_policy.model_client.
SiteFederationConfig
(rtep_ips=None, site_id=None, site_index=None, site_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Site fedeation configuration.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - rtep_ips (
list
ofstr
orNone
) – Remote tunnel endpoint IP addresses format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - site_id (
str
orNone
) – Site UUID This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - site_index (
long
orNone
) – Unique site index allocated (from range 0-4095) 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. - site_path (
str
orNone
) – Site 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.
- rtep_ips (
-
class
com.vmware.nsx_policy.model_client.
SiteInfo
(edge_cluster_paths=None, site_path=None, transport_zone_paths=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Information related to Sites applicable for given VHC.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - edge_cluster_paths (
list
ofstr
orNone
) – The edge cluster on which the networking elements for the VHC will be created. - site_path (
str
orNone
) – For the local manager this needs to be set to ‘default’. This represents the path of the site which is managed by Global Manager. - transport_zone_paths (
list
ofstr
orNone
) – The transport zone has to be set when creating VHC on Local manager. If not set for local manager, default transport zone will be used. For the Global Manager the transport zone path will be picked up from the site.
- edge_cluster_paths (
-
class
com.vmware.nsx_policy.model_client.
SiteListResult
(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
Paged Collection of Sites.
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
ofSite
orNone
) – Site list result.
- links (
-
class
com.vmware.nsx_policy.model_client.
SiteNodeConnectionInfo
(fqdn=None, password=None, thumbprint=None, username=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Credential info to connect to a node in the federated remote site.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - fqdn (
str
orNone
) – Please specify the fqdn of the Management Node of your site. - password (
str
orNone
) – Password to connect to Site’s Local Manager. - thumbprint (
str
orNone
) – Thumbprint of Site’s Local Manager in the form of a SHA-256 hash represented in lower case HEX. - username (
str
orNone
) – Username to connect to Site’s Local Manager.
- fqdn (
-
class
com.vmware.nsx_policy.model_client.
SiteOffBoardingState
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, message=None, status=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents site offboarding status.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - links (
list
ofResourceLink
orNone
) – The server will populate this field when returing the resource. Ignored on PUT and POST. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - schema (
str
orNone
) – Schema for this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - self (
SelfResourceLink
orNone
) – Link to this 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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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
) – Captures message associated with status. If FAILED, can contain folowing errors local site configuration is null internal server error with detail This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - status (
str
orNone
) –Possible values are:
SiteOffBoardingState.STATUS_INITIALIZE_INPROGRESS
SiteOffBoardingState.STATUS_INITIALIZE_FAILED
SiteOffBoardingState.STATUS_INITIALIZE_SUCCESSFUL
SiteOffBoardingState.STATUS_CLEANUP_INPROGRESS
SiteOffBoardingState.STATUS_CLEANUP_FAILED
SiteOffBoardingState.STATUS_CLEANUP_SUCCESSFUL
SiteOffBoardingState.STATUS_REALIZATION_INPROGRESS
SiteOffBoardingState.STATUS_REALIZATION_FAILED
SiteOffBoardingState.STATUS_REALIZATION_SUCCESSFUL
SiteOffBoardingState.STATUS_TERMINAL_INPROGRESS
SiteOffBoardingState.STATUS_TERMINAL_FAILED
SiteOffBoardingState.STATUS_FAILED
SiteOffBoardingState.STATUS_SUCCESSFUL
Represents site offboarding status.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
STATUS_CLEANUP_FAILED
= 'CLEANUP_FAILED'¶
-
STATUS_CLEANUP_INPROGRESS
= 'CLEANUP_INPROGRESS'¶
-
STATUS_CLEANUP_SUCCESSFUL
= 'CLEANUP_SUCCESSFUL'¶
-
STATUS_FAILED
= 'FAILED'¶
-
STATUS_INITIALIZE_FAILED
= 'INITIALIZE_FAILED'¶
-
STATUS_INITIALIZE_INPROGRESS
= 'INITIALIZE_INPROGRESS'¶
-
STATUS_INITIALIZE_SUCCESSFUL
= 'INITIALIZE_SUCCESSFUL'¶
-
STATUS_REALIZATION_FAILED
= 'REALIZATION_FAILED'¶
-
STATUS_REALIZATION_INPROGRESS
= 'REALIZATION_INPROGRESS'¶
-
STATUS_REALIZATION_SUCCESSFUL
= 'REALIZATION_SUCCESSFUL'¶
-
STATUS_SUCCESSFUL
= 'SUCCESSFUL'¶
-
STATUS_TERMINAL_FAILED
= 'TERMINAL_FAILED'¶
-
STATUS_TERMINAL_INPROGRESS
= 'TERMINAL_INPROGRESS'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
Source
(resource_type='Source')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Source that is logically deemed to be the “object” upon which the Event in question initially occurred upon. The Source is responsible for providing information of the occurred event. Some example sources include: - Resource. - API.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: resource_type ( str
) –Possible values are:
Event Source resource type.-
RESOURCE_TYPE_APIREQUESTBODY
= 'ApiRequestBody'¶
-
RESOURCE_TYPE_RESOURCEOPERATION
= 'ResourceOperation'¶
-
resource_type
¶ Return the discriminator value
-
-
class
com.vmware.nsx_policy.model_client.
SourceFieldEvaluation
(expected=None, field_pointer=None, operator=None, resource_type='SourceFieldEvaluation')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Source Field Evaluation represents an evaluation on resource fields. A source field evaluation will be evaluated against an Event Source which is of type Resource Operation. For instance, the attribute constraint could be related to the necessity that one of the source fields equals one of the specified values.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - expected (
list
ofstr
orNone
) – Expected values necessary to apply the specified operation on the source field value. - field_pointer (
str
orNone
) – Field in the form of a pointer, describing the location of the attribute within the source of the event. - operator (
str
orNone
) –Possible values are:
Logical operator. - resource_type (
str
) –Possible values are:
Criterion Evaluation resource type.
-
OPERATOR_EQ
= 'EQ'¶
-
OPERATOR_NOT_EQ
= 'NOT_EQ'¶
-
resource_type
¶ Return the discriminator value
- expected (
-
class
com.vmware.nsx_policy.model_client.
Span
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, sites=None, span_leader=None, span_resource=None, span_resource_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents the strech information for a federated entity available only on local manager.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - sites (
list
ofSpanSiteInfo
orNone
) – List of SpanSiteInfos representing the strech of the 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. - span_leader (
str
orNone
) – Represents Policy resource type streached entity’s span leader. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - span_resource (
str
orNone
) – Represents Policy resource path of streached 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. - span_resource_type (
str
orNone
) – Policy resource type of the streached 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.
- links (
-
class
com.vmware.nsx_policy.model_client.
SpanSiteInfo
(site_id=None, site_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents the Site resource information for a Span entity including both the internal id as well as the site path.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - site_id (
str
orNone
) – Site UUID representing the Site 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. - site_path (
str
orNone
) – Path of the Site 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.
- site_id (
-
class
com.vmware.nsx_policy.model_client.
SpoofGuardProfile
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, address_binding_whitelist=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
SpoofGuard is a tool that is designed to prevent virtual machines in your environment from sending traffic with IP addresses which are not authorized to send traffic from. A SpoofGuard policy profile once enabled blocks the traffic determined to be spoofed.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - address_binding_whitelist (
bool
orNone
) – If true, enable the SpoofGuard, which only allows VM sending traffic with the IPs in the whitelist.
- links (
-
class
com.vmware.nsx_policy.model_client.
SpoofGuardProfileListResult
(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
Paged collection of SpoofGuard profiles
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
ofSpoofGuardProfile
orNone
) – SpoofGuard profile list results
- links (
-
class
com.vmware.nsx_policy.model_client.
SslTrustObjectData
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, key_algo=None, passphrase=None, pem_encoded=None, private_key=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
) – 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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - key_algo (
str
orNone
) – Key algorithm contained in this certificate - passphrase (
str
orNone
) – Password for private key encryption - pem_encoded (
str
orNone
) – pem encoded certificate data - private_key (
str
orNone
) – private key data
- links (
-
class
com.vmware.nsx_policy.model_client.
StandaloneHostIdfwConfiguration
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, idfw_enabled=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Idfw configuration for enable/disable idfw on standalone hosts.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - idfw_enabled (
bool
orNone
) – If set to true, Idfw is enabled for standalone hosts
- links (
-
class
com.vmware.nsx_policy.model_client.
StatItem
(drilldown_id=None, tooltip=None, total=None, value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Displayed as a single number. It can be used to show the characteristics of entities such as Logical Switches, Firewall Rules, and so on. For example, number of logical switches and their admin states.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - drilldown_id (
str
orNone
) – Id of drilldown widget, if any. Id should be a valid id of an existing widget. - tooltip (
list
ofTooltip
orNone
) – Multi-line text to be shown on tooltip while hovering over the stat. - total (
str
orNone
) – If expression for total is specified, it evaluates it. Total can be omitted if not needed to be shown. - value (
str
orNone
) – Expression for stat to be displayed.
- drilldown_id (
-
class
com.vmware.nsx_policy.model_client.
StaticARPConfig
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, ip_address=None, mac_address=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Contains Static ARP configuration for Segment.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_address (
str
orNone
) – IP Address format: ip - mac_address (
str
orNone
) – MAC Address format: mac-address
- links (
-
class
com.vmware.nsx_policy.model_client.
StaticFilter
(display_name=None, value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Static filters
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - display_name (
str
orNone
) – display name to be shown in the drop down for static filter. - value (
str
orNone
) – Value of static filter inside dropdown filter.
- display_name (
-
class
com.vmware.nsx_policy.model_client.
StaticRouteBfdPeer
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, bfd_profile_path=None, enabled=None, peer_address=None, scope=None, source_addresses=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Static Route Bidirectional Forwarding Detection Peer
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - bfd_profile_path (
str
orNone
) – Bfd Profile is not supported for IPv6 networks. - enabled (
bool
orNone
) – Flag to enable BFD peer. - peer_address (
str
orNone
) – Only IPv4 addresses are supported. Only a single BFD config per peer address is allowed. - scope (
list
ofstr
orNone
) – Represents the array of policy paths of locale services where this BFD peer should get relalized on. The locale service service and this BFD peer must belong to the same router. Default scope is empty. - source_addresses (
list
ofstr
orNone
) – Array of Tier0 external interface IP addresses. BFD peering is established from all these source addresses to the neighbor specified in peer_address. Only IPv4 addresses are supported.
- links (
-
class
com.vmware.nsx_policy.model_client.
StaticRouteBfdPeerListResult
(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
Paged collection of StaticRouteBfdPeer.
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
ofStaticRouteBfdPeer
orNone
) – StaticRouteBfdPeer list results.
- links (
-
class
com.vmware.nsx_policy.model_client.
StaticRoutes
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, enabled_on_secondary=None, network=None, next_hops=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Static routes configuration on Tier-0 or Tier-1.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. 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_on_secondary (
bool
orNone
) – When false or by default northbound routes are configured only on the primary location and not on secondary location. When true, the static route will also be configured on a secondary location. Secondary location prefers route learned from the primary location and enabling this flag secondary location can override this. This flag is not applicable if all sites are primary. - network (
str
orNone
) – Specify network address in CIDR format. format: address-or-block-or-range - next_hops (
list
ofRouterNexthop
orNone
) – Specify next hop routes for network.
- links (
-
class
com.vmware.nsx_policy.model_client.
StaticRoutesListResult
(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
Paged collection of Static Routes
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
ofStaticRoutes
orNone
) – Static Routes list results
- links (
-
class
com.vmware.nsx_policy.model_client.
StatsConfiguration
(label=None, navigation=None, sections=None, stat=None, sub_type=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='StatsConfiguration', tags=None, datasources=None, default_filter_value=None, drilldown_id=None, filter=None, filter_value_required=None, footer=None, icons=None, is_drilldown=None, legend=None, shared=None, span=None, weight=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents configuration of a statistic for an entity. Example, number of logical switches and their admin states.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - label (
Label
orNone
) – Displayed at the sections, by default. It labels the entities of sections. If label is not provided, the sections are not labelled. - navigation (
str
orNone
) – Hyperlink of the specified UI page that provides details. - sections (
list
ofDonutSection
orNone
) – Sections - stat (
StatItem
orNone
) – Expression that fetches statistic. It can be used to show the characteristics of entities such as Logical Switches, Firewall Rules, and so on. For example, number of logical switches and their admin states. If stat is not provided, then it will not be displayed. - sub_type (
str
orNone
) –Possible values are:
A sub-type of StatsConfiguration. If sub-type is not specified the parent type is rendered. The COMPACT sub_type, conserves the space for the widget. The statistic is placed on the right side on top of the status bar and the title of the widget is placed on the left side on the top of the status bar. The COMPACT style aligns itself horizontally as per the width of the container. If multiple widgets are placed insided the container then the widgets are placed one below the other to conserve the space.
- 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
) – Title of the widget. If display_name is omitted, the widget will be shown without a title. - id (
str
orNone
) – Unique identifier of this resource - resource_type (
str
) –Possible values are:
WidgetConfiguration.RESOURCE_TYPE_LABELVALUECONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DONUTCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_MULTIWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CONTAINERCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_STATSCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRIDCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRAPHCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CUSTOMWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DROPDOWNFILTERWIDGETCONFIGURATION
Supported visualization types are LabelValueConfiguration, DonutConfiguration, GridConfiguration, StatsConfiguration, MultiWidgetConfiguration, GraphConfiguration, ContainerConfiguration, CustomWidgetConfiguration and DropdownFilterWidgetConfiguration.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - datasources (
list
ofDatasource
orNone
) – The ‘datasources’ represent the sources from which data will be fetched. Currently, only NSX-API is supported as a ‘default’ datasource. An example of specifying ‘default’ datasource along with the urls to fetch data from is given at ‘example_request’ section of ‘CreateWidgetConfiguration’ API. - default_filter_value (
list
ofDefaultFilterValue
orNone
) – Default filter values to be passed to datasources. This will be used when the report is requested without filter values. - drilldown_id (
str
orNone
) – Id of drilldown widget, if any. Id should be a valid id of an existing widget. A widget is considered as drilldown widget when it is associated with any other widget and provides more detailed information about any data item from the parent widget. - filter (
str
orNone
) – Id of filter widget for subscription, if any. Id should be a valid id of an existing filter widget. Filter widget should be from the same view. Datasource URLs should have placeholder values equal to filter alias to accept the filter value on filter change. - filter_value_required (
bool
orNone
) – Flag to indicate that widget will continue to work without filter value. If this flag is set to false then default_filter_value is manadatory. - footer (
Footer
orNone
) – - icons (
list
ofIcon
orNone
) – Icons to be applied at dashboard for widgets and UI elements. - is_drilldown (
bool
orNone
) – Set to true if this widget should be used as a drilldown. - legend (
Legend
orNone
) – Legend to be displayed. If legend is not needed, do not include it. - shared (
bool
orNone
) – Please use the property ‘shared’ of View instead of this. The widgets of a shared view are visible to other users. - span (
long
orNone
) – Represents the horizontal span of the widget / container. format: int32 - weight (
long
orNone
) – Specify relavite weight in WidgetItem for placement in a view. Please see WidgetItem for details. format: int32
-
SUB_TYPE_COMPACT
= 'COMPACT'¶
-
resource_type
¶ Return the discriminator value
- label (
-
class
com.vmware.nsx_policy.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_policy.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_policy.model_client.
TagBulkOperation
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, apply_to=None, remove_from=None, tag=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tag and resource information on which tag to be applied or removed.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - apply_to (
list
ofResourceInfo
orNone
) – List of resources on which tag needs to be applied - remove_from (
list
ofResourceInfo
orNone
) – List of resources from which tag needs to be removed - tag (
Tag
orNone
) – Tag
- links (
-
class
com.vmware.nsx_policy.model_client.
TagBulkOperationStatus
(apply_to=None, path=None, remove_from=None, status=None, tag=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Status of tag bulk operation
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - apply_to (
list
ofResourceTypeTagStatus
orNone
) – Tag apply operation status per resource type. - path (
str
orNone
) – Intent path corresponding to tag operation - remove_from (
list
ofResourceTypeTagStatus
orNone
) – Tag remove operation status per resource type - status (
str
orNone
) –Possible values are:
TagBulkOperationStatus.STATUS_SUCCESS
TagBulkOperationStatus.STATUS_RUNNING
TagBulkOperationStatus.STATUS_ERROR
TagBulkOperationStatus.STATUS_PENDING
Overall status - tag (
Tag
orNone
) – Tag
-
STATUS_ERROR
= 'Error'¶
-
STATUS_PENDING
= 'Pending'¶
-
STATUS_RUNNING
= 'Running'¶
-
STATUS_SUCCESS
= 'Success'¶
- apply_to (
-
class
com.vmware.nsx_policy.model_client.
TagInfo
(scope=None, tag=None, tagged_objects_count=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Information about 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 - tagged_objects_count (
long
orNone
) – Number of objects with assigned with matching scope and tag values 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.
- scope (
-
class
com.vmware.nsx_policy.model_client.
TagInfoListResult
(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
Paged Collection of Tags
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
ofTagInfo
orNone
) – Tag info list results
- links (
-
class
com.vmware.nsx_policy.model_client.
TaskListResult
(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
Task query results
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
ofTaskProperties
orNone
) – Task property results
- links (
-
class
com.vmware.nsx_policy.model_client.
TaskProperties
(links=None, schema=None, self_=None, async_response_available=None, cancelable=None, description=None, end_time=None, id=None, message=None, progress=None, request_method=None, request_uri=None, start_time=None, status=None, user=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Task properties
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - links (
list
ofResourceLink
orNone
) – The server will populate this field when returing the resource. Ignored on PUT and POST. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - schema (
str
orNone
) – Schema for this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - self (
SelfResourceLink
orNone
) – Link to this resource - async_response_available (
bool
orNone
) – True if response for asynchronous request is available This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - cancelable (
bool
orNone
) – True if this task can be canceled This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - description (
str
orNone
) – Description of the task This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - end_time (
long
orNone
) – The end time of the task in epoch milliseconds format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - id (
str
orNone
) – Identifier for this task This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - message (
str
orNone
) – A message describing the disposition of the task This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - progress (
long
orNone
) – Task progress if known, from 0 to 100 format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - request_method (
str
orNone
) – HTTP request method This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - request_uri (
str
orNone
) – URI of the method invocation that spawned this task This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - start_time (
long
orNone
) – The start time of the task in epoch milliseconds format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - status (
str
orNone
) –Possible values are:
TaskProperties.STATUS_RUNNING
TaskProperties.STATUS_ERROR
TaskProperties.STATUS_SUCCESS
TaskProperties.STATUS_CANCELING
TaskProperties.STATUS_CANCELED
TaskProperties.STATUS_KILLED
Current status of the taskThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- user (
str
orNone
) – Name of the user who created this task This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
STATUS_CANCELED
= 'canceled'¶
-
STATUS_CANCELING
= 'canceling'¶
-
STATUS_ERROR
= 'error'¶
-
STATUS_KILLED
= 'killed'¶
-
STATUS_RUNNING
= 'running'¶
-
STATUS_SUCCESS
= 'success'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
TcpHeader
(dst_port=None, src_port=None, tcp_flags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dst_port (
long
orNone
) – Destination port of tcp header format: int64 - src_port (
long
orNone
) – Source port of tcp header format: int64 - tcp_flags (
long
orNone
) – TCP flags (9bits) format: int64
- dst_port (
-
class
com.vmware.nsx_policy.model_client.
TcpMaximumSegmentSizeClamping
(direction=None, max_segment_size=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
TCP MSS Clamping Direction and Value.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - direction (
str
orNone
) –Possible values are:
TcpMaximumSegmentSizeClamping.DIRECTION_NONE
TcpMaximumSegmentSizeClamping.DIRECTION_INBOUND_CONNECTION
TcpMaximumSegmentSizeClamping.DIRECTION_OUTBOUND_CONNECTION
TcpMaximumSegmentSizeClamping.DIRECTION_BOTH
Specifies the traffic direction for which to apply MSS Clamping. - max_segment_size (
long
orNone
) – MSS defines the maximum amount of data that a host is willing to accept in a single TCP segment. This field is set in TCP header during connection establishment. To avoid packet fragmentation, you can set this field depending on uplink MTU and VPN overhead. This is an optional field and in case it is left unconfigured, best possible MSS value will be calculated based on effective mtu of uplink interface. Supported MSS range is 216 to 8960. format: int64
-
DIRECTION_BOTH
= 'BOTH'¶
-
DIRECTION_INBOUND_CONNECTION
= 'INBOUND_CONNECTION'¶
-
DIRECTION_NONE
= 'NONE'¶
-
DIRECTION_OUTBOUND_CONNECTION
= 'OUTBOUND_CONNECTION'¶
- direction (
-
class
com.vmware.nsx_policy.model_client.
TcpPolicyLbMonitorProfile
(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='TcpPolicyLbMonitorProfile', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, fall_count=None, interval=None, monitor_port=None, rise_count=None, timeout=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Active healthchecks are disabled by default and can be enabled for a server pool by binding a health monitor to the Group through the PolicyLbRule object. This represents active health monitoring over TCP. Active healthchecks are initiated periodically, at a configurable interval, to each member of the Group. Only if a healthcheck fails consecutively for a specified number of times (fall_count) to a member will the member status be marked DOWN. Once a member is DOWN, a specified number of consecutive successful healthchecks (rise_count) will bring the member back to UP state. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
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
) –Possible values are:
PolicyLbMonitorProfile.RESOURCE_TYPE_TCPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_UDPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_ICMPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_HTTPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_HTTPSPOLICYLBMONITORPROFILE
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - fall_count (
long
orNone
) – Only if a healthcheck fails consecutively for a specified number of times, given with fall_count, to a member will the member status be marked DOWN. format: int64 - interval (
long
orNone
) – Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group. format: int64 - monitor_port (
long
orNone
) – Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value. format: int32 - rise_count (
long
orNone
) – Once a member is DOWN, a specified number of consecutive successful healthchecks specified by rise_count will bring the member back to UP state. format: int64 - timeout (
long
orNone
) – Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout. format: int64
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
TcpPolicyLbVirtualServer
(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='TcpPolicyLbVirtualServer', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, access_log_enabled=None, ip_address=None, lb_persistence_profile=None, ports=None, router_path=None, traffic_source=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Virtual server acts as a facade to an application, receives all client connections over TCP and distributes them among the backend servers.
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
) –Possible values are:
PolicyLbVirtualServer.RESOURCE_TYPE_TCPPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_UDPPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_HTTPPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_HTTPSPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_CUSTOMPOLICYLBVIRTUALSERVER
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - access_log_enabled (
bool
orNone
) – If access log is enabled, all HTTP requests sent to an L7 virtual server are logged to the access log file. Both successful requests (backend server returns 2xx) and unsuccessful requests (backend server returns 4xx or 5xx) are logged to access log, if enabled. - ip_address (
str
orNone
) – Configures the IP address of the PolicyLbVirtualServer where it receives all client connections and distributes them among the backend servers. format: ip - lb_persistence_profile (
str
orNone
) – Path to optional object that enables persistence on a virtual server allowing related client connections to be sent to the same backend server. Persistence is disabled by default. - ports (
list
ofstr
orNone
) – Ports contains a list of at least one port or port range such as “80”, “1234-1236”. Each port element in the list should be a single port or a single port range. format: port-or-range - router_path (
str
orNone
) – Path to router type object that PolicyLbVirtualServer connects to. The only supported router object is Network. - traffic_source (
str
orNone
) –
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
Tier0
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, default_rule_logging=None, dhcp_config_paths=None, disable_firewall=None, failover_mode=None, federation_config=None, force_whitelisting=None, ha_mode=None, internal_transit_subnets=None, intersite_config=None, ipv6_profile_paths=None, rd_admin_field=None, transit_subnets=None, vrf_config=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tier-0 configuration for external connectivity.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - default_rule_logging (
bool
orNone
) – Indicates if logging should be enabled for the default whitelisting rule. This field is deprecated and recommended to change Rule logging field. Note that this field is not synchronized with default logging field. - dhcp_config_paths (
list
ofstr
orNone
) – DHCP configuration for Segments connected to Tier-0. DHCP service is configured in relay mode. - disable_firewall (
bool
orNone
) – Disable or enable gateway fiewall. - failover_mode (
str
orNone
) –Possible values are:
Determines the behavior when a Tier-0 instance in ACTIVE-STANDBY high-availability mode restarts after a failure. If set to PREEMPTIVE, the preferred node will take over, even if it causes another failure. If set to NON_PREEMPTIVE, then the instance that restarted will remain secondary. This property is not used when the ha_mode property is set to ACTIVE_ACTIVE. Only applicable when edge cluster is configured in Tier0 locale-service.
- federation_config (
FederationGatewayConfig
orNone
) – Additional config for federation. - force_whitelisting (
bool
orNone
) – This field is deprecated and recommended to change Rule action field. Note that this field is not synchronized with default rule field. - ha_mode (
str
orNone
) –Possible values are:
Specify high-availability mode for Tier-0. Default is ACTIVE_ACTIVE. When ha_mode is changed from ACTIVE_ACTIVE to ACTIVE_STANDBY, inter SR iBGP (in BGP) is disabled. Changing ha_mode from ACTIVE_STANDBY to ACTIVE_ACTIVE will enable inter SR iBGP (in BGP) and previously configured preferred edge nodes (in Tier0 locale-service) are removed.
- internal_transit_subnets (
list
ofstr
orNone
) – Specify subnets that are used to assign addresses to logical links connecting service routers and distributed routers. Only IPv4 addresses are supported. When not specified, subnet 169.254.0.0/24 is assigned by default in ACTIVE_ACTIVE HA mode or 169.254.0.0/28 in ACTIVE_STANDBY mode. format: ip-cidr-block - intersite_config (
IntersiteGatewayConfig
orNone
) – Inter site routing configuration when the gateway is streched. - ipv6_profile_paths (
list
ofstr
orNone
) – IPv6 NDRA and DAD profiles configuration on Tier0. Either or both NDRA and/or DAD profiles can be configured. - rd_admin_field (
str
orNone
) – If you are using EVPN service, then route distinguisher administrator address should be defined if you need auto generation of route distinguisher on your VRF configuration. format: ip - transit_subnets (
list
ofstr
orNone
) – Specify transit subnets that are used to assign addresses to logical links connecting tier-0 and tier-1s. Both IPv4 and IPv6 addresses are supported. When not specified, subnet 100.64.0.0/16 is configured by default. format: ip-cidr-block - vrf_config (
Tier0VrfConfig
orNone
) – VRF config, required for VRF Tier0.
-
FAILOVER_MODE_NON_PREEMPTIVE
= 'NON_PREEMPTIVE'¶
-
FAILOVER_MODE_PREEMPTIVE
= 'PREEMPTIVE'¶
-
HA_MODE_ACTIVE
= 'ACTIVE_ACTIVE'¶
-
HA_MODE_STANDBY
= 'ACTIVE_STANDBY'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
Tier0DeploymentMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, enforcement_point=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Binding of Tier-0 to the enforcement point.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - enforcement_point (
str
orNone
) – Path of enforcement point on which Tier-0 shall be deployed.
- links (
-
class
com.vmware.nsx_policy.model_client.
Tier0DeploymentMapListResult
(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
Paged collection of Tier-0 Deployment Map.
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
ofTier0DeploymentMap
orNone
) – Tier-0 Deployment Maps.
- links (
-
class
com.vmware.nsx_policy.model_client.
Tier0GatewayState
(enforcement_point_path=None, ipv6_status=None, tier0_state=None, tier0_status=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tier0 gateway state
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - enforcement_point_path (
str
orNone
) – String Path of the enforcement point. When not specified, routes from all enforcement-points are returned. - ipv6_status (
list
ofIPv6Status
orNone
) – IPv6 DAD status for interfaces configured on Tier0 - tier0_state (
LogicalRouterState
orNone
) – Detailed realized state information for Tier0 - tier0_status (
LogicalRouterStatus
orNone
) – Detailed realized status information for Tier0
- enforcement_point_path (
-
class
com.vmware.nsx_policy.model_client.
Tier0HaVipConfig
(enabled=None, external_interface_paths=None, vip_subnets=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tier0 HA VIP Config
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - enabled (
bool
orNone
) – Flag to enable this HA VIP config. - external_interface_paths (
list
ofstr
orNone
) – Policy paths to Tier0 external interfaces which are to be paired to provide redundancy. Floating IP will be owned by one of these interfaces depending upon which edge node is Active. - vip_subnets (
list
ofInterfaceSubnet
orNone
) – Array of IP address subnets which will be used as floating IP addresses.
- enabled (
-
class
com.vmware.nsx_policy.model_client.
Tier0Interface
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, subnets=None, access_vlan_id=None, edge_cluster_member_index=None, edge_path=None, ipv6_profile_paths=None, ls_id=None, mtu=None, multicast=None, proxy_arp_filters=None, segment_path=None, type=None, urpf_mode=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tier-0 interface configuration for external connectivity.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - subnets (
list
ofInterfaceSubnet
orNone
) – Specify IP address and network prefix for interface. - access_vlan_id (
long
orNone
) – Vlan id. format: int64 - edge_cluster_member_index (
long
orNone
) – Specify association of interface with edge cluster member. This property is deprecated, use edge_path instead. When both properties are specifed, only edge_path property is used. format: int32 - edge_path (
str
orNone
) – Policy path to edge node to handle external connectivity. Required when interface type is EXTERNAL. - ipv6_profile_paths (
list
ofstr
orNone
) – Configuration IPv6 NDRA profile. Only one NDRA profile can be configured. - ls_id (
str
orNone
) – Specify logical switch to which tier-0 interface is connected for external access. This property is deprecated, use segment_path instead. Both properties cannot be used together. - mtu (
long
orNone
) – Maximum transmission unit (MTU) specifies the size of the largest packet that a network protocol can transmit. format: int32 - multicast (
Tier0InterfacePimConfig
orNone
) – Multicast PIM configuration. - proxy_arp_filters (
list
ofstr
orNone
) – Array of prefix lists used to specify filtering for ARP proxy. Prefixes in this array are used to configure ARP proxy entries on Tier-0 gateway (for uplinks). - segment_path (
str
orNone
) – Specify Segment to which this interface is connected to. Either segment_path or ls_id property is required. - type (
str
orNone
) –Possible values are:
Interface type - urpf_mode (
str
orNone
) –Possible values are:
Unicast Reverse Path Forwarding mode
-
TYPE_EXTERNAL
= 'EXTERNAL'¶
-
TYPE_LOOPBACK
= 'LOOPBACK'¶
-
TYPE_SERVICE
= 'SERVICE'¶
-
URPF_MODE_NONE
= 'NONE'¶
-
URPF_MODE_STRICT
= 'STRICT'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
Tier0InterfaceListResult
(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
Paged collection of Tier-0 Interfaces
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
ofTier0Interface
orNone
) – Tier-0 Interface list results
- links (
-
class
com.vmware.nsx_policy.model_client.
Tier0InterfacePimConfig
(enabled=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Multicast PIM configuration.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: enabled ( bool
orNone
) – enable/disable PIM configuration.
-
class
com.vmware.nsx_policy.model_client.
Tier0ListResult
(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
Paged collection of Tier-0s
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
ofTier0
orNone
) – Tier-0 list results
- links (
-
class
com.vmware.nsx_policy.model_client.
Tier0RouteMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, entries=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
RouteMap for redistributing routes to BGP and other routing protocols
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - entries (
list
ofRouteMapEntry
orNone
) – Ordered list of route map entries.
- links (
-
class
com.vmware.nsx_policy.model_client.
Tier0RouteMapListResult
(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
Paged collection of RouteMaps
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
ofTier0RouteMap
orNone
) – Tier0RouteMap results
- links (
-
class
com.vmware.nsx_policy.model_client.
Tier0RouteRedistributionConfig
(bgp_enabled=None, redistribution_rules=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Route Redistribution config
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - bgp_enabled (
bool
orNone
) – Flag to enable route redistribution for BGP. - redistribution_rules (
list
ofTier0RouteRedistributionRule
orNone
) – List of redistribution rules.
- bgp_enabled (
-
class
com.vmware.nsx_policy.model_client.
Tier0RouteRedistributionRule
(name=None, route_map_path=None, route_redistribution_types=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Single route redistribution rule
Tip
The arguments are used to initialize data attributes with the same names.
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_CONNECTED
= 'TIER0_CONNECTED'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_DNS_FORWARDER_IP
= 'TIER0_DNS_FORWARDER_IP'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_EVPN_TEP_IP
= 'TIER0_EVPN_TEP_IP'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_EXTERNAL_INTERFACE
= 'TIER0_EXTERNAL_INTERFACE'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_IPSEC_LOCAL_IP
= 'TIER0_IPSEC_LOCAL_IP'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_LOOPBACK_INTERFACE
= 'TIER0_LOOPBACK_INTERFACE'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_NAT
= 'TIER0_NAT'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_ROUTER_LINK
= 'TIER0_ROUTER_LINK'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_SEGMENT
= 'TIER0_SEGMENT'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_SERVICE_INTERFACE
= 'TIER0_SERVICE_INTERFACE'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_STATIC
= 'TIER0_STATIC'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_CONNECTED
= 'TIER1_CONNECTED'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_DNS_FORWARDER_IP
= 'TIER1_DNS_FORWARDER_IP'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_IPSEC_LOCAL_ENDPOINT
= 'TIER1_IPSEC_LOCAL_ENDPOINT'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_LB_SNAT
= 'TIER1_LB_SNAT'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_LB_VIP
= 'TIER1_LB_VIP'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_NAT
= 'TIER1_NAT'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_SEGMENT
= 'TIER1_SEGMENT'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_SERVICE_INTERFACE
= 'TIER1_SERVICE_INTERFACE'¶
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_STATIC
= 'TIER1_STATIC'¶
-
-
class
com.vmware.nsx_policy.model_client.
Tier0VrfConfig
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, evpn_transit_vni=None, route_distinguisher=None, route_targets=None, tier0_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tier-0 vrf configuration.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - evpn_transit_vni (
long
orNone
) – L3 VNI associated with the VRF for overlay traffic. VNI must be unique and belong to configured VNI pool. format: int32 - route_distinguisher (
str
orNone
) – - route_targets (
list
ofVrfRouteTargets
orNone
) – Route targets. - tier0_path (
str
orNone
) – Default tier0 path. Cannot be modified after realization.
- links (
-
class
com.vmware.nsx_policy.model_client.
Tier1
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, default_rule_logging=None, dhcp_config_paths=None, disable_firewall=None, enable_standby_relocation=None, failover_mode=None, federation_config=None, force_whitelisting=None, intersite_config=None, ipv6_profile_paths=None, pool_allocation=None, qos_profile=None, route_advertisement_rules=None, route_advertisement_types=None, tier0_path=None, type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tier-1 instance configuration.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - default_rule_logging (
bool
orNone
) – Indicates if logging should be enabled for the default whitelisting rule. This field is deprecated and recommended to change Rule logging field. Note that this field is not synchronized with default logging field. - dhcp_config_paths (
list
ofstr
orNone
) – DHCP configuration for Segments connected to Tier-1. DHCP service is enabled in relay mode. - disable_firewall (
bool
orNone
) – Disable or enable gateway fiewall. - enable_standby_relocation (
bool
orNone
) – Flag to enable standby service router relocation. Standby relocation is not enabled until edge cluster is configured for Tier1. - failover_mode (
str
orNone
) –Possible values are:
Determines the behavior when a Tier-1 instance restarts after a failure. If set to PREEMPTIVE, the preferred node will take over, even if it causes another failure. If set to NON_PREEMPTIVE, then the instance that restarted will remain secondary. Only applicable when edge cluster is configured in Tier1 locale-service.
- federation_config (
FederationGatewayConfig
orNone
) – Additional config for federation. - force_whitelisting (
bool
orNone
) – This field is deprecated and recommended to change Rule action field. Note that this field is not synchornied with default rule field. - intersite_config (
IntersiteGatewayConfig
orNone
) – Inter site routing configuration when the gateway is streched. - ipv6_profile_paths (
list
ofstr
orNone
) – Configuration IPv6 NDRA and DAD profiles. Either or both NDRA and/or DAD profiles can be configured. - pool_allocation (
str
orNone
) –Possible values are:
Tier1.POOL_ALLOCATION_ROUTING
Tier1.POOL_ALLOCATION_LB_SMALL
Tier1.POOL_ALLOCATION_LB_MEDIUM
Tier1.POOL_ALLOCATION_LB_LARGE
Tier1.POOL_ALLOCATION_LB_XLARGE
Supports edge node allocation at different sizes for routing and load balancer service to meet performance and scalability requirements. ROUTING: Allocate edge node to provide routing services. LB_SMALL, LB_MEDIUM, LB_LARGE, LB_XLARGE: Specify size of load balancer service that will be configured on TIER1 gateway.
- qos_profile (
GatewayQosProfileConfig
orNone
) – QoS Profile configuration for Tier1 router link connected to Tier0 gateway. - route_advertisement_rules (
list
ofRouteAdvertisementRule
orNone
) – Route advertisement rules and filtering - route_advertisement_types (
list
ofstr
orNone
) –Possible values are:
Tier1.ROUTE_ADVERTISEMENT_TYPES_STATIC_ROUTES
Tier1.ROUTE_ADVERTISEMENT_TYPES_CONNECTED
Tier1.ROUTE_ADVERTISEMENT_TYPES_NAT
Tier1.ROUTE_ADVERTISEMENT_TYPES_LB_VIP
Tier1.ROUTE_ADVERTISEMENT_TYPES_LB_SNAT
Tier1.ROUTE_ADVERTISEMENT_TYPES_DNS_FORWARDER_IP
Tier1.ROUTE_ADVERTISEMENT_TYPES_IPSEC_LOCAL_ENDPOINT
Enable different types of route advertisements. When not specified, routes to IPSec VPN local-endpoint subnets (TIER1_IPSEC_LOCAL_ENDPOINT) are automatically advertised.
- tier0_path (
str
orNone
) – Specify Tier-1 connectivity to Tier-0 instance. - type (
str
orNone
) –Possible values are:
Tier1 connectivity type for reference. Property value is not validated with Tier1 configuration. ROUTED: Tier1 is connected to Tier0 gateway and routing is enabled. ISOLATED: Tier1 is not connected to any Tier0 gateway. NATTED: Tier1 is in ROUTED type with NAT configured locally.
-
FAILOVER_MODE_NON_PREEMPTIVE
= 'NON_PREEMPTIVE'¶
-
FAILOVER_MODE_PREEMPTIVE
= 'PREEMPTIVE'¶
-
POOL_ALLOCATION_LB_LARGE
= 'LB_LARGE'¶
-
POOL_ALLOCATION_LB_MEDIUM
= 'LB_MEDIUM'¶
-
POOL_ALLOCATION_LB_SMALL
= 'LB_SMALL'¶
-
POOL_ALLOCATION_LB_XLARGE
= 'LB_XLARGE'¶
-
POOL_ALLOCATION_ROUTING
= 'ROUTING'¶
-
ROUTE_ADVERTISEMENT_TYPES_CONNECTED
= 'TIER1_CONNECTED'¶
-
ROUTE_ADVERTISEMENT_TYPES_DNS_FORWARDER_IP
= 'TIER1_DNS_FORWARDER_IP'¶
-
ROUTE_ADVERTISEMENT_TYPES_IPSEC_LOCAL_ENDPOINT
= 'TIER1_IPSEC_LOCAL_ENDPOINT'¶
-
ROUTE_ADVERTISEMENT_TYPES_LB_SNAT
= 'TIER1_LB_SNAT'¶
-
ROUTE_ADVERTISEMENT_TYPES_LB_VIP
= 'TIER1_LB_VIP'¶
-
ROUTE_ADVERTISEMENT_TYPES_NAT
= 'TIER1_NAT'¶
-
ROUTE_ADVERTISEMENT_TYPES_STATIC_ROUTES
= 'TIER1_STATIC_ROUTES'¶
-
TYPE_ISOLATED
= 'ISOLATED'¶
-
TYPE_NATTED
= 'NATTED'¶
-
TYPE_ROUTED
= 'ROUTED'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
Tier1DeploymentMap
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, enforcement_point=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Binding of Tier-1 to the enforcement point.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - enforcement_point (
str
orNone
) – Path of enforcement point on which Tier-1 shall be deployed.
- links (
-
class
com.vmware.nsx_policy.model_client.
Tier1GatewayState
(enforcement_point_path=None, ipv6_status=None, tier1_state=None, tier1_status=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tier1 gateway state
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - enforcement_point_path (
str
orNone
) – String Path of the enforcement point. When not specified, routes from all enforcement-points are returned. - ipv6_status (
list
ofIPv6Status
orNone
) – IPv6 DAD status for interfaces configured on Tier1 - tier1_state (
LogicalRouterState
orNone
) – Detailed realized state information for Tier1 - tier1_status (
LogicalRouterStatus
orNone
) – Detailed realized status information for Tier1
- enforcement_point_path (
-
class
com.vmware.nsx_policy.model_client.
Tier1Interface
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, subnets=None, ipv6_profile_paths=None, mtu=None, segment_path=None, urpf_mode=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tier-1 interface configuration for attaching services.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - subnets (
list
ofInterfaceSubnet
orNone
) – Specify IP address and network prefix for interface. - ipv6_profile_paths (
list
ofstr
orNone
) – Configrue IPv6 NDRA profile. Only one NDRA profile can be configured. - mtu (
long
orNone
) – Maximum transmission unit (MTU) specifies the size of the largest packet that a network protocol can transmit. format: int32 - segment_path (
str
orNone
) – Policy path of Segment to which interface is connected to. - urpf_mode (
str
orNone
) –Possible values are:
Unicast Reverse Path Forwarding mode
-
URPF_MODE_NONE
= 'NONE'¶
-
URPF_MODE_STRICT
= 'STRICT'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
Tier1InterfaceListResult
(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
Paged collection of Tier-1 Interfaces
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
ofTier1Interface
orNone
) – Tier-1 Interface list results
- links (
-
class
com.vmware.nsx_policy.model_client.
Tier1ListResult
(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
Paged collection of Tier-1 instances
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
ofTier1
orNone
) – Tier-1 list results
- links (
-
class
com.vmware.nsx_policy.model_client.
TlsCertificate
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, details=None, pem_encoded=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
) – 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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - details (
list
ofX509Certificate
orNone
) – list of X509Certificates. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - pem_encoded (
str
orNone
) – pem encoded certificate data.
- links (
-
class
com.vmware.nsx_policy.model_client.
TlsCertificateList
(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
Certificate queries 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
ofTlsCertificate
orNone
) – TlsCertificate 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.
- links (
-
class
com.vmware.nsx_policy.model_client.
TlsCrl
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, details=None, pem_encoded=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
) – 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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - details (
X509Crl
orNone
) – Details of the X509Crl object. - pem_encoded (
str
orNone
) – Pem encoded crl data.
- links (
-
class
com.vmware.nsx_policy.model_client.
TlsCrlListResult
(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
Paged Collection of TlsCrl
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
ofTlsCrl
orNone
) – TlsCrl list results
- links (
-
class
com.vmware.nsx_policy.model_client.
TlsListenerCertificate
(certificate=None, result=None, thumbprint=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Returns the certificate and thumbprint of a remote TLS listener, if the listener is running and accepting requests. If the certificate cannot be retrieved, the result property describes the problem.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - certificate (
X509Certificate
orNone
) – The certificate of the TLS listener. - result (
str
orNone
) –Possible values are:
TlsListenerCertificate.RESULT_SUCCESS
TlsListenerCertificate.RESULT_CONNECTION_TIMEOUT
TlsListenerCertificate.RESULT_NO_ROUTE_TO_HOST
TlsListenerCertificate.RESULT_CONNECTION_REFUSED
Result of get certificate operation. - thumbprint (
str
orNone
) – The SHA-256 thumbprint of the TLS listener. 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_CONNECTION_REFUSED
= 'CONNECTION_REFUSED'¶
-
RESULT_CONNECTION_TIMEOUT
= 'CONNECTION_TIMEOUT'¶
-
RESULT_NO_ROUTE_TO_HOST
= 'NO_ROUTE_TO_HOST'¶
-
RESULT_SUCCESS
= 'SUCCESS'¶
- certificate (
-
class
com.vmware.nsx_policy.model_client.
TlsTrustData
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, key_algo=None, passphrase=None, pem_encoded=None, private_key=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
) – 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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - key_algo (
str
orNone
) – Key algorithm contained in this certificate. - passphrase (
str
orNone
) – Password for private key encryption. - pem_encoded (
str
orNone
) – pem encoded certificate data. - private_key (
str
orNone
) – private key data
- links (
-
class
com.vmware.nsx_policy.model_client.
Tooltip
(condition=None, heading=None, text=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tooltip to be shown while hovering over the dashboard UI element.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - condition (
str
orNone
) – If the condition is met then the tooltip will be applied. If no condition is provided, then the tooltip will be applied unconditionally. Examples of expression syntax are provided under ‘example_request’ section of ‘CreateWidgetConfiguration’ API. - heading (
bool
orNone
) – If true, displays tooltip text in bold - text (
str
orNone
) – Text to be shown on tooltip while hovering over UI element. The text would be wrapped if it exceeds 80 chars.
- condition (
-
class
com.vmware.nsx_policy.model_client.
Traceflow
(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, analysis=None, counters=None, logical_counters=None, lport_id=None, operation_state=None, request_status=None, result_overflowed=None, timeout=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
) – Defaults to ID if not set - id (
str
orNone
) – The id of the traceflow round 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 - analysis (
list
ofstr
orNone
) – Traceflow result analysis notes This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - counters (
TraceflowObservationCounters
orNone
) – observation counters - logical_counters (
TraceflowObservationCounters
orNone
) – counters of observations from logical components - lport_id (
str
orNone
) – id of the source logical port used for injecting the traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - operation_state (
str
orNone
) –Possible values are:
Traceflow.OPERATION_STATE_IN_PROGRESS
Traceflow.OPERATION_STATE_FINISHED
Traceflow.OPERATION_STATE_FAILED
Represents the traceflow operation stateThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- request_status (
str
orNone
) –Possible values are:
Traceflow.REQUEST_STATUS_SUCCESS
Traceflow.REQUEST_STATUS_TIMEOUT
Traceflow.REQUEST_STATUS_SOURCE_PORT_NOT_FOUND
Traceflow.REQUEST_STATUS_DATA_PATH_NOT_READY
Traceflow.REQUEST_STATUS_CONNECTION_ERROR
Traceflow.REQUEST_STATUS_UNKNOWN
The status of the traceflow RPC request. SUCCESS - The traceflow request is sent successfully. TIMEOUT - The traceflow request gets timeout. SOURCE_PORT_NOT_FOUND - The source port of the request cannot be found. DATA_PATH_NOT_READY - The datapath component cannot be ready to receive request. CONNECTION_ERROR - There is connection error on datapath component. UNKNOWN - The status of traceflow request cannot be determined. 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_overflowed (
bool
orNone
) – A flag, when set true, indicates some observations were deleted from the result set. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - timeout (
long
orNone
) – Maximum time (in ms) the management plane will be waiting for this traceflow round. 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.
-
OPERATION_STATE_FAILED
= 'FAILED'¶
-
OPERATION_STATE_FINISHED
= 'FINISHED'¶
-
OPERATION_STATE_IN_PROGRESS
= 'IN_PROGRESS'¶
-
REQUEST_STATUS_CONNECTION_ERROR
= 'CONNECTION_ERROR'¶
-
REQUEST_STATUS_DATA_PATH_NOT_READY
= 'DATA_PATH_NOT_READY'¶
-
REQUEST_STATUS_SOURCE_PORT_NOT_FOUND
= 'SOURCE_PORT_NOT_FOUND'¶
-
REQUEST_STATUS_SUCCESS
= 'SUCCESS'¶
-
REQUEST_STATUS_TIMEOUT
= 'TIMEOUT'¶
-
REQUEST_STATUS_UNKNOWN
= 'UNKNOWN'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
TraceflowConfig
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, is_transient=None, packet=None, segment_port_path=None, timeout=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Traceflow configuration
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - is_transient (
bool
orNone
) – This field indicates if intent is transient and will be cleaned up by the system if set to true - packet (
vmware.vapi.struct.VapiStruct
orNone
) – Configuration of packet data When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inPacketData
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inPacketData
. - segment_port_path (
str
orNone
) – Segment Port Path or UUID - timeout (
long
orNone
) – Maximum time in seconds the management plane will wait for observation result to be sent by opsAgent. format: int64
- links (
-
class
com.vmware.nsx_policy.model_client.
TraceflowConfigListResult
(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
Paged Collection of TraceflowConfigs
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
ofTraceflowConfig
orNone
) – TraceflowConfig list results
- links (
-
class
com.vmware.nsx_policy.model_client.
TraceflowObservation
(component_name=None, component_sub_type=None, component_type=None, resource_type='TraceflowObservation', sequence_no=None, timestamp=None, timestamp_micro=None, transport_node_id=None, transport_node_name=None, transport_node_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - component_name (
str
orNone
) – The name of the component that issued the observation. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - component_sub_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER1
TraceflowObservation.COMPONENT_SUB_TYPE_LR_VRF_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LS_TRANSIT
TraceflowObservation.COMPONENT_SUB_TYPE_SI_CLASSIFIER
TraceflowObservation.COMPONENT_SUB_TYPE_SI_PROXY
TraceflowObservation.COMPONENT_SUB_TYPE_VDR
TraceflowObservation.COMPONENT_SUB_TYPE_ENI
TraceflowObservation.COMPONENT_SUB_TYPE_AWS_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_TGW_ROUTE
TraceflowObservation.COMPONENT_SUB_TYPE_EDGE_UPLINK
TraceflowObservation.COMPONENT_SUB_TYPE_DELL_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_UNKNOWN
The sub type of the component that issued the observation.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- component_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_TYPE_PHYSICAL
TraceflowObservation.COMPONENT_TYPE_LR
TraceflowObservation.COMPONENT_TYPE_LS
TraceflowObservation.COMPONENT_TYPE_DFW
TraceflowObservation.COMPONENT_TYPE_BRIDGE
TraceflowObservation.COMPONENT_TYPE_EDGE_TUNNEL
TraceflowObservation.COMPONENT_TYPE_EDGE_HOSTSWITCH
TraceflowObservation.COMPONENT_TYPE_FW_BRIDGE
TraceflowObservation.COMPONENT_TYPE_LOAD_BALANCER
TraceflowObservation.COMPONENT_TYPE_NAT
TraceflowObservation.COMPONENT_TYPE_IPSEC
TraceflowObservation.COMPONENT_TYPE_SERVICE_INSERTION
TraceflowObservation.COMPONENT_TYPE_VMC
TraceflowObservation.COMPONENT_TYPE_SPOOFGUARD
TraceflowObservation.COMPONENT_TYPE_EDGE_FW
TraceflowObservation.COMPONENT_TYPE_UNKNOWN
The type of the component that issued the observation.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
) –Possible values are:
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDELIVERED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONREPLICATIONLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRELAYEDLOGICAL
- sequence_no (
long
orNone
) – the hop count for observations on the transport node that a traceflow packet is injected in will be 0. The hop count is incremented each time a subsequent transport node receives the traceflow packet. The sequence number of 999 indicates that the hop count could not be determined for the containing observation. 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. - timestamp (
long
orNone
) – Timestamp when the observation was created by the transport node (milliseconds epoch) 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. - timestamp_micro (
long
orNone
) – Timestamp when the observation was created by the transport node (microseconds epoch) 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. - transport_node_id (
str
orNone
) – id of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_name (
str
orNone
) – name of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_type (
str
orNone
) –Possible values are:
TraceflowObservation.TRANSPORT_NODE_TYPE_ESX
TraceflowObservation.TRANSPORT_NODE_TYPE_RHELKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_UBUNTUKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_EDGE
TraceflowObservation.TRANSPORT_NODE_TYPE_PUBLIC_CLOUD_GATEWAY_NODE
TraceflowObservation.TRANSPORT_NODE_TYPE_OTHERS
TraceflowObservation.TRANSPORT_NODE_TYPE_HYPERV
type of the transport node that observed a traceflow packetThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
COMPONENT_SUB_TYPE_AWS_GATEWAY
= 'AWS_GATEWAY'¶
-
COMPONENT_SUB_TYPE_DELL_GATEWAY
= 'DELL_GATEWAY'¶
-
COMPONENT_SUB_TYPE_EDGE_UPLINK
= 'EDGE_UPLINK'¶
-
COMPONENT_SUB_TYPE_ENI
= 'ENI'¶
-
COMPONENT_SUB_TYPE_LR_TIER0
= 'LR_TIER0'¶
-
COMPONENT_SUB_TYPE_LR_TIER1
= 'LR_TIER1'¶
-
COMPONENT_SUB_TYPE_LR_VRF_TIER0
= 'LR_VRF_TIER0'¶
-
COMPONENT_SUB_TYPE_LS_TRANSIT
= 'LS_TRANSIT'¶
-
COMPONENT_SUB_TYPE_SI_CLASSIFIER
= 'SI_CLASSIFIER'¶
-
COMPONENT_SUB_TYPE_SI_PROXY
= 'SI_PROXY'¶
-
COMPONENT_SUB_TYPE_TGW_ROUTE
= 'TGW_ROUTE'¶
-
COMPONENT_SUB_TYPE_UNKNOWN
= 'UNKNOWN'¶
-
COMPONENT_SUB_TYPE_VDR
= 'VDR'¶
-
COMPONENT_TYPE_BRIDGE
= 'BRIDGE'¶
-
COMPONENT_TYPE_DFW
= 'DFW'¶
-
COMPONENT_TYPE_EDGE_FW
= 'EDGE_FW'¶
-
COMPONENT_TYPE_EDGE_HOSTSWITCH
= 'EDGE_HOSTSWITCH'¶
-
COMPONENT_TYPE_EDGE_TUNNEL
= 'EDGE_TUNNEL'¶
-
COMPONENT_TYPE_FW_BRIDGE
= 'FW_BRIDGE'¶
-
COMPONENT_TYPE_IPSEC
= 'IPSEC'¶
-
COMPONENT_TYPE_LOAD_BALANCER
= 'LOAD_BALANCER'¶
-
COMPONENT_TYPE_LR
= 'LR'¶
-
COMPONENT_TYPE_LS
= 'LS'¶
-
COMPONENT_TYPE_NAT
= 'NAT'¶
-
COMPONENT_TYPE_PHYSICAL
= 'PHYSICAL'¶
-
COMPONENT_TYPE_SERVICE_INSERTION
= 'SERVICE_INSERTION'¶
-
COMPONENT_TYPE_SPOOFGUARD
= 'SPOOFGUARD'¶
-
COMPONENT_TYPE_UNKNOWN
= 'UNKNOWN'¶
-
COMPONENT_TYPE_VMC
= 'VMC'¶
-
RESOURCE_TYPE_TRACEFLOWOBSERVATIONDELIVERED
= 'TraceflowObservationDelivered'¶
-
RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPED
= 'TraceflowObservationDropped'¶
-
RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPEDLOGICAL
= 'TraceflowObservationDroppedLogical'¶
-
RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDED
= 'TraceflowObservationForwarded'¶
-
RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDEDLOGICAL
= 'TraceflowObservationForwardedLogical'¶
-
RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVED
= 'TraceflowObservationReceived'¶
-
RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVEDLOGICAL
= 'TraceflowObservationReceivedLogical'¶
-
RESOURCE_TYPE_TRACEFLOWOBSERVATIONRELAYEDLOGICAL
= 'TraceflowObservationRelayedLogical'¶
-
RESOURCE_TYPE_TRACEFLOWOBSERVATIONREPLICATIONLOGICAL
= 'TraceflowObservationReplicationLogical'¶
-
TRANSPORT_NODE_TYPE_EDGE
= 'EDGE'¶
-
TRANSPORT_NODE_TYPE_ESX
= 'ESX'¶
-
TRANSPORT_NODE_TYPE_HYPERV
= 'HYPERV'¶
-
TRANSPORT_NODE_TYPE_OTHERS
= 'OTHERS'¶
-
TRANSPORT_NODE_TYPE_PUBLIC_CLOUD_GATEWAY_NODE
= 'PUBLIC_CLOUD_GATEWAY_NODE'¶
-
TRANSPORT_NODE_TYPE_RHELKVM
= 'RHELKVM'¶
-
TRANSPORT_NODE_TYPE_UBUNTUKVM
= 'UBUNTUKVM'¶
-
resource_type
¶ Return the discriminator value
- component_name (
-
class
com.vmware.nsx_policy.model_client.
TraceflowObservationCounters
(delivered_count=None, dropped_count=None, forwarded_count=None, received_count=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - delivered_count (
long
orNone
) – Total number of delivered observations for this traceflow round. 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. - dropped_count (
long
orNone
) – Total number of dropped observations for this round. 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. - forwarded_count (
long
orNone
) – Total number of forwarded observations for this traceflow round. 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. - received_count (
long
orNone
) – Total number of received observations for this traceflow round. 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.
- delivered_count (
-
class
com.vmware.nsx_policy.model_client.
TraceflowObservationDelivered
(lport_id=None, lport_name=None, resolution_type=None, target_mac=None, vlan_id=None, component_name=None, component_sub_type=None, component_type=None, resource_type='TraceflowObservationDelivered', sequence_no=None, timestamp=None, timestamp_micro=None, transport_node_id=None, transport_node_name=None, transport_node_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - lport_id (
str
orNone
) – The id of the logical port into which the traceflow packet was delivered This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lport_name (
str
orNone
) – The name of the logical port into which the traceflow packet was delivered This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - resolution_type (
str
orNone
) –Possible values are:
TraceflowObservationDelivered.RESOLUTION_TYPE_UNKNOWN
TraceflowObservationDelivered.RESOLUTION_TYPE_ARP_SUPPRESSION_PORT_CACHE
TraceflowObservationDelivered.RESOLUTION_TYPE_ARP_SUPPRESSION_TABLE
TraceflowObservationDelivered.RESOLUTION_TYPE_ARP_SUPPRESSION_CP_QUERY
TraceflowObservationDelivered.RESOLUTION_TYPE_ARP_VM
This field specifies the resolution type of ARP ARP_SUPPRESSION_PORT_CACHE - ARP request is suppressed by port DB ARP_SUPPRESSION_TABLE - ARP request is suppressed by ARP table ARP_SUPPRESSION_CP_QUERY - ARP request is suppressed by info derived from CP ARP_VM - No suppression and the ARP request is resolved. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- target_mac (
str
orNone
) – The source MAC address of form: “^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$”. For example: 00:00:00:00:00:00. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - vlan_id (
long
orNone
) – VLAN on bridged network format: int64 - component_name (
str
orNone
) – The name of the component that issued the observation. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - component_sub_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER1
TraceflowObservation.COMPONENT_SUB_TYPE_LR_VRF_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LS_TRANSIT
TraceflowObservation.COMPONENT_SUB_TYPE_SI_CLASSIFIER
TraceflowObservation.COMPONENT_SUB_TYPE_SI_PROXY
TraceflowObservation.COMPONENT_SUB_TYPE_VDR
TraceflowObservation.COMPONENT_SUB_TYPE_ENI
TraceflowObservation.COMPONENT_SUB_TYPE_AWS_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_TGW_ROUTE
TraceflowObservation.COMPONENT_SUB_TYPE_EDGE_UPLINK
TraceflowObservation.COMPONENT_SUB_TYPE_DELL_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_UNKNOWN
The sub type of the component that issued the observation.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- component_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_TYPE_PHYSICAL
TraceflowObservation.COMPONENT_TYPE_LR
TraceflowObservation.COMPONENT_TYPE_LS
TraceflowObservation.COMPONENT_TYPE_DFW
TraceflowObservation.COMPONENT_TYPE_BRIDGE
TraceflowObservation.COMPONENT_TYPE_EDGE_TUNNEL
TraceflowObservation.COMPONENT_TYPE_EDGE_HOSTSWITCH
TraceflowObservation.COMPONENT_TYPE_FW_BRIDGE
TraceflowObservation.COMPONENT_TYPE_LOAD_BALANCER
TraceflowObservation.COMPONENT_TYPE_NAT
TraceflowObservation.COMPONENT_TYPE_IPSEC
TraceflowObservation.COMPONENT_TYPE_SERVICE_INSERTION
TraceflowObservation.COMPONENT_TYPE_VMC
TraceflowObservation.COMPONENT_TYPE_SPOOFGUARD
TraceflowObservation.COMPONENT_TYPE_EDGE_FW
TraceflowObservation.COMPONENT_TYPE_UNKNOWN
The type of the component that issued the observation.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
) –Possible values are:
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDELIVERED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONREPLICATIONLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRELAYEDLOGICAL
- sequence_no (
long
orNone
) – the hop count for observations on the transport node that a traceflow packet is injected in will be 0. The hop count is incremented each time a subsequent transport node receives the traceflow packet. The sequence number of 999 indicates that the hop count could not be determined for the containing observation. 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. - timestamp (
long
orNone
) – Timestamp when the observation was created by the transport node (milliseconds epoch) 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. - timestamp_micro (
long
orNone
) – Timestamp when the observation was created by the transport node (microseconds epoch) 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. - transport_node_id (
str
orNone
) – id of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_name (
str
orNone
) – name of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_type (
str
orNone
) –Possible values are:
TraceflowObservation.TRANSPORT_NODE_TYPE_ESX
TraceflowObservation.TRANSPORT_NODE_TYPE_RHELKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_UBUNTUKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_EDGE
TraceflowObservation.TRANSPORT_NODE_TYPE_PUBLIC_CLOUD_GATEWAY_NODE
TraceflowObservation.TRANSPORT_NODE_TYPE_OTHERS
TraceflowObservation.TRANSPORT_NODE_TYPE_HYPERV
type of the transport node that observed a traceflow packetThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
RESOLUTION_TYPE_ARP_SUPPRESSION_CP_QUERY
= 'ARP_SUPPRESSION_CP_QUERY'¶
-
RESOLUTION_TYPE_ARP_SUPPRESSION_PORT_CACHE
= 'ARP_SUPPRESSION_PORT_CACHE'¶
-
RESOLUTION_TYPE_ARP_SUPPRESSION_TABLE
= 'ARP_SUPPRESSION_TABLE'¶
-
RESOLUTION_TYPE_ARP_VM
= 'ARP_VM'¶
-
RESOLUTION_TYPE_UNKNOWN
= 'UNKNOWN'¶
-
resource_type
¶ Return the discriminator value
- lport_id (
-
class
com.vmware.nsx_policy.model_client.
TraceflowObservationDropped
(acl_rule_id=None, arp_fail_reason=None, lport_id=None, lport_name=None, nat_rule_id=None, reason=None, component_name=None, component_sub_type=None, component_type=None, resource_type='TraceflowObservationDropped', sequence_no=None, timestamp=None, timestamp_micro=None, transport_node_id=None, transport_node_name=None, transport_node_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
-
ARP_FAIL_REASON_CPFAIL
= 'ARP_CPFAIL'¶
-
ARP_FAIL_REASON_FROMCP
= 'ARP_FROMCP'¶
-
ARP_FAIL_REASON_NETDESTROY
= 'ARP_NETDESTROY'¶
-
ARP_FAIL_REASON_PORTDESTROY
= 'ARP_PORTDESTROY'¶
-
ARP_FAIL_REASON_TABLEDESTROY
= 'ARP_TABLEDESTROY'¶
-
ARP_FAIL_REASON_TIMEOUT
= 'ARP_TIMEOUT'¶
-
ARP_FAIL_REASON_UNKNOWN
= 'ARP_UNKNOWN'¶
-
REASON_ARP_FAIL
= 'ARP_FAIL'¶
-
REASON_BFD
= 'BFD'¶
-
REASON_DHCP
= 'DHCP'¶
-
REASON_FW_RULE
= 'FW_RULE'¶
-
REASON_GENEVE
= 'GENEVE'¶
-
REASON_GRE
= 'GRE'¶
-
REASON_IFACE
= 'IFACE'¶
-
REASON_IP
= 'IP'¶
-
REASON_IPSEC
= 'IPSEC'¶
-
REASON_IPSEC_VTI
= 'IPSEC_VTI'¶
-
REASON_IP_REASS
= 'IP_REASS'¶
-
REASON_L2VPN
= 'L2VPN'¶
-
REASON_L4PORT
= 'L4PORT'¶
-
REASON_LB
= 'LB'¶
-
REASON_LROUTER
= 'LROUTER'¶
-
REASON_LSERVICE
= 'LSERVICE'¶
-
REASON_LSWITCH
= 'LSWITCH'¶
-
REASON_MD_PROXY
= 'MD_PROXY'¶
-
REASON_NAT
= 'NAT'¶
-
REASON_ND_NS_FAIL
= 'ND_NS_FAIL'¶
-
REASON_NEIGH
= 'NEIGH'¶
-
REASON_NOT_VDR_DOWNLINK_
= 'NOT_VDR_DOWNLINK,'¶
-
REASON_NOT_VDR_UPLINK_
= 'NOT_VDR_UPLINK,'¶
-
REASON_NO_EIP_ASSOCIATION
= 'NO_EIP_ASSOCIATION'¶
-
REASON_NO_EIP_FOUND
= 'NO_EIP_FOUND'¶
-
REASON_NO_ENI_FOR_IP
= 'NO_ENI_FOR_IP'¶
-
REASON_NO_ENI_FOR_LIF
= 'NO_ENI_FOR_LIF'¶
-
REASON_NO_ROUTE
= 'NO_ROUTE'¶
-
REASON_NO_ROUTE_TABLE_FOUND
= 'NO_ROUTE_TABLE_FOUND'¶
-
REASON_NO_UNDERLAY_ROUTE_FOUND
= 'NO_UNDERLAY_ROUTE_FOUND'¶
-
REASON_NO_VDR_FOUND
= 'NO_VDR_FOUND'¶
-
REASON_NO_VDR_ON_HOST
= 'NO_VDR_ON_HOST'¶
-
REASON_SERVICE_INSERT
= 'SERVICE_INSERT'¶
-
REASON_SPOOFGUARD
= 'SPOOFGUARD'¶
-
REASON_TTL_ZERO
= 'TTL_ZERO'¶
-
REASON_TUNNEL
= 'TUNNEL'¶
-
REASON_UNKNOWN
= 'UNKNOWN'¶
-
REASON_VMC_NO_RESPONSE
= 'VMC_NO_RESPONSE'¶
-
REASON_VXLAN
= 'VXLAN'¶
-
REASON_VXSTT
= 'VXSTT'¶
-
REASON_WRONG_UPLINK
= 'WRONG_UPLINK'¶
-
resource_type
¶ Return the discriminator value
-
-
class
com.vmware.nsx_policy.model_client.
TraceflowObservationDroppedLogical
(component_id=None, service_path_index=None, acl_rule_id=None, arp_fail_reason=None, lport_id=None, lport_name=None, nat_rule_id=None, reason=None, component_name=None, component_sub_type=None, component_type=None, resource_type=None, sequence_no=None, timestamp=None, timestamp_micro=None, transport_node_id=None, transport_node_name=None, transport_node_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - component_id (
str
orNone
) – The id of the component that dropped the traceflow packet. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - service_path_index (
long
orNone
) – The index of service path that is a chain of services represents the point where the traceflow packet was dropped. 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. - acl_rule_id (
long
orNone
) – The id of the acl rule that was applied to drop the traceflow packet 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. - arp_fail_reason (
str
orNone
) –Possible values are:
TraceflowObservationDropped.ARP_FAIL_REASON_UNKNOWN
TraceflowObservationDropped.ARP_FAIL_REASON_TIMEOUT
TraceflowObservationDropped.ARP_FAIL_REASON_CPFAIL
TraceflowObservationDropped.ARP_FAIL_REASON_FROMCP
TraceflowObservationDropped.ARP_FAIL_REASON_PORTDESTROY
TraceflowObservationDropped.ARP_FAIL_REASON_TABLEDESTROY
TraceflowObservationDropped.ARP_FAIL_REASON_NETDESTROY
This field specifies the ARP fails reason ARP_TIMEOUT - ARP failure due to query control plane timeout ARP_CPFAIL - ARP failure due post ARP query message to control plane failure ARP_FROMCP - ARP failure due to deleting ARP entry from control plane ARP_PORTDESTROY - ARP failure due to port destruction ARP_TABLEDESTROY - ARP failure due to ARP table destruction ARP_NETDESTROY - ARP failure due to overlay network destruction This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- lport_id (
str
orNone
) – The id of the logical port at which the traceflow packet was dropped This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lport_name (
str
orNone
) – The name of the logical port at which the traceflow packet was dropped This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - nat_rule_id (
long
orNone
) – The ID of the NAT rule that was applied to forward the traceflow packet 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. - reason (
str
orNone
) –Possible values are:
TraceflowObservationDropped.REASON_ARP_FAIL
TraceflowObservationDropped.REASON_BFD
TraceflowObservationDropped.REASON_DHCP
TraceflowObservationDropped.REASON_FW_RULE
TraceflowObservationDropped.REASON_GENEVE
TraceflowObservationDropped.REASON_GRE
TraceflowObservationDropped.REASON_IFACE
TraceflowObservationDropped.REASON_IP
TraceflowObservationDropped.REASON_IP_REASS
TraceflowObservationDropped.REASON_IPSEC
TraceflowObservationDropped.REASON_IPSEC_VTI
TraceflowObservationDropped.REASON_L2VPN
TraceflowObservationDropped.REASON_L4PORT
TraceflowObservationDropped.REASON_LB
TraceflowObservationDropped.REASON_LROUTER
TraceflowObservationDropped.REASON_LSERVICE
TraceflowObservationDropped.REASON_LSWITCH
TraceflowObservationDropped.REASON_MD_PROXY
TraceflowObservationDropped.REASON_NAT
TraceflowObservationDropped.REASON_ND_NS_FAIL
TraceflowObservationDropped.REASON_NEIGH
TraceflowObservationDropped.REASON_NO_EIP_FOUND
TraceflowObservationDropped.REASON_NO_EIP_ASSOCIATION
TraceflowObservationDropped.REASON_NO_ENI_FOR_IP
TraceflowObservationDropped.REASON_NO_ENI_FOR_LIF
TraceflowObservationDropped.REASON_NO_ROUTE
TraceflowObservationDropped.REASON_NO_ROUTE_TABLE_FOUND
TraceflowObservationDropped.REASON_NO_UNDERLAY_ROUTE_FOUND
TraceflowObservationDropped.REASON_NOT_VDR_DOWNLINK_
TraceflowObservationDropped.REASON_NO_VDR_FOUND
TraceflowObservationDropped.REASON_NO_VDR_ON_HOST
TraceflowObservationDropped.REASON_NOT_VDR_UPLINK_
TraceflowObservationDropped.REASON_SERVICE_INSERT
TraceflowObservationDropped.REASON_SPOOFGUARD
TraceflowObservationDropped.REASON_TTL_ZERO
TraceflowObservationDropped.REASON_TUNNEL
TraceflowObservationDropped.REASON_VXLAN
TraceflowObservationDropped.REASON_VXSTT
TraceflowObservationDropped.REASON_VMC_NO_RESPONSE
TraceflowObservationDropped.REASON_WRONG_UPLINK
TraceflowObservationDropped.REASON_UNKNOWN
The reason traceflow packet was droppedThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- component_name (
str
orNone
) – The name of the component that issued the observation. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - component_sub_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER1
TraceflowObservation.COMPONENT_SUB_TYPE_LR_VRF_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LS_TRANSIT
TraceflowObservation.COMPONENT_SUB_TYPE_SI_CLASSIFIER
TraceflowObservation.COMPONENT_SUB_TYPE_SI_PROXY
TraceflowObservation.COMPONENT_SUB_TYPE_VDR
TraceflowObservation.COMPONENT_SUB_TYPE_ENI
TraceflowObservation.COMPONENT_SUB_TYPE_AWS_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_TGW_ROUTE
TraceflowObservation.COMPONENT_SUB_TYPE_EDGE_UPLINK
TraceflowObservation.COMPONENT_SUB_TYPE_DELL_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_UNKNOWN
The sub type of the component that issued the observation.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- component_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_TYPE_PHYSICAL
TraceflowObservation.COMPONENT_TYPE_LR
TraceflowObservation.COMPONENT_TYPE_LS
TraceflowObservation.COMPONENT_TYPE_DFW
TraceflowObservation.COMPONENT_TYPE_BRIDGE
TraceflowObservation.COMPONENT_TYPE_EDGE_TUNNEL
TraceflowObservation.COMPONENT_TYPE_EDGE_HOSTSWITCH
TraceflowObservation.COMPONENT_TYPE_FW_BRIDGE
TraceflowObservation.COMPONENT_TYPE_LOAD_BALANCER
TraceflowObservation.COMPONENT_TYPE_NAT
TraceflowObservation.COMPONENT_TYPE_IPSEC
TraceflowObservation.COMPONENT_TYPE_SERVICE_INSERTION
TraceflowObservation.COMPONENT_TYPE_VMC
TraceflowObservation.COMPONENT_TYPE_SPOOFGUARD
TraceflowObservation.COMPONENT_TYPE_EDGE_FW
TraceflowObservation.COMPONENT_TYPE_UNKNOWN
The type of the component that issued the observation.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
) –Possible values are:
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDELIVERED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONREPLICATIONLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRELAYEDLOGICAL
- sequence_no (
long
orNone
) – the hop count for observations on the transport node that a traceflow packet is injected in will be 0. The hop count is incremented each time a subsequent transport node receives the traceflow packet. The sequence number of 999 indicates that the hop count could not be determined for the containing observation. 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. - timestamp (
long
orNone
) – Timestamp when the observation was created by the transport node (milliseconds epoch) 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. - timestamp_micro (
long
orNone
) – Timestamp when the observation was created by the transport node (microseconds epoch) 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. - transport_node_id (
str
orNone
) – id of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_name (
str
orNone
) – name of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_type (
str
orNone
) –Possible values are:
TraceflowObservation.TRANSPORT_NODE_TYPE_ESX
TraceflowObservation.TRANSPORT_NODE_TYPE_RHELKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_UBUNTUKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_EDGE
TraceflowObservation.TRANSPORT_NODE_TYPE_PUBLIC_CLOUD_GATEWAY_NODE
TraceflowObservation.TRANSPORT_NODE_TYPE_OTHERS
TraceflowObservation.TRANSPORT_NODE_TYPE_HYPERV
type of the transport node that observed a traceflow packetThis 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
¶ Return the discriminator value
- component_id (
-
class
com.vmware.nsx_policy.model_client.
TraceflowObservationForwarded
(context=None, dst_transport_node_id=None, dst_transport_node_name=None, local_ip_address=None, remote_ip_address=None, uplink_name=None, vtep_label=None, component_name=None, component_sub_type=None, component_type=None, resource_type='TraceflowObservationForwarded', sequence_no=None, timestamp=None, timestamp_micro=None, transport_node_id=None, transport_node_name=None, transport_node_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - context (
long
orNone
) – The 64bit tunnel context carried on the wire format: int64 - dst_transport_node_id (
str
orNone
) – This field will not be always available. Use remote_ip_address when this field is not set. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - dst_transport_node_name (
str
orNone
) – The name of the transport node to which the traceflow packet is forwarded 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_ip_address (
str
orNone
) – IP address of the source end of the tunnel format: ip - remote_ip_address (
str
orNone
) – IP address of the destination end of the tunnel format: ip - uplink_name (
str
orNone
) – The name of the uplink the traceflow packet is forwarded on - vtep_label (
long
orNone
) – The virtual tunnel endpoint label format: int64 - component_name (
str
orNone
) – The name of the component that issued the observation. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - component_sub_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER1
TraceflowObservation.COMPONENT_SUB_TYPE_LR_VRF_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LS_TRANSIT
TraceflowObservation.COMPONENT_SUB_TYPE_SI_CLASSIFIER
TraceflowObservation.COMPONENT_SUB_TYPE_SI_PROXY
TraceflowObservation.COMPONENT_SUB_TYPE_VDR
TraceflowObservation.COMPONENT_SUB_TYPE_ENI
TraceflowObservation.COMPONENT_SUB_TYPE_AWS_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_TGW_ROUTE
TraceflowObservation.COMPONENT_SUB_TYPE_EDGE_UPLINK
TraceflowObservation.COMPONENT_SUB_TYPE_DELL_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_UNKNOWN
The sub type of the component that issued the observation.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- component_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_TYPE_PHYSICAL
TraceflowObservation.COMPONENT_TYPE_LR
TraceflowObservation.COMPONENT_TYPE_LS
TraceflowObservation.COMPONENT_TYPE_DFW
TraceflowObservation.COMPONENT_TYPE_BRIDGE
TraceflowObservation.COMPONENT_TYPE_EDGE_TUNNEL
TraceflowObservation.COMPONENT_TYPE_EDGE_HOSTSWITCH
TraceflowObservation.COMPONENT_TYPE_FW_BRIDGE
TraceflowObservation.COMPONENT_TYPE_LOAD_BALANCER
TraceflowObservation.COMPONENT_TYPE_NAT
TraceflowObservation.COMPONENT_TYPE_IPSEC
TraceflowObservation.COMPONENT_TYPE_SERVICE_INSERTION
TraceflowObservation.COMPONENT_TYPE_VMC
TraceflowObservation.COMPONENT_TYPE_SPOOFGUARD
TraceflowObservation.COMPONENT_TYPE_EDGE_FW
TraceflowObservation.COMPONENT_TYPE_UNKNOWN
The type of the component that issued the observation.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
) –Possible values are:
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDELIVERED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONREPLICATIONLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRELAYEDLOGICAL
- sequence_no (
long
orNone
) – the hop count for observations on the transport node that a traceflow packet is injected in will be 0. The hop count is incremented each time a subsequent transport node receives the traceflow packet. The sequence number of 999 indicates that the hop count could not be determined for the containing observation. 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. - timestamp (
long
orNone
) – Timestamp when the observation was created by the transport node (milliseconds epoch) 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. - timestamp_micro (
long
orNone
) – Timestamp when the observation was created by the transport node (microseconds epoch) 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. - transport_node_id (
str
orNone
) – id of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_name (
str
orNone
) – name of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_type (
str
orNone
) –Possible values are:
TraceflowObservation.TRANSPORT_NODE_TYPE_ESX
TraceflowObservation.TRANSPORT_NODE_TYPE_RHELKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_UBUNTUKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_EDGE
TraceflowObservation.TRANSPORT_NODE_TYPE_PUBLIC_CLOUD_GATEWAY_NODE
TraceflowObservation.TRANSPORT_NODE_TYPE_OTHERS
TraceflowObservation.TRANSPORT_NODE_TYPE_HYPERV
type of the transport node that observed a traceflow packetThis 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
¶ Return the discriminator value
- context (
-
class
com.vmware.nsx_policy.model_client.
TraceflowObservationForwardedLogical
(acl_rule_id=None, component_id=None, dst_component_id=None, dst_component_name=None, dst_component_type=None, lport_id=None, lport_name=None, nat_rule_id=None, resend_type=None, service_index=None, service_path_index=None, service_ttl=None, spoofguard_ip=None, spoofguard_mac=None, spoofguard_vlan_id=None, svc_nh_mac=None, translated_dst_ip=None, translated_src_ip=None, vni=None, component_name=None, component_sub_type=None, component_type=None, resource_type='TraceflowObservationForwardedLogical', sequence_no=None, timestamp=None, timestamp_micro=None, transport_node_id=None, transport_node_name=None, transport_node_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - acl_rule_id (
long
orNone
) – The id of the acl rule that was applied to forward the traceflow packet 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. - component_id (
str
orNone
) – The id of the component that forwarded the traceflow packet. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - dst_component_id (
str
orNone
) – The id of the destination component to which the traceflow packet was forwarded. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - dst_component_name (
str
orNone
) – The name of the destination component to which the traceflow packet was forwarded. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - dst_component_type (
str
orNone
) –Possible values are:
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_PHYSICAL
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_LR
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_LS
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_DFW
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_BRIDGE
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_EDGE_TUNNEL
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_EDGE_HOSTSWITCH
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_FW_BRIDGE
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_LOAD_BALANCER
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_NAT
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_IPSEC
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_SERVICE_INSERTION
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_VMC
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_SPOOFGUARD
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_EDGE_FW
TraceflowObservationForwardedLogical.DST_COMPONENT_TYPE_UNKNOWN
The type of the destination component to which the traceflow packet was forwarded. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- lport_id (
str
orNone
) – The id of the logical port through which the traceflow packet was forwarded. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lport_name (
str
orNone
) – The name of the logical port through which the traceflow packet was forwarded. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - nat_rule_id (
long
orNone
) – The ID of the NAT rule that was applied to forward the traceflow packet 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. - resend_type (
str
orNone
) –Possible values are:
TraceflowObservationForwardedLogical.RESEND_TYPE_UNKNOWN
TraceflowObservationForwardedLogical.RESEND_TYPE_ARP_UNKNOWN_FROM_CP
TraceflowObservationForwardedLogical.RESEND_TYPE_ND_NS_UNKNWON_FROM_CP
ARP_UNKNOWN_FROM_CP - Unknown ARP query result emitted by control plane ND_NS_UNKNOWN_FROM_CP - Unknown neighbor solicitation query result emitted by control plane UNKNOWN - Unknown resend 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.
- service_index (
long
orNone
) – The index of the service insertion component 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. - service_path_index (
long
orNone
) – The path index of the service insertion component 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. - service_ttl (
long
orNone
) – The ttl of the service insertion component 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. - spoofguard_ip (
str
orNone
) – This field specified the prefix IP address a traceflow packet matched in the whitelist in spoofguard. format: ip-cidr-block This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - spoofguard_mac (
str
orNone
) – The source MAC address of form: “^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$”. For example: 00:00:00:00:00:00. format: mac-address This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - spoofguard_vlan_id (
long
orNone
) – This field specified the VLAN id a traceflow packet matched in the whitelist in spoofguard. 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. - svc_nh_mac (
str
orNone
) – MAC address of nexthop for service insertion(SI) in service VM(SVM) where the traceflow packet was received. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - translated_dst_ip (
str
orNone
) – The translated destination IP address of VNP/NAT format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - translated_src_ip (
str
orNone
) – The translated source IP address of VPN/NAT format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - vni (
long
orNone
) – VNI for the logical network on which the traceflow packet was forwarded. 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. - component_name (
str
orNone
) – The name of the component that issued the observation. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - component_sub_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER1
TraceflowObservation.COMPONENT_SUB_TYPE_LR_VRF_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LS_TRANSIT
TraceflowObservation.COMPONENT_SUB_TYPE_SI_CLASSIFIER
TraceflowObservation.COMPONENT_SUB_TYPE_SI_PROXY
TraceflowObservation.COMPONENT_SUB_TYPE_VDR
TraceflowObservation.COMPONENT_SUB_TYPE_ENI
TraceflowObservation.COMPONENT_SUB_TYPE_AWS_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_TGW_ROUTE
TraceflowObservation.COMPONENT_SUB_TYPE_EDGE_UPLINK
TraceflowObservation.COMPONENT_SUB_TYPE_DELL_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_UNKNOWN
The sub type of the component that issued the observation.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- component_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_TYPE_PHYSICAL
TraceflowObservation.COMPONENT_TYPE_LR
TraceflowObservation.COMPONENT_TYPE_LS
TraceflowObservation.COMPONENT_TYPE_DFW
TraceflowObservation.COMPONENT_TYPE_BRIDGE
TraceflowObservation.COMPONENT_TYPE_EDGE_TUNNEL
TraceflowObservation.COMPONENT_TYPE_EDGE_HOSTSWITCH
TraceflowObservation.COMPONENT_TYPE_FW_BRIDGE
TraceflowObservation.COMPONENT_TYPE_LOAD_BALANCER
TraceflowObservation.COMPONENT_TYPE_NAT
TraceflowObservation.COMPONENT_TYPE_IPSEC
TraceflowObservation.COMPONENT_TYPE_SERVICE_INSERTION
TraceflowObservation.COMPONENT_TYPE_VMC
TraceflowObservation.COMPONENT_TYPE_SPOOFGUARD
TraceflowObservation.COMPONENT_TYPE_EDGE_FW
TraceflowObservation.COMPONENT_TYPE_UNKNOWN
The type of the component that issued the observation.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
) –Possible values are:
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDELIVERED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONREPLICATIONLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRELAYEDLOGICAL
- sequence_no (
long
orNone
) – the hop count for observations on the transport node that a traceflow packet is injected in will be 0. The hop count is incremented each time a subsequent transport node receives the traceflow packet. The sequence number of 999 indicates that the hop count could not be determined for the containing observation. 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. - timestamp (
long
orNone
) – Timestamp when the observation was created by the transport node (milliseconds epoch) 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. - timestamp_micro (
long
orNone
) – Timestamp when the observation was created by the transport node (microseconds epoch) 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. - transport_node_id (
str
orNone
) – id of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_name (
str
orNone
) – name of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_type (
str
orNone
) –Possible values are:
TraceflowObservation.TRANSPORT_NODE_TYPE_ESX
TraceflowObservation.TRANSPORT_NODE_TYPE_RHELKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_UBUNTUKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_EDGE
TraceflowObservation.TRANSPORT_NODE_TYPE_PUBLIC_CLOUD_GATEWAY_NODE
TraceflowObservation.TRANSPORT_NODE_TYPE_OTHERS
TraceflowObservation.TRANSPORT_NODE_TYPE_HYPERV
type of the transport node that observed a traceflow packetThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
DST_COMPONENT_TYPE_BRIDGE
= 'BRIDGE'¶
-
DST_COMPONENT_TYPE_DFW
= 'DFW'¶
-
DST_COMPONENT_TYPE_EDGE_FW
= 'EDGE_FW'¶
-
DST_COMPONENT_TYPE_EDGE_HOSTSWITCH
= 'EDGE_HOSTSWITCH'¶
-
DST_COMPONENT_TYPE_EDGE_TUNNEL
= 'EDGE_TUNNEL'¶
-
DST_COMPONENT_TYPE_FW_BRIDGE
= 'FW_BRIDGE'¶
-
DST_COMPONENT_TYPE_IPSEC
= 'IPSEC'¶
-
DST_COMPONENT_TYPE_LOAD_BALANCER
= 'LOAD_BALANCER'¶
-
DST_COMPONENT_TYPE_LR
= 'LR'¶
-
DST_COMPONENT_TYPE_LS
= 'LS'¶
-
DST_COMPONENT_TYPE_NAT
= 'NAT'¶
-
DST_COMPONENT_TYPE_PHYSICAL
= 'PHYSICAL'¶
-
DST_COMPONENT_TYPE_SERVICE_INSERTION
= 'SERVICE_INSERTION'¶
-
DST_COMPONENT_TYPE_SPOOFGUARD
= 'SPOOFGUARD'¶
-
DST_COMPONENT_TYPE_UNKNOWN
= 'UNKNOWN'¶
-
DST_COMPONENT_TYPE_VMC
= 'VMC'¶
-
RESEND_TYPE_ARP_UNKNOWN_FROM_CP
= 'ARP_UNKNOWN_FROM_CP'¶
-
RESEND_TYPE_ND_NS_UNKNWON_FROM_CP
= 'ND_NS_UNKNWON_FROM_CP'¶
-
RESEND_TYPE_UNKNOWN
= 'UNKNOWN'¶
-
resource_type
¶ Return the discriminator value
- acl_rule_id (
-
class
com.vmware.nsx_policy.model_client.
TraceflowObservationListResult
(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
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
) – TraceflowObservation list results When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inTraceflowObservation
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inTraceflowObservation
.
- links (
-
class
com.vmware.nsx_policy.model_client.
TraceflowObservationReceived
(local_ip_address=None, remote_ip_address=None, uplink_name=None, vtep_label=None, component_name=None, component_sub_type=None, component_type=None, resource_type='TraceflowObservationReceived', sequence_no=None, timestamp=None, timestamp_micro=None, transport_node_id=None, transport_node_name=None, transport_node_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - local_ip_address (
str
orNone
) – IP address of the destination end of the tunnel format: ip - remote_ip_address (
str
orNone
) – IP address of the source end of the tunnel format: ip - uplink_name (
str
orNone
) – The name of the uplink the traceflow packet is received on - vtep_label (
long
orNone
) – The virtual tunnel endpoint label format: int64 - component_name (
str
orNone
) – The name of the component that issued the observation. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - component_sub_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER1
TraceflowObservation.COMPONENT_SUB_TYPE_LR_VRF_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LS_TRANSIT
TraceflowObservation.COMPONENT_SUB_TYPE_SI_CLASSIFIER
TraceflowObservation.COMPONENT_SUB_TYPE_SI_PROXY
TraceflowObservation.COMPONENT_SUB_TYPE_VDR
TraceflowObservation.COMPONENT_SUB_TYPE_ENI
TraceflowObservation.COMPONENT_SUB_TYPE_AWS_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_TGW_ROUTE
TraceflowObservation.COMPONENT_SUB_TYPE_EDGE_UPLINK
TraceflowObservation.COMPONENT_SUB_TYPE_DELL_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_UNKNOWN
The sub type of the component that issued the observation.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- component_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_TYPE_PHYSICAL
TraceflowObservation.COMPONENT_TYPE_LR
TraceflowObservation.COMPONENT_TYPE_LS
TraceflowObservation.COMPONENT_TYPE_DFW
TraceflowObservation.COMPONENT_TYPE_BRIDGE
TraceflowObservation.COMPONENT_TYPE_EDGE_TUNNEL
TraceflowObservation.COMPONENT_TYPE_EDGE_HOSTSWITCH
TraceflowObservation.COMPONENT_TYPE_FW_BRIDGE
TraceflowObservation.COMPONENT_TYPE_LOAD_BALANCER
TraceflowObservation.COMPONENT_TYPE_NAT
TraceflowObservation.COMPONENT_TYPE_IPSEC
TraceflowObservation.COMPONENT_TYPE_SERVICE_INSERTION
TraceflowObservation.COMPONENT_TYPE_VMC
TraceflowObservation.COMPONENT_TYPE_SPOOFGUARD
TraceflowObservation.COMPONENT_TYPE_EDGE_FW
TraceflowObservation.COMPONENT_TYPE_UNKNOWN
The type of the component that issued the observation.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
) –Possible values are:
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDELIVERED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONREPLICATIONLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRELAYEDLOGICAL
- sequence_no (
long
orNone
) – the hop count for observations on the transport node that a traceflow packet is injected in will be 0. The hop count is incremented each time a subsequent transport node receives the traceflow packet. The sequence number of 999 indicates that the hop count could not be determined for the containing observation. 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. - timestamp (
long
orNone
) – Timestamp when the observation was created by the transport node (milliseconds epoch) 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. - timestamp_micro (
long
orNone
) – Timestamp when the observation was created by the transport node (microseconds epoch) 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. - transport_node_id (
str
orNone
) – id of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_name (
str
orNone
) – name of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_type (
str
orNone
) –Possible values are:
TraceflowObservation.TRANSPORT_NODE_TYPE_ESX
TraceflowObservation.TRANSPORT_NODE_TYPE_RHELKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_UBUNTUKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_EDGE
TraceflowObservation.TRANSPORT_NODE_TYPE_PUBLIC_CLOUD_GATEWAY_NODE
TraceflowObservation.TRANSPORT_NODE_TYPE_OTHERS
TraceflowObservation.TRANSPORT_NODE_TYPE_HYPERV
type of the transport node that observed a traceflow packetThis 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
¶ Return the discriminator value
- local_ip_address (
-
class
com.vmware.nsx_policy.model_client.
TraceflowObservationReceivedLogical
(component_id=None, lport_id=None, lport_name=None, src_component_id=None, src_component_name=None, src_component_type=None, svc_mac=None, vni=None, component_name=None, component_sub_type=None, component_type=None, resource_type='TraceflowObservationReceivedLogical', sequence_no=None, timestamp=None, timestamp_micro=None, transport_node_id=None, transport_node_name=None, transport_node_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - component_id (
str
orNone
) – The id of the component that received the traceflow packet. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lport_id (
str
orNone
) – The id of the logical port at which the traceflow packet was received This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - lport_name (
str
orNone
) – The name of the logical port at which the traceflow packet was received This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - src_component_id (
str
orNone
) – The id of the source component from which the traceflow packet was received. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - src_component_name (
str
orNone
) – The name of source component from which the traceflow packet was received. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - src_component_type (
str
orNone
) –Possible values are:
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_PHYSICAL
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_LR
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_LS
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_DFW
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_BRIDGE
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_EDGE_TUNNEL
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_EDGE_HOSTSWITCH
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_FW_BRIDGE
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_LOAD_BALANCER
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_NAT
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_IPSEC
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_SERVICE_INSERTION
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_VMC
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_SPOOFGUARD
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_EDGE_FW
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_UNKNOWN
The type of the source component from which the traceflow packet was received. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- svc_mac (
str
orNone
) – MAC address of SAN volume controller for service insertion(SI) in service VM(SVM) where the traceflow packet was received. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - vni (
long
orNone
) – VNI for the logical network on which the traceflow packet was received. 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. - component_name (
str
orNone
) – The name of the component that issued the observation. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - component_sub_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER1
TraceflowObservation.COMPONENT_SUB_TYPE_LR_VRF_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LS_TRANSIT
TraceflowObservation.COMPONENT_SUB_TYPE_SI_CLASSIFIER
TraceflowObservation.COMPONENT_SUB_TYPE_SI_PROXY
TraceflowObservation.COMPONENT_SUB_TYPE_VDR
TraceflowObservation.COMPONENT_SUB_TYPE_ENI
TraceflowObservation.COMPONENT_SUB_TYPE_AWS_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_TGW_ROUTE
TraceflowObservation.COMPONENT_SUB_TYPE_EDGE_UPLINK
TraceflowObservation.COMPONENT_SUB_TYPE_DELL_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_UNKNOWN
The sub type of the component that issued the observation.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- component_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_TYPE_PHYSICAL
TraceflowObservation.COMPONENT_TYPE_LR
TraceflowObservation.COMPONENT_TYPE_LS
TraceflowObservation.COMPONENT_TYPE_DFW
TraceflowObservation.COMPONENT_TYPE_BRIDGE
TraceflowObservation.COMPONENT_TYPE_EDGE_TUNNEL
TraceflowObservation.COMPONENT_TYPE_EDGE_HOSTSWITCH
TraceflowObservation.COMPONENT_TYPE_FW_BRIDGE
TraceflowObservation.COMPONENT_TYPE_LOAD_BALANCER
TraceflowObservation.COMPONENT_TYPE_NAT
TraceflowObservation.COMPONENT_TYPE_IPSEC
TraceflowObservation.COMPONENT_TYPE_SERVICE_INSERTION
TraceflowObservation.COMPONENT_TYPE_VMC
TraceflowObservation.COMPONENT_TYPE_SPOOFGUARD
TraceflowObservation.COMPONENT_TYPE_EDGE_FW
TraceflowObservation.COMPONENT_TYPE_UNKNOWN
The type of the component that issued the observation.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
) –Possible values are:
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDELIVERED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONREPLICATIONLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRELAYEDLOGICAL
- sequence_no (
long
orNone
) – the hop count for observations on the transport node that a traceflow packet is injected in will be 0. The hop count is incremented each time a subsequent transport node receives the traceflow packet. The sequence number of 999 indicates that the hop count could not be determined for the containing observation. 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. - timestamp (
long
orNone
) – Timestamp when the observation was created by the transport node (milliseconds epoch) 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. - timestamp_micro (
long
orNone
) – Timestamp when the observation was created by the transport node (microseconds epoch) 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. - transport_node_id (
str
orNone
) – id of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_name (
str
orNone
) – name of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_type (
str
orNone
) –Possible values are:
TraceflowObservation.TRANSPORT_NODE_TYPE_ESX
TraceflowObservation.TRANSPORT_NODE_TYPE_RHELKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_UBUNTUKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_EDGE
TraceflowObservation.TRANSPORT_NODE_TYPE_PUBLIC_CLOUD_GATEWAY_NODE
TraceflowObservation.TRANSPORT_NODE_TYPE_OTHERS
TraceflowObservation.TRANSPORT_NODE_TYPE_HYPERV
type of the transport node that observed a traceflow packetThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
SRC_COMPONENT_TYPE_BRIDGE
= 'BRIDGE'¶
-
SRC_COMPONENT_TYPE_DFW
= 'DFW'¶
-
SRC_COMPONENT_TYPE_EDGE_FW
= 'EDGE_FW'¶
-
SRC_COMPONENT_TYPE_EDGE_HOSTSWITCH
= 'EDGE_HOSTSWITCH'¶
-
SRC_COMPONENT_TYPE_EDGE_TUNNEL
= 'EDGE_TUNNEL'¶
-
SRC_COMPONENT_TYPE_FW_BRIDGE
= 'FW_BRIDGE'¶
-
SRC_COMPONENT_TYPE_IPSEC
= 'IPSEC'¶
-
SRC_COMPONENT_TYPE_LOAD_BALANCER
= 'LOAD_BALANCER'¶
-
SRC_COMPONENT_TYPE_LR
= 'LR'¶
-
SRC_COMPONENT_TYPE_LS
= 'LS'¶
-
SRC_COMPONENT_TYPE_NAT
= 'NAT'¶
-
SRC_COMPONENT_TYPE_PHYSICAL
= 'PHYSICAL'¶
-
SRC_COMPONENT_TYPE_SERVICE_INSERTION
= 'SERVICE_INSERTION'¶
-
SRC_COMPONENT_TYPE_SPOOFGUARD
= 'SPOOFGUARD'¶
-
SRC_COMPONENT_TYPE_UNKNOWN
= 'UNKNOWN'¶
-
SRC_COMPONENT_TYPE_VMC
= 'VMC'¶
-
resource_type
¶ Return the discriminator value
- component_id (
-
class
com.vmware.nsx_policy.model_client.
TraceflowObservationRelayedLogical
(dst_server_address=None, logical_comp_uuid=None, message_type=None, relay_server_address=None, component_name=None, component_sub_type=None, component_type=None, resource_type='TraceflowObservationRelayedLogical', sequence_no=None, timestamp=None, timestamp_micro=None, transport_node_id=None, transport_node_name=None, transport_node_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dst_server_address (
str
orNone
) – This field specified the IP address of the destination which the packet will be relayed. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - logical_comp_uuid (
str
orNone
) – This field specified the logical component that relay service located. 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_type (
str
orNone
) –Possible values are:
TraceflowObservationRelayedLogical.MESSAGE_TYPE_REQUEST
TraceflowObservationRelayedLogical.MESSAGE_TYPE_REPLY
This field specified the message type of the relay service REQUEST - The relay service will relay a request message to the destination server REPLY - The relay service will relay a reply message to the client This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- relay_server_address (
str
orNone
) – This field specified the IP address of the relay service. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - component_name (
str
orNone
) – The name of the component that issued the observation. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - component_sub_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER1
TraceflowObservation.COMPONENT_SUB_TYPE_LR_VRF_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LS_TRANSIT
TraceflowObservation.COMPONENT_SUB_TYPE_SI_CLASSIFIER
TraceflowObservation.COMPONENT_SUB_TYPE_SI_PROXY
TraceflowObservation.COMPONENT_SUB_TYPE_VDR
TraceflowObservation.COMPONENT_SUB_TYPE_ENI
TraceflowObservation.COMPONENT_SUB_TYPE_AWS_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_TGW_ROUTE
TraceflowObservation.COMPONENT_SUB_TYPE_EDGE_UPLINK
TraceflowObservation.COMPONENT_SUB_TYPE_DELL_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_UNKNOWN
The sub type of the component that issued the observation.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- component_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_TYPE_PHYSICAL
TraceflowObservation.COMPONENT_TYPE_LR
TraceflowObservation.COMPONENT_TYPE_LS
TraceflowObservation.COMPONENT_TYPE_DFW
TraceflowObservation.COMPONENT_TYPE_BRIDGE
TraceflowObservation.COMPONENT_TYPE_EDGE_TUNNEL
TraceflowObservation.COMPONENT_TYPE_EDGE_HOSTSWITCH
TraceflowObservation.COMPONENT_TYPE_FW_BRIDGE
TraceflowObservation.COMPONENT_TYPE_LOAD_BALANCER
TraceflowObservation.COMPONENT_TYPE_NAT
TraceflowObservation.COMPONENT_TYPE_IPSEC
TraceflowObservation.COMPONENT_TYPE_SERVICE_INSERTION
TraceflowObservation.COMPONENT_TYPE_VMC
TraceflowObservation.COMPONENT_TYPE_SPOOFGUARD
TraceflowObservation.COMPONENT_TYPE_EDGE_FW
TraceflowObservation.COMPONENT_TYPE_UNKNOWN
The type of the component that issued the observation.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
) –Possible values are:
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDELIVERED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONREPLICATIONLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRELAYEDLOGICAL
- sequence_no (
long
orNone
) – the hop count for observations on the transport node that a traceflow packet is injected in will be 0. The hop count is incremented each time a subsequent transport node receives the traceflow packet. The sequence number of 999 indicates that the hop count could not be determined for the containing observation. 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. - timestamp (
long
orNone
) – Timestamp when the observation was created by the transport node (milliseconds epoch) 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. - timestamp_micro (
long
orNone
) – Timestamp when the observation was created by the transport node (microseconds epoch) 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. - transport_node_id (
str
orNone
) – id of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_name (
str
orNone
) – name of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_type (
str
orNone
) –Possible values are:
TraceflowObservation.TRANSPORT_NODE_TYPE_ESX
TraceflowObservation.TRANSPORT_NODE_TYPE_RHELKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_UBUNTUKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_EDGE
TraceflowObservation.TRANSPORT_NODE_TYPE_PUBLIC_CLOUD_GATEWAY_NODE
TraceflowObservation.TRANSPORT_NODE_TYPE_OTHERS
TraceflowObservation.TRANSPORT_NODE_TYPE_HYPERV
type of the transport node that observed a traceflow packetThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
MESSAGE_TYPE_REPLY
= 'REPLY'¶
-
MESSAGE_TYPE_REQUEST
= 'REQUEST'¶
-
resource_type
¶ Return the discriminator value
- dst_server_address (
-
class
com.vmware.nsx_policy.model_client.
TraceflowObservationReplicationLogical
(local_ip_address=None, replication_type=None, uplink_name=None, vtep_label=None, component_name=None, component_sub_type=None, component_type=None, resource_type='TraceflowObservationReplicationLogical', sequence_no=None, timestamp=None, timestamp_micro=None, transport_node_id=None, transport_node_name=None, transport_node_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - local_ip_address (
str
orNone
) – Local IP address of the component that replicates the packet. format: ip This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - replication_type (
str
orNone
) –Possible values are:
TraceflowObservationReplicationLogical.REPLICATION_TYPE_TX_VTEP
TraceflowObservationReplicationLogical.REPLICATION_TYPE_TX_MTEP
TraceflowObservationReplicationLogical.REPLICATION_TYPE_RX
This field specifies the type of replication message TX_VTEP - Transmit replication to all VTEPs TX_MTEP - Transmit replication to all MTEPs RX - Receive replication This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- uplink_name (
str
orNone
) – The name of uplink This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - vtep_label (
long
orNone
) – The label of VTEP 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. - component_name (
str
orNone
) – The name of the component that issued the observation. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - component_sub_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER1
TraceflowObservation.COMPONENT_SUB_TYPE_LR_VRF_TIER0
TraceflowObservation.COMPONENT_SUB_TYPE_LS_TRANSIT
TraceflowObservation.COMPONENT_SUB_TYPE_SI_CLASSIFIER
TraceflowObservation.COMPONENT_SUB_TYPE_SI_PROXY
TraceflowObservation.COMPONENT_SUB_TYPE_VDR
TraceflowObservation.COMPONENT_SUB_TYPE_ENI
TraceflowObservation.COMPONENT_SUB_TYPE_AWS_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_TGW_ROUTE
TraceflowObservation.COMPONENT_SUB_TYPE_EDGE_UPLINK
TraceflowObservation.COMPONENT_SUB_TYPE_DELL_GATEWAY
TraceflowObservation.COMPONENT_SUB_TYPE_UNKNOWN
The sub type of the component that issued the observation.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- component_type (
str
orNone
) –Possible values are:
TraceflowObservation.COMPONENT_TYPE_PHYSICAL
TraceflowObservation.COMPONENT_TYPE_LR
TraceflowObservation.COMPONENT_TYPE_LS
TraceflowObservation.COMPONENT_TYPE_DFW
TraceflowObservation.COMPONENT_TYPE_BRIDGE
TraceflowObservation.COMPONENT_TYPE_EDGE_TUNNEL
TraceflowObservation.COMPONENT_TYPE_EDGE_HOSTSWITCH
TraceflowObservation.COMPONENT_TYPE_FW_BRIDGE
TraceflowObservation.COMPONENT_TYPE_LOAD_BALANCER
TraceflowObservation.COMPONENT_TYPE_NAT
TraceflowObservation.COMPONENT_TYPE_IPSEC
TraceflowObservation.COMPONENT_TYPE_SERVICE_INSERTION
TraceflowObservation.COMPONENT_TYPE_VMC
TraceflowObservation.COMPONENT_TYPE_SPOOFGUARD
TraceflowObservation.COMPONENT_TYPE_EDGE_FW
TraceflowObservation.COMPONENT_TYPE_UNKNOWN
The type of the component that issued the observation.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
) –Possible values are:
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDELIVERED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVED
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONFORWARDEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONDROPPEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRECEIVEDLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONREPLICATIONLOGICAL
TraceflowObservation.RESOURCE_TYPE_TRACEFLOWOBSERVATIONRELAYEDLOGICAL
- sequence_no (
long
orNone
) – the hop count for observations on the transport node that a traceflow packet is injected in will be 0. The hop count is incremented each time a subsequent transport node receives the traceflow packet. The sequence number of 999 indicates that the hop count could not be determined for the containing observation. 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. - timestamp (
long
orNone
) – Timestamp when the observation was created by the transport node (milliseconds epoch) 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. - timestamp_micro (
long
orNone
) – Timestamp when the observation was created by the transport node (microseconds epoch) 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. - transport_node_id (
str
orNone
) – id of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_name (
str
orNone
) – name of the transport node that observed a traceflow packet This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - transport_node_type (
str
orNone
) –Possible values are:
TraceflowObservation.TRANSPORT_NODE_TYPE_ESX
TraceflowObservation.TRANSPORT_NODE_TYPE_RHELKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_UBUNTUKVM
TraceflowObservation.TRANSPORT_NODE_TYPE_EDGE
TraceflowObservation.TRANSPORT_NODE_TYPE_PUBLIC_CLOUD_GATEWAY_NODE
TraceflowObservation.TRANSPORT_NODE_TYPE_OTHERS
TraceflowObservation.TRANSPORT_NODE_TYPE_HYPERV
type of the transport node that observed a traceflow packetThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
REPLICATION_TYPE_RX
= 'RX'¶
-
REPLICATION_TYPE_TX_MTEP
= 'TX_MTEP'¶
-
REPLICATION_TYPE_TX_VTEP
= 'TX_VTEP'¶
-
resource_type
¶ Return the discriminator value
- local_ip_address (
-
class
com.vmware.nsx_policy.model_client.
TrafficRateLimits
(rx_broadcast=None, rx_multicast=None, tx_broadcast=None, tx_multicast=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Enables traffic limit for incoming/outgoing broadcast and multicast packets. Use 0 to disable rate limiting for a specific traffic type
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - rx_broadcast (
long
orNone
) – Incoming broadcast traffic limit in packets per second format: int32 - rx_multicast (
long
orNone
) – Incoming multicast traffic limit in packets per second format: int32 - tx_broadcast (
long
orNone
) – Outgoing broadcast traffic limit in packets per second format: int32 - tx_multicast (
long
orNone
) – Outgoing multicast traffic limit in packets per second format: int32
- rx_broadcast (
-
class
com.vmware.nsx_policy.model_client.
TransportNodeSpanEnforcedStatus
(enforced_status_per_transport_node=None, resource_type='TransportNodeSpanEnforcedStatus')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Detailed Realized Status of an Intent on a span of Transport Nodes.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - enforced_status_per_transport_node (
list
ofEnforcedStatusPerTransportNode
orNone
) – List of Detailed Realized Status per Transport Node. 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
) –Possible values are:
Enforced Realized Status Per Scope Resource Type.
-
resource_type
¶ Return the discriminator value
- enforced_status_per_transport_node (
-
class
com.vmware.nsx_policy.model_client.
TransportProtocolHeader
(dhcp_header=None, dhcpv6_header=None, dns_header=None, icmp_echo_request_header=None, ndp_header=None, tcp_header=None, udp_header=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dhcp_header (
DhcpHeader
orNone
) – DHCP header - dhcpv6_header (
Dhcpv6Header
orNone
) – DHCP v6 header - dns_header (
DnsHeader
orNone
) – DNS header - icmp_echo_request_header (
IcmpEchoRequestHeader
orNone
) – ICMP echo request header - ndp_header (
NdpHeader
orNone
) – Neighbor discovery protocol header - tcp_header (
TcpHeader
orNone
) – TCP header - udp_header (
UdpHeader
orNone
) – UDP header
- dhcp_header (
-
class
com.vmware.nsx_policy.model_client.
TunnelInterfaceIPSubnet
(ip_addresses=None, prefix_length=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_addresses (
list
ofstr
orNone
) – IPv4 Addresses format: ipv4 - prefix_length (
long
orNone
) – Subnet Prefix Length format: int64
- ip_addresses (
-
class
com.vmware.nsx_policy.model_client.
TunnelSubnet
(ip_addresses=None, prefix_length=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - ip_addresses (
list
ofstr
orNone
) – Subnet ip addresses format: ipv4 - prefix_length (
long
orNone
) – Subnet Prefix Length format: int64
- ip_addresses (
-
class
com.vmware.nsx_policy.model_client.
UdpHeader
(dst_port=None, src_port=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dst_port (
long
orNone
) – Destination port of udp header format: int64 - src_port (
long
orNone
) – Source port of udp header format: int64
- dst_port (
-
class
com.vmware.nsx_policy.model_client.
UdpPolicyLbMonitorProfile
(receive=None, send=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='UdpPolicyLbMonitorProfile', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, fall_count=None, interval=None, monitor_port=None, rise_count=None, timeout=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Active healthchecks are disabled by default and can be enabled for a server pool by binding a health monitor to the Group through the PolicyLbRule object. This represents active health monitoring over UDP. Active healthchecks are initiated periodically, at a configurable interval, to each member of the Group. Only if a healthcheck fails consecutively for a specified number of times (fall_count) to a member will the member status be marked DOWN. Once a member is DOWN, a specified number of consecutive successful healthchecks (rise_count) will bring the member back to UP state. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - receive (
str
orNone
) – Expected data, can be anywhere in the response and it has to be a string, regular expressions are not supported. UDP healthcheck is considered failed if there is no server response within the timeout period. - send (
str
orNone
) – The data to be sent to the monitored server. - 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
) –Possible values are:
PolicyLbMonitorProfile.RESOURCE_TYPE_TCPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_UDPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_ICMPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_HTTPPOLICYLBMONITORPROFILE
PolicyLbMonitorProfile.RESOURCE_TYPE_HTTPSPOLICYLBMONITORPROFILE
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - fall_count (
long
orNone
) – Only if a healthcheck fails consecutively for a specified number of times, given with fall_count, to a member will the member status be marked DOWN. format: int64 - interval (
long
orNone
) – Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group. format: int64 - monitor_port (
long
orNone
) – Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value. format: int32 - rise_count (
long
orNone
) – Once a member is DOWN, a specified number of consecutive successful healthchecks specified by rise_count will bring the member back to UP state. format: int64 - timeout (
long
orNone
) – Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout. format: int64
-
resource_type
¶ Return the discriminator value
- receive (
-
class
com.vmware.nsx_policy.model_client.
UdpPolicyLbVirtualServer
(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='UdpPolicyLbVirtualServer', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, access_log_enabled=None, ip_address=None, lb_persistence_profile=None, ports=None, router_path=None, traffic_source=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Virtual server acts as a facade to an application, receives all client connections over UDP and distributes them among the backend servers.
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
) –Possible values are:
PolicyLbVirtualServer.RESOURCE_TYPE_TCPPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_UDPPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_HTTPPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_HTTPSPOLICYLBVIRTUALSERVER
PolicyLbVirtualServer.RESOURCE_TYPE_CUSTOMPOLICYLBVIRTUALSERVER
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - access_log_enabled (
bool
orNone
) – If access log is enabled, all HTTP requests sent to an L7 virtual server are logged to the access log file. Both successful requests (backend server returns 2xx) and unsuccessful requests (backend server returns 4xx or 5xx) are logged to access log, if enabled. - ip_address (
str
orNone
) – Configures the IP address of the PolicyLbVirtualServer where it receives all client connections and distributes them among the backend servers. format: ip - lb_persistence_profile (
str
orNone
) – Path to optional object that enables persistence on a virtual server allowing related client connections to be sent to the same backend server. Persistence is disabled by default. - ports (
list
ofstr
orNone
) – Ports contains a list of at least one port or port range such as “80”, “1234-1236”. Each port element in the list should be a single port or a single port range. format: port-or-range - router_path (
str
orNone
) – Path to router type object that PolicyLbVirtualServer connects to. The only supported router object is Network. - traffic_source (
str
orNone
) –
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
UnaryOperation
(operand=None, operator=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Unary Operation.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - operand (
ResourceFieldPointer
orNone
) – Represents an argument of the operation pointing to a specific field value. - operator (
str
orNone
) –Possible values are:
Logical Operator describing the operation to apply to the operand.
-
OPERATOR_APPEND
= 'APPEND'¶
-
OPERATOR_SUBTRACT
= 'SUBTRACT'¶
- operand (
-
class
com.vmware.nsx_policy.model_client.
UnaryOperationBasedInjectionValue
(initial_value=None, operation=None, resource_type='UnaryOperationBasedInjectionValue')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Operation based Injection Value.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - initial_value (
ResourceFieldPointer
orNone
) – Resource field pointer representing the initial value for the injection value. If an operation is supplied, the value is handed to the operation function to produce a final result. - operation (
UnaryOperation
orNone
) – Represents an optional operation to be done on the initial value. - resource_type (
str
) –Possible values are:
Injection Value resource type.
-
resource_type
¶ Return the discriminator value
- initial_value (
-
class
com.vmware.nsx_policy.model_client.
UnboundedKeyValuePair
(key=None, value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A key-value pair with no limitations on size
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - key (
str
orNone
) – Key - value (
str
orNone
) – Value
- key (
-
class
com.vmware.nsx_policy.model_client.
UrlAlias
(alias=None, query=None, url=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Short name or alias of a url. It is used to represent the url.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alias (
str
orNone
) – - query (
str
orNone
) – Search query to be applied, if any. If query string is not provided, it will be ignored. - url (
str
orNone
) – Url to fetch data from.
- alias (
-
class
com.vmware.nsx_policy.model_client.
UserInfo
(roles=None, user_name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Authenticated User Info
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - roles (
list
ofNsxRole
orNone
) – Permissions This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - user_name (
str
orNone
) – User 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.
- roles (
-
class
com.vmware.nsx_policy.model_client.
UserSession
(domain_name=None, login_time=None, logout_time=None, user_name=None, user_session_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
User login session information
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - domain_name (
str
orNone
) – AD Domain of user. - login_time (
long
orNone
) – Login time. format: int64 - logout_time (
long
orNone
) – Logout time if applicable. An active user session has no logout time. format: int64 - user_name (
str
orNone
) – AD user name. - user_session_id (
long
orNone
) – User session ID. This also indicates whether this is VDI / RDSH. format: int32
- domain_name (
-
class
com.vmware.nsx_policy.model_client.
ValueConstraintExpression
(operator=None, values=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='ValueConstraintExpression', tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents the leaf level value constraint to constrain specified attribute value to the set of values to be allowed/not-allowed. Example - sourceGroups allowed to have only with list of groups. { “operator”:”INCLUDES”, “values”:[“/infra/services/HTTP”, “/infra/services/HTTPS”] }
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - operator (
str
orNone
) –Possible values are:
ValueConstraintExpression.OPERATOR_INCLUDES
ValueConstraintExpression.OPERATOR_EXCLUDES
ValueConstraintExpression.OPERATOR_EQUALS
Operation to check for value list for resource attribute of constraint.
- values (
list
ofstr
orNone
) – List of values. - 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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
OPERATOR_EQUALS
= 'EQUALS'¶
-
OPERATOR_EXCLUDES
= 'EXCLUDES'¶
-
OPERATOR_INCLUDES
= 'INCLUDES'¶
-
resource_type
¶ Return the discriminator value
- operator (
-
class
com.vmware.nsx_policy.model_client.
VersionList
(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, acceptable_versions=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
) – 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 - acceptable_versions (
list
ofstr
orNone
) – List of component versions
- links (
-
class
com.vmware.nsx_policy.model_client.
Vhc
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, capabilities=None, private_ip_addresses=None, public_ip_addresses=None, site_infos=None, tier0s=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Virtual Hybrid Cloud is a construct that provides network isolation for all its contents out of the box. It can be considered to be an equivalent of a tenant in the networking world, where the compute and networking elements within are isolated from other VHCs. The VHC will also be used to provide hybridity across on-prem datacenters and the cloud, thus providing a means of building private clouds with elements both on-prem and in the cloud.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - capabilities (
list
ofstr
orNone
) –Possible values are:
Type of Services to be made available for the applications defined under VHC.
- private_ip_addresses (
list
ofstr
orNone
) – This is set of IP addresses that will be used for Shared and Private Application tiers. - public_ip_addresses (
list
ofstr
orNone
) – This is set of IP addresses that will be used for Public Application tiers. - site_infos (
list
ofSiteInfo
orNone
) – Information related to sites applicable for given VHC. - tier0s (
list
ofstr
orNone
) – The tier 0 has to be pre-created before VHC is created. The tier 0 typically provides connectivity to external world. List of sites for VHC has to be subset of sites where the tier 0 spans.
-
CAPABILITIES_LOADBALANCER
= 'LoadBalancer'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
VhcDnsConfig
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, dns_upstream_servers=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DNS configuration for the VHC.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - dns_upstream_servers (
list
ofstr
orNone
) – DNS servers to which the DNS request needs to be forwarded. format: ipv4
- links (
-
class
com.vmware.nsx_policy.model_client.
VidmInfo
(display_name=None, name=None, type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Vidm Info
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - display_name (
str
orNone
) – User’s Full Name Or User Group’s 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. - name (
str
orNone
) – Username Or Groupname 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
) –Possible values are:
TypeThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
TYPE_GROUP
= 'remote_group'¶
-
TYPE_USER
= 'remote_user'¶
- display_name (
-
class
com.vmware.nsx_policy.model_client.
VidmInfoListResult
(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
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
ofVidmInfo
orNone
) – List results
- links (
-
class
com.vmware.nsx_policy.model_client.
View
(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, exclude_roles=None, include_roles=None, shared=None, weight=None, widgets=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Describes the configuration of a view to be displayed on the dashboard.
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
) – Title of the widget. - 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 - exclude_roles (
str
orNone
) – Comma separated list of roles to which the shared view is not visible. Allows user to prevent the visibility of a shared view to the specified roles. User defined roles can also be specified in the list. The roles can be obtained via GET /api/v1/aaa/roles. Please visit API documentation for details about roles. If include_roles is specified then exclude_roles cannot be specified. - include_roles (
str
orNone
) – Comma separated list of roles to which the shared view is visible. Allows user to specify the visibility of a shared view to the specified roles. User defined roles can also be specified in the list. The roles can be obtained via GET /api/v1/aaa/roles. Please visit API documentation for details about roles. - shared (
bool
orNone
) – Defaults to false. Set to true to publish the view to other users. The widgets of a shared view are visible to other users. - weight (
long
orNone
) – Determines placement of view relative to other views. The lower the weight, the higher it is in the placement order. format: int32 - widgets (
list
ofWidgetItem
orNone
) – Array of widgets that are part of the view.
- links (
-
class
com.vmware.nsx_policy.model_client.
ViewList
(views=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents a list of views.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: views ( list
ofView
orNone
) – Array of views This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
class
com.vmware.nsx_policy.model_client.
VirtualEndpoint
(service_names=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='VirtualEndpoint', tags=None, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, target_ips=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A VirtualEndpoint represents an IP (or nexthop) which is outside SDDC. It represents a redirection target for RedirectionPolicy.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - service_names (
list
ofstr
orNone
) – One VirtualEndpoint will be created per service name. - 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
) –Possible values are:
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - target_ips (
list
ofIPInfo
orNone
) – IPs where either inbound or outbound traffic is to be redirected.
-
resource_type
¶ Return the discriminator value
- service_names (
-
class
com.vmware.nsx_policy.model_client.
VirtualEndpointListResult
(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
Collection of vitual endpoints under a Tier0
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
ofVirtualEndpoint
orNone
) – All virtual endpoints under a Tier0
- links (
-
class
com.vmware.nsx_policy.model_client.
VirtualMachine
(compute_ids=None, external_id=None, guest_info=None, host_id=None, local_id_on_host=None, power_state=None, source=None, type=None, links=None, schema=None, self_=None, last_sync_time=None, description=None, display_name=None, resource_type='VirtualMachine', tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - compute_ids (
list
ofstr
orNone
) – List of external compute ids of the virtual machine in the format ‘id-type-key:value’ , list of external compute ids [‘uuid:xxxx-xxxx-xxxx-xxxx’, ‘moIdOnHost:moref-11’, ‘instanceUuid:xxxx-xxxx-xxxx-xxxx’] - external_id (
str
orNone
) – Current external id of this virtual machine in the system. - guest_info (
GuestInfo
orNone
) – Guest virtual machine details include OS name, computer name of guest VM. Currently this is supported for guests on ESXi that have VMware Tools installed. - host_id (
str
orNone
) – Id of the host in which this virtual machine exists. - local_id_on_host (
str
orNone
) – Id of the vm unique within the host. - power_state (
str
orNone
) –Possible values are:
VirtualMachine.POWER_STATE_VM_RUNNING
VirtualMachine.POWER_STATE_VM_STOPPED
VirtualMachine.POWER_STATE_VM_SUSPENDED
VirtualMachine.POWER_STATE_UNKNOWN
Current power state of this virtual machine in the system. - source (
ResourceReference
orNone
) – Reference of the Host or Public Cloud Gateway that reported the VM - type (
str
orNone
) –Possible values are:
Virtual Machine type; Edge, Service VM or other.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 (
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 - last_sync_time (
long
orNone
) – Timestamp of last modification format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - description (
str
orNone
) – Description of this resource - display_name (
str
orNone
) – Defaults to ID if not set - resource_type (
str
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
POWER_STATE_UNKNOWN
= 'UNKNOWN'¶
-
POWER_STATE_VM_RUNNING
= 'VM_RUNNING'¶
-
POWER_STATE_VM_STOPPED
= 'VM_STOPPED'¶
-
POWER_STATE_VM_SUSPENDED
= 'VM_SUSPENDED'¶
-
TYPE_EDGE
= 'EDGE'¶
-
TYPE_REGULAR
= 'REGULAR'¶
-
TYPE_SERVICE
= 'SERVICE'¶
-
resource_type
¶ Return the discriminator value
- compute_ids (
-
class
com.vmware.nsx_policy.model_client.
VirtualMachineDetails
(links=None, schema=None, self_=None, active_sessions=None, archived_sessions=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Virtual Machine Details
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 - active_sessions (
list
ofUserSession
orNone
) – List of active (still logged in) user login/session data (no limit). - archived_sessions (
list
ofUserSession
orNone
) – Optional list of up to 5 most recent archived (previously logged in) user login/session data.
- links (
-
class
com.vmware.nsx_policy.model_client.
VirtualMachineListResult
(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
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
ofVirtualMachine
orNone
) – VirtualMachine list results
- links (
-
class
com.vmware.nsx_policy.model_client.
VirtualMachineTagsUpdate
(tags=None, virtual_machine_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
List of tags applied to the virtual machine. Based on the enforcement point, the virtual_machine_id will be different. It could be an external id for NSX T or a moid for NSX V
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - tags (
list
ofTag
orNone
) – List of tags to be applied on the virtual machine - virtual_machine_id (
str
orNone
) – The identifier that is used in the enforcement point that uniquely identifies the virtual machine. In case of NSXT it would be the value of the external_id of the virtual machine.
- tags (
-
class
com.vmware.nsx_policy.model_client.
VirtualNetworkInterface
(device_key=None, device_name=None, external_id=None, host_id=None, ip_address_info=None, lport_attachment_id=None, mac_address=None, owner_vm_id=None, owner_vm_type=None, vm_local_id_on_host=None, links=None, schema=None, self_=None, last_sync_time=None, description=None, display_name=None, resource_type='VirtualNetworkInterface', tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - device_key (
str
orNone
) – Device key of the virtual network interface. - device_name (
str
orNone
) – Device name of the virtual network interface. - external_id (
str
orNone
) – External Id of the virtual network inferface. - host_id (
str
orNone
) – Id of the host on which the vm exists. - ip_address_info (
list
ofIpAddressInfo
orNone
) – IP Addresses of the the virtual network interface, from various sources. - lport_attachment_id (
str
orNone
) – LPort Attachment Id of the virtual network interface. - mac_address (
str
orNone
) – MAC address of the virtual network interface. - owner_vm_id (
str
orNone
) – Id of the vm to which this virtual network interface belongs. - owner_vm_type (
str
orNone
) –Possible values are:
VirtualNetworkInterface.OWNER_VM_TYPE_EDGE
VirtualNetworkInterface.OWNER_VM_TYPE_SERVICE
VirtualNetworkInterface.OWNER_VM_TYPE_REGULAR
Owner virtual machine type; Edge, Service VM or other.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- vm_local_id_on_host (
str
orNone
) – Id of the vm unique within the host. - 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 - last_sync_time (
long
orNone
) – Timestamp of last modification format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - description (
str
orNone
) – Description of this resource - display_name (
str
orNone
) – Defaults to ID if not set - resource_type (
str
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
OWNER_VM_TYPE_EDGE
= 'EDGE'¶
-
OWNER_VM_TYPE_REGULAR
= 'REGULAR'¶
-
OWNER_VM_TYPE_SERVICE
= 'SERVICE'¶
-
resource_type
¶ Return the discriminator value
- device_key (
-
class
com.vmware.nsx_policy.model_client.
VirtualNetworkInterfaceListResult
(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
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
ofVirtualNetworkInterface
orNone
) – VirtualNetworkInterface list results
- links (
-
class
com.vmware.nsx_policy.model_client.
VirtualPortgroup
(cm_local_id=None, external_id=None, origin_type=None, links=None, schema=None, self_=None, last_sync_time=None, description=None, display_name=None, resource_type='VirtualPortgroup', tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Virtual portgroup on a virtual switch
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - cm_local_id (
str
orNone
) – Id of the portgroup, eg. a mo-ref from VC. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - external_id (
str
orNone
) – External id of the virtual portgroup This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - origin_type (
str
orNone
) – Portgroup type like DistributedVirtualPortgroup 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 (
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 - last_sync_time (
long
orNone
) – Timestamp of last modification format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - description (
str
orNone
) – Description of this resource - display_name (
str
orNone
) – Defaults to ID if not set - resource_type (
str
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
resource_type
¶ Return the discriminator value
- cm_local_id (
-
class
com.vmware.nsx_policy.model_client.
VirtualSwitch
(cm_local_id=None, external_id=None, origin_id=None, origin_type=None, links=None, schema=None, self_=None, last_sync_time=None, description=None, display_name=None, resource_type='VirtualSwitch', tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Virtual switch on a compute manager
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - cm_local_id (
str
orNone
) – ID of the virtual switch in compute manager This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - external_id (
str
orNone
) – External id of the virtual switch This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - origin_id (
str
orNone
) – ID of the compute manager where this virtual switch is discovered. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - origin_type (
str
orNone
) – Switch type like VmwareDistributedVirtualSwitch 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 (
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 - last_sync_time (
long
orNone
) – Timestamp of last modification format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - description (
str
orNone
) – Description of this resource - display_name (
str
orNone
) – Defaults to ID if not set - resource_type (
str
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
resource_type
¶ Return the discriminator value
- cm_local_id (
-
class
com.vmware.nsx_policy.model_client.
VmToolsInfo
(external_id=None, file_agent_version=None, host_local_id=None, network_agent_version=None, source=None, tools_version=None, vm_type=None, links=None, schema=None, self_=None, last_sync_time=None, description=None, display_name=None, resource_type='VmToolsInfo', tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - external_id (
str
orNone
) – Current external id of this virtual machine in the system. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - file_agent_version (
str
orNone
) – Version of file agent on the VM of a third party partner solution. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - host_local_id (
str
orNone
) – Id of the VM which is assigned locally by the host. It is the VM-moref on ESXi hosts, in other environments it is VM UUID. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - network_agent_version (
str
orNone
) – Version of network agent on the VM of a third party partner solution. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - source (
ResourceReference
orNone
) – Reference of the Host or Public Cloud Gateway that reported the VM. - tools_version (
str
orNone
) – Version of VMTools installed on the VM. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - vm_type (
str
orNone
) –Possible values are:
Type of VM - Edge, Service or other.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 (
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 - last_sync_time (
long
orNone
) – Timestamp of last modification format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - description (
str
orNone
) – Description of this resource - display_name (
str
orNone
) – Defaults to ID if not set - resource_type (
str
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
VM_TYPE_EDGE
= 'EDGE'¶
-
VM_TYPE_REGULAR
= 'REGULAR'¶
-
VM_TYPE_SERVICE
= 'SERVICE'¶
-
resource_type
¶ Return the discriminator value
- external_id (
-
class
com.vmware.nsx_policy.model_client.
VniPoolConfig
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, end=None, start=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Vni Pool Configuration.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - end (
long
orNone
) – End value of VNI Pool range format: int32 - start (
long
orNone
) – Start value of VNI Pool range format: int32
- links (
-
class
com.vmware.nsx_policy.model_client.
VniPoolConfigListResult
(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
Collection of Vni Pool Configuration.
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
ofVniPoolConfig
orNone
) – Vni Pool Config list results
- links (
-
class
com.vmware.nsx_policy.model_client.
VrfRouteTargets
(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, parent_path=None, path=None, relative_path=None, unique_id=None, children=None, marked_for_delete=None, overridden=None, address_family=None, export_route_targets=None, import_route_targets=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Vrf Route Targets for import/export.
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 - 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. - unique_id (
str
orNone
) – This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - children (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – subtree for this type within policy tree containing nested elements. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inChildPolicyConfigResource
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inChildPolicyConfigResource
. - marked_for_delete (
bool
orNone
) – Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - overridden (
bool
orNone
) – Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - address_family (
str
orNone
) –Possible values are:
Address family. - export_route_targets (
list
ofstr
orNone
) – - import_route_targets (
list
ofstr
orNone
) –
-
ADDRESS_FAMILY_EVPN
= 'L2VPN_EVPN'¶
- links (
-
class
com.vmware.nsx_policy.model_client.
WeeklyBackupSchedule
(days_of_week=None, hour_of_day=None, minute_of_day=None, resource_type='WeeklyBackupSchedule')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Schedule to specify day of the week and time to take automated backup
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - days_of_week (
list
oflong
orNone
) – Days of week when backup is taken. 0 - Sunday, 1 - Monday, 2 - Tuesday, 3 - Wednesday … format: int64 - hour_of_day (
long
orNone
) – Time of day when backup is taken format: int64 - minute_of_day (
long
orNone
) – Time of day when backup is taken format: int64 - resource_type (
str
) –Possible values are:
BackupSchedule.RESOURCE_TYPE_WEEKLYBACKUPSCHEDULE
BackupSchedule.RESOURCE_TYPE_INTERVALBACKUPSCHEDULE
Schedule type
-
resource_type
¶ Return the discriminator value
- days_of_week (
-
class
com.vmware.nsx_policy.model_client.
WidgetConfiguration
(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='WidgetConfiguration', tags=None, datasources=None, default_filter_value=None, drilldown_id=None, filter=None, filter_value_required=None, footer=None, icons=None, is_drilldown=None, legend=None, shared=None, span=None, weight=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Describes the configuration of a widget to be displayed on the dashboard. WidgetConfiguration is a base type that provides attributes of a widget in-general.
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
) – Title of the widget. If display_name is omitted, the widget will be shown without a title. - id (
str
orNone
) – Unique identifier of this resource - resource_type (
str
) –Possible values are:
WidgetConfiguration.RESOURCE_TYPE_LABELVALUECONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DONUTCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_MULTIWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CONTAINERCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_STATSCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRIDCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRAPHCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CUSTOMWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DROPDOWNFILTERWIDGETCONFIGURATION
Supported visualization types are LabelValueConfiguration, DonutConfiguration, GridConfiguration, StatsConfiguration, MultiWidgetConfiguration, GraphConfiguration, ContainerConfiguration, CustomWidgetConfiguration and DropdownFilterWidgetConfiguration.
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - datasources (
list
ofDatasource
orNone
) – The ‘datasources’ represent the sources from which data will be fetched. Currently, only NSX-API is supported as a ‘default’ datasource. An example of specifying ‘default’ datasource along with the urls to fetch data from is given at ‘example_request’ section of ‘CreateWidgetConfiguration’ API. - default_filter_value (
list
ofDefaultFilterValue
orNone
) – Default filter values to be passed to datasources. This will be used when the report is requested without filter values. - drilldown_id (
str
orNone
) – Id of drilldown widget, if any. Id should be a valid id of an existing widget. A widget is considered as drilldown widget when it is associated with any other widget and provides more detailed information about any data item from the parent widget. - filter (
str
orNone
) – Id of filter widget for subscription, if any. Id should be a valid id of an existing filter widget. Filter widget should be from the same view. Datasource URLs should have placeholder values equal to filter alias to accept the filter value on filter change. - filter_value_required (
bool
orNone
) – Flag to indicate that widget will continue to work without filter value. If this flag is set to false then default_filter_value is manadatory. - footer (
Footer
orNone
) – - icons (
list
ofIcon
orNone
) – Icons to be applied at dashboard for widgets and UI elements. - is_drilldown (
bool
orNone
) – Set to true if this widget should be used as a drilldown. - legend (
Legend
orNone
) – Legend to be displayed. If legend is not needed, do not include it. - shared (
bool
orNone
) – Please use the property ‘shared’ of View instead of this. The widgets of a shared view are visible to other users. - span (
long
orNone
) – Represents the horizontal span of the widget / container. format: int32 - weight (
long
orNone
) – Specify relavite weight in WidgetItem for placement in a view. Please see WidgetItem for details. format: int32
-
RESOURCE_TYPE_CONTAINERCONFIGURATION
= 'ContainerConfiguration'¶
-
RESOURCE_TYPE_CUSTOMWIDGETCONFIGURATION
= 'CustomWidgetConfiguration'¶
-
RESOURCE_TYPE_DONUTCONFIGURATION
= 'DonutConfiguration'¶
-
RESOURCE_TYPE_DROPDOWNFILTERWIDGETCONFIGURATION
= 'DropdownFilterWidgetConfiguration'¶
-
RESOURCE_TYPE_GRAPHCONFIGURATION
= 'GraphConfiguration'¶
-
RESOURCE_TYPE_GRIDCONFIGURATION
= 'GridConfiguration'¶
-
RESOURCE_TYPE_LABELVALUECONFIGURATION
= 'LabelValueConfiguration'¶
-
RESOURCE_TYPE_MULTIWIDGETCONFIGURATION
= 'MultiWidgetConfiguration'¶
-
RESOURCE_TYPE_STATSCONFIGURATION
= 'StatsConfiguration'¶
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_policy.model_client.
WidgetConfigurationList
(widgetconfigurations=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents a list of widget configurations.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: widgetconfigurations ( list
ofvmware.vapi.struct.VapiStruct
orNone
) – Array of widget configurations When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inWidgetConfiguration
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inWidgetConfiguration
. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
class
com.vmware.nsx_policy.model_client.
WidgetItem
(alignment=None, label=None, separator=None, weight=None, widget_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents a reference to a widget that is held by a container or a multi-widget or a View.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - alignment (
str
orNone
) –Possible values are:
Aligns widget either left or right. - label (
Label
orNone
) – Applicable for ‘DonutConfiguration’ and ‘StatsConfiguration’ reports only. If label is not specified, then it defaults to the label of the donut or stats report. - separator (
bool
orNone
) – If true, separates this widget in a container. - weight (
long
orNone
) – Determines placement of widget or container relative to other widgets and containers. The lower the weight, the higher it is in the placement order. format: int32 - widget_id (
str
orNone
) – Id of the widget configuration that is held by a multi-widget or a container or a view.
-
ALIGNMENT_LEFT
= 'LEFT'¶
-
ALIGNMENT_RIGHT
= 'RIGHT'¶
- alignment (
-
class
com.vmware.nsx_policy.model_client.
X509Certificate
(dsa_public_keyg=None, dsa_public_keyp=None, dsa_public_keyq=None, dsa_public_keyy=None, ecdsa_curve_name=None, ecdsa_ec_field=None, ecdsa_ec_field_f2mks=None, ecdsa_ec_field_f2mm=None, ecdsa_ec_field_f2mrp=None, ecdsa_ec_field_f2pp=None, ecdsa_public_keya=None, ecdsa_public_keyb=None, ecdsa_public_key_cofactor=None, ecdsa_public_key_generatorx=None, ecdsa_public_key_generatory=None, ecdsa_public_key_order=None, ecdsa_public_key_seed=None, is_ca=None, is_valid=None, issuer=None, issuer_cn=None, not_after=None, not_before=None, public_key_algo=None, public_key_length=None, rsa_public_key_exponent=None, rsa_public_key_modulus=None, serial_number=None, signature=None, signature_algorithm=None, subject=None, subject_cn=None, version=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - dsa_public_keyg (
str
orNone
) – One of the DSA cryptogaphic algorithm’s strength parameters, base. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - dsa_public_keyp (
str
orNone
) – One of the DSA cryptogaphic algorithm’s strength parameters, prime. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - dsa_public_keyq (
str
orNone
) – One of the DSA cryptogaphic algorithm’s strength parameters, sub-prime. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - dsa_public_keyy (
str
orNone
) – One of the DSA cryptogaphic algorithm’s strength parameters. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - ecdsa_curve_name (
str
orNone
) – The Curve name for the ECDSA certificate. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - ecdsa_ec_field (
str
orNone
) –Possible values are:
Represents an elliptic curve (EC) finite field in ECDSA.This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- ecdsa_ec_field_f2mks (
list
oflong
orNone
) – The order of the middle term(s) of the reduction polynomial in elliptic curve (EC) | characteristic 2 finite field.| Contents of this array are copied to protect against subsequent modification in ECDSA. 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. - ecdsa_ec_field_f2mm (
long
orNone
) – The first coefficient of this elliptic curve in elliptic curve (EC) | characteristic 2 finite field for ECDSA. 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. - ecdsa_ec_field_f2mrp (
str
orNone
) – The value whose i-th bit corresponds to the i-th coefficient of the reduction polynomial | in elliptic curve (EC) characteristic 2 finite field for ECDSA. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - ecdsa_ec_field_f2pp (
str
orNone
) – The specified prime for the elliptic curve prime finite field in ECDSA. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - ecdsa_public_keya (
str
orNone
) – The first coefficient of this elliptic curve in ECDSA. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - ecdsa_public_keyb (
str
orNone
) – The second coefficient of this elliptic curve in ECDSA. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - ecdsa_public_key_cofactor (
long
orNone
) – The co-factor in ECDSA. 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. - ecdsa_public_key_generatorx (
str
orNone
) – X co-ordinate of G (the generator which is also known as the base point) in ECDSA. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - ecdsa_public_key_generatory (
str
orNone
) – Y co-ordinate of G (the generator which is also known as the base point) in ECDSA. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - ecdsa_public_key_order (
str
orNone
) – The order of generator G in ECDSA. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - ecdsa_public_key_seed (
list
ofstr
orNone
) – The bytes used during curve generation for later validation in ECDSA.| Contents of this array are copied to protect against subsequent modification. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - is_ca (
bool
orNone
) – True if this is a CA certificate. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - is_valid (
bool
orNone
) – True if this certificate is valid. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - issuer (
str
orNone
) – The certificate issuers complete distinguished 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. - issuer_cn (
str
orNone
) – The certificate issuer’s common 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. - not_after (
long
orNone
) – The time in epoch milliseconds at which the certificate becomes invalid. 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. - not_before (
long
orNone
) – The time in epoch milliseconds at which the certificate becomes valid. 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. - public_key_algo (
str
orNone
) –Possible values are:
X509Certificate.PUBLIC_KEY_ALGO_RSA
X509Certificate.PUBLIC_KEY_ALGO_DSA
X509Certificate.PUBLIC_KEY_ALGO_ECDSA
Cryptographic algorithm used by the public key for data encryption. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- public_key_length (
long
orNone
) – Size measured in bits of the public/private keys used in a cryptographic algorithm. 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. - rsa_public_key_exponent (
str
orNone
) – An RSA public key is made up of the modulus and the public exponent. Exponent is a power number. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - rsa_public_key_modulus (
str
orNone
) – An RSA public key is made up of the modulus and the public exponent. Modulus is wrap around number. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - serial_number (
str
orNone
) – Certificate’s serial number. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - signature (
str
orNone
) – The signature value(the raw signature bits) used for signing and validate the cert. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - signature_algorithm (
str
orNone
) – The algorithm used by the Certificate Authority to sign the certificate. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - subject (
str
orNone
) – The certificate owners complete distinguished 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. - subject_cn (
str
orNone
) – The certificate owner’s common 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. - version (
str
orNone
) – Certificate version (default 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.
-
ECDSA_EC_FIELD_F2M
= 'F2M'¶
-
ECDSA_EC_FIELD_FP
= 'FP'¶
-
PUBLIC_KEY_ALGO_DSA
= 'DSA'¶
-
PUBLIC_KEY_ALGO_ECDSA
= 'ECDSA'¶
-
PUBLIC_KEY_ALGO_RSA
= 'RSA'¶
- dsa_public_keyg (
-
class
com.vmware.nsx_policy.model_client.
X509Crl
(crl_entries=None, issuer=None, next_update=None, version=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A CRL is a time-stamped list identifying revoked certificates.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - crl_entries (
list
ofX509CrlEntry
orNone
) – List of X509CrlEntry. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - issuer (
str
orNone
) – Issuer’s distinguished name. (DN) This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - next_update (
str
orNone
) – Next update time for the CRL. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - version (
str
orNone
) – CRL’s version number either 1 or 2. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- crl_entries (
-
class
com.vmware.nsx_policy.model_client.
X509CrlEntry
(revocation_date=None, serial_number=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Each revoked certificate is identified in a CRL by its certificate serial number.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - revocation_date (
str
orNone
) – Revocation date. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - serial_number (
str
orNone
) – The revoked certificate’s serial number. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- revocation_date (
com.vmware.nsx_policy.search_client module¶
-
class
com.vmware.nsx_policy.search_client.
Dsl
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(query, cursor=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ DSL (Domain Specific Language) search API
Parameters: - query (
str
) – Search query (required) - 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_policy.model.SearchResponse
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- query (
-
-
class
com.vmware.nsx_policy.search_client.
Query
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(query, cursor=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Full text search API
Parameters: - query (
str
) – Search query (required) - 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_policy.model.SearchResponse
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- query (
-
-
class
com.vmware.nsx_policy.search_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
Parameters: stub_config ( vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.nsx_policy.system_config_client module¶
-
class
com.vmware.nsx_policy.system_config_client.
NsxPartialPatchConfig
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
()¶ Get Configuration values for nsx-partial-patch. By default partial patch is disbaled (i.e false).
Return type: com.vmware.nsx_policy.model_client.PartialPatchConfig
Returns: com.vmware.nsx_policy.model.PartialPatchConfig 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
-
patch
(partial_patch_config)¶ Update partial patch configuration values. Only boolean value is allowed for enable_partial_patch
Parameters: partial_patch_config ( com.vmware.nsx_policy.model_client.PartialPatchConfig
) – (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
-
-
class
com.vmware.nsx_policy.system_config_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
Parameters: stub_config ( vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.nsx_policy.tasks_client module¶
-
class
com.vmware.nsx_policy.tasks_client.
Response
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
(task_id)¶ Get the response of a task
Parameters: task_id ( str
) – ID of task to read (required)Return type: vmware.vapi.struct.VapiStruct
Returns: DynamicStructure 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_policy.tasks_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
Parameters: stub_config ( vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.nsx_policy.ui_views_client module¶
-
class
com.vmware.nsx_policy.ui_views_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_policy.ui_views_client.
Widgetconfigurations
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
create
(view_id, widget_configuration)¶ Creates a new Widget Configuration and adds it to the specified view. Supported resource_types are LabelValueConfiguration, DonutConfiguration, GridConfiguration, StatsConfiguration, MultiWidgetConfiguration, GraphConfiguration and ContainerConfiguration. Note: Expressions should be given in a single line. If an expression spans multiple lines, then form the expression in a single line. For label-value pairs, expressions are evaluated as follows: a. First, render configurations are evaluated in their order of appearance in the widget config. The ‘field’ is evaluated at the end. b. Second, when render configuration is provided then the order of evaluation is 1. If expressions provided in ‘condition’ and ‘display value’ are well-formed and free of runtime-errors such as ‘null pointers’ and evaluates to ‘true’; Then remaining render configurations are not evaluated, and the current render configuration’s ‘display value’ is taken as the final value. 2. If expression provided in ‘condition’ of render configuration is false, then next render configuration is evaluated. 3. Finally, ‘field’ is evaluated only when every render configuration evaluates to false and no error occurs during steps 1 and 2 above. If an error occurs during evaluation of render configuration, then an error message is shown. The display value corresponding to that label is not shown and evaluation of the remaining render configurations continues to collect and show all the error messages (marked with the ‘Label’ for identification) as ‘Error_Messages: {}’. If during evaluation of expressions for any label-value pair an error occurs, then it is marked with error. The errors are shown in the report, along with the label value pairs that are error-free. Important: For elements that take expressions, strings should be provided by escaping them with a back-slash. These elements are - condition, field, tooltip text and render_configuration’s display_value.
Parameters: - view_id (
str
) – (required) - widget_configuration (
vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_policy.model_client.WidgetConfiguration
.
Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.WidgetConfiguration The return value will contain all the attributes defined in
com.vmware.nsx_policy.model_client.WidgetConfiguration
.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- view_id (
-
delete
(view_id, widgetconfiguration_id)¶ Detaches widget from a given view. If the widget is no longer part of any view, then it will be purged.
Parameters: - view_id (
str
) – (required) - widgetconfiguration_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- view_id (
-
get
(view_id, container=None, widget_ids=None)¶ If no query params are specified then all the Widget Configurations of the specified view are returned.
Parameters: - view_id (
str
) – (required) - container (
str
orNone
) – Id of the container (optional) - widget_ids (
str
orNone
) – Ids of the WidgetConfigurations (optional)
Return type: Returns: com.vmware.nsx_policy.model.WidgetConfigurationList
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- view_id (
-
get_0
(view_id, widgetconfiguration_id)¶ Returns Information about a specific Widget Configuration.
Parameters: - view_id (
str
) – (required) - widgetconfiguration_id (
str
) – (required)
Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.WidgetConfiguration The return value will contain all the attributes defined in
com.vmware.nsx_policy.model_client.WidgetConfiguration
.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- view_id (
-
update
(view_id, widgetconfiguration_id, widget_configuration)¶ Updates the widget at the given view. If the widget is referenced by other views, then the widget will be updated in all the views that it is part of.
Parameters: - view_id (
str
) – (required) - widgetconfiguration_id (
str
) – (required) - widget_configuration (
vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_policy.model_client.WidgetConfiguration
.
Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_policy.model.WidgetConfiguration The return value will contain all the attributes defined in
com.vmware.nsx_policy.model_client.WidgetConfiguration
.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- view_id (
-
com.vmware.nsx_policy.upgrade_client module¶
-
class
com.vmware.nsx_policy.upgrade_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_policy.upgrade_client.
VersionWhitelist
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
(component_type)¶ Get whitelist of versions for a component. Component can include HOST, EDGE, CCP, MP
Parameters: component_type ( str
) – (required)Return type: com.vmware.nsx_policy.model_client.AcceptableComponentVersion
Returns: com.vmware.nsx_policy.model.AcceptableComponentVersion 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
()¶ Get whitelist of versions for different components
Return type: com.vmware.nsx_policy.model_client.AcceptableComponentVersionList
Returns: com.vmware.nsx_policy.model.AcceptableComponentVersionList 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
(component_type, version_list)¶ Update the version whitelist for the specified component type (HOST, EDGE, CCP, MP).
Parameters: - component_type (
str
) – (required) - version_list (
com.vmware.nsx_policy.model_client.VersionList
) – (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- component_type (
-