ModuleStreamOnManagedInstanceSummary

class oci.os_management.models.ModuleStreamOnManagedInstanceSummary(**kwargs)

Bases: object

Summary information pertaining to a module stream on a managed instance

Attributes

STATUS_ACTIVE A constant which can be used with the status property of a ModuleStreamOnManagedInstanceSummary.
STATUS_DISABLED A constant which can be used with the status property of a ModuleStreamOnManagedInstanceSummary.
STATUS_ENABLED A constant which can be used with the status property of a ModuleStreamOnManagedInstanceSummary.
module_name [Required] Gets the module_name of this ModuleStreamOnManagedInstanceSummary.
profiles Gets the profiles of this ModuleStreamOnManagedInstanceSummary.
software_source_id Gets the software_source_id of this ModuleStreamOnManagedInstanceSummary.
status [Required] Gets the status of this ModuleStreamOnManagedInstanceSummary.
stream_name [Required] Gets the stream_name of this ModuleStreamOnManagedInstanceSummary.
time_modified Gets the time_modified of this ModuleStreamOnManagedInstanceSummary.

Methods

__init__(**kwargs) Initializes a new ModuleStreamOnManagedInstanceSummary object with values from keyword arguments.
STATUS_ACTIVE = 'ACTIVE'

A constant which can be used with the status property of a ModuleStreamOnManagedInstanceSummary. This constant has a value of “ACTIVE”

STATUS_DISABLED = 'DISABLED'

A constant which can be used with the status property of a ModuleStreamOnManagedInstanceSummary. This constant has a value of “DISABLED”

STATUS_ENABLED = 'ENABLED'

A constant which can be used with the status property of a ModuleStreamOnManagedInstanceSummary. This constant has a value of “ENABLED”

__init__(**kwargs)

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

Parameters:
  • module_name (str) – The value to assign to the module_name property of this ModuleStreamOnManagedInstanceSummary.
  • stream_name (str) – The value to assign to the stream_name property of this ModuleStreamOnManagedInstanceSummary.
  • status (str) – The value to assign to the status property of this ModuleStreamOnManagedInstanceSummary. Allowed values for this property are: “ENABLED”, “DISABLED”, “ACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • profiles (list[oci.os_management.models.ModuleStreamProfileOnManagedInstanceSummary]) – The value to assign to the profiles property of this ModuleStreamOnManagedInstanceSummary.
  • software_source_id (str) – The value to assign to the software_source_id property of this ModuleStreamOnManagedInstanceSummary.
  • time_modified (datetime) – The value to assign to the time_modified property of this ModuleStreamOnManagedInstanceSummary.
module_name

[Required] Gets the module_name of this ModuleStreamOnManagedInstanceSummary. The name of the module that contains the stream.

Returns:The module_name of this ModuleStreamOnManagedInstanceSummary.
Return type:str
profiles

Gets the profiles of this ModuleStreamOnManagedInstanceSummary. The set of profiles that the module stream contains.

Returns:The profiles of this ModuleStreamOnManagedInstanceSummary.
Return type:list[oci.os_management.models.ModuleStreamProfileOnManagedInstanceSummary]
software_source_id

Gets the software_source_id of this ModuleStreamOnManagedInstanceSummary. The OCID of the software source that provides this module stream.

Returns:The software_source_id of this ModuleStreamOnManagedInstanceSummary.
Return type:str
status

[Required] Gets the status of this ModuleStreamOnManagedInstanceSummary. The status of the stream

A stream with the “ENABLED” status can be used as a source for installing profiles. Streams with this status are also “ACTIVE”.

A stream with the “DISABLED” status cannot be the source for installing profiles. To install profiles and packages from this stream, it must be enabled.

A stream with the “ACTIVE” status can be used as a source for installing profiles. The packages that comprise the stream are also used when a matching package is installed directly. In general, a stream can have this status if it is the default stream for the module and no stream has been explicitly enabled.

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

Returns:The status of this ModuleStreamOnManagedInstanceSummary.
Return type:str
stream_name

[Required] Gets the stream_name of this ModuleStreamOnManagedInstanceSummary. The name of the stream.

Returns:The stream_name of this ModuleStreamOnManagedInstanceSummary.
Return type:str
time_modified

Gets the time_modified of this ModuleStreamOnManagedInstanceSummary. The date and time of the last status change for this profile, as described in RFC 3339, section 14.29.

Returns:The time_modified of this ModuleStreamOnManagedInstanceSummary.
Return type:datetime