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:
getCloudConnectorGroup Result
The following output properties are available:
- Cloud
Connectors List<zscaler.Pulumi Package. Zpa. Cloud Connector Group. Outputs. Get Cloud Connector Group Cloud Connector> (string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- Creation
Time 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.
- Geolocation
Id string (string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- Modified
Time string (string)- Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- Modifiedby string
- Zia
Cloud string (string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- Zia
Org stringId (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 []GetCloud Connector Group Cloud Connector (string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- Creation
Time 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.
- Geolocation
Id string (string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- Modified
Time string (string)- Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- Modifiedby string
- Zia
Cloud string (string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- Zia
Org stringId (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 List<GetCloud Connector> (string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- creation
Time 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.
- geolocation
Id String (string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- modified
Time String (string)- Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- modifiedby String
- zia
Cloud String (string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- zia
Org StringId (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 GetCloud Connector Group Cloud Connector[] (string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- creation
Time 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.
- geolocation
Id string (string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- modified
Time string (string)- Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- modifiedby string
- zia
Cloud string (string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- zia
Org stringId (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 GetCloud Connector Group Cloud Connector] (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_ strid (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.
- cloud
Connectors List<Property Map> (string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- creation
Time 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.
- geolocation
Id String (string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- modified
Time String (string)- Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- modifiedby String
- zia
Cloud String (string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- zia
Org StringId (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
- Creation
Time 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>
- Issued
Cert stringId (string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- Modified
Time 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.
- Signing
Cert Dictionary<string, object>
- Creation
Time 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{}
- Issued
Cert stringId (string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- Modified
Time 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.
- Signing
Cert map[string]interface{}
- creation
Time 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>
- issued
Cert StringId (string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- modified
Time 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.
- signing
Cert Map<String,Object>
- creation
Time 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[]
- issued
Cert stringId (string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- modified
Time 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.
- signing
Cert {[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_ strid (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]
- creation
Time 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>
- issued
Cert StringId (string) - Only applicable for a GET request. Ignored in PUT/POST/DELETE requests.
- modified
Time 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.
- signing
Cert Map<Any>
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
This Pulumi package is based on the
zpa
Terraform Provider.