com.vmware.vmc.orgs.sddcs.networks.edges.firewall package¶
Submodules¶
com.vmware.vmc.orgs.sddcs.networks.edges.firewall.config_client module¶
-
class
com.vmware.vmc.orgs.sddcs.networks.edges.firewall.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, firewall_rules)¶ Append firewall rules 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)firewall_rules (
com.vmware.vmc.model_client.FirewallRules
) – (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 a specific firewall 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.
-
get
(org, sddc, edge_id, rule_id)¶ Retrieve a specific firewall 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)
- Return type
- Returns
com.vmware.vmc.model.Nsxfirewallrule
- 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, nsxfirewallrule)¶ Modify the specified firewall 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)nsxfirewallrule (
com.vmware.vmc.model_client.Nsxfirewallrule
) – (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.firewall.config_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance