EventContent

class oci.os_management.models.EventContent(**kwargs)

Bases: object

Information about the data collected as a ZIP file when the event occurred.

Attributes

CONTENT_AVAILABILITY_AVAILABLE_ON_INSTANCE A constant which can be used with the content_availability property of a EventContent.
CONTENT_AVAILABILITY_AVAILABLE_ON_INSTANCE_AND_SERVICE A constant which can be used with the content_availability property of a EventContent.
CONTENT_AVAILABILITY_AVAILABLE_ON_INSTANCE_UPLOAD_IN_PROGRESS A constant which can be used with the content_availability property of a EventContent.
CONTENT_AVAILABILITY_AVAILABLE_ON_SERVICE A constant which can be used with the content_availability property of a EventContent.
CONTENT_AVAILABILITY_NOT_AVAILABLE A constant which can be used with the content_availability property of a EventContent.
content_availability Gets the content_availability of this EventContent.
instance_path Gets the instance_path of this EventContent.
size Gets the size of this EventContent.

Methods

__init__(**kwargs) Initializes a new EventContent object with values from keyword arguments.
CONTENT_AVAILABILITY_AVAILABLE_ON_INSTANCE = 'AVAILABLE_ON_INSTANCE'

A constant which can be used with the content_availability property of a EventContent. This constant has a value of “AVAILABLE_ON_INSTANCE”

CONTENT_AVAILABILITY_AVAILABLE_ON_INSTANCE_AND_SERVICE = 'AVAILABLE_ON_INSTANCE_AND_SERVICE'

A constant which can be used with the content_availability property of a EventContent. This constant has a value of “AVAILABLE_ON_INSTANCE_AND_SERVICE”

CONTENT_AVAILABILITY_AVAILABLE_ON_INSTANCE_UPLOAD_IN_PROGRESS = 'AVAILABLE_ON_INSTANCE_UPLOAD_IN_PROGRESS'

A constant which can be used with the content_availability property of a EventContent. This constant has a value of “AVAILABLE_ON_INSTANCE_UPLOAD_IN_PROGRESS”

CONTENT_AVAILABILITY_AVAILABLE_ON_SERVICE = 'AVAILABLE_ON_SERVICE'

A constant which can be used with the content_availability property of a EventContent. This constant has a value of “AVAILABLE_ON_SERVICE”

CONTENT_AVAILABILITY_NOT_AVAILABLE = 'NOT_AVAILABLE'

A constant which can be used with the content_availability property of a EventContent. This constant has a value of “NOT_AVAILABLE”

__init__(**kwargs)

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

Parameters:
  • content_availability (str) – The value to assign to the content_availability property of this EventContent. Allowed values for this property are: “NOT_AVAILABLE”, “AVAILABLE_ON_INSTANCE”, “AVAILABLE_ON_SERVICE”, “AVAILABLE_ON_INSTANCE_AND_SERVICE”, “AVAILABLE_ON_INSTANCE_UPLOAD_IN_PROGRESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • instance_path (str) – The value to assign to the instance_path property of this EventContent.
  • size (int) – The value to assign to the size property of this EventContent.
content_availability

Gets the content_availability of this EventContent. Status of the event content

Allowed values for this property are: “NOT_AVAILABLE”, “AVAILABLE_ON_INSTANCE”, “AVAILABLE_ON_SERVICE”, “AVAILABLE_ON_INSTANCE_AND_SERVICE”, “AVAILABLE_ON_INSTANCE_UPLOAD_IN_PROGRESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The content_availability of this EventContent.
Return type:str
instance_path

Gets the instance_path of this EventContent. Path to the event content on the instance

Returns:The instance_path of this EventContent.
Return type:str
size

Gets the size of this EventContent. size in bytes of the event content (size of the zip file uploaded)

Returns:The size of this EventContent.
Return type:int