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

zpa.getPraCredentialController

Explore with Pulumi AI

zpa logo
Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler
    Deprecated: zpa.index/getpracredentialcontroller.getPraCredentialController has been deprecated in favor of zpa.index/getpracredential.getPRACredential

    The zpa_pra_credential_controller resource creates a privileged remote access credential in the Zscaler Private Access cloud. This resource can then be referenced in an privileged access policy resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as zpa from "@bdzscaler/pulumi-zpa";
    
    // Retrieves PRA Credential By ID
    const _this = new zpa.PRACredential("this", {});
    
    import pulumi
    import zscaler_pulumi_zpa as zpa
    
    # Retrieves PRA Credential By ID
    this = zpa.PRACredential("this")
    
    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 {
    		// Retrieves PRA Credential By ID
    		_, err := zpa.NewPRACredential(ctx, "this", nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Zpa = Zscaler.Zpa;
    
    return await Deployment.RunAsync(() => 
    {
        // Retrieves PRA Credential By ID
        var @this = new Zpa.PRACredential("this");
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.zpa.PRACredential;
    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) {
            // Retrieves PRA Credential By ID
            var this_ = new PRACredential("this");
    
        }
    }
    
    resources:
      # Retrieves PRA Credential By ID
      this:
        type: zpa:PRACredential
    

    Using getPraCredentialController

    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 getPraCredentialController(args: GetPraCredentialControllerArgs, opts?: InvokeOptions): Promise<GetPraCredentialControllerResult>
    function getPraCredentialControllerOutput(args: GetPraCredentialControllerOutputArgs, opts?: InvokeOptions): Output<GetPraCredentialControllerResult>
    def get_pra_credential_controller(id: Optional[str] = None,
                                      name: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetPraCredentialControllerResult
    def get_pra_credential_controller_output(id: Optional[pulumi.Input[str]] = None,
                                      name: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetPraCredentialControllerResult]
    func LookupPraCredentialController(ctx *Context, args *LookupPraCredentialControllerArgs, opts ...InvokeOption) (*LookupPraCredentialControllerResult, error)
    func LookupPraCredentialControllerOutput(ctx *Context, args *LookupPraCredentialControllerOutputArgs, opts ...InvokeOption) LookupPraCredentialControllerResultOutput

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

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

    The following arguments are supported:

    Id string
    Name string
    • (String) The name of the privileged credential.
    Id string
    Name string
    • (String) The name of the privileged credential.
    id String
    name String
    • (String) The name of the privileged credential.
    id string
    name string
    • (String) The name of the privileged credential.
    id str
    name str
    • (String) The name of the privileged credential.
    id String
    name String
    • (String) The name of the privileged credential.

    getPraCredentialController Result

    The following output properties are available:

    CreationTime string
    CredentialType string
    Description string
    LastCredentialResetTime string
    MicrotenantId string
    MicrotenantName string
    ModifiedBy string
    ModifiedTime string
    Password string
    UserDomain string
    Username string
    Id string
    Name string
    • (String) The name of the privileged credential.
    CreationTime string
    CredentialType string
    Description string
    LastCredentialResetTime string
    MicrotenantId string
    MicrotenantName string
    ModifiedBy string
    ModifiedTime string
    Password string
    UserDomain string
    Username string
    Id string
    Name string
    • (String) The name of the privileged credential.
    creationTime String
    credentialType String
    description String
    lastCredentialResetTime String
    microtenantId String
    microtenantName String
    modifiedBy String
    modifiedTime String
    password String
    userDomain String
    username String
    id String
    name String
    • (String) The name of the privileged credential.
    creationTime string
    credentialType string
    description string
    lastCredentialResetTime string
    microtenantId string
    microtenantName string
    modifiedBy string
    modifiedTime string
    password string
    userDomain string
    username string
    id string
    name string
    • (String) The name of the privileged credential.
    creationTime String
    credentialType String
    description String
    lastCredentialResetTime String
    microtenantId String
    microtenantName String
    modifiedBy String
    modifiedTime String
    password String
    userDomain String
    username String
    id String
    name String
    • (String) The name of the privileged credential.

    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