v1.feature_profile.sdwan.embedded_security.policy

Operation: POST /dataservice/v1/feature-profile/sdwan/embedded-security/{securityId}/policy

Create Parcel for Security Policy

def post(
    security_id: str,
    payload: CreateEmbeddedSecurityProfileParcelPostRequest,
) -> CreateEmbeddedSecurityProfileParcelPostResponse: ...

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

Operation: PUT /dataservice/v1/feature-profile/sdwan/embedded-security/{securityId}/policy/{securityProfileParcelId}

Update a Security Profile Parcel

def put(
    security_id: str,
    security_profile_parcel_id: str,
    payload: EditSecurityProfileParcelPutRequest,
) -> EditSecurityProfileParcelPutResponse: ...

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

Operation: DELETE /dataservice/v1/feature-profile/sdwan/embedded-security/{securityId}/policy/{securityProfileParcelId}

Delete a Security Profile Parcel

def delete(
    security_id: str, security_profile_parcel_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.embedded_security.policy.delete()

Operation: GET /dataservice/v1/feature-profile/sdwan/embedded-security/{securityId}/policy

@overload
def get(
    security_id: str,
) -> GetListSdwanEmbeddedSecurityPolicyPayload: ...

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

Operation: GET /dataservice/v1/feature-profile/sdwan/embedded-security/{securityId}/policy/{securityProfileParcelId}

@overload
def get(
    security_id: str, security_profile_parcel_id: str
) -> GetSingleSdwanEmbeddedSecurityPolicyPayload: ...

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