v1.feature_profile.sdwan.policy_object.unified.intrusion_prevention
Operation: POST /dataservice/v1/feature-profile/sdwan/policy-object/{policyObjectId}/unified/intrusion-prevention
Create Feature for Security Policy
def post(
policy_object_id: str,
payload: CreateSdwanSecurityFeaturePostRequest,
) -> CreateSdwanSecurityFeaturePostResponse: ...
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 Features for a given ParcelType
def get(
policy_object_id: str,
parcel_id: str,
reference_count: Optional[bool] = False,
) -> GetSdwanSecurityFeatureGetResponse: ...
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()