All URIs are relative to /
Method | HTTP request | Description |
---|---|---|
create_spm_application1 | POST /spm-reports/api/v3/apps | Create Monitoring App |
AppsResponse create_spm_application1(body)
Create Monitoring App
from __future__ import print_function
import time
import stcloud
from stcloud.rest import ApiException
from pprint import pprint
# Configure API key authorization: api_key
configuration = stcloud.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = stcloud.MonitoringAppApi(stcloud.ApiClient(configuration))
body = stcloud.CreateAppInfo() # CreateAppInfo | Details of the application to be created
try:
# Create Monitoring App
api_response = api_instance.create_spm_application1(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling MonitoringAppApi->create_spm_application1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | CreateAppInfo | Details of the application to be created |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]