Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class MaintenanceWindow.
Maintenance window as defined by Oracle.
https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/MaintenanceWindow
Generated from protobuf message google.cloud.oracledatabase.v1.MaintenanceWindow
Namespace
Google \ Cloud \ OracleDatabase \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ preference |
int
Optional. The maintenance window scheduling preference. |
↳ months |
array
Optional. Months during the year when maintenance should be performed. |
↳ weeks_of_month |
array
Optional. Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. |
↳ days_of_week |
array
Optional. Days during the week when maintenance should be performed. |
↳ hours_of_day |
array
Optional. The window of hours during the day when maintenance should be performed. The window is a 4 hour slot. Valid values are: 0 - represents time slot 0:00 - 3:59 UTC 4 - represents time slot 4:00 - 7:59 UTC 8 - represents time slot 8:00 - 11:59 UTC 12 - represents time slot 12:00 - 15:59 UTC 16 - represents time slot 16:00 - 19:59 UTC 20 - represents time slot 20:00 - 23:59 UTC |
↳ lead_time_week |
int
Optional. Lead time window allows user to set a lead time to prepare for a down time. The lead time is in weeks and valid value is between 1 to 4. |
↳ patching_mode |
int
Optional. Cloud CloudExadataInfrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING. |
↳ custom_action_timeout_mins |
int
Optional. Determines the amount of time the system will wait before the start of each database server patching operation. Custom action timeout is in minutes and valid value is between 15 to 120 (inclusive). |
↳ is_custom_action_timeout_enabled |
bool
Optional. If true, enables the configuration of a custom action timeout (waiting period) between database server patching operations. |
getPreference
Optional. The maintenance window scheduling preference.
Returns | |
---|---|
Type | Description |
int |
setPreference
Optional. The maintenance window scheduling preference.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getMonths
Optional. Months during the year when maintenance should be performed.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setMonths
Optional. Months during the year when maintenance should be performed.
Parameter | |
---|---|
Name | Description |
var |
int[]
|
Returns | |
---|---|
Type | Description |
$this |
getWeeksOfMonth
Optional. Weeks during the month when maintenance should be performed.
Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setWeeksOfMonth
Optional. Weeks during the month when maintenance should be performed.
Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week.
Parameter | |
---|---|
Name | Description |
var |
int[]
|
Returns | |
---|---|
Type | Description |
$this |
getDaysOfWeek
Optional. Days during the week when maintenance should be performed.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setDaysOfWeek
Optional. Days during the week when maintenance should be performed.
Parameter | |
---|---|
Name | Description |
var |
int[]
|
Returns | |
---|---|
Type | Description |
$this |
getHoursOfDay
Optional. The window of hours during the day when maintenance should be performed. The window is a 4 hour slot. Valid values are: 0 - represents time slot 0:00 - 3:59 UTC 4 - represents time slot 4:00 - 7:59 UTC 8 - represents time slot 8:00 - 11:59 UTC 12 - represents time slot 12:00 - 15:59 UTC 16 - represents time slot 16:00 - 19:59 UTC 20 - represents time slot 20:00 - 23:59 UTC
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setHoursOfDay
Optional. The window of hours during the day when maintenance should be performed. The window is a 4 hour slot. Valid values are: 0 - represents time slot 0:00 - 3:59 UTC 4 - represents time slot 4:00 - 7:59 UTC 8 - represents time slot 8:00 - 11:59 UTC 12 - represents time slot 12:00 - 15:59 UTC 16 - represents time slot 16:00 - 19:59 UTC 20 - represents time slot 20:00 - 23:59 UTC
Parameter | |
---|---|
Name | Description |
var |
int[]
|
Returns | |
---|---|
Type | Description |
$this |
getLeadTimeWeek
Optional. Lead time window allows user to set a lead time to prepare for a down time. The lead time is in weeks and valid value is between 1 to 4.
Returns | |
---|---|
Type | Description |
int |
setLeadTimeWeek
Optional. Lead time window allows user to set a lead time to prepare for a down time. The lead time is in weeks and valid value is between 1 to 4.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getPatchingMode
Optional. Cloud CloudExadataInfrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
Returns | |
---|---|
Type | Description |
int |
setPatchingMode
Optional. Cloud CloudExadataInfrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getCustomActionTimeoutMins
Optional. Determines the amount of time the system will wait before the start of each database server patching operation. Custom action timeout is in minutes and valid value is between 15 to 120 (inclusive).
Returns | |
---|---|
Type | Description |
int |
setCustomActionTimeoutMins
Optional. Determines the amount of time the system will wait before the start of each database server patching operation. Custom action timeout is in minutes and valid value is between 15 to 120 (inclusive).
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getIsCustomActionTimeoutEnabled
Optional. If true, enables the configuration of a custom action timeout (waiting period) between database server patching operations.
Returns | |
---|---|
Type | Description |
bool |
setIsCustomActionTimeoutEnabled
Optional. If true, enables the configuration of a custom action timeout (waiting period) between database server patching operations.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |