com.vmware.nsx_policy.infra.tier_1s.nat package¶
Submodules¶
com.vmware.nsx_policy.infra.tier_1s.nat.nat_rules_client module¶
-
class
com.vmware.nsx_policy.infra.tier_1s.nat.nat_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
(tier1_id, nat_id, nat_rule_id, enforcement_point_path=None)¶ Get NAT Rule Statistics from Tier-1 denoted by Tier-1 ID, under NAT section denoted by <nat-id>. Under tier-1 there will be 3 different NATs(sections). (INTERNAL, USER and DEFAULT) For more details related to NAT section please refer to PolicyNAT schema.
Parameters: - tier1_id (
str
) – Tier-1 ID (required) - nat_id (
str
) – NAT id (required) - nat_rule_id (
str
) – Rule ID (required) - enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional)
Return type: com.vmware.nsx_policy.model_client.PolicyNatRuleStatisticsListResult
Returns: com.vmware.nsx_policy.model.PolicyNatRuleStatisticsListResult
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.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.tier_1s.nat.nat_rules_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
Parameters: stub_config ( vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance