zpa.getCloudConnectorGroup
Explore with Pulumi AI
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 =
EDGE_CONNECTOR_GROUP
is being used.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";
const foo = zpa.getCloudConnectorGroup({
name: "AWS-Cloud",
});
import pulumi
import pulumi_zpa as zpa
foo = zpa.get_cloud_connector_group(name="AWS-Cloud")
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.GetCloudConnectorGroup(ctx, &zpa.GetCloudConnectorGroupArgs{
Name: pulumi.StringRef("AWS-Cloud"),
}, 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.GetCloudConnectorGroup.Invoke(new()
{
Name = "AWS-Cloud",
});
});
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.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 = ZpaFunctions.getCloudConnectorGroup(GetCloudConnectorGroupArgs.builder()
.name("AWS-Cloud")
.build());
}
}
variables:
foo:
fn::invoke:
Function: zpa:getCloudConnectorGroup
Arguments:
name: AWS-Cloud
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";
const foo = zpa.getCloudConnectorGroup({
id: "1234567890",
});
import pulumi
import pulumi_zpa as zpa
foo = zpa.get_cloud_connector_group(id="1234567890")
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.GetCloudConnectorGroup(ctx, &zpa.GetCloudConnectorGroupArgs{
Id: pulumi.StringRef("1234567890"),
}, 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.GetCloudConnectorGroup.Invoke(new()
{
Id = "1234567890",
});
});
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.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 = ZpaFunctions.getCloudConnectorGroup(GetCloudConnectorGroupArgs.builder()
.id("1234567890")
.build());
}
}
variables:
foo:
fn::invoke:
Function: zpa: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:index/getCloudConnectorGroup:getCloudConnectorGroup
arguments:
# arguments dictionary
The following arguments are supported:
getCloudConnectorGroup Result
The following output properties are available:
- Cloud
Connectors List<Zscaler.Zpa. Outputs. Get Cloud Connector Group Cloud Connector> - Creation
Time string - Description string
- Enabled bool
- Geolocation
Id string - Modified
Time string - Modifiedby string
- Zia
Cloud string - Zia
Org stringId - Id string
- Name string
- Cloud
Connectors []GetCloud Connector Group Cloud Connector - Creation
Time string - Description string
- Enabled bool
- Geolocation
Id string - Modified
Time string - Modifiedby string
- Zia
Cloud string - Zia
Org stringId - Id string
- Name string
- cloud
Connectors List<GetCloud Connector Group Cloud Connector> - creation
Time String - description String
- enabled Boolean
- geolocation
Id String - modified
Time String - modifiedby String
- zia
Cloud String - zia
Org StringId - id String
- name String
- cloud
Connectors GetCloud Connector Group Cloud Connector[] - creation
Time string - description string
- enabled boolean
- geolocation
Id string - modified
Time string - modifiedby string
- zia
Cloud string - zia
Org stringId - id string
- name string
- cloud_
connectors Sequence[GetCloud Connector Group Cloud Connector] - creation_
time str - description str
- enabled bool
- geolocation_
id str - modified_
time str - modifiedby str
- zia_
cloud str - zia_
org_ strid - id str
- name str
- cloud
Connectors List<Property Map> - creation
Time String - description String
- enabled Boolean
- geolocation
Id String - modified
Time String - modifiedby String
- zia
Cloud String - zia
Org StringId - id String
- name String
Supporting Types
GetCloudConnectorGroupCloudConnector
- Creation
Time string - Description string
- Enabled bool
- Fingerprint string
- Id string
- Ipacls List<object>
- Issued
Cert stringId - Modified
Time string - Modifiedby string
- Name string
- Signing
Cert Dictionary<string, object>
- Creation
Time string - Description string
- Enabled bool
- Fingerprint string
- Id string
- Ipacls []interface{}
- Issued
Cert stringId - Modified
Time string - Modifiedby string
- Name string
- Signing
Cert map[string]interface{}
- creation
Time String - description String
- enabled Boolean
- fingerprint String
- id String
- ipacls List<Object>
- issued
Cert StringId - modified
Time String - modifiedby String
- name String
- signing
Cert Map<String,Object>
- creation
Time string - description string
- enabled boolean
- fingerprint string
- id string
- ipacls any[]
- issued
Cert stringId - modified
Time string - modifiedby string
- name string
- signing
Cert {[key: string]: any}
- creation_
time str - description str
- enabled bool
- fingerprint str
- id str
- ipacls Sequence[Any]
- issued_
cert_ strid - modified_
time str - modifiedby str
- name str
- signing_
cert Mapping[str, Any]
- creation
Time String - description String
- enabled Boolean
- fingerprint String
- id String
- ipacls List<Any>
- issued
Cert StringId - modified
Time String - modifiedby String
- name String
- signing
Cert Map<Any>
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpa
Terraform Provider.