@pulumi/azuredevops
Version:
A Pulumi package for creating and managing Azure DevOps.
32 lines • 1.49 kB
JavaScript
;
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getUserOutput = exports.getUser = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Use this data source to access information about an existing user within Azure DevOps.
*
* ~>**NOTE:** If you only have the Storage Key(UUID) of the user, you can use `azuredevops.getDescriptor` to resolve the Storage Key(UUID) to a `descriptor`.
*/
function getUser(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("azuredevops:index/getUser:getUser", {
"descriptor": args.descriptor,
}, opts);
}
exports.getUser = getUser;
/**
* Use this data source to access information about an existing user within Azure DevOps.
*
* ~>**NOTE:** If you only have the Storage Key(UUID) of the user, you can use `azuredevops.getDescriptor` to resolve the Storage Key(UUID) to a `descriptor`.
*/
function getUserOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("azuredevops:index/getUser:getUser", {
"descriptor": args.descriptor,
}, opts);
}
exports.getUserOutput = getUserOutput;
//# sourceMappingURL=getUser.js.map