ModuleStreamProfile

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

Bases: object

A module stream profile provided 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.
packages [Required] Gets the packages of this ModuleStreamProfile.
profile_name [Required] Gets the profile_name 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.
  • profile_name (str) – The value to assign to the profile_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
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 APIs that interact directly with packages.

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

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

Returns:The profile_name of this ModuleStreamProfile.
Return type: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