Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace CreateCompartmentConfigSourceDetails

Creation details for a configuration source based on the specified compartment.

Properties

compartmentId

compartmentId: string

The OCID of the compartment to use for creating the stack. The new stack will include definitions for supported resource types in scope of the specified compartment OCID (tenancy level for root compartment, compartment level otherwise).

Const configSourceType

configSourceType: string = "COMPARTMENT_CONFIG_SOURCE"

region

region: string

The region to use for creating the stack. The new stack will include definitions for supported resource types in this region.

Optional servicesToDiscover

servicesToDiscover: Array<string>

Filter for services to use with Resource Discovery. For example, "database" limits resource discovery to resource types within the Database service. The specified services must be in scope of the given compartment OCID (tenancy level for root compartment, compartment level otherwise). If not specified, then all services at the scope of the given compartment OCID are used.

Optional workingDirectory

workingDirectory: undefined | string

File path to the directory to use for running Terraform. If not specified, the root directory is used. Required when using a zip Terraform configuration ({@code configSourceType} value of {@code ZIP_UPLOAD}) that contains folders. Ignored for the {@code configSourceType} value of {@code COMPARTMENT_CONFIG_SOURCE}. For more information about required and recommended file structure, see File Structure (Terraform Configurations for Resource Manager).

Methods

getDeserializedJsonObj

getJsonObj