com.pulumi.azure.mysql.inputs.FlexibleServerHighAvailabilityArgs Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azure.mysql.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class FlexibleServerHighAvailabilityArgs extends com.pulumi.resources.ResourceArgs {
public static final FlexibleServerHighAvailabilityArgs Empty = new FlexibleServerHighAvailabilityArgs();
/**
* The high availability mode for the MySQL Flexible Server. Possibles values are `SameZone` and `ZoneRedundant`.
*
* > **NOTE:** `storage[0].auto_grow_enabled` must be enabled when `high_availability` is enabled. To change the `high_availability` for a MySQL Flexible Server created with `high_availability` disabled during creation, the resource has to be recreated.
*
*/
@Import(name="mode", required=true)
private Output mode;
/**
* @return The high availability mode for the MySQL Flexible Server. Possibles values are `SameZone` and `ZoneRedundant`.
*
* > **NOTE:** `storage[0].auto_grow_enabled` must be enabled when `high_availability` is enabled. To change the `high_availability` for a MySQL Flexible Server created with `high_availability` disabled during creation, the resource has to be recreated.
*
*/
public Output mode() {
return this.mode;
}
@Import(name="standbyAvailabilityZone")
private @Nullable Output standbyAvailabilityZone;
public Optional