RequestJfrRecordingsDetails

class oci.jms.models.RequestJfrRecordingsDetails(**kwargs)

Bases: object

Details of the request to start JFR recordings. When the targets aren’t specified, then all managed instances currently in the Fleet are selected.

Methods:

__init__(**kwargs)

Initializes a new RequestJfrRecordingsDetails object with values from keyword arguments.

Attributes:

jfc_profile_name

[Required] Gets the jfc_profile_name of this RequestJfrRecordingsDetails.

jfc_v1

Gets the jfc_v1 of this RequestJfrRecordingsDetails.

jfc_v2

Gets the jfc_v2 of this RequestJfrRecordingsDetails.

recording_duration_in_minutes

Gets the recording_duration_in_minutes of this RequestJfrRecordingsDetails.

recording_size_in_mb

Gets the recording_size_in_mb of this RequestJfrRecordingsDetails.

targets

Gets the targets of this RequestJfrRecordingsDetails.

waiting_period_in_minutes

Gets the waiting_period_in_minutes of this RequestJfrRecordingsDetails.

__init__(**kwargs)

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

Parameters
  • targets (list[oci.jms.models.JfrAttachmentTarget]) – The value to assign to the targets property of this RequestJfrRecordingsDetails.

  • jfc_profile_name (str) – The value to assign to the jfc_profile_name property of this RequestJfrRecordingsDetails.

  • jfc_v1 (str) – The value to assign to the jfc_v1 property of this RequestJfrRecordingsDetails.

  • jfc_v2 (str) – The value to assign to the jfc_v2 property of this RequestJfrRecordingsDetails.

  • recording_duration_in_minutes (int) – The value to assign to the recording_duration_in_minutes property of this RequestJfrRecordingsDetails.

  • recording_size_in_mb (int) – The value to assign to the recording_size_in_mb property of this RequestJfrRecordingsDetails.

  • waiting_period_in_minutes (int) – The value to assign to the waiting_period_in_minutes property of this RequestJfrRecordingsDetails.

property jfc_profile_name

[Required] Gets the jfc_profile_name of this RequestJfrRecordingsDetails. The profile used for JFR events selection. If the name isn’t recognized, the settings from jfcV1 or jfcV2 will be used depending on the JVM version. Both jfcV2 and jfcV1 should be provided to ensure JFR collection on different JVM versions.

Returns

The jfc_profile_name of this RequestJfrRecordingsDetails.

Return type

str

property jfc_v1

Gets the jfc_v1 of this RequestJfrRecordingsDetails. The BASE64 encoded string of JFR settings XML with schema used by JDK 8.

Returns

The jfc_v1 of this RequestJfrRecordingsDetails.

Return type

str

property jfc_v2

Gets the jfc_v2 of this RequestJfrRecordingsDetails. The BASE64 encoded string of JFR settings XML with schema used by JDK 9 and after.

Returns

The jfc_v2 of this RequestJfrRecordingsDetails.

Return type

str

property recording_duration_in_minutes

Gets the recording_duration_in_minutes of this RequestJfrRecordingsDetails. Duration of the JFR recording in minutes.

Returns

The recording_duration_in_minutes of this RequestJfrRecordingsDetails.

Return type

int

property recording_size_in_mb

Gets the recording_size_in_mb of this RequestJfrRecordingsDetails. The maximum size limit for the JFR file collected.

Returns

The recording_size_in_mb of this RequestJfrRecordingsDetails.

Return type

int

property targets

Gets the targets of this RequestJfrRecordingsDetails. The attachment targets to start JFR.

Returns

The targets of this RequestJfrRecordingsDetails.

Return type

list[oci.jms.models.JfrAttachmentTarget]

property waiting_period_in_minutes

Gets the waiting_period_in_minutes of this RequestJfrRecordingsDetails. Period to looking for JVMs. In addition to attach to running JVMs when given the command, JVM started within the waiting period will also be attached for JFR. The value should be larger than the agent polling interval setting for the fleet to ensure agent can get the instructions. If not specified, the agent polling interval for the fleet is used.

Returns

The waiting_period_in_minutes of this RequestJfrRecordingsDetails.

Return type

int