1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. getCbiProfile
Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler

zia.getCbiProfile

Explore with Pulumi AI

zia logo
Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler

    Use the zia_cloud_browser_isolation_profile data source to get information about an isolation profile in the Zscaler Internet Access cloud. This data source is required when configuring URL filtering rule where the action is set to ISOLATE

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as zia from "@pulumi/zia";
    
    const this = zia.getCbiProfile({
        name: "ZS_CBI_Profile1",
    });
    
    import pulumi
    import pulumi_zia as zia
    
    this = zia.get_cbi_profile(name="ZS_CBI_Profile1")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/zscaler/pulumi-zia/sdk/go/zia"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := zia.GetCbiProfile(ctx, &zia.GetCbiProfileArgs{
    			Name: pulumi.StringRef("ZS_CBI_Profile1"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Zia = Pulumi.Zia;
    
    return await Deployment.RunAsync(() => 
    {
        var @this = Zia.GetCbiProfile.Invoke(new()
        {
            Name = "ZS_CBI_Profile1",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.zia.ZiaFunctions;
    import com.pulumi.zia.inputs.GetCbiProfileArgs;
    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 = ZiaFunctions.getCbiProfile(GetCbiProfileArgs.builder()
                .name("ZS_CBI_Profile1")
                .build());
    
        }
    }
    
    variables:
      this:
        fn::invoke:
          Function: zia:getCbiProfile
          Arguments:
            name: ZS_CBI_Profile1
    

    Using getCbiProfile

    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 getCbiProfile(args: GetCbiProfileArgs, opts?: InvokeOptions): Promise<GetCbiProfileResult>
    function getCbiProfileOutput(args: GetCbiProfileOutputArgs, opts?: InvokeOptions): Output<GetCbiProfileResult>
    def get_cbi_profile(id: Optional[str] = None,
                        name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetCbiProfileResult
    def get_cbi_profile_output(id: Optional[pulumi.Input[str]] = None,
                        name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetCbiProfileResult]
    func GetCbiProfile(ctx *Context, args *GetCbiProfileArgs, opts ...InvokeOption) (*GetCbiProfileResult, error)
    func GetCbiProfileOutput(ctx *Context, args *GetCbiProfileOutputArgs, opts ...InvokeOption) GetCbiProfileResultOutput

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

    public static class GetCbiProfile 
    {
        public static Task<GetCbiProfileResult> InvokeAsync(GetCbiProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetCbiProfileResult> Invoke(GetCbiProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCbiProfileResult> getCbiProfile(GetCbiProfileArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: zia:index/getCbiProfile:getCbiProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    (string) The universally unique identifier (UUID) for the browser isolation profile.
    Name string
    This field defines the name of the isolation profile.
    Id string
    (string) The universally unique identifier (UUID) for the browser isolation profile.
    Name string
    This field defines the name of the isolation profile.
    id String
    (string) The universally unique identifier (UUID) for the browser isolation profile.
    name String
    This field defines the name of the isolation profile.
    id string
    (string) The universally unique identifier (UUID) for the browser isolation profile.
    name string
    This field defines the name of the isolation profile.
    id str
    (string) The universally unique identifier (UUID) for the browser isolation profile.
    name str
    This field defines the name of the isolation profile.
    id String
    (string) The universally unique identifier (UUID) for the browser isolation profile.
    name String
    This field defines the name of the isolation profile.

    getCbiProfile Result

    The following output properties are available:

    DefaultProfile bool
    (Optional) Indicates whether this is a default browser isolation profile. Zscaler sets this field
    Url string
    (string) The browser isolation profile URL
    Id string
    (string) The universally unique identifier (UUID) for the browser isolation profile.
    Name string
    DefaultProfile bool
    (Optional) Indicates whether this is a default browser isolation profile. Zscaler sets this field
    Url string
    (string) The browser isolation profile URL
    Id string
    (string) The universally unique identifier (UUID) for the browser isolation profile.
    Name string
    defaultProfile Boolean
    (Optional) Indicates whether this is a default browser isolation profile. Zscaler sets this field
    url String
    (string) The browser isolation profile URL
    id String
    (string) The universally unique identifier (UUID) for the browser isolation profile.
    name String
    defaultProfile boolean
    (Optional) Indicates whether this is a default browser isolation profile. Zscaler sets this field
    url string
    (string) The browser isolation profile URL
    id string
    (string) The universally unique identifier (UUID) for the browser isolation profile.
    name string
    default_profile bool
    (Optional) Indicates whether this is a default browser isolation profile. Zscaler sets this field
    url str
    (string) The browser isolation profile URL
    id str
    (string) The universally unique identifier (UUID) for the browser isolation profile.
    name str
    defaultProfile Boolean
    (Optional) Indicates whether this is a default browser isolation profile. Zscaler sets this field
    url String
    (string) The browser isolation profile URL
    id String
    (string) The universally unique identifier (UUID) for the browser isolation profile.
    name String

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    MIT
    Notes
    This Pulumi package is based on the zia Terraform Provider.
    zia logo
    Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler