1. Packages
  2. GitHub
  3. API Docs
  4. getActionsRepositoryOidcSubjectClaimCustomizationTemplate
GitHub v6.2.2 published on Tuesday, Jun 18, 2024 by Pulumi

github.getActionsRepositoryOidcSubjectClaimCustomizationTemplate

Explore with Pulumi AI

github logo
GitHub v6.2.2 published on Tuesday, Jun 18, 2024 by Pulumi

    Use this data source to retrieve the OpenID Connect subject claim customization template for a repository

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as github from "@pulumi/github";
    
    const example = github.getActionsRepositoryOidcSubjectClaimCustomizationTemplate({
        name: "example_repository",
    });
    
    import pulumi
    import pulumi_github as github
    
    example = github.get_actions_repository_oidc_subject_claim_customization_template(name="example_repository")
    
    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.LookupActionsRepositoryOidcSubjectClaimCustomizationTemplate(ctx, &github.LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateArgs{
    			Name: "example_repository",
    		}, 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.GetActionsRepositoryOidcSubjectClaimCustomizationTemplate.Invoke(new()
        {
            Name = "example_repository",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.github.GithubFunctions;
    import com.pulumi.github.inputs.GetActionsRepositoryOidcSubjectClaimCustomizationTemplateArgs;
    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.getActionsRepositoryOidcSubjectClaimCustomizationTemplate(GetActionsRepositoryOidcSubjectClaimCustomizationTemplateArgs.builder()
                .name("example_repository")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: github:getActionsRepositoryOidcSubjectClaimCustomizationTemplate
          Arguments:
            name: example_repository
    

    Using getActionsRepositoryOidcSubjectClaimCustomizationTemplate

    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 getActionsRepositoryOidcSubjectClaimCustomizationTemplate(args: GetActionsRepositoryOidcSubjectClaimCustomizationTemplateArgs, opts?: InvokeOptions): Promise<GetActionsRepositoryOidcSubjectClaimCustomizationTemplateResult>
    function getActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput(args: GetActionsRepositoryOidcSubjectClaimCustomizationTemplateOutputArgs, opts?: InvokeOptions): Output<GetActionsRepositoryOidcSubjectClaimCustomizationTemplateResult>
    def get_actions_repository_oidc_subject_claim_customization_template(name: Optional[str] = None,
                                                                         opts: Optional[InvokeOptions] = None) -> GetActionsRepositoryOidcSubjectClaimCustomizationTemplateResult
    def get_actions_repository_oidc_subject_claim_customization_template_output(name: Optional[pulumi.Input[str]] = None,
                                                                         opts: Optional[InvokeOptions] = None) -> Output[GetActionsRepositoryOidcSubjectClaimCustomizationTemplateResult]
    func LookupActionsRepositoryOidcSubjectClaimCustomizationTemplate(ctx *Context, args *LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateArgs, opts ...InvokeOption) (*LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateResult, error)
    func LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput(ctx *Context, args *LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateOutputArgs, opts ...InvokeOption) LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateResultOutput

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

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

    The following arguments are supported:

    Name string
    Name of the repository to get the OpenID Connect subject claim customization template for.
    Name string
    Name of the repository to get the OpenID Connect subject claim customization template for.
    name String
    Name of the repository to get the OpenID Connect subject claim customization template for.
    name string
    Name of the repository to get the OpenID Connect subject claim customization template for.
    name str
    Name of the repository to get the OpenID Connect subject claim customization template for.
    name String
    Name of the repository to get the OpenID Connect subject claim customization template for.

    getActionsRepositoryOidcSubjectClaimCustomizationTemplate 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.
    Name string
    UseDefault bool
    Whether the repository uses the default template.
    Id string
    The provider-assigned unique ID for this managed resource.
    IncludeClaimKeys []string
    The list of OpenID Connect claim keys.
    Name string
    UseDefault bool
    Whether the repository uses the default template.
    id String
    The provider-assigned unique ID for this managed resource.
    includeClaimKeys List<String>
    The list of OpenID Connect claim keys.
    name String
    useDefault Boolean
    Whether the repository uses the default template.
    id string
    The provider-assigned unique ID for this managed resource.
    includeClaimKeys string[]
    The list of OpenID Connect claim keys.
    name string
    useDefault boolean
    Whether the repository uses the default template.
    id str
    The provider-assigned unique ID for this managed resource.
    include_claim_keys Sequence[str]
    The list of OpenID Connect claim keys.
    name str
    use_default bool
    Whether the repository uses the default template.
    id String
    The provider-assigned unique ID for this managed resource.
    includeClaimKeys List<String>
    The list of OpenID Connect claim keys.
    name String
    useDefault Boolean
    Whether the repository uses the default template.

    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.2.2 published on Tuesday, Jun 18, 2024 by Pulumi