SoftwareSourceDetails¶
- class oci.os_management_hub.models.SoftwareSourceDetails(**kwargs)¶
Bases:
objectProvides identifying information for the specified software source.
Attributes:
A constant which can be used with the software_source_type property of a SoftwareSourceDetails.
A constant which can be used with the software_source_type property of a SoftwareSourceDetails.
A constant which can be used with the software_source_type property of a SoftwareSourceDetails.
A constant which can be used with the software_source_type property of a SoftwareSourceDetails.
A constant which can be used with the software_source_type property of a SoftwareSourceDetails.
Gets the description of this SoftwareSourceDetails.
Gets the display_name of this SoftwareSourceDetails.
[Required] Gets the id of this SoftwareSourceDetails.
Gets the is_mandatory_for_autonomous_linux of this SoftwareSourceDetails.
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_PRIVATE = 'PRIVATE'¶
A constant which can be used with the software_source_type property of a SoftwareSourceDetails. 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 SoftwareSourceDetails. 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 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”, “PRIVATE”, “THIRD_PARTY”, ‘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.
- property description¶
Gets the description of this SoftwareSourceDetails. Software source description.
- Returns
The description of this SoftwareSourceDetails.
- Return type
str
- property display_name¶
Gets the display_name of this SoftwareSourceDetails. Software source name.
- Returns
The display_name of this SoftwareSourceDetails.
- Return type
str
- property id¶
[Required] Gets the id of this SoftwareSourceDetails. The OCID of the software source.
- Returns
The id of this SoftwareSourceDetails.
- Return type
str
- property 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
- property 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”, “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 SoftwareSourceDetails.
- Return type
str