BackupExternal / Client / put_agent_upgrade_settings
put_agent_upgrade_settings¶
- BackupExternal.Client.put_agent_upgrade_settings(**kwargs)¶
Configures per-appliance daily auto-upgrade settings.
When
EnableAutoUpgradeis true,StartHourUtcandEndHourUtcare required and define the daily UTC window during which the appliance may be upgraded automatically. The upgrade fires once daily at a random time within the configured window.Validation rules:
If EnableAutoUpgrade=true, StartHourUtc and EndHourUtc MUST both be provided.
If EnableAutoUpgrade=false, StartHourUtc and EndHourUtc are ignored.
Wrap-around is supported (e.g., StartHourUtc=22, EndHourUtc=4 means 10pm-4am UTC).
Window must be ≥1 hour (StartHourUtc != EndHourUtc).
See also: AWS API Documentation
Request Syntax
response = client.put_agent_upgrade_settings( ApplianceArn='string', EnableAutoUpgrade=True|False, StartHourUtc=123, EndHourUtc=123 )
- Parameters:
ApplianceArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the appliance.
EnableAutoUpgrade (boolean) –
[REQUIRED]
Specifies whether automatic agent upgrades are enabled for the appliance.
StartHourUtc (integer) – Hour of day in UTC (0-23 inclusive).
EndHourUtc (integer) – Hour of day in UTC (0-23 inclusive).
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions