com.vmware.vmc.orgs.sddcs.networks.edges.nat package

Submodules

com.vmware.vmc.orgs.sddcs.networks.edges.nat.config_client module

class com.vmware.vmc.orgs.sddcs.networks.edges.nat.config_client.Rules(config)

Bases: vmware.vapi.bindings.stub.VapiInterface

Parameters

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

add(org, sddc, edge_id, nat_rules)

Append a NAT rule for a management or compute gateway (NSX Edge).

Parameters
  • org (str) – Organization identifier. (required)

  • sddc (str) – Sddc Identifier. (required)

  • edge_id (str) – Edge Identifier. (required)

  • nat_rules (com.vmware.vmc.model_client.NatRules) – (required)

Raise

com.vmware.vapi.std.errors_client.InvalidRequest Bad request. Request object passed is invalid.

Raise

com.vmware.vapi.std.errors_client.Unauthorized Forbidden. Authorization header not provided.

Raise

com.vmware.vapi.std.errors_client.NotFound Not found. Requested object not found.

delete(org, sddc, edge_id, rule_id)

Delete the specific NAT rule for a management or compute gateway (NSX Edge).

Parameters
  • org (str) – Organization identifier. (required)

  • sddc (str) – Sddc Identifier. (required)

  • edge_id (str) – Edge Identifier. (required)

  • rule_id (long) – Rule Identifier. (required)

Raise

com.vmware.vapi.std.errors_client.InvalidRequest Bad request. Request object passed is invalid.

Raise

com.vmware.vapi.std.errors_client.Unauthorized Forbidden. Authorization header not provided.

Raise

com.vmware.vapi.std.errors_client.NotFound Not found. Requested object not found.

update(org, sddc, edge_id, rule_id, nsxnatrule)

Update the specific NAT rule for a management or compute gateway (NSX Edge).

Parameters
  • org (str) – Organization identifier. (required)

  • sddc (str) – Sddc Identifier. (required)

  • edge_id (str) – Edge Identifier. (required)

  • rule_id (long) – Rule Identifier. (required)

  • nsxnatrule (com.vmware.vmc.model_client.Nsxnatrule) – (required)

Raise

com.vmware.vapi.std.errors_client.InvalidRequest Bad request. Request object passed is invalid.

Raise

com.vmware.vapi.std.errors_client.Unauthorized Forbidden. Authorization header not provided.

Raise

com.vmware.vapi.std.errors_client.NotFound Not found. Requested object not found.

class com.vmware.vmc.orgs.sddcs.networks.edges.nat.config_client.StubFactory(stub_config)

Bases: vmware.vapi.bindings.stub.StubFactoryBase

Initialize StubFactoryBase

Parameters

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance