zpa logo
Zscaler Private Access v0.0.4, Jan 30 23

zpa.CloudConnectorGroup.getCloudConnectorGroup

Use the zpa_cloud_connector_group data source to get information about a cloud connector group created from the Zscaler Private Access cloud. This data source can then be referenced within an Access Policy rule

NOTE: A Cloud Connector Group resource is created in the Zscaler Cloud Connector cloud and replicated to the ZPA cloud. This resource can then be referenced in a Access Policy Rule where the Object Type = CLOUD_CONNECTOR_GROUP is being used.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Zpa = Pulumi.Zpa;

return await Deployment.RunAsync(() => 
{
    var foo = Zpa.CloudConnectorGroup.GetCloudConnectorGroup.Invoke(new()
    {
        Name = "AWS-Cloud",
    });

});
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/zscaler/pulumi-zpa/sdk/go/zpa/CloudConnectorGroup"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := CloudConnectorGroup.GetCloudConnectorGroup(ctx, &cloudconnectorgroup.GetCloudConnectorGroupArgs{
			Name: pulumi.StringRef("AWS-Cloud"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zpa.CloudConnectorGroup.CloudConnectorGroupFunctions;
import com.pulumi.zpa.CloudConnectorGroup.inputs.GetCloudConnectorGroupArgs;
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 = CloudConnectorGroupFunctions.getCloudConnectorGroup(GetCloudConnectorGroupArgs.builder()
            .name("AWS-Cloud")
            .build());

    }
}
import pulumi
import pulumi_zpa as zpa

foo = zpa.CloudConnectorGroup.get_cloud_connector_group(name="AWS-Cloud")
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";

const foo = zpa.CloudConnectorGroup.getCloudConnectorGroup({
    name: "AWS-Cloud",
});
variables:
  foo:
    fn::invoke:
      Function: zpa:CloudConnectorGroup:getCloudConnectorGroup
      Arguments:
        name: AWS-Cloud
using System.Collections.Generic;
using Pulumi;
using Zpa = Pulumi.Zpa;

return await Deployment.RunAsync(() => 
{
    var foo = Zpa.CloudConnectorGroup.GetCloudConnectorGroup.Invoke(new()
    {
        Id = "1234567890",
    });

});
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/zscaler/pulumi-zpa/sdk/go/zpa/CloudConnectorGroup"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := CloudConnectorGroup.GetCloudConnectorGroup(ctx, &cloudconnectorgroup.GetCloudConnectorGroupArgs{
			Id: pulumi.StringRef("1234567890"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zpa.CloudConnectorGroup.CloudConnectorGroupFunctions;
import com.pulumi.zpa.CloudConnectorGroup.inputs.GetCloudConnectorGroupArgs;
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 = CloudConnectorGroupFunctions.getCloudConnectorGroup(GetCloudConnectorGroupArgs.builder()
            .id("1234567890")
            .build());

    }
}
import pulumi
import pulumi_zpa as zpa

foo = zpa.CloudConnectorGroup.get_cloud_connector_group(id="1234567890")
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";

const foo = zpa.CloudConnectorGroup.getCloudConnectorGroup({
    id: "1234567890",
});
variables:
  foo:
    fn::invoke:
      Function: zpa:CloudConnectorGroup:getCloudConnectorGroup
      Arguments:
        id: '1234567890'

Using getCloudConnectorGroup

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 getCloudConnectorGroup(args: GetCloudConnectorGroupArgs, opts?: InvokeOptions): Promise<GetCloudConnectorGroupResult>
function getCloudConnectorGroupOutput(args: GetCloudConnectorGroupOutputArgs, opts?: InvokeOptions): Output<GetCloudConnectorGroupResult>
def get_cloud_connector_group(id: Optional[str] = None,
                              name: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetCloudConnectorGroupResult
def get_cloud_connector_group_output(id: Optional[pulumi.Input[str]] = None,
                              name: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetCloudConnectorGroupResult]
func GetCloudConnectorGroup(ctx *Context, args *GetCloudConnectorGroupArgs, opts ...InvokeOption) (*GetCloudConnectorGroupResult, error)
func GetCloudConnectorGroupOutput(ctx *Context, args *GetCloudConnectorGroupOutputArgs, opts ...InvokeOption) GetCloudConnectorGroupResultOutput

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

public static class GetCloudConnectorGroup 
{
    public static Task<GetCloudConnectorGroupResult> InvokeAsync(GetCloudConnectorGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetCloudConnectorGroupResult> Invoke(GetCloudConnectorGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCloudConnectorGroupResult> getCloudConnectorGroup(GetCloudConnectorGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: zpa:CloudConnectorGroup/getCloudConnectorGroup:getCloudConnectorGroup
  arguments:
    # arguments dictionary

The following arguments are supported:

Id string

This field defines the id of the cloud connector group.

Name string

This field defines the name of the cloud connector group.

Id string

This field defines the id of the cloud connector group.

Name string

This field defines the name of the cloud connector group.

id String

This field defines the id of the cloud connector group.

name String

This field defines the name of the cloud connector group.

id string

This field defines the id of the cloud connector group.

name string

This field defines the name of the cloud connector group.

id str

This field defines the id of the cloud connector group.

name str

This field defines the name of the cloud connector group.

id String

This field defines the id of the cloud connector group.

name String

This field defines the name of the cloud connector group.

getCloudConnectorGroup Result

The following output properties are available:

CloudConnectors List<zscaler.PulumiPackage.Zpa.CloudConnectorGroup.Outputs.GetCloudConnectorGroupCloudConnector>

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

CreationTime string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

Description string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

Enabled bool

(bool) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

GeolocationId string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

ModifiedTime string

(string)- Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

Modifiedby string
ZiaCloud string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

ZiaOrgId string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

Id string
Name string

(string) - This field defines the name of the cloud connector group.

CloudConnectors []GetCloudConnectorGroupCloudConnector

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

CreationTime string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

Description string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

Enabled bool

(bool) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

GeolocationId string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

ModifiedTime string

(string)- Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

Modifiedby string
ZiaCloud string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

ZiaOrgId string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

Id string
Name string

(string) - This field defines the name of the cloud connector group.

cloudConnectors List<GetCloudConnector>

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

creationTime String

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

description String

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

enabled Boolean

(bool) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

geolocationId String

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

modifiedTime String

(string)- Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

modifiedby String
ziaCloud String

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

ziaOrgId String

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

id String
name String

(string) - This field defines the name of the cloud connector group.

cloudConnectors GetCloudConnectorGroupCloudConnector[]

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

creationTime string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

description string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

enabled boolean

(bool) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

geolocationId string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

modifiedTime string

(string)- Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

modifiedby string
ziaCloud string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

ziaOrgId string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

id string
name string

(string) - This field defines the name of the cloud connector group.

cloud_connectors GetCloudConnectorGroupCloudConnector]

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

creation_time str

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

description str

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

enabled bool

(bool) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

geolocation_id str

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

modified_time str

(string)- Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

modifiedby str
zia_cloud str

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

zia_org_id str

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

id str
name str

(string) - This field defines the name of the cloud connector group.

cloudConnectors List<Property Map>

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

creationTime String

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

description String

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

enabled Boolean

(bool) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

geolocationId String

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

modifiedTime String

(string)- Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

modifiedby String
ziaCloud String

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

ziaOrgId String

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

id String
name String

(string) - This field defines the name of the cloud connector group.

Supporting Types

GetCloudConnectorGroupCloudConnector

CreationTime string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

Description string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

Enabled bool

(bool) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

Fingerprint string
Id string

This field defines the id of the cloud connector group.

Ipacls List<object>
IssuedCertId string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

ModifiedTime string

(string)- Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

Modifiedby string
Name string

This field defines the name of the cloud connector group.

SigningCert Dictionary<string, object>
CreationTime string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

Description string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

Enabled bool

(bool) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

Fingerprint string
Id string

This field defines the id of the cloud connector group.

Ipacls []interface{}
IssuedCertId string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

ModifiedTime string

(string)- Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

Modifiedby string
Name string

This field defines the name of the cloud connector group.

SigningCert map[string]interface{}
creationTime String

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

description String

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

enabled Boolean

(bool) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

fingerprint String
id String

This field defines the id of the cloud connector group.

ipacls List<Object>
issuedCertId String

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

modifiedTime String

(string)- Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

modifiedby String
name String

This field defines the name of the cloud connector group.

signingCert Map<String,Object>
creationTime string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

description string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

enabled boolean

(bool) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

fingerprint string
id string

This field defines the id of the cloud connector group.

ipacls any[]
issuedCertId string

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

modifiedTime string

(string)- Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

modifiedby string
name string

This field defines the name of the cloud connector group.

signingCert {[key: string]: any}
creation_time str

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

description str

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

enabled bool

(bool) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

fingerprint str
id str

This field defines the id of the cloud connector group.

ipacls Sequence[Any]
issued_cert_id str

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

modified_time str

(string)- Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

modifiedby str
name str

This field defines the name of the cloud connector group.

signing_cert Mapping[str, Any]
creationTime String

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

description String

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

enabled Boolean

(bool) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

fingerprint String
id String

This field defines the id of the cloud connector group.

ipacls List<Any>
issuedCertId String

(string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

modifiedTime String

(string)- Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.

modifiedby String
name String

This field defines the name of the cloud connector group.

signingCert Map<Any>

Package Details

Repository
zpa zscaler/pulumi-zpa
License
MIT
Notes

This Pulumi package is based on the zpa Terraform Provider.