CustomSoftwareSource

class oci.os_management_hub.models.CustomSoftwareSource(**kwargs)

Bases: SoftwareSource

The object that defines a custom software source. A software source contains a collection of packages. For more information, see Managing Software Sources.

Attributes:

ARCH_TYPE_AARCH64

A constant which can be used with the arch_type property of a SoftwareSource.

ARCH_TYPE_ALL

A constant which can be used with the arch_type property of a SoftwareSource.

ARCH_TYPE_AMD64

A constant which can be used with the arch_type property of a SoftwareSource.

ARCH_TYPE_ARM64

A constant which can be used with the arch_type property of a SoftwareSource.

ARCH_TYPE_I386

A constant which can be used with the arch_type property of a SoftwareSource.

ARCH_TYPE_I686

A constant which can be used with the arch_type property of a SoftwareSource.

ARCH_TYPE_NOARCH

A constant which can be used with the arch_type property of a SoftwareSource.

ARCH_TYPE_SRC

A constant which can be used with the arch_type property of a SoftwareSource.

ARCH_TYPE_X86_64

A constant which can be used with the arch_type property of a SoftwareSource.

AVAILABILITY_AT_OCI_AVAILABLE

A constant which can be used with the availability_at_oci property of a SoftwareSource.

AVAILABILITY_AT_OCI_RESTRICTED

A constant which can be used with the availability_at_oci property of a SoftwareSource.

AVAILABILITY_AT_OCI_SELECTED

A constant which can be used with the availability_at_oci property of a SoftwareSource.

AVAILABILITY_AT_OCI_UNAVAILABLE

A constant which can be used with the availability_at_oci property of a SoftwareSource.

AVAILABILITY_AVAILABLE

A constant which can be used with the availability property of a SoftwareSource.

AVAILABILITY_RESTRICTED

A constant which can be used with the availability property of a SoftwareSource.

AVAILABILITY_SELECTED

A constant which can be used with the availability property of a SoftwareSource.

AVAILABILITY_UNAVAILABLE

A constant which can be used with the availability property of a SoftwareSource.

CHECKSUM_TYPE_SHA1

A constant which can be used with the checksum_type property of a SoftwareSource.

CHECKSUM_TYPE_SHA256

A constant which can be used with the checksum_type property of a SoftwareSource.

CHECKSUM_TYPE_SHA384

A constant which can be used with the checksum_type property of a SoftwareSource.

CHECKSUM_TYPE_SHA512

A constant which can be used with the checksum_type property of a SoftwareSource.

LIFECYCLE_STATE_ACTIVE

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

LIFECYCLE_STATE_CREATING

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

LIFECYCLE_STATE_DELETED

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

LIFECYCLE_STATE_DELETING

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

LIFECYCLE_STATE_FAILED

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

LIFECYCLE_STATE_INACTIVE

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

LIFECYCLE_STATE_NEEDS_ATTENTION

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

LIFECYCLE_STATE_UPDATING

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

OS_FAMILY_ALL

A constant which can be used with the os_family property of a SoftwareSource.

OS_FAMILY_ORACLE_LINUX_10

A constant which can be used with the os_family property of a SoftwareSource.

OS_FAMILY_ORACLE_LINUX_6

A constant which can be used with the os_family property of a SoftwareSource.

OS_FAMILY_ORACLE_LINUX_7

A constant which can be used with the os_family property of a SoftwareSource.

OS_FAMILY_ORACLE_LINUX_8

A constant which can be used with the os_family property of a SoftwareSource.

OS_FAMILY_ORACLE_LINUX_9

A constant which can be used with the os_family property of a SoftwareSource.

OS_FAMILY_UBUNTU_20_04

A constant which can be used with the os_family property of a SoftwareSource.

OS_FAMILY_UBUNTU_22_04

A constant which can be used with the os_family property of a SoftwareSource.

OS_FAMILY_UBUNTU_24_04

A constant which can be used with the os_family property of a SoftwareSource.

OS_FAMILY_WINDOWS_11

A constant which can be used with the os_family property of a SoftwareSource.

OS_FAMILY_WINDOWS_SERVER_2016

A constant which can be used with the os_family property of a SoftwareSource.

OS_FAMILY_WINDOWS_SERVER_2019

A constant which can be used with the os_family property of a SoftwareSource.

OS_FAMILY_WINDOWS_SERVER_2022

A constant which can be used with the os_family property of a SoftwareSource.

OS_FAMILY_WINDOWS_SERVER_2025

A constant which can be used with the os_family property of a SoftwareSource.

SOFTWARE_SOURCE_SUB_TYPE_FILTER

A constant which can be used with the software_source_sub_type property of a CustomSoftwareSource.

SOFTWARE_SOURCE_SUB_TYPE_MANIFEST

A constant which can be used with the software_source_sub_type property of a CustomSoftwareSource.

SOFTWARE_SOURCE_SUB_TYPE_SNAPSHOT

A constant which can be used with the software_source_sub_type property of a CustomSoftwareSource.

SOFTWARE_SOURCE_TYPE_CUSTOM

A constant which can be used with the software_source_type property of a SoftwareSource.

SOFTWARE_SOURCE_TYPE_PRIVATE

A constant which can be used with the software_source_type property of a SoftwareSource.

SOFTWARE_SOURCE_TYPE_THIRD_PARTY

A constant which can be used with the software_source_type property of a SoftwareSource.

SOFTWARE_SOURCE_TYPE_VENDOR

A constant which can be used with the software_source_type property of a SoftwareSource.

SOFTWARE_SOURCE_TYPE_VERSIONED

A constant which can be used with the software_source_type property of a SoftwareSource.

arch_type

[Required] Gets the arch_type of this SoftwareSource.

availability

[Required] Gets the availability of this SoftwareSource.

availability_at_oci

[Required] Gets the availability_at_oci of this SoftwareSource.

checksum_type

Gets the checksum_type of this SoftwareSource.

compartment_id

[Required] Gets the compartment_id of this SoftwareSource.

custom_software_source_filter

Gets the custom_software_source_filter of this CustomSoftwareSource.

defined_tags

Gets the defined_tags of this SoftwareSource.

description

Gets the description of this SoftwareSource.

display_name

[Required] Gets the display_name of this SoftwareSource.

freeform_tags

Gets the freeform_tags of this SoftwareSource.

gpg_key_fingerprint

Gets the gpg_key_fingerprint of this SoftwareSource.

gpg_key_id

Gets the gpg_key_id of this SoftwareSource.

gpg_key_url

Gets the gpg_key_url of this SoftwareSource.

id

[Required] Gets the id of this SoftwareSource.

is_auto_resolve_dependencies

Gets the is_auto_resolve_dependencies of this CustomSoftwareSource.

is_automatically_updated

Gets the is_automatically_updated of this CustomSoftwareSource.

is_created_from_package_list

Gets the is_created_from_package_list of this CustomSoftwareSource.

is_latest_content_only

Gets the is_latest_content_only of this CustomSoftwareSource.

lifecycle_state

Gets the lifecycle_state of this SoftwareSource.

os_family

[Required] Gets the os_family of this SoftwareSource.

package_count

Gets the package_count of this SoftwareSource.

packages

Gets the packages of this CustomSoftwareSource.

repo_id

[Required] Gets the repo_id of this SoftwareSource.

size

Gets the size of this SoftwareSource.

software_source_sub_type

Gets the software_source_sub_type of this CustomSoftwareSource.

software_source_type

[Required] Gets the software_source_type of this SoftwareSource.

system_tags

Gets the system_tags of this SoftwareSource.

time_created

[Required] Gets the time_created of this SoftwareSource.

time_metadata_updated

Gets the time_metadata_updated of this CustomSoftwareSource.

url

[Required] Gets the url of this SoftwareSource.

vendor_software_sources

[Required] Gets the vendor_software_sources of this CustomSoftwareSource.

Methods:

__init__(**kwargs)

Initializes a new CustomSoftwareSource object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

ARCH_TYPE_AARCH64 = 'AARCH64'

A constant which can be used with the arch_type property of a SoftwareSource. This constant has a value of “AARCH64”

ARCH_TYPE_ALL = 'ALL'

A constant which can be used with the arch_type property of a SoftwareSource. This constant has a value of “ALL”

ARCH_TYPE_AMD64 = 'AMD64'

A constant which can be used with the arch_type property of a SoftwareSource. This constant has a value of “AMD64”

ARCH_TYPE_ARM64 = 'ARM64'

A constant which can be used with the arch_type property of a SoftwareSource. This constant has a value of “ARM64”

ARCH_TYPE_I386 = 'I386'

A constant which can be used with the arch_type property of a SoftwareSource. This constant has a value of “I386”

ARCH_TYPE_I686 = 'I686'

A constant which can be used with the arch_type property of a SoftwareSource. This constant has a value of “I686”

ARCH_TYPE_NOARCH = 'NOARCH'

A constant which can be used with the arch_type property of a SoftwareSource. This constant has a value of “NOARCH”

ARCH_TYPE_SRC = 'SRC'

A constant which can be used with the arch_type property of a SoftwareSource. This constant has a value of “SRC”

ARCH_TYPE_X86_64 = 'X86_64'

A constant which can be used with the arch_type property of a SoftwareSource. This constant has a value of “X86_64”

AVAILABILITY_AT_OCI_AVAILABLE = 'AVAILABLE'

A constant which can be used with the availability_at_oci property of a SoftwareSource. This constant has a value of “AVAILABLE”

AVAILABILITY_AT_OCI_RESTRICTED = 'RESTRICTED'

A constant which can be used with the availability_at_oci property of a SoftwareSource. This constant has a value of “RESTRICTED”

AVAILABILITY_AT_OCI_SELECTED = 'SELECTED'

A constant which can be used with the availability_at_oci property of a SoftwareSource. This constant has a value of “SELECTED”

AVAILABILITY_AT_OCI_UNAVAILABLE = 'UNAVAILABLE'

A constant which can be used with the availability_at_oci property of a SoftwareSource. This constant has a value of “UNAVAILABLE”

AVAILABILITY_AVAILABLE = 'AVAILABLE'

A constant which can be used with the availability property of a SoftwareSource. This constant has a value of “AVAILABLE”

AVAILABILITY_RESTRICTED = 'RESTRICTED'

A constant which can be used with the availability property of a SoftwareSource. This constant has a value of “RESTRICTED”

AVAILABILITY_SELECTED = 'SELECTED'

A constant which can be used with the availability property of a SoftwareSource. This constant has a value of “SELECTED”

AVAILABILITY_UNAVAILABLE = 'UNAVAILABLE'

A constant which can be used with the availability property of a SoftwareSource. This constant has a value of “UNAVAILABLE”

CHECKSUM_TYPE_SHA1 = 'SHA1'

A constant which can be used with the checksum_type property of a SoftwareSource. This constant has a value of “SHA1”

CHECKSUM_TYPE_SHA256 = 'SHA256'

A constant which can be used with the checksum_type property of a SoftwareSource. This constant has a value of “SHA256”

CHECKSUM_TYPE_SHA384 = 'SHA384'

A constant which can be used with the checksum_type property of a SoftwareSource. This constant has a value of “SHA384”

CHECKSUM_TYPE_SHA512 = 'SHA512'

A constant which can be used with the checksum_type property of a SoftwareSource. This constant has a value of “SHA512”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

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

LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

A constant which can be used with the lifecycle_state property of a SoftwareSource. 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 SoftwareSource. This constant has a value of “UPDATING”

OS_FAMILY_ALL = 'ALL'

A constant which can be used with the os_family property of a SoftwareSource. This constant has a value of “ALL”

OS_FAMILY_ORACLE_LINUX_10 = 'ORACLE_LINUX_10'

A constant which can be used with the os_family property of a SoftwareSource. This constant has a value of “ORACLE_LINUX_10”

OS_FAMILY_ORACLE_LINUX_6 = 'ORACLE_LINUX_6'

A constant which can be used with the os_family property of a SoftwareSource. This constant has a value of “ORACLE_LINUX_6”

OS_FAMILY_ORACLE_LINUX_7 = 'ORACLE_LINUX_7'

A constant which can be used with the os_family property of a SoftwareSource. This constant has a value of “ORACLE_LINUX_7”

OS_FAMILY_ORACLE_LINUX_8 = 'ORACLE_LINUX_8'

A constant which can be used with the os_family property of a SoftwareSource. This constant has a value of “ORACLE_LINUX_8”

OS_FAMILY_ORACLE_LINUX_9 = 'ORACLE_LINUX_9'

A constant which can be used with the os_family property of a SoftwareSource. This constant has a value of “ORACLE_LINUX_9”

OS_FAMILY_UBUNTU_20_04 = 'UBUNTU_20_04'

A constant which can be used with the os_family property of a SoftwareSource. This constant has a value of “UBUNTU_20_04”

OS_FAMILY_UBUNTU_22_04 = 'UBUNTU_22_04'

A constant which can be used with the os_family property of a SoftwareSource. This constant has a value of “UBUNTU_22_04”

OS_FAMILY_UBUNTU_24_04 = 'UBUNTU_24_04'

A constant which can be used with the os_family property of a SoftwareSource. This constant has a value of “UBUNTU_24_04”

OS_FAMILY_WINDOWS_11 = 'WINDOWS_11'

A constant which can be used with the os_family property of a SoftwareSource. This constant has a value of “WINDOWS_11”

OS_FAMILY_WINDOWS_SERVER_2016 = 'WINDOWS_SERVER_2016'

A constant which can be used with the os_family property of a SoftwareSource. This constant has a value of “WINDOWS_SERVER_2016”

OS_FAMILY_WINDOWS_SERVER_2019 = 'WINDOWS_SERVER_2019'

A constant which can be used with the os_family property of a SoftwareSource. This constant has a value of “WINDOWS_SERVER_2019”

OS_FAMILY_WINDOWS_SERVER_2022 = 'WINDOWS_SERVER_2022'

A constant which can be used with the os_family property of a SoftwareSource. This constant has a value of “WINDOWS_SERVER_2022”

OS_FAMILY_WINDOWS_SERVER_2025 = 'WINDOWS_SERVER_2025'

A constant which can be used with the os_family property of a SoftwareSource. This constant has a value of “WINDOWS_SERVER_2025”

SOFTWARE_SOURCE_SUB_TYPE_FILTER = 'FILTER'

A constant which can be used with the software_source_sub_type property of a CustomSoftwareSource. This constant has a value of “FILTER”

SOFTWARE_SOURCE_SUB_TYPE_MANIFEST = 'MANIFEST'

A constant which can be used with the software_source_sub_type property of a CustomSoftwareSource. This constant has a value of “MANIFEST”

SOFTWARE_SOURCE_SUB_TYPE_SNAPSHOT = 'SNAPSHOT'

A constant which can be used with the software_source_sub_type property of a CustomSoftwareSource. This constant has a value of “SNAPSHOT”

SOFTWARE_SOURCE_TYPE_CUSTOM = 'CUSTOM'

A constant which can be used with the software_source_type property of a SoftwareSource. This constant has a value of “CUSTOM”

SOFTWARE_SOURCE_TYPE_PRIVATE = 'PRIVATE'

A constant which can be used with the software_source_type property of a SoftwareSource. This constant has a value of “PRIVATE”

SOFTWARE_SOURCE_TYPE_THIRD_PARTY = 'THIRD_PARTY'

A constant which can be used with the software_source_type property of a SoftwareSource. This constant has a value of “THIRD_PARTY”

SOFTWARE_SOURCE_TYPE_VENDOR = 'VENDOR'

A constant which can be used with the software_source_type property of a SoftwareSource. This constant has a value of “VENDOR”

SOFTWARE_SOURCE_TYPE_VERSIONED = 'VERSIONED'

A constant which can be used with the software_source_type property of a SoftwareSource. This constant has a value of “VERSIONED”

__init__(**kwargs)

Initializes a new CustomSoftwareSource object with values from keyword arguments. The default value of the software_source_type attribute of this class is CUSTOM and it should not be changed. 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 CustomSoftwareSource.

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

  • display_name (str) – The value to assign to the display_name property of this CustomSoftwareSource.

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

  • description (str) – The value to assign to the description property of this CustomSoftwareSource.

  • software_source_type (str) – The value to assign to the software_source_type property of this CustomSoftwareSource. Allowed values for this property are: “VENDOR”, “CUSTOM”, “VERSIONED”, “PRIVATE”, “THIRD_PARTY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • availability (str) – The value to assign to the availability property of this CustomSoftwareSource. Allowed values for this property are: “AVAILABLE”, “SELECTED”, “RESTRICTED”, “UNAVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • availability_at_oci (str) – The value to assign to the availability_at_oci property of this CustomSoftwareSource. Allowed values for this property are: “AVAILABLE”, “SELECTED”, “RESTRICTED”, “UNAVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • repo_id (str) – The value to assign to the repo_id property of this CustomSoftwareSource.

  • os_family (str) – The value to assign to the os_family property of this CustomSoftwareSource. Allowed values for this property are: “ORACLE_LINUX_10”, “ORACLE_LINUX_9”, “ORACLE_LINUX_8”, “ORACLE_LINUX_7”, “ORACLE_LINUX_6”, “WINDOWS_SERVER_2016”, “WINDOWS_SERVER_2019”, “WINDOWS_SERVER_2022”, “WINDOWS_SERVER_2025”, “WINDOWS_11”, “ALL”, “UBUNTU_20_04”, “UBUNTU_22_04”, “UBUNTU_24_04”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • arch_type (str) – The value to assign to the arch_type property of this CustomSoftwareSource. Allowed values for this property are: “X86_64”, “AARCH64”, “I686”, “NOARCH”, “SRC”, “I386”, “AMD64”, “ARM64”, “ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this CustomSoftwareSource. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • package_count (int) – The value to assign to the package_count property of this CustomSoftwareSource.

  • url (str) – The value to assign to the url property of this CustomSoftwareSource.

  • checksum_type (str) – The value to assign to the checksum_type property of this CustomSoftwareSource. Allowed values for this property are: “SHA1”, “SHA256”, “SHA384”, “SHA512”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • gpg_key_url (str) – The value to assign to the gpg_key_url property of this CustomSoftwareSource.

  • gpg_key_id (str) – The value to assign to the gpg_key_id property of this CustomSoftwareSource.

  • gpg_key_fingerprint (str) – The value to assign to the gpg_key_fingerprint property of this CustomSoftwareSource.

  • size (float) – The value to assign to the size property of this CustomSoftwareSource.

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

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

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

  • vendor_software_sources (list[oci.os_management_hub.models.Id]) – The value to assign to the vendor_software_sources property of this CustomSoftwareSource.

  • custom_software_source_filter (oci.os_management_hub.models.CustomSoftwareSourceFilter) – The value to assign to the custom_software_source_filter property of this CustomSoftwareSource.

  • is_automatically_updated (bool) – The value to assign to the is_automatically_updated property of this CustomSoftwareSource.

  • is_auto_resolve_dependencies (bool) – The value to assign to the is_auto_resolve_dependencies property of this CustomSoftwareSource.

  • is_created_from_package_list (bool) – The value to assign to the is_created_from_package_list property of this CustomSoftwareSource.

  • is_latest_content_only (bool) – The value to assign to the is_latest_content_only property of this CustomSoftwareSource.

  • packages (list[str]) – The value to assign to the packages property of this CustomSoftwareSource.

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

  • time_metadata_updated (datetime) – The value to assign to the time_metadata_updated property of this CustomSoftwareSource.

property arch_type

[Required] Gets the arch_type of this SoftwareSource. The architecture type supported by the software source.

Allowed values for this property are: “X86_64”, “AARCH64”, “I686”, “NOARCH”, “SRC”, “I386”, “AMD64”, “ARM64”, “ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The arch_type of this SoftwareSource.

Return type

str

property availability

[Required] Gets the availability of this SoftwareSource. Availability of the software source (for non-OCI environments).

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

Returns

The availability of this SoftwareSource.

Return type

str

property availability_at_oci

[Required] Gets the availability_at_oci of this SoftwareSource. Availability of the software source (for OCI environments).

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

Returns

The availability_at_oci of this SoftwareSource.

Return type

str

property checksum_type

Gets the checksum_type of this SoftwareSource. The yum repository checksum type used by this software source.

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

Returns

The checksum_type of this SoftwareSource.

Return type

str

property compartment_id

[Required] Gets the compartment_id of this SoftwareSource. The OCID of the compartment that contains the software source.

Returns

The compartment_id of this SoftwareSource.

Return type

str

property custom_software_source_filter

Gets the custom_software_source_filter of this CustomSoftwareSource.

Returns

The custom_software_source_filter of this CustomSoftwareSource.

Return type

oci.os_management_hub.models.CustomSoftwareSourceFilter

property defined_tags

Gets the defined_tags of this SoftwareSource. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns

The defined_tags of this SoftwareSource.

Return type

dict(str, dict(str, object))

property description

Gets the description of this SoftwareSource. User-specified description for the software source.

Returns

The description of this SoftwareSource.

Return type

str

property display_name

[Required] Gets the display_name of this SoftwareSource. User-friendly name for the software source.

Returns

The display_name of this SoftwareSource.

Return type

str

property freeform_tags

Gets the freeform_tags of this SoftwareSource. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns

The freeform_tags of this SoftwareSource.

Return type

dict(str, str)

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property gpg_key_fingerprint

Gets the gpg_key_fingerprint of this SoftwareSource. Fingerprint of the GPG key for this software source.

Returns

The gpg_key_fingerprint of this SoftwareSource.

Return type

str

property gpg_key_id

Gets the gpg_key_id of this SoftwareSource. ID of the GPG key for this software source.

Returns

The gpg_key_id of this SoftwareSource.

Return type

str

property gpg_key_url

Gets the gpg_key_url of this SoftwareSource. URI of the GPG key for this software source.

Returns

The gpg_key_url of this SoftwareSource.

Return type

str

property id

[Required] Gets the id of this SoftwareSource. The OCID of the software source.

Returns

The id of this SoftwareSource.

Return type

str

property is_auto_resolve_dependencies

Gets the is_auto_resolve_dependencies of this CustomSoftwareSource. Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.

Returns

The is_auto_resolve_dependencies of this CustomSoftwareSource.

Return type

bool

property is_automatically_updated

Gets the is_automatically_updated of this CustomSoftwareSource. Indicates whether the service should automatically update the custom software source to use the latest package versions available. The service reviews packages levels once a day.

Returns

The is_automatically_updated of this CustomSoftwareSource.

Return type

bool

property is_created_from_package_list

Gets the is_created_from_package_list of this CustomSoftwareSource. Indicates whether the service should create the software source from a list of packages provided by the user.

Returns

The is_created_from_package_list of this CustomSoftwareSource.

Return type

bool

property is_latest_content_only

Gets the is_latest_content_only of this CustomSoftwareSource. Indicates whether the software source will include only the latest versions of content from vendor software sources, while accounting for other constraints set in the custom or versioned custom software source (such as a package list or filters). * For a module filter that does not specify a stream, this will include all available streams, and within each stream only the latest version of packages. * For a module filter that does specify a stream, this will include only the latest version of packages for the specified stream. * For a package filter that does not specify a version, this will include only the latest available version of the package. * For a package filter that does specify a version, this will include only the specified version of the package (the isLatestContentOnly attribute is ignored). * For a package list, this will include only the specified version of packages and modules in the list (the isLatestContentOnly attribute is ignored).

Returns

The is_latest_content_only of this CustomSoftwareSource.

Return type

bool

property lifecycle_state

Gets the lifecycle_state of this SoftwareSource. The current state of the software source.

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

Returns

The lifecycle_state of this SoftwareSource.

Return type

str

property os_family

[Required] Gets the os_family of this SoftwareSource. The OS family of the software source.

Allowed values for this property are: “ORACLE_LINUX_10”, “ORACLE_LINUX_9”, “ORACLE_LINUX_8”, “ORACLE_LINUX_7”, “ORACLE_LINUX_6”, “WINDOWS_SERVER_2016”, “WINDOWS_SERVER_2019”, “WINDOWS_SERVER_2022”, “WINDOWS_SERVER_2025”, “WINDOWS_11”, “ALL”, “UBUNTU_20_04”, “UBUNTU_22_04”, “UBUNTU_24_04”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The os_family of this SoftwareSource.

Return type

str

property package_count

Gets the package_count of this SoftwareSource. Number of packages the software source contains.

Returns

The package_count of this SoftwareSource.

Return type

int

property packages

Gets the packages of this CustomSoftwareSource. The packages in the software source.

Returns

The packages of this CustomSoftwareSource.

Return type

list[str]

property repo_id

[Required] Gets the repo_id of this SoftwareSource. The repository ID for the software source.

Returns

The repo_id of this SoftwareSource.

Return type

str

property size

Gets the size of this SoftwareSource. The size of the software source in bytes (B).

Returns

The size of this SoftwareSource.

Return type

float

property software_source_sub_type

Gets the software_source_sub_type of this CustomSoftwareSource. Identifies how the custom software source was created.

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

Returns

The software_source_sub_type of this CustomSoftwareSource.

Return type

str

property software_source_type

[Required] Gets the software_source_type of this SoftwareSource. Type of software source.

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

Returns

The software_source_type of this SoftwareSource.

Return type

str

property system_tags

Gets the system_tags of this SoftwareSource. 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 SoftwareSource.

Return type

dict(str, dict(str, object))

property time_created

[Required] Gets the time_created of this SoftwareSource. The date and time the software source was created (in RFC 3339 format).

Returns

The time_created of this SoftwareSource.

Return type

datetime

property time_metadata_updated

Gets the time_metadata_updated of this CustomSoftwareSource. The date and time the metadata for this software source was last updated (in RFC 3339 format).

Returns

The time_metadata_updated of this CustomSoftwareSource.

Return type

datetime

property url

[Required] Gets the url of this SoftwareSource. URL for the repository. For vendor software sources, this is the URL to the regional yum server. For custom software sources, this is ‘custom/<repoId>’.

Returns

The url of this SoftwareSource.

Return type

str

property vendor_software_sources

[Required] Gets the vendor_software_sources of this CustomSoftwareSource. List of vendor software sources that are used for the basis of the custom software source.

Returns

The vendor_software_sources of this CustomSoftwareSource.

Return type

list[oci.os_management_hub.models.Id]