1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. SecuritySettings
Zscaler Internet Access v0.0.6 published on Wednesday, Apr 10, 2024 by Zscaler

zia.SecuritySettings

Explore with Pulumi AI

zia logo
Zscaler Internet Access v0.0.6 published on Wednesday, Apr 10, 2024 by Zscaler

    Create SecuritySettings Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

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

    Parameters

    name string
    The unique name of the resource.
    args SecuritySettingsArgs
    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 SecuritySettingsArgs
    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 SecuritySettingsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SecuritySettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SecuritySettingsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var securitySettingsResource = new Zia.SecuritySettings("securitySettingsResource", new()
    {
        BlacklistUrls = new[]
        {
            "string",
        },
        WhitelistUrls = new[]
        {
            "string",
        },
    });
    
    example, err := zia.NewSecuritySettings(ctx, "securitySettingsResource", &zia.SecuritySettingsArgs{
    	BlacklistUrls: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	WhitelistUrls: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var securitySettingsResource = new SecuritySettings("securitySettingsResource", SecuritySettingsArgs.builder()
        .blacklistUrls("string")
        .whitelistUrls("string")
        .build());
    
    security_settings_resource = zia.SecuritySettings("securitySettingsResource",
        blacklist_urls=["string"],
        whitelist_urls=["string"])
    
    const securitySettingsResource = new zia.SecuritySettings("securitySettingsResource", {
        blacklistUrls: ["string"],
        whitelistUrls: ["string"],
    });
    
    type: zia:SecuritySettings
    properties:
        blacklistUrls:
            - string
        whitelistUrls:
            - string
    

    SecuritySettings 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 SecuritySettings resource accepts the following input properties:

    BlacklistUrls List<string>
    URLs on the denylist for your organization. Allow up to 25000 URLs.
    WhitelistUrls List<string>
    Allowlist URLs whose contents will not be scanned. Allows up to 255 URLs.
    BlacklistUrls []string
    URLs on the denylist for your organization. Allow up to 25000 URLs.
    WhitelistUrls []string
    Allowlist URLs whose contents will not be scanned. Allows up to 255 URLs.
    blacklistUrls List<String>
    URLs on the denylist for your organization. Allow up to 25000 URLs.
    whitelistUrls List<String>
    Allowlist URLs whose contents will not be scanned. Allows up to 255 URLs.
    blacklistUrls string[]
    URLs on the denylist for your organization. Allow up to 25000 URLs.
    whitelistUrls string[]
    Allowlist URLs whose contents will not be scanned. Allows up to 255 URLs.
    blacklist_urls Sequence[str]
    URLs on the denylist for your organization. Allow up to 25000 URLs.
    whitelist_urls Sequence[str]
    Allowlist URLs whose contents will not be scanned. Allows up to 255 URLs.
    blacklistUrls List<String>
    URLs on the denylist for your organization. Allow up to 25000 URLs.
    whitelistUrls List<String>
    Allowlist URLs whose contents will not be scanned. Allows up to 255 URLs.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SecuritySettings 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 SecuritySettings Resource

    Get an existing SecuritySettings 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?: SecuritySettingsState, opts?: CustomResourceOptions): SecuritySettings
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            blacklist_urls: Optional[Sequence[str]] = None,
            whitelist_urls: Optional[Sequence[str]] = None) -> SecuritySettings
    func GetSecuritySettings(ctx *Context, name string, id IDInput, state *SecuritySettingsState, opts ...ResourceOption) (*SecuritySettings, error)
    public static SecuritySettings Get(string name, Input<string> id, SecuritySettingsState? state, CustomResourceOptions? opts = null)
    public static SecuritySettings get(String name, Output<String> id, SecuritySettingsState 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:
    BlacklistUrls List<string>
    URLs on the denylist for your organization. Allow up to 25000 URLs.
    WhitelistUrls List<string>
    Allowlist URLs whose contents will not be scanned. Allows up to 255 URLs.
    BlacklistUrls []string
    URLs on the denylist for your organization. Allow up to 25000 URLs.
    WhitelistUrls []string
    Allowlist URLs whose contents will not be scanned. Allows up to 255 URLs.
    blacklistUrls List<String>
    URLs on the denylist for your organization. Allow up to 25000 URLs.
    whitelistUrls List<String>
    Allowlist URLs whose contents will not be scanned. Allows up to 255 URLs.
    blacklistUrls string[]
    URLs on the denylist for your organization. Allow up to 25000 URLs.
    whitelistUrls string[]
    Allowlist URLs whose contents will not be scanned. Allows up to 255 URLs.
    blacklist_urls Sequence[str]
    URLs on the denylist for your organization. Allow up to 25000 URLs.
    whitelist_urls Sequence[str]
    Allowlist URLs whose contents will not be scanned. Allows up to 255 URLs.
    blacklistUrls List<String>
    URLs on the denylist for your organization. Allow up to 25000 URLs.
    whitelistUrls List<String>
    Allowlist URLs whose contents will not be scanned. Allows up to 255 URLs.

    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.6 published on Wednesday, Apr 10, 2024 by Zscaler