Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler
zpa.getServerGroup
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";
const example = zpa.getServerGroup({
name: "server_group_name",
});
import pulumi
import pulumi_zpa as zpa
example = zpa.get_server_group(name="server_group_name")
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.LookupServerGroup(ctx, &zpa.LookupServerGroupArgs{
Name: pulumi.StringRef("server_group_name"),
}, 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.GetServerGroup.Invoke(new()
{
Name = "server_group_name",
});
});
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.GetServerGroupArgs;
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.getServerGroup(GetServerGroupArgs.builder()
.name("server_group_name")
.build());
}
}
variables:
example:
fn::invoke:
Function: zpa:getServerGroup
Arguments:
name: server_group_name
Using getServerGroup
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 getServerGroup(args: GetServerGroupArgs, opts?: InvokeOptions): Promise<GetServerGroupResult>
function getServerGroupOutput(args: GetServerGroupOutputArgs, opts?: InvokeOptions): Output<GetServerGroupResult>
def get_server_group(id: Optional[str] = None,
microtenant_id: Optional[str] = None,
microtenant_name: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServerGroupResult
def get_server_group_output(id: Optional[pulumi.Input[str]] = None,
microtenant_id: Optional[pulumi.Input[str]] = None,
microtenant_name: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServerGroupResult]
func LookupServerGroup(ctx *Context, args *LookupServerGroupArgs, opts ...InvokeOption) (*LookupServerGroupResult, error)
func LookupServerGroupOutput(ctx *Context, args *LookupServerGroupOutputArgs, opts ...InvokeOption) LookupServerGroupResultOutput
> Note: This function is named LookupServerGroup
in the Go SDK.
public static class GetServerGroup
{
public static Task<GetServerGroupResult> InvokeAsync(GetServerGroupArgs args, InvokeOptions? opts = null)
public static Output<GetServerGroupResult> Invoke(GetServerGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetServerGroupResult> getServerGroup(GetServerGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: zpa:index/getServerGroup:getServerGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Microtenant
Id string - Microtenant
Name string - Name string
- Id string
- Microtenant
Id string - Microtenant
Name string - Name string
- id String
- microtenant
Id String - microtenant
Name String - name String
- id string
- microtenant
Id string - microtenant
Name string - name string
- id str
- microtenant_
id str - microtenant_
name str - name str
- id String
- microtenant
Id String - microtenant
Name String - name String
getServerGroup Result
The following output properties are available:
- App
Connector List<Zscaler.Groups Zpa. Outputs. Get Server Group App Connector Group> - Applications
List<Zscaler.
Zpa. Outputs. Get Server Group Application> - Config
Space string - Creation
Time string - Description string
- Dynamic
Discovery bool - Enabled bool
- Ip
Anchored bool - Modified
Time string - Modifiedby string
- Servers
List<Zscaler.
Zpa. Outputs. Get Server Group Server> - Id string
- Microtenant
Id string - Microtenant
Name string - Name string
- App
Connector []GetGroups Server Group App Connector Group - Applications
[]Get
Server Group Application - Config
Space string - Creation
Time string - Description string
- Dynamic
Discovery bool - Enabled bool
- Ip
Anchored bool - Modified
Time string - Modifiedby string
- Servers
[]Get
Server Group Server - Id string
- Microtenant
Id string - Microtenant
Name string - Name string
- app
Connector List<GetGroups Server Group App Connector Group> - applications
List<Get
Server Group Application> - config
Space String - creation
Time String - description String
- dynamic
Discovery Boolean - enabled Boolean
- ip
Anchored Boolean - modified
Time String - modifiedby String
- servers
List<Get
Server Group Server> - id String
- microtenant
Id String - microtenant
Name String - name String
- app
Connector GetGroups Server Group App Connector Group[] - applications
Get
Server Group Application[] - config
Space string - creation
Time string - description string
- dynamic
Discovery boolean - enabled boolean
- ip
Anchored boolean - modified
Time string - modifiedby string
- servers
Get
Server Group Server[] - id string
- microtenant
Id string - microtenant
Name string - name string
- app_
connector_ Sequence[Getgroups Server Group App Connector Group] - applications
Sequence[Get
Server Group Application] - config_
space str - creation_
time str - description str
- dynamic_
discovery bool - enabled bool
- ip_
anchored bool - modified_
time str - modifiedby str
- servers
Sequence[Get
Server Group Server] - id str
- microtenant_
id str - microtenant_
name str - name str
- app
Connector List<Property Map>Groups - applications List<Property Map>
- config
Space String - creation
Time String - description String
- dynamic
Discovery Boolean - enabled Boolean
- ip
Anchored Boolean - modified
Time String - modifiedby String
- servers List<Property Map>
- id String
- microtenant
Id String - microtenant
Name String - name String
Supporting Types
GetServerGroupAppConnectorGroup
- City
Country string - Connectors
List<Zscaler.
Zpa. Inputs. Get Server Group App Connector Group Connector> - Country
Code string - Creation
Time string - Description string
- Dns
Query stringType - Enabled bool
- Geolocation
Id string - Id string
- Latitude string
- Location string
- Longitude string
- Modified
Time string - Modifiedby string
- Name string
- Server
Groups List<Zscaler.Zpa. Inputs. Get Server Group App Connector Group Server Group> - Siem
App boolConnector Group - Upgrade
Day string - Upgrade
Time stringIn Secs - Version
Profile stringId
- City
Country string - Connectors
[]Get
Server Group App Connector Group Connector - Country
Code string - Creation
Time string - Description string
- Dns
Query stringType - Enabled bool
- Geolocation
Id string - Id string
- Latitude string
- Location string
- Longitude string
- Modified
Time string - Modifiedby string
- Name string
- Server
Groups []GetServer Group App Connector Group Server Group - Siem
App boolConnector Group - Upgrade
Day string - Upgrade
Time stringIn Secs - Version
Profile stringId
- city
Country String - connectors
List<Get
Server Group App Connector Group Connector> - country
Code String - creation
Time String - description String
- dns
Query StringType - enabled Boolean
- geolocation
Id String - id String
- latitude String
- location String
- longitude String
- modified
Time String - modifiedby String
- name String
- server
Groups List<GetServer Group App Connector Group Server Group> - siem
App BooleanConnector Group - upgrade
Day String - upgrade
Time StringIn Secs - version
Profile StringId
- city
Country string - connectors
Get
Server Group App Connector Group Connector[] - country
Code string - creation
Time string - description string
- dns
Query stringType - enabled boolean
- geolocation
Id string - id string
- latitude string
- location string
- longitude string
- modified
Time string - modifiedby string
- name string
- server
Groups GetServer Group App Connector Group Server Group[] - siem
App booleanConnector Group - upgrade
Day string - upgrade
Time stringIn Secs - version
Profile stringId
- city_
country str - connectors
Sequence[Get
Server Group App Connector Group Connector] - country_
code str - creation_
time str - description str
- dns_
query_ strtype - enabled bool
- geolocation_
id str - id str
- latitude str
- location str
- longitude str
- modified_
time str - modifiedby str
- name str
- server_
groups Sequence[GetServer Group App Connector Group Server Group] - siem_
app_ boolconnector_ group - upgrade_
day str - upgrade_
time_ strin_ secs - version_
profile_ strid
- city
Country String - connectors List<Property Map>
- country
Code String - creation
Time String - description String
- dns
Query StringType - enabled Boolean
- geolocation
Id String - id String
- latitude String
- location String
- longitude String
- modified
Time String - modifiedby String
- name String
- server
Groups List<Property Map> - siem
App BooleanConnector Group - upgrade
Day String - upgrade
Time StringIn Secs - version
Profile StringId
GetServerGroupAppConnectorGroupConnector
- Creation
Time string - Description string
- Enabled bool
- Fingerprint string
- Id string
- Issued
Cert stringId - Modified
Time string - Modifiedby string
- Upgrade
Attempt string - Name string
- Creation
Time string - Description string
- Enabled bool
- Fingerprint string
- Id string
- Issued
Cert stringId - Modified
Time string - Modifiedby string
- Upgrade
Attempt string - Name string
- creation
Time String - description String
- enabled Boolean
- fingerprint String
- id String
- issued
Cert StringId - modified
Time String - modifiedby String
- upgrade
Attempt String - name String
- creation
Time string - description string
- enabled boolean
- fingerprint string
- id string
- issued
Cert stringId - modified
Time string - modifiedby string
- upgrade
Attempt string - name string
- creation_
time str - description str
- enabled bool
- fingerprint str
- id str
- issued_
cert_ strid - modified_
time str - modifiedby str
- upgrade_
attempt str - name str
- creation
Time String - description String
- enabled Boolean
- fingerprint String
- id String
- issued
Cert StringId - modified
Time String - modifiedby String
- upgrade
Attempt String - name String
GetServerGroupAppConnectorGroupServerGroup
- Config
Space string - Creation
Time string - Description string
- Dynamic
Discovery bool - Enabled bool
- Id string
- Modified
Time string - Modifiedby string
- Name string
- Config
Space string - Creation
Time string - Description string
- Dynamic
Discovery bool - Enabled bool
- Id string
- Modified
Time string - Modifiedby string
- Name string
- config
Space String - creation
Time String - description String
- dynamic
Discovery Boolean - enabled Boolean
- id String
- modified
Time String - modifiedby String
- name String
- config
Space string - creation
Time string - description string
- dynamic
Discovery boolean - enabled boolean
- id string
- modified
Time string - modifiedby string
- name string
- config_
space str - creation_
time str - description str
- dynamic_
discovery bool - enabled bool
- id str
- modified_
time str - modifiedby str
- name str
- config
Space String - creation
Time String - description String
- dynamic
Discovery Boolean - enabled Boolean
- id String
- modified
Time String - modifiedby String
- name String
GetServerGroupApplication
GetServerGroupServer
- Address string
- App
Server List<string>Group Ids - Config
Space string - Creation
Time string - Description string
- Enabled bool
- Id string
- Modified
Time string - Modifiedby string
- Name string
- Address string
- App
Server []stringGroup Ids - Config
Space string - Creation
Time string - Description string
- Enabled bool
- Id string
- Modified
Time string - Modifiedby string
- Name string
- address String
- app
Server List<String>Group Ids - config
Space String - creation
Time String - description String
- enabled Boolean
- id String
- modified
Time String - modifiedby String
- name String
- address string
- app
Server string[]Group Ids - config
Space string - creation
Time string - description string
- enabled boolean
- id string
- modified
Time string - modifiedby string
- name string
- address str
- app_
server_ Sequence[str]group_ ids - config_
space str - creation_
time str - description str
- enabled bool
- id str
- modified_
time str - modifiedby str
- name str
- address String
- app
Server List<String>Group Ids - config
Space String - creation
Time String - description String
- enabled Boolean
- id String
- modified
Time String - modifiedby String
- name String
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpa
Terraform Provider.