com.vmware.nsx_policy.global_infra.tier_1s.locale_services.interfaces package

Submodules

com.vmware.nsx_policy.global_infra.tier_1s.locale_services.interfaces.statistics_client module

class com.vmware.nsx_policy.global_infra.tier_1s.locale_services.interfaces.statistics_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.tier_1s.locale_services.interfaces.statistics_client.Summary(config)

Bases: vmware.vapi.bindings.stub.VapiInterface

Parameters:config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.
get(tier1_id, locale_service_id, interface_id, cursor=None, enforcement_point_path=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)

Get tier-1 interface statistics information.

Parameters:
  • tier1_id (str) – (required)
  • locale_service_id (str) – (required)
  • interface_id (str) – (required)
  • cursor (str or None) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
  • enforcement_point_path (str or None) – Enforcement point path (optional)
  • included_fields (str or None) – Comma separated list of fields that should be included in query result (optional)
  • page_size (long or None) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
  • sort_ascending (bool or None) – (optional)
  • sort_by (str or None) – Field by which records are sorted (optional)
Return type:

com.vmware.nsx_policy.model_client.PolicyInterfaceStatisticsSummary

Returns:

com.vmware.nsx_policy.model.PolicyInterfaceStatisticsSummary

Raise:

com.vmware.vapi.std.errors_client.ServiceUnavailable Service Unavailable

Raise:

com.vmware.vapi.std.errors_client.InvalidRequest Bad Request, Precondition Failed

Raise:

com.vmware.vapi.std.errors_client.InternalServerError Internal Server Error

Raise:

com.vmware.vapi.std.errors_client.Unauthorized Forbidden

Raise:

com.vmware.vapi.std.errors_client.NotFound Not Found