Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler
zpa.getIsolationProfile
Explore with Pulumi AI
Use the zpa_isolation_profile data source to get information about an isolation profile in the Zscaler Private Access cloud. This data source is required when configuring an isolation policy rule resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";
const isolationProfile = zpa.getIsolationProfile({
name: "zpa_isolation_profile",
});
import pulumi
import pulumi_zpa as zpa
isolation_profile = zpa.get_isolation_profile(name="zpa_isolation_profile")
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.GetIsolationProfile(ctx, &zpa.GetIsolationProfileArgs{
Name: pulumi.StringRef("zpa_isolation_profile"),
}, 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 isolationProfile = Zpa.GetIsolationProfile.Invoke(new()
{
Name = "zpa_isolation_profile",
});
});
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.GetIsolationProfileArgs;
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 isolationProfile = ZpaFunctions.getIsolationProfile(GetIsolationProfileArgs.builder()
.name("zpa_isolation_profile")
.build());
}
}
variables:
isolationProfile:
fn::invoke:
Function: zpa:getIsolationProfile
Arguments:
name: zpa_isolation_profile
Using getIsolationProfile
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 getIsolationProfile(args: GetIsolationProfileArgs, opts?: InvokeOptions): Promise<GetIsolationProfileResult>
function getIsolationProfileOutput(args: GetIsolationProfileOutputArgs, opts?: InvokeOptions): Output<GetIsolationProfileResult>
def get_isolation_profile(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIsolationProfileResult
def get_isolation_profile_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIsolationProfileResult]
func GetIsolationProfile(ctx *Context, args *GetIsolationProfileArgs, opts ...InvokeOption) (*GetIsolationProfileResult, error)
func GetIsolationProfileOutput(ctx *Context, args *GetIsolationProfileOutputArgs, opts ...InvokeOption) GetIsolationProfileResultOutput
> Note: This function is named GetIsolationProfile
in the Go SDK.
public static class GetIsolationProfile
{
public static Task<GetIsolationProfileResult> InvokeAsync(GetIsolationProfileArgs args, InvokeOptions? opts = null)
public static Output<GetIsolationProfileResult> Invoke(GetIsolationProfileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIsolationProfileResult> getIsolationProfile(GetIsolationProfileArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: zpa:index/getIsolationProfile:getIsolationProfile
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- (Required) This field defines the name of the isolation profile.
- Name string
- (Required) This field defines the name of the isolation profile.
- name String
- (Required) This field defines the name of the isolation profile.
- name string
- (Required) This field defines the name of the isolation profile.
- name str
- (Required) This field defines the name of the isolation profile.
- name String
- (Required) This field defines the name of the isolation profile.
getIsolationProfile Result
The following output properties are available:
- Creation
Time string - Description string
- Enabled bool
- Id string
- Isolation
Profile stringId - Isolation
Tenant stringId - Isolation
Url string - Modified
Time string - Modifiedby string
- Name string
- (Required) This field defines the name of the isolation profile.
- Creation
Time string - Description string
- Enabled bool
- Id string
- Isolation
Profile stringId - Isolation
Tenant stringId - Isolation
Url string - Modified
Time string - Modifiedby string
- Name string
- (Required) This field defines the name of the isolation profile.
- creation
Time String - description String
- enabled Boolean
- id String
- isolation
Profile StringId - isolation
Tenant StringId - isolation
Url String - modified
Time String - modifiedby String
- name String
- (Required) This field defines the name of the isolation profile.
- creation
Time string - description string
- enabled boolean
- id string
- isolation
Profile stringId - isolation
Tenant stringId - isolation
Url string - modified
Time string - modifiedby string
- name string
- (Required) This field defines the name of the isolation profile.
- creation_
time str - description str
- enabled bool
- id str
- isolation_
profile_ strid - isolation_
tenant_ strid - isolation_
url str - modified_
time str - modifiedby str
- name str
- (Required) This field defines the name of the isolation profile.
- creation
Time String - description String
- enabled Boolean
- id String
- isolation
Profile StringId - isolation
Tenant StringId - isolation
Url String - modified
Time String - modifiedby String
- name String
- (Required) This field defines the name of the isolation profile.
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpa
Terraform Provider.