@pulumi/github
Version:
A Pulumi package for creating and managing github cloud resources.
52 lines • 1.84 kB
JavaScript
// *** 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.getUserExternalIdentityOutput = exports.getUserExternalIdentity = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Use this data source to retrieve a specific organization member's SAML or SCIM user
* attributes.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as github from "@pulumi/github";
*
* const exampleUser = github.getUserExternalIdentity({
* username: "example-user",
* });
* ```
*/
function getUserExternalIdentity(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("github:index/getUserExternalIdentity:getUserExternalIdentity", {
"username": args.username,
}, opts);
}
exports.getUserExternalIdentity = getUserExternalIdentity;
/**
* Use this data source to retrieve a specific organization member's SAML or SCIM user
* attributes.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as github from "@pulumi/github";
*
* const exampleUser = github.getUserExternalIdentity({
* username: "example-user",
* });
* ```
*/
function getUserExternalIdentityOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("github:index/getUserExternalIdentity:getUserExternalIdentity", {
"username": args.username,
}, opts);
}
exports.getUserExternalIdentityOutput = getUserExternalIdentityOutput;
//# sourceMappingURL=getUserExternalIdentity.js.map
;