1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. ATPMaliciousURLs
Zscaler Internet Access v1.0.1 published on Friday, Jun 6, 2025 by Zscaler

zia.ATPMaliciousURLs

Explore with Pulumi AI

zia logo
Zscaler Internet Access v1.0.1 published on Friday, Jun 6, 2025 by Zscaler

    The zia_atp_malicious_urls resource alows you to Updates the malicious URLs added to the denylist in ATP policy. To learn more see Advanced Threat Protection

    Example Usage

    resource "zia_atp_malicious_urls" "this" {
        malicious_urls = [
            "test1.malicious.com",
            "test2.malicious.com",
            "test3.malicious.com",
        ]
    }
    

    Create ATPMaliciousURLs Resource

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

    Constructor syntax

    new ATPMaliciousURLs(name: string, args?: ATPMaliciousURLsArgs, opts?: CustomResourceOptions);
    @overload
    def ATPMaliciousURLs(resource_name: str,
                         args: Optional[ATPMaliciousURLsArgs] = None,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def ATPMaliciousURLs(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         malicious_urls: Optional[Sequence[str]] = None)
    func NewATPMaliciousURLs(ctx *Context, name string, args *ATPMaliciousURLsArgs, opts ...ResourceOption) (*ATPMaliciousURLs, error)
    public ATPMaliciousURLs(string name, ATPMaliciousURLsArgs? args = null, CustomResourceOptions? opts = null)
    public ATPMaliciousURLs(String name, ATPMaliciousURLsArgs args)
    public ATPMaliciousURLs(String name, ATPMaliciousURLsArgs args, CustomResourceOptions options)
    
    type: zia:ATPMaliciousURLs
    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 ATPMaliciousURLsArgs
    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 ATPMaliciousURLsArgs
    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 ATPMaliciousURLsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ATPMaliciousURLsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ATPMaliciousURLsArgs
    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 atpmaliciousURLsResource = new Zia.ATPMaliciousURLs("atpmaliciousURLsResource", new()
    {
        MaliciousUrls = new[]
        {
            "string",
        },
    });
    
    example, err := zia.NewATPMaliciousURLs(ctx, "atpmaliciousURLsResource", &zia.ATPMaliciousURLsArgs{
    	MaliciousUrls: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var atpmaliciousURLsResource = new ATPMaliciousURLs("atpmaliciousURLsResource", ATPMaliciousURLsArgs.builder()
        .maliciousUrls("string")
        .build());
    
    atpmalicious_urls_resource = zia.ATPMaliciousURLs("atpmaliciousURLsResource", malicious_urls=["string"])
    
    const atpmaliciousURLsResource = new zia.ATPMaliciousURLs("atpmaliciousURLsResource", {maliciousUrls: ["string"]});
    
    type: zia:ATPMaliciousURLs
    properties:
        maliciousUrls:
            - string
    

    ATPMaliciousURLs Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ATPMaliciousURLs resource accepts the following input properties:

    MaliciousUrls List<string>
    MaliciousUrls []string
    maliciousUrls List<String>
    maliciousUrls string[]
    malicious_urls Sequence[str]
    maliciousUrls List<String>

    Outputs

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

    Get an existing ATPMaliciousURLs 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?: ATPMaliciousURLsState, opts?: CustomResourceOptions): ATPMaliciousURLs
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            malicious_urls: Optional[Sequence[str]] = None) -> ATPMaliciousURLs
    func GetATPMaliciousURLs(ctx *Context, name string, id IDInput, state *ATPMaliciousURLsState, opts ...ResourceOption) (*ATPMaliciousURLs, error)
    public static ATPMaliciousURLs Get(string name, Input<string> id, ATPMaliciousURLsState? state, CustomResourceOptions? opts = null)
    public static ATPMaliciousURLs get(String name, Output<String> id, ATPMaliciousURLsState state, CustomResourceOptions options)
    resources:  _:    type: zia:ATPMaliciousURLs    get:      id: ${id}
    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:
    MaliciousUrls List<string>
    MaliciousUrls []string
    maliciousUrls List<String>
    maliciousUrls string[]
    malicious_urls Sequence[str]
    maliciousUrls List<String>

    Import

    Zscaler offers a dedicated tool called Zscaler-Terraformer to allow the automated import of ZIA configurations into Terraform-compliant HashiCorp Configuration Language.

    Visit

    zia_atp_malicious_urls can be imported by using all_urls as the import ID.

    For example:

    $ pulumi import zia:index/aTPMaliciousURLs:ATPMaliciousURLs this all_urls
    

    To learn more about importing existing cloud resources, see Importing resources.

    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 v1.0.1 published on Friday, Jun 6, 2025 by Zscaler