InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails

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

Bases: object

Provides the information used to install all Windows updates of a specified type on managed instances within the specified compartment.

Attributes:

WINDOWS_UPDATE_TYPES_ALL

A constant which can be used with the windows_update_types property of a InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails.

WINDOWS_UPDATE_TYPES_BUGFIX

A constant which can be used with the windows_update_types property of a InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails.

WINDOWS_UPDATE_TYPES_ENHANCEMENT

A constant which can be used with the windows_update_types property of a InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails.

WINDOWS_UPDATE_TYPES_OTHER

A constant which can be used with the windows_update_types property of a InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails.

WINDOWS_UPDATE_TYPES_SECURITY

A constant which can be used with the windows_update_types property of a InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails.

compartment_id

[Required] Gets the compartment_id of this InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails.

windows_update_types

Gets the windows_update_types of this InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails.

work_request_details

Gets the work_request_details of this InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails.

Methods:

__init__(**kwargs)

Initializes a new InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails 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 InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails. 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 InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails. 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 InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails. 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 InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails. 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 InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails. This constant has a value of “SECURITY”

__init__(**kwargs)

Initializes a new InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails 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 InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails.

  • windows_update_types (list[str]) – The value to assign to the windows_update_types property of this InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails. 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 InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails.

property compartment_id

[Required] Gets the compartment_id of this InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails. The OCID of the compartment.

Returns

The compartment_id of this InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails.

Return type

str

property windows_update_types

Gets the windows_update_types of this InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails. 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 InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails.

Return type

list[str]

property work_request_details

Gets the work_request_details of this InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails.

Returns

The work_request_details of this InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails.

Return type

oci.os_management_hub.models.WorkRequestDetails