All URIs are relative to /
Method | HTTP request | Description |
---|---|---|
create_logsene_application | POST /logsene-reports/api/v3/apps | Create Logs App |
AppsResponse create_logsene_application(body)
Create Logs 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.LogsAppApi(stcloud.ApiClient(configuration))
body = stcloud.CreateAppInfo() # CreateAppInfo | Details of the application to be created
try:
# Create Logs App
api_response = api_instance.create_logsene_application(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling LogsAppApi->create_logsene_application: %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]