InstallationSite

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

Bases: object

Installation site of a Java Runtime. An installation site is a Java Runtime installed at a specific path on a managed instance.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a InstallationSite.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a InstallationSite.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a InstallationSite.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a InstallationSite.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a InstallationSite.
LIFECYCLE_STATE_NEEDS_ATTENTION A constant which can be used with the lifecycle_state property of a InstallationSite.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a InstallationSite.
MANAGED_INSTANCE_TYPE_ORACLE_MANAGEMENT_AGENT A constant which can be used with the managed_instance_type property of a InstallationSite.
approximate_application_count Gets the approximate_application_count of this InstallationSite.
blocklist Gets the blocklist of this InstallationSite.
hostname Gets the hostname of this InstallationSite.
installation_key [Required] Gets the installation_key of this InstallationSite.
jre [Required] Gets the jre of this InstallationSite.
lifecycle_state Gets the lifecycle_state of this InstallationSite.
managed_instance_id [Required] Gets the managed_instance_id of this InstallationSite.
managed_instance_type Gets the managed_instance_type of this InstallationSite.
operating_system [Required] Gets the operating_system of this InstallationSite.
path [Required] Gets the path of this InstallationSite.
time_last_seen Gets the time_last_seen of this InstallationSite.

Methods

__init__(**kwargs) Initializes a new InstallationSite object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

MANAGED_INSTANCE_TYPE_ORACLE_MANAGEMENT_AGENT = 'ORACLE_MANAGEMENT_AGENT'

A constant which can be used with the managed_instance_type property of a InstallationSite. This constant has a value of “ORACLE_MANAGEMENT_AGENT”

__init__(**kwargs)

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

Parameters:
  • installation_key (str) – The value to assign to the installation_key property of this InstallationSite.
  • managed_instance_id (str) – The value to assign to the managed_instance_id property of this InstallationSite.
  • jre (oci.jms.models.JavaRuntimeId) – The value to assign to the jre property of this InstallationSite.
  • path (str) – The value to assign to the path property of this InstallationSite.
  • operating_system (oci.jms.models.OperatingSystem) – The value to assign to the operating_system property of this InstallationSite.
  • approximate_application_count (int) – The value to assign to the approximate_application_count property of this InstallationSite.
  • time_last_seen (datetime) – The value to assign to the time_last_seen property of this InstallationSite.
  • blocklist (list[oci.jms.models.BlocklistEntry]) – The value to assign to the blocklist property of this InstallationSite.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this InstallationSite. Allowed values for this property are: “ACTIVE”, “CREATING”, “DELETED”, “DELETING”, “FAILED”, “NEEDS_ATTENTION”, “UPDATING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • managed_instance_type (str) – The value to assign to the managed_instance_type property of this InstallationSite. Allowed values for this property are: “ORACLE_MANAGEMENT_AGENT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • hostname (str) – The value to assign to the hostname property of this InstallationSite.
approximate_application_count

Gets the approximate_application_count of this InstallationSite. The approximate count of applications running on this installation

Returns:The approximate_application_count of this InstallationSite.
Return type:int
blocklist

Gets the blocklist of this InstallationSite. The list of operations that are blocklisted.

Returns:The blocklist of this InstallationSite.
Return type:list[oci.jms.models.BlocklistEntry]
hostname

Gets the hostname of this InstallationSite. The hostname of the managed instance (if applicable).

Returns:The hostname of this InstallationSite.
Return type:str
installation_key

[Required] Gets the installation_key of this InstallationSite. The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system.

Returns:The installation_key of this InstallationSite.
Return type:str
jre

[Required] Gets the jre of this InstallationSite.

Returns:The jre of this InstallationSite.
Return type:oci.jms.models.JavaRuntimeId
lifecycle_state

Gets the lifecycle_state of this InstallationSite. The lifecycle state of the installation site.

Allowed values for this property are: “ACTIVE”, “CREATING”, “DELETED”, “DELETING”, “FAILED”, “NEEDS_ATTENTION”, “UPDATING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this InstallationSite.
Return type:str
managed_instance_id

[Required] Gets the managed_instance_id of this InstallationSite. The OCID of the related managed instance.

Returns:The managed_instance_id of this InstallationSite.
Return type:str
managed_instance_type

Gets the managed_instance_type of this InstallationSite. The type of the source of events.

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

Returns:The managed_instance_type of this InstallationSite.
Return type:str
operating_system

[Required] Gets the operating_system of this InstallationSite.

Returns:The operating_system of this InstallationSite.
Return type:oci.jms.models.OperatingSystem
path

[Required] Gets the path of this InstallationSite. The file system path of the installation.

Returns:The path of this InstallationSite.
Return type:str
time_last_seen

Gets the time_last_seen of this InstallationSite. The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period.

Returns:The time_last_seen of this InstallationSite.
Return type:datetime