@blitzm/azure-mysql
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

Blitzm Cloud - Azure MySQL

@blitzm/azure-mysql is a typescript library for creating a MySQL instance and a database with access control.

Installation

This package can be installed using npm

npm install --save --save-exact @blitzm/azure-mysql

Usage

import { AzureMySQL } from '@blitzm/azure-mysql'

const mySQL = new AzureMySQL('db', {
  resourceGroup: resourceGroup,
  skuName: 'B_Gen5_1',
  version: '8.0',
  storageSizeGB: 50,
  allowedIPs: ['your-server-ip']
  })

export const connectionString = mySQL.connectionString
export const host = mySQL.host
export const serverName = mySQL.serverName
export const username = mySQL.username
export const password = mySQL.password

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Blitzm

Readme

Keywords

none

Package Sidebar

Install

npm i @blitzm/azure-mysql

Weekly Downloads

11

Version

0.2.0

License

Blitzm

Unpacked Size

18 kB

Total Files

7

Last publish

Collaborators

  • tim-blitzm
  • blitzm-sean
  • blitzm-admin
  • blitzm-james