v1.feature_profile.sdwan.policy_object.unified.intrusion_prevention

Operation: POST /dataservice/v1/feature-profile/sdwan/policy-object/{policyObjectId}/unified/intrusion-prevention

Create Parcel for Security Policy

def post(
    policy_object_id: str,
    payload: CreateSecurityProfileParcelPostRequest,
) -> CreateSecurityProfileParcelPostResponse: ...

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.policy_object.unified.intrusion_prevention.post()

Operation: GET /dataservice/v1/feature-profile/sdwan/policy-object/{policyObjectId}/unified/intrusion-prevention/{parcelId}

Get Security Profile Parcels for a given ParcelType

def get(
    policy_object_id: str,
    parcel_id: str,
    reference_count: Optional[bool] = False,
) -> GetSecurityProfileParcelGetResponse: ...

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.policy_object.unified.intrusion_prevention.get()