Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler
zpa.getCloudBrowserIsolationCertificate
Explore with Pulumi AI
Use the zpa_cloud_browser_isolation_certificate data source to get information about Cloud Browser Isolation Certificate. This data source information is required as part of the attribute certificate_ids
when creating an Cloud Browser Isolation External Profile zpa.CloudBrowserIsolationExternalProfile
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";
const this = zpa.getCloudBrowserIsolationCertificate({
name: "Zscaler Root Certificate",
});
import pulumi
import pulumi_zpa as zpa
this = zpa.get_cloud_browser_isolation_certificate(name="Zscaler Root Certificate")
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.LookupCloudBrowserIsolationCertificate(ctx, &zpa.LookupCloudBrowserIsolationCertificateArgs{
Name: pulumi.StringRef("Zscaler Root Certificate"),
}, 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.GetCloudBrowserIsolationCertificate.Invoke(new()
{
Name = "Zscaler Root Certificate",
});
});
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.GetCloudBrowserIsolationCertificateArgs;
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.getCloudBrowserIsolationCertificate(GetCloudBrowserIsolationCertificateArgs.builder()
.name("Zscaler Root Certificate")
.build());
}
}
variables:
this:
fn::invoke:
Function: zpa:getCloudBrowserIsolationCertificate
Arguments:
name: Zscaler Root Certificate
Using getCloudBrowserIsolationCertificate
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 getCloudBrowserIsolationCertificate(args: GetCloudBrowserIsolationCertificateArgs, opts?: InvokeOptions): Promise<GetCloudBrowserIsolationCertificateResult>
function getCloudBrowserIsolationCertificateOutput(args: GetCloudBrowserIsolationCertificateOutputArgs, opts?: InvokeOptions): Output<GetCloudBrowserIsolationCertificateResult>
def get_cloud_browser_isolation_certificate(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudBrowserIsolationCertificateResult
def get_cloud_browser_isolation_certificate_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudBrowserIsolationCertificateResult]
func LookupCloudBrowserIsolationCertificate(ctx *Context, args *LookupCloudBrowserIsolationCertificateArgs, opts ...InvokeOption) (*LookupCloudBrowserIsolationCertificateResult, error)
func LookupCloudBrowserIsolationCertificateOutput(ctx *Context, args *LookupCloudBrowserIsolationCertificateOutputArgs, opts ...InvokeOption) LookupCloudBrowserIsolationCertificateResultOutput
> Note: This function is named LookupCloudBrowserIsolationCertificate
in the Go SDK.
public static class GetCloudBrowserIsolationCertificate
{
public static Task<GetCloudBrowserIsolationCertificateResult> InvokeAsync(GetCloudBrowserIsolationCertificateArgs args, InvokeOptions? opts = null)
public static Output<GetCloudBrowserIsolationCertificateResult> Invoke(GetCloudBrowserIsolationCertificateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCloudBrowserIsolationCertificateResult> getCloudBrowserIsolationCertificate(GetCloudBrowserIsolationCertificateArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: zpa:index/getCloudBrowserIsolationCertificate:getCloudBrowserIsolationCertificate
arguments:
# arguments dictionary
The following arguments are supported:
getCloudBrowserIsolationCertificate Result
The following output properties are available:
- is_
default bool - pem str
- id str
- name str
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpa
Terraform Provider.