ManageModuleStreamsOnManagedInstanceDetails¶
- class oci.os_management_hub.models.ManageModuleStreamsOnManagedInstanceDetails(**kwargs)¶
Bases:
objectThe set of changes to make to the state of the modules, streams, and profiles on a managed instance
Methods:
__init__(**kwargs)Initializes a new ManageModuleStreamsOnManagedInstanceDetails object with values from keyword arguments.
Attributes:
Gets the disable of this ManageModuleStreamsOnManagedInstanceDetails.
Gets the enable of this ManageModuleStreamsOnManagedInstanceDetails.
Gets the install of this ManageModuleStreamsOnManagedInstanceDetails.
Gets the is_dry_run of this ManageModuleStreamsOnManagedInstanceDetails.
Gets the remove of this ManageModuleStreamsOnManagedInstanceDetails.
Gets the work_request_details of this ManageModuleStreamsOnManagedInstanceDetails.
- __init__(**kwargs)¶
Initializes a new ManageModuleStreamsOnManagedInstanceDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
is_dry_run (bool) – The value to assign to the is_dry_run property of this ManageModuleStreamsOnManagedInstanceDetails.
enable (list[oci.os_management_hub.models.ModuleStreamDetails]) – The value to assign to the enable property of this ManageModuleStreamsOnManagedInstanceDetails.
disable (list[oci.os_management_hub.models.ModuleStreamDetails]) – The value to assign to the disable property of this ManageModuleStreamsOnManagedInstanceDetails.
install (list[oci.os_management_hub.models.ModuleStreamProfileDetails]) – The value to assign to the install property of this ManageModuleStreamsOnManagedInstanceDetails.
remove (list[oci.os_management_hub.models.ModuleStreamProfileDetails]) – The value to assign to the remove property of this ManageModuleStreamsOnManagedInstanceDetails.
work_request_details (oci.os_management_hub.models.WorkRequestDetails) – The value to assign to the work_request_details property of this ManageModuleStreamsOnManagedInstanceDetails.
- property disable¶
Gets the disable of this ManageModuleStreamsOnManagedInstanceDetails. The set of module streams to disable. Any profiles that are installed for the module stream will be removed as part of the operation. Once complete, the streams will be in ‘DISABLED’ status.
- Returns
The disable of this ManageModuleStreamsOnManagedInstanceDetails.
- Return type
- property enable¶
Gets the enable of this ManageModuleStreamsOnManagedInstanceDetails. The set of module streams to enable. If any streams of a module are already enabled, the service switches from the current stream to the new stream. Once complete, the streams will be in ‘ENABLED’ status.
- Returns
The enable of this ManageModuleStreamsOnManagedInstanceDetails.
- Return type
- property install¶
Gets the install of this ManageModuleStreamsOnManagedInstanceDetails. The set of module stream profiles to install. Any packages that are part of the profile are installed on the managed instance. Once complete, the profile will be in ‘INSTALLED’ status. The operation will return an error if you attempt to install a profile from a disabled stream, unless enabling the new module stream is included in this operation.
- Returns
The install of this ManageModuleStreamsOnManagedInstanceDetails.
- Return type
list[oci.os_management_hub.models.ModuleStreamProfileDetails]
- property is_dry_run¶
Gets the is_dry_run of this ManageModuleStreamsOnManagedInstanceDetails. Indicates if this operation is a dry run or if the operation should be committed. If set to true, the result of the operation will be evaluated but not committed. If set to false, the operation is committed to the managed instance. The default is false.
- Returns
The is_dry_run of this ManageModuleStreamsOnManagedInstanceDetails.
- Return type
bool
- property remove¶
Gets the remove of this ManageModuleStreamsOnManagedInstanceDetails. The set of module stream profiles to remove. Once complete, the profile will be in ‘AVAILABLE’ status. The status of packages within the profile after the operation is complete is defined by the package manager on the managed instance group.
- Returns
The remove of this ManageModuleStreamsOnManagedInstanceDetails.
- Return type
list[oci.os_management_hub.models.ModuleStreamProfileDetails]
- property work_request_details¶
Gets the work_request_details of this ManageModuleStreamsOnManagedInstanceDetails.
- Returns
The work_request_details of this ManageModuleStreamsOnManagedInstanceDetails.
- Return type