New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

ncloud-vserver

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ncloud-vserver

vserver client library for Naver Cloud Platform

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

ncloud-vserver

Installation

For Node.js

npm

npm install ncloud-vserver --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file, that's to say your javascript file where you actually use this library):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var Vserver = require('ncloud-vserver');

var client = new Vserver.ApiClient({
  accessKey: 'your access key',
  secretKey: 'your secret key',
});

var apiInstance = new Vserver.V2Api(client)

var addAccessControlGroupInboundRuleRequest = new Vserver.AddAccessControlGroupInboundRuleRequest(); // {AddAccessControlGroupInboundRuleRequest} addAccessControlGroupInboundRuleRequest


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.addAccessControlGroupInboundRule(addAccessControlGroupInboundRuleRequest, callback);

Documentation for API Endpoints

All URIs are relative to https://ncloud.apigw.ntruss.com/vserver/v2

ClassMethodHTTP requestDescription
Vserver.V2ApiaddAccessControlGroupInboundRulePOST /addAccessControlGroupInboundRule
Vserver.V2ApiaddAccessControlGroupOutboundRulePOST /addAccessControlGroupOutboundRule
Vserver.V2ApiaddNetworkInterfaceAccessControlGroupPOST /addNetworkInterfaceAccessControlGroup
Vserver.V2ApiaddPlacementGroupServerInstancePOST /addPlacementGroupServerInstance
Vserver.V2ApiassociatePublicIpWithServerInstancePOST /associatePublicIpWithServerInstance
Vserver.V2ApiattachBlockStorageInstancePOST /attachBlockStorageInstance
Vserver.V2ApiattachNetworkInterfacePOST /attachNetworkInterface
Vserver.V2ApichangeBlockStorageVolumeSizePOST /changeBlockStorageVolumeSize
Vserver.V2ApichangeServerInstanceSpecPOST /changeServerInstanceSpec
Vserver.V2ApicreateAccessControlGroupPOST /createAccessControlGroup
Vserver.V2ApicreateBlockStorageInstancePOST /createBlockStorageInstance
Vserver.V2ApicreateBlockStorageSnapshotInstancePOST /createBlockStorageSnapshotInstance
Vserver.V2ApicreateInitScriptPOST /createInitScript
Vserver.V2ApicreateLoginKeyPOST /createLoginKey
Vserver.V2ApicreateMemberServerImageInstancePOST /createMemberServerImageInstance
Vserver.V2ApicreateNetworkInterfacePOST /createNetworkInterface
Vserver.V2ApicreatePlacementGroupPOST /createPlacementGroup
Vserver.V2ApicreatePublicIpInstancePOST /createPublicIpInstance
Vserver.V2ApicreateServerInstancesPOST /createServerInstances
Vserver.V2ApideleteAccessControlGroupPOST /deleteAccessControlGroup
Vserver.V2ApideleteBlockStorageInstancesPOST /deleteBlockStorageInstances
Vserver.V2ApideleteBlockStorageSnapshotInstancesPOST /deleteBlockStorageSnapshotInstances
Vserver.V2ApideleteInitScriptsPOST /deleteInitScripts
Vserver.V2ApideleteLoginKeysPOST /deleteLoginKeys
Vserver.V2ApideleteMemberServerImageInstancesPOST /deleteMemberServerImageInstances
Vserver.V2ApideleteNetworkInterfacePOST /deleteNetworkInterface
Vserver.V2ApideletePlacementGroupPOST /deletePlacementGroup
Vserver.V2ApideletePublicIpInstancePOST /deletePublicIpInstance
Vserver.V2ApidetachBlockStorageInstancesPOST /detachBlockStorageInstances
Vserver.V2ApidetachNetworkInterfacePOST /detachNetworkInterface
Vserver.V2ApidisassociatePublicIpFromServerInstancePOST /disassociatePublicIpFromServerInstance
Vserver.V2ApigetAccessControlGroupDetailPOST /getAccessControlGroupDetail
Vserver.V2ApigetAccessControlGroupListPOST /getAccessControlGroupList
Vserver.V2ApigetAccessControlGroupRuleListPOST /getAccessControlGroupRuleList
Vserver.V2ApigetBlockStorageInstanceDetailPOST /getBlockStorageInstanceDetail
Vserver.V2ApigetBlockStorageInstanceListPOST /getBlockStorageInstanceList
Vserver.V2ApigetBlockStorageSnapshotInstanceDetailPOST /getBlockStorageSnapshotInstanceDetail
Vserver.V2ApigetBlockStorageSnapshotInstanceListPOST /getBlockStorageSnapshotInstanceList
Vserver.V2ApigetInitScriptDetailPOST /getInitScriptDetail
Vserver.V2ApigetInitScriptListPOST /getInitScriptList
Vserver.V2ApigetLoginKeyListPOST /getLoginKeyList
Vserver.V2ApigetMemberServerImageInstanceDetailPOST /getMemberServerImageInstanceDetail
Vserver.V2ApigetMemberServerImageInstanceListPOST /getMemberServerImageInstanceList
Vserver.V2ApigetNetworkInterfaceDetailPOST /getNetworkInterfaceDetail
Vserver.V2ApigetNetworkInterfaceListPOST /getNetworkInterfaceList
Vserver.V2ApigetPlacementGroupDetailPOST /getPlacementGroupDetail
Vserver.V2ApigetPlacementGroupListPOST /getPlacementGroupList
Vserver.V2ApigetPublicIpInstanceDetailPOST /getPublicIpInstanceDetail
Vserver.V2ApigetPublicIpInstanceListPOST /getPublicIpInstanceList
Vserver.V2ApigetPublicIpTargetServerInstanceListPOST /getPublicIpTargetServerInstanceList
Vserver.V2ApigetRegionListPOST /getRegionList
Vserver.V2ApigetRootPasswordPOST /getRootPassword
Vserver.V2ApigetRootPasswordServerInstanceListPOST /getRootPasswordServerInstanceList
Vserver.V2ApigetServerImageProductListPOST /getServerImageProductList
Vserver.V2ApigetServerInstanceDetailPOST /getServerInstanceDetail
Vserver.V2ApigetServerInstanceListPOST /getServerInstanceList
Vserver.V2ApigetServerProductListPOST /getServerProductList
Vserver.V2ApigetZoneListPOST /getZoneList
Vserver.V2ApiimportLoginKeyPOST /importLoginKey
Vserver.V2ApirebootServerInstancesPOST /rebootServerInstances
Vserver.V2ApiremoveAccessControlGroupInboundRulePOST /removeAccessControlGroupInboundRule
Vserver.V2ApiremoveAccessControlGroupOutboundRulePOST /removeAccessControlGroupOutboundRule
Vserver.V2ApiremoveNetworkInterfaceAccessControlGroupPOST /removeNetworkInterfaceAccessControlGroup
Vserver.V2ApiremovePlacementGroupServerInstancePOST /removePlacementGroupServerInstance
Vserver.V2ApistartServerInstancesPOST /startServerInstances
Vserver.V2ApistopServerInstancesPOST /stopServerInstances
Vserver.V2ApiterminateServerInstancesPOST /terminateServerInstances

Documentation for Models

License

Copyright 2018 NAVER BUSINESS PLATFORM Corp.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

FAQs

Package last updated on 22 Dec 2020

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