v1.feature_profile.nfvirtual.cli

Operation: POST /dataservice/v1/feature-profile/nfvirtual/cli

Create a Nfvirtual CLI Feature Profile

def post(
    payload: CreateNfvirtualCliFeatureProfilePostRequest,
) -> CreateNfvirtualCliFeatureProfilePostResponse: ...

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

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

Edit a Nfvirtual CLI Feature Profile

def put(
    cli_id: str, payload: EditNfvirtualCliFeatureProfilePutRequest
) -> EditNfvirtualCliFeatureProfilePutResponse: ...

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

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

Delete nfvirtual 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.nfvirtual.cli.delete()

Operation: GET /dataservice/v1/feature-profile/nfvirtual/cli

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

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

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

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

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