共用方式為


ArmCosmosDBModelFactory.RestorableSqlContainerPropertiesResourceContainer Method

Definition

Overloads

RestorableSqlContainerPropertiesResourceContainer(String, CosmosDBIndexingPolicy, CosmosDBContainerPartitionKey, Nullable<Int32>, IEnumerable<CosmosDBUniqueKey>, ConflictResolutionPolicy, CosmosDBClientEncryptionPolicy, Nullable<Int64>, String, String, Nullable<Single>, Nullable<ETag>)
RestorableSqlContainerPropertiesResourceContainer(String, CosmosDBIndexingPolicy, CosmosDBContainerPartitionKey, Nullable<Int32>, IEnumerable<CosmosDBUniqueKey>, ConflictResolutionPolicy, CosmosDBClientEncryptionPolicy, Nullable<Int64>, ResourceRestoreParameters, Nullable<CosmosDBAccountCreateMode>, MaterializedViewDefinition, IEnumerable<ComputedProperty>, String, String, Nullable<Single>, Nullable<ETag>)

Initializes a new instance of RestorableSqlContainerPropertiesResourceContainer.

RestorableSqlContainerPropertiesResourceContainer(String, CosmosDBIndexingPolicy, CosmosDBContainerPartitionKey, Nullable<Int32>, IEnumerable<CosmosDBUniqueKey>, ConflictResolutionPolicy, CosmosDBClientEncryptionPolicy, Nullable<Int64>, String, String, Nullable<Single>, Nullable<ETag>)

Source:
ArmCosmosDBModelFactory.cs
public static Azure.ResourceManager.CosmosDB.Models.RestorableSqlContainerPropertiesResourceContainer RestorableSqlContainerPropertiesResourceContainer (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 self = default, string rid = default, float? timestamp = default, Azure.ETag? etag = default);
static member RestorableSqlContainerPropertiesResourceContainer : 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 * string * Nullable<single> * Nullable<Azure.ETag> -> Azure.ResourceManager.CosmosDB.Models.RestorableSqlContainerPropertiesResourceContainer
Public Shared Function RestorableSqlContainerPropertiesResourceContainer (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 self As String = Nothing, Optional rid As String = Nothing, Optional timestamp As Nullable(Of Single) = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As RestorableSqlContainerPropertiesResourceContainer

Parameters

containerName
String
indexingPolicy
CosmosDBIndexingPolicy
defaultTtl
Nullable<Int32>
conflictResolutionPolicy
ConflictResolutionPolicy
clientEncryptionPolicy
CosmosDBClientEncryptionPolicy
analyticalStorageTtl
Nullable<Int64>
self
String
rid
String
timestamp
Nullable<Single>
etag
Nullable<ETag>

Returns

Applies to

RestorableSqlContainerPropertiesResourceContainer(String, CosmosDBIndexingPolicy, CosmosDBContainerPartitionKey, Nullable<Int32>, IEnumerable<CosmosDBUniqueKey>, ConflictResolutionPolicy, CosmosDBClientEncryptionPolicy, Nullable<Int64>, ResourceRestoreParameters, Nullable<CosmosDBAccountCreateMode>, MaterializedViewDefinition, IEnumerable<ComputedProperty>, String, String, Nullable<Single>, Nullable<ETag>)

Source:
ArmCosmosDBModelFactory.cs

Initializes a new instance of RestorableSqlContainerPropertiesResourceContainer.

public static Azure.ResourceManager.CosmosDB.Models.RestorableSqlContainerPropertiesResourceContainer RestorableSqlContainerPropertiesResourceContainer (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 self = default, string rid = default, float? timestamp = default, Azure.ETag? etag = default);
static member RestorableSqlContainerPropertiesResourceContainer : 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 * string * Nullable<single> * Nullable<Azure.ETag> -> Azure.ResourceManager.CosmosDB.Models.RestorableSqlContainerPropertiesResourceContainer
Public Shared Function RestorableSqlContainerPropertiesResourceContainer (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 self As String = Nothing, Optional rid As String = Nothing, Optional timestamp As Nullable(Of Single) = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As RestorableSqlContainerPropertiesResourceContainer

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.

defaultTtl
Nullable<Int32>

Default time to live.

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.

analyticalStorageTtl
Nullable<Int64>

Analytical TTL.

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.

self
String

A system generated property that specifies the addressable path of the container resource.

rid
String

A system generated property. A unique identifier.

timestamp
Nullable<Single>

A system generated property that denotes the last updated timestamp of the resource.

etag
Nullable<ETag>

A system generated property representing the resource etag required for optimistic concurrency control.

Returns

A new RestorableSqlContainerPropertiesResourceContainer instance for mocking.

Applies to