NewInstallationSite¶
- class oci.jms.models.NewInstallationSite(**kwargs)¶
Bases:
objectThe properties of a new Java installation site.
Attributes:
A constant which can be used with the artifact_content_type property of a NewInstallationSite.
A constant which can be used with the artifact_content_type property of a NewInstallationSite.
A constant which can be used with the artifact_content_type property of a NewInstallationSite.
Gets the artifact_content_type of this NewInstallationSite.
Gets the force_install of this NewInstallationSite.
Gets the headless_mode of this NewInstallationSite.
Gets the installation_path of this NewInstallationSite.
[Required] Gets the managed_instance_id of this NewInstallationSite.
[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”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
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.
- property 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”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The artifact_content_type of this NewInstallationSite.
- Return type
str
- property 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
- property 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
- property 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
- property 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
- property 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