Update Class

Maintenance update on a resource.

Inheritance
Update

Constructor

Update(*, maintenance_scope: typing.Union[str, _ForwardRef('MaintenanceScope'), NoneType] = None, impact_type: typing.Union[str, _ForwardRef('ImpactType'), NoneType] = None, status: typing.Union[str, _ForwardRef('UpdateStatus'), NoneType] = None, impact_duration_in_sec: typing.Union[int, NoneType] = None, not_before: typing.Union[datetime.datetime, NoneType] = None, resource_id: typing.Union[str, NoneType] = None, **kwargs)

Parameters

maintenance_scope
str or MaintenanceScope
Required

The impact area. Possible values include: "Host", "OSImage", "Extension", "InGuestPatch", "SQLDB", "SQLManagedInstance".

impact_type
str or ImpactType
Required

The impact type. Possible values include: "None", "Freeze", "Restart", "Redeploy".

status
str or UpdateStatus
Required

The status. Possible values include: "Pending", "InProgress", "Completed", "RetryNow", "RetryLater".

impact_duration_in_sec
int
Required

Duration of impact in seconds.

not_before
datetime
Required

Time when Azure will start force updates if not self-updated by customer before this time.

resource_id
str
Required

The resourceId.