DataKey

class oci.apm_control_plane.models.DataKey(**kwargs)

Bases: object

The information about a Data Key, including the Data Key’s value.

Attributes:

TYPE_PRIVATE

A constant which can be used with the type property of a DataKey.

TYPE_PUBLIC

A constant which can be used with the type property of a DataKey.

name

[Required] Gets the name of this DataKey.

type

[Required] Gets the type of this DataKey.

value

Gets the value of this DataKey.

Methods:

__init__(**kwargs)

Initializes a new DataKey object with values from keyword arguments.

TYPE_PRIVATE = 'PRIVATE'

A constant which can be used with the type property of a DataKey. This constant has a value of “PRIVATE”

TYPE_PUBLIC = 'PUBLIC'

A constant which can be used with the type property of a DataKey. This constant has a value of “PUBLIC”

__init__(**kwargs)

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

Parameters
  • value (str) – The value to assign to the value property of this DataKey.

  • name (str) – The value to assign to the name property of this DataKey.

  • type (str) – The value to assign to the type property of this DataKey. Allowed values for this property are: “PRIVATE”, “PUBLIC”

property name

[Required] Gets the name of this DataKey. Name of the Data Key. The name uniquely identifies a Data Key within an APM domain.

Returns

The name of this DataKey.

Return type

str

property type

[Required] Gets the type of this DataKey. Type of the Data Key.

Allowed values for this property are: “PRIVATE”, “PUBLIC”

Returns

The type of this DataKey.

Return type

str

property value

Gets the value of this DataKey. Value of the Data Key.

Returns

The value of this DataKey.

Return type

str