Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler
zpa.getPRACredential
Explore with Pulumi AI
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 getPRACredential
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 getPRACredential(args: GetPRACredentialArgs, opts?: InvokeOptions): Promise<GetPRACredentialResult>
function getPRACredentialOutput(args: GetPRACredentialOutputArgs, opts?: InvokeOptions): Output<GetPRACredentialResult>def get_pra_credential(id: Optional[str] = None,
                       name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetPRACredentialResult
def get_pra_credential_output(id: Optional[pulumi.Input[str]] = None,
                       name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetPRACredentialResult]func LookupPRACredential(ctx *Context, args *LookupPRACredentialArgs, opts ...InvokeOption) (*LookupPRACredentialResult, error)
func LookupPRACredentialOutput(ctx *Context, args *LookupPRACredentialOutputArgs, opts ...InvokeOption) LookupPRACredentialResultOutput> Note: This function is named LookupPRACredential in the Go SDK.
public static class GetPRACredential 
{
    public static Task<GetPRACredentialResult> InvokeAsync(GetPRACredentialArgs args, InvokeOptions? opts = null)
    public static Output<GetPRACredentialResult> Invoke(GetPRACredentialInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPRACredentialResult> getPRACredential(GetPRACredentialArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: zpa:index/getPRACredential:getPRACredential
  arguments:
    # arguments dictionaryThe following arguments are supported:
getPRACredential Result
The following output properties are available:
- Creation
Time string - Credential
Type string - Description string
 - Last
Credential stringReset Time  - Microtenant
Id string - Microtenant
Name string - Modified
By string - Modified
Time string - Password string
 - User
Domain string - Username string
 - Id string
 - Name string
 - (String) The name of the privileged credential.
 
- Creation
Time string - Credential
Type string - Description string
 - Last
Credential stringReset Time  - Microtenant
Id string - Microtenant
Name string - Modified
By string - Modified
Time string - Password string
 - User
Domain string - Username string
 - Id string
 - Name string
 - (String) The name of the privileged credential.
 
- creation
Time String - credential
Type String - description String
 - last
Credential StringReset Time  - microtenant
Id String - microtenant
Name String - modified
By String - modified
Time String - password String
 - user
Domain String - username String
 - id String
 - name String
 - (String) The name of the privileged credential.
 
- creation
Time string - credential
Type string - description string
 - last
Credential stringReset Time  - microtenant
Id string - microtenant
Name string - modified
By string - modified
Time string - password string
 - user
Domain string - username string
 - id string
 - name string
 - (String) The name of the privileged credential.
 
- creation_
time str - credential_
type str - description str
 - last_
credential_ strreset_ time  - microtenant_
id str - microtenant_
name str - modified_
by str - modified_
time str - password str
 - user_
domain str - username str
 - id str
 - name str
 - (String) The name of the privileged credential.
 
- creation
Time String - credential
Type String - description String
 - last
Credential StringReset Time  - microtenant
Id String - microtenant
Name String - modified
By String - modified
Time String - password String
 - user
Domain 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 
zpaTerraform Provider.