1. Packages
  2. Zscaler Private Access (ZPA)
  3. API Docs
  4. getCloudBrowserIsolationBanner
Zscaler Private Access v0.0.11 published on Saturday, May 4, 2024 by Zscaler

zpa.getCloudBrowserIsolationBanner

Explore with Pulumi AI

zpa logo
Zscaler Private Access v0.0.11 published on Saturday, May 4, 2024 by Zscaler

    Use the zpa_cloud_browser_isolation_banner data source to get information about Cloud Browser Isolation banner. This data source information is required as part of the attribute banner_id 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.getCloudBrowserIsolationBanner({
        name: "Default",
    });
    
    import pulumi
    import pulumi_zpa as zpa
    
    this = zpa.get_cloud_browser_isolation_banner(name="Default")
    
    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.LookupCloudBrowserIsolationBanner(ctx, &zpa.LookupCloudBrowserIsolationBannerArgs{
    			Name: pulumi.StringRef("Default"),
    		}, 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.GetCloudBrowserIsolationBanner.Invoke(new()
        {
            Name = "Default",
        });
    
    });
    
    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.GetCloudBrowserIsolationBannerArgs;
    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.getCloudBrowserIsolationBanner(GetCloudBrowserIsolationBannerArgs.builder()
                .name("Default")
                .build());
    
        }
    }
    
    variables:
      this:
        fn::invoke:
          Function: zpa:getCloudBrowserIsolationBanner
          Arguments:
            name: Default
    

    Using getCloudBrowserIsolationBanner

    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 getCloudBrowserIsolationBanner(args: GetCloudBrowserIsolationBannerArgs, opts?: InvokeOptions): Promise<GetCloudBrowserIsolationBannerResult>
    function getCloudBrowserIsolationBannerOutput(args: GetCloudBrowserIsolationBannerOutputArgs, opts?: InvokeOptions): Output<GetCloudBrowserIsolationBannerResult>
    def get_cloud_browser_isolation_banner(id: Optional[str] = None,
                                           name: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetCloudBrowserIsolationBannerResult
    def get_cloud_browser_isolation_banner_output(id: Optional[pulumi.Input[str]] = None,
                                           name: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetCloudBrowserIsolationBannerResult]
    func LookupCloudBrowserIsolationBanner(ctx *Context, args *LookupCloudBrowserIsolationBannerArgs, opts ...InvokeOption) (*LookupCloudBrowserIsolationBannerResult, error)
    func LookupCloudBrowserIsolationBannerOutput(ctx *Context, args *LookupCloudBrowserIsolationBannerOutputArgs, opts ...InvokeOption) LookupCloudBrowserIsolationBannerResultOutput

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

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

    The following arguments are supported:

    Id string
    Name string
    Id string
    Name string
    id String
    name String
    id string
    name string
    id str
    name str
    id String
    name String

    getCloudBrowserIsolationBanner Result

    The following output properties are available:

    bool
    IsDefault bool
    Logo string
    NotificationText string
    NotificationTitle string
    PrimaryColor string
    TextColor string
    Id string
    Name string
    bool
    IsDefault bool
    Logo string
    NotificationText string
    NotificationTitle string
    PrimaryColor string
    TextColor string
    Id string
    Name string
    Boolean
    isDefault Boolean
    logo String
    notificationText String
    notificationTitle String
    primaryColor String
    textColor String
    id String
    name String
    boolean
    isDefault boolean
    logo string
    notificationText string
    notificationTitle string
    primaryColor string
    textColor string
    id string
    name string
    Boolean
    isDefault Boolean
    logo String
    notificationText String
    notificationTitle String
    primaryColor String
    textColor String
    id String
    name String

    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.11 published on Saturday, May 4, 2024 by Zscaler