diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/CommonDefinitions.json b/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/CommonDefinitions.json index a2c99c28c997..8d9b013f3784 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/CommonDefinitions.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/CommonDefinitions.json @@ -546,6 +546,10 @@ "description": "Container App container Azure Queue based scaling rule.", "type": "object", "properties": { + "accountName": { + "description": "Storage account name. required if using managed identity to authenticate", + "type": "string" + }, "queueName": { "description": "Queue name.", "type": "string" diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/examples/ContainerApps_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/examples/ContainerApps_CreateOrUpdate.json index 5a166421db08..25afbfbcedc6 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/examples/ContainerApps_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/examples/ContainerApps_CreateOrUpdate.json @@ -192,6 +192,15 @@ }, "identity": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity" } + }, + { + "name": "azure-queue", + "azureQueue": { + "accountName": "account1", + "queueName": "queue1", + "queueLength": 1, + "identity": "system" + } } ] }, @@ -389,6 +398,15 @@ }, "identity": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity" } + }, + { + "name": "azure-queue", + "azureQueue": { + "accountName": "account1", + "queueName": "queue1", + "queueLength": 1, + "identity": "system" + } } ] }, @@ -533,6 +551,27 @@ "concurrentRequests": "50" } } + }, + { + "name": "servicebus", + "custom": { + "type": "azure-servicebus", + "metadata": { + "queueName": "myqueue", + "namespace": "mynamespace", + "messageCount": "5" + }, + "identity": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity" + } + }, + { + "name": "azure-queue", + "azureQueue": { + "accountName": "account1", + "queueName": "queue1", + "queueLength": 1, + "identity": "system" + } } ] },