Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::HostMaintenancePolicy.
HostMaintenancePolicy contains the maintenance policy for the hosts on which the GKE VMs run on.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#maintenance_interval
def maintenance_interval() -> ::Google::Cloud::Container::V1beta1::HostMaintenancePolicy::MaintenanceInterval
Returns
- (::Google::Cloud::Container::V1beta1::HostMaintenancePolicy::MaintenanceInterval) — Specifies the frequency of planned maintenance events.
#maintenance_interval=
def maintenance_interval=(value) -> ::Google::Cloud::Container::V1beta1::HostMaintenancePolicy::MaintenanceInterval
Parameter
- value (::Google::Cloud::Container::V1beta1::HostMaintenancePolicy::MaintenanceInterval) — Specifies the frequency of planned maintenance events.
Returns
- (::Google::Cloud::Container::V1beta1::HostMaintenancePolicy::MaintenanceInterval) — Specifies the frequency of planned maintenance events.
#opportunistic_maintenance_strategy
def opportunistic_maintenance_strategy() -> ::Google::Cloud::Container::V1beta1::HostMaintenancePolicy::OpportunisticMaintenanceStrategy
Returns
- (::Google::Cloud::Container::V1beta1::HostMaintenancePolicy::OpportunisticMaintenanceStrategy) — Strategy that will trigger maintenance on behalf of the customer.
#opportunistic_maintenance_strategy=
def opportunistic_maintenance_strategy=(value) -> ::Google::Cloud::Container::V1beta1::HostMaintenancePolicy::OpportunisticMaintenanceStrategy
Parameter
- value (::Google::Cloud::Container::V1beta1::HostMaintenancePolicy::OpportunisticMaintenanceStrategy) — Strategy that will trigger maintenance on behalf of the customer.
Returns
- (::Google::Cloud::Container::V1beta1::HostMaintenancePolicy::OpportunisticMaintenanceStrategy) — Strategy that will trigger maintenance on behalf of the customer.