com.vmware.vmc.orgs.sddcs.networks.edges.l2vpn package¶
Submodules¶
com.vmware.vmc.orgs.sddcs.networks.edges.l2vpn.config_client module¶
-
class
com.vmware.vmc.orgs.sddcs.networks.edges.l2vpn.config_client.
Statistics
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
get
(org, sddc, edge_id)¶ Retrieve L2 VPN statistics for a compute gateway (NSX Edge).
- Parameters
org (
str
) – Organization identifier. (required)sddc (
str
) – Sddc Identifier. (required)edge_id (
str
) – Edge Identifier. (required)
- Return type
- Returns
com.vmware.vmc.model.L2vpnStatusAndStats
- 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.l2vpn.config_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance