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

@datafire/azure_sql_importexport

v5.0.0

Published

DataFire integration for Azure SQL Database Import/Export spec

Downloads

5

Readme

@datafire/azure_sql_importexport

Client library for Azure SQL Database Import/Export spec

Installation and Usage

npm install --save @datafire/azure_sql_importexport
let azure_sql_importexport = require('@datafire/azure_sql_importexport').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

Provides create and read functionality for Import/Export operations on Azure SQL databases.

Actions

Databases_Export

Exports a database to a bacpac.

azure_sql_importexport.Databases_Export({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": "",
  "databaseName": "",
  "parameters": null
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required string: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    • serverName required string: The name of the server.
    • databaseName required string: The name of the database to be exported.
    • parameters required ExportRequest

Output

Databases_CreateImportOperation

Creates an import operation that imports a bacpac into an existing database. The existing database must be empty.

azure_sql_importexport.Databases_CreateImportOperation({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": "",
  "databaseName": "",
  "extensionName": "",
  "parameters": null
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required string: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    • serverName required string: The name of the server.
    • databaseName required string: The name of the database to import into
    • extensionName required string (values: import): The name of the operation to perform
    • parameters required ImportExtensionRequest

Output

Databases_Import

Imports a bacpac into a new database.

azure_sql_importexport.Databases_Import({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": "",
  "parameters": null
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required string: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    • serverName required string: The name of the server.
    • parameters required ImportRequest

Output

Definitions

ExportRequest

  • ExportRequest object: Export database parameters.
    • administratorLogin required string: The name of the SQL administrator.
    • administratorLoginPassword required string: The password of the SQL administrator.
    • authenticationType string (values: SQL, ADPassword): The authentication type.
    • storageKey required string: The storage key to use. If storage key type is SharedAccessKey, it must be preceded with a "?."
    • storageKeyType required string (values: StorageAccessKey, SharedAccessKey): The type of the storage key to use.
    • storageUri required string: The storage uri to use.

ImportExportResponse

  • ImportExportResponse object: Response for Import/Export Get operation.

ImportExportResponseProperties

  • ImportExportResponseProperties object: Response for Import/Export Status operation.
    • blobUri string: The blob uri.
    • databaseName string: The name of the database.
    • errorMessage string: The error message returned from the server.
    • lastModifiedTime string: The operation status last modified time.
    • queuedTime string: The operation queued time.
    • requestId string: The request type of the operation.
    • requestType string: The request type of the operation.
    • serverName string: The name of the server.
    • status string: The status message returned from the server.

ImportExtensionProperties

  • ImportExtensionProperties object: Represents the properties for an import operation
    • operationMode required string (values: Import): The type of import operation being performed. This is always Import.
    • administratorLogin required string: The name of the SQL administrator.
    • administratorLoginPassword required string: The password of the SQL administrator.
    • authenticationType string (values: SQL, ADPassword): The authentication type.
    • storageKey required string: The storage key to use. If storage key type is SharedAccessKey, it must be preceded with a "?."
    • storageKeyType required string (values: StorageAccessKey, SharedAccessKey): The type of the storage key to use.
    • storageUri required string: The storage uri to use.

ImportExtensionRequest

  • ImportExtensionRequest object: Import database parameters.

ImportRequest

  • ImportRequest object: Import database parameters.
    • databaseName required string: The name of the database to import.
    • edition required string (values: Web, Business, Basic, Standard, Premium, PremiumRS, Free, Stretch, DataWarehouse, System, System2, GeneralPurpose, BusinessCritical, Hyperscale): The edition for the database being created.
    • maxSizeBytes required string: The maximum size for the newly imported database.
    • serviceObjectiveName required string (values: System, System0, System1, System2, System3, System4, System2L, System3L, System4L, Free, Basic, S0, S1, S2, S3, S4, S6, S7, S9, S12, P1, P2, P3, P4, P6, P11, P15, PRS1, PRS2, PRS4, PRS6, DW100, DW200, DW300, DW400, DW500, DW600, DW1000, DW1200, DW1000c, DW1500, DW1500c, DW2000, DW2000c, DW3000, DW2500c, DW3000c, DW6000, DW5000c, DW6000c, DW7500c, DW10000c, DW15000c, DW30000c, DS100, DS200, DS300, DS400, DS500, DS600, DS1000, DS1200, DS1500, DS2000, ElasticPool): The name of the service objective to assign to the database.
    • administratorLogin required string: The name of the SQL administrator.
    • administratorLoginPassword required string: The password of the SQL administrator.
    • authenticationType string (values: SQL, ADPassword): The authentication type.
    • storageKey required string: The storage key to use. If storage key type is SharedAccessKey, it must be preceded with a "?."
    • storageKeyType required string (values: StorageAccessKey, SharedAccessKey): The type of the storage key to use.
    • storageUri required string: The storage uri to use.