azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.managem...

253 строки
12 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: com.microsoft.azure.management.cosmosdb._consistency_policy
id: _consistency_policy
parent: com.microsoft.azure.management.cosmosdb
children:
- com.microsoft.azure.management.cosmosdb._consistency_policy.defaultConsistencyLevel()
- com.microsoft.azure.management.cosmosdb._consistency_policy.maxIntervalInSeconds()
- com.microsoft.azure.management.cosmosdb._consistency_policy.maxStalenessPrefix()
- com.microsoft.azure.management.cosmosdb._consistency_policy.withDefaultConsistencyLevel(DefaultConsistencyLevel)
- com.microsoft.azure.management.cosmosdb._consistency_policy.withMaxIntervalInSeconds(Integer)
- com.microsoft.azure.management.cosmosdb._consistency_policy.withMaxStalenessPrefix(Long)
href: com.microsoft.azure.management.cosmosdb._consistency_policy.yml
langs:
- java
name: ConsistencyPolicy
nameWithType: ConsistencyPolicy
fullName: com.microsoft.azure.management.cosmosdb.ConsistencyPolicy
type: Class
source:
remote: &o0
path: azure-mgmt-cosmosdb/src/main/java/com/microsoft/azure/management/cosmosdb/ConsistencyPolicy.java
branch: v1.3.0
repo: https://github.com/Azure/azure-sdk-for-java
path: azure-mgmt-cosmosdb/src/main/java/com/microsoft/azure/management/cosmosdb/ConsistencyPolicy.java
startLine: 15
package: com.microsoft.azure.management.cosmosdb
summary: <p>The consistency policy for the DocumentDB database account. </p>
syntax: &o1
content: public class ConsistencyPolicy
inheritance:
- java.lang.Object
- uid: com.microsoft.azure.management.cosmosdb._consistency_policy.defaultConsistencyLevel()
id: defaultConsistencyLevel()
parent: com.microsoft.azure.management.cosmosdb._consistency_policy
href: com.microsoft.azure.management.cosmosdb._consistency_policy.yml
langs:
- java
name: defaultConsistencyLevel()
nameWithType: ConsistencyPolicy.defaultConsistencyLevel()
fullName: com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.defaultConsistencyLevel()
overload: com.microsoft.azure.management.cosmosdb._consistency_policy.defaultConsistencyLevel*
type: Method
source:
remote: *o0
path: azure-mgmt-cosmosdb/src/main/java/com/microsoft/azure/management/cosmosdb/ConsistencyPolicy.java
startLine: 47
package: com.microsoft.azure.management.cosmosdb
summary: >-
<p>Get the defaultConsistencyLevel value.</p>
<p></p>
syntax:
content: public DefaultConsistencyLevel defaultConsistencyLevel()
return:
type: com.microsoft.azure.management.cosmosdb._default_consistency_level
description: <p>the defaultConsistencyLevel value </p>
- uid: com.microsoft.azure.management.cosmosdb._consistency_policy.maxIntervalInSeconds()
id: maxIntervalInSeconds()
parent: com.microsoft.azure.management.cosmosdb._consistency_policy
href: com.microsoft.azure.management.cosmosdb._consistency_policy.yml
langs:
- java
name: maxIntervalInSeconds()
nameWithType: ConsistencyPolicy.maxIntervalInSeconds()
fullName: com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.maxIntervalInSeconds()
overload: com.microsoft.azure.management.cosmosdb._consistency_policy.maxIntervalInSeconds*
type: Method
source:
remote: *o0
path: azure-mgmt-cosmosdb/src/main/java/com/microsoft/azure/management/cosmosdb/ConsistencyPolicy.java
startLine: 87
package: com.microsoft.azure.management.cosmosdb
summary: >-
<p>Get the maxIntervalInSeconds value.</p>
<p></p>
syntax:
content: public Integer maxIntervalInSeconds()
return:
type: 08effaa0
description: <p>the maxIntervalInSeconds value </p>
- uid: com.microsoft.azure.management.cosmosdb._consistency_policy.maxStalenessPrefix()
id: maxStalenessPrefix()
parent: com.microsoft.azure.management.cosmosdb._consistency_policy
href: com.microsoft.azure.management.cosmosdb._consistency_policy.yml
langs:
- java
name: maxStalenessPrefix()
nameWithType: ConsistencyPolicy.maxStalenessPrefix()
fullName: com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.maxStalenessPrefix()
overload: com.microsoft.azure.management.cosmosdb._consistency_policy.maxStalenessPrefix*
type: Method
source:
remote: *o0
path: azure-mgmt-cosmosdb/src/main/java/com/microsoft/azure/management/cosmosdb/ConsistencyPolicy.java
startLine: 67
package: com.microsoft.azure.management.cosmosdb
summary: >-
<p>Get the maxStalenessPrefix value.</p>
<p></p>
syntax:
content: public Long maxStalenessPrefix()
return:
type: 34f09483
description: <p>the maxStalenessPrefix value </p>
- uid: com.microsoft.azure.management.cosmosdb._consistency_policy.withDefaultConsistencyLevel(DefaultConsistencyLevel)
id: withDefaultConsistencyLevel(DefaultConsistencyLevel)
parent: com.microsoft.azure.management.cosmosdb._consistency_policy
href: com.microsoft.azure.management.cosmosdb._consistency_policy.yml
langs:
- java
name: withDefaultConsistencyLevel(DefaultConsistencyLevel defaultConsistencyLevel)
nameWithType: ConsistencyPolicy.withDefaultConsistencyLevel(DefaultConsistencyLevel defaultConsistencyLevel)
fullName: com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.withDefaultConsistencyLevel(DefaultConsistencyLevel defaultConsistencyLevel)
overload: com.microsoft.azure.management.cosmosdb._consistency_policy.withDefaultConsistencyLevel*
type: Method
source:
remote: *o0
path: azure-mgmt-cosmosdb/src/main/java/com/microsoft/azure/management/cosmosdb/ConsistencyPolicy.java
startLine: 57
package: com.microsoft.azure.management.cosmosdb
summary: >-
<p>Set the defaultConsistencyLevel value.</p>
<p></p>
syntax:
content: public ConsistencyPolicy withDefaultConsistencyLevel(DefaultConsistencyLevel defaultConsistencyLevel)
parameters:
- id: defaultConsistencyLevel
type: com.microsoft.azure.management.cosmosdb._default_consistency_level
description: <p>the defaultConsistencyLevel value to set </p>
return:
type: com.microsoft.azure.management.cosmosdb._consistency_policy
description: <p>the ConsistencyPolicy object itself. </p>
- uid: com.microsoft.azure.management.cosmosdb._consistency_policy.withMaxIntervalInSeconds(Integer)
id: withMaxIntervalInSeconds(Integer)
parent: com.microsoft.azure.management.cosmosdb._consistency_policy
href: com.microsoft.azure.management.cosmosdb._consistency_policy.yml
langs:
- java
name: withMaxIntervalInSeconds(Integer maxIntervalInSeconds)
nameWithType: ConsistencyPolicy.withMaxIntervalInSeconds(Integer maxIntervalInSeconds)
fullName: com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.withMaxIntervalInSeconds(Integer maxIntervalInSeconds)
overload: com.microsoft.azure.management.cosmosdb._consistency_policy.withMaxIntervalInSeconds*
type: Method
source:
remote: *o0
path: azure-mgmt-cosmosdb/src/main/java/com/microsoft/azure/management/cosmosdb/ConsistencyPolicy.java
startLine: 97
package: com.microsoft.azure.management.cosmosdb
summary: >-
<p>Set the maxIntervalInSeconds value.</p>
<p></p>
syntax:
content: public ConsistencyPolicy withMaxIntervalInSeconds(Integer maxIntervalInSeconds)
parameters:
- id: maxIntervalInSeconds
type: 08effaa0
description: <p>the maxIntervalInSeconds value to set </p>
return:
type: com.microsoft.azure.management.cosmosdb._consistency_policy
description: <p>the ConsistencyPolicy object itself. </p>
- uid: com.microsoft.azure.management.cosmosdb._consistency_policy.withMaxStalenessPrefix(Long)
id: withMaxStalenessPrefix(Long)
parent: com.microsoft.azure.management.cosmosdb._consistency_policy
href: com.microsoft.azure.management.cosmosdb._consistency_policy.yml
langs:
- java
name: withMaxStalenessPrefix(Long maxStalenessPrefix)
nameWithType: ConsistencyPolicy.withMaxStalenessPrefix(Long maxStalenessPrefix)
fullName: com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.withMaxStalenessPrefix(Long maxStalenessPrefix)
overload: com.microsoft.azure.management.cosmosdb._consistency_policy.withMaxStalenessPrefix*
type: Method
source:
remote: *o0
path: azure-mgmt-cosmosdb/src/main/java/com/microsoft/azure/management/cosmosdb/ConsistencyPolicy.java
startLine: 77
package: com.microsoft.azure.management.cosmosdb
summary: >-
<p>Set the maxStalenessPrefix value.</p>
<p></p>
syntax:
content: public ConsistencyPolicy withMaxStalenessPrefix(Long maxStalenessPrefix)
parameters:
- id: maxStalenessPrefix
type: 34f09483
description: <p>the maxStalenessPrefix value to set </p>
return:
type: com.microsoft.azure.management.cosmosdb._consistency_policy
description: <p>the ConsistencyPolicy object itself. </p>
references:
- uid: com.microsoft.azure.management.cosmosdb._consistency_policy.defaultConsistencyLevel*
name: defaultConsistencyLevel
nameWithType: ConsistencyPolicy.defaultConsistencyLevel
fullName: com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.defaultConsistencyLevel
package: com.microsoft.azure.management.cosmosdb
- uid: com.microsoft.azure.management.cosmosdb._consistency_policy.withDefaultConsistencyLevel*
name: withDefaultConsistencyLevel
nameWithType: ConsistencyPolicy.withDefaultConsistencyLevel
fullName: com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.withDefaultConsistencyLevel
package: com.microsoft.azure.management.cosmosdb
- uid: 34f09483
spec.java:
- name: Long
fullName: Long
- uid: com.microsoft.azure.management.cosmosdb._consistency_policy.maxStalenessPrefix*
name: maxStalenessPrefix
nameWithType: ConsistencyPolicy.maxStalenessPrefix
fullName: com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.maxStalenessPrefix
package: com.microsoft.azure.management.cosmosdb
- uid: com.microsoft.azure.management.cosmosdb._consistency_policy.withMaxStalenessPrefix*
name: withMaxStalenessPrefix
nameWithType: ConsistencyPolicy.withMaxStalenessPrefix
fullName: com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.withMaxStalenessPrefix
package: com.microsoft.azure.management.cosmosdb
- uid: 08effaa0
spec.java:
- name: Integer
fullName: Integer
- uid: com.microsoft.azure.management.cosmosdb._consistency_policy.maxIntervalInSeconds*
name: maxIntervalInSeconds
nameWithType: ConsistencyPolicy.maxIntervalInSeconds
fullName: com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.maxIntervalInSeconds
package: com.microsoft.azure.management.cosmosdb
- uid: com.microsoft.azure.management.cosmosdb._consistency_policy.withMaxIntervalInSeconds*
name: withMaxIntervalInSeconds
nameWithType: ConsistencyPolicy.withMaxIntervalInSeconds
fullName: com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.withMaxIntervalInSeconds
package: com.microsoft.azure.management.cosmosdb
- uid: com.microsoft.azure.management.cosmosdb._default_consistency_level
parent: com.microsoft.azure.management.cosmosdb
href: com.microsoft.azure.management.cosmosdb._default_consistency_level.yml
name: DefaultConsistencyLevel
nameWithType: DefaultConsistencyLevel
fullName: com.microsoft.azure.management.cosmosdb.DefaultConsistencyLevel
type: Enum
summary: <p>Defines values for DefaultConsistencyLevel. </p>
syntax:
content: public enum DefaultConsistencyLevel
- uid: com.microsoft.azure.management.cosmosdb._consistency_policy
parent: com.microsoft.azure.management.cosmosdb
href: com.microsoft.azure.management.cosmosdb._consistency_policy.yml
name: ConsistencyPolicy
nameWithType: ConsistencyPolicy
fullName: com.microsoft.azure.management.cosmosdb.ConsistencyPolicy
type: Class
summary: <p>The consistency policy for the DocumentDB database account. </p>
syntax: *o1