Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler
zpa.getSegmentGroup
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";
const example = zpa.getSegmentGroup({
name: "segment_group_name",
});
import pulumi
import pulumi_zpa as zpa
example = zpa.get_segment_group(name="segment_group_name")
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.LookupSegmentGroup(ctx, &zpa.LookupSegmentGroupArgs{
Name: pulumi.StringRef("segment_group_name"),
}, 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 example = Zpa.GetSegmentGroup.Invoke(new()
{
Name = "segment_group_name",
});
});
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.GetSegmentGroupArgs;
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 example = ZpaFunctions.getSegmentGroup(GetSegmentGroupArgs.builder()
.name("segment_group_name")
.build());
}
}
variables:
example:
fn::invoke:
Function: zpa:getSegmentGroup
Arguments:
name: segment_group_name
Using getSegmentGroup
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 getSegmentGroup(args: GetSegmentGroupArgs, opts?: InvokeOptions): Promise<GetSegmentGroupResult>
function getSegmentGroupOutput(args: GetSegmentGroupOutputArgs, opts?: InvokeOptions): Output<GetSegmentGroupResult>
def get_segment_group(id: Optional[str] = None,
microtenant_id: Optional[str] = None,
microtenant_name: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSegmentGroupResult
def get_segment_group_output(id: Optional[pulumi.Input[str]] = None,
microtenant_id: Optional[pulumi.Input[str]] = None,
microtenant_name: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSegmentGroupResult]
func LookupSegmentGroup(ctx *Context, args *LookupSegmentGroupArgs, opts ...InvokeOption) (*LookupSegmentGroupResult, error)
func LookupSegmentGroupOutput(ctx *Context, args *LookupSegmentGroupOutputArgs, opts ...InvokeOption) LookupSegmentGroupResultOutput
> Note: This function is named LookupSegmentGroup
in the Go SDK.
public static class GetSegmentGroup
{
public static Task<GetSegmentGroupResult> InvokeAsync(GetSegmentGroupArgs args, InvokeOptions? opts = null)
public static Output<GetSegmentGroupResult> Invoke(GetSegmentGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSegmentGroupResult> getSegmentGroup(GetSegmentGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: zpa:index/getSegmentGroup:getSegmentGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Microtenant
Id string - Microtenant
Name string - Name string
- Id string
- Microtenant
Id string - Microtenant
Name string - Name string
- id String
- microtenant
Id String - microtenant
Name String - name String
- id string
- microtenant
Id string - microtenant
Name string - name string
- id str
- microtenant_
id str - microtenant_
name str - name str
- id String
- microtenant
Id String - microtenant
Name String - name String
getSegmentGroup Result
The following output properties are available:
- Applications
List<Zscaler.
Zpa. Outputs. Get Segment Group Application> - Config
Space string - Creation
Time string - Description string
- Enabled bool
- Modified
By string - Modified
Time string - Id string
- Microtenant
Id string - Microtenant
Name string - Name string
- Applications
[]Get
Segment Group Application - Config
Space string - Creation
Time string - Description string
- Enabled bool
- Modified
By string - Modified
Time string - Id string
- Microtenant
Id string - Microtenant
Name string - Name string
- applications
List<Get
Segment Group Application> - config
Space String - creation
Time String - description String
- enabled Boolean
- modified
By String - modified
Time String - id String
- microtenant
Id String - microtenant
Name String - name String
- applications
Get
Segment Group Application[] - config
Space string - creation
Time string - description string
- enabled boolean
- modified
By string - modified
Time string - id string
- microtenant
Id string - microtenant
Name string - name string
- applications
Sequence[Get
Segment Group Application] - config_
space str - creation_
time str - description str
- enabled bool
- modified_
by str - modified_
time str - id str
- microtenant_
id str - microtenant_
name str - name str
- applications List<Property Map>
- config
Space String - creation
Time String - description String
- enabled Boolean
- modified
By String - modified
Time String - id String
- microtenant
Id String - microtenant
Name String - name String
Supporting Types
GetSegmentGroupApplication
- Bypass
Type string - Config
Space string - Creation
Time string - Default
Idle stringTimeout - Default
Max stringAge - Description string
- Domain
Name string - Domain
Names List<string> - Double
Encrypt bool - Enabled bool
- Health
Check stringType - Id string
- Ip
Anchored bool - Log
Features List<string> - Modified
By string - Modified
Time string - Name string
- Passive
Health boolEnabled - Server
Groups List<Zscaler.Zpa. Inputs. Get Segment Group Application Server Group> - Tcp
Port List<string>Ranges - Tcp
Ports List<string>Ins - Tcp
Ports List<string>Outs - Udp
Port List<string>Ranges
- Bypass
Type string - Config
Space string - Creation
Time string - Default
Idle stringTimeout - Default
Max stringAge - Description string
- Domain
Name string - Domain
Names []string - Double
Encrypt bool - Enabled bool
- Health
Check stringType - Id string
- Ip
Anchored bool - Log
Features []string - Modified
By string - Modified
Time string - Name string
- Passive
Health boolEnabled - Server
Groups []GetSegment Group Application Server Group - Tcp
Port []stringRanges - Tcp
Ports []stringIns - Tcp
Ports []stringOuts - Udp
Port []stringRanges
- bypass
Type String - config
Space String - creation
Time String - default
Idle StringTimeout - default
Max StringAge - description String
- domain
Name String - domain
Names List<String> - double
Encrypt Boolean - enabled Boolean
- health
Check StringType - id String
- ip
Anchored Boolean - log
Features List<String> - modified
By String - modified
Time String - name String
- passive
Health BooleanEnabled - server
Groups List<GetSegment Group Application Server Group> - tcp
Port List<String>Ranges - tcp
Ports List<String>Ins - tcp
Ports List<String>Outs - udp
Port List<String>Ranges
- bypass
Type string - config
Space string - creation
Time string - default
Idle stringTimeout - default
Max stringAge - description string
- domain
Name string - domain
Names string[] - double
Encrypt boolean - enabled boolean
- health
Check stringType - id string
- ip
Anchored boolean - log
Features string[] - modified
By string - modified
Time string - name string
- passive
Health booleanEnabled - server
Groups GetSegment Group Application Server Group[] - tcp
Port string[]Ranges - tcp
Ports string[]Ins - tcp
Ports string[]Outs - udp
Port string[]Ranges
- bypass_
type str - config_
space str - creation_
time str - default_
idle_ strtimeout - default_
max_ strage - description str
- domain_
name str - domain_
names Sequence[str] - double_
encrypt bool - enabled bool
- health_
check_ strtype - id str
- ip_
anchored bool - log_
features Sequence[str] - modified_
by str - modified_
time str - name str
- passive_
health_ boolenabled - server_
groups Sequence[GetSegment Group Application Server Group] - tcp_
port_ Sequence[str]ranges - tcp_
ports_ Sequence[str]ins - tcp_
ports_ Sequence[str]outs - udp_
port_ Sequence[str]ranges
- bypass
Type String - config
Space String - creation
Time String - default
Idle StringTimeout - default
Max StringAge - description String
- domain
Name String - domain
Names List<String> - double
Encrypt Boolean - enabled Boolean
- health
Check StringType - id String
- ip
Anchored Boolean - log
Features List<String> - modified
By String - modified
Time String - name String
- passive
Health BooleanEnabled - server
Groups List<Property Map> - tcp
Port List<String>Ranges - tcp
Ports List<String>Ins - tcp
Ports List<String>Outs - udp
Port List<String>Ranges
GetSegmentGroupApplicationServerGroup
- Config
Space string - Creation
Time string - Description string
- Dynamic
Discovery bool - Enabled bool
- Id string
- Modified
By string - Modified
Time string - Name string
- Config
Space string - Creation
Time string - Description string
- Dynamic
Discovery bool - Enabled bool
- Id string
- Modified
By string - Modified
Time string - Name string
- config
Space String - creation
Time String - description String
- dynamic
Discovery Boolean - enabled Boolean
- id String
- modified
By String - modified
Time String - name String
- config
Space string - creation
Time string - description string
- dynamic
Discovery boolean - enabled boolean
- id string
- modified
By string - modified
Time string - name string
- config_
space str - creation_
time str - description str
- dynamic_
discovery bool - enabled bool
- id str
- modified_
by str - modified_
time str - name str
- config
Space String - creation
Time String - description String
- dynamic
Discovery Boolean - enabled Boolean
- id String
- modified
By String - modified
Time String - name String
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpa
Terraform Provider.