你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

QueueScaleRule Class

Container App container Azure Queue based scaling rule.

Constructor

QueueScaleRule()

Variables

Name Description
accountName
str

Storage account name. required if using managed identity to authenticate.

queueName
str

Queue name.

queueLength
int

Queue length.

auth
list[<xref:"ScaleRuleAuth">]

Authentication secrets for the queue scale rule.

identity
str

The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.

Attributes

accountName

Storage account name. required if using managed identity to authenticate.

accountName: str

auth

Authentication secrets for the queue scale rule.

auth: list[azure.mgmt.appcontainers.types.ScaleRuleAuth]

identity

The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.

identity: str

queueLength

Queue length.

queueLength: int

queueName

Queue name.

queueName: str