JavaRelease¶
-
class
oci.jms.models.JavaRelease(**kwargs)¶ Bases:
objectMetadata associated with a specific release of Java. Includes the artifact details.
Attributes
ARTIFACT_CONTENT_TYPES_JDKA constant which can be used with the artifact_content_types property of a JavaRelease. ARTIFACT_CONTENT_TYPES_JREA constant which can be used with the artifact_content_types property of a JavaRelease. ARTIFACT_CONTENT_TYPES_SERVER_JREA constant which can be used with the artifact_content_types property of a JavaRelease. LICENSE_TYPE_NFTCA constant which can be used with the license_type property of a JavaRelease. LICENSE_TYPE_OTNA constant which can be used with the license_type property of a JavaRelease. LICENSE_TYPE_RESTRICTEDA constant which can be used with the license_type property of a JavaRelease. RELEASE_TYPE_BPRA constant which can be used with the release_type property of a JavaRelease. RELEASE_TYPE_CPUA constant which can be used with the release_type property of a JavaRelease. RELEASE_TYPE_FEATUREA constant which can be used with the release_type property of a JavaRelease. RELEASE_TYPE_PATCH_RELEASEA constant which can be used with the release_type property of a JavaRelease. SECURITY_STATUS_EARLY_ACCESSA constant which can be used with the security_status property of a JavaRelease. SECURITY_STATUS_UNKNOWNA constant which can be used with the security_status property of a JavaRelease. SECURITY_STATUS_UPDATE_REQUIREDA constant which can be used with the security_status property of a JavaRelease. SECURITY_STATUS_UPGRADE_REQUIREDA constant which can be used with the security_status property of a JavaRelease. SECURITY_STATUS_UP_TO_DATEA constant which can be used with the security_status property of a JavaRelease. artifact_content_types[Required] Gets the artifact_content_types of this JavaRelease. artifactsGets the artifacts of this JavaRelease. days_under_security_baselineGets the days_under_security_baseline of this JavaRelease. family_detailsGets the family_details of this JavaRelease. family_version[Required] Gets the family_version of this JavaRelease. license_detailsGets the license_details of this JavaRelease. license_type[Required] Gets the license_type of this JavaRelease. mos_patchesGets the mos_patches of this JavaRelease. parent_release_versionGets the parent_release_version of this JavaRelease. release_date[Required] Gets the release_date of this JavaRelease. release_notes_url[Required] Gets the release_notes_url of this JavaRelease. release_type[Required] Gets the release_type of this JavaRelease. release_version[Required] Gets the release_version of this JavaRelease. security_status[Required] Gets the security_status of this JavaRelease. Methods
__init__(**kwargs)Initializes a new JavaRelease object with values from keyword arguments. -
ARTIFACT_CONTENT_TYPES_JDK= 'JDK'¶ A constant which can be used with the artifact_content_types property of a JavaRelease. This constant has a value of “JDK”
-
ARTIFACT_CONTENT_TYPES_JRE= 'JRE'¶ A constant which can be used with the artifact_content_types property of a JavaRelease. This constant has a value of “JRE”
-
ARTIFACT_CONTENT_TYPES_SERVER_JRE= 'SERVER_JRE'¶ A constant which can be used with the artifact_content_types property of a JavaRelease. This constant has a value of “SERVER_JRE”
-
LICENSE_TYPE_NFTC= 'NFTC'¶ A constant which can be used with the license_type property of a JavaRelease. This constant has a value of “NFTC”
-
LICENSE_TYPE_OTN= 'OTN'¶ A constant which can be used with the license_type property of a JavaRelease. This constant has a value of “OTN”
-
LICENSE_TYPE_RESTRICTED= 'RESTRICTED'¶ A constant which can be used with the license_type property of a JavaRelease. This constant has a value of “RESTRICTED”
-
RELEASE_TYPE_BPR= 'BPR'¶ A constant which can be used with the release_type property of a JavaRelease. This constant has a value of “BPR”
-
RELEASE_TYPE_CPU= 'CPU'¶ A constant which can be used with the release_type property of a JavaRelease. This constant has a value of “CPU”
-
RELEASE_TYPE_FEATURE= 'FEATURE'¶ A constant which can be used with the release_type property of a JavaRelease. This constant has a value of “FEATURE”
-
RELEASE_TYPE_PATCH_RELEASE= 'PATCH_RELEASE'¶ A constant which can be used with the release_type property of a JavaRelease. This constant has a value of “PATCH_RELEASE”
-
SECURITY_STATUS_EARLY_ACCESS= 'EARLY_ACCESS'¶ A constant which can be used with the security_status property of a JavaRelease. This constant has a value of “EARLY_ACCESS”
-
SECURITY_STATUS_UNKNOWN= 'UNKNOWN'¶ A constant which can be used with the security_status property of a JavaRelease. This constant has a value of “UNKNOWN”
-
SECURITY_STATUS_UPDATE_REQUIRED= 'UPDATE_REQUIRED'¶ A constant which can be used with the security_status property of a JavaRelease. This constant has a value of “UPDATE_REQUIRED”
-
SECURITY_STATUS_UPGRADE_REQUIRED= 'UPGRADE_REQUIRED'¶ A constant which can be used with the security_status property of a JavaRelease. This constant has a value of “UPGRADE_REQUIRED”
-
SECURITY_STATUS_UP_TO_DATE= 'UP_TO_DATE'¶ A constant which can be used with the security_status property of a JavaRelease. This constant has a value of “UP_TO_DATE”
-
__init__(**kwargs)¶ Initializes a new JavaRelease object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - artifacts (list[oci.jms.models.JavaArtifact]) – The value to assign to the artifacts property of this JavaRelease.
- release_version (str) – The value to assign to the release_version property of this JavaRelease.
- family_version (str) – The value to assign to the family_version property of this JavaRelease.
- parent_release_version (str) – The value to assign to the parent_release_version property of this JavaRelease.
- security_status (str) – The value to assign to the security_status property of this JavaRelease. Allowed values for this property are: “EARLY_ACCESS”, “UNKNOWN”, “UP_TO_DATE”, “UPDATE_REQUIRED”, “UPGRADE_REQUIRED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- release_type (str) – The value to assign to the release_type property of this JavaRelease. Allowed values for this property are: “CPU”, “FEATURE”, “BPR”, “PATCH_RELEASE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- license_type (str) – The value to assign to the license_type property of this JavaRelease. Allowed values for this property are: “OTN”, “NFTC”, “RESTRICTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- family_details (oci.jms.models.JavaFamily) – The value to assign to the family_details property of this JavaRelease.
- license_details (oci.jms.models.JavaLicense) – The value to assign to the license_details property of this JavaRelease.
- release_date (datetime) – The value to assign to the release_date property of this JavaRelease.
- release_notes_url (str) – The value to assign to the release_notes_url property of this JavaRelease.
- artifact_content_types (list[str]) – The value to assign to the artifact_content_types property of this JavaRelease. Allowed values for items in this list are: “JDK”, “JRE”, “SERVER_JRE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- mos_patches (list[oci.jms.models.PatchDetail]) – The value to assign to the mos_patches property of this JavaRelease.
- days_under_security_baseline (int) – The value to assign to the days_under_security_baseline property of this JavaRelease.
-
artifact_content_types¶ [Required] Gets the artifact_content_types of this JavaRelease. Artifact content types for the Java version.
Allowed values for items in this list 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_types of this JavaRelease. Return type: list[str]
-
artifacts¶ Gets the artifacts of this JavaRelease. List of Java artifacts.
Returns: The artifacts of this JavaRelease. Return type: list[oci.jms.models.JavaArtifact]
-
days_under_security_baseline¶ Gets the days_under_security_baseline of this JavaRelease. The number of days since this release has been under the security baseline.
Returns: The days_under_security_baseline of this JavaRelease. Return type: int
-
family_details¶ Gets the family_details of this JavaRelease.
Returns: The family_details of this JavaRelease. Return type: oci.jms.models.JavaFamily
-
family_version¶ [Required] Gets the family_version of this JavaRelease. Java release family identifier.
Returns: The family_version of this JavaRelease. Return type: str
-
license_details¶ Gets the license_details of this JavaRelease.
Returns: The license_details of this JavaRelease. Return type: oci.jms.models.JavaLicense
-
license_type¶ [Required] Gets the license_type of this JavaRelease. License type for the Java version.
Allowed values for this property are: “OTN”, “NFTC”, “RESTRICTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The license_type of this JavaRelease. Return type: str
-
mos_patches¶ Gets the mos_patches of this JavaRelease. List of My Oracle Support(MoS) patches available for this release. This information is only available for BPR release type.
Returns: The mos_patches of this JavaRelease. Return type: list[oci.jms.models.PatchDetail]
-
parent_release_version¶ Gets the parent_release_version of this JavaRelease. Parent Java release version identifier. This is applicable for BPR releases.
Returns: The parent_release_version of this JavaRelease. Return type: str
-
release_date¶ [Required] Gets the release_date of this JavaRelease. The release date of the Java version (formatted according to RFC3339).
Returns: The release_date of this JavaRelease. Return type: datetime
-
release_notes_url¶ [Required] Gets the release_notes_url of this JavaRelease. Release notes associated with the Java version.
Returns: The release_notes_url of this JavaRelease. Return type: str
-
release_type¶ [Required] Gets the release_type of this JavaRelease. Release category of the Java version.
Allowed values for this property are: “CPU”, “FEATURE”, “BPR”, “PATCH_RELEASE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The release_type of this JavaRelease. Return type: str
-
release_version¶ [Required] Gets the release_version of this JavaRelease. Java release version identifier.
Returns: The release_version of this JavaRelease. Return type: str
-
security_status¶ [Required] Gets the security_status of this JavaRelease. The security status of the Java version.
Allowed values for this property are: “EARLY_ACCESS”, “UNKNOWN”, “UP_TO_DATE”, “UPDATE_REQUIRED”, “UPGRADE_REQUIRED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The security_status of this JavaRelease. Return type: str
-