zia.ATPMalwareProtocols
Explore with Pulumi AI
The zia_atp_malware_protocols resource allows you to update protocol inspection configurations of Malware Protection policy. To learn more see Configuring Malware Protection Policy
Example Usage
resource "zia_atp_malware_protocols" "this" {
inspect_http = true
inspect_ftp_over_http = true
inspect_ftp = true
}
Create ATPMalwareProtocols Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ATPMalwareProtocols(name: string, args?: ATPMalwareProtocolsArgs, opts?: CustomResourceOptions);
@overload
def ATPMalwareProtocols(resource_name: str,
args: Optional[ATPMalwareProtocolsArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ATPMalwareProtocols(resource_name: str,
opts: Optional[ResourceOptions] = None,
inspect_ftp: Optional[bool] = None,
inspect_ftp_over_http: Optional[bool] = None,
inspect_http: Optional[bool] = None)
func NewATPMalwareProtocols(ctx *Context, name string, args *ATPMalwareProtocolsArgs, opts ...ResourceOption) (*ATPMalwareProtocols, error)
public ATPMalwareProtocols(string name, ATPMalwareProtocolsArgs? args = null, CustomResourceOptions? opts = null)
public ATPMalwareProtocols(String name, ATPMalwareProtocolsArgs args)
public ATPMalwareProtocols(String name, ATPMalwareProtocolsArgs args, CustomResourceOptions options)
type: zia:ATPMalwareProtocols
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 ATPMalwareProtocolsArgs
- 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 ATPMalwareProtocolsArgs
- 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 ATPMalwareProtocolsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ATPMalwareProtocolsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ATPMalwareProtocolsArgs
- 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 atpmalwareProtocolsResource = new Zia.ATPMalwareProtocols("atpmalwareProtocolsResource", new()
{
InspectFtp = false,
InspectFtpOverHttp = false,
InspectHttp = false,
});
example, err := zia.NewATPMalwareProtocols(ctx, "atpmalwareProtocolsResource", &zia.ATPMalwareProtocolsArgs{
InspectFtp: pulumi.Bool(false),
InspectFtpOverHttp: pulumi.Bool(false),
InspectHttp: pulumi.Bool(false),
})
var atpmalwareProtocolsResource = new ATPMalwareProtocols("atpmalwareProtocolsResource", ATPMalwareProtocolsArgs.builder()
.inspectFtp(false)
.inspectFtpOverHttp(false)
.inspectHttp(false)
.build());
atpmalware_protocols_resource = zia.ATPMalwareProtocols("atpmalwareProtocolsResource",
inspect_ftp=False,
inspect_ftp_over_http=False,
inspect_http=False)
const atpmalwareProtocolsResource = new zia.ATPMalwareProtocols("atpmalwareProtocolsResource", {
inspectFtp: false,
inspectFtpOverHttp: false,
inspectHttp: false,
});
type: zia:ATPMalwareProtocols
properties:
inspectFtp: false
inspectFtpOverHttp: false
inspectHttp: false
ATPMalwareProtocols 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 ATPMalwareProtocols resource accepts the following input properties:
- Inspect
Ftp bool - A Boolean value that enables or disables scanning of FTP traffic for malicious content in real time
- Inspect
Ftp boolOver Http - A Boolean value that enables or disables scanning of FTP over HTTP traffic for malicious content in real time
- Inspect
Http bool - A Boolean value that enables or disables scanning of HTTP traffic (and HTTPS traffic if SSL Inspection is enabled) for malicious content in real time
- Inspect
Ftp bool - A Boolean value that enables or disables scanning of FTP traffic for malicious content in real time
- Inspect
Ftp boolOver Http - A Boolean value that enables or disables scanning of FTP over HTTP traffic for malicious content in real time
- Inspect
Http bool - A Boolean value that enables or disables scanning of HTTP traffic (and HTTPS traffic if SSL Inspection is enabled) for malicious content in real time
- inspect
Ftp Boolean - A Boolean value that enables or disables scanning of FTP traffic for malicious content in real time
- inspect
Ftp BooleanOver Http - A Boolean value that enables or disables scanning of FTP over HTTP traffic for malicious content in real time
- inspect
Http Boolean - A Boolean value that enables or disables scanning of HTTP traffic (and HTTPS traffic if SSL Inspection is enabled) for malicious content in real time
- inspect
Ftp boolean - A Boolean value that enables or disables scanning of FTP traffic for malicious content in real time
- inspect
Ftp booleanOver Http - A Boolean value that enables or disables scanning of FTP over HTTP traffic for malicious content in real time
- inspect
Http boolean - A Boolean value that enables or disables scanning of HTTP traffic (and HTTPS traffic if SSL Inspection is enabled) for malicious content in real time
- inspect_
ftp bool - A Boolean value that enables or disables scanning of FTP traffic for malicious content in real time
- inspect_
ftp_ boolover_ http - A Boolean value that enables or disables scanning of FTP over HTTP traffic for malicious content in real time
- inspect_
http bool - A Boolean value that enables or disables scanning of HTTP traffic (and HTTPS traffic if SSL Inspection is enabled) for malicious content in real time
- inspect
Ftp Boolean - A Boolean value that enables or disables scanning of FTP traffic for malicious content in real time
- inspect
Ftp BooleanOver Http - A Boolean value that enables or disables scanning of FTP over HTTP traffic for malicious content in real time
- inspect
Http Boolean - A Boolean value that enables or disables scanning of HTTP traffic (and HTTPS traffic if SSL Inspection is enabled) for malicious content in real time
Outputs
All input properties are implicitly available as output properties. Additionally, the ATPMalwareProtocols 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 ATPMalwareProtocols Resource
Get an existing ATPMalwareProtocols 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?: ATPMalwareProtocolsState, opts?: CustomResourceOptions): ATPMalwareProtocols
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
inspect_ftp: Optional[bool] = None,
inspect_ftp_over_http: Optional[bool] = None,
inspect_http: Optional[bool] = None) -> ATPMalwareProtocols
func GetATPMalwareProtocols(ctx *Context, name string, id IDInput, state *ATPMalwareProtocolsState, opts ...ResourceOption) (*ATPMalwareProtocols, error)
public static ATPMalwareProtocols Get(string name, Input<string> id, ATPMalwareProtocolsState? state, CustomResourceOptions? opts = null)
public static ATPMalwareProtocols get(String name, Output<String> id, ATPMalwareProtocolsState state, CustomResourceOptions options)
resources: _: type: zia:ATPMalwareProtocols 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.
- Inspect
Ftp bool - A Boolean value that enables or disables scanning of FTP traffic for malicious content in real time
- Inspect
Ftp boolOver Http - A Boolean value that enables or disables scanning of FTP over HTTP traffic for malicious content in real time
- Inspect
Http bool - A Boolean value that enables or disables scanning of HTTP traffic (and HTTPS traffic if SSL Inspection is enabled) for malicious content in real time
- Inspect
Ftp bool - A Boolean value that enables or disables scanning of FTP traffic for malicious content in real time
- Inspect
Ftp boolOver Http - A Boolean value that enables or disables scanning of FTP over HTTP traffic for malicious content in real time
- Inspect
Http bool - A Boolean value that enables or disables scanning of HTTP traffic (and HTTPS traffic if SSL Inspection is enabled) for malicious content in real time
- inspect
Ftp Boolean - A Boolean value that enables or disables scanning of FTP traffic for malicious content in real time
- inspect
Ftp BooleanOver Http - A Boolean value that enables or disables scanning of FTP over HTTP traffic for malicious content in real time
- inspect
Http Boolean - A Boolean value that enables or disables scanning of HTTP traffic (and HTTPS traffic if SSL Inspection is enabled) for malicious content in real time
- inspect
Ftp boolean - A Boolean value that enables or disables scanning of FTP traffic for malicious content in real time
- inspect
Ftp booleanOver Http - A Boolean value that enables or disables scanning of FTP over HTTP traffic for malicious content in real time
- inspect
Http boolean - A Boolean value that enables or disables scanning of HTTP traffic (and HTTPS traffic if SSL Inspection is enabled) for malicious content in real time
- inspect_
ftp bool - A Boolean value that enables or disables scanning of FTP traffic for malicious content in real time
- inspect_
ftp_ boolover_ http - A Boolean value that enables or disables scanning of FTP over HTTP traffic for malicious content in real time
- inspect_
http bool - A Boolean value that enables or disables scanning of HTTP traffic (and HTTPS traffic if SSL Inspection is enabled) for malicious content in real time
- inspect
Ftp Boolean - A Boolean value that enables or disables scanning of FTP traffic for malicious content in real time
- inspect
Ftp BooleanOver Http - A Boolean value that enables or disables scanning of FTP over HTTP traffic for malicious content in real time
- inspect
Http Boolean - A Boolean value that enables or disables scanning of HTTP traffic (and HTTPS traffic if SSL Inspection is enabled) for malicious content in real time
Import
Zscaler offers a dedicated tool called Zscaler-Terraformer to allow the automated import of ZIA configurations into Terraform-compliant HashiCorp Configuration Language.
Visit
atp_malware_protocols can be imported by using protocol
as the import ID.
For example:
$ pulumi import zia:index/aTPMalwareProtocols:ATPMalwareProtocols this "protocol"
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.