AzureCosmosDBContainerResource Properties
ClassProperties7 members
Represents an Azure Cosmos DB Database Container.
Gets the connection string expression for the Azure Cosmos DB Database Container.
public ReferenceExpression ConnectionStringExpression { get; } Gets or sets the container name.
public string ContainerName { get; set; } 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; } Gets or sets the partition key path.
public string PartitionKeyPath { get; set; } Gets or sets the hierarchical partition keys.
public IReadOnlyList<string> PartitionKeyPaths { get; set; } Gets the default human-readable name of this resource's type.
public override string ResourceTypeDisplayName { get; }Remarks
Override this property to identify the service, such as Redis or PostgreSQL Server, independently of its technical resource type. The default is the resource type. This label does not change the resource name, service discovery, or OpenTelemetry identity. Use
ResourceBuilderExtensions.WithResourceTypeDisplayName to override the label for an instance.