1. Packages
  2. Juniper Mist
  3. API Docs
  4. org
  5. getSsoMetadata
Juniper Mist v0.1.1 published on Monday, Nov 4, 2024 by Pulumi

junipermist.org.getSsoMetadata

Explore with Pulumi AI

junipermist logo
Juniper Mist v0.1.1 published on Monday, Nov 4, 2024 by Pulumi

    This data source provides the SSO Metadata information. The provided information (entity_id, acs_url, logout_url and metadata) are the informationrequired to configure the IDP

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as junipermist from "@pulumi/junipermist";
    
    const ssoIdp = junipermist.org.getSsoMetadata({
        orgId: terraformTest.id,
        ssoId: ssoOne.id,
    });
    
    import pulumi
    import pulumi_junipermist as junipermist
    
    sso_idp = junipermist.org.get_sso_metadata(org_id=terraform_test["id"],
        sso_id=sso_one["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-junipermist/sdk/go/junipermist/org"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := org.GetSsoMetadata(ctx, &org.GetSsoMetadataArgs{
    			OrgId: terraformTest.Id,
    			SsoId: ssoOne.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using JuniperMist = Pulumi.JuniperMist;
    
    return await Deployment.RunAsync(() => 
    {
        var ssoIdp = JuniperMist.Org.GetSsoMetadata.Invoke(new()
        {
            OrgId = terraformTest.Id,
            SsoId = ssoOne.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.junipermist.org.OrgFunctions;
    import com.pulumi.junipermist.org.inputs.GetSsoMetadataArgs;
    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 ssoIdp = OrgFunctions.getSsoMetadata(GetSsoMetadataArgs.builder()
                .orgId(terraformTest.id())
                .ssoId(ssoOne.id())
                .build());
    
        }
    }
    
    variables:
      ssoIdp:
        fn::invoke:
          Function: junipermist:org:getSsoMetadata
          Arguments:
            orgId: ${terraformTest.id}
            ssoId: ${ssoOne.id}
    

    Using getSsoMetadata

    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 getSsoMetadata(args: GetSsoMetadataArgs, opts?: InvokeOptions): Promise<GetSsoMetadataResult>
    function getSsoMetadataOutput(args: GetSsoMetadataOutputArgs, opts?: InvokeOptions): Output<GetSsoMetadataResult>
    def get_sso_metadata(org_id: Optional[str] = None,
                         sso_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetSsoMetadataResult
    def get_sso_metadata_output(org_id: Optional[pulumi.Input[str]] = None,
                         sso_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetSsoMetadataResult]
    func GetSsoMetadata(ctx *Context, args *GetSsoMetadataArgs, opts ...InvokeOption) (*GetSsoMetadataResult, error)
    func GetSsoMetadataOutput(ctx *Context, args *GetSsoMetadataOutputArgs, opts ...InvokeOption) GetSsoMetadataResultOutput

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

    public static class GetSsoMetadata 
    {
        public static Task<GetSsoMetadataResult> InvokeAsync(GetSsoMetadataArgs args, InvokeOptions? opts = null)
        public static Output<GetSsoMetadataResult> Invoke(GetSsoMetadataInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSsoMetadataResult> getSsoMetadata(GetSsoMetadataArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: junipermist:org/getSsoMetadata:getSsoMetadata
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OrgId string
    SsoId string
    OrgId string
    SsoId string
    orgId String
    ssoId String
    orgId string
    ssoId string
    org_id str
    sso_id str
    orgId String
    ssoId String

    getSsoMetadata Result

    The following output properties are available:

    AcsUrl string
    EntityId string
    Id string
    The provider-assigned unique ID for this managed resource.
    LogoutUrl string
    Metadata string
    OrgId string
    SsoId string
    AcsUrl string
    EntityId string
    Id string
    The provider-assigned unique ID for this managed resource.
    LogoutUrl string
    Metadata string
    OrgId string
    SsoId string
    acsUrl String
    entityId String
    id String
    The provider-assigned unique ID for this managed resource.
    logoutUrl String
    metadata String
    orgId String
    ssoId String
    acsUrl string
    entityId string
    id string
    The provider-assigned unique ID for this managed resource.
    logoutUrl string
    metadata string
    orgId string
    ssoId string
    acs_url str
    entity_id str
    id str
    The provider-assigned unique ID for this managed resource.
    logout_url str
    metadata str
    org_id str
    sso_id str
    acsUrl String
    entityId String
    id String
    The provider-assigned unique ID for this managed resource.
    logoutUrl String
    metadata String
    orgId String
    ssoId String

    Package Details

    Repository
    junipermist pulumi/pulumi-junipermist
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the mist Terraform Provider.
    junipermist logo
    Juniper Mist v0.1.1 published on Monday, Nov 4, 2024 by Pulumi