ModuleStream

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

Bases: object

A module stream provided by a software source

Methods

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

Attributes

architecture Gets the architecture of this ModuleStream.
description Gets the description of this ModuleStream.
is_default Gets the is_default of this ModuleStream.
module_name [Required] Gets the module_name of this ModuleStream.
packages Gets the packages of this ModuleStream.
profiles Gets the profiles of this ModuleStream.
software_source_id Gets the software_source_id of this ModuleStream.
stream_name [Required] Gets the stream_name of this ModuleStream.
__init__(**kwargs)

Initializes a new ModuleStream 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 ModuleStream.
  • stream_name (str) – The value to assign to the stream_name property of this ModuleStream.
  • is_default (bool) – The value to assign to the is_default property of this ModuleStream.
  • software_source_id (str) – The value to assign to the software_source_id property of this ModuleStream.
  • architecture (str) – The value to assign to the architecture property of this ModuleStream.
  • description (str) – The value to assign to the description property of this ModuleStream.
  • profiles (list[str]) – The value to assign to the profiles property of this ModuleStream.
  • packages (list[str]) – The value to assign to the packages property of this ModuleStream.
architecture

Gets the architecture of this ModuleStream. The architecture for which the packages in this module stream were built

Returns:The architecture of this ModuleStream.
Return type:str
description

Gets the description of this ModuleStream. A description of the contents of the module stream

Returns:The description of this ModuleStream.
Return type:str
is_default

Gets the is_default of this ModuleStream. Indicates if this stream is the default for its module.

Returns:The is_default of this ModuleStream.
Return type:bool
module_name

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

Returns:The module_name of this ModuleStream.
Return type:str
packages

Gets the packages of this ModuleStream. A list of packages that are contained by the stream. Each element in the list is the name of a package. The name is suitable to use as an argument to other OS Management APIs that interact directly with packages.

Returns:The packages of this ModuleStream.
Return type:list[str]
profiles

Gets the profiles of this ModuleStream. A list of profiles that are part of the stream. Each element in the list is the name of a profile. The name is suitable to use as an argument to other OS Management APIs that interact directly with module stream profiles. However, it is not URL encoded.

Returns:The profiles of this ModuleStream.
Return type:list[str]
software_source_id

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

Returns:The software_source_id of this ModuleStream.
Return type:str
stream_name

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

Returns:The stream_name of this ModuleStream.
Return type:str