CreateDataSourceDetails¶
-
class
oci.cloud_guard.models.
CreateDataSourceDetails
(**kwargs)¶ Bases:
object
Parameters for creating a data source (DataSource resource).
Attributes
DATA_SOURCE_FEED_PROVIDER_LOGGINGQUERY
A constant which can be used with the data_source_feed_provider property of a CreateDataSourceDetails. DATA_SOURCE_FEED_PROVIDER_SCHEDULEDQUERY
A constant which can be used with the data_source_feed_provider property of a CreateDataSourceDetails. STATUS_DISABLED
A constant which can be used with the status property of a CreateDataSourceDetails. STATUS_ENABLED
A constant which can be used with the status property of a CreateDataSourceDetails. compartment_id
[Required] Gets the compartment_id of this CreateDataSourceDetails. data_source_details
Gets the data_source_details of this CreateDataSourceDetails. data_source_feed_provider
[Required] Gets the data_source_feed_provider of this CreateDataSourceDetails. defined_tags
Gets the defined_tags of this CreateDataSourceDetails. display_name
[Required] Gets the display_name of this CreateDataSourceDetails. freeform_tags
Gets the freeform_tags of this CreateDataSourceDetails. status
Gets the status of this CreateDataSourceDetails. Methods
__init__
(**kwargs)Initializes a new CreateDataSourceDetails object with values from keyword arguments. -
DATA_SOURCE_FEED_PROVIDER_LOGGINGQUERY
= 'LOGGINGQUERY'¶ A constant which can be used with the data_source_feed_provider property of a CreateDataSourceDetails. This constant has a value of “LOGGINGQUERY”
-
DATA_SOURCE_FEED_PROVIDER_SCHEDULEDQUERY
= 'SCHEDULEDQUERY'¶ A constant which can be used with the data_source_feed_provider property of a CreateDataSourceDetails. This constant has a value of “SCHEDULEDQUERY”
-
STATUS_DISABLED
= 'DISABLED'¶ A constant which can be used with the status property of a CreateDataSourceDetails. This constant has a value of “DISABLED”
-
STATUS_ENABLED
= 'ENABLED'¶ A constant which can be used with the status property of a CreateDataSourceDetails. This constant has a value of “ENABLED”
-
__init__
(**kwargs)¶ Initializes a new CreateDataSourceDetails 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 CreateDataSourceDetails.
- status (str) – The value to assign to the status property of this CreateDataSourceDetails. Allowed values for this property are: “ENABLED”, “DISABLED”
- compartment_id (str) – The value to assign to the compartment_id property of this CreateDataSourceDetails.
- data_source_feed_provider (str) – The value to assign to the data_source_feed_provider property of this CreateDataSourceDetails. Allowed values for this property are: “LOGGINGQUERY”, “SCHEDULEDQUERY”
- data_source_details (oci.cloud_guard.models.DataSourceDetails) – The value to assign to the data_source_details property of this CreateDataSourceDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDataSourceDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDataSourceDetails.
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateDataSourceDetails. Compartment OCID of the data source
Returns: The compartment_id of this CreateDataSourceDetails. Return type: str
-
data_source_details
¶ Gets the data_source_details of this CreateDataSourceDetails.
Returns: The data_source_details of this CreateDataSourceDetails. Return type: oci.cloud_guard.models.DataSourceDetails
-
data_source_feed_provider
¶ [Required] Gets the data_source_feed_provider of this CreateDataSourceDetails. Type of data source feed provider (LoggingQuery)
Allowed values for this property are: “LOGGINGQUERY”, “SCHEDULEDQUERY”
Returns: The data_source_feed_provider of this CreateDataSourceDetails. Return type: str
Gets the defined_tags of this CreateDataSourceDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this CreateDataSourceDetails. Return type: dict(str, dict(str, object))
-
display_name
¶ [Required] Gets the display_name of this CreateDataSourceDetails. Data source display name
Returns: The display_name of this CreateDataSourceDetails. Return type: str
Gets the freeform_tags of this CreateDataSourceDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Avoid entering confidential information.
Returns: The freeform_tags of this CreateDataSourceDetails. Return type: dict(str, str)
-
status
¶ Gets the status of this CreateDataSourceDetails. Enablement status of data source.
Allowed values for this property are: “ENABLED”, “DISABLED”
Returns: The status of this CreateDataSourceDetails. Return type: str
-