azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.c...

342 строки
28 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource"
fullName: "com.azure.resourcemanager.cosmos.models.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: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public class **SqlContainerResource**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.cosmos.models.SqlContainerResource?alt=com.azure.resourcemanager.cosmos.models.SqlContainerResource&text=SqlContainerResource\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.SqlContainerResource()"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.SqlContainerResource()"
name: "SqlContainerResource()"
nameWithType: "SqlContainerResource.SqlContainerResource()"
summary: "Creates an instance of Sql<wbr>Container<wbr>Resource class."
syntax: "public SqlContainerResource()"
desc: "Creates an instance of SqlContainerResource class."
methods:
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.analyticalStorageTtl()"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.analyticalStorageTtl()"
name: "analyticalStorageTtl()"
nameWithType: "SqlContainerResource.analyticalStorageTtl()"
summary: "Get the analytical<wbr>Storage<wbr>Ttl property: Analytical TTL."
syntax: "public Long analyticalStorageTtl()"
desc: "Get the analyticalStorageTtl property: Analytical TTL."
returns:
description: "the analyticalStorageTtl value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.clientEncryptionPolicy()"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.clientEncryptionPolicy()"
name: "clientEncryptionPolicy()"
nameWithType: "SqlContainerResource.clientEncryptionPolicy()"
summary: "Get the client<wbr>Encryption<wbr>Policy property: The client encryption policy for the container."
syntax: "public ClientEncryptionPolicy clientEncryptionPolicy()"
desc: "Get the clientEncryptionPolicy property: The client encryption policy for the container."
returns:
description: "the clientEncryptionPolicy value."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.ClientEncryptionPolicy?alt=com.azure.resourcemanager.cosmos.models.ClientEncryptionPolicy&text=ClientEncryptionPolicy\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.computedProperties()"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.computedProperties()"
name: "computedProperties()"
nameWithType: "SqlContainerResource.computedProperties()"
summary: "Get the computed<wbr>Properties property: List of computed properties."
syntax: "public List<ComputedProperty> computedProperties()"
desc: "Get the computedProperties property: List of computed properties."
returns:
description: "the computedProperties value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.cosmos.models.ComputedProperty?alt=com.azure.resourcemanager.cosmos.models.ComputedProperty&text=ComputedProperty\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.conflictResolutionPolicy()"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.conflictResolutionPolicy()"
name: "conflictResolutionPolicy()"
nameWithType: "SqlContainerResource.conflictResolutionPolicy()"
summary: "Get the conflict<wbr>Resolution<wbr>Policy property: The conflict resolution policy for the container."
syntax: "public ConflictResolutionPolicy conflictResolutionPolicy()"
desc: "Get the conflictResolutionPolicy property: The conflict resolution policy for the container."
returns:
description: "the conflictResolutionPolicy value."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.ConflictResolutionPolicy?alt=com.azure.resourcemanager.cosmos.models.ConflictResolutionPolicy&text=ConflictResolutionPolicy\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.createMode()"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.createMode()"
name: "createMode()"
nameWithType: "SqlContainerResource.createMode()"
summary: "Get the create<wbr>Mode property: Enum to indicate the mode of resource creation."
syntax: "public CreateMode createMode()"
desc: "Get the createMode property: Enum to indicate the mode of resource creation."
returns:
description: "the createMode value."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.CreateMode?alt=com.azure.resourcemanager.cosmos.models.CreateMode&text=CreateMode\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.defaultTtl()"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.defaultTtl()"
name: "defaultTtl()"
nameWithType: "SqlContainerResource.defaultTtl()"
summary: "Get the default<wbr>Ttl property: Default time to live."
syntax: "public Integer defaultTtl()"
desc: "Get the defaultTtl property: Default time to live."
returns:
description: "the defaultTtl value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "SqlContainerResource.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Sql<wbr>Container<wbr>Resource from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static SqlContainerResource fromJson(JsonReader jsonReader)"
exceptions:
- description: "If the deserialized JSON object was missing any required properties."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of SqlContainerResource from the JsonReader."
returns:
description: "An instance of SqlContainerResource if the JsonReader was pointing to an instance of it, or null if it\n was pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.SqlContainerResource?alt=com.azure.resourcemanager.cosmos.models.SqlContainerResource&text=SqlContainerResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.id()"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.id()"
name: "id()"
nameWithType: "SqlContainerResource.id()"
summary: "Get the id property: Name of the Cosmos DB SQL container."
syntax: "public String id()"
desc: "Get the id property: Name of the Cosmos DB SQL container."
returns:
description: "the id value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.indexingPolicy()"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.indexingPolicy()"
name: "indexingPolicy()"
nameWithType: "SqlContainerResource.indexingPolicy()"
summary: "Get the indexing<wbr>Policy property: The configuration of the indexing policy."
syntax: "public IndexingPolicy indexingPolicy()"
desc: "Get the indexingPolicy property: 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.azure.resourcemanager.cosmos.models.IndexingPolicy?alt=com.azure.resourcemanager.cosmos.models.IndexingPolicy&text=IndexingPolicy\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.partitionKey()"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.partitionKey()"
name: "partitionKey()"
nameWithType: "SqlContainerResource.partitionKey()"
summary: "Get the partition<wbr>Key property: The configuration of the partition key to be used for partitioning data into multiple partitions."
syntax: "public ContainerPartitionKey partitionKey()"
desc: "Get the partitionKey property: The configuration of the partition key to be used for partitioning data into multiple partitions."
returns:
description: "the partitionKey value."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.ContainerPartitionKey?alt=com.azure.resourcemanager.cosmos.models.ContainerPartitionKey&text=ContainerPartitionKey\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.restoreParameters()"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.restoreParameters()"
name: "restoreParameters()"
nameWithType: "SqlContainerResource.restoreParameters()"
summary: "Get the restore<wbr>Parameters property: Parameters to indicate the information about the restore."
syntax: "public ResourceRestoreParameters restoreParameters()"
desc: "Get the restoreParameters property: Parameters to indicate the information about the restore."
returns:
description: "the restoreParameters value."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.ResourceRestoreParameters?alt=com.azure.resourcemanager.cosmos.models.ResourceRestoreParameters&text=ResourceRestoreParameters\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "SqlContainerResource.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.uniqueKeyPolicy()"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.uniqueKeyPolicy()"
name: "uniqueKeyPolicy()"
nameWithType: "SqlContainerResource.uniqueKeyPolicy()"
summary: "Get the unique<wbr>Key<wbr>Policy property: 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 uniqueKeyPolicy property: 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.azure.resourcemanager.cosmos.models.UniqueKeyPolicy?alt=com.azure.resourcemanager.cosmos.models.UniqueKeyPolicy&text=UniqueKeyPolicy\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.validate()"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.validate()"
name: "validate()"
nameWithType: "SqlContainerResource.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.withAnalyticalStorageTtl(java.lang.Long)"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.withAnalyticalStorageTtl(Long analyticalStorageTtl)"
name: "withAnalyticalStorageTtl(Long analyticalStorageTtl)"
nameWithType: "SqlContainerResource.withAnalyticalStorageTtl(Long analyticalStorageTtl)"
summary: "Set the analytical<wbr>Storage<wbr>Ttl property: Analytical TTL."
parameters:
- description: "the analyticalStorageTtl value to set."
name: "analyticalStorageTtl"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
syntax: "public SqlContainerResource withAnalyticalStorageTtl(Long analyticalStorageTtl)"
desc: "Set the analyticalStorageTtl property: Analytical TTL."
returns:
description: "the SqlContainerResource object itself."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.SqlContainerResource?alt=com.azure.resourcemanager.cosmos.models.SqlContainerResource&text=SqlContainerResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.withClientEncryptionPolicy(com.azure.resourcemanager.cosmos.models.ClientEncryptionPolicy)"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.withClientEncryptionPolicy(ClientEncryptionPolicy clientEncryptionPolicy)"
name: "withClientEncryptionPolicy(ClientEncryptionPolicy clientEncryptionPolicy)"
nameWithType: "SqlContainerResource.withClientEncryptionPolicy(ClientEncryptionPolicy clientEncryptionPolicy)"
summary: "Set the client<wbr>Encryption<wbr>Policy property: The client encryption policy for the container."
parameters:
- description: "the clientEncryptionPolicy value to set."
name: "clientEncryptionPolicy"
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.ClientEncryptionPolicy?alt=com.azure.resourcemanager.cosmos.models.ClientEncryptionPolicy&text=ClientEncryptionPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SqlContainerResource withClientEncryptionPolicy(ClientEncryptionPolicy clientEncryptionPolicy)"
desc: "Set the clientEncryptionPolicy property: The client encryption policy for the container."
returns:
description: "the SqlContainerResource object itself."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.SqlContainerResource?alt=com.azure.resourcemanager.cosmos.models.SqlContainerResource&text=SqlContainerResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.withComputedProperties(java.util.List<com.azure.resourcemanager.cosmos.models.ComputedProperty>)"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.withComputedProperties(List<ComputedProperty> computedProperties)"
name: "withComputedProperties(List<ComputedProperty> computedProperties)"
nameWithType: "SqlContainerResource.withComputedProperties(List<ComputedProperty> computedProperties)"
summary: "Set the computed<wbr>Properties property: List of computed properties."
parameters:
- description: "the computedProperties value to set."
name: "computedProperties"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.cosmos.models.ComputedProperty?alt=com.azure.resourcemanager.cosmos.models.ComputedProperty&text=ComputedProperty\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public SqlContainerResource withComputedProperties(List<ComputedProperty> computedProperties)"
desc: "Set the computedProperties property: List of computed properties."
returns:
description: "the SqlContainerResource object itself."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.SqlContainerResource?alt=com.azure.resourcemanager.cosmos.models.SqlContainerResource&text=SqlContainerResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.withConflictResolutionPolicy(com.azure.resourcemanager.cosmos.models.ConflictResolutionPolicy)"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.withConflictResolutionPolicy(ConflictResolutionPolicy conflictResolutionPolicy)"
name: "withConflictResolutionPolicy(ConflictResolutionPolicy conflictResolutionPolicy)"
nameWithType: "SqlContainerResource.withConflictResolutionPolicy(ConflictResolutionPolicy conflictResolutionPolicy)"
summary: "Set the conflict<wbr>Resolution<wbr>Policy property: The conflict resolution policy for the container."
parameters:
- description: "the conflictResolutionPolicy value to set."
name: "conflictResolutionPolicy"
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.ConflictResolutionPolicy?alt=com.azure.resourcemanager.cosmos.models.ConflictResolutionPolicy&text=ConflictResolutionPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SqlContainerResource withConflictResolutionPolicy(ConflictResolutionPolicy conflictResolutionPolicy)"
desc: "Set the conflictResolutionPolicy property: The conflict resolution policy for the container."
returns:
description: "the SqlContainerResource object itself."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.SqlContainerResource?alt=com.azure.resourcemanager.cosmos.models.SqlContainerResource&text=SqlContainerResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.withCreateMode(com.azure.resourcemanager.cosmos.models.CreateMode)"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.withCreateMode(CreateMode createMode)"
name: "withCreateMode(CreateMode createMode)"
nameWithType: "SqlContainerResource.withCreateMode(CreateMode createMode)"
summary: "Set the create<wbr>Mode property: Enum to indicate the mode of resource creation."
parameters:
- description: "the createMode value to set."
name: "createMode"
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.CreateMode?alt=com.azure.resourcemanager.cosmos.models.CreateMode&text=CreateMode\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SqlContainerResource withCreateMode(CreateMode createMode)"
desc: "Set the createMode property: Enum to indicate the mode of resource creation."
returns:
description: "the SqlContainerResource object itself."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.SqlContainerResource?alt=com.azure.resourcemanager.cosmos.models.SqlContainerResource&text=SqlContainerResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.withDefaultTtl(java.lang.Integer)"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.withDefaultTtl(Integer defaultTtl)"
name: "withDefaultTtl(Integer defaultTtl)"
nameWithType: "SqlContainerResource.withDefaultTtl(Integer defaultTtl)"
summary: "Set the default<wbr>Ttl property: Default time to live."
parameters:
- description: "the defaultTtl value to set."
name: "defaultTtl"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public SqlContainerResource withDefaultTtl(Integer defaultTtl)"
desc: "Set the defaultTtl property: Default time to live."
returns:
description: "the SqlContainerResource object itself."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.SqlContainerResource?alt=com.azure.resourcemanager.cosmos.models.SqlContainerResource&text=SqlContainerResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.withId(java.lang.String)"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.withId(String id)"
name: "withId(String id)"
nameWithType: "SqlContainerResource.withId(String id)"
summary: "Set the id property: Name of the Cosmos DB SQL container."
parameters:
- description: "the id value to set."
name: "id"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public SqlContainerResource withId(String id)"
desc: "Set the id property: Name of the Cosmos DB SQL container."
returns:
description: "the SqlContainerResource object itself."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.SqlContainerResource?alt=com.azure.resourcemanager.cosmos.models.SqlContainerResource&text=SqlContainerResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.withIndexingPolicy(com.azure.resourcemanager.cosmos.models.IndexingPolicy)"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.withIndexingPolicy(IndexingPolicy indexingPolicy)"
name: "withIndexingPolicy(IndexingPolicy indexingPolicy)"
nameWithType: "SqlContainerResource.withIndexingPolicy(IndexingPolicy indexingPolicy)"
summary: "Set the indexing<wbr>Policy property: The configuration of the indexing policy."
parameters:
- description: "the indexingPolicy value to set."
name: "indexingPolicy"
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.IndexingPolicy?alt=com.azure.resourcemanager.cosmos.models.IndexingPolicy&text=IndexingPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SqlContainerResource withIndexingPolicy(IndexingPolicy indexingPolicy)"
desc: "Set the indexingPolicy property: 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.azure.resourcemanager.cosmos.models.SqlContainerResource?alt=com.azure.resourcemanager.cosmos.models.SqlContainerResource&text=SqlContainerResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.withPartitionKey(com.azure.resourcemanager.cosmos.models.ContainerPartitionKey)"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.withPartitionKey(ContainerPartitionKey partitionKey)"
name: "withPartitionKey(ContainerPartitionKey partitionKey)"
nameWithType: "SqlContainerResource.withPartitionKey(ContainerPartitionKey partitionKey)"
summary: "Set the partition<wbr>Key property: 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.azure.resourcemanager.cosmos.models.ContainerPartitionKey?alt=com.azure.resourcemanager.cosmos.models.ContainerPartitionKey&text=ContainerPartitionKey\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SqlContainerResource withPartitionKey(ContainerPartitionKey partitionKey)"
desc: "Set the partitionKey property: 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.azure.resourcemanager.cosmos.models.SqlContainerResource?alt=com.azure.resourcemanager.cosmos.models.SqlContainerResource&text=SqlContainerResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.withRestoreParameters(com.azure.resourcemanager.cosmos.models.ResourceRestoreParameters)"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.withRestoreParameters(ResourceRestoreParameters restoreParameters)"
name: "withRestoreParameters(ResourceRestoreParameters restoreParameters)"
nameWithType: "SqlContainerResource.withRestoreParameters(ResourceRestoreParameters restoreParameters)"
summary: "Set the restore<wbr>Parameters property: Parameters to indicate the information about the restore."
parameters:
- description: "the restoreParameters value to set."
name: "restoreParameters"
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.ResourceRestoreParameters?alt=com.azure.resourcemanager.cosmos.models.ResourceRestoreParameters&text=ResourceRestoreParameters\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SqlContainerResource withRestoreParameters(ResourceRestoreParameters restoreParameters)"
desc: "Set the restoreParameters property: Parameters to indicate the information about the restore."
returns:
description: "the SqlContainerResource object itself."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.SqlContainerResource?alt=com.azure.resourcemanager.cosmos.models.SqlContainerResource&text=SqlContainerResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.withUniqueKeyPolicy(com.azure.resourcemanager.cosmos.models.UniqueKeyPolicy)"
fullName: "com.azure.resourcemanager.cosmos.models.SqlContainerResource.withUniqueKeyPolicy(UniqueKeyPolicy uniqueKeyPolicy)"
name: "withUniqueKeyPolicy(UniqueKeyPolicy uniqueKeyPolicy)"
nameWithType: "SqlContainerResource.withUniqueKeyPolicy(UniqueKeyPolicy uniqueKeyPolicy)"
summary: "Set the unique<wbr>Key<wbr>Policy property: 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.azure.resourcemanager.cosmos.models.UniqueKeyPolicy?alt=com.azure.resourcemanager.cosmos.models.UniqueKeyPolicy&text=UniqueKeyPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SqlContainerResource withUniqueKeyPolicy(UniqueKeyPolicy uniqueKeyPolicy)"
desc: "Set the uniqueKeyPolicy property: 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.azure.resourcemanager.cosmos.models.SqlContainerResource?alt=com.azure.resourcemanager.cosmos.models.SqlContainerResource&text=SqlContainerResource\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Cosmos DB SQL container resource object."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.cosmos.models.SqlContainerResource?alt=com.azure.resourcemanager.cosmos.models.SqlContainerResource&text=SqlContainerResource\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.cosmos.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-cosmos:2.44.0