v1.feature_profile.sd_routing.transport

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

Create a SD-Routing Transport Feature Profile

def post(
    payload: CreateSdroutingTransportFeatureProfilePostRequest,
) -> CreateSdroutingTransportFeatureProfilePostResponse: ...

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

Operation: PUT /dataservice/v1/feature-profile/sd-routing/transport/{transportId}

Edit a SD-Routing Transport Feature Profile

def put(
    transport_id: str,
    payload: EditSdroutingTransportFeatureProfilePutRequest,
) -> EditSdroutingTransportFeatureProfilePutResponse: ...

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

Operation: DELETE /dataservice/v1/feature-profile/sd-routing/transport/{transportId}

Delete a SD-Routing Transport Feature Profile

def delete(transport_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.transport.delete()

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

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

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

Operation: GET /dataservice/v1/feature-profile/sd-routing/transport/{transportId}

@overload
def get(transport_id: str) -> GetSingleSdRoutingTransportPayload: ...

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