-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade terraform-provider-github to v5.33.0 (#411)
Found 1 breaking change: Resources 🟡 "github:index/teamMembers:TeamMembers": properties: "etag" missing output "etag" New functions: index/getUserExternalIdentity.getUserExternalIdentity
- Loading branch information
1 parent
09663d5
commit 72f0050
Showing
28 changed files
with
1,169 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
// *** 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! *** | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Threading.Tasks; | ||
using Pulumi.Serialization; | ||
|
||
namespace Pulumi.Github | ||
{ | ||
public static class GetUserExternalIdentity | ||
{ | ||
/// <summary> | ||
/// Use this data source to retrieve a specific organization member's SAML or SCIM user | ||
/// attributes. | ||
/// | ||
/// {{% examples %}} | ||
/// ## Example Usage | ||
/// {{% example %}} | ||
/// | ||
/// ```csharp | ||
/// using System.Collections.Generic; | ||
/// using System.Linq; | ||
/// using Pulumi; | ||
/// using Github = Pulumi.Github; | ||
/// | ||
/// return await Deployment.RunAsync(() => | ||
/// { | ||
/// var exampleUser = Github.GetUserExternalIdentity.Invoke(new() | ||
/// { | ||
/// Username = "example-user", | ||
/// }); | ||
/// | ||
/// }); | ||
/// ``` | ||
/// {{% /example %}} | ||
/// {{% /examples %}} | ||
/// </summary> | ||
public static Task<GetUserExternalIdentityResult> InvokeAsync(GetUserExternalIdentityArgs args, InvokeOptions? options = null) | ||
=> global::Pulumi.Deployment.Instance.InvokeAsync<GetUserExternalIdentityResult>("github:index/getUserExternalIdentity:getUserExternalIdentity", args ?? new GetUserExternalIdentityArgs(), options.WithDefaults()); | ||
|
||
/// <summary> | ||
/// Use this data source to retrieve a specific organization member's SAML or SCIM user | ||
/// attributes. | ||
/// | ||
/// {{% examples %}} | ||
/// ## Example Usage | ||
/// {{% example %}} | ||
/// | ||
/// ```csharp | ||
/// using System.Collections.Generic; | ||
/// using System.Linq; | ||
/// using Pulumi; | ||
/// using Github = Pulumi.Github; | ||
/// | ||
/// return await Deployment.RunAsync(() => | ||
/// { | ||
/// var exampleUser = Github.GetUserExternalIdentity.Invoke(new() | ||
/// { | ||
/// Username = "example-user", | ||
/// }); | ||
/// | ||
/// }); | ||
/// ``` | ||
/// {{% /example %}} | ||
/// {{% /examples %}} | ||
/// </summary> | ||
public static Output<GetUserExternalIdentityResult> Invoke(GetUserExternalIdentityInvokeArgs args, InvokeOptions? options = null) | ||
=> global::Pulumi.Deployment.Instance.Invoke<GetUserExternalIdentityResult>("github:index/getUserExternalIdentity:getUserExternalIdentity", args ?? new GetUserExternalIdentityInvokeArgs(), options.WithDefaults()); | ||
} | ||
|
||
|
||
public sealed class GetUserExternalIdentityArgs : global::Pulumi.InvokeArgs | ||
{ | ||
/// <summary> | ||
/// The username of the member to fetch external identity for. | ||
/// </summary> | ||
[Input("username", required: true)] | ||
public string Username { get; set; } = null!; | ||
|
||
public GetUserExternalIdentityArgs() | ||
{ | ||
} | ||
public static new GetUserExternalIdentityArgs Empty => new GetUserExternalIdentityArgs(); | ||
} | ||
|
||
public sealed class GetUserExternalIdentityInvokeArgs : global::Pulumi.InvokeArgs | ||
{ | ||
/// <summary> | ||
/// The username of the member to fetch external identity for. | ||
/// </summary> | ||
[Input("username", required: true)] | ||
public Input<string> Username { get; set; } = null!; | ||
|
||
public GetUserExternalIdentityInvokeArgs() | ||
{ | ||
} | ||
public static new GetUserExternalIdentityInvokeArgs Empty => new GetUserExternalIdentityInvokeArgs(); | ||
} | ||
|
||
|
||
[OutputType] | ||
public sealed class GetUserExternalIdentityResult | ||
{ | ||
/// <summary> | ||
/// The provider-assigned unique ID for this managed resource. | ||
/// </summary> | ||
public readonly string Id; | ||
/// <summary> | ||
/// The username of the GitHub user | ||
/// </summary> | ||
public readonly string Login; | ||
/// <summary> | ||
/// An Object containing the user's SAML data. This object will | ||
/// be empty if the user is not managed by SAML. | ||
/// </summary> | ||
public readonly ImmutableDictionary<string, string> SamlIdentity; | ||
/// <summary> | ||
/// An Object contining the user's SCIM data. This object will | ||
/// be empty if the user is not managed by SCIM. | ||
/// </summary> | ||
public readonly ImmutableDictionary<string, string> ScimIdentity; | ||
/// <summary> | ||
/// The member's SAML Username | ||
/// </summary> | ||
public readonly string Username; | ||
|
||
[OutputConstructor] | ||
private GetUserExternalIdentityResult( | ||
string id, | ||
|
||
string login, | ||
|
||
ImmutableDictionary<string, string> samlIdentity, | ||
|
||
ImmutableDictionary<string, string> scimIdentity, | ||
|
||
string username) | ||
{ | ||
Id = id; | ||
Login = login; | ||
SamlIdentity = samlIdentity; | ||
ScimIdentity = scimIdentity; | ||
Username = username; | ||
} | ||
} | ||
} |
Oops, something went wrong.