Add an App to a Blueprint

Description: Add an app to an existing blueprint.

Signature: add_app(topology_name, topology_app)

Parameters:

Name

Direction

Required

Description

topology_name

In

Yes

The name of the blueprint

topology_app

In

Yes

Python object (TopologyApp) that defines the properties of the desired App to add

Notes:
  • To set the App's properties, you can initialize the TopologyApp object and set the App's properties as they appear in CloudShell Portal's Apps management page, or load (into your API code) a blueprint package that contains the desired App to get the App’s context.
  • To specify the App's image, enter the full path to the image. For example:

    apps[0].appResource.imagePath = "C:\\Users\\ofir.v\\Pictures\\josh-nuttall-XVTWFHcNIko-unsplash.jpg"

Sample:

packageEditor.add_app('TestTopology', topologyAppPythonObject)