com.vmware.nsx_policy.infra.domains.gateway_policies package¶
Submodules¶
com.vmware.nsx_policy.infra.domains.gateway_policies.rules_client module¶
-
class
com.vmware.nsx_policy.infra.domains.gateway_policies.rules_client.
Statistics
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(domain_id, gateway_policy_id, rule_id, enforcement_point_path=None)¶ Get statistics of a gateway rule. - no enforcement point path specified: Stats will be evaluated on each enforcement. point. - {enforcement_point_path}: Stats are evaluated only on the given enforcement point.
Parameters: - domain_id (
str
) – (required) - gateway_policy_id (
str
) – (required) - rule_id (
str
) – (required) - enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional)
Return type: Returns: com.vmware.nsx_policy.model.RuleStatisticsListResult
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.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.domains.gateway_policies.rules_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
Parameters: stub_config ( vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance