1. Packages
  2. Zscaler Private Access (ZPA)
  3. API Docs
  4. getServiceEdgeController
Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler

zpa.getServiceEdgeController

Explore with Pulumi AI

zpa logo
Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler

    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:

    ApplicationStartTime string
    ControlChannelStatus string
    CreationTime string
    CtrlBrokerName string
    CurrentVersion string
    Description string
    Enabled bool
    EnrollmentCert Dictionary<string, object>
    ExpectedUpgradeTime string
    ExpectedVersion string
    Fingerprint string
    Id string
    IpAcl string
    IssuedCertId string
    LastBrokerConnectTime string
    LastBrokerConnectTimeDuration string
    LastBrokerDisconnectTime string
    LastBrokerDisconnectTimeDuration string
    LastUpgradeTime string
    Latitude string
    ListenIps string
    Location string
    Longitude string
    ModifiedBy string
    ModifiedTime string
    Platform string
    PreviousVersion string
    PrivateIp string
    ProvisioningKeyId string
    ProvisioningKeyName string
    PublicIp string
    PublishIps List<string>
    SargeVersion string
    ServiceEdgeGroupId string
    ServiceEdgeGroupName string
    UpgradeAttempt string
    UpgradeStatus string
    ZpnSubModuleUpgradeLists List<Zscaler.Zpa.Outputs.GetServiceEdgeControllerZpnSubModuleUpgradeList>
    Name string
    ApplicationStartTime string
    ControlChannelStatus string
    CreationTime string
    CtrlBrokerName string
    CurrentVersion string
    Description string
    Enabled bool
    EnrollmentCert map[string]interface{}
    ExpectedUpgradeTime string
    ExpectedVersion string
    Fingerprint string
    Id string
    IpAcl string
    IssuedCertId string
    LastBrokerConnectTime string
    LastBrokerConnectTimeDuration string
    LastBrokerDisconnectTime string
    LastBrokerDisconnectTimeDuration string
    LastUpgradeTime string
    Latitude string
    ListenIps string
    Location string
    Longitude string
    ModifiedBy string
    ModifiedTime string
    Platform string
    PreviousVersion string
    PrivateIp string
    ProvisioningKeyId string
    ProvisioningKeyName string
    PublicIp string
    PublishIps []string
    SargeVersion string
    ServiceEdgeGroupId string
    ServiceEdgeGroupName string
    UpgradeAttempt string
    UpgradeStatus string
    ZpnSubModuleUpgradeLists []GetServiceEdgeControllerZpnSubModuleUpgradeList
    Name string
    applicationStartTime String
    controlChannelStatus String
    creationTime String
    ctrlBrokerName String
    currentVersion String
    description String
    enabled Boolean
    enrollmentCert Map<String,Object>
    expectedUpgradeTime String
    expectedVersion String
    fingerprint String
    id String
    ipAcl String
    issuedCertId String
    lastBrokerConnectTime String
    lastBrokerConnectTimeDuration String
    lastBrokerDisconnectTime String
    lastBrokerDisconnectTimeDuration String
    lastUpgradeTime String
    latitude String
    listenIps String
    location String
    longitude String
    modifiedBy String
    modifiedTime String
    platform String
    previousVersion String
    privateIp String
    provisioningKeyId String
    provisioningKeyName String
    publicIp String
    publishIps List<String>
    sargeVersion String
    serviceEdgeGroupId String
    serviceEdgeGroupName String
    upgradeAttempt String
    upgradeStatus String
    zpnSubModuleUpgradeLists List<GetServiceEdgeControllerZpnSubModuleUpgradeList>
    name String
    applicationStartTime string
    controlChannelStatus string
    creationTime string
    ctrlBrokerName string
    currentVersion string
    description string
    enabled boolean
    enrollmentCert {[key: string]: any}
    expectedUpgradeTime string
    expectedVersion string
    fingerprint string
    id string
    ipAcl string
    issuedCertId string
    lastBrokerConnectTime string
    lastBrokerConnectTimeDuration string
    lastBrokerDisconnectTime string
    lastBrokerDisconnectTimeDuration string
    lastUpgradeTime string
    latitude string
    listenIps string
    location string
    longitude string
    modifiedBy string
    modifiedTime string
    platform string
    previousVersion string
    privateIp string
    provisioningKeyId string
    provisioningKeyName string
    publicIp string
    publishIps string[]
    sargeVersion string
    serviceEdgeGroupId string
    serviceEdgeGroupName string
    upgradeAttempt string
    upgradeStatus string
    zpnSubModuleUpgradeLists GetServiceEdgeControllerZpnSubModuleUpgradeList[]
    name string
    application_start_time str
    control_channel_status str
    creation_time str
    ctrl_broker_name str
    current_version str
    description str
    enabled bool
    enrollment_cert Mapping[str, Any]
    expected_upgrade_time str
    expected_version str
    fingerprint str
    id str
    ip_acl str
    issued_cert_id str
    last_broker_connect_time str
    last_broker_connect_time_duration str
    last_broker_disconnect_time str
    last_broker_disconnect_time_duration str
    last_upgrade_time str
    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_id str
    provisioning_key_name str
    public_ip str
    publish_ips Sequence[str]
    sarge_version str
    service_edge_group_id str
    service_edge_group_name str
    upgrade_attempt str
    upgrade_status str
    zpn_sub_module_upgrade_lists Sequence[GetServiceEdgeControllerZpnSubModuleUpgradeList]
    name str
    applicationStartTime String
    controlChannelStatus String
    creationTime String
    ctrlBrokerName String
    currentVersion String
    description String
    enabled Boolean
    enrollmentCert Map<Any>
    expectedUpgradeTime String
    expectedVersion String
    fingerprint String
    id String
    ipAcl String
    issuedCertId String
    lastBrokerConnectTime String
    lastBrokerConnectTimeDuration String
    lastBrokerDisconnectTime String
    lastBrokerDisconnectTimeDuration String
    lastUpgradeTime String
    latitude String
    listenIps String
    location String
    longitude String
    modifiedBy String
    modifiedTime String
    platform String
    previousVersion String
    privateIp String
    provisioningKeyId String
    provisioningKeyName String
    publicIp String
    publishIps List<String>
    sargeVersion String
    serviceEdgeGroupId String
    serviceEdgeGroupName String
    upgradeAttempt String
    upgradeStatus String
    zpnSubModuleUpgradeLists List<Property Map>
    name String

    Supporting Types

    GetServiceEdgeControllerZpnSubModuleUpgradeList

    CreationTime string
    CurrentVersion string
    EntityGid string
    ExpectedVersion string
    Id string
    ModifiedBy string
    ModifiedTime string
    Role string
    UpgradeStatus string
    UpgradeTime string
    CreationTime string
    CurrentVersion string
    EntityGid string
    ExpectedVersion string
    Id string
    ModifiedBy string
    ModifiedTime string
    Role string
    UpgradeStatus string
    UpgradeTime string
    creationTime String
    currentVersion String
    entityGid String
    expectedVersion String
    id String
    modifiedBy String
    modifiedTime String
    role String
    upgradeStatus String
    upgradeTime String
    creationTime string
    currentVersion string
    entityGid string
    expectedVersion string
    id string
    modifiedBy string
    modifiedTime string
    role string
    upgradeStatus string
    upgradeTime string
    creationTime String
    currentVersion String
    entityGid String
    expectedVersion String
    id String
    modifiedBy String
    modifiedTime String
    role String
    upgradeStatus String
    upgradeTime String

    Package Details

    Repository
    zpa zscaler/pulumi-zpa
    License
    MIT
    Notes
    This Pulumi package is based on the zpa Terraform Provider.
    zpa logo
    Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler