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_machinelearningservices_datastore

v3.0.0

Published

DataFire integration for Azure Machine Learning Datastore Management Client

Downloads

6

Readme

@datafire/azure_machinelearningservices_datastore

Client library for Azure Machine Learning Datastore Management Client

Installation and Usage

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

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

Description

Actions

DataStores_DeleteAll

Delete all Datastores in the workspace.

azure_machinelearningservices_datastore.DataStores_DeleteAll({
  "subscriptionId": "",
  "resourceGroupName": "",
  "workspaceName": ""
}, context)

Input

  • input object
    • subscriptionId required string: The Azure Subscription ID.
    • resourceGroupName required string: The Name of the resource group in which the workspace is located.
    • workspaceName required string: The name of the workspace.

Output

Output schema unknown

DataStores_List

Get the list of Datastores attached to the workspace.

azure_machinelearningservices_datastore.DataStores_List({
  "subscriptionId": "",
  "resourceGroupName": "",
  "workspaceName": ""
}, context)

Input

  • input object
    • subscriptionId required string: The Azure Subscription ID.
    • resourceGroupName required string: The Name of the resource group in which the workspace is located.
    • workspaceName required string: The name of the workspace.
    • dataStoreNames array: List of Datastore names.
    • continuationToken string: The Continuation Token.
    • count integer: Count of Datastores to be returned.
    • includeSecret boolean: Whether to include the datastore secret in the response.

Output

DataStores_Create

Create or update a Datastore in the given workspace.

azure_machinelearningservices_datastore.DataStores_Create({
  "subscriptionId": "",
  "resourceGroupName": "",
  "workspaceName": ""
}, context)

Input

  • input object
    • subscriptionId required string: The Azure Subscription ID.
    • resourceGroupName required string: The Name of the resource group in which the workspace is located.
    • workspaceName required string: The name of the workspace.
    • dto DataStore
    • createIfNotExists boolean: If set to true, the call will create an Datastore if it doesn't exist.
    • skipValidation boolean: If set to true, the call will skip Datastore validation.

Output

Output schema unknown

DataStores_Delete

Delete a Datastore with a specific name.

azure_machinelearningservices_datastore.DataStores_Delete({
  "subscriptionId": "",
  "resourceGroupName": "",
  "workspaceName": "",
  "name": ""
}, context)

Input

  • input object
    • subscriptionId required string: The Azure Subscription ID.
    • resourceGroupName required string: The Name of the resource group in which the workspace is located.
    • workspaceName required string: The name of the workspace.
    • name required string: The Datastore name.

Output

Output schema unknown

DataStores_Get

Get details of a Datastore with a specific name.

azure_machinelearningservices_datastore.DataStores_Get({
  "subscriptionId": "",
  "resourceGroupName": "",
  "workspaceName": "",
  "name": ""
}, context)

Input

  • input object
    • subscriptionId required string: The Azure Subscription ID.
    • resourceGroupName required string: The Name of the resource group in which the workspace is located.
    • workspaceName required string: The name of the workspace.
    • name required string: The Datastore name.

Output

DataStores_Update

Update or create a Datastore in the given workspace.

azure_machinelearningservices_datastore.DataStores_Update({
  "subscriptionId": "",
  "resourceGroupName": "",
  "workspaceName": "",
  "name": ""
}, context)

Input

  • input object
    • subscriptionId required string: The Azure Subscription ID.
    • resourceGroupName required string: The Name of the resource group in which the workspace is located.
    • workspaceName required string: The name of the workspace.
    • name required string: The Datastore name.
    • dto DataStore
    • createIfNotExists boolean: If set to true, the call will create an Datastore if it doesn't exist.
    • skipValidation boolean: If set to true, the call will skip Datastore validation.

Output

Output schema unknown

DataStores_GetDefault

Get the default Datastore in the workspace.

azure_machinelearningservices_datastore.DataStores_GetDefault({
  "subscriptionId": "",
  "resourceGroupName": "",
  "workspaceName": ""
}, context)

Input

  • input object
    • subscriptionId required string: The Azure Subscription ID.
    • resourceGroupName required string: The Name of the resource group in which the workspace is located.
    • workspaceName required string: The name of the workspace.

Output

DataStores_SetDefault

Set a default Datastore in the workspace.

azure_machinelearningservices_datastore.DataStores_SetDefault({
  "subscriptionId": "",
  "resourceGroupName": "",
  "workspaceName": "",
  "name": ""
}, context)

Input

  • input object
    • subscriptionId required string: The Azure Subscription ID.
    • resourceGroupName required string: The Name of the resource group in which the workspace is located.
    • workspaceName required string: The name of the workspace.
    • name required string: The Datastore name.

Output

Output schema unknown

Definitions

AzureDataLake

  • AzureDataLake object
    • authorityUrl string: The authority URL used for authentication
    • certificate string: The content of the certificate used for authentication
    • clientId string: The Client ID/Application ID
    • clientSecret string: The client secret
    • isCertAuth boolean: Is it using certificate to authenticate. If false then use client secret
    • resourceGroup string: Resource Group Name
    • resourceUri string: The resource the service principal/app has access to
    • storeName string: The Azure Data Lake store name
    • subscriptionId string: Subscription Id
    • tenantId string: The ID of the tenant the service principal/app belongs to
    • thumbprint string: The thumbprint of the certificate above

AzurePostgreSql

  • AzurePostgreSql object
    • databaseName string: The Azure PostgreSQL database name
    • endpoint string: The Azure PostgreSQL server host endpoint
    • portNumber string: The Azure PostgreSQL port number
    • resourceGroup string: Resource Group Name
    • serverName string: The Azure PostgreSQL server name
    • subscriptionId string: Subscription Id
    • userId string: The Azure PostgreSQL user id
    • userPassword string: The Azure PostgreSQL user password

AzureSqlDatabase

  • AzureSqlDatabase object
    • authorityUrl string: The authority URL used for authentication
    • certificate string: The content of the certificate used for authentication
    • clientId string: The Client ID/Application ID
    • clientSecret string: The client secret
    • databaseName string: The Azure SQL database name
    • endpoint string: The server host endpoint
    • isCertAuth boolean: Is it using certificate to authenticate. If false then use client secret
    • resourceGroup string: Resource Group Name
    • resourceUri string: The resource the service principal/app has access to
    • serverName string: The Azure SQL server name
    • subscriptionId string: Subscription Id
    • tenantId string: The ID of the tenant the service principal/app belongs to
    • thumbprint string: The thumbprint of the certificate above

AzureStorage

  • AzureStorage object
    • accountKey string: Storage Account Key (Deprecated)
    • accountName string: Storage Account Name
    • areWorkspaceManagedIdentitiesAllowed boolean: Indicate if we are using Workspace ManagedIdentities/MSI token
    • blobCacheTimeout integer: If this is an Microsoft.MachineLearning.DataStore.Contracts.DataStoreType.AzureBlob, the length of time (in seconds) to cache files locally after they are accessed (downloaded).
    • clientCredentials ClientCredentials
    • containerName string: The storage container name
    • credential string: The credential
    • credentialType string (values: None, Sas, AccountKey, ClientCredentials): The credential type
    • endpoint string: The host of the container
    • isSas boolean: Indicate if we are using SAS token or Account Key (Deprecated)
    • protocol string: The protocol to use. Defaults to https
    • resourceGroup string: Resource Group Name
    • sasToken string: SAS Token for the container (Deprecated)
    • subscriptionId string: Subscription Id

ClientCredentials

  • ClientCredentials object
    • authorityUrl string: The authority URL used for authentication
    • certificate string: The content of the certificate used for authentication
    • clientId string: The Client ID/Application ID
    • clientSecret string: The client secret
    • isCertAuth boolean: Is it using certificate to authenticate. If false then use client secret
    • resourceGroup string: Resource Group Name
    • resourceUri string: The resource the service principal/app has access to
    • subscriptionId string: Subscription Id
    • tenantId string: The ID of the tenant the service principal/app belongs to
    • thumbprint string: The thumbprint of the certificate above

DataStore

  • DataStore object
    • azureDataLakeSection AzureDataLake
    • azurePostgreSqlSection AzurePostgreSql
    • azureSqlDatabaseSection AzureSqlDatabase
    • azureStorageSection AzureStorage
    • dataStoreType string (values: AzureBlob, AzureFile, AzureDataLake, AzureSqlDatabase, AzurePostgreSql, DBFS, AzureDataLakeGen2, GlusterFs): The Azure storage service this datastore points to.
    • glusterFsSection GlusterFs
    • hasBeenValidated boolean: A read only property that denotes whether the service datastore has been validated with credentials.
    • name string: Name of the datastore
    • tags object: Tags to datastore

ErrorDetails

  • ErrorDetails object: The error details.
    • code string: The error code.
    • message string: The error message.
    • target string: The target of the error (e.g., the name of the property in error).

ErrorResponse

  • ErrorResponse object: The error response.
    • correlation object: Dictionary containing correlation details for the error.
    • environment string: The hosting environment.
    • error RootError
    • location string: The Azure region.
    • time string: The time in UTC.

GlusterFs

  • GlusterFs object
    • serverAddress string: The server address of one of the servers that hosts the GlusterFS. Can be either the IP address
    • volumeName string: The name of the created GlusterFS volume.

InnerErrorResponse

  • InnerErrorResponse object: A nested structure of errors.

PaginatedDataStoreList

  • PaginatedDataStoreList object: A paginated list of DataStores.
    • continuationToken string: The token used in retrieving the next page. If null, there are no additional pages.
    • nextLink string: The link to the next page constructed using the continuationToken. If null, there are no additional pages.
    • value array: An array of objects of type DataStore.

RootError

  • RootError object: The root error.
    • code string: The service-defined error code. Supported error codes: ServiceError, UserError, ValidationError, AzureStorageError, TransientError, RequestThrottled.
    • details array: The related errors that occurred during the request.
    • innerError InnerErrorResponse
    • message string: A human-readable representation of the error.
    • target string: The target of the error (e.g., the name of the property in error).