SoftwareSourceDetails

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

Bases: object

Provides identifying information for the specified software source.

Attributes

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

Methods

__init__(**kwargs) Initializes a new SoftwareSourceDetails 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 SoftwareSourceDetails. This constant has a value of “CUSTOM”

SOFTWARE_SOURCE_TYPE_VENDOR = 'VENDOR'

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

__init__(**kwargs)

Initializes a new SoftwareSourceDetails 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 SoftwareSourceDetails.
  • display_name (str) – The value to assign to the display_name property of this SoftwareSourceDetails.
  • description (str) – The value to assign to the description property of this SoftwareSourceDetails.
  • software_source_type (str) – The value to assign to the software_source_type property of this SoftwareSourceDetails. Allowed values for this property are: “VENDOR”, “CUSTOM”, “VERSIONED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • is_mandatory_for_autonomous_linux (bool) – The value to assign to the is_mandatory_for_autonomous_linux property of this SoftwareSourceDetails.
description

Gets the description of this SoftwareSourceDetails. Software source description.

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

Gets the display_name of this SoftwareSourceDetails. Software source name.

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

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

Returns:The id of this SoftwareSourceDetails.
Return type:str
is_mandatory_for_autonomous_linux

Gets the is_mandatory_for_autonomous_linux of this SoftwareSourceDetails. Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can’t unselect it.

Returns:The is_mandatory_for_autonomous_linux of this SoftwareSourceDetails.
Return type:bool
software_source_type

Gets the software_source_type of this SoftwareSourceDetails. Type of the software source.

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

Returns:The software_source_type of this SoftwareSourceDetails.
Return type:str