ModuleStreamProfile

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

Bases: object

An object that defines a module stream profile provide by a software source.

Methods

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

Attributes

description Gets the description of this ModuleStreamProfile.
is_default Gets the is_default of this ModuleStreamProfile.
module_name [Required] Gets the module_name of this ModuleStreamProfile.
name [Required] Gets the name of this ModuleStreamProfile.
packages [Required] Gets the packages of this ModuleStreamProfile.
stream_name [Required] Gets the stream_name of this ModuleStreamProfile.
__init__(**kwargs)

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

Gets the description of this ModuleStreamProfile. A description of the contents of the module stream profile.

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

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

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

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

Returns:The module_name of this ModuleStreamProfile.
Return type:str
name

[Required] Gets the name of this ModuleStreamProfile. The name of the profile.

Returns:The name of this ModuleStreamProfile.
Return type:str
packages

[Required] Gets the packages of this ModuleStreamProfile. A list of packages that constitute the profile. Each element in the list is the name of a package. The name is suitable to use as an argument to other OS Management Hub APIs that interact directly with packages.

Returns:The packages of this ModuleStreamProfile.
Return type:list[str]
stream_name

[Required] Gets the stream_name of this ModuleStreamProfile. The name of the stream that contains the profile.

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