AttachSoftwareSourcesToManagedInstanceDetails

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

Bases: object

Provides the information used to attach software sources to a managed instance.

Methods

__init__(**kwargs) Initializes a new AttachSoftwareSourcesToManagedInstanceDetails object with values from keyword arguments.

Attributes

software_sources [Required] Gets the software_sources of this AttachSoftwareSourcesToManagedInstanceDetails.
work_request_details Gets the work_request_details of this AttachSoftwareSourcesToManagedInstanceDetails.
__init__(**kwargs)

Initializes a new AttachSoftwareSourcesToManagedInstanceDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • software_sources (list[str]) – The value to assign to the software_sources property of this AttachSoftwareSourcesToManagedInstanceDetails.
  • work_request_details (oci.os_management_hub.models.WorkRequestDetails) – The value to assign to the work_request_details property of this AttachSoftwareSourcesToManagedInstanceDetails.
software_sources

[Required] Gets the software_sources of this AttachSoftwareSourcesToManagedInstanceDetails. The list of software source OCIDs to be attached/detached.

Returns:The software_sources of this AttachSoftwareSourcesToManagedInstanceDetails.
Return type:list[str]
work_request_details

Gets the work_request_details of this AttachSoftwareSourcesToManagedInstanceDetails.

Returns:The work_request_details of this AttachSoftwareSourcesToManagedInstanceDetails.
Return type:oci.os_management_hub.models.WorkRequestDetails