template.policy.definition.fxoport

Operation: POST /dataservice/template/policy/definition/fxoport

Create policy definition

def post(payload: Any) -> Any: ...

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.template.policy.definition.fxoport.post()

Operation: PUT /dataservice/template/policy/definition/fxoport/{id}

Edit a policy definitions

def put(id: str, payload: Any) -> Any: ...

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.template.policy.definition.fxoport.put()

Operation: DELETE /dataservice/template/policy/definition/fxoport/{id}

Delete policy definition

def delete(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.template.policy.definition.fxoport.delete()

Operation: GET /dataservice/template/policy/definition/fxoport

@overload
def get() -> Any: ...

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.template.policy.definition.fxoport.get()

Operation: GET /dataservice/template/policy/definition/fxoport/{id}

@overload
def get(id: str) -> Any: ...

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.template.policy.definition.fxoport.get()