com.vmware.vmc.orgs.sddcs.networks.cgws package¶
Submodules¶
com.vmware.vmc.orgs.sddcs.networks.cgws.l2vpn_client module¶
-
class
com.vmware.vmc.orgs.sddcs.networks.cgws.l2vpn_client.
Config
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
delete
(org, sddc, edge_id)¶ Delete SDDC L2 VPN configuration.
- Parameters
org (
str
) – Organization identifier. (required)sddc (
str
) – Sddc Identifier. (required)edge_id (
str
) – Compute Gateway Edge 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, show_sensitive_data=None)¶ Retrieve SDDC L2 VPN configuration.
- Parameters
org (
str
) – Organization identifier. (required)sddc (
str
) – Sddc Identifier. (required)edge_id (
str
) – Compute Gateway Edge Identifier (required)show_sensitive_data (
bool
orNone
) – (optional)
- Return type
- Returns
com.vmware.vmc.model.Nsxl2vpn
- 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, nsxl2vpn)¶ Modify SDDC L2 VPN configuration
- Parameters
org (
str
) – Organization identifier. (required)sddc (
str
) – Sddc Identifier. (required)edge_id (
str
) – Compute Gateway Edge Identifier (required)nsxl2vpn (
com.vmware.vmc.model_client.Nsxl2vpn
) – (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.cgws.l2vpn_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance