Skip to content

Commit

Permalink
Provide documentation for accountName for Azure Storage Queues (v2.…
Browse files Browse the repository at this point in the history
…3) (kedacore#440)

Signed-off-by: csnance <[email protected]>
  • Loading branch information
csnance authored May 7, 2021
1 parent e4f7ab5 commit 8577f3c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion content/docs/2.3/scalers/azure-storage-queue.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ triggers:
queueName: orders
queueLength: '5'
connectionFromEnv: STORAGE_CONNECTIONSTRING_ENV_NAME
accountName: storage-account-name
```
**Parameter list:**
- `queueName` - Name of the queue.
- `queueLength` - Target value for queue length passed to the scaler. Example: if one pod can handle 10 messages, set the queue length target to 10. If the actual number of messages in the queue is 30, the scaler scales to 3 pods. (default: 5)
- `connectionFromEnv` - Name of the environment variable your deployment uses to get the connection string.
- `accountName` - Name of the storage account that the queue belongs to.

### Authentication Parameters

Expand Down Expand Up @@ -58,7 +60,9 @@ spec:
metadata:
# Required
queueName: functionsqueue
# Required: connection OR authenticationRef that defines connection
# Optional, required when pod identity is used
accountName: storage-account-name
# Optional: connection OR authenticationRef that defines connection
connectionFromEnv: STORAGE_CONNECTIONSTRING_ENV_NAME # Default: AzureWebJobsStorage. Reference to a connection string in deployment
# or authenticationRef as defined below
#
Expand Down

0 comments on commit 8577f3c

Please sign in to comment.