Skip to content

Commit

Permalink
docs: Add globPattern, recursive parameters for Azure Blob Storage Sc… (
Browse files Browse the repository at this point in the history
kedacore#738)

* docs: Add globPattern, recursive parameters for Azure Blob Storage Scaler.

Signed-off-by: Vighnesh Shenoy <[email protected]>

* Minor wording change.

Signed-off-by: Vighnesh Shenoy <[email protected]>
  • Loading branch information
v-shenoy authored Apr 1, 2022
1 parent 52e3366 commit d847a22
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions content/docs/2.7/scalers/azure-storage-blob.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ triggers:
blobDelimiter: /example
cloud: Private
endpointSuffix: blob.core.airgap.example # Required when cloud=Private
recursive: false
globPattern: glob-pattern
```
**Parameter list:**
Expand All @@ -35,6 +37,9 @@ triggers:
- `blobPrefix` - Prefix for the Blob. Use this to specify sub path for the blobs if required. (Default: `""`, Optional)
- `blobDelimiter` - Delimiter for identifying the blob prefix. (Default: `/`, Optional)
- `cloud` - Name of the cloud environment that the blob belongs to. Must be a known Azure cloud environment, or `Private` for Azure Stack Hub or Air Gapped clouds. (valid values: `AzurePublicCloud`, `AzureUSGovernmentCloud`, `AzureChinaCloud`, `AzureGermanCloud`, `Private`; default: `AzurePublicCloud`)
- `recursive` - Indicates whether or not blobs should be counted recursively. (Values: `true`, `false`, Default: `false`, Optional, Equivalent to setting `blobDelimiter` as `""`)
- `globPattern` - Glob pattern for blob names. The scaler will count all blobs whose names match the pattern
as metric value. (Default: `""`, Optional, The `blobPrefix`, `blobDelimiter` and `recursive` parameters are ignored when this is specified.)

When `cloud` is set to `Private`, the `endpointSuffix` parameter is required. Otherwise, it is automatically generated based on the cloud environment. `endpointSuffix` represents the storage blob endpoint suffix of the cloud environment that the blob belongs to, e.g. `blob.core.cloudapi.de` for `AzureGermanCloud`.

Expand Down

0 comments on commit d847a22

Please sign in to comment.