Zscaler Internet Access v0.0.6 published on Wednesday, Apr 10, 2024 by Zscaler
zia.SandboxFileSubmission
Explore with Pulumi AI
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
The SandboxFileSubmission resource accepts the following input properties:
- File
Path string - (Required) The path where the raw or archive files for submission are located.
- Submission
Method string - (Required) The submission method to be used. Supportedd values are:
submit
anddiscan
- Force bool
- (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are
true
orfalse
- File
Path string - (Required) The path where the raw or archive files for submission are located.
- Submission
Method string - (Required) The submission method to be used. Supportedd values are:
submit
anddiscan
- Force bool
- (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are
true
orfalse
- file
Path String - (Required) The path where the raw or archive files for submission are located.
- submission
Method String - (Required) The submission method to be used. Supportedd values are:
submit
anddiscan
- force Boolean
- (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are
true
orfalse
- file
Path string - (Required) The path where the raw or archive files for submission are located.
- submission
Method string - (Required) The submission method to be used. Supportedd values are:
submit
anddiscan
- force boolean
- (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are
true
orfalse
- 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
anddiscan
- force bool
- (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are
true
orfalse
- file
Path String - (Required) The path where the raw or archive files for submission are located.
- submission
Method String - (Required) The submission method to be used. Supportedd values are:
submit
anddiscan
- force Boolean
- (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are
true
orfalse
Outputs
All input properties are implicitly available as output properties. Additionally, the SandboxFileSubmission resource produces the following output properties:
- 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
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.
- Code int
- File
Path string - (Required) The path where the raw or archive files for submission are located.
- File
Type string - Force bool
- (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are
true
orfalse
- Md5 string
- Message string
- Sandbox
Submission string - Submission
Method string - (Required) The submission method to be used. Supportedd values are:
submit
anddiscan
- Virus
Name string - Virus
Type string
- Code int
- File
Path string - (Required) The path where the raw or archive files for submission are located.
- File
Type string - Force bool
- (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are
true
orfalse
- Md5 string
- Message string
- Sandbox
Submission string - Submission
Method string - (Required) The submission method to be used. Supportedd values are:
submit
anddiscan
- Virus
Name string - Virus
Type string
- code Integer
- file
Path String - (Required) The path where the raw or archive files for submission are located.
- file
Type String - force Boolean
- (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are
true
orfalse
- md5 String
- message String
- sandbox
Submission String - submission
Method String - (Required) The submission method to be used. Supportedd values are:
submit
anddiscan
- virus
Name String - virus
Type String
- code number
- file
Path string - (Required) The path where the raw or archive files for submission are located.
- file
Type string - force boolean
- (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are
true
orfalse
- md5 string
- message string
- sandbox
Submission string - submission
Method string - (Required) The submission method to be used. Supportedd values are:
submit
anddiscan
- virus
Name string - virus
Type 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
orfalse
- md5 str
- message str
- sandbox_
submission str - submission_
method str - (Required) The submission method to be used. Supportedd values are:
submit
anddiscan
- virus_
name str - virus_
type str
- code Number
- file
Path String - (Required) The path where the raw or archive files for submission are located.
- file
Type String - force Boolean
- (Optional) Submit file to sandbox even if found malicious during AV scan and a verdict already exists. Supported values are
true
orfalse
- md5 String
- message String
- sandbox
Submission String - submission
Method String - (Required) The submission method to be used. Supportedd values are:
submit
anddiscan
- virus
Name String - virus
Type String
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.