v1.feature_profile.sd_routing.service.objecttracker

Operation: POST /dataservice/v1/feature-profile/sd-routing/service/{serviceId}/objecttracker

Create a SD-Routing Object Tracker Feature for Service Feature Profile

def post(
    service_id: str,
    payload: CreateSdroutingServiceObjectTrackerFeaturePostRequest,
) -> CreateSdroutingServiceObjectTrackerFeaturePostResponse: ...

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.service.objecttracker.post()

Operation: PUT /dataservice/v1/feature-profile/sd-routing/service/{serviceId}/objecttracker/{objectTrackerId}

Edit a SD-Routing Object Tracker Feature for Service Feature Profile

def put(
    service_id: str,
    object_tracker_id: str,
    payload: EditSdroutingServiceObjectTrackerFeaturePutRequest,
) -> EditSdroutingServiceObjectTrackerFeaturePutResponse: ...

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.service.objecttracker.put()

Operation: DELETE /dataservice/v1/feature-profile/sd-routing/service/{serviceId}/objecttracker/{objectTrackerId}

Delete a SD-Routing Object Tracker Feature for Service Feature Profile

def delete(service_id: str, object_tracker_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.service.objecttracker.delete()

Operation: GET /dataservice/v1/feature-profile/sd-routing/service/{serviceId}/objecttracker

@overload
def get(
    service_id: str,
) -> GetListSdRoutingServiceObjecttrackerPayload: ...

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.service.objecttracker.get()

Operation: GET /dataservice/v1/feature-profile/sd-routing/service/{serviceId}/objecttracker/{objectTrackerId}

@overload
def get(
    service_id: str, object_tracker_id: str
) -> GetSingleSdRoutingServiceObjecttrackerPayload: ...

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.service.objecttracker.get()