Skip to content
DocsTry Aspire
DocsTry

AzureCosmosDBContainerResource Properties

ClassProperties6 members
Represents an Azure Cosmos DB Database Container.
ConnectionStringExpressionSection titled ConnectionStringExpressionReferenceExpression
Gets the connection string expression for the Azure Cosmos DB Database Container.
public ReferenceExpression ConnectionStringExpression { get; }
ContainerNameSection titled ContainerNamestring
Gets or sets the container name.
public string ContainerName { get; set; }
ContainerPropertiesSection titled ContainerPropertiesContainerProperties
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; }
PartitionKeyPathSection titled PartitionKeyPathstring
Gets or sets the partition key path.
public string PartitionKeyPath { get; set; }
PartitionKeyPathsSection titled PartitionKeyPathsIReadOnlyList<string>
Gets or sets the hierarchical partition keys.
public IReadOnlyList<string> PartitionKeyPaths { get; set; }