npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@cloudgraph/cg-provider-tencent

v1.0.0

Published

CloudGraph provider plugin for Tencent Cloud used to fetch Tencent Cloud data.

Downloads

5

Readme

CloudGraph Tencent Provider

Use the CloudGraph Tencent Provider to scan and normalize cloud infrastructure using the Tencent Cloud SDK

Install

Install the Tencent provider in CloudGraph

cg init tencent

Authentication

Authenticate the CloudGraph Tencent Provider using one or more SecretId/SecretKey pair(s). Visit the TencentCloud API Key page to apply for security credentials:

Configuration

CloudGraph creates a configuration file at:

  • UNIX: ~/.config/cloudgraph/.cloud-graphrc.json
  • Windows: %LOCALAPPDATA%\cloudgraph/.cloud-graphrc.json

NOTE: CloudGraph will output where it stores the configuration file and provider data as part of the cg init command

CloudGraph will generate this configuration file when you run cg init tencent. You may update it manually or by running cg init tencent again.

"tencent": {
  "accounts": [
    {
      "secretId": "AKIDz8krbsJ5yKBZQpn74WFkmLPx3*******",
      "secretKey": "Gu5t9xGARNpq86cd98joQYCN3*******"
    }
  ],
  "regions": "ap-bangkok,ap-jakarta,ap-beijing,ap-chengdu,ap-chongqing,ap-guangzhou,ap-shenzhen-fsi,ap-hongkong,ap-mumbai,ap-nanjing,ap-seoul,ap-tokyo,ap-shanghai,ap-shanghai-fsi,ap-singapore,eu-frankfurt,eu-moscow,na-ashburn,na-siliconvalley,na-toronto,sa-saopaulo",
  "resources": "subnet,vpc"
}

CloudGraph Tencent Provider will ask you what regions you would like to crawl and will by default crawl for all supported resources in selected regions in the default account. You can update the regions or resources fields in the cloud-graphrc.json file to change this behavior. You can also select which resources to crawl in the cg init tencent command by passing the the -r flag: cg init tencent -r

Supported Services

| Service | Relations | | ------------------- | ------------------- | | camGroup | | | camPolicy | | | camUser | | | ccn | ccnAttachment | | ccnAttachment | ccn | | customerGateway | vpnConnection | | networkAcl | subnet, vpc | | routeTable | vpc, subnet | | securityGroup | | | securityGroupRule | | | subnet | kubernetesEngine, networkAcl, vpc, routeTable | | vpc | kubernetesEngine, networkAcl, subnet, vpnGateway, routeTable, vpnConnection | | vpnConnection | vpc, vpnGateway, customerGateway | | vpnGateway | vpc, vpnGatewayRoute, vpnConnection | | vpnGatewayRoute | vpnGateway | | kubernetesEngine | subnet, vpc |