
com.google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicyOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/compute/v1/compute.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.compute.v1;
public interface InstanceGroupManagerInstanceLifecyclePolicyOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicy)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
* Check the DefaultActionOnFailure enum for the list of possible values.
*
*
* optional string default_action_on_failure = 61383253;
*
* @return Whether the defaultActionOnFailure field is set.
*/
boolean hasDefaultActionOnFailure();
/**
*
*
*
* The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
* Check the DefaultActionOnFailure enum for the list of possible values.
*
*
* optional string default_action_on_failure = 61383253;
*
* @return The defaultActionOnFailure.
*/
java.lang.String getDefaultActionOnFailure();
/**
*
*
*
* The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
* Check the DefaultActionOnFailure enum for the list of possible values.
*
*
* optional string default_action_on_failure = 61383253;
*
* @return The bytes for defaultActionOnFailure.
*/
com.google.protobuf.ByteString getDefaultActionOnFailureBytes();
/**
*
*
*
* A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
* Check the ForceUpdateOnRepair enum for the list of possible values.
*
*
* optional string force_update_on_repair = 356302027;
*
* @return Whether the forceUpdateOnRepair field is set.
*/
boolean hasForceUpdateOnRepair();
/**
*
*
*
* A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
* Check the ForceUpdateOnRepair enum for the list of possible values.
*
*
* optional string force_update_on_repair = 356302027;
*
* @return The forceUpdateOnRepair.
*/
java.lang.String getForceUpdateOnRepair();
/**
*
*
*
* A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
* Check the ForceUpdateOnRepair enum for the list of possible values.
*
*
* optional string force_update_on_repair = 356302027;
*
* @return The bytes for forceUpdateOnRepair.
*/
com.google.protobuf.ByteString getForceUpdateOnRepairBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy