zia logo
Zscaler Internet Access v0.0.3, Jan 30 23

zia.AuthSettingsUrls.AuthSettingsURLs

The zia_auth_settings_urls resource alows you to add or remove a URL from the cookie authentication exempt list in the Zscaler Internet Access cloud or via the API. To learn more see URL Format Guidelines

Example Usage

using System.Collections.Generic;
using Pulumi;
using Zia = zscaler.PulumiPackage.Zia;

return await Deployment.RunAsync(() => 
{
    // ZIA User Auth Settings Data Source
    var example = new Zia.AuthSettingsUrls.AuthSettingsURLs("example", new()
    {
        Urls = new[]
        {
            ".okta.com",
            ".oktacdn.com",
            ".mtls.oktapreview.com",
            ".mtls.okta.com",
            "d3l44rcogcb7iv.cloudfront.net",
            "pac.zdxcloud.net",
            ".windowsazure.com",
            ".fedoraproject.org",
            "login.windows.net",
            "d32a6ru7mhaq0c.cloudfront.net",
            ".kerberos.oktapreview.com",
            ".oktapreview.com",
            "login.zdxcloud.net",
            "login.microsoftonline.com",
            "smres.zdxcloud.net",
            ".kerberos.okta.com",
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/zscaler/pulumi-zia/sdk/go/zia/AuthSettingsUrls"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := AuthSettingsUrls.NewAuthSettingsURLs(ctx, "example", &AuthSettingsUrls.AuthSettingsURLsArgs{
			Urls: pulumi.StringArray{
				pulumi.String(".okta.com"),
				pulumi.String(".oktacdn.com"),
				pulumi.String(".mtls.oktapreview.com"),
				pulumi.String(".mtls.okta.com"),
				pulumi.String("d3l44rcogcb7iv.cloudfront.net"),
				pulumi.String("pac.zdxcloud.net"),
				pulumi.String(".windowsazure.com"),
				pulumi.String(".fedoraproject.org"),
				pulumi.String("login.windows.net"),
				pulumi.String("d32a6ru7mhaq0c.cloudfront.net"),
				pulumi.String(".kerberos.oktapreview.com"),
				pulumi.String(".oktapreview.com"),
				pulumi.String("login.zdxcloud.net"),
				pulumi.String("login.microsoftonline.com"),
				pulumi.String("smres.zdxcloud.net"),
				pulumi.String(".kerberos.okta.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zia.AuthSettingsUrls.AuthSettingsURLs;
import com.pulumi.zia.AuthSettingsUrls.AuthSettingsURLsArgs;
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) {
        var example = new AuthSettingsURLs("example", AuthSettingsURLsArgs.builder()        
            .urls(            
                ".okta.com",
                ".oktacdn.com",
                ".mtls.oktapreview.com",
                ".mtls.okta.com",
                "d3l44rcogcb7iv.cloudfront.net",
                "pac.zdxcloud.net",
                ".windowsazure.com",
                ".fedoraproject.org",
                "login.windows.net",
                "d32a6ru7mhaq0c.cloudfront.net",
                ".kerberos.oktapreview.com",
                ".oktapreview.com",
                "login.zdxcloud.net",
                "login.microsoftonline.com",
                "smres.zdxcloud.net",
                ".kerberos.okta.com")
            .build());

    }
}
import pulumi
import zscaler_pulumi_zia as zia

# ZIA User Auth Settings Data Source
example = zia.auth_settings_urls.AuthSettingsURLs("example", urls=[
    ".okta.com",
    ".oktacdn.com",
    ".mtls.oktapreview.com",
    ".mtls.okta.com",
    "d3l44rcogcb7iv.cloudfront.net",
    "pac.zdxcloud.net",
    ".windowsazure.com",
    ".fedoraproject.org",
    "login.windows.net",
    "d32a6ru7mhaq0c.cloudfront.net",
    ".kerberos.oktapreview.com",
    ".oktapreview.com",
    "login.zdxcloud.net",
    "login.microsoftonline.com",
    "smres.zdxcloud.net",
    ".kerberos.okta.com",
])
import * as pulumi from "@pulumi/pulumi";
import * as zia from "@zscaler/pulumi-zia";

// ZIA User Auth Settings Data Source
const example = new zia.authsettingsurls.AuthSettingsURLs("example", {urls: [
    ".okta.com",
    ".oktacdn.com",
    ".mtls.oktapreview.com",
    ".mtls.okta.com",
    "d3l44rcogcb7iv.cloudfront.net",
    "pac.zdxcloud.net",
    ".windowsazure.com",
    ".fedoraproject.org",
    "login.windows.net",
    "d32a6ru7mhaq0c.cloudfront.net",
    ".kerberos.oktapreview.com",
    ".oktapreview.com",
    "login.zdxcloud.net",
    "login.microsoftonline.com",
    "smres.zdxcloud.net",
    ".kerberos.okta.com",
]});
resources:
  # ZIA User Auth Settings Data Source
  example:
    type: zia:AuthSettingsUrls:AuthSettingsURLs
    properties:
      urls:
        - .okta.com
        - .oktacdn.com
        - .mtls.oktapreview.com
        - .mtls.okta.com
        - d3l44rcogcb7iv.cloudfront.net
        - pac.zdxcloud.net
        - .windowsazure.com
        - .fedoraproject.org
        - login.windows.net
        - d32a6ru7mhaq0c.cloudfront.net
        - .kerberos.oktapreview.com
        - .oktapreview.com
        - login.zdxcloud.net
        - login.microsoftonline.com
        - smres.zdxcloud.net
        - .kerberos.okta.com

Create AuthSettingsURLs Resource

new AuthSettingsURLs(name: string, args?: AuthSettingsURLsArgs, opts?: CustomResourceOptions);
@overload
def AuthSettingsURLs(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     urls: Optional[Sequence[str]] = None)
@overload
def AuthSettingsURLs(resource_name: str,
                     args: Optional[AuthSettingsURLsArgs] = None,
                     opts: Optional[ResourceOptions] = None)
func NewAuthSettingsURLs(ctx *Context, name string, args *AuthSettingsURLsArgs, opts ...ResourceOption) (*AuthSettingsURLs, error)
public AuthSettingsURLs(string name, AuthSettingsURLsArgs? args = null, CustomResourceOptions? opts = null)
public AuthSettingsURLs(String name, AuthSettingsURLsArgs args)
public AuthSettingsURLs(String name, AuthSettingsURLsArgs args, CustomResourceOptions options)
type: zia:AuthSettingsUrls:AuthSettingsURLs
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AuthSettingsURLsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args AuthSettingsURLsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AuthSettingsURLsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AuthSettingsURLsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AuthSettingsURLsArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AuthSettingsURLs Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The AuthSettingsURLs resource accepts the following input properties:

Urls List<string>

The email address of the admin user to be exported.

Urls []string

The email address of the admin user to be exported.

urls List<String>

The email address of the admin user to be exported.

urls string[]

The email address of the admin user to be exported.

urls Sequence[str]

The email address of the admin user to be exported.

urls List<String>

The email address of the admin user to be exported.

Outputs

All input properties are implicitly available as output properties. Additionally, the AuthSettingsURLs resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing AuthSettingsURLs Resource

Get an existing AuthSettingsURLs resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AuthSettingsURLsState, opts?: CustomResourceOptions): AuthSettingsURLs
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        urls: Optional[Sequence[str]] = None) -> AuthSettingsURLs
func GetAuthSettingsURLs(ctx *Context, name string, id IDInput, state *AuthSettingsURLsState, opts ...ResourceOption) (*AuthSettingsURLs, error)
public static AuthSettingsURLs Get(string name, Input<string> id, AuthSettingsURLsState? state, CustomResourceOptions? opts = null)
public static AuthSettingsURLs get(String name, Output<String> id, AuthSettingsURLsState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Urls List<string>

The email address of the admin user to be exported.

Urls []string

The email address of the admin user to be exported.

urls List<String>

The email address of the admin user to be exported.

urls string[]

The email address of the admin user to be exported.

urls Sequence[str]

The email address of the admin user to be exported.

urls List<String>

The email address of the admin user to be exported.

Package Details

Repository
zia zscaler/pulumi-zia
License
MIT
Notes

This Pulumi package is based on the zia Terraform Provider.