UNPKG

@pulumi/azuredevops

Version:

A Pulumi package for creating and managing Azure DevOps.

60 lines 2.24 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getStorageKeyOutput = exports.getStorageKey = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Use this data source to access information about an existing Storage Key. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azuredevops from "@pulumi/azuredevops"; * * const example = azuredevops.getStorageKey({ * descriptor: "aad.000000000000000000000000000000000000", * }); * export const id = example.then(example => example.id); * ``` * * ## Relevant Links * * - [Azure DevOps Service REST API 7.1 - Storage Key - Get](https://learn.microsoft.com/en-us/rest/api/azure/devops/graph/storage-keys/get?view=azure-devops-rest-7.1) */ function getStorageKey(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("azuredevops:index/getStorageKey:getStorageKey", { "descriptor": args.descriptor, }, opts); } exports.getStorageKey = getStorageKey; /** * Use this data source to access information about an existing Storage Key. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azuredevops from "@pulumi/azuredevops"; * * const example = azuredevops.getStorageKey({ * descriptor: "aad.000000000000000000000000000000000000", * }); * export const id = example.then(example => example.id); * ``` * * ## Relevant Links * * - [Azure DevOps Service REST API 7.1 - Storage Key - Get](https://learn.microsoft.com/en-us/rest/api/azure/devops/graph/storage-keys/get?view=azure-devops-rest-7.1) */ function getStorageKeyOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("azuredevops:index/getStorageKey:getStorageKey", { "descriptor": args.descriptor, }, opts); } exports.getStorageKeyOutput = getStorageKeyOutput; //# sourceMappingURL=getStorageKey.js.map