1.0.8 • Published 10 months ago

@danny270793/azureservicesclient v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Azure Services Client

Github pipeline status NPM Type Definitions

install size NPM Unpacked Size GitHub repo size GitHub code size in bytes npm bundle size (scoped)

GitHub commit activity NPM Downloads GitHub Downloads (all assets, all releases)

Library to access to azure resources information

Instalation

Install package from public registry

npm install @danny270793/azureservicesclient

Examples

List resource groups on a supscription scoped by client id and client secret

import { Azure } from '@danny270793/azureservicesclient'
import { ResourceGroup } from '@danny270793/azureservicesclient/build/responses'

const azureSubscriptionId: string = process.env.AZURE_SUBSCRIPTION_ID
const azureTenantId: string = process.env.AZURE_TENANT_ID
const azureClientId: string = process.env.AZURE_CLIENT_ID
const azureClientSecret: string = process.env.AZURE_CLIENT_SECRET

const azure: Azure = new Azure(
    azureSubscriptionId,
    azureTenantId,
    azureClientId,
    azureClientSecret,
)

const resourceGroups: ResourceGroup[] = await azure.getResourceGroups()
console.log(resourceGroups)

Follow me

YouTube GitHub LinkedIn

LICENSE

GitHub License

Version

GitHub Tag GitHub Release GitHub package.json version NPM Version

Last update 11/08/2024

1.0.8

10 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.4

11 months ago

1.0.0

11 months ago