Skip to content
Get started

Fetch in-depth information about a single SLA

slas.retrieve(strurn) -> SlaRetrieveResponse
GET/v1/slas/{urn}

Fetch in-depth information about a single SLA

ParametersExpand Collapse
urn: str
ReturnsExpand Collapse
class SlaRetrieveResponse:
description: str

A description of the SLA

name: str

The name of the SLA

urn: str

A unique identifier for the SLA

vendor_urn: str

A unique identifier for the vendor associated with the SLA

Fetch in-depth information about a single SLA

import os
from clarative import Clarative

client = Clarative(
    api_key=os.environ.get("CLARATIVE_API_KEY"),  # This is the default and can be omitted
)
sla = client.slas.retrieve(
    "urn",
)
print(sla.description)
{
  "description": "description",
  "name": "name",
  "urn": "urn",
  "vendor_urn": "vendor_urn"
}
Returns Examples
{
  "description": "description",
  "name": "name",
  "urn": "urn",
  "vendor_urn": "vendor_urn"
}