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_devops

v3.0.0

Published

DataFire integration for Azure DevOps

Downloads

12

Readme

@datafire/azure_devops

Client library for Azure DevOps

Installation and Usage

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

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

Description

Azure DevOps Resource Provider

Actions

Operations_List

Lists all the operations supported by Microsoft.DevOps resource provider.

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

Input

  • input object
    • api-version required string: API version to be used with the HTTP request.

Output

PipelineTemplateDefinitions_List

Lists all pipeline templates which can be used to configure an Azure Pipeline.

azure_devops.PipelineTemplateDefinitions_List({
  "api-version": ""
}, context)

Input

  • input object
    • api-version required string: API version to be used with the HTTP request.

Output

Pipelines_ListBySubscription

Lists all Azure Pipelines under the specified subscription.

azure_devops.Pipelines_ListBySubscription({
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Unique identifier of the Azure subscription. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
    • api-version required string: API version to be used with the HTTP request.

Output

Pipelines_ListByResourceGroup

Lists all Azure Pipelines under the specified resource group.

azure_devops.Pipelines_ListByResourceGroup({
  "subscriptionId": "",
  "resourceGroupName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Unique identifier of the Azure subscription. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
    • resourceGroupName required string: Name of the resource group within the Azure subscription.
    • api-version required string: API version to be used with the HTTP request.

Output

Pipelines_Delete

Deletes an Azure Pipeline.

azure_devops.Pipelines_Delete({
  "subscriptionId": "",
  "resourceGroupName": "",
  "api-version": "",
  "pipelineName": ""
}, context)

Input

  • input object
    • subscriptionId required string: Unique identifier of the Azure subscription. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
    • resourceGroupName required string: Name of the resource group within the Azure subscription.
    • api-version required string: API version to be used with the HTTP request.
    • pipelineName required string: The name of the Azure Pipeline resource.

Output

Output schema unknown

Pipelines_Get

Gets an existing Azure Pipeline.

azure_devops.Pipelines_Get({
  "subscriptionId": "",
  "resourceGroupName": "",
  "api-version": "",
  "pipelineName": ""
}, context)

Input

  • input object
    • subscriptionId required string: Unique identifier of the Azure subscription. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
    • resourceGroupName required string: Name of the resource group within the Azure subscription.
    • api-version required string: API version to be used with the HTTP request.
    • pipelineName required string: The name of the Azure Pipeline resource in ARM.

Output

Pipelines_Update

Updates the properties of an Azure Pipeline. Currently, only tags can be updated.

azure_devops.Pipelines_Update({
  "subscriptionId": "",
  "resourceGroupName": "",
  "api-version": "",
  "pipelineName": "",
  "updateOperationParameters": {}
}, context)

Input

  • input object
    • subscriptionId required string: Unique identifier of the Azure subscription. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
    • resourceGroupName required string: Name of the resource group within the Azure subscription.
    • api-version required string: API version to be used with the HTTP request.
    • pipelineName required string: The name of the Azure Pipeline resource.
    • updateOperationParameters required PipelineUpdateParameters

Output

Pipelines_CreateOrUpdate

Creates or updates an Azure Pipeline.

azure_devops.Pipelines_CreateOrUpdate({
  "subscriptionId": "",
  "resourceGroupName": "",
  "api-version": "",
  "pipelineName": "",
  "createOperationParameters": {
    "properties": {
      "organization": {
        "name": ""
      },
      "project": {
        "name": ""
      },
      "bootstrapConfiguration": {
        "template": {
          "id": ""
        }
      }
    }
  }
}, context)

Input

  • input object
    • subscriptionId required string: Unique identifier of the Azure subscription. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
    • resourceGroupName required string: Name of the resource group within the Azure subscription.
    • api-version required string: API version to be used with the HTTP request.
    • pipelineName required string: The name of the Azure Pipeline resource in ARM.
    • createOperationParameters required Pipeline

Output

Definitions

Authorization

  • Authorization object: Authorization info used to access a resource (like code repository).
    • authorizationType required string (values: personalAccessToken): Type of authorization.
    • parameters object: Authorization parameters corresponding to the authorization type.

BootstrapConfiguration

CloudError

  • CloudError object: An error response from the Pipelines Resource Provider.

CloudErrorBody

  • CloudErrorBody object: An error response from the Pipelines Resource Provider.
    • code string: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
    • details array: A list of additional details about the error.
    • message string: A message describing the error, intended to be suitable for display in a user interface.
    • target string: The target of the particular error. For example, the name of the property in error or the method where the error occurred.

CodeRepository

  • CodeRepository object: Repository containing the source code for a pipeline.
    • authorization Authorization
    • defaultBranch required string: Default branch used to configure Continuous Integration (CI) in the pipeline.
    • id required string: Unique immutable identifier of the code repository.
    • properties object: Repository-specific properties.
    • repositoryType required string (values: gitHub, vstsGit): Type of code repository.

InputDescriptor

  • InputDescriptor object: Representation of a pipeline template input parameter.
    • description string: Description of the input parameter.
    • id required string: Identifier of the input parameter.
    • possibleValues array: List of possible values for the input parameter.
    • type required string (values: String, SecureString, Int, Bool, Authorization): Data type of the value of the input parameter.

InputValue

  • InputValue object: Representation of a pipeline template input parameter value.
    • displayValue string: Description of the input parameter value.
    • value string: Value of an input parameter.

Operation

  • Operation object: Properties of an Operation.
    • display OperationDisplayValue
    • isDataAction string: Indicates whether the operation applies to data-plane.
    • name string: Name of the operation.

OperationDisplayValue

  • OperationDisplayValue object: Display information of an operation.
    • description string: Friendly description of the operation.
    • operation string: Friendly name of the operation.
    • provider string: Friendly name of the resource provider.
    • resource string: Friendly name of the resource type the operation applies to.

OperationListResult

  • OperationListResult object: Result of a request to list all operations supported by Microsoft.DevOps resource provider.
    • nextLink string: The URL to get the next set of operations, if there are any.
    • value array: List of operations supported by Microsoft.DevOps resource provider.

OrganizationReference

  • OrganizationReference object: Reference to an Azure DevOps Organization.
    • id string: Unique immutable identifier for the Azure DevOps Organization.
    • name required string: Name of the Azure DevOps Organization.

Pipeline

  • Pipeline object: Azure DevOps Pipeline used to configure Continuous Integration (CI) & Continuous Delivery (CD) for Azure resources.
    • properties required PipelineProperties
    • id string: Resource Id
    • location string: Resource Location
    • name string: Resource Name
    • tags object: Resource Tags
    • type string: Resource Type

PipelineListResult

  • PipelineListResult object: Result of a request to list all Azure Pipelines under a given scope.
    • nextLink string: URL to get the next set of Pipelines, if there are any.
    • value array: List of pipelines.

PipelineProperties

PipelineTemplate

  • PipelineTemplate object: Template used to bootstrap the pipeline.
    • id required string: Unique identifier of the pipeline template.
    • parameters object: Dictionary of input parameters used in the pipeline template.

PipelineTemplateDefinition

  • PipelineTemplateDefinition object: Definition of a pipeline template.
    • description string: Description of the pipeline enabled by the template.
    • id required string: Unique identifier of the pipeline template.
    • inputs array: List of input parameters required by the template to create a pipeline.

PipelineTemplateDefinitionListResult

  • PipelineTemplateDefinitionListResult object: Result of a request to list all pipeline template definitions.
    • nextLink string: The URL to get the next set of pipeline template definitions, if there are any.
    • value array: List of pipeline template definitions.

PipelineUpdateParameters

  • PipelineUpdateParameters object: Request payload used to update an existing Azure Pipeline.
    • tags object: Dictionary of key-value pairs to be set as tags on the Azure Pipeline. This will overwrite any existing tags.

ProjectReference

  • ProjectReference object: Reference to an Azure DevOps Project.
    • id string: Unique immutable identifier of the Azure DevOps Project.
    • name required string: Name of the Azure DevOps Project.

Resource

  • Resource object: An Azure Resource Manager (ARM) resource.
    • id string: Resource Id
    • location string: Resource Location
    • name string: Resource Name
    • tags object: Resource Tags
    • type string: Resource Type