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_iotspaces

v3.0.0

Published

DataFire integration for IoTSpacesClient

Downloads

3

Readme

@datafire/azure_iotspaces

Client library for IoTSpacesClient

Installation and Usage

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

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

Description

Use this API to manage the IoTSpaces service instances in your Azure subscription.

Actions

Operations_List

Lists all of the available IoTSpaces service REST API operations.

azure_iotspaces.Operations_List({
  "api-version": ""
}, context)

Input

  • input object
    • api-version required string (values: 2017-10-01-preview): The version of the API.

Output

IoTSpaces_List

Get all the IoTSpaces instances in a subscription.

azure_iotspaces.IoTSpaces_List({
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • api-version required string (values: 2017-10-01-preview): The version of the API.
    • subscriptionId required string: The subscription identifier.

Output

IoTSpaces_CheckNameAvailability

Check if an IoTSpaces instance name is available.

azure_iotspaces.IoTSpaces_CheckNameAvailability({
  "api-version": "",
  "subscriptionId": "",
  "operationInputs": {
    "name": ""
  }
}, context)

Input

  • input object
    • api-version required string (values: 2017-10-01-preview): The version of the API.
    • subscriptionId required string: The subscription identifier.
    • operationInputs required OperationInputs

Output

IoTSpaces_ListByResourceGroup

Get all the IoTSpaces instances in a resource group.

azure_iotspaces.IoTSpaces_ListByResourceGroup({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": ""
}, context)

Input

  • input object
    • api-version required string (values: 2017-10-01-preview): The version of the API.
    • subscriptionId required string: The subscription identifier.
    • resourceGroupName required string: The name of the resource group that contains the IoTSpaces instance.

Output

IoTSpaces_Delete

Delete an IoTSpaces instance.

azure_iotspaces.IoTSpaces_Delete({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "resourceName": ""
}, context)

Input

  • input object
    • api-version required string (values: 2017-10-01-preview): The version of the API.
    • subscriptionId required string: The subscription identifier.
    • resourceGroupName required string: The name of the resource group that contains the IoTSpaces instance.
    • resourceName required string: The name of the IoTSpaces instance.

Output

IoTSpaces_Get

Get the metadata of a IoTSpaces instance.

azure_iotspaces.IoTSpaces_Get({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "resourceName": ""
}, context)

Input

  • input object
    • api-version required string (values: 2017-10-01-preview): The version of the API.
    • subscriptionId required string: The subscription identifier.
    • resourceGroupName required string: The name of the resource group that contains the IoTSpaces instance.
    • resourceName required string: The name of the IoTSpaces instance.

Output

IoTSpaces_Update

Update the metadata of a IoTSpaces instance.

azure_iotspaces.IoTSpaces_Update({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "resourceName": "",
  "iotSpacePatchDescription": {}
}, context)

Input

  • input object
    • api-version required string (values: 2017-10-01-preview): The version of the API.
    • subscriptionId required string: The subscription identifier.
    • resourceGroupName required string: The name of the resource group that contains the IoTSpaces instance.
    • resourceName required string: The name of the IoTSpaces instance.
    • iotSpacePatchDescription required IoTSpacesPatchDescription

Output

IoTSpaces_CreateOrUpdate

Create or update the metadata of an IoTSpaces instance. The usual pattern to modify a property is to retrieve the IoTSpaces instance metadata and security metadata, and then combine them with the modified values in a new body to update the IoTSpaces instance.

azure_iotspaces.IoTSpaces_CreateOrUpdate({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "resourceName": "",
  "iotSpaceDescription": {
    "sku": {
      "name": ""
    }
  }
}, context)

Input

  • input object
    • api-version required string (values: 2017-10-01-preview): The version of the API.
    • subscriptionId required string: The subscription identifier.
    • resourceGroupName required string: The name of the resource group that contains the IoTSpaces instance.
    • resourceName required string: The name of the IoTSpaces instance.
    • iotSpaceDescription required IoTSpacesDescription

Output

Definitions

ErrorDetails

  • ErrorDetails object: Error details.
    • code string: The error code.
    • message string: The error message.
    • target string: The target of the particular error.

IoTSpacesDescription

  • IoTSpacesDescription object: The description of the IoTSpaces service.
    • properties IoTSpacesProperties
    • sku required IoTSpacesSkuInfo
    • id string: The resource identifier.
    • location required string: The resource location.
    • name string: The resource name.
    • tags object: The resource tags.
    • type string: The resource type.

IoTSpacesDescriptionListResult

  • IoTSpacesDescriptionListResult object: A list of IoTSpaces description objects with a next link.
    • nextLink string: The link used to get the next page of IoTSpaces description objects.
    • value array: A list of IoTSpaces description objects.

IoTSpacesNameAvailabilityInfo

  • IoTSpacesNameAvailabilityInfo object: The properties indicating whether a given IoTSpaces service name is available.
    • message string: The detailed reason message.
    • nameAvailable boolean: The value which indicates whether the provided name is available.
    • reason string (values: Invalid, AlreadyExists): The reason for unavailability.

IoTSpacesPatchDescription

  • IoTSpacesPatchDescription object: The description of the IoTSpaces service.

IoTSpacesProperties

  • IoTSpacesProperties object: The properties of an IoTSpaces instance.
    • managementApiUrl string: The management Api endpoint.
    • provisioningState string (values: Provisioning, Deleting, Succeeded, Failed, Canceled): The provisioning state.
    • storageContainer StorageContainerProperties
    • webPortalUrl string: The management UI endpoint.

IoTSpacesSkuInfo

  • IoTSpacesSkuInfo object: Information about the SKU of the IoTSpaces instance.
    • name required string (values: F1, S1, S2, S3): The name of the SKU.

Operation

  • Operation object: IoTSpaces service REST API operation
    • display OperationDisplay
    • name string: Operation name: {provider}/{resource}/{read | write | action | delete}

OperationDisplay

  • OperationDisplay object: The object that represents the operation.
    • description string: Friendly description for the operation,
    • operation string: Name of the operation
    • provider string: Service provider: Microsoft IoTSpaces
    • resource string: Resource Type: IoTSpaces

OperationInputs

  • OperationInputs object: Input values.
    • name required string: The name of the IoTSpaces service instance to check.

OperationListResult

  • OperationListResult object: A list of IoTSpaces service operations. It contains a list of operations and a URL link to get the next set of results.
    • nextLink string: The link used to get the next page of IoTSpaces description objects.
    • value array: A list of IoT spaces operations supported by the Microsoft.IoTSpaces resource provider.

Resource

  • Resource object: The common properties of an IoTSpaces service.
    • id string: The resource identifier.
    • location required string: The resource location.
    • name string: The resource name.
    • tags object: The resource tags.
    • type string: The resource type.

StorageContainerProperties

  • StorageContainerProperties object: The properties of the Azure Storage Container for file archive.
    • connectionString string: The connection string of the storage account.
    • containerName string: The name of storage container in the storage account.
    • resourceGroup string: The name of the resource group of the storage account.
    • subscriptionId string: The subscription identifier of the storage account.