Juniper Mist v0.1.1 published on Monday, Nov 4, 2024 by Pulumi
junipermist.org.getNacidpMetadata
Explore with Pulumi AI
This data source provides the NAC IDP 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 samlIdp = junipermist.org.getNacidpMetadata({
orgId: terraformTest.id,
nacidpId: samlIdpOne.id,
});
import pulumi
import pulumi_junipermist as junipermist
saml_idp = junipermist.org.get_nacidp_metadata(org_id=terraform_test["id"],
nacidp_id=saml_idp_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.GetNacidpMetadata(ctx, &org.GetNacidpMetadataArgs{
OrgId: terraformTest.Id,
NacidpId: samlIdpOne.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 samlIdp = JuniperMist.Org.GetNacidpMetadata.Invoke(new()
{
OrgId = terraformTest.Id,
NacidpId = samlIdpOne.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.GetNacidpMetadataArgs;
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 samlIdp = OrgFunctions.getNacidpMetadata(GetNacidpMetadataArgs.builder()
.orgId(terraformTest.id())
.nacidpId(samlIdpOne.id())
.build());
}
}
variables:
samlIdp:
fn::invoke:
Function: junipermist:org:getNacidpMetadata
Arguments:
orgId: ${terraformTest.id}
nacidpId: ${samlIdpOne.id}
Using getNacidpMetadata
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 getNacidpMetadata(args: GetNacidpMetadataArgs, opts?: InvokeOptions): Promise<GetNacidpMetadataResult>
function getNacidpMetadataOutput(args: GetNacidpMetadataOutputArgs, opts?: InvokeOptions): Output<GetNacidpMetadataResult>
def get_nacidp_metadata(nacidp_id: Optional[str] = None,
org_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNacidpMetadataResult
def get_nacidp_metadata_output(nacidp_id: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNacidpMetadataResult]
func GetNacidpMetadata(ctx *Context, args *GetNacidpMetadataArgs, opts ...InvokeOption) (*GetNacidpMetadataResult, error)
func GetNacidpMetadataOutput(ctx *Context, args *GetNacidpMetadataOutputArgs, opts ...InvokeOption) GetNacidpMetadataResultOutput
> Note: This function is named GetNacidpMetadata
in the Go SDK.
public static class GetNacidpMetadata
{
public static Task<GetNacidpMetadataResult> InvokeAsync(GetNacidpMetadataArgs args, InvokeOptions? opts = null)
public static Output<GetNacidpMetadataResult> Invoke(GetNacidpMetadataInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNacidpMetadataResult> getNacidpMetadata(GetNacidpMetadataArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: junipermist:org/getNacidpMetadata:getNacidpMetadata
arguments:
# arguments dictionary
The following arguments are supported:
getNacidpMetadata Result
The following output properties are available:
Package Details
- Repository
- junipermist pulumi/pulumi-junipermist
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mist
Terraform Provider.