Class ConsistencyPolicyArgs


  • public final class ConsistencyPolicyArgs
    extends com.pulumi.resources.ResourceArgs
    The consistency policy for the Cosmos DB database account.
    • Method Detail

      • defaultConsistencyLevel

        public com.pulumi.core.Output<DefaultConsistencyLevel> defaultConsistencyLevel()
        Returns:
        The default consistency level and configuration settings of the Cosmos DB account.
      • maxIntervalInSeconds

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> maxIntervalInSeconds()
        Returns:
        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'.
      • maxStalenessPrefix

        public java.util.Optional<com.pulumi.core.Output<java.lang.Double>> maxStalenessPrefix()
        Returns:
        When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.