1. Packages
  2. Zscaler Private Access (ZPA)
  3. API Docs
  4. getLSSStatusCodes
Zscaler Private Access v0.0.11 published on Saturday, May 4, 2024 by Zscaler

zpa.getLSSStatusCodes

Explore with Pulumi AI

zpa logo
Zscaler Private Access v0.0.11 published on Saturday, May 4, 2024 by Zscaler

    Use the zpa_lss_config_status_codes data source to get information about all LSS status codes in the Zscaler Private Access cloud. This data source is required when the filter parameter in the LSS Config Controller resource is set. To learn more see the Getting Details of All LSS Status Codes

    NOTE By Default the ZPA provider will return all status codes

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as zpa from "@pulumi/zpa";
    
    const this = zpa.getLSSStatusCodes({});
    
    import pulumi
    import pulumi_zpa as zpa
    
    this = zpa.get_lss_status_codes()
    
    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.GetLSSStatusCodes(ctx, nil, 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 @this = Zpa.GetLSSStatusCodes.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.zpa.ZpaFunctions;
    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 this = ZpaFunctions.getLSSStatusCodes();
    
        }
    }
    
    variables:
      this:
        fn::invoke:
          Function: zpa:getLSSStatusCodes
          Arguments: {}
    

    Using getLSSStatusCodes

    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 getLSSStatusCodes(opts?: InvokeOptions): Promise<GetLSSStatusCodesResult>
    function getLSSStatusCodesOutput(opts?: InvokeOptions): Output<GetLSSStatusCodesResult>
    def get_lss_status_codes(opts: Optional[InvokeOptions] = None) -> GetLSSStatusCodesResult
    def get_lss_status_codes_output(opts: Optional[InvokeOptions] = None) -> Output[GetLSSStatusCodesResult]
    func GetLSSStatusCodes(ctx *Context, opts ...InvokeOption) (*GetLSSStatusCodesResult, error)
    func GetLSSStatusCodesOutput(ctx *Context, opts ...InvokeOption) GetLSSStatusCodesResultOutput

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

    public static class GetLSSStatusCodes 
    {
        public static Task<GetLSSStatusCodesResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetLSSStatusCodesResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLSSStatusCodesResult> getLSSStatusCodes(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: zpa:index/getLSSStatusCodes:getLSSStatusCodes
      arguments:
        # arguments dictionary

    getLSSStatusCodes Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    ZpnAstAuthLog Dictionary<string, string>
    ZpnAuthLog Dictionary<string, string>
    ZpnSysAuthLog Dictionary<string, string>
    ZpnTransLog Dictionary<string, string>
    Id string
    The provider-assigned unique ID for this managed resource.
    ZpnAstAuthLog map[string]string
    ZpnAuthLog map[string]string
    ZpnSysAuthLog map[string]string
    ZpnTransLog map[string]string
    id String
    The provider-assigned unique ID for this managed resource.
    zpnAstAuthLog Map<String,String>
    zpnAuthLog Map<String,String>
    zpnSysAuthLog Map<String,String>
    zpnTransLog Map<String,String>
    id string
    The provider-assigned unique ID for this managed resource.
    zpnAstAuthLog {[key: string]: string}
    zpnAuthLog {[key: string]: string}
    zpnSysAuthLog {[key: string]: string}
    zpnTransLog {[key: string]: string}
    id str
    The provider-assigned unique ID for this managed resource.
    zpn_ast_auth_log Mapping[str, str]
    zpn_auth_log Mapping[str, str]
    zpn_sys_auth_log Mapping[str, str]
    zpn_trans_log Mapping[str, str]
    id String
    The provider-assigned unique ID for this managed resource.
    zpnAstAuthLog Map<String>
    zpnAuthLog Map<String>
    zpnSysAuthLog Map<String>
    zpnTransLog Map<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.11 published on Saturday, May 4, 2024 by Zscaler