All URIs are relative to https://localhost:8180/v1
Method | HTTP request | Description |
---|---|---|
deploy_tosca_template | POST /tosca | Deploys a Tosca template. |
ResourceGroup deploy_tosca_template(body)
Deploys a Tosca template.
The TOSCA template defines VDUs, Networks and the PoPs where to allocate the virtual resources
from __future__ import print_statement
import time
import epm_client
from epm_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = epm_client.TOSCAApi()
body = 'body_example' # str | TOSCA formatted template
try:
# Deploys a Tosca template.
api_response = api_instance.deploy_tosca_template(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling TOSCAApi->deploy_tosca_template: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | str | TOSCA formatted template |
No authorization required
- Content-Type: text/yaml
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]