CustomerInstanceReportExport

class oci.marketplace_publisher.models.CustomerInstanceReportExport(**kwargs)

Bases: object

The model for a Customer Instance Report export.

Attributes:

LIFECYCLE_STATE_ACCEPTED

A constant which can be used with the lifecycle_state property of a CustomerInstanceReportExport.

LIFECYCLE_STATE_CANCELED

A constant which can be used with the lifecycle_state property of a CustomerInstanceReportExport.

LIFECYCLE_STATE_CANCELING

A constant which can be used with the lifecycle_state property of a CustomerInstanceReportExport.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a CustomerInstanceReportExport.

LIFECYCLE_STATE_IN_PROGRESS

A constant which can be used with the lifecycle_state property of a CustomerInstanceReportExport.

LIFECYCLE_STATE_NEEDS_ATTENTION

A constant which can be used with the lifecycle_state property of a CustomerInstanceReportExport.

LIFECYCLE_STATE_SUCCEEDED

A constant which can be used with the lifecycle_state property of a CustomerInstanceReportExport.

LIFECYCLE_STATE_WAITING

A constant which can be used with the lifecycle_state property of a CustomerInstanceReportExport.

SORT_BY_INSTANCE_ID

A constant which can be used with the sort_by property of a CustomerInstanceReportExport.

SORT_ORDER_ASC

A constant which can be used with the sort_order property of a CustomerInstanceReportExport.

SORT_ORDER_DESC

A constant which can be used with the sort_order property of a CustomerInstanceReportExport.

STATUS_DISABLED

A constant which can be used with the status property of a CustomerInstanceReportExport.

STATUS_PROVISIONING

A constant which can be used with the status property of a CustomerInstanceReportExport.

STATUS_RUNNING

A constant which can be used with the status property of a CustomerInstanceReportExport.

STATUS_SNAPSHOTTING

A constant which can be used with the status property of a CustomerInstanceReportExport.

STATUS_STARTING

A constant which can be used with the status property of a CustomerInstanceReportExport.

STATUS_STOPPED

A constant which can be used with the status property of a CustomerInstanceReportExport.

STATUS_STOPPING

A constant which can be used with the status property of a CustomerInstanceReportExport.

STATUS_TERMINATED

A constant which can be used with the status property of a CustomerInstanceReportExport.

STATUS_TERMINATING

A constant which can be used with the status property of a CustomerInstanceReportExport.

compartment_id

[Required] Gets the compartment_id of this CustomerInstanceReportExport.

defined_tags

Gets the defined_tags of this CustomerInstanceReportExport.

file_name

Gets the file_name of this CustomerInstanceReportExport.

freeform_tags

Gets the freeform_tags of this CustomerInstanceReportExport.

id

[Required] Gets the id of this CustomerInstanceReportExport.

instance_id

Gets the instance_id of this CustomerInstanceReportExport.

lifecycle_state

[Required] Gets the lifecycle_state of this CustomerInstanceReportExport.

listing_id

Gets the listing_id of this CustomerInstanceReportExport.

name

Gets the name of this CustomerInstanceReportExport.

package_version

Gets the package_version of this CustomerInstanceReportExport.

realm

Gets the realm of this CustomerInstanceReportExport.

region

Gets the region of this CustomerInstanceReportExport.

shape

Gets the shape of this CustomerInstanceReportExport.

sort_by

Gets the sort_by of this CustomerInstanceReportExport.

sort_order

Gets the sort_order of this CustomerInstanceReportExport.

status

Gets the status of this CustomerInstanceReportExport.

system_tags

Gets the system_tags of this CustomerInstanceReportExport.

tenant_admin_domain

Gets the tenant_admin_domain of this CustomerInstanceReportExport.

time_created

[Required] Gets the time_created of this CustomerInstanceReportExport.

time_expires

Gets the time_expires of this CustomerInstanceReportExport.

time_instance_creation_from_date

Gets the time_instance_creation_from_date of this CustomerInstanceReportExport.

time_instance_creation_to_date

Gets the time_instance_creation_to_date of this CustomerInstanceReportExport.

time_instance_termination_from_date

Gets the time_instance_termination_from_date of this CustomerInstanceReportExport.

time_instance_termination_to_date

Gets the time_instance_termination_to_date of this CustomerInstanceReportExport.

work_request_id

Gets the work_request_id of this CustomerInstanceReportExport.

Methods:

__init__(**kwargs)

Initializes a new CustomerInstanceReportExport object with values from keyword arguments.

LIFECYCLE_STATE_ACCEPTED = 'ACCEPTED'

A constant which can be used with the lifecycle_state property of a CustomerInstanceReportExport. This constant has a value of “ACCEPTED”

LIFECYCLE_STATE_CANCELED = 'CANCELED'

A constant which can be used with the lifecycle_state property of a CustomerInstanceReportExport. This constant has a value of “CANCELED”

LIFECYCLE_STATE_CANCELING = 'CANCELING'

A constant which can be used with the lifecycle_state property of a CustomerInstanceReportExport. This constant has a value of “CANCELING”

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'

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

LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

A constant which can be used with the lifecycle_state property of a CustomerInstanceReportExport. This constant has a value of “NEEDS_ATTENTION”

LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'

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

LIFECYCLE_STATE_WAITING = 'WAITING'

A constant which can be used with the lifecycle_state property of a CustomerInstanceReportExport. This constant has a value of “WAITING”

SORT_BY_INSTANCE_ID = 'INSTANCE_ID'

A constant which can be used with the sort_by property of a CustomerInstanceReportExport. This constant has a value of “INSTANCE_ID”

SORT_ORDER_ASC = 'ASC'

A constant which can be used with the sort_order property of a CustomerInstanceReportExport. This constant has a value of “ASC”

SORT_ORDER_DESC = 'DESC'

A constant which can be used with the sort_order property of a CustomerInstanceReportExport. This constant has a value of “DESC”

STATUS_DISABLED = 'DISABLED'

A constant which can be used with the status property of a CustomerInstanceReportExport. This constant has a value of “DISABLED”

STATUS_PROVISIONING = 'PROVISIONING'

A constant which can be used with the status property of a CustomerInstanceReportExport. This constant has a value of “PROVISIONING”

STATUS_RUNNING = 'RUNNING'

A constant which can be used with the status property of a CustomerInstanceReportExport. This constant has a value of “RUNNING”

STATUS_SNAPSHOTTING = 'SNAPSHOTTING'

A constant which can be used with the status property of a CustomerInstanceReportExport. This constant has a value of “SNAPSHOTTING”

STATUS_STARTING = 'STARTING'

A constant which can be used with the status property of a CustomerInstanceReportExport. This constant has a value of “STARTING”

STATUS_STOPPED = 'STOPPED'

A constant which can be used with the status property of a CustomerInstanceReportExport. This constant has a value of “STOPPED”

STATUS_STOPPING = 'STOPPING'

A constant which can be used with the status property of a CustomerInstanceReportExport. This constant has a value of “STOPPING”

STATUS_TERMINATED = 'TERMINATED'

A constant which can be used with the status property of a CustomerInstanceReportExport. This constant has a value of “TERMINATED”

STATUS_TERMINATING = 'TERMINATING'

A constant which can be used with the status property of a CustomerInstanceReportExport. This constant has a value of “TERMINATING”

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this CustomerInstanceReportExport.

  • compartment_id (str) – The value to assign to the compartment_id property of this CustomerInstanceReportExport.

  • work_request_id (str) – The value to assign to the work_request_id property of this CustomerInstanceReportExport.

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

  • file_name (str) – The value to assign to the file_name property of this CustomerInstanceReportExport.

  • sort_order (str) – The value to assign to the sort_order property of this CustomerInstanceReportExport. Allowed values for this property are: “ASC”, “DESC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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

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

  • listing_id (str) – The value to assign to the listing_id property of this CustomerInstanceReportExport.

  • status (str) – The value to assign to the status property of this CustomerInstanceReportExport. Allowed values for this property are: “PROVISIONING”, “RUNNING”, “STOPPED”, “TERMINATING”, “TERMINATED”, “DISABLED”, “STARTING”, “STOPPING”, “SNAPSHOTTING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • shape (str) – The value to assign to the shape property of this CustomerInstanceReportExport.

  • region (str) – The value to assign to the region property of this CustomerInstanceReportExport.

  • realm (str) – The value to assign to the realm property of this CustomerInstanceReportExport.

  • tenant_admin_domain (str) – The value to assign to the tenant_admin_domain property of this CustomerInstanceReportExport.

  • package_version (str) – The value to assign to the package_version property of this CustomerInstanceReportExport.

  • instance_id (str) – The value to assign to the instance_id property of this CustomerInstanceReportExport.

  • time_instance_creation_from_date (datetime) – The value to assign to the time_instance_creation_from_date property of this CustomerInstanceReportExport.

  • time_instance_creation_to_date (datetime) – The value to assign to the time_instance_creation_to_date property of this CustomerInstanceReportExport.

  • time_instance_termination_from_date (datetime) – The value to assign to the time_instance_termination_from_date property of this CustomerInstanceReportExport.

  • time_instance_termination_to_date (datetime) – The value to assign to the time_instance_termination_to_date property of this CustomerInstanceReportExport.

  • time_created (datetime) – The value to assign to the time_created property of this CustomerInstanceReportExport.

  • time_expires (datetime) – The value to assign to the time_expires property of this CustomerInstanceReportExport.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CustomerInstanceReportExport.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CustomerInstanceReportExport.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this CustomerInstanceReportExport.

property compartment_id

[Required] Gets the compartment_id of this CustomerInstanceReportExport. The OCID of the compartment for the export.

Returns

The compartment_id of this CustomerInstanceReportExport.

Return type

str

property defined_tags

Gets the defined_tags of this CustomerInstanceReportExport. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this CustomerInstanceReportExport.

Return type

dict(str, dict(str, object))

property file_name

Gets the file_name of this CustomerInstanceReportExport. The generated CSV file name.

Returns

The file_name of this CustomerInstanceReportExport.

Return type

str

property freeform_tags

Gets the freeform_tags of this CustomerInstanceReportExport. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this CustomerInstanceReportExport.

Return type

dict(str, str)

property id

[Required] Gets the id of this CustomerInstanceReportExport. Customer Instance Report export identifier.

Returns

The id of this CustomerInstanceReportExport.

Return type

str

property instance_id

Gets the instance_id of this CustomerInstanceReportExport. A filter to return only report records that match the instance OCID.

Returns

The instance_id of this CustomerInstanceReportExport.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this CustomerInstanceReportExport. Customer Instance Report export lifecycle state.

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

Returns

The lifecycle_state of this CustomerInstanceReportExport.

Return type

str

property listing_id

Gets the listing_id of this CustomerInstanceReportExport. A filter to return only report records that match the listing OCID.

Returns

The listing_id of this CustomerInstanceReportExport.

Return type

str

property name

Gets the name of this CustomerInstanceReportExport. A filter to return only report records that match the listing name.

Returns

The name of this CustomerInstanceReportExport.

Return type

str

property package_version

Gets the package_version of this CustomerInstanceReportExport. A filter to return only report records that match the package version.

Returns

The package_version of this CustomerInstanceReportExport.

Return type

str

property realm

Gets the realm of this CustomerInstanceReportExport. A filter to return only report records that match the instance realm.

Returns

The realm of this CustomerInstanceReportExport.

Return type

str

property region

Gets the region of this CustomerInstanceReportExport. A filter to return only report records that match the instance region.

Returns

The region of this CustomerInstanceReportExport.

Return type

str

property shape

Gets the shape of this CustomerInstanceReportExport. A filter to return only report records that match the instance shape.

Returns

The shape of this CustomerInstanceReportExport.

Return type

str

property sort_by

Gets the sort_by of this CustomerInstanceReportExport. The field to sort by.

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

Returns

The sort_by of this CustomerInstanceReportExport.

Return type

str

property sort_order

Gets the sort_order of this CustomerInstanceReportExport. The sort order for the generated export.

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

Returns

The sort_order of this CustomerInstanceReportExport.

Return type

str

property status

Gets the status of this CustomerInstanceReportExport. A filter to return only report records that match the instance status.

Allowed values for this property are: “PROVISIONING”, “RUNNING”, “STOPPED”, “TERMINATING”, “TERMINATED”, “DISABLED”, “STARTING”, “STOPPING”, “SNAPSHOTTING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The status of this CustomerInstanceReportExport.

Return type

str

property system_tags

Gets the system_tags of this CustomerInstanceReportExport. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this CustomerInstanceReportExport.

Return type

dict(str, dict(str, object))

property tenant_admin_domain

Gets the tenant_admin_domain of this CustomerInstanceReportExport. A filter to return only report records that match the tenant administrator email domain.

Returns

The tenant_admin_domain of this CustomerInstanceReportExport.

Return type

str

property time_created

[Required] Gets the time_created of this CustomerInstanceReportExport. The date and time that the export was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z

Returns

The time_created of this CustomerInstanceReportExport.

Return type

datetime

property time_expires

Gets the time_expires of this CustomerInstanceReportExport. The date and time that the export expires, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z

Returns

The time_expires of this CustomerInstanceReportExport.

Return type

datetime

property time_instance_creation_from_date

Gets the time_instance_creation_from_date of this CustomerInstanceReportExport. The inclusive earliest instance creation time, in RFC 3339 format.

Returns

The time_instance_creation_from_date of this CustomerInstanceReportExport.

Return type

datetime

property time_instance_creation_to_date

Gets the time_instance_creation_to_date of this CustomerInstanceReportExport. The inclusive latest instance creation time, in RFC 3339 format.

Returns

The time_instance_creation_to_date of this CustomerInstanceReportExport.

Return type

datetime

property time_instance_termination_from_date

Gets the time_instance_termination_from_date of this CustomerInstanceReportExport. The inclusive earliest instance termination time, in RFC 3339 format.

Returns

The time_instance_termination_from_date of this CustomerInstanceReportExport.

Return type

datetime

property time_instance_termination_to_date

Gets the time_instance_termination_to_date of this CustomerInstanceReportExport. The inclusive latest instance termination time, in RFC 3339 format.

Returns

The time_instance_termination_to_date of this CustomerInstanceReportExport.

Return type

datetime

property work_request_id

Gets the work_request_id of this CustomerInstanceReportExport. The work request identifier associated with the export generation.

Returns

The work_request_id of this CustomerInstanceReportExport.

Return type

str