CreateStackDetails

class oci.dif.models.CreateStackDetails(**kwargs)

Bases: object

Details to create a Stack.

Attributes

SERVICES_ADB A constant which can be used with the services property of a CreateStackDetails.
SERVICES_DATAFLOW A constant which can be used with the services property of a CreateStackDetails.
SERVICES_GENAI A constant which can be used with the services property of a CreateStackDetails.
SERVICES_GGCS A constant which can be used with the services property of a CreateStackDetails.
SERVICES_OBJECTSTORAGE A constant which can be used with the services property of a CreateStackDetails.
STACK_TEMPLATES_AISERVICES A constant which can be used with the stack_templates property of a CreateStackDetails.
STACK_TEMPLATES_DATALAKE A constant which can be used with the stack_templates property of a CreateStackDetails.
STACK_TEMPLATES_DATAPIPELINE A constant which can be used with the stack_templates property of a CreateStackDetails.
STACK_TEMPLATES_DATATRANSFORMATION A constant which can be used with the stack_templates property of a CreateStackDetails.
adb Gets the adb of this CreateStackDetails.
compartment_id [Required] Gets the compartment_id of this CreateStackDetails.
dataflow Gets the dataflow of this CreateStackDetails.
defined_tags Gets the defined_tags of this CreateStackDetails.
display_name [Required] Gets the display_name of this CreateStackDetails.
freeform_tags Gets the freeform_tags of this CreateStackDetails.
genai Gets the genai of this CreateStackDetails.
ggcs Gets the ggcs of this CreateStackDetails.
notification_email Gets the notification_email of this CreateStackDetails.
objectstorage Gets the objectstorage of this CreateStackDetails.
services [Required] Gets the services of this CreateStackDetails.
stack_templates [Required] Gets the stack_templates of this CreateStackDetails.

Methods

__init__(**kwargs) Initializes a new CreateStackDetails object with values from keyword arguments.
SERVICES_ADB = 'ADB'

A constant which can be used with the services property of a CreateStackDetails. This constant has a value of “ADB”

SERVICES_DATAFLOW = 'DATAFLOW'

A constant which can be used with the services property of a CreateStackDetails. This constant has a value of “DATAFLOW”

SERVICES_GENAI = 'GENAI'

A constant which can be used with the services property of a CreateStackDetails. This constant has a value of “GENAI”

SERVICES_GGCS = 'GGCS'

A constant which can be used with the services property of a CreateStackDetails. This constant has a value of “GGCS”

SERVICES_OBJECTSTORAGE = 'OBJECTSTORAGE'

A constant which can be used with the services property of a CreateStackDetails. This constant has a value of “OBJECTSTORAGE”

STACK_TEMPLATES_AISERVICES = 'AISERVICES'

A constant which can be used with the stack_templates property of a CreateStackDetails. This constant has a value of “AISERVICES”

STACK_TEMPLATES_DATALAKE = 'DATALAKE'

A constant which can be used with the stack_templates property of a CreateStackDetails. This constant has a value of “DATALAKE”

STACK_TEMPLATES_DATAPIPELINE = 'DATAPIPELINE'

A constant which can be used with the stack_templates property of a CreateStackDetails. This constant has a value of “DATAPIPELINE”

STACK_TEMPLATES_DATATRANSFORMATION = 'DATATRANSFORMATION'

A constant which can be used with the stack_templates property of a CreateStackDetails. This constant has a value of “DATATRANSFORMATION”

__init__(**kwargs)

Initializes a new CreateStackDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this CreateStackDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateStackDetails.
  • notification_email (str) – The value to assign to the notification_email property of this CreateStackDetails.
  • stack_templates (list[str]) – The value to assign to the stack_templates property of this CreateStackDetails. Allowed values for items in this list are: “DATALAKE”, “DATAPIPELINE”, “AISERVICES”, “DATATRANSFORMATION”
  • services (list[str]) – The value to assign to the services property of this CreateStackDetails. Allowed values for items in this list are: “ADB”, “GGCS”, “OBJECTSTORAGE”, “GENAI”, “DATAFLOW”
  • adb (list[oci.dif.models.AdbDetail]) – The value to assign to the adb property of this CreateStackDetails.
  • ggcs (list[oci.dif.models.GgcsDetail]) – The value to assign to the ggcs property of this CreateStackDetails.
  • dataflow (list[oci.dif.models.DataflowDetail]) – The value to assign to the dataflow property of this CreateStackDetails.
  • objectstorage (list[oci.dif.models.ObjectStorageDetail]) – The value to assign to the objectstorage property of this CreateStackDetails.
  • genai (list[oci.dif.models.GenAiDetail]) – The value to assign to the genai property of this CreateStackDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateStackDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateStackDetails.
adb

Gets the adb of this CreateStackDetails. ADB details if adb is included in the services.

Returns:The adb of this CreateStackDetails.
Return type:list[oci.dif.models.AdbDetail]
compartment_id

[Required] Gets the compartment_id of this CreateStackDetails. The OCID of the compartment to create the Stack in.

Returns:The compartment_id of this CreateStackDetails.
Return type:str
dataflow

Gets the dataflow of this CreateStackDetails. DATAFLOW details if dataflow is included in the services.

Returns:The dataflow of this CreateStackDetails.
Return type:list[oci.dif.models.DataflowDetail]
defined_tags

Gets the defined_tags of this CreateStackDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this CreateStackDetails.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this CreateStackDetails. A user-friendly name. Should be unique per compartment. Avoid entering confidential information.

Returns:The display_name of this CreateStackDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateStackDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

Example: {“Department”: “Finance”}

Returns:The freeform_tags of this CreateStackDetails.
Return type:dict(str, str)
genai

Gets the genai of this CreateStackDetails. GenAi Details if genai is included in services.

Returns:The genai of this CreateStackDetails.
Return type:list[oci.dif.models.GenAiDetail]
ggcs

Gets the ggcs of this CreateStackDetails. GGCS details if ggcs is included in the services.

Returns:The ggcs of this CreateStackDetails.
Return type:list[oci.dif.models.GgcsDetail]
notification_email

Gets the notification_email of this CreateStackDetails. email id to which the stack notifications would be sent.

Returns:The notification_email of this CreateStackDetails.
Return type:str
objectstorage

Gets the objectstorage of this CreateStackDetails. Object Storage Details if object storage is included in services.

Returns:The objectstorage of this CreateStackDetails.
Return type:list[oci.dif.models.ObjectStorageDetail]
services

[Required] Gets the services of this CreateStackDetails. List of services to be onboarded for the stack.

Allowed values for items in this list are: “ADB”, “GGCS”, “OBJECTSTORAGE”, “GENAI”, “DATAFLOW”

Returns:The services of this CreateStackDetails.
Return type:list[str]
stack_templates

[Required] Gets the stack_templates of this CreateStackDetails. List of templates to be onboarded for the stack.

Allowed values for items in this list are: “DATALAKE”, “DATAPIPELINE”, “AISERVICES”, “DATATRANSFORMATION”

Returns:The stack_templates of this CreateStackDetails.
Return type:list[str]