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_devspaces

v3.0.0

Published

DataFire integration for DevSpacesManagement

Downloads

23

Readme

@datafire/azure_devspaces

Client library for DevSpacesManagement

Installation and Usage

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

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

Description

Dev Spaces REST API

Actions

Operations_List

Lists all the supported operations by the Microsoft.DevSpaces resource provider along with their description.

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

Input

  • input object
    • api-version required string: Client API version.

Output

Controllers_List

Lists all the Azure Dev Spaces Controllers with their properties in the subscription.

azure_devspaces.Controllers_List({
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • api-version required string: Client API version.
    • subscriptionId required string: Azure subscription ID.

Output

Controllers_ListByResourceGroup

Lists all the Azure Dev Spaces Controllers with their properties in the specified resource group and subscription.

azure_devspaces.Controllers_ListByResourceGroup({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": ""
}, context)

Input

  • input object
    • api-version required string: Client API version.
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Resource group to which the resource belongs.

Output

Controllers_Delete

Deletes an existing Azure Dev Spaces Controller.

azure_devspaces.Controllers_Delete({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "name": ""
}, context)

Input

  • input object
    • api-version required string: Client API version.
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Resource group to which the resource belongs.
    • name required string: Name of the resource.

Output

Output schema unknown

Controllers_Get

Gets the properties for an Azure Dev Spaces Controller.

azure_devspaces.Controllers_Get({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "name": ""
}, context)

Input

  • input object
    • api-version required string: Client API version.
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Resource group to which the resource belongs.
    • name required string: Name of the resource.

Output

Controllers_Update

Updates the properties of an existing Azure Dev Spaces Controller with the specified update parameters.

azure_devspaces.Controllers_Update({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "name": "",
  "controllerUpdateParameters": null
}, context)

Input

  • input object
    • api-version required string: Client API version.
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Resource group to which the resource belongs.
    • name required string: Name of the resource.
    • controllerUpdateParameters required ControllerUpdateParameters

Output

Controllers_Create

Creates an Azure Dev Spaces Controller with the specified create parameters.

azure_devspaces.Controllers_Create({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "name": "",
  "controller": null
}, context)

Input

  • input object
    • api-version required string: Client API version.
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Resource group to which the resource belongs.
    • name required string: Name of the resource.
    • controller required Controller

Output

Controllers_ListConnectionDetails

Lists connection details for the underlying container resources of an Azure Dev Spaces Controller.

azure_devspaces.Controllers_ListConnectionDetails({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "name": ""
}, context)

Input

  • input object
    • api-version required string: Client API version.
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Resource group to which the resource belongs.
    • name required string: Name of the resource.

Output

ContainerHostMappings_GetContainerHostMapping

Returns container host mapping object for a container host resource ID if an associated controller exists.

azure_devspaces.ContainerHostMappings_GetContainerHostMapping({
  "api-version": "",
  "containerHostMapping": null,
  "subscriptionId": "",
  "resourceGroupName": "",
  "location": ""
}, context)

Input

  • input object
    • api-version required string: Client API version.
    • containerHostMapping required ContainerHostMapping
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Resource group to which the resource belongs.
    • location required string: Location of the container host.

Output

Output schema unknown

Definitions

ContainerHostMapping

  • ContainerHostMapping object: Container host mapping object specifying the Container host resource ID and its associated Controller resource.
    • containerHostResourceId string: ARM ID of the Container Host resource
    • mappedControllerResourceId string: ARM ID of the mapped Controller resource

Controller

  • Controller object
    • properties required ControllerProperties
    • sku required Sku
    • location string: Region where the Azure resource is located.
    • tags object: Tags for the Azure resource.
    • id string: Fully qualified resource Id for the resource.
    • name string: The name of the resource.
    • type string: The type of the resource.

ControllerConnectionDetails

ControllerConnectionDetailsList

  • ControllerConnectionDetailsList object

ControllerList

  • ControllerList object
    • nextLink string: The URI that can be used to request the next page for list of Azure Dev Spaces Controllers.
    • value array: List of Azure Dev Spaces Controllers.

ControllerProperties

  • ControllerProperties object
    • dataPlaneFqdn string: DNS name for accessing DataPlane services
    • hostSuffix string: DNS suffix for public endpoints running in the Azure Dev Spaces Controller.
    • provisioningState string (values: Succeeded, Failed, Canceled, Updating, Creating, Deleting, Deleted): Provisioning state of the Azure Dev Spaces Controller.
    • targetContainerHostCredentialsBase64 required string: Credentials of the target container host (base64).
    • targetContainerHostResourceId required string: Resource ID of the target container host

ControllerUpdateParameters

  • ControllerUpdateParameters object: Parameters for updating an Azure Dev Spaces Controller.

ErrorDetails

  • ErrorDetails object
    • code string: Status code for the error.
    • message string: Error message describing the error in detail.
    • target string: The target of the particular error.

ErrorResponse

  • ErrorResponse object: Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.

KubernetesConnectionDetails

  • KubernetesConnectionDetails object: Contains information used to connect to a Kubernetes cluster
    • kubeConfig string: Gets the kubeconfig for the cluster.
    • instanceType string: Gets the Instance type.

OrchestratorSpecificConnectionDetails

  • OrchestratorSpecificConnectionDetails object: Base class for types that supply values used to connect to container orchestrators
    • instanceType string: Gets the Instance type.

Resource

  • Resource object: An Azure resource.
    • id string: Fully qualified resource Id for the resource.
    • name string: The name of the resource.
    • type string: The type of the resource.

ResourceProviderOperationDefinition

ResourceProviderOperationDisplay

  • ResourceProviderOperationDisplay object
    • description string: Description of the resource provider operation.
    • operation string: Name of the resource provider operation.
    • provider string: Name of the resource provider.
    • resource string: Name of the resource type.

ResourceProviderOperationList

  • ResourceProviderOperationList object
    • nextLink string: The URI that can be used to request the next page for list of Azure operations.
    • value array: Resource provider operations list.

Sku

  • Sku object: Model representing SKU for Azure Dev Spaces Controller.
    • name required string (values: S1): The name of the SKU for Azure Dev Spaces Controller.
    • tier string (values: Standard): The tier of the SKU for Azure Dev Spaces Controller.

TrackedResource

  • TrackedResource object: The resource model definition for a ARM tracked top level resource.
    • location string: Region where the Azure resource is located.
    • tags object: Tags for the Azure resource.
    • id string: Fully qualified resource Id for the resource.
    • name string: The name of the resource.
    • type string: The type of the resource.