DeploymentDiagnosticData

class oci.golden_gate.models.DeploymentDiagnosticData(**kwargs)

Bases: object

Information regarding the deployment diagnostic collection

Attributes:

DIAGNOSTIC_STATE_FAILED

A constant which can be used with the diagnostic_state property of a DeploymentDiagnosticData.

DIAGNOSTIC_STATE_IN_PROGRESS

A constant which can be used with the diagnostic_state property of a DeploymentDiagnosticData.

DIAGNOSTIC_STATE_SUCCEEDED

A constant which can be used with the diagnostic_state property of a DeploymentDiagnosticData.

bucket_name

[Required] Gets the bucket_name of this DeploymentDiagnosticData.

diagnostic_state

[Required] Gets the diagnostic_state of this DeploymentDiagnosticData.

namespace_name

[Required] Gets the namespace_name of this DeploymentDiagnosticData.

object_name

[Required] Gets the object_name of this DeploymentDiagnosticData.

time_diagnostic_end

Gets the time_diagnostic_end of this DeploymentDiagnosticData.

time_diagnostic_start

Gets the time_diagnostic_start of this DeploymentDiagnosticData.

Methods:

__init__(**kwargs)

Initializes a new DeploymentDiagnosticData object with values from keyword arguments.

DIAGNOSTIC_STATE_FAILED = 'FAILED'

A constant which can be used with the diagnostic_state property of a DeploymentDiagnosticData. This constant has a value of “FAILED”

DIAGNOSTIC_STATE_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the diagnostic_state property of a DeploymentDiagnosticData. This constant has a value of “IN_PROGRESS”

DIAGNOSTIC_STATE_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the diagnostic_state property of a DeploymentDiagnosticData. This constant has a value of “SUCCEEDED”

__init__(**kwargs)

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

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

  • bucket_name (str) – The value to assign to the bucket_name property of this DeploymentDiagnosticData.

  • object_name (str) – The value to assign to the object_name property of this DeploymentDiagnosticData.

  • diagnostic_state (str) – The value to assign to the diagnostic_state property of this DeploymentDiagnosticData. Allowed values for this property are: “IN_PROGRESS”, “SUCCEEDED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • time_diagnostic_start (datetime) – The value to assign to the time_diagnostic_start property of this DeploymentDiagnosticData.

  • time_diagnostic_end (datetime) – The value to assign to the time_diagnostic_end property of this DeploymentDiagnosticData.

property bucket_name

[Required] Gets the bucket_name of this DeploymentDiagnosticData. Name of the bucket where the object is to be uploaded in the object storage

Returns

The bucket_name of this DeploymentDiagnosticData.

Return type

str

property diagnostic_state

[Required] Gets the diagnostic_state of this DeploymentDiagnosticData. The state of the deployment diagnostic collection.

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

Returns

The diagnostic_state of this DeploymentDiagnosticData.

Return type

str

property namespace_name

[Required] Gets the namespace_name of this DeploymentDiagnosticData. Name of namespace that serves as a container for all of your buckets

Returns

The namespace_name of this DeploymentDiagnosticData.

Return type

str

property object_name

[Required] Gets the object_name of this DeploymentDiagnosticData. Name of the diagnostic collected and uploaded to object storage

Returns

The object_name of this DeploymentDiagnosticData.

Return type

str

property time_diagnostic_end

Gets the time_diagnostic_end of this DeploymentDiagnosticData. The time until which the diagnostic collection should collect the logs. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

Returns

The time_diagnostic_end of this DeploymentDiagnosticData.

Return type

datetime

property time_diagnostic_start

Gets the time_diagnostic_start of this DeploymentDiagnosticData. The time from which the diagnostic collection should collect the logs. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

Returns

The time_diagnostic_start of this DeploymentDiagnosticData.

Return type

datetime