1. Packages
  2. Zscaler Private Access (ZPA)
  3. API Docs
  4. getAppConnectorGroup
Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler

zpa.getAppConnectorGroup

Explore with Pulumi AI

zpa logo
Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as zpa from "@pulumi/zpa";
    
    const foo = zpa.getAppConnectorGroup({
        name: "DataCenter",
    });
    
    import pulumi
    import pulumi_zpa as zpa
    
    foo = zpa.get_app_connector_group(name="DataCenter")
    
    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.GetAppConnectorGroup(ctx, &zpa.GetAppConnectorGroupArgs{
    			Name: pulumi.StringRef("DataCenter"),
    		}, 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 foo = Zpa.GetAppConnectorGroup.Invoke(new()
        {
            Name = "DataCenter",
        });
    
    });
    
    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.GetAppConnectorGroupArgs;
    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 foo = ZpaFunctions.getAppConnectorGroup(GetAppConnectorGroupArgs.builder()
                .name("DataCenter")
                .build());
    
        }
    }
    
    variables:
      foo:
        fn::invoke:
          Function: zpa:getAppConnectorGroup
          Arguments:
            name: DataCenter
    
    import * as pulumi from "@pulumi/pulumi";
    import * as zpa from "@pulumi/zpa";
    
    const foo = zpa.getAppConnectorGroup({
        id: "123456789",
    });
    
    import pulumi
    import pulumi_zpa as zpa
    
    foo = zpa.get_app_connector_group(id="123456789")
    
    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.GetAppConnectorGroup(ctx, &zpa.GetAppConnectorGroupArgs{
    			Id: pulumi.StringRef("123456789"),
    		}, 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 foo = Zpa.GetAppConnectorGroup.Invoke(new()
        {
            Id = "123456789",
        });
    
    });
    
    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.GetAppConnectorGroupArgs;
    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 foo = ZpaFunctions.getAppConnectorGroup(GetAppConnectorGroupArgs.builder()
                .id("123456789")
                .build());
    
        }
    }
    
    variables:
      foo:
        fn::invoke:
          Function: zpa:getAppConnectorGroup
          Arguments:
            id: '123456789'
    

    Using getAppConnectorGroup

    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 getAppConnectorGroup(args: GetAppConnectorGroupArgs, opts?: InvokeOptions): Promise<GetAppConnectorGroupResult>
    function getAppConnectorGroupOutput(args: GetAppConnectorGroupOutputArgs, opts?: InvokeOptions): Output<GetAppConnectorGroupResult>
    def get_app_connector_group(id: Optional[str] = None,
                                microtenant_id: Optional[str] = None,
                                microtenant_name: Optional[str] = None,
                                name: Optional[str] = None,
                                override_version_profile: Optional[bool] = None,
                                opts: Optional[InvokeOptions] = None) -> GetAppConnectorGroupResult
    def get_app_connector_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,
                                override_version_profile: Optional[pulumi.Input[bool]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetAppConnectorGroupResult]
    func GetAppConnectorGroup(ctx *Context, args *GetAppConnectorGroupArgs, opts ...InvokeOption) (*GetAppConnectorGroupResult, error)
    func GetAppConnectorGroupOutput(ctx *Context, args *GetAppConnectorGroupOutputArgs, opts ...InvokeOption) GetAppConnectorGroupResultOutput

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

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

    The following arguments are supported:

    getAppConnectorGroup Result

    The following output properties are available:

    Supporting Types

    GetAppConnectorGroupConnector

    GetAppConnectorGroupServerGroup

    ConfigSpace string
    CreationTime string
    Description string
    DynamicDiscovery bool
    Enabled bool
    Id string
    ModifiedTime string
    Modifiedby string
    Name string
    ConfigSpace string
    CreationTime string
    Description string
    DynamicDiscovery bool
    Enabled bool
    Id string
    ModifiedTime string
    Modifiedby string
    Name string
    configSpace String
    creationTime String
    description String
    dynamicDiscovery Boolean
    enabled Boolean
    id String
    modifiedTime String
    modifiedby String
    name String
    configSpace string
    creationTime string
    description string
    dynamicDiscovery boolean
    enabled boolean
    id string
    modifiedTime string
    modifiedby string
    name string
    configSpace String
    creationTime String
    description String
    dynamicDiscovery Boolean
    enabled Boolean
    id String
    modifiedTime String
    modifiedby 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.12 published on Tuesday, Jul 30, 2024 by Zscaler