Skip to content

/AWS1/CL_PRN=>CREATEENVIRONMENTTEMPLATE()

About CreateEnvironmentTemplate

Create an environment template for Proton. For more information, see Environment Templates in the Proton User Guide.

You can create an environment template in one of the two following ways:

  • Register and publish a standard environment template that instructs Proton to deploy and manage environment infrastructure.

  • Register and publish a customer managed environment template that connects Proton to your existing provisioned infrastructure that you manage. Proton doesn't manage your existing provisioned infrastructure. To create an environment template for customer provisioned and managed infrastructure, include the provisioning parameter and set the value to CUSTOMER_MANAGED. For more information, see Register and publish an environment template in the Proton User Guide.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/PRNRESOURCENAME /AWS1/PRNRESOURCENAME

The name of the environment template.

Optional arguments:

IV_DISPLAYNAME TYPE /AWS1/PRNDISPLAYNAME /AWS1/PRNDISPLAYNAME

The environment template name as displayed in the developer interface.

IV_DESCRIPTION TYPE /AWS1/PRNDESCRIPTION /AWS1/PRNDESCRIPTION

A description of the environment template.

IV_ENCRYPTIONKEY TYPE /AWS1/PRNARN /AWS1/PRNARN

A customer provided encryption key that Proton uses to encrypt data.

IV_PROVISIONING TYPE /AWS1/PRNPROVISIONING /AWS1/PRNPROVISIONING

When included, indicates that the environment template is for customer provisioned and managed infrastructure.

IT_TAGS TYPE /AWS1/CL_PRNTAG=>TT_TAGLIST TT_TAGLIST

An optional list of metadata items that you can associate with the Proton environment template. A tag is a key-value pair.

For more information, see Proton resources and tagging in the Proton User Guide.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_PRNCREENVIRONMENTTM01 /AWS1/CL_PRNCREENVIRONMENTTM01