1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. getAuthSettingsURLs
Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler

zia.getAuthSettingsURLs

Explore with Pulumi AI

zia logo
Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler

    Use the zia_auth_settings_urls data source to get a list of URLs that were exempted from cookie authentiation and SSL Inspection in the Zscaler Internet Access cloud or via the API. To learn more see URL Format Guidelines

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as zia from "@pulumi/zia";
    
    const foo = zia.getAuthSettingsURLs({});
    
    import pulumi
    import pulumi_zia as zia
    
    foo = zia.get_auth_settings_urls()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/zscaler/pulumi-zia/sdk/go/zia"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := zia.LookupAuthSettingsURLs(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Zia = Pulumi.Zia;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Zia.GetAuthSettingsURLs.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.zia.ZiaFunctions;
    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 foo = ZiaFunctions.getAuthSettingsURLs();
    
        }
    }
    
    variables:
      foo:
        fn::invoke:
          Function: zia:getAuthSettingsURLs
          Arguments: {}
    

    Using getAuthSettingsURLs

    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 getAuthSettingsURLs(opts?: InvokeOptions): Promise<GetAuthSettingsURLsResult>
    function getAuthSettingsURLsOutput(opts?: InvokeOptions): Output<GetAuthSettingsURLsResult>
    def get_auth_settings_urls(opts: Optional[InvokeOptions] = None) -> GetAuthSettingsURLsResult
    def get_auth_settings_urls_output(opts: Optional[InvokeOptions] = None) -> Output[GetAuthSettingsURLsResult]
    func LookupAuthSettingsURLs(ctx *Context, opts ...InvokeOption) (*LookupAuthSettingsURLsResult, error)
    func LookupAuthSettingsURLsOutput(ctx *Context, opts ...InvokeOption) LookupAuthSettingsURLsResultOutput

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

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

    getAuthSettingsURLs Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Urls List<string>
    Id string
    The provider-assigned unique ID for this managed resource.
    Urls []string
    id String
    The provider-assigned unique ID for this managed resource.
    urls List<String>
    id string
    The provider-assigned unique ID for this managed resource.
    urls string[]
    id str
    The provider-assigned unique ID for this managed resource.
    urls Sequence[str]
    id String
    The provider-assigned unique ID for this managed resource.
    urls List<String>

    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 v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler