Reference documentation and code samples for the Google Cloud Managed Lustre V1 API class Google::Cloud::Lustre::V1::MaintenancePolicy.
Defines a maintenance policy for a resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#maintenance_exclusion_window
def maintenance_exclusion_window() -> ::Array<::Google::Cloud::Lustre::V1::MaintenancePolicy::MaintenanceExclusionWindow>
Returns
- (::Array<::Google::Cloud::Lustre::V1::MaintenancePolicy::MaintenanceExclusionWindow>) — Optional. The exclusion windows for the instance. Currently limited to 1 window.
#maintenance_exclusion_window=
def maintenance_exclusion_window=(value) -> ::Array<::Google::Cloud::Lustre::V1::MaintenancePolicy::MaintenanceExclusionWindow>
Parameter
- value (::Array<::Google::Cloud::Lustre::V1::MaintenancePolicy::MaintenanceExclusionWindow>) — Optional. The exclusion windows for the instance. Currently limited to 1 window.
Returns
- (::Array<::Google::Cloud::Lustre::V1::MaintenancePolicy::MaintenanceExclusionWindow>) — Optional. The exclusion windows for the instance. Currently limited to 1 window.
#weekly_maintenance_windows
def weekly_maintenance_windows() -> ::Array<::Google::Cloud::Lustre::V1::MaintenancePolicy::WeeklyMaintenanceWindow>
Returns
- (::Array<::Google::Cloud::Lustre::V1::MaintenancePolicy::WeeklyMaintenanceWindow>) — Required. The weekly maintenance windows for the instance. Currently limited to 1 window.
#weekly_maintenance_windows=
def weekly_maintenance_windows=(value) -> ::Array<::Google::Cloud::Lustre::V1::MaintenancePolicy::WeeklyMaintenanceWindow>
Parameter
- value (::Array<::Google::Cloud::Lustre::V1::MaintenancePolicy::WeeklyMaintenanceWindow>) — Required. The weekly maintenance windows for the instance. Currently limited to 1 window.
Returns
- (::Array<::Google::Cloud::Lustre::V1::MaintenancePolicy::WeeklyMaintenanceWindow>) — Required. The weekly maintenance windows for the instance. Currently limited to 1 window.