node-red-contrib-azure-blob-storage
Version:
Connector to Azure Blob Storage on Node-Red
97 lines (90 loc) • 3.55 kB
HTML
<script type="text/javascript">
RED.nodes.registerType('Save Blob',{
category: 'cloud',
color: '#00abec',
defaults: {
name: {value:"Azure Save Blob Storage"},
},
inputs:1,
outputs:1,
icon: "azurestorage.png",
label: function() {
return this.name||"Azure Save Blob Storage";
},
credentials: {
accountname: { type: "text" },
key: { type: "text" },
container: { type: "text" },
blob: { type: "text" },
}
});
RED.nodes.registerType('Get Blob',{
category: 'cloud',
color: '#00abec',
defaults: {
name: {value:"Azure Get Blob Storage"},
},
inputs:1,
outputs:1,
icon: "azurestorage.png",
label: function() {
return this.name||"Azure Get Blob Storage";
},
credentials: {
accountname: { type: "text" },
key: { type: "text" },
container: { type: "text" },
blob: { type: "text" },
}
});
</script>
<script type="text/x-red" data-template-name="Save Blob">
<div class="form-row">
<label for="node-input-accountname"><i class="fa fa-bookmark"></i> Storage Account Name</label>
<input type="text" id="node-input-accountname">
</div>
<div class="form-row">
<label for="node-input-key"><i class="fa fa-bookmark"></i> Storage Account Key</label>
<input type="text" id="node-input-key">
</div>
<div class="form-row">
<label for="node-input-container"><i class="fa fa-bookmark"></i> Storage Container Name</label>
<input type="text" id="node-input-container">
</div>
<div class="form-row">
<label for="node-input-blob"><i class="fa fa-bookmark"></i> Storage Blob Name</label>
<input type="text" id="node-input-blob">
</div>
<div class="form-row">
<label for="node-input-name"><i class="icon-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
</script>
<script type="text/x-red" data-help-name="Save Blob">
<p>A simple node that that makes it easy to consume and manage Microsoft Azure Storage Services</p>
</script>
<script type="text/x-red" data-template-name="Get Blob">
<div class="form-row">
<label for="node-input-accountname"><i class="fa fa-bookmark"></i> Storage Account Name</label>
<input type="text" id="node-input-accountname">
</div>
<div class="form-row">
<label for="node-input-key"><i class="fa fa-bookmark"></i> Storage Account Key</label>
<input type="text" id="node-input-key">
</div>
<div class="form-row">
<label for="node-input-container"><i class="fa fa-bookmark"></i> Storage Container Name</label>
<input type="text" id="node-input-container">
</div>
<div class="form-row">
<label for="node-input-blob"><i class="fa fa-bookmark"></i> Storage Blob Name</label>
<input type="text" id="node-input-blob">
</div>
<div class="form-row">
<label for="node-input-name"><i class="icon-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
</script>
<script type="text/x-red" data-help-name="Get Blob">
<p>A simple node that that makes it easy to get blob from Azure Blob Storage</p>
</script>