1. Packages
  2. Zscaler Private Access (ZPA)
  3. API Docs
  4. getIdPController
Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler

zpa.getIdPController

Explore with Pulumi AI

zpa logo
Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler

    Use the zpa_idp_controller data source to get information about an Identity Provider created in the Zscaler Private Access cloud. This data source is required when creating:

    • Access policy Rules
    • Access policy timeout rules
    • Access policy forwarding rules
    • Access policy inspection rules
    • Access policy isolation rules
    • Access policy privileged credentials rules
    • Access policy privileged capabilities rules

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as zpa from "@pulumi/zpa";
    
    const example = zpa.getIdPController({
        name: "idp_name",
    });
    
    import pulumi
    import pulumi_zpa as zpa
    
    example = zpa.get_id_p_controller(name="idp_name")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/zscaler/pulumi-zpa/sdk/go/zpa"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := zpa.GetIdPController(ctx, &zpa.GetIdPControllerArgs{
    			Name: pulumi.StringRef("idp_name"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Zpa = Pulumi.Zpa;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Zpa.GetIdPController.Invoke(new()
        {
            Name = "idp_name",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.zpa.ZpaFunctions;
    import com.pulumi.zpa.inputs.GetIdPControllerArgs;
    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 = ZpaFunctions.getIdPController(GetIdPControllerArgs.builder()
                .name("idp_name")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: zpa:getIdPController
          Arguments:
            name: idp_name
    
    import * as pulumi from "@pulumi/pulumi";
    import * as zpa from "@pulumi/zpa";
    
    const example = zpa.getIdPController({
        id: "1234567890",
    });
    
    import pulumi
    import pulumi_zpa as zpa
    
    example = zpa.get_id_p_controller(id="1234567890")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/zscaler/pulumi-zpa/sdk/go/zpa"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := zpa.GetIdPController(ctx, &zpa.GetIdPControllerArgs{
    			Id: pulumi.StringRef("1234567890"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Zpa = Pulumi.Zpa;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Zpa.GetIdPController.Invoke(new()
        {
            Id = "1234567890",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.zpa.ZpaFunctions;
    import com.pulumi.zpa.inputs.GetIdPControllerArgs;
    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 = ZpaFunctions.getIdPController(GetIdPControllerArgs.builder()
                .id("1234567890")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: zpa:getIdPController
          Arguments:
            id: '1234567890'
    

    Using getIdPController

    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 getIdPController(args: GetIdPControllerArgs, opts?: InvokeOptions): Promise<GetIdPControllerResult>
    function getIdPControllerOutput(args: GetIdPControllerOutputArgs, opts?: InvokeOptions): Output<GetIdPControllerResult>
    def get_id_p_controller(id: Optional[str] = None,
                            name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetIdPControllerResult
    def get_id_p_controller_output(id: Optional[pulumi.Input[str]] = None,
                            name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetIdPControllerResult]
    func GetIdPController(ctx *Context, args *GetIdPControllerArgs, opts ...InvokeOption) (*GetIdPControllerResult, error)
    func GetIdPControllerOutput(ctx *Context, args *GetIdPControllerOutputArgs, opts ...InvokeOption) GetIdPControllerResultOutput

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

    public static class GetIdPController 
    {
        public static Task<GetIdPControllerResult> InvokeAsync(GetIdPControllerArgs args, InvokeOptions? opts = null)
        public static Output<GetIdPControllerResult> Invoke(GetIdPControllerInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIdPControllerResult> getIdPController(GetIdPControllerArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: zpa:index/getIdPController:getIdPController
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Name string
    Id string
    Name string
    id String
    name String
    id string
    name string
    id str
    name str
    id String
    name String

    getIdPController Result

    The following output properties are available:

    Supporting Types

    GetIdPControllerAdminMetadata

    GetIdPControllerUserMetadata

    Package Details

    Repository
    zpa zscaler/pulumi-zpa
    License
    MIT
    Notes
    This Pulumi package is based on the zpa Terraform Provider.
    zpa logo
    Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler