Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler
zpa.getLSSStatusCodes
Explore with Pulumi AI
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.
- Zpn
Ast Dictionary<string, string>Auth Log - Zpn
Auth Dictionary<string, string>Log - Zpn
Sys Dictionary<string, string>Auth Log - Zpn
Trans Dictionary<string, string>Log
- Id string
- The provider-assigned unique ID for this managed resource.
- Zpn
Ast map[string]stringAuth Log - Zpn
Auth map[string]stringLog - Zpn
Sys map[string]stringAuth Log - Zpn
Trans map[string]stringLog
- id String
- The provider-assigned unique ID for this managed resource.
- zpn
Ast Map<String,String>Auth Log - zpn
Auth Map<String,String>Log - zpn
Sys Map<String,String>Auth Log - zpn
Trans Map<String,String>Log
- id string
- The provider-assigned unique ID for this managed resource.
- zpn
Ast {[key: string]: string}Auth Log - zpn
Auth {[key: string]: string}Log - zpn
Sys {[key: string]: string}Auth Log - zpn
Trans {[key: string]: string}Log
- id str
- The provider-assigned unique ID for this managed resource.
- zpn_
ast_ Mapping[str, str]auth_ log - zpn_
auth_ Mapping[str, str]log - zpn_
sys_ Mapping[str, str]auth_ log - zpn_
trans_ Mapping[str, str]log
- id String
- The provider-assigned unique ID for this managed resource.
- zpn
Ast Map<String>Auth Log - zpn
Auth Map<String>Log - zpn
Sys Map<String>Auth Log - zpn
Trans Map<String>Log
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpa
Terraform Provider.