======================================== template.policy.definition.sslutdprofile ======================================== Operation: POST /dataservice/template/policy/definition/sslutdprofile --------------------------------------------------------------------- Create policy definition .. code:: python def post(payload: Any) -> Any: ... Example: ^^^^^^^^ .. code:: python 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.template.policy.definition.sslutdprofile.post() Operation: PUT /dataservice/template/policy/definition/sslutdprofile/{id} ------------------------------------------------------------------------- Edit a policy definitions .. code:: python def put(id: str, payload: Any) -> Any: ... Example: ^^^^^^^^ .. code:: python 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.template.policy.definition.sslutdprofile.put() Operation: DELETE /dataservice/template/policy/definition/sslutdprofile/{id} ---------------------------------------------------------------------------- Delete policy definition .. code:: python def delete(id: str) -> None: ... Example: ^^^^^^^^ .. code:: python 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.template.policy.definition.sslutdprofile.delete() Operation: GET /dataservice/template/policy/definition/sslutdprofile -------------------------------------------------------------------- .. code:: python @overload def get() -> Any: ... Example: ^^^^^^^^ .. code:: python 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.template.policy.definition.sslutdprofile.get() Operation: GET /dataservice/template/policy/definition/sslutdprofile/{id} ------------------------------------------------------------------------- .. code:: python @overload def get(id: str) -> Any: ... Example: ^^^^^^^^ .. code:: python 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.template.policy.definition.sslutdprofile.get() .. toctree:: :maxdepth: 1 bulk multiple preview