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

zpa.getSegmentGroup

Explore with Pulumi AI

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

    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
    MicrotenantId string
    MicrotenantName string
    Name string
    Id string
    MicrotenantId string
    MicrotenantName string
    Name string
    id String
    microtenantId String
    microtenantName String
    name String
    id string
    microtenantId string
    microtenantName string
    name string
    id String
    microtenantId String
    microtenantName String
    name String

    getSegmentGroup Result

    The following output properties are available:

    Supporting Types

    GetSegmentGroupApplication

    bypassType String
    configSpace String
    creationTime String
    defaultIdleTimeout String
    defaultMaxAge String
    description String
    domainName String
    domainNames List<String>
    doubleEncrypt Boolean
    enabled Boolean
    healthCheckType String
    id String
    ipAnchored Boolean
    logFeatures List<String>
    modifiedBy String
    modifiedTime String
    name String
    passiveHealthEnabled Boolean
    serverGroups List<Property Map>
    tcpPortRanges List<String>
    tcpPortsIns List<String>
    tcpPortsOuts List<String>
    udpPortRanges List<String>

    GetSegmentGroupApplicationServerGroup

    ConfigSpace string
    CreationTime string
    Description string
    DynamicDiscovery bool
    Enabled bool
    Id string
    ModifiedBy string
    ModifiedTime string
    Name string
    ConfigSpace string
    CreationTime string
    Description string
    DynamicDiscovery bool
    Enabled bool
    Id string
    ModifiedBy string
    ModifiedTime string
    Name string
    configSpace String
    creationTime String
    description String
    dynamicDiscovery Boolean
    enabled Boolean
    id String
    modifiedBy String
    modifiedTime String
    name String
    configSpace string
    creationTime string
    description string
    dynamicDiscovery boolean
    enabled boolean
    id string
    modifiedBy string
    modifiedTime string
    name string
    configSpace String
    creationTime String
    description String
    dynamicDiscovery Boolean
    enabled Boolean
    id String
    modifiedBy String
    modifiedTime 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