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

180 строки
14 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.cosmosdb.SqlContainerResource"
fullName: "com.microsoft.azure.management.cosmosdb.SqlContainerResource"
name: "SqlContainerResource"
nameWithType: "SqlContainerResource"
summary: "Cosmos DB SQL container resource object."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **SqlContainerResource**"
constructors:
- uid: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.SqlContainerResource()"
fullName: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.SqlContainerResource()"
name: "SqlContainerResource()"
nameWithType: "SqlContainerResource.SqlContainerResource()"
syntax: "public SqlContainerResource()"
methods:
- uid: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.conflictResolutionPolicy()"
fullName: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.conflictResolutionPolicy()"
name: "conflictResolutionPolicy()"
nameWithType: "SqlContainerResource.conflictResolutionPolicy()"
summary: "Get the conflict resolution policy for the container."
syntax: "public ConflictResolutionPolicy conflictResolutionPolicy()"
desc: "Get the conflict resolution policy for the container."
returns:
description: "the conflictResolutionPolicy value"
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy?alt=com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy&text=ConflictResolutionPolicy\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.defaultTtl()"
fullName: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.defaultTtl()"
name: "defaultTtl()"
nameWithType: "SqlContainerResource.defaultTtl()"
summary: "Get default time to live."
syntax: "public Integer defaultTtl()"
desc: "Get default time to live."
returns:
description: "the defaultTtl value"
type: "<xref href=\"java.lang.Integer?alt=java.lang.Integer&text=Integer\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.id()"
fullName: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.id()"
name: "id()"
nameWithType: "SqlContainerResource.id()"
summary: "Get name of the Cosmos DB SQL container."
syntax: "public String id()"
desc: "Get name of the Cosmos DB SQL container."
returns:
description: "the id value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.indexingPolicy()"
fullName: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.indexingPolicy()"
name: "indexingPolicy()"
nameWithType: "SqlContainerResource.indexingPolicy()"
summary: "Get the configuration of the indexing policy."
syntax: "public IndexingPolicy indexingPolicy()"
desc: "Get the configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container."
returns:
description: "the indexingPolicy value"
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.IndexingPolicy?alt=com.microsoft.azure.management.cosmosdb.IndexingPolicy&text=IndexingPolicy\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.partitionKey()"
fullName: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.partitionKey()"
name: "partitionKey()"
nameWithType: "SqlContainerResource.partitionKey()"
summary: "Get the configuration of the partition key to be used for partitioning data into multiple partitions."
syntax: "public ContainerPartitionKey partitionKey()"
desc: "Get the configuration of the partition key to be used for partitioning data into multiple partitions."
returns:
description: "the partitionKey value"
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.ContainerPartitionKey?alt=com.microsoft.azure.management.cosmosdb.ContainerPartitionKey&text=ContainerPartitionKey\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.uniqueKeyPolicy()"
fullName: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.uniqueKeyPolicy()"
name: "uniqueKeyPolicy()"
nameWithType: "SqlContainerResource.uniqueKeyPolicy()"
summary: "Get the unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service."
syntax: "public UniqueKeyPolicy uniqueKeyPolicy()"
desc: "Get the unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service."
returns:
description: "the uniqueKeyPolicy value"
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.UniqueKeyPolicy?alt=com.microsoft.azure.management.cosmosdb.UniqueKeyPolicy&text=UniqueKeyPolicy\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.withConflictResolutionPolicy(com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy)"
fullName: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.withConflictResolutionPolicy(ConflictResolutionPolicy conflictResolutionPolicy)"
name: "withConflictResolutionPolicy(ConflictResolutionPolicy conflictResolutionPolicy)"
nameWithType: "SqlContainerResource.withConflictResolutionPolicy(ConflictResolutionPolicy conflictResolutionPolicy)"
summary: "Set the conflict resolution policy for the container."
parameters:
- description: "the conflictResolutionPolicy value to set"
name: "conflictResolutionPolicy"
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy?alt=com.microsoft.azure.management.cosmosdb.ConflictResolutionPolicy&text=ConflictResolutionPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SqlContainerResource withConflictResolutionPolicy(ConflictResolutionPolicy conflictResolutionPolicy)"
desc: "Set the conflict resolution policy for the container."
returns:
description: "the SqlContainerResource object itself."
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.SqlContainerResource?alt=com.microsoft.azure.management.cosmosdb.SqlContainerResource&text=SqlContainerResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.withDefaultTtl(java.lang.Integer)"
fullName: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.withDefaultTtl(Integer defaultTtl)"
name: "withDefaultTtl(Integer defaultTtl)"
nameWithType: "SqlContainerResource.withDefaultTtl(Integer defaultTtl)"
summary: "Set default time to live."
parameters:
- description: "the defaultTtl value to set"
name: "defaultTtl"
type: "<xref href=\"java.lang.Integer?alt=java.lang.Integer&text=Integer\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SqlContainerResource withDefaultTtl(Integer defaultTtl)"
desc: "Set default time to live."
returns:
description: "the SqlContainerResource object itself."
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.SqlContainerResource?alt=com.microsoft.azure.management.cosmosdb.SqlContainerResource&text=SqlContainerResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.withId(java.lang.String)"
fullName: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.withId(String id)"
name: "withId(String id)"
nameWithType: "SqlContainerResource.withId(String id)"
summary: "Set name of the Cosmos DB SQL container."
parameters:
- description: "the id value to set"
name: "id"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SqlContainerResource withId(String id)"
desc: "Set name of the Cosmos DB SQL container."
returns:
description: "the SqlContainerResource object itself."
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.SqlContainerResource?alt=com.microsoft.azure.management.cosmosdb.SqlContainerResource&text=SqlContainerResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.withIndexingPolicy(com.microsoft.azure.management.cosmosdb.IndexingPolicy)"
fullName: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.withIndexingPolicy(IndexingPolicy indexingPolicy)"
name: "withIndexingPolicy(IndexingPolicy indexingPolicy)"
nameWithType: "SqlContainerResource.withIndexingPolicy(IndexingPolicy indexingPolicy)"
summary: "Set the configuration of the indexing policy."
parameters:
- description: "the indexingPolicy value to set"
name: "indexingPolicy"
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.IndexingPolicy?alt=com.microsoft.azure.management.cosmosdb.IndexingPolicy&text=IndexingPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SqlContainerResource withIndexingPolicy(IndexingPolicy indexingPolicy)"
desc: "Set the configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container."
returns:
description: "the SqlContainerResource object itself."
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.SqlContainerResource?alt=com.microsoft.azure.management.cosmosdb.SqlContainerResource&text=SqlContainerResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.withPartitionKey(com.microsoft.azure.management.cosmosdb.ContainerPartitionKey)"
fullName: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.withPartitionKey(ContainerPartitionKey partitionKey)"
name: "withPartitionKey(ContainerPartitionKey partitionKey)"
nameWithType: "SqlContainerResource.withPartitionKey(ContainerPartitionKey partitionKey)"
summary: "Set the configuration of the partition key to be used for partitioning data into multiple partitions."
parameters:
- description: "the partitionKey value to set"
name: "partitionKey"
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.ContainerPartitionKey?alt=com.microsoft.azure.management.cosmosdb.ContainerPartitionKey&text=ContainerPartitionKey\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SqlContainerResource withPartitionKey(ContainerPartitionKey partitionKey)"
desc: "Set the configuration of the partition key to be used for partitioning data into multiple partitions."
returns:
description: "the SqlContainerResource object itself."
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.SqlContainerResource?alt=com.microsoft.azure.management.cosmosdb.SqlContainerResource&text=SqlContainerResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.withUniqueKeyPolicy(com.microsoft.azure.management.cosmosdb.UniqueKeyPolicy)"
fullName: "com.microsoft.azure.management.cosmosdb.SqlContainerResource.withUniqueKeyPolicy(UniqueKeyPolicy uniqueKeyPolicy)"
name: "withUniqueKeyPolicy(UniqueKeyPolicy uniqueKeyPolicy)"
nameWithType: "SqlContainerResource.withUniqueKeyPolicy(UniqueKeyPolicy uniqueKeyPolicy)"
summary: "Set the unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service."
parameters:
- description: "the uniqueKeyPolicy value to set"
name: "uniqueKeyPolicy"
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.UniqueKeyPolicy?alt=com.microsoft.azure.management.cosmosdb.UniqueKeyPolicy&text=UniqueKeyPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SqlContainerResource withUniqueKeyPolicy(UniqueKeyPolicy uniqueKeyPolicy)"
desc: "Set the unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service."
returns:
description: "the SqlContainerResource object itself."
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.SqlContainerResource?alt=com.microsoft.azure.management.cosmosdb.SqlContainerResource&text=SqlContainerResource\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Cosmos DB SQL container resource object."
metadata: {}
package: "com.microsoft.azure.management.cosmosdb"
artifact: com.microsoft.azure:azure-mgmt-cosmosdb:1.41.4