UpdateModuleStreamDetails¶
-
class
oci.os_management.models.
UpdateModuleStreamDetails
(**kwargs)¶ Bases:
object
Information detailing the state of a module stream
Attributes
STATUS_ACTIVE
A constant which can be used with the status property of a UpdateModuleStreamDetails. STATUS_DISABLED
A constant which can be used with the status property of a UpdateModuleStreamDetails. STATUS_ENABLED
A constant which can be used with the status property of a UpdateModuleStreamDetails. is_default
Gets the is_default of this UpdateModuleStreamDetails. profiles
Gets the profiles of this UpdateModuleStreamDetails. software_source_name
Gets the software_source_name of this UpdateModuleStreamDetails. software_source_url
Gets the software_source_url of this UpdateModuleStreamDetails. status
[Required] Gets the status of this UpdateModuleStreamDetails. stream_name
[Required] Gets the stream_name of this UpdateModuleStreamDetails. time_modified
[Required] Gets the time_modified of this UpdateModuleStreamDetails. Methods
__init__
(**kwargs)Initializes a new UpdateModuleStreamDetails object with values from keyword arguments. -
STATUS_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the status property of a UpdateModuleStreamDetails. This constant has a value of “ACTIVE”
-
STATUS_DISABLED
= 'DISABLED'¶ A constant which can be used with the status property of a UpdateModuleStreamDetails. This constant has a value of “DISABLED”
-
STATUS_ENABLED
= 'ENABLED'¶ A constant which can be used with the status property of a UpdateModuleStreamDetails. This constant has a value of “ENABLED”
-
__init__
(**kwargs)¶ Initializes a new UpdateModuleStreamDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - stream_name (str) – The value to assign to the stream_name property of this UpdateModuleStreamDetails.
- status (str) – The value to assign to the status property of this UpdateModuleStreamDetails. Allowed values for this property are: “ENABLED”, “DISABLED”, “ACTIVE”
- time_modified (datetime) – The value to assign to the time_modified property of this UpdateModuleStreamDetails.
- software_source_name (str) – The value to assign to the software_source_name property of this UpdateModuleStreamDetails.
- software_source_url (str) – The value to assign to the software_source_url property of this UpdateModuleStreamDetails.
- is_default (bool) – The value to assign to the is_default property of this UpdateModuleStreamDetails.
- profiles (list[oci.os_management.models.UpdateModuleStreamProfileDetails]) – The value to assign to the profiles property of this UpdateModuleStreamDetails.
-
is_default
¶ Gets the is_default of this UpdateModuleStreamDetails. Indicates if the module stream is the default
Returns: The is_default of this UpdateModuleStreamDetails. Return type: bool
-
profiles
¶ Gets the profiles of this UpdateModuleStreamDetails. The profiles of the stream
Returns: The profiles of this UpdateModuleStreamDetails. Return type: list[oci.os_management.models.UpdateModuleStreamProfileDetails]
-
software_source_name
¶ Gets the software_source_name of this UpdateModuleStreamDetails. The name of the software source that publishes this stream.
Returns: The software_source_name of this UpdateModuleStreamDetails. Return type: str
-
software_source_url
¶ Gets the software_source_url of this UpdateModuleStreamDetails. The URL of the software source that publishes this stream.
Returns: The software_source_url of this UpdateModuleStreamDetails. Return type: str
-
status
¶ [Required] Gets the status of this UpdateModuleStreamDetails. 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”
Returns: The status of this UpdateModuleStreamDetails. Return type: str
-
stream_name
¶ [Required] Gets the stream_name of this UpdateModuleStreamDetails. The name of the stream of the parent module
Returns: The stream_name of this UpdateModuleStreamDetails. Return type: str
-