Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler
zpa.getServiceEdgeGroup
Explore with Pulumi AI
Use the zpa_service_edge_group data source to get information about a service edge group in the Zscaler Private Access cloud. This data source can then be referenced in an App Connector Group. This data source can then be referenced in the following resources:
- Create a server group
- Provisioning Key
- Access policy rule
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";
const foo = zpa.getServiceEdgeGroup({
name: "DataCenter",
});
import pulumi
import pulumi_zpa as zpa
foo = zpa.get_service_edge_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.LookupServiceEdgeGroup(ctx, &zpa.LookupServiceEdgeGroupArgs{
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.GetServiceEdgeGroup.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.GetServiceEdgeGroupArgs;
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.getServiceEdgeGroup(GetServiceEdgeGroupArgs.builder()
.name("DataCenter")
.build());
}
}
variables:
foo:
fn::invoke:
Function: zpa:getServiceEdgeGroup
Arguments:
name: DataCenter
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";
const foo = zpa.getServiceEdgeGroup({
id: "123456789",
});
import pulumi
import pulumi_zpa as zpa
foo = zpa.get_service_edge_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.LookupServiceEdgeGroup(ctx, &zpa.LookupServiceEdgeGroupArgs{
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.GetServiceEdgeGroup.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.GetServiceEdgeGroupArgs;
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.getServiceEdgeGroup(GetServiceEdgeGroupArgs.builder()
.id("123456789")
.build());
}
}
variables:
foo:
fn::invoke:
Function: zpa:getServiceEdgeGroup
Arguments:
id: '123456789'
Using getServiceEdgeGroup
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 getServiceEdgeGroup(args: GetServiceEdgeGroupArgs, opts?: InvokeOptions): Promise<GetServiceEdgeGroupResult>
function getServiceEdgeGroupOutput(args: GetServiceEdgeGroupOutputArgs, opts?: InvokeOptions): Output<GetServiceEdgeGroupResult>
def get_service_edge_group(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceEdgeGroupResult
def get_service_edge_group_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceEdgeGroupResult]
func LookupServiceEdgeGroup(ctx *Context, args *LookupServiceEdgeGroupArgs, opts ...InvokeOption) (*LookupServiceEdgeGroupResult, error)
func LookupServiceEdgeGroupOutput(ctx *Context, args *LookupServiceEdgeGroupOutputArgs, opts ...InvokeOption) LookupServiceEdgeGroupResultOutput
> Note: This function is named LookupServiceEdgeGroup
in the Go SDK.
public static class GetServiceEdgeGroup
{
public static Task<GetServiceEdgeGroupResult> InvokeAsync(GetServiceEdgeGroupArgs args, InvokeOptions? opts = null)
public static Output<GetServiceEdgeGroupResult> Invoke(GetServiceEdgeGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetServiceEdgeGroupResult> getServiceEdgeGroup(GetServiceEdgeGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: zpa:index/getServiceEdgeGroup:getServiceEdgeGroup
arguments:
# arguments dictionary
The following arguments are supported:
getServiceEdgeGroup Result
The following output properties are available:
- City
Country string - Country
Code string - Creation
Time string - Description string
- Enabled bool
- Geo
Location stringId - Grace
Distance boolEnabled - Grace
Distance stringValue - Grace
Distance stringValue Unit - Id string
- Is
Public string - Latitude string
- Location string
- Longitude string
- Modified
Time string - Modifiedby string
- Name string
- Override
Version boolProfile - Service
Edges List<Zscaler.Zpa. Outputs. Get Service Edge Group Service Edge> - Trusted
Networks List<Zscaler.Zpa. Outputs. Get Service Edge Group Trusted Network> - Upgrade
Day string - Upgrade
Time stringIn Secs - Version
Profile stringId - Version
Profile stringName - Version
Profile stringVisibility Scope
- City
Country string - Country
Code string - Creation
Time string - Description string
- Enabled bool
- Geo
Location stringId - Grace
Distance boolEnabled - Grace
Distance stringValue - Grace
Distance stringValue Unit - Id string
- Is
Public string - Latitude string
- Location string
- Longitude string
- Modified
Time string - Modifiedby string
- Name string
- Override
Version boolProfile - Service
Edges []GetService Edge Group Service Edge - Trusted
Networks []GetService Edge Group Trusted Network - Upgrade
Day string - Upgrade
Time stringIn Secs - Version
Profile stringId - Version
Profile stringName - Version
Profile stringVisibility Scope
- city
Country String - country
Code String - creation
Time String - description String
- enabled Boolean
- geo
Location StringId - grace
Distance BooleanEnabled - grace
Distance StringValue - grace
Distance StringValue Unit - id String
- is
Public String - latitude String
- location String
- longitude String
- modified
Time String - modifiedby String
- name String
- override
Version BooleanProfile - service
Edges List<GetService Edge Group Service Edge> - trusted
Networks List<GetService Edge Group Trusted Network> - upgrade
Day String - upgrade
Time StringIn Secs - version
Profile StringId - version
Profile StringName - version
Profile StringVisibility Scope
- city
Country string - country
Code string - creation
Time string - description string
- enabled boolean
- geo
Location stringId - grace
Distance booleanEnabled - grace
Distance stringValue - grace
Distance stringValue Unit - id string
- is
Public string - latitude string
- location string
- longitude string
- modified
Time string - modifiedby string
- name string
- override
Version booleanProfile - service
Edges GetService Edge Group Service Edge[] - trusted
Networks GetService Edge Group Trusted Network[] - upgrade
Day string - upgrade
Time stringIn Secs - version
Profile stringId - version
Profile stringName - version
Profile stringVisibility Scope
- city_
country str - country_
code str - creation_
time str - description str
- enabled bool
- geo_
location_ strid - grace_
distance_ boolenabled - grace_
distance_ strvalue - grace_
distance_ strvalue_ unit - id str
- is_
public str - latitude str
- location str
- longitude str
- modified_
time str - modifiedby str
- name str
- override_
version_ boolprofile - service_
edges Sequence[GetService Edge Group Service Edge] - trusted_
networks Sequence[GetService Edge Group Trusted Network] - upgrade_
day str - upgrade_
time_ strin_ secs - version_
profile_ strid - version_
profile_ strname - version_
profile_ strvisibility_ scope
- city
Country String - country
Code String - creation
Time String - description String
- enabled Boolean
- geo
Location StringId - grace
Distance BooleanEnabled - grace
Distance StringValue - grace
Distance StringValue Unit - id String
- is
Public String - latitude String
- location String
- longitude String
- modified
Time String - modifiedby String
- name String
- override
Version BooleanProfile - service
Edges List<Property Map> - trusted
Networks List<Property Map> - upgrade
Day String - upgrade
Time StringIn Secs - version
Profile StringId - version
Profile StringName - version
Profile StringVisibility Scope
Supporting Types
GetServiceEdgeGroupServiceEdge
- Application
Start stringTime - Control
Channel stringStatus - Creation
Time string - Ctrl
Broker stringName - Current
Version string - Description string
- Enabled bool
- Enrollment
Cert Dictionary<string, object> - Expected
Upgrade stringTime - Expected
Version string - Fingerprint string
- Id string
- Ipacl string
- Issued
Cert stringId - Last
Broker stringConnect Time - Last
Broker stringConnect Time Duration - Last
Broker stringDisconnect Time - Last
Broker stringDisconnect Time Duration - Last
Upgrade stringTime - Latitude string
- Listen
Ips string - Location string
- Longitude string
- Modified
Time string - Modifiedby string
- Name string
- Platform string
- Previous
Version string - Private
Ip string - Provisioning
Key stringId - Provisioning
Key stringName - Public
Ip string - Publish
Ips List<string> - Sarge
Version string - Service
Edge stringGroup Id - Service
Edge stringGroup Name - Upgrade
Attempt string - Upgrade
Status string - Zpn
Sub List<Zscaler.Module Upgrade Lists Zpa. Inputs. Get Service Edge Group Service Edge Zpn Sub Module Upgrade List>
- Application
Start stringTime - Control
Channel stringStatus - Creation
Time string - Ctrl
Broker stringName - Current
Version string - Description string
- Enabled bool
- Enrollment
Cert map[string]interface{} - Expected
Upgrade stringTime - Expected
Version string - Fingerprint string
- Id string
- Ipacl string
- Issued
Cert stringId - Last
Broker stringConnect Time - Last
Broker stringConnect Time Duration - Last
Broker stringDisconnect Time - Last
Broker stringDisconnect Time Duration - Last
Upgrade stringTime - Latitude string
- Listen
Ips string - Location string
- Longitude string
- Modified
Time string - Modifiedby string
- Name string
- Platform string
- Previous
Version string - Private
Ip string - Provisioning
Key stringId - Provisioning
Key stringName - Public
Ip string - Publish
Ips []string - Sarge
Version string - Service
Edge stringGroup Id - Service
Edge stringGroup Name - Upgrade
Attempt string - Upgrade
Status string - Zpn
Sub []GetModule Upgrade Lists Service Edge Group Service Edge Zpn Sub Module Upgrade List
- application
Start StringTime - control
Channel StringStatus - creation
Time String - ctrl
Broker StringName - current
Version String - description String
- enabled Boolean
- enrollment
Cert Map<String,Object> - expected
Upgrade StringTime - expected
Version String - fingerprint String
- id String
- ipacl String
- issued
Cert StringId - last
Broker StringConnect Time - last
Broker StringConnect Time Duration - last
Broker StringDisconnect Time - last
Broker StringDisconnect Time Duration - last
Upgrade StringTime - latitude String
- listen
Ips String - location String
- longitude String
- modified
Time String - modifiedby String
- name String
- platform String
- previous
Version String - private
Ip String - provisioning
Key StringId - provisioning
Key StringName - public
Ip String - publish
Ips List<String> - sarge
Version String - service
Edge StringGroup Id - service
Edge StringGroup Name - upgrade
Attempt String - upgrade
Status String - zpn
Sub List<GetModule Upgrade Lists Service Edge Group Service Edge Zpn Sub Module Upgrade List>
- application
Start stringTime - control
Channel stringStatus - creation
Time string - ctrl
Broker stringName - current
Version string - description string
- enabled boolean
- enrollment
Cert {[key: string]: any} - expected
Upgrade stringTime - expected
Version string - fingerprint string
- id string
- ipacl string
- issued
Cert stringId - last
Broker stringConnect Time - last
Broker stringConnect Time Duration - last
Broker stringDisconnect Time - last
Broker stringDisconnect Time Duration - last
Upgrade stringTime - latitude string
- listen
Ips string - location string
- longitude string
- modified
Time string - modifiedby string
- name string
- platform string
- previous
Version string - private
Ip string - provisioning
Key stringId - provisioning
Key stringName - public
Ip string - publish
Ips string[] - sarge
Version string - service
Edge stringGroup Id - service
Edge stringGroup Name - upgrade
Attempt string - upgrade
Status string - zpn
Sub GetModule Upgrade Lists Service Edge Group Service Edge Zpn Sub Module Upgrade List[]
- application_
start_ strtime - control_
channel_ strstatus - creation_
time str - ctrl_
broker_ strname - current_
version str - description str
- enabled bool
- enrollment_
cert Mapping[str, Any] - expected_
upgrade_ strtime - expected_
version str - fingerprint str
- id str
- ipacl str
- issued_
cert_ strid - last_
broker_ strconnect_ time - last_
broker_ strconnect_ time_ duration - last_
broker_ strdisconnect_ time - last_
broker_ strdisconnect_ time_ duration - last_
upgrade_ strtime - latitude str
- listen_
ips str - location str
- longitude str
- modified_
time str - modifiedby str
- name str
- platform str
- previous_
version str - private_
ip str - provisioning_
key_ strid - provisioning_
key_ strname - public_
ip str - publish_
ips Sequence[str] - sarge_
version str - service_
edge_ strgroup_ id - service_
edge_ strgroup_ name - upgrade_
attempt str - upgrade_
status str - zpn_
sub_ Sequence[Getmodule_ upgrade_ lists Service Edge Group Service Edge Zpn Sub Module Upgrade List]
- application
Start StringTime - control
Channel StringStatus - creation
Time String - ctrl
Broker StringName - current
Version String - description String
- enabled Boolean
- enrollment
Cert Map<Any> - expected
Upgrade StringTime - expected
Version String - fingerprint String
- id String
- ipacl String
- issued
Cert StringId - last
Broker StringConnect Time - last
Broker StringConnect Time Duration - last
Broker StringDisconnect Time - last
Broker StringDisconnect Time Duration - last
Upgrade StringTime - latitude String
- listen
Ips String - location String
- longitude String
- modified
Time String - modifiedby String
- name String
- platform String
- previous
Version String - private
Ip String - provisioning
Key StringId - provisioning
Key StringName - public
Ip String - publish
Ips List<String> - sarge
Version String - service
Edge StringGroup Id - service
Edge StringGroup Name - upgrade
Attempt String - upgrade
Status String - zpn
Sub List<Property Map>Module Upgrade Lists
GetServiceEdgeGroupServiceEdgeZpnSubModuleUpgradeList
- Creation
Time string - Current
Version string - Entity
Gid string - Expected
Version string - Id string
- Modified
Time string - Modifiedby string
- Role string
- Upgrade
Status string - Upgrade
Time string
- Creation
Time string - Current
Version string - Entity
Gid string - Expected
Version string - Id string
- Modified
Time string - Modifiedby string
- Role string
- Upgrade
Status string - Upgrade
Time string
- creation
Time String - current
Version String - entity
Gid String - expected
Version String - id String
- modified
Time String - modifiedby String
- role String
- upgrade
Status String - upgrade
Time String
- creation
Time string - current
Version string - entity
Gid string - expected
Version string - id string
- modified
Time string - modifiedby string
- role string
- upgrade
Status string - upgrade
Time string
- creation_
time str - current_
version str - entity_
gid str - expected_
version str - id str
- modified_
time str - modifiedby str
- role str
- upgrade_
status str - upgrade_
time str
- creation
Time String - current
Version String - entity
Gid String - expected
Version String - id String
- modified
Time String - modifiedby String
- role String
- upgrade
Status String - upgrade
Time String
GetServiceEdgeGroupTrustedNetwork
- Creation
Time string - Domain string
- Id string
- Master
Customer stringId - Modified
Time string - Modifiedby string
- Name string
- Network
Id string - Zscaler
Cloud string
- Creation
Time string - Domain string
- Id string
- Master
Customer stringId - Modified
Time string - Modifiedby string
- Name string
- Network
Id string - Zscaler
Cloud string
- creation
Time String - domain String
- id String
- master
Customer StringId - modified
Time String - modifiedby String
- name String
- network
Id String - zscaler
Cloud String
- creation
Time string - domain string
- id string
- master
Customer stringId - modified
Time string - modifiedby string
- name string
- network
Id string - zscaler
Cloud string
- creation_
time str - domain str
- id str
- master_
customer_ strid - modified_
time str - modifiedby str
- name str
- network_
id str - zscaler_
cloud str
- creation
Time String - domain String
- id String
- master
Customer StringId - modified
Time String - modifiedby String
- name String
- network
Id String - zscaler
Cloud String
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpa
Terraform Provider.