1. Packages
  2. Github Provider
  3. API Docs
  4. getActionsOrganizationOidcSubjectClaimCustomizationTemplate
GitHub v6.3.2 published on Friday, Oct 11, 2024 by Pulumi

github.getActionsOrganizationOidcSubjectClaimCustomizationTemplate

Explore with Pulumi AI

github logo
GitHub v6.3.2 published on Friday, Oct 11, 2024 by Pulumi

    Use this data source to retrieve the OpenID Connect subject claim customization template for an organization

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as github from "@pulumi/github";
    
    const example = github.getActionsOrganizationOidcSubjectClaimCustomizationTemplate({});
    
    import pulumi
    import pulumi_github as github
    
    example = github.get_actions_organization_oidc_subject_claim_customization_template()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-github/sdk/v6/go/github"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := github.LookupActionsOrganizationOidcSubjectClaimCustomizationTemplate(ctx, map[string]interface{}{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Github = Pulumi.Github;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Github.GetActionsOrganizationOidcSubjectClaimCustomizationTemplate.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.github.GithubFunctions;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = GithubFunctions.getActionsOrganizationOidcSubjectClaimCustomizationTemplate();
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: github:getActionsOrganizationOidcSubjectClaimCustomizationTemplate
          Arguments: {}
    

    Using getActionsOrganizationOidcSubjectClaimCustomizationTemplate

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getActionsOrganizationOidcSubjectClaimCustomizationTemplate(opts?: InvokeOptions): Promise<GetActionsOrganizationOidcSubjectClaimCustomizationTemplateResult>
    function getActionsOrganizationOidcSubjectClaimCustomizationTemplateOutput(opts?: InvokeOptions): Output<GetActionsOrganizationOidcSubjectClaimCustomizationTemplateResult>
    def get_actions_organization_oidc_subject_claim_customization_template(opts: Optional[InvokeOptions] = None) -> GetActionsOrganizationOidcSubjectClaimCustomizationTemplateResult
    def get_actions_organization_oidc_subject_claim_customization_template_output(opts: Optional[InvokeOptions] = None) -> Output[GetActionsOrganizationOidcSubjectClaimCustomizationTemplateResult]
    func LookupActionsOrganizationOidcSubjectClaimCustomizationTemplate(ctx *Context, opts ...InvokeOption) (*LookupActionsOrganizationOidcSubjectClaimCustomizationTemplateResult, error)
    func LookupActionsOrganizationOidcSubjectClaimCustomizationTemplateOutput(ctx *Context, opts ...InvokeOption) LookupActionsOrganizationOidcSubjectClaimCustomizationTemplateResultOutput

    > Note: This function is named LookupActionsOrganizationOidcSubjectClaimCustomizationTemplate in the Go SDK.

    public static class GetActionsOrganizationOidcSubjectClaimCustomizationTemplate 
    {
        public static Task<GetActionsOrganizationOidcSubjectClaimCustomizationTemplateResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetActionsOrganizationOidcSubjectClaimCustomizationTemplateResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetActionsOrganizationOidcSubjectClaimCustomizationTemplateResult> getActionsOrganizationOidcSubjectClaimCustomizationTemplate(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: github:index/getActionsOrganizationOidcSubjectClaimCustomizationTemplate:getActionsOrganizationOidcSubjectClaimCustomizationTemplate
      arguments:
        # arguments dictionary

    getActionsOrganizationOidcSubjectClaimCustomizationTemplate Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    IncludeClaimKeys List<string>
    The list of OpenID Connect claim keys.
    Id string
    The provider-assigned unique ID for this managed resource.
    IncludeClaimKeys []string
    The list of OpenID Connect claim keys.
    id String
    The provider-assigned unique ID for this managed resource.
    includeClaimKeys List<String>
    The list of OpenID Connect claim keys.
    id string
    The provider-assigned unique ID for this managed resource.
    includeClaimKeys string[]
    The list of OpenID Connect claim keys.
    id str
    The provider-assigned unique ID for this managed resource.
    include_claim_keys Sequence[str]
    The list of OpenID Connect claim keys.
    id String
    The provider-assigned unique ID for this managed resource.
    includeClaimKeys List<String>
    The list of OpenID Connect claim keys.

    Package Details

    Repository
    GitHub pulumi/pulumi-github
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the github Terraform Provider.
    github logo
    GitHub v6.3.2 published on Friday, Oct 11, 2024 by Pulumi