Files
ado-sk-toolkit-extension/task/ListBlobs/task.json

57 lines
1.8 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/Microsoft/azure-pipelines-task-lib/master/tasks.schema.json",
"id": "f637743e-a1f8-4903-9f9f-cf01ddf1f8d6",
"name": "ListBlobs",
"friendlyName": "List Blobs",
"description": "Lists blobs in an Azure Storage container using OIDC from the selected AzureRM service connection.",
"helpMarkDown": "Uses serviceConnectionARM to request OIDC token and list blobs via Azure Storage REST API.",
"category": "Deploy",
"author": "Slawomir Koszewski",
"version": {
"Major": 1,
"Minor": 0,
"Patch": 0
},
"instanceNameFormat": "List blobs: $(storageAccountName)/$(containerName)",
"inputs": [
{
"name": "serviceConnectionARM",
"type": "connectedService:AzureRM",
"label": "Azure Resource Manager service connection",
"defaultValue": "",
"required": true,
"helpMarkDown": "AzureRM service connection used to request OIDC token and resolve tenant/client metadata. Requires System.AccessToken to be available to the job."
},
{
"name": "storageAccountName",
"type": "string",
"label": "Storage Account Name",
"defaultValue": "",
"required": true,
"helpMarkDown": "Storage account name (without domain)."
},
{
"name": "containerName",
"type": "string",
"label": "Container Name",
"defaultValue": "",
"required": true,
"helpMarkDown": "Container name."
},
{
"name": "prefix",
"type": "string",
"label": "Blob Prefix",
"defaultValue": "",
"required": false,
"helpMarkDown": "Optional blob name prefix used to filter results."
}
],
"execution": {
"Node20_1": {
"target": "dist/ListBlobs/src/index.js"
}
},
"minimumAgentVersion": "3.225.0"
}