NewInstallationSite

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

Bases: object

The properties of a new Java installation site.

Attributes

ARTIFACT_CONTENT_TYPE_JDK A constant which can be used with the artifact_content_type property of a NewInstallationSite.
ARTIFACT_CONTENT_TYPE_JRE A constant which can be used with the artifact_content_type property of a NewInstallationSite.
ARTIFACT_CONTENT_TYPE_SERVER_JRE A constant which can be used with the artifact_content_type property of a NewInstallationSite.
artifact_content_type Gets the artifact_content_type of this NewInstallationSite.
force_install Gets the force_install of this NewInstallationSite.
headless_mode Gets the headless_mode of this NewInstallationSite.
installation_path Gets the installation_path of this NewInstallationSite.
managed_instance_id [Required] Gets the managed_instance_id of this NewInstallationSite.
release_version [Required] Gets the release_version of this NewInstallationSite.

Methods

__init__(**kwargs) Initializes a new NewInstallationSite object with values from keyword arguments.
ARTIFACT_CONTENT_TYPE_JDK = 'JDK'

A constant which can be used with the artifact_content_type property of a NewInstallationSite. This constant has a value of “JDK”

ARTIFACT_CONTENT_TYPE_JRE = 'JRE'

A constant which can be used with the artifact_content_type property of a NewInstallationSite. This constant has a value of “JRE”

ARTIFACT_CONTENT_TYPE_SERVER_JRE = 'SERVER_JRE'

A constant which can be used with the artifact_content_type property of a NewInstallationSite. This constant has a value of “SERVER_JRE”

__init__(**kwargs)

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

Parameters:
  • managed_instance_id (str) – The value to assign to the managed_instance_id property of this NewInstallationSite.
  • release_version (str) – The value to assign to the release_version property of this NewInstallationSite.
  • artifact_content_type (str) – The value to assign to the artifact_content_type property of this NewInstallationSite. Allowed values for this property are: “JDK”, “JRE”, “SERVER_JRE”
  • installation_path (str) – The value to assign to the installation_path property of this NewInstallationSite.
  • headless_mode (bool) – The value to assign to the headless_mode property of this NewInstallationSite.
  • force_install (bool) – The value to assign to the force_install property of this NewInstallationSite.
artifact_content_type

Gets the artifact_content_type of this NewInstallationSite. Artifact content type for the Java version.

Allowed values for this property are: “JDK”, “JRE”, “SERVER_JRE”

Returns:The artifact_content_type of this NewInstallationSite.
Return type:str
force_install

Gets the force_install of this NewInstallationSite. Forces the installation request even if a more recent release is already present in the host.

Returns:The force_install of this NewInstallationSite.
Return type:bool
headless_mode

Gets the headless_mode of this NewInstallationSite. Flag to install headless or headful Java installation. Only valid for Oracle Linux in OCI.

Returns:The headless_mode of this NewInstallationSite.
Return type:bool
installation_path

Gets the installation_path of this NewInstallationSite. Custom path to install new Java installation site.

Returns:The installation_path of this NewInstallationSite.
Return type:str
managed_instance_id

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

Returns:The managed_instance_id of this NewInstallationSite.
Return type:str
release_version

[Required] Gets the release_version of this NewInstallationSite. The release version of the Java Runtime.

Returns:The release_version of this NewInstallationSite.
Return type:str