1. Packages
  2. Zitadel
  3. API Docs
  4. getOrgIdpGitlabSelfHosted
zitadel v0.1.8 published on Thursday, May 30, 2024 by pulumiverse

zitadel.getOrgIdpGitlabSelfHosted

Explore with Pulumi AI

zitadel logo
zitadel v0.1.8 published on Thursday, May 30, 2024 by pulumiverse

    Datasource representing a GitLab Self Hosted IdP of the organization.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Zitadel = Pulumi.Zitadel;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Zitadel.GetOrgIdpGitlabSelfHosted.Invoke(new()
        {
            OrgId = data.Zitadel_org.Default.Id,
            Id = "123456789012345678",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := zitadel.LookupOrgIdpGitlabSelfHosted(ctx, &zitadel.LookupOrgIdpGitlabSelfHostedArgs{
    			OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),
    			Id:    "123456789012345678",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.zitadel.ZitadelFunctions;
    import com.pulumi.zitadel.inputs.GetOrgIdpGitlabSelfHostedArgs;
    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 default = ZitadelFunctions.getOrgIdpGitlabSelfHosted(GetOrgIdpGitlabSelfHostedArgs.builder()
                .orgId(data.zitadel_org().default().id())
                .id("123456789012345678")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_zitadel as zitadel
    
    default = zitadel.get_org_idp_gitlab_self_hosted(org_id=data["zitadel_org"]["default"]["id"],
        id="123456789012345678")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as zitadel from "@pulumi/zitadel";
    
    const default = zitadel.getOrgIdpGitlabSelfHosted({
        orgId: data.zitadel_org["default"].id,
        id: "123456789012345678",
    });
    
    variables:
      default:
        fn::invoke:
          Function: zitadel:getOrgIdpGitlabSelfHosted
          Arguments:
            orgId: ${data.zitadel_org.default.id}
            id: '123456789012345678'
    

    Using getOrgIdpGitlabSelfHosted

    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 getOrgIdpGitlabSelfHosted(args: GetOrgIdpGitlabSelfHostedArgs, opts?: InvokeOptions): Promise<GetOrgIdpGitlabSelfHostedResult>
    function getOrgIdpGitlabSelfHostedOutput(args: GetOrgIdpGitlabSelfHostedOutputArgs, opts?: InvokeOptions): Output<GetOrgIdpGitlabSelfHostedResult>
    def get_org_idp_gitlab_self_hosted(id: Optional[str] = None,
                                       org_id: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetOrgIdpGitlabSelfHostedResult
    def get_org_idp_gitlab_self_hosted_output(id: Optional[pulumi.Input[str]] = None,
                                       org_id: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetOrgIdpGitlabSelfHostedResult]
    func LookupOrgIdpGitlabSelfHosted(ctx *Context, args *LookupOrgIdpGitlabSelfHostedArgs, opts ...InvokeOption) (*LookupOrgIdpGitlabSelfHostedResult, error)
    func LookupOrgIdpGitlabSelfHostedOutput(ctx *Context, args *LookupOrgIdpGitlabSelfHostedOutputArgs, opts ...InvokeOption) LookupOrgIdpGitlabSelfHostedResultOutput

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

    public static class GetOrgIdpGitlabSelfHosted 
    {
        public static Task<GetOrgIdpGitlabSelfHostedResult> InvokeAsync(GetOrgIdpGitlabSelfHostedArgs args, InvokeOptions? opts = null)
        public static Output<GetOrgIdpGitlabSelfHostedResult> Invoke(GetOrgIdpGitlabSelfHostedInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOrgIdpGitlabSelfHostedResult> getOrgIdpGitlabSelfHosted(GetOrgIdpGitlabSelfHostedArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: zitadel:index/getOrgIdpGitlabSelfHosted:getOrgIdpGitlabSelfHosted
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The ID of this resource.
    OrgId string
    ID of the organization
    Id string
    The ID of this resource.
    OrgId string
    ID of the organization
    id String
    The ID of this resource.
    orgId String
    ID of the organization
    id string
    The ID of this resource.
    orgId string
    ID of the organization
    id str
    The ID of this resource.
    org_id str
    ID of the organization
    id String
    The ID of this resource.
    orgId String
    ID of the organization

    getOrgIdpGitlabSelfHosted Result

    The following output properties are available:

    ClientId string
    client id generated by the identity provider
    ClientSecret string
    client secret generated by the identity provider
    Id string
    The ID of this resource.
    IsAutoCreation bool
    enabled if a new account in ZITADEL are created automatically on login with an external account
    IsAutoUpdate bool
    enabled if a the ZITADEL account fields are updated automatically on each login
    IsCreationAllowed bool
    enabled if users are able to create a new account in ZITADEL when using an external account
    IsLinkingAllowed bool
    enabled if users are able to link an existing ZITADEL user with an external account
    Issuer string
    the providers issuer
    Name string
    Name of the IDP
    Scopes List<string>
    the scopes requested by ZITADEL during the request on the identity provider
    OrgId string
    ID of the organization
    ClientId string
    client id generated by the identity provider
    ClientSecret string
    client secret generated by the identity provider
    Id string
    The ID of this resource.
    IsAutoCreation bool
    enabled if a new account in ZITADEL are created automatically on login with an external account
    IsAutoUpdate bool
    enabled if a the ZITADEL account fields are updated automatically on each login
    IsCreationAllowed bool
    enabled if users are able to create a new account in ZITADEL when using an external account
    IsLinkingAllowed bool
    enabled if users are able to link an existing ZITADEL user with an external account
    Issuer string
    the providers issuer
    Name string
    Name of the IDP
    Scopes []string
    the scopes requested by ZITADEL during the request on the identity provider
    OrgId string
    ID of the organization
    clientId String
    client id generated by the identity provider
    clientSecret String
    client secret generated by the identity provider
    id String
    The ID of this resource.
    isAutoCreation Boolean
    enabled if a new account in ZITADEL are created automatically on login with an external account
    isAutoUpdate Boolean
    enabled if a the ZITADEL account fields are updated automatically on each login
    isCreationAllowed Boolean
    enabled if users are able to create a new account in ZITADEL when using an external account
    isLinkingAllowed Boolean
    enabled if users are able to link an existing ZITADEL user with an external account
    issuer String
    the providers issuer
    name String
    Name of the IDP
    scopes List<String>
    the scopes requested by ZITADEL during the request on the identity provider
    orgId String
    ID of the organization
    clientId string
    client id generated by the identity provider
    clientSecret string
    client secret generated by the identity provider
    id string
    The ID of this resource.
    isAutoCreation boolean
    enabled if a new account in ZITADEL are created automatically on login with an external account
    isAutoUpdate boolean
    enabled if a the ZITADEL account fields are updated automatically on each login
    isCreationAllowed boolean
    enabled if users are able to create a new account in ZITADEL when using an external account
    isLinkingAllowed boolean
    enabled if users are able to link an existing ZITADEL user with an external account
    issuer string
    the providers issuer
    name string
    Name of the IDP
    scopes string[]
    the scopes requested by ZITADEL during the request on the identity provider
    orgId string
    ID of the organization
    client_id str
    client id generated by the identity provider
    client_secret str
    client secret generated by the identity provider
    id str
    The ID of this resource.
    is_auto_creation bool
    enabled if a new account in ZITADEL are created automatically on login with an external account
    is_auto_update bool
    enabled if a the ZITADEL account fields are updated automatically on each login
    is_creation_allowed bool
    enabled if users are able to create a new account in ZITADEL when using an external account
    is_linking_allowed bool
    enabled if users are able to link an existing ZITADEL user with an external account
    issuer str
    the providers issuer
    name str
    Name of the IDP
    scopes Sequence[str]
    the scopes requested by ZITADEL during the request on the identity provider
    org_id str
    ID of the organization
    clientId String
    client id generated by the identity provider
    clientSecret String
    client secret generated by the identity provider
    id String
    The ID of this resource.
    isAutoCreation Boolean
    enabled if a new account in ZITADEL are created automatically on login with an external account
    isAutoUpdate Boolean
    enabled if a the ZITADEL account fields are updated automatically on each login
    isCreationAllowed Boolean
    enabled if users are able to create a new account in ZITADEL when using an external account
    isLinkingAllowed Boolean
    enabled if users are able to link an existing ZITADEL user with an external account
    issuer String
    the providers issuer
    name String
    Name of the IDP
    scopes List<String>
    the scopes requested by ZITADEL during the request on the identity provider
    orgId String
    ID of the organization

    Package Details

    Repository
    zitadel pulumiverse/pulumi-zitadel
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the zitadel Terraform Provider.
    zitadel logo
    zitadel v0.1.8 published on Thursday, May 30, 2024 by pulumiverse