AvailableSoftwareSourceSummary

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

Bases: object

Provides summary information about an available software source. An available software source can be added to a managed instance. After a software source is added, packages from that software source can be installed on that managed instance.

Attributes

SOFTWARE_SOURCE_TYPE_CUSTOM A constant which can be used with the software_source_type property of a AvailableSoftwareSourceSummary.
SOFTWARE_SOURCE_TYPE_PRIVATE A constant which can be used with the software_source_type property of a AvailableSoftwareSourceSummary.
SOFTWARE_SOURCE_TYPE_THIRD_PARTY A constant which can be used with the software_source_type property of a AvailableSoftwareSourceSummary.
SOFTWARE_SOURCE_TYPE_VENDOR A constant which can be used with the software_source_type property of a AvailableSoftwareSourceSummary.
SOFTWARE_SOURCE_TYPE_VERSIONED A constant which can be used with the software_source_type property of a AvailableSoftwareSourceSummary.
compartment_id [Required] Gets the compartment_id of this AvailableSoftwareSourceSummary.
description Gets the description of this AvailableSoftwareSourceSummary.
display_name [Required] Gets the display_name of this AvailableSoftwareSourceSummary.
id [Required] Gets the id of this AvailableSoftwareSourceSummary.
software_source_type [Required] Gets the software_source_type of this AvailableSoftwareSourceSummary.

Methods

__init__(**kwargs) Initializes a new AvailableSoftwareSourceSummary object with values from keyword arguments.
SOFTWARE_SOURCE_TYPE_CUSTOM = 'CUSTOM'

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

__init__(**kwargs)

Initializes a new AvailableSoftwareSourceSummary object with values from keyword arguments. 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 AvailableSoftwareSourceSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this AvailableSoftwareSourceSummary.
  • display_name (str) – The value to assign to the display_name property of this AvailableSoftwareSourceSummary.
  • software_source_type (str) – The value to assign to the software_source_type property of this AvailableSoftwareSourceSummary. 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’.
  • description (str) – The value to assign to the description property of this AvailableSoftwareSourceSummary.
compartment_id

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

Returns:The compartment_id of this AvailableSoftwareSourceSummary.
Return type:str
description

Gets the description of this AvailableSoftwareSourceSummary. Software source description.

Returns:The description of this AvailableSoftwareSourceSummary.
Return type:str
display_name

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

Returns:The display_name of this AvailableSoftwareSourceSummary.
Return type:str
id

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

Returns:The id of this AvailableSoftwareSourceSummary.
Return type:str
software_source_type

[Required] Gets the software_source_type of this AvailableSoftwareSourceSummary. Type of the 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 AvailableSoftwareSourceSummary.
Return type:str