1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. getNssServer
Zscaler Internet Access v1.1.1 published on Tuesday, Jun 24, 2025 by Zscaler

zia.getNssServer

Start a Neo task
Explain and create a zia.getNssServer resource
zia logo
Zscaler Internet Access v1.1.1 published on Tuesday, Jun 24, 2025 by Zscaler

    Use the zia_nss_server data source to get information about a nss server resource in the Zscaler Internet Access cloud or via the API. See Adding NSS Servers for more details.

    Example Usage

    Retrieve By Name

    data "zia_nss_server" "this" {
        name = "NSSServer01"
    }
    

    Retrieve By ID

    data "zia_nss_server" "this" {
        id = "5445585"
    }
    

    Using getNssServer

    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 getNssServer(args: GetNssServerArgs, opts?: InvokeOptions): Promise<GetNssServerResult>
    function getNssServerOutput(args: GetNssServerOutputArgs, opts?: InvokeOptions): Output<GetNssServerResult>
    def get_nss_server(id: Optional[int] = None,
                       name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetNssServerResult
    def get_nss_server_output(id: Optional[pulumi.Input[int]] = None,
                       name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetNssServerResult]
    func LookupNssServer(ctx *Context, args *LookupNssServerArgs, opts ...InvokeOption) (*LookupNssServerResult, error)
    func LookupNssServerOutput(ctx *Context, args *LookupNssServerOutputArgs, opts ...InvokeOption) LookupNssServerResultOutput

    > Note: This function is named LookupNssServer in the Go SDK.

    public static class GetNssServer 
    {
        public static Task<GetNssServerResult> InvokeAsync(GetNssServerArgs args, InvokeOptions? opts = null)
        public static Output<GetNssServerResult> Invoke(GetNssServerInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNssServerResult> getNssServer(GetNssServerArgs args, InvokeOptions options)
    public static Output<GetNssServerResult> getNssServer(GetNssServerArgs args, InvokeOptions options)
    
    fn::invoke:
      function: zia:index/getNssServer:getNssServer
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id int
    System-generated identifier of the NSS server based on the software platform
    Name string
    The name of the nss server to be exported.
    Id int
    System-generated identifier of the NSS server based on the software platform
    Name string
    The name of the nss server to be exported.
    id Integer
    System-generated identifier of the NSS server based on the software platform
    name String
    The name of the nss server to be exported.
    id number
    System-generated identifier of the NSS server based on the software platform
    name string
    The name of the nss server to be exported.
    id int
    System-generated identifier of the NSS server based on the software platform
    name str
    The name of the nss server to be exported.
    id Number
    System-generated identifier of the NSS server based on the software platform
    name String
    The name of the nss server to be exported.

    getNssServer Result

    The following output properties are available:

    IcapSvrId int
    (integer) The ICAP server ID
    Id int
    Name string
    State string
    (String) The health of the NSS server. Returned Values: UNHEALTHY, HEALTHY, UNKNOWN
    Status string
    (String) Enables or disables the status of the NSS server. Returned Values: ENABLED, DISABLED, DISABLED_BY_SERVICE_PROVIDER, NOT_PROVISIONED_IN_SERVICE_PROVIDER, IN_TRIAL
    Type string
    (String) Whether you are creating an NSS for web logs or firewall logs. Returned Values: NSS_FOR_WEB, NSS_FOR_FIREWALL
    IcapSvrId int
    (integer) The ICAP server ID
    Id int
    Name string
    State string
    (String) The health of the NSS server. Returned Values: UNHEALTHY, HEALTHY, UNKNOWN
    Status string
    (String) Enables or disables the status of the NSS server. Returned Values: ENABLED, DISABLED, DISABLED_BY_SERVICE_PROVIDER, NOT_PROVISIONED_IN_SERVICE_PROVIDER, IN_TRIAL
    Type string
    (String) Whether you are creating an NSS for web logs or firewall logs. Returned Values: NSS_FOR_WEB, NSS_FOR_FIREWALL
    icapSvrId Integer
    (integer) The ICAP server ID
    id Integer
    name String
    state String
    (String) The health of the NSS server. Returned Values: UNHEALTHY, HEALTHY, UNKNOWN
    status String
    (String) Enables or disables the status of the NSS server. Returned Values: ENABLED, DISABLED, DISABLED_BY_SERVICE_PROVIDER, NOT_PROVISIONED_IN_SERVICE_PROVIDER, IN_TRIAL
    type String
    (String) Whether you are creating an NSS for web logs or firewall logs. Returned Values: NSS_FOR_WEB, NSS_FOR_FIREWALL
    icapSvrId number
    (integer) The ICAP server ID
    id number
    name string
    state string
    (String) The health of the NSS server. Returned Values: UNHEALTHY, HEALTHY, UNKNOWN
    status string
    (String) Enables or disables the status of the NSS server. Returned Values: ENABLED, DISABLED, DISABLED_BY_SERVICE_PROVIDER, NOT_PROVISIONED_IN_SERVICE_PROVIDER, IN_TRIAL
    type string
    (String) Whether you are creating an NSS for web logs or firewall logs. Returned Values: NSS_FOR_WEB, NSS_FOR_FIREWALL
    icap_svr_id int
    (integer) The ICAP server ID
    id int
    name str
    state str
    (String) The health of the NSS server. Returned Values: UNHEALTHY, HEALTHY, UNKNOWN
    status str
    (String) Enables or disables the status of the NSS server. Returned Values: ENABLED, DISABLED, DISABLED_BY_SERVICE_PROVIDER, NOT_PROVISIONED_IN_SERVICE_PROVIDER, IN_TRIAL
    type str
    (String) Whether you are creating an NSS for web logs or firewall logs. Returned Values: NSS_FOR_WEB, NSS_FOR_FIREWALL
    icapSvrId Number
    (integer) The ICAP server ID
    id Number
    name String
    state String
    (String) The health of the NSS server. Returned Values: UNHEALTHY, HEALTHY, UNKNOWN
    status String
    (String) Enables or disables the status of the NSS server. Returned Values: ENABLED, DISABLED, DISABLED_BY_SERVICE_PROVIDER, NOT_PROVISIONED_IN_SERVICE_PROVIDER, IN_TRIAL
    type String
    (String) Whether you are creating an NSS for web logs or firewall logs. Returned Values: NSS_FOR_WEB, NSS_FOR_FIREWALL

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    MIT
    Notes
    This Pulumi package is based on the zia Terraform Provider.
    zia logo
    Zscaler Internet Access v1.1.1 published on Tuesday, Jun 24, 2025 by Zscaler
      Meet Neo: Your AI Platform Teammate