README
pon-task-azure
Pon task for azure
Installation
$ npm install pon-task-azure --save
Usage
'use strict'
const pon = require('pon')
const { createBlobContainer } = require('pon-task-azure')
;(async () => {
let run = pon({
blob: createBlobContainer({
key: 'AZURE_STORAGE_ACCESS_KEY',
account: 'AZURE_STORAGE_ACCOUNT',
name: 'AZURE_STORAGE_CONTAINER_NAME',
})
})
run('blob')
}).catch((err) => console.error(err))
Signatures
createBlobContainer(options) -> function
Task to create an Azure Storage Blob Container
Param | type | Description |
---|---|---|
options | Object | Optional settings |
options.name | string | Container name |
options.account | string | Azure account |
options.key | string | Azure account key |
define(options) -> function
Define task
Param | type | Description |
---|---|---|
options | Object | Optional settings |
License
This software is released under the Apache-2.0 License.