Zscaler Private Access v0.0.11 published on Saturday, May 4, 2024 by Zscaler
zpa.getServiceEdgeController
Explore with Pulumi AI
Use the zpa_service_edge_controller data source to get information about a service edge controller in the Zscaler Private Access cloud. This data source can then be referenced in a Service Edge Group and Provisioning Key.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";
const example = zpa.getServiceEdgeController({
name: "On-Prem-PSE",
});
import pulumi
import pulumi_zpa as zpa
example = zpa.get_service_edge_controller(name="On-Prem-PSE")
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.GetServiceEdgeController(ctx, &zpa.GetServiceEdgeControllerArgs{
Name: pulumi.StringRef("On-Prem-PSE"),
}, 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 example = Zpa.GetServiceEdgeController.Invoke(new()
{
Name = "On-Prem-PSE",
});
});
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.GetServiceEdgeControllerArgs;
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 example = ZpaFunctions.getServiceEdgeController(GetServiceEdgeControllerArgs.builder()
.name("On-Prem-PSE")
.build());
}
}
variables:
example:
fn::invoke:
Function: zpa:getServiceEdgeController
Arguments:
name: On-Prem-PSE
Using getServiceEdgeController
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 getServiceEdgeController(args: GetServiceEdgeControllerArgs, opts?: InvokeOptions): Promise<GetServiceEdgeControllerResult>
function getServiceEdgeControllerOutput(args: GetServiceEdgeControllerOutputArgs, opts?: InvokeOptions): Output<GetServiceEdgeControllerResult>
def get_service_edge_controller(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceEdgeControllerResult
def get_service_edge_controller_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceEdgeControllerResult]
func GetServiceEdgeController(ctx *Context, args *GetServiceEdgeControllerArgs, opts ...InvokeOption) (*GetServiceEdgeControllerResult, error)
func GetServiceEdgeControllerOutput(ctx *Context, args *GetServiceEdgeControllerOutputArgs, opts ...InvokeOption) GetServiceEdgeControllerResultOutput
> Note: This function is named GetServiceEdgeController
in the Go SDK.
public static class GetServiceEdgeController
{
public static Task<GetServiceEdgeControllerResult> InvokeAsync(GetServiceEdgeControllerArgs args, InvokeOptions? opts = null)
public static Output<GetServiceEdgeControllerResult> Invoke(GetServiceEdgeControllerInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetServiceEdgeControllerResult> getServiceEdgeController(GetServiceEdgeControllerArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: zpa:index/getServiceEdgeController:getServiceEdgeController
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Name string
- name String
- name string
- name str
- name String
getServiceEdgeController Result
The following output properties are available:
- 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
- Ip
Acl 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
By string - Modified
Time 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. Outputs. Get Service Edge Controller Zpn Sub Module Upgrade List> - Name string
- 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
- Ip
Acl 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
By string - Modified
Time 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 Controller Zpn Sub Module Upgrade List - Name string
- 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
- ip
Acl 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
By String - modified
Time 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 Controller Zpn Sub Module Upgrade List> - name String
- 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
- ip
Acl 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
By string - modified
Time 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 Controller Zpn Sub Module Upgrade List[] - name string
- 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
- ip_
acl 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_
by str - modified_
time 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 Controller Zpn Sub Module Upgrade List] - name str
- 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
- ip
Acl 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
By String - modified
Time 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 - name String
Supporting Types
GetServiceEdgeControllerZpnSubModuleUpgradeList
- Creation
Time string - Current
Version string - Entity
Gid string - Expected
Version string - Id string
- Modified
By string - Modified
Time string - Role string
- Upgrade
Status string - Upgrade
Time string
- Creation
Time string - Current
Version string - Entity
Gid string - Expected
Version string - Id string
- Modified
By string - Modified
Time string - Role string
- Upgrade
Status string - Upgrade
Time string
- creation
Time String - current
Version String - entity
Gid String - expected
Version String - id String
- modified
By String - modified
Time String - role String
- upgrade
Status String - upgrade
Time String
- creation
Time string - current
Version string - entity
Gid string - expected
Version string - id string
- modified
By string - modified
Time string - role string
- upgrade
Status string - upgrade
Time string
- creation_
time str - current_
version str - entity_
gid str - expected_
version str - id str
- modified_
by str - modified_
time str - role str
- upgrade_
status str - upgrade_
time str
- creation
Time String - current
Version String - entity
Gid String - expected
Version String - id String
- modified
By String - modified
Time String - role String
- upgrade
Status String - upgrade
Time String
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpa
Terraform Provider.