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_customerlockbox

v3.0.0

Published

DataFire integration for Customer Lockbox

Downloads

2

Readme

@datafire/azure_customerlockbox

Client library for Customer Lockbox

Installation and Usage

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

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

Description

Azure Customer Lockbox API Reference

Actions

Operations_List

Lists all the available REST API operations.

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

Input

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

Output

Requests_List

Lists all of the Lockbox requests in the given subscription.

azure_customerlockbox.Requests_List({
  "subscriptionId": ""
}, context)

Input

  • input object
    • $filter string: The $filter OData query parameter. Only filter by request status is supported, e.g $filter=properties/status eq 'Pending'
    • subscriptionId required string: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)

Output

Requests_Get

Get Customer Lockbox request

azure_customerlockbox.Requests_Get({
  "requestId": "",
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

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

Output

Requests_UpdateStatus

Update Customer Lockbox request approval status API

azure_customerlockbox.Requests_UpdateStatus({
  "approval": {},
  "subscriptionId": "",
  "requestId": "",
  "api-version": ""
}, context)

Input

  • input object
    • approval required Approval
    • subscriptionId required string: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
    • requestId required string: The Lockbox request ID.
    • api-version required string: The API version to be used with the HTTP request.

Output

Definitions

Approval

  • Approval object: Request content object, in the use of Approve or Deny a Lockbox request.
    • decision string (values: Approve, Deny): Approval decision to the Lockbox request.
    • reason string: Reason of the decision

ErrorAdditionalInfo

  • ErrorAdditionalInfo object: An error additional info for the Lockbox service.

ErrorBody

  • ErrorBody object: An error response body from the Lockbox service.
    • additionalInfo array: A list of error details about the error.
    • code string: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
    • 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.

ErrorResponse

  • ErrorResponse object: An error response from the Lockbox service.

LockboxRequestResponse

  • LockboxRequestResponse object: A Lockbox request response object, containing all information associated with the request.
    • id string: The Arm resource id of the Lockbox request.
    • name string: The name of the Lockbox request.
    • properties LockboxRequestResponseProperties
    • type string: The type of the Lockbox request.

LockboxRequestResponseProperties

  • LockboxRequestResponseProperties object: The properties that are associated with a lockbox request.
    • createdDateTime string: The creation time of the request.
    • duration integer: The duration of the request in hours.
    • expirationDateTime string: The expiration time of the request.
    • justification string: The justification of the requestor.
    • requestId string: The Lockbox request ID.
    • requestedResourceIds array: A list of resource IDs associated with the Lockbox request separated by ','.
      • items string
    • resourceType string: The resource type of the requested resources.
    • status LockboxRequestStatus
    • subscriptionId string: The subscription ID.
    • supportCaseUrl string: The url of the support case.
    • supportRequest string: The id of the support request associated.

LockboxRequestStatus

  • LockboxRequestStatus string (values: Initializing, Pending, Approving, Denying, Approved, Denied, Expired, Revoking, Revoked, Error, Unknown, Completed, Completing): The status of the request.

Operation

  • Operation object: Operation result model for ARM RP
    • display object: Contains the localized display information for this particular operation / action.
      • description string: The localized friendly description for the operation.
      • operation string: The localized friendly name for the operation.
      • provider string: The localized friendly form of the resource provider name.
      • resource string: The localized friendly form of the resource type related to this action/operation.
    • isDataAction string: Gets or sets a value indicating whether it is a data plane action
    • name string: Gets or sets action name
    • origin string: Gets or sets origin
    • properties string: Gets or sets properties

OperationListResult

  • OperationListResult object: Result of the request to list Customer Lockbox operations. It contains a list of operations.
    • nextLink string: URL to get the next set of operation list results if there are any.
    • value array: List of Customer Lockbox operations supported by the Microsoft.StreamAnalytics resource provider.

RequestListResult

  • RequestListResult object: Object containing a list of streaming jobs.
    • nextLink string: URL to get the next set of operation list results if there are any.
    • value array: A list of Lockbox requests. Populated by a 'List' operation.