New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hci_api

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hci_api

This is simple node wrap around SANGFOR HCI API.

  • 0.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-90.91%
Maintainers
1
Weekly downloads
 
Created
Source

hci_api

This is simple node wrap around SANGFOR HCI API.

See the details docs on Sangfor超融合平台API接口说明(20220106).

Only access and partial vm module is finished.

How to use it

  1. npm i -S hci_api
  2. set BASE_URL, USERNAME and PASSWORD environments or you can create .env file which contains these envs.
  3. import the lib via const {add_roles, delete_roles, update_roles, get_roles, create_vm, create_vm_cluster, delete_vm, encrypt_vm} = require('hci_api') (for CommonJS) or import {add_roles, delete_roles, update_roles, get_roles, create_vm, create_vm_cluster, delete_vm, encrypt_vm} from 'hcp_api' (for ESM);
  4. use the imported api as you need.

Todos

  • finish init project code
  • finish access module.
  • finish vm module.
  • finish network module.
  • finish storage module.
  • finish management module.
  • finish status module.
  • finish user module.

License

MIT License

Copyright (c) 2023 liudonghua

FAQs

Package last updated on 28 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc