ManagementAgentProperty

class oci.management_agent.models.ManagementAgentProperty(**kwargs)

Bases: object

Property item in name/value pair, with optional unit type.

Attributes

UNITS_MB A constant which can be used with the units property of a ManagementAgentProperty.
UNITS_PERCENTAGE A constant which can be used with the units property of a ManagementAgentProperty.
name [Required] Gets the name of this ManagementAgentProperty.
units Gets the units of this ManagementAgentProperty.
values [Required] Gets the values of this ManagementAgentProperty.

Methods

__init__(**kwargs) Initializes a new ManagementAgentProperty object with values from keyword arguments.
UNITS_MB = 'MB'

A constant which can be used with the units property of a ManagementAgentProperty. This constant has a value of “MB”

UNITS_PERCENTAGE = 'PERCENTAGE'

A constant which can be used with the units property of a ManagementAgentProperty. This constant has a value of “PERCENTAGE”

__init__(**kwargs)

Initializes a new ManagementAgentProperty 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 ManagementAgentProperty.
  • values (list[str]) – The value to assign to the values property of this ManagementAgentProperty.
  • units (str) – The value to assign to the units property of this ManagementAgentProperty. Allowed values for this property are: “PERCENTAGE”, “MB”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
name

[Required] Gets the name of this ManagementAgentProperty. Name of the property

Returns:The name of this ManagementAgentProperty.
Return type:str
units

Gets the units of this ManagementAgentProperty. Unit for the property

Allowed values for this property are: “PERCENTAGE”, “MB”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The units of this ManagementAgentProperty.
Return type:str
values

[Required] Gets the values of this ManagementAgentProperty. Values of the property

Returns:The values of this ManagementAgentProperty.
Return type:list[str]