Skip to content
Docs Try Aspire

AzureCosmosDBContainerResource Properties

Class Properties 6 members
Represents an Azure Cosmos DB Database Container.
ConnectionStringExpression Section titled ConnectionStringExpression ReferenceExpression
Gets the connection string expression for the Azure Cosmos DB Database Container.
public ReferenceExpression ConnectionStringExpression { get; }
ContainerName Section titled ContainerName string
Gets or sets the container name.
public string ContainerName { get; set; }
ContainerProperties Section titled ContainerProperties ContainerProperties
Gets the container properties for this azure cosmos db container resource.
public ContainerProperties ContainerProperties { get; }
Gets the parent Azure Cosmos DB database resource.
public AzureCosmosDBDatabaseResource Parent { get; }
PartitionKeyPath Section titled PartitionKeyPath string
Gets or sets the partition key path.
public string PartitionKeyPath { get; set; }
PartitionKeyPaths Section titled PartitionKeyPaths IReadOnlyList<string>
Gets or sets the hierarchical partition keys.
public IReadOnlyList<string> PartitionKeyPaths { get; set; }