UNPKG

@pulumi/azuredevops

Version:

A Pulumi package for creating and managing Azure DevOps.

42 lines 1.94 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.getUsersOutput = exports.getUsers = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Use this data source to access information about an existing users within Azure DevOps. * * > **NOTE:** This resource will try to get all the users within the organization which may result in poor performance. `azuredevops.getIdentityUsers`, `azuredevops.getUser` can be used to replace this resource. */ function getUsers(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("azuredevops:index/getUsers:getUsers", { "features": args.features, "origin": args.origin, "originId": args.originId, "principalName": args.principalName, "subjectTypes": args.subjectTypes, }, opts); } exports.getUsers = getUsers; /** * Use this data source to access information about an existing users within Azure DevOps. * * > **NOTE:** This resource will try to get all the users within the organization which may result in poor performance. `azuredevops.getIdentityUsers`, `azuredevops.getUser` can be used to replace this resource. */ function getUsersOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("azuredevops:index/getUsers:getUsers", { "features": args.features, "origin": args.origin, "originId": args.originId, "principalName": args.principalName, "subjectTypes": args.subjectTypes, }, opts); } exports.getUsersOutput = getUsersOutput; //# sourceMappingURL=getUsers.js.map