StageWindowsUpdatesOnManagedInstancesInCompartmentDetails¶
-
class
oci.os_management_hub.models.StageWindowsUpdatesOnManagedInstancesInCompartmentDetails(**kwargs)¶ Bases:
objectProvides the information used to download Windows updates of a specified type on managed instances within the specified compartment.
Attributes
WINDOWS_UPDATE_TYPES_ALLA constant which can be used with the windows_update_types property of a StageWindowsUpdatesOnManagedInstancesInCompartmentDetails. WINDOWS_UPDATE_TYPES_BUGFIXA constant which can be used with the windows_update_types property of a StageWindowsUpdatesOnManagedInstancesInCompartmentDetails. WINDOWS_UPDATE_TYPES_ENHANCEMENTA constant which can be used with the windows_update_types property of a StageWindowsUpdatesOnManagedInstancesInCompartmentDetails. WINDOWS_UPDATE_TYPES_OTHERA constant which can be used with the windows_update_types property of a StageWindowsUpdatesOnManagedInstancesInCompartmentDetails. WINDOWS_UPDATE_TYPES_SECURITYA constant which can be used with the windows_update_types property of a StageWindowsUpdatesOnManagedInstancesInCompartmentDetails. compartment_id[Required] Gets the compartment_id of this StageWindowsUpdatesOnManagedInstancesInCompartmentDetails. windows_update_typesGets the windows_update_types of this StageWindowsUpdatesOnManagedInstancesInCompartmentDetails. work_request_detailsGets the work_request_details of this StageWindowsUpdatesOnManagedInstancesInCompartmentDetails. Methods
__init__(**kwargs)Initializes a new StageWindowsUpdatesOnManagedInstancesInCompartmentDetails object with values from keyword arguments. -
WINDOWS_UPDATE_TYPES_ALL= 'ALL'¶ A constant which can be used with the windows_update_types property of a StageWindowsUpdatesOnManagedInstancesInCompartmentDetails. This constant has a value of “ALL”
-
WINDOWS_UPDATE_TYPES_BUGFIX= 'BUGFIX'¶ A constant which can be used with the windows_update_types property of a StageWindowsUpdatesOnManagedInstancesInCompartmentDetails. This constant has a value of “BUGFIX”
-
WINDOWS_UPDATE_TYPES_ENHANCEMENT= 'ENHANCEMENT'¶ A constant which can be used with the windows_update_types property of a StageWindowsUpdatesOnManagedInstancesInCompartmentDetails. This constant has a value of “ENHANCEMENT”
-
WINDOWS_UPDATE_TYPES_OTHER= 'OTHER'¶ A constant which can be used with the windows_update_types property of a StageWindowsUpdatesOnManagedInstancesInCompartmentDetails. This constant has a value of “OTHER”
-
WINDOWS_UPDATE_TYPES_SECURITY= 'SECURITY'¶ A constant which can be used with the windows_update_types property of a StageWindowsUpdatesOnManagedInstancesInCompartmentDetails. This constant has a value of “SECURITY”
-
__init__(**kwargs)¶ Initializes a new StageWindowsUpdatesOnManagedInstancesInCompartmentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compartment_id (str) – The value to assign to the compartment_id property of this StageWindowsUpdatesOnManagedInstancesInCompartmentDetails.
- windows_update_types (list[str]) – The value to assign to the windows_update_types property of this StageWindowsUpdatesOnManagedInstancesInCompartmentDetails. Allowed values for items in this list are: “SECURITY”, “BUGFIX”, “ENHANCEMENT”, “OTHER”, “ALL”
- work_request_details (oci.os_management_hub.models.WorkRequestDetails) – The value to assign to the work_request_details property of this StageWindowsUpdatesOnManagedInstancesInCompartmentDetails.
-
compartment_id¶ [Required] Gets the compartment_id of this StageWindowsUpdatesOnManagedInstancesInCompartmentDetails. The OCID of the compartment.
Returns: The compartment_id of this StageWindowsUpdatesOnManagedInstancesInCompartmentDetails. Return type: str
-
windows_update_types¶ Gets the windows_update_types of this StageWindowsUpdatesOnManagedInstancesInCompartmentDetails. The types of Windows updates to be installed.
Allowed values for items in this list are: “SECURITY”, “BUGFIX”, “ENHANCEMENT”, “OTHER”, “ALL”
Returns: The windows_update_types of this StageWindowsUpdatesOnManagedInstancesInCompartmentDetails. Return type: list[str]
-
work_request_details¶ Gets the work_request_details of this StageWindowsUpdatesOnManagedInstancesInCompartmentDetails.
Returns: The work_request_details of this StageWindowsUpdatesOnManagedInstancesInCompartmentDetails. Return type: oci.os_management_hub.models.WorkRequestDetails
-