UpdateDataSourceDetails

class oci.cloud_guard.models.UpdateDataSourceDetails(**kwargs)

Bases: object

Parameters to update a data source.

Attributes:

STATUS_DISABLED

A constant which can be used with the status property of a UpdateDataSourceDetails.

STATUS_ENABLED

A constant which can be used with the status property of a UpdateDataSourceDetails.

data_source_details

Gets the data_source_details of this UpdateDataSourceDetails.

defined_tags

Gets the defined_tags of this UpdateDataSourceDetails.

display_name

Gets the display_name of this UpdateDataSourceDetails.

freeform_tags

Gets the freeform_tags of this UpdateDataSourceDetails.

status

Gets the status of this UpdateDataSourceDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdateDataSourceDetails object with values from keyword arguments.

STATUS_DISABLED = 'DISABLED'

A constant which can be used with the status property of a UpdateDataSourceDetails. This constant has a value of “DISABLED”

STATUS_ENABLED = 'ENABLED'

A constant which can be used with the status property of a UpdateDataSourceDetails. This constant has a value of “ENABLED”

__init__(**kwargs)

Initializes a new UpdateDataSourceDetails 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 UpdateDataSourceDetails.

  • status (str) – The value to assign to the status property of this UpdateDataSourceDetails. Allowed values for this property are: “ENABLED”, “DISABLED”

  • data_source_details (oci.cloud_guard.models.DataSourceDetails) – The value to assign to the data_source_details property of this UpdateDataSourceDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateDataSourceDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateDataSourceDetails.

property data_source_details

Gets the data_source_details of this UpdateDataSourceDetails.

Returns

The data_source_details of this UpdateDataSourceDetails.

Return type

oci.cloud_guard.models.DataSourceDetails

property defined_tags

Gets the defined_tags of this UpdateDataSourceDetails. 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 UpdateDataSourceDetails.

Return type

dict(str, dict(str, object))

property display_name

Gets the display_name of this UpdateDataSourceDetails. Display name for data source

Returns

The display_name of this UpdateDataSourceDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this UpdateDataSourceDetails. 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 UpdateDataSourceDetails.

Return type

dict(str, str)

property status

Gets the status of this UpdateDataSourceDetails. Enablement status of data source

Allowed values for this property are: “ENABLED”, “DISABLED”

Returns

The status of this UpdateDataSourceDetails.

Return type

str