Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler
zpa.getPraPortalController
Explore with Pulumi AI
Deprecated: zpa.index/getpraportalcontroller.getPraPortalController has been deprecated in favor of zpa.index/getpraportal.getPRAPortal
Use the zpa_pra_portal_controller data source to get information about a privileged remote access portal created in the Zscaler Private Access cloud. This data source can then be referenced in an privileged remote access console resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";
const this = zpa.getPRAPortal({
name: "Example",
});
import pulumi
import pulumi_zpa as zpa
this = zpa.get_pra_portal(name="Example")
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.LookupPRAPortal(ctx, &zpa.LookupPRAPortalArgs{
Name: pulumi.StringRef("Example"),
}, 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 @this = Zpa.GetPRAPortal.Invoke(new()
{
Name = "Example",
});
});
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.GetPRAPortalArgs;
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 this = ZpaFunctions.getPRAPortal(GetPRAPortalArgs.builder()
.name("Example")
.build());
}
}
variables:
this:
fn::invoke:
Function: zpa:getPRAPortal
Arguments:
name: Example
Using getPraPortalController
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 getPraPortalController(args: GetPraPortalControllerArgs, opts?: InvokeOptions): Promise<GetPraPortalControllerResult>
function getPraPortalControllerOutput(args: GetPraPortalControllerOutputArgs, opts?: InvokeOptions): Output<GetPraPortalControllerResult>
def get_pra_portal_controller(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPraPortalControllerResult
def get_pra_portal_controller_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPraPortalControllerResult]
func LookupPraPortalController(ctx *Context, args *LookupPraPortalControllerArgs, opts ...InvokeOption) (*LookupPraPortalControllerResult, error)
func LookupPraPortalControllerOutput(ctx *Context, args *LookupPraPortalControllerOutputArgs, opts ...InvokeOption) LookupPraPortalControllerResultOutput
> Note: This function is named LookupPraPortalController
in the Go SDK.
public static class GetPraPortalController
{
public static Task<GetPraPortalControllerResult> InvokeAsync(GetPraPortalControllerArgs args, InvokeOptions? opts = null)
public static Output<GetPraPortalControllerResult> Invoke(GetPraPortalControllerInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPraPortalControllerResult> getPraPortalController(GetPraPortalControllerArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: zpa:index/getPraPortalController:getPraPortalController
arguments:
# arguments dictionary
The following arguments are supported:
getPraPortalController Result
The following output properties are available:
- Certificate
Id string - Certificate
Name string - Cname string
- Creation
Time string - Description string
- Domain string
- Enabled bool
- Microtenant
Id string - Microtenant
Name string - Modified
By string - Modified
Time string - User
Notification string - User
Notification boolEnabled - Id string
- Name string
- Certificate
Id string - Certificate
Name string - Cname string
- Creation
Time string - Description string
- Domain string
- Enabled bool
- Microtenant
Id string - Microtenant
Name string - Modified
By string - Modified
Time string - User
Notification string - User
Notification boolEnabled - Id string
- Name string
- certificate
Id String - certificate
Name String - cname String
- creation
Time String - description String
- domain String
- enabled Boolean
- microtenant
Id String - microtenant
Name String - modified
By String - modified
Time String - user
Notification String - user
Notification BooleanEnabled - id String
- name String
- certificate
Id string - certificate
Name string - cname string
- creation
Time string - description string
- domain string
- enabled boolean
- microtenant
Id string - microtenant
Name string - modified
By string - modified
Time string - user
Notification string - user
Notification booleanEnabled - id string
- name string
- certificate_
id str - certificate_
name str - cname str
- creation_
time str - description str
- domain str
- enabled bool
- microtenant_
id str - microtenant_
name str - modified_
by str - modified_
time str - user_
notification str - user_
notification_ boolenabled - id str
- name str
- certificate
Id String - certificate
Name String - cname String
- creation
Time String - description String
- domain String
- enabled Boolean
- microtenant
Id String - microtenant
Name String - modified
By String - modified
Time String - user
Notification String - user
Notification BooleanEnabled - id String
- name String
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpa
Terraform Provider.