============================
featurecertificate.devicecsr
============================
Operation: GET /dataservice/featurecertificate/devicecsr
--------------------------------------------------------
Get CSR from cEdge device
Note: In a multitenant vManage system, this API is only available in the Provider and Provider-As-Tenant view.
.. code:: python
def get(device_id: str) -> Any: ...
Example:
^^^^^^^^
.. code:: python
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.featurecertificate.devicecsr.get()
Operation: PUT /dataservice/featurecertificate/devicecsr
--------------------------------------------------------
Create CSR for cEdge device
Note: In a multitenant vManage system, this API is only available in the Provider and Provider-As-Tenant view.
.. code:: python
def put(payload: Any) -> Any: ...
Example:
^^^^^^^^
.. code:: python
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.featurecertificate.devicecsr.put()