v1.feature_profile.sdwan.service.lan.vpn.interface.ipsec

Operation: POST /dataservice/v1/feature-profile/sdwan/service/{serviceId}/lan/vpn/{vpnId}/interface/ipsec

Create a LanVpn InterfaceIpsec parcel for service feature profile

def post(
    service_id: str,
    vpn_id: str,
    payload: CreateIpSecProfileParcelPostRequest,
) -> CreateIpSecProfileParcelPostResponse: ...

Example:

from catalyswan.core import create_client

url = "example.com"
username = "admin"
password = "password123"

with create_client(
    url=url, username=username, password=password
) as client:
    client.v1.feature_profile.sdwan.service.lan.vpn.interface.ipsec.post()

Operation: PUT /dataservice/v1/feature-profile/sdwan/service/{serviceId}/lan/vpn/{vpnId}/interface/ipsec/{ipsecId}

Update a LanVpn Interface Ipsec Parcel for Service feature profile

def put(
    service_id: str,
    vpn_id: str,
    ipsec_id: str,
    payload: EditProfileParcelPutRequest,
) -> EditProfileParcelPutResponse: ...

Example:

from catalyswan.core import create_client

url = "example.com"
username = "admin"
password = "password123"

with create_client(
    url=url, username=username, password=password
) as client:
    client.v1.feature_profile.sdwan.service.lan.vpn.interface.ipsec.put()

Operation: DELETE /dataservice/v1/feature-profile/sdwan/service/{serviceId}/lan/vpn/{vpnId}/interface/ipsec/{ipsecId}

Delete a LanVpn InterfaceIpsec Parcel for Service feature profile

def delete(service_id: str, vpn_id: str, ipsec_id: str) -> None: ...

Example:

from catalyswan.core import create_client

url = "example.com"
username = "admin"
password = "password123"

with create_client(
    url=url, username=username, password=password
) as client:
    client.v1.feature_profile.sdwan.service.lan.vpn.interface.ipsec.delete()

Operation: GET /dataservice/v1/feature-profile/sdwan/service/{serviceId}/lan/vpn/{vpnId}/interface/ipsec

@overload
def get(
    service_id: str, vpn_id: str
) -> GetListSdwanServiceLanVpnInterfaceIpsecPayload: ...

Example:

from catalyswan.core import create_client

url = "example.com"
username = "admin"
password = "password123"

with create_client(
    url=url, username=username, password=password
) as client:
    client.v1.feature_profile.sdwan.service.lan.vpn.interface.ipsec.get()

Operation: GET /dataservice/v1/feature-profile/sdwan/service/{serviceId}/lan/vpn/{vpnId}/interface/ipsec/{ipsecId}

@overload
def get(
    service_id: str, vpn_id: str, ipsec_id: str
) -> GetSingleSdwanServiceLanVpnInterfaceIpsecPayload: ...

Example:

from catalyswan.core import create_client

url = "example.com"
username = "admin"
password = "password123"

with create_client(
    url=url, username=username, password=password
) as client:
    client.v1.feature_profile.sdwan.service.lan.vpn.interface.ipsec.get()