com.pulumi.azurenative.sql.inputs.FailoverGroupReadWriteEndpointArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.azurenative.sql.inputs;
import com.pulumi.azurenative.sql.enums.ReadWriteEndpointFailoverPolicy;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* Read-write endpoint of the failover group instance.
*
*/
public final class FailoverGroupReadWriteEndpointArgs extends com.pulumi.resources.ResourceArgs {
public static final FailoverGroupReadWriteEndpointArgs Empty = new FailoverGroupReadWriteEndpointArgs();
/**
* Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
*
*/
@Import(name="failoverPolicy", required=true)
private Output> failoverPolicy;
/**
* @return Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
*
*/
public Output> failoverPolicy() {
return this.failoverPolicy;
}
/**
* Grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
*
*/
@Import(name="failoverWithDataLossGracePeriodMinutes")
private @Nullable Output failoverWithDataLossGracePeriodMinutes;
/**
* @return Grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
*
*/
public Optional
© 2015 - 2024 Weber Informatics LLC | Privacy Policy