Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler
zpa.getPraCredentialController
Explore with Pulumi AI
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:
getPraCredentialController 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
zpa
Terraform Provider.