Stack¶
-
class
oci.dif.models.Stack(**kwargs)¶ Bases:
objectA Stack is a collection of a templates and services.
To use any of the API operations, you must be authorized in an IAM policy. If you’re not authorized, talk to an administrator. If you’re an administrator who needs to write policies to give users access, see Getting Started with Policies.
Attributes
LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a Stack. LIFECYCLE_STATE_CREATINGA constant which can be used with the lifecycle_state property of a Stack. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a Stack. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a Stack. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a Stack. LIFECYCLE_STATE_NEEDS_ATTENTIONA constant which can be used with the lifecycle_state property of a Stack. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a Stack. SERVICES_ADBA constant which can be used with the services property of a Stack. SERVICES_DATAFLOWA constant which can be used with the services property of a Stack. SERVICES_GENAIA constant which can be used with the services property of a Stack. SERVICES_GGCSA constant which can be used with the services property of a Stack. SERVICES_OBJECTSTORAGEA constant which can be used with the services property of a Stack. STACK_TEMPLATES_AISERVICESA constant which can be used with the stack_templates property of a Stack. STACK_TEMPLATES_DATALAKEA constant which can be used with the stack_templates property of a Stack. STACK_TEMPLATES_DATAPIPELINEA constant which can be used with the stack_templates property of a Stack. STACK_TEMPLATES_DATATRANSFORMATIONA constant which can be used with the stack_templates property of a Stack. adbGets the adb of this Stack. compartment_id[Required] Gets the compartment_id of this Stack. dataflowGets the dataflow of this Stack. defined_tags[Required] Gets the defined_tags of this Stack. display_name[Required] Gets the display_name of this Stack. freeform_tags[Required] Gets the freeform_tags of this Stack. genaiGets the genai of this Stack. ggcsGets the ggcs of this Stack. id[Required] Gets the id of this Stack. lifecycle_detailsGets the lifecycle_details of this Stack. lifecycle_state[Required] Gets the lifecycle_state of this Stack. notification_emailGets the notification_email of this Stack. objectstorageGets the objectstorage of this Stack. service_detailsGets the service_details of this Stack. services[Required] Gets the services of this Stack. stack_templates[Required] Gets the stack_templates of this Stack. system_tagsGets the system_tags of this Stack. time_created[Required] Gets the time_created of this Stack. time_updatedGets the time_updated of this Stack. Methods
__init__(**kwargs)Initializes a new Stack object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a Stack. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a Stack. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a Stack. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a Stack. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a Stack. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_NEEDS_ATTENTION= 'NEEDS_ATTENTION'¶ A constant which can be used with the lifecycle_state property of a Stack. This constant has a value of “NEEDS_ATTENTION”
-
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a Stack. This constant has a value of “UPDATING”
-
SERVICES_ADB= 'ADB'¶ A constant which can be used with the services property of a Stack. This constant has a value of “ADB”
-
SERVICES_DATAFLOW= 'DATAFLOW'¶ A constant which can be used with the services property of a Stack. This constant has a value of “DATAFLOW”
-
SERVICES_GENAI= 'GENAI'¶ A constant which can be used with the services property of a Stack. This constant has a value of “GENAI”
-
SERVICES_GGCS= 'GGCS'¶ A constant which can be used with the services property of a Stack. This constant has a value of “GGCS”
-
SERVICES_OBJECTSTORAGE= 'OBJECTSTORAGE'¶ A constant which can be used with the services property of a Stack. This constant has a value of “OBJECTSTORAGE”
-
STACK_TEMPLATES_AISERVICES= 'AISERVICES'¶ A constant which can be used with the stack_templates property of a Stack. This constant has a value of “AISERVICES”
-
STACK_TEMPLATES_DATALAKE= 'DATALAKE'¶ A constant which can be used with the stack_templates property of a Stack. This constant has a value of “DATALAKE”
-
STACK_TEMPLATES_DATAPIPELINE= 'DATAPIPELINE'¶ A constant which can be used with the stack_templates property of a Stack. This constant has a value of “DATAPIPELINE”
-
STACK_TEMPLATES_DATATRANSFORMATION= 'DATATRANSFORMATION'¶ A constant which can be used with the stack_templates property of a Stack. This constant has a value of “DATATRANSFORMATION”
-
__init__(**kwargs)¶ Initializes a new Stack object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this Stack.
- display_name (str) – The value to assign to the display_name property of this Stack.
- compartment_id (str) – The value to assign to the compartment_id property of this Stack.
- notification_email (str) – The value to assign to the notification_email property of this Stack.
- stack_templates (list[str]) – The value to assign to the stack_templates property of this Stack. Allowed values for items in this list are: “DATALAKE”, “DATAPIPELINE”, “AISERVICES”, “DATATRANSFORMATION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- services (list[str]) – The value to assign to the services property of this Stack. Allowed values for items in this list are: “ADB”, “GGCS”, “OBJECTSTORAGE”, “GENAI”, “DATAFLOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- adb (list[oci.dif.models.AdbDetail]) – The value to assign to the adb property of this Stack.
- ggcs (list[oci.dif.models.GgcsDetail]) – The value to assign to the ggcs property of this Stack.
- dataflow (list[oci.dif.models.DataflowDetail]) – The value to assign to the dataflow property of this Stack.
- objectstorage (list[oci.dif.models.ObjectStorageDetail]) – The value to assign to the objectstorage property of this Stack.
- genai (list[oci.dif.models.GenAiDetail]) – The value to assign to the genai property of this Stack.
- service_details (list[oci.dif.models.ServiceDetailResponse]) – The value to assign to the service_details property of this Stack.
- time_created (datetime) – The value to assign to the time_created property of this Stack.
- time_updated (datetime) – The value to assign to the time_updated property of this Stack.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this Stack. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this Stack.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this Stack.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this Stack.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this Stack.
-
adb¶ Gets the adb of this Stack. ADB details if adb is included in the services.
Returns: The adb of this Stack. Return type: list[oci.dif.models.AdbDetail]
-
compartment_id¶ [Required] Gets the compartment_id of this Stack. The OCID of the compartment.
Returns: The compartment_id of this Stack. Return type: str
-
dataflow¶ Gets the dataflow of this Stack. DATAFLOW details if dataflow is included in the services.
Returns: The dataflow of this Stack. Return type: list[oci.dif.models.DataflowDetail]
[Required] Gets the defined_tags of this Stack. 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 Stack. Return type: dict(str, dict(str, object))
-
display_name¶ [Required] Gets the display_name of this Stack. A user-friendly name. Does not have to be unique, and it’s changeable.
Returns: The display_name of this Stack. Return type: str
[Required] Gets the freeform_tags of this Stack. 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 Stack. Return type: dict(str, str)
-
genai¶ Gets the genai of this Stack. GenAI Details if genai is included in services.
Returns: The genai of this Stack. Return type: list[oci.dif.models.GenAiDetail]
-
ggcs¶ Gets the ggcs of this Stack. GGCS details if ggcs is included in the services.
Returns: The ggcs of this Stack. Return type: list[oci.dif.models.GgcsDetail]
-
id¶ [Required] Gets the id of this Stack. The OCID of the Stack.
Returns: The id of this Stack. Return type: str
-
lifecycle_details¶ Gets the lifecycle_details of this Stack. A message that describes the current state of the Stack in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
Returns: The lifecycle_details of this Stack. Return type: str
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this Stack. The current state of the Stack.
Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this Stack. Return type: str
-
notification_email¶ Gets the notification_email of this Stack. email id to which the stack notifications would be sent.
Returns: The notification_email of this Stack. Return type: str
-
objectstorage¶ Gets the objectstorage of this Stack. Object Storage Details if object storage is included in services.
Returns: The objectstorage of this Stack. Return type: list[oci.dif.models.ObjectStorageDetail]
-
service_details¶ Gets the service_details of this Stack. Details of the service onboarded for the data intelligence stack.
Returns: The service_details of this Stack. Return type: list[oci.dif.models.ServiceDetailResponse]
-
services¶ [Required] Gets the services of this Stack. List of services to be onboarded for the stack.
Allowed values for items in this list are: “ADB”, “GGCS”, “OBJECTSTORAGE”, “GENAI”, “DATAFLOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The services of this Stack. Return type: list[str]
-
stack_templates¶ [Required] Gets the stack_templates of this Stack. List of templates to be onboarded for the stack.
Allowed values for items in this list are: “DATALAKE”, “DATAPIPELINE”, “AISERVICES”, “DATATRANSFORMATION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The stack_templates of this Stack. Return type: list[str]
Gets the system_tags of this Stack. System tags for this resource. Each key is predefined and scoped to a namespace.
Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this Stack. Return type: dict(str, dict(str, object))
-