SwitchModuleStreamOnManagedInstanceDetails

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

Bases: object

Provides the information used to switch module streams on a managed instance.

Methods:

__init__(**kwargs)

Initializes a new SwitchModuleStreamOnManagedInstanceDetails object with values from keyword arguments.

Attributes:

module_name

[Required] Gets the module_name of this SwitchModuleStreamOnManagedInstanceDetails.

software_source_id

Gets the software_source_id of this SwitchModuleStreamOnManagedInstanceDetails.

stream_name

[Required] Gets the stream_name of this SwitchModuleStreamOnManagedInstanceDetails.

work_request_details

Gets the work_request_details of this SwitchModuleStreamOnManagedInstanceDetails.

__init__(**kwargs)

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

Parameters
  • work_request_details (oci.os_management_hub.models.WorkRequestDetails) – The value to assign to the work_request_details property of this SwitchModuleStreamOnManagedInstanceDetails.

  • module_name (str) – The value to assign to the module_name property of this SwitchModuleStreamOnManagedInstanceDetails.

  • stream_name (str) – The value to assign to the stream_name property of this SwitchModuleStreamOnManagedInstanceDetails.

  • software_source_id (str) – The value to assign to the software_source_id property of this SwitchModuleStreamOnManagedInstanceDetails.

property module_name

[Required] Gets the module_name of this SwitchModuleStreamOnManagedInstanceDetails. The name of a module.

Returns

The module_name of this SwitchModuleStreamOnManagedInstanceDetails.

Return type

str

property software_source_id

Gets the software_source_id of this SwitchModuleStreamOnManagedInstanceDetails. The OCID of the software source that contains the module stream.

Returns

The software_source_id of this SwitchModuleStreamOnManagedInstanceDetails.

Return type

str

property stream_name

[Required] Gets the stream_name of this SwitchModuleStreamOnManagedInstanceDetails. The name of a stream of the specified module.

Returns

The stream_name of this SwitchModuleStreamOnManagedInstanceDetails.

Return type

str

property work_request_details

Gets the work_request_details of this SwitchModuleStreamOnManagedInstanceDetails.

Returns

The work_request_details of this SwitchModuleStreamOnManagedInstanceDetails.

Return type

oci.os_management_hub.models.WorkRequestDetails