v1.feature_profile.sd_routing.service.ipsec_profile

Operation: POST /dataservice/v1/feature-profile/sd-routing/service/{serviceId}/ipsec-profile

Create a SD-Routing IPSec profile feature from a specific service feature profile

def post(
    service_id: str,
    payload: CreateSdroutingServiceIpsecProfileFeaturePostRequest,
) -> CreateSdroutingServiceIpsecProfileFeaturePostResponse: ...

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.sd_routing.service.ipsec_profile.post()

Operation: PUT /dataservice/v1/feature-profile/sd-routing/service/{serviceId}/ipsec-profile/{ipsecProfileId}

Edit the SD-Routing IPSec profile feature from a specific service feature profile

def put(
    service_id: str,
    ipsec_profile_id: str,
    payload: EditSdroutingServiceIpsecProfileFeaturePutRequest,
) -> EditSdroutingServiceIpsecProfileFeaturePutResponse: ...

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.sd_routing.service.ipsec_profile.put()

Operation: DELETE /dataservice/v1/feature-profile/sd-routing/service/{serviceId}/ipsec-profile/{ipsecProfileId}

Delete the SD-Routing IPSec profile feature from a specific service feature profile

def delete(service_id: str, ipsec_profile_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.sd_routing.service.ipsec_profile.delete()

Operation: GET /dataservice/v1/feature-profile/sd-routing/service/{serviceId}/ipsec-profile

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

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.sd_routing.service.ipsec_profile.get()

Operation: GET /dataservice/v1/feature-profile/sd-routing/service/{serviceId}/ipsec-profile/{ipsecProfileId}

@overload
def get(
    service_id: str, ipsec_profile_id: str
) -> GetSingleSdRoutingServiceIpsecProfilePayload: ...

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.sd_routing.service.ipsec_profile.get()