ArmCosmosDBModelFactory.ExtendedCosmosDBSqlContainerResourceInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ExtendedCosmosDBSqlContainerResourceInfo(String, CosmosDBIndexingPolicy, CosmosDBContainerPartitionKey, Nullable<Int32>, IEnumerable<CosmosDBUniqueKey>, ConflictResolutionPolicy, CosmosDBClientEncryptionPolicy, Nullable<Int64>, String, Nullable<Single>, Nullable<ETag>)
- Source:
- ArmCosmosDBModelFactory.cs
public static Azure.ResourceManager.CosmosDB.Models.ExtendedCosmosDBSqlContainerResourceInfo ExtendedCosmosDBSqlContainerResourceInfo (string containerName = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBIndexingPolicy indexingPolicy = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBContainerPartitionKey partitionKey = default, int? defaultTtl = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBUniqueKey> uniqueKeys = default, Azure.ResourceManager.CosmosDB.Models.ConflictResolutionPolicy conflictResolutionPolicy = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBClientEncryptionPolicy clientEncryptionPolicy = default, long? analyticalStorageTtl = default, string rid = default, float? timestamp = default, Azure.ETag? etag = default);
static member ExtendedCosmosDBSqlContainerResourceInfo : string * Azure.ResourceManager.CosmosDB.Models.CosmosDBIndexingPolicy * Azure.ResourceManager.CosmosDB.Models.CosmosDBContainerPartitionKey * Nullable<int> * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBUniqueKey> * Azure.ResourceManager.CosmosDB.Models.ConflictResolutionPolicy * Azure.ResourceManager.CosmosDB.Models.CosmosDBClientEncryptionPolicy * Nullable<int64> * string * Nullable<single> * Nullable<Azure.ETag> -> Azure.ResourceManager.CosmosDB.Models.ExtendedCosmosDBSqlContainerResourceInfo
Public Shared Function ExtendedCosmosDBSqlContainerResourceInfo (Optional containerName As String = Nothing, Optional indexingPolicy As CosmosDBIndexingPolicy = Nothing, Optional partitionKey As CosmosDBContainerPartitionKey = Nothing, Optional defaultTtl As Nullable(Of Integer) = Nothing, Optional uniqueKeys As IEnumerable(Of CosmosDBUniqueKey) = Nothing, Optional conflictResolutionPolicy As ConflictResolutionPolicy = Nothing, Optional clientEncryptionPolicy As CosmosDBClientEncryptionPolicy = Nothing, Optional analyticalStorageTtl As Nullable(Of Long) = Nothing, Optional rid As String = Nothing, Optional timestamp As Nullable(Of Single) = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As ExtendedCosmosDBSqlContainerResourceInfo
Parameters
- containerName
- String
- indexingPolicy
- CosmosDBIndexingPolicy
- partitionKey
- CosmosDBContainerPartitionKey
- uniqueKeys
- IEnumerable<CosmosDBUniqueKey>
- conflictResolutionPolicy
- ConflictResolutionPolicy
- clientEncryptionPolicy
- CosmosDBClientEncryptionPolicy
- rid
- String
Returns
Applies to
ExtendedCosmosDBSqlContainerResourceInfo(String, CosmosDBIndexingPolicy, CosmosDBContainerPartitionKey, Nullable<Int32>, IEnumerable<CosmosDBUniqueKey>, ConflictResolutionPolicy, CosmosDBClientEncryptionPolicy, Nullable<Int64>, ResourceRestoreParameters, Nullable<CosmosDBAccountCreateMode>, MaterializedViewDefinition, IEnumerable<ComputedProperty>, String, Nullable<Single>, Nullable<ETag>)
- Source:
- ArmCosmosDBModelFactory.cs
Initializes a new instance of ExtendedCosmosDBSqlContainerResourceInfo.
public static Azure.ResourceManager.CosmosDB.Models.ExtendedCosmosDBSqlContainerResourceInfo ExtendedCosmosDBSqlContainerResourceInfo (string containerName = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBIndexingPolicy indexingPolicy = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBContainerPartitionKey partitionKey = default, int? defaultTtl = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBUniqueKey> uniqueKeys = default, Azure.ResourceManager.CosmosDB.Models.ConflictResolutionPolicy conflictResolutionPolicy = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBClientEncryptionPolicy clientEncryptionPolicy = default, long? analyticalStorageTtl = default, Azure.ResourceManager.CosmosDB.Models.ResourceRestoreParameters restoreParameters = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateMode? createMode = default, Azure.ResourceManager.CosmosDB.Models.MaterializedViewDefinition materializedViewDefinition = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.ComputedProperty> computedProperties = default, string rid = default, float? timestamp = default, Azure.ETag? etag = default);
static member ExtendedCosmosDBSqlContainerResourceInfo : string * Azure.ResourceManager.CosmosDB.Models.CosmosDBIndexingPolicy * Azure.ResourceManager.CosmosDB.Models.CosmosDBContainerPartitionKey * Nullable<int> * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBUniqueKey> * Azure.ResourceManager.CosmosDB.Models.ConflictResolutionPolicy * Azure.ResourceManager.CosmosDB.Models.CosmosDBClientEncryptionPolicy * Nullable<int64> * Azure.ResourceManager.CosmosDB.Models.ResourceRestoreParameters * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateMode> * Azure.ResourceManager.CosmosDB.Models.MaterializedViewDefinition * seq<Azure.ResourceManager.CosmosDB.Models.ComputedProperty> * string * Nullable<single> * Nullable<Azure.ETag> -> Azure.ResourceManager.CosmosDB.Models.ExtendedCosmosDBSqlContainerResourceInfo
Public Shared Function ExtendedCosmosDBSqlContainerResourceInfo (Optional containerName As String = Nothing, Optional indexingPolicy As CosmosDBIndexingPolicy = Nothing, Optional partitionKey As CosmosDBContainerPartitionKey = Nothing, Optional defaultTtl As Nullable(Of Integer) = Nothing, Optional uniqueKeys As IEnumerable(Of CosmosDBUniqueKey) = Nothing, Optional conflictResolutionPolicy As ConflictResolutionPolicy = Nothing, Optional clientEncryptionPolicy As CosmosDBClientEncryptionPolicy = Nothing, Optional analyticalStorageTtl As Nullable(Of Long) = Nothing, Optional restoreParameters As ResourceRestoreParameters = Nothing, Optional createMode As Nullable(Of CosmosDBAccountCreateMode) = Nothing, Optional materializedViewDefinition As MaterializedViewDefinition = Nothing, Optional computedProperties As IEnumerable(Of ComputedProperty) = Nothing, Optional rid As String = Nothing, Optional timestamp As Nullable(Of Single) = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As ExtendedCosmosDBSqlContainerResourceInfo
Parameters
- containerName
- String
Name of the Cosmos DB SQL container.
- indexingPolicy
- CosmosDBIndexingPolicy
The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container.
- partitionKey
- CosmosDBContainerPartitionKey
The configuration of the partition key to be used for partitioning data into multiple partitions.
- uniqueKeys
- IEnumerable<CosmosDBUniqueKey>
The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
- conflictResolutionPolicy
- ConflictResolutionPolicy
The conflict resolution policy for the container.
- clientEncryptionPolicy
- CosmosDBClientEncryptionPolicy
The client encryption policy for the container.
- restoreParameters
- ResourceRestoreParameters
Parameters to indicate the information about the restore.
- createMode
- Nullable<CosmosDBAccountCreateMode>
Enum to indicate the mode of resource creation.
- materializedViewDefinition
- MaterializedViewDefinition
The configuration for defining Materialized Views. This must be specified only for creating a Materialized View container.
- computedProperties
- IEnumerable<ComputedProperty>
List of computed properties.
- rid
- String
A system generated property. A unique identifier.
A system generated property that denotes the last updated timestamp of the resource.
A system generated property representing the resource etag required for optimistic concurrency control.
Returns
A new ExtendedCosmosDBSqlContainerResourceInfo instance for mocking.
Applies to
Azure SDK for .NET