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:
A constant which can be used with the lifecycle_state property of a Stack.
A constant which can be used with the lifecycle_state property of a Stack.
A constant which can be used with the lifecycle_state property of a Stack.
A constant which can be used with the lifecycle_state property of a Stack.
A constant which can be used with the lifecycle_state property of a Stack.
A constant which can be used with the lifecycle_state property of a Stack.
A constant which can be used with the lifecycle_state property of a Stack.
A constant which can be used with the services property of a Stack.
A constant which can be used with the services property of a Stack.
A constant which can be used with the services property of a Stack.
A constant which can be used with the services property of a Stack.
A constant which can be used with the services property of a Stack.
A constant which can be used with the services property of a Stack.
A constant which can be used with the services property of a Stack.
A constant which can be used with the services property of a Stack.
A constant which can be used with the stack_templates property of a Stack.
A constant which can be used with the stack_templates property of a Stack.
A constant which can be used with the stack_templates property of a Stack.
A constant which can be used with the stack_templates property of a Stack.
A constant which can be used with the stack_templates property of a Stack.
Gets the adb of this Stack.
Gets the aidataplatform of this Stack.
[Required] Gets the compartment_id of this Stack.
Gets the dataflow of this Stack.
[Required] Gets the defined_tags of this Stack.
[Required] Gets the display_name of this Stack.
[Required] Gets the freeform_tags of this Stack.
Gets the genai of this Stack.
Gets the ggcs of this Stack.
[Required] Gets the id of this Stack.
Gets the lifecycle_details of this Stack.
[Required] Gets the lifecycle_state of this Stack.
Gets the notification_email of this Stack.
Gets the objectstorage of this Stack.
Gets the oke of this Stack.
Gets the omk of this Stack.
Gets the service_details of this Stack.
[Required] Gets the services of this Stack.
[Required] Gets the stack_templates of this Stack.
Gets the system_tags of this Stack.
[Required] Gets the time_created of this Stack.
Gets 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_AIDATAPLATFORM = 'AIDATAPLATFORM'¶
A constant which can be used with the services property of a Stack. This constant has a value of “AIDATAPLATFORM”
- 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”
- SERVICES_OKE = 'OKE'¶
A constant which can be used with the services property of a Stack. This constant has a value of “OKE”
- SERVICES_OMK = 'OMK'¶
A constant which can be used with the services property of a Stack. This constant has a value of “OMK”
- 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”
- STACK_TEMPLATES_DEVOPSTOOLKIT = 'DEVOPSTOOLKIT'¶
A constant which can be used with the stack_templates property of a Stack. This constant has a value of “DEVOPSTOOLKIT”
- __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”, “DEVOPSTOOLKIT”, ‘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”, “AIDATAPLATFORM”, “OMK”, “OKE”, ‘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.
aidataplatform (list[oci.dif.models.AiDataPlatformDetail]) – The value to assign to the aidataplatform property of this Stack.
omk (list[oci.dif.models.OmkDetail]) – The value to assign to the omk property of this Stack.
oke (list[oci.dif.models.OkeDetail]) – The value to assign to the oke 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.
- property 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]
- property aidataplatform¶
Gets the aidataplatform of this Stack. AI Data Platform Details if aidataplatform is included in services.
- Returns
The aidataplatform of this Stack.
- Return type
- property 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
- property dataflow¶
Gets the dataflow of this Stack. DATAFLOW details if dataflow is included in the services.
- Returns
The dataflow of this Stack.
- Return type
- property defined_tags¶
[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))
- property 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
- property freeform_tags¶
[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)
- property genai¶
Gets the genai of this Stack. GenAI Details if genai is included in services.
- Returns
The genai of this Stack.
- Return type
- property ggcs¶
Gets the ggcs of this Stack. GGCS details if ggcs is included in the services.
- Returns
The ggcs of this Stack.
- Return type
- property id¶
[Required] Gets the id of this Stack. The OCID of the Stack.
- Returns
The id of this Stack.
- Return type
str
- property 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
- property 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
- property 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
- property 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
- property oke¶
Gets the oke of this Stack. OKE Details if oke is included in services.
- Returns
The oke of this Stack.
- Return type
list[oci.dif.models.OkeDetail]
- property omk¶
Gets the omk of this Stack. OMK Details if omk is included in services.
- Returns
The omk of this Stack.
- Return type
list[oci.dif.models.OmkDetail]
- property 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
- property 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”, “AIDATAPLATFORM”, “OMK”, “OKE”, ‘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]
- property 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”, “DEVOPSTOOLKIT”, ‘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]
- property system_tags¶
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))