Parameter

class oci.logging.models.Parameter(**kwargs)

Bases: object

Parameters that a resource category supports.

Attributes:

TYPE_BOOLEAN

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

TYPE_INTEGER

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

TYPE_STRING

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

name

[Required] Gets the name of this Parameter.

pattern

Gets the pattern of this Parameter.

type

[Required] Gets the type of this Parameter.

Methods:

__init__(**kwargs)

Initializes a new Parameter object with values from keyword arguments.

TYPE_BOOLEAN = 'boolean'

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

TYPE_INTEGER = 'integer'

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

TYPE_STRING = 'string'

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

__init__(**kwargs)

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

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

  • type (str) – The value to assign to the type property of this Parameter. Allowed values for this property are: “integer”, “string”, “boolean”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • pattern (str) – The value to assign to the pattern property of this Parameter.

property name

[Required] Gets the name of this Parameter. Parameter name.

Returns

The name of this Parameter.

Return type

str

property pattern

Gets the pattern of this Parameter. Java regex pattern to validate a parameter value.

Returns

The pattern of this Parameter.

Return type

str

property type

[Required] Gets the type of this Parameter. Allowed values for this property are: “integer”, “string”, “boolean”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The type of this Parameter.

Return type

str