v1.feature_profile.sdwan.embedded_security.policy
Operation: POST /dataservice/v1/feature-profile/sdwan/embedded-security/{securityId}/policy
Create Feature for Security Policy
def post(
security_id: str,
payload: CreateSdwanEmbeddedSecurityFeaturePostRequest,
) -> CreateSdwanEmbeddedSecurityFeaturePostResponse: ...
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 Feature
def put(
security_id: str,
security_profile_parcel_id: str,
payload: EditSdwanSecurityFeaturePutRequest,
) -> EditSdwanSecurityFeaturePutResponse: ...
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 Feature
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()