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

zia.SandboxFileSubmission

Explore with Pulumi AI

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

    Example Usage

    Create SandboxFileSubmission Resource

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

    Constructor syntax

    new SandboxFileSubmission(name: string, args: SandboxFileSubmissionArgs, opts?: CustomResourceOptions);
    @overload
    def SandboxFileSubmission(resource_name: str,
                              args: SandboxFileSubmissionArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def SandboxFileSubmission(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              file_path: Optional[str] = None,
                              submission_method: Optional[str] = None,
                              force: Optional[bool] = None)
    func NewSandboxFileSubmission(ctx *Context, name string, args SandboxFileSubmissionArgs, opts ...ResourceOption) (*SandboxFileSubmission, error)
    public SandboxFileSubmission(string name, SandboxFileSubmissionArgs args, CustomResourceOptions? opts = null)
    public SandboxFileSubmission(String name, SandboxFileSubmissionArgs args)
    public SandboxFileSubmission(String name, SandboxFileSubmissionArgs args, CustomResourceOptions options)
    
    type: zia:SandboxFileSubmission
    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 SandboxFileSubmissionArgs
    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 SandboxFileSubmissionArgs
    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 SandboxFileSubmissionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SandboxFileSubmissionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SandboxFileSubmissionArgs
    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 sandboxFileSubmissionResource = new Zia.SandboxFileSubmission("sandboxFileSubmissionResource", new()
    {
        FilePath = "string",
        SubmissionMethod = "string",
        Force = false,
    });
    
    example, err := zia.NewSandboxFileSubmission(ctx, "sandboxFileSubmissionResource", &zia.SandboxFileSubmissionArgs{
    	FilePath:         pulumi.String("string"),
    	SubmissionMethod: pulumi.String("string"),
    	Force:            pulumi.Bool(false),
    })
    
    var sandboxFileSubmissionResource = new SandboxFileSubmission("sandboxFileSubmissionResource", SandboxFileSubmissionArgs.builder()
        .filePath("string")
        .submissionMethod("string")
        .force(false)
        .build());
    
    sandbox_file_submission_resource = zia.SandboxFileSubmission("sandboxFileSubmissionResource",
        file_path="string",
        submission_method="string",
        force=False)
    
    const sandboxFileSubmissionResource = new zia.SandboxFileSubmission("sandboxFileSubmissionResource", {
        filePath: "string",
        submissionMethod: "string",
        force: false,
    });
    
    type: zia:SandboxFileSubmission
    properties:
        filePath: string
        force: false
        submissionMethod: string
    

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

    FilePath string
    (Required) The path where the raw or archive files for submission are located.
    SubmissionMethod string
    (Required) The submission method to be used. Supportedd values are: submit and discan
    Force bool
    (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are true or false
    FilePath string
    (Required) The path where the raw or archive files for submission are located.
    SubmissionMethod string
    (Required) The submission method to be used. Supportedd values are: submit and discan
    Force bool
    (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are true or false
    filePath String
    (Required) The path where the raw or archive files for submission are located.
    submissionMethod String
    (Required) The submission method to be used. Supportedd values are: submit and discan
    force Boolean
    (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are true or false
    filePath string
    (Required) The path where the raw or archive files for submission are located.
    submissionMethod string
    (Required) The submission method to be used. Supportedd values are: submit and discan
    force boolean
    (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are true or false
    file_path str
    (Required) The path where the raw or archive files for submission are located.
    submission_method str
    (Required) The submission method to be used. Supportedd values are: submit and discan
    force bool
    (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are true or false
    filePath String
    (Required) The path where the raw or archive files for submission are located.
    submissionMethod String
    (Required) The submission method to be used. Supportedd values are: submit and discan
    force Boolean
    (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are true or false

    Outputs

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

    Code int
    FileType string
    Id string
    The provider-assigned unique ID for this managed resource.
    Md5 string
    Message string
    SandboxSubmission string
    VirusName string
    VirusType string
    Code int
    FileType string
    Id string
    The provider-assigned unique ID for this managed resource.
    Md5 string
    Message string
    SandboxSubmission string
    VirusName string
    VirusType string
    code Integer
    fileType String
    id String
    The provider-assigned unique ID for this managed resource.
    md5 String
    message String
    sandboxSubmission String
    virusName String
    virusType String
    code number
    fileType string
    id string
    The provider-assigned unique ID for this managed resource.
    md5 string
    message string
    sandboxSubmission string
    virusName string
    virusType string
    code int
    file_type str
    id str
    The provider-assigned unique ID for this managed resource.
    md5 str
    message str
    sandbox_submission str
    virus_name str
    virus_type str
    code Number
    fileType String
    id String
    The provider-assigned unique ID for this managed resource.
    md5 String
    message String
    sandboxSubmission String
    virusName String
    virusType String

    Look up Existing SandboxFileSubmission Resource

    Get an existing SandboxFileSubmission 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?: SandboxFileSubmissionState, opts?: CustomResourceOptions): SandboxFileSubmission
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            code: Optional[int] = None,
            file_path: Optional[str] = None,
            file_type: Optional[str] = None,
            force: Optional[bool] = None,
            md5: Optional[str] = None,
            message: Optional[str] = None,
            sandbox_submission: Optional[str] = None,
            submission_method: Optional[str] = None,
            virus_name: Optional[str] = None,
            virus_type: Optional[str] = None) -> SandboxFileSubmission
    func GetSandboxFileSubmission(ctx *Context, name string, id IDInput, state *SandboxFileSubmissionState, opts ...ResourceOption) (*SandboxFileSubmission, error)
    public static SandboxFileSubmission Get(string name, Input<string> id, SandboxFileSubmissionState? state, CustomResourceOptions? opts = null)
    public static SandboxFileSubmission get(String name, Output<String> id, SandboxFileSubmissionState 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:
    Code int
    FilePath string
    (Required) The path where the raw or archive files for submission are located.
    FileType string
    Force bool
    (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are true or false
    Md5 string
    Message string
    SandboxSubmission string
    SubmissionMethod string
    (Required) The submission method to be used. Supportedd values are: submit and discan
    VirusName string
    VirusType string
    Code int
    FilePath string
    (Required) The path where the raw or archive files for submission are located.
    FileType string
    Force bool
    (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are true or false
    Md5 string
    Message string
    SandboxSubmission string
    SubmissionMethod string
    (Required) The submission method to be used. Supportedd values are: submit and discan
    VirusName string
    VirusType string
    code Integer
    filePath String
    (Required) The path where the raw or archive files for submission are located.
    fileType String
    force Boolean
    (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are true or false
    md5 String
    message String
    sandboxSubmission String
    submissionMethod String
    (Required) The submission method to be used. Supportedd values are: submit and discan
    virusName String
    virusType String
    code number
    filePath string
    (Required) The path where the raw or archive files for submission are located.
    fileType string
    force boolean
    (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are true or false
    md5 string
    message string
    sandboxSubmission string
    submissionMethod string
    (Required) The submission method to be used. Supportedd values are: submit and discan
    virusName string
    virusType string
    code int
    file_path str
    (Required) The path where the raw or archive files for submission are located.
    file_type str
    force bool
    (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are true or false
    md5 str
    message str
    sandbox_submission str
    submission_method str
    (Required) The submission method to be used. Supportedd values are: submit and discan
    virus_name str
    virus_type str
    code Number
    filePath String
    (Required) The path where the raw or archive files for submission are located.
    fileType String
    force Boolean
    (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are true or false
    md5 String
    message String
    sandboxSubmission String
    submissionMethod String
    (Required) The submission method to be used. Supportedd values are: submit and discan
    virusName String
    virusType 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