v1.feature_profile.sd_routing.cli

Operation: POST /dataservice/v1/feature-profile/sd-routing/cli

Create a SD-Routing CLI Feature Profile

def post(
    payload: CreateSdroutingCliFeatureProfilePostRequest,
) -> CreateSdroutingCliFeatureProfilePostResponse: ...

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.sd_routing.cli.post()

Operation: PUT /dataservice/v1/feature-profile/sd-routing/cli/{cliId}

Edit a SD-Routing CLI Feature Profile

def put(
    cli_id: str, payload: EditSdroutingCliFeatureProfilePutRequest
) -> EditSdroutingCliFeatureProfilePutResponse: ...

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.sd_routing.cli.put()

Operation: DELETE /dataservice/v1/feature-profile/sd-routing/cli/{cliId}

Delete a SD-Routing CLI Feature Profile

def delete(cli_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.sd_routing.cli.delete()

Operation: GET /dataservice/v1/feature-profile/sd-routing/cli

@overload
def get(
    offset: Optional[int] = None, limit: Optional[int] = 0
) -> List[GetSdroutingCliFeatureProfilesGetResponse]: ...

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.sd_routing.cli.get()

Operation: GET /dataservice/v1/feature-profile/sd-routing/cli/{cliId}

@overload
def get(cli_id: str) -> GetSingleSdRoutingCliPayload: ...

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.sd_routing.cli.get()