v1.feature_profile.sd_routing.service.ipv4_acl

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

Create a SD-Routing IPv4 ACL feature from a specific service feature profile

def post(
    service_id: str,
    payload: CreateSdroutingServiceIpv4AclFeaturePostRequest,
) -> CreateSdroutingServiceIpv4AclFeaturePostResponse: ...

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.ipv4_acl.post()

Operation: PUT /dataservice/v1/feature-profile/sd-routing/service/{serviceId}/ipv4-acl/{ipv4AclId}

Edit the SD-Routing IPv4 ACL feature from a specific service feature profile

def put(
    service_id: str,
    ipv4_acl_id: str,
    payload: EditSdroutingServiceIpv4AclFeaturePutRequest,
) -> EditSdroutingServiceIpv4AclFeaturePutResponse: ...

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.ipv4_acl.put()

Operation: DELETE /dataservice/v1/feature-profile/sd-routing/service/{serviceId}/ipv4-acl/{ipv4AclId}

Delete the SD-Routing IPv4 ACL feature from a specific service feature profile

def delete(service_id: str, ipv4_acl_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.ipv4_acl.delete()

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

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

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.ipv4_acl.get()

Operation: GET /dataservice/v1/feature-profile/sd-routing/service/{serviceId}/ipv4-acl/{ipv4AclId}

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

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.ipv4_acl.get()