com.pulumi.azurenative.documentdb.inputs.ConsistencyPolicyArgs 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.documentdb.inputs;
import com.pulumi.azurenative.documentdb.enums.DefaultConsistencyLevel;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* The consistency policy for the Cosmos DB database account.
*
*/
public final class ConsistencyPolicyArgs extends com.pulumi.resources.ResourceArgs {
public static final ConsistencyPolicyArgs Empty = new ConsistencyPolicyArgs();
/**
* The default consistency level and configuration settings of the Cosmos DB account.
*
*/
@Import(name="defaultConsistencyLevel", required=true)
private Output defaultConsistencyLevel;
/**
* @return The default consistency level and configuration settings of the Cosmos DB account.
*
*/
public Output defaultConsistencyLevel() {
return this.defaultConsistencyLevel;
}
/**
* When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
*
*/
@Import(name="maxIntervalInSeconds")
private @Nullable Output maxIntervalInSeconds;
/**
* @return When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
*
*/
public Optional
© 2015 - 2024 Weber Informatics LLC | Privacy Policy