wani.policy_activation_status
Operation: GET /dataservice/wani/{policyType}/{policyId}/policyActivationStatus
Get if specified policy is apart of a activated centralized policy, if it is the response also gives the centralized policy id, the users original defined centralized policy id, and if current policy is apart of a active wani policy.
def get_policy_activation_status(
policy_type: str, policy_id: str
) -> ActivationStatusRes: ...
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.wani.policy_activation_status.get_policy_activation_status()