zia.FileTypeControlRules
Explore with Pulumi AI
The zia_file_type_control_rules resource allows the creation and management of ZIA file type control rules in the Zscaler Internet Access.
Example Usage
data "zia_department_management" "engineering" {
name = "Engineering"
}
data "zia_group_management" "normal_internet" {
name = "Normal_Internet"
}
data "zia_cloud_applications" "this" {
policy_type = "cloud_application_policy"
app_class = ["AI_ML"]
}
resource "zia_file_type_control_rules" "this" {
name = "Terraform_File_Type01"
description = "Terraform_File_Type01"
state = "ENABLED"
order = 1
rank = 7
filtering_action = "BLOCK"
operation = "DOWNLOAD"
active_content = true
unscannable = false
device_trust_levels = ["UNKNOWN_DEVICETRUSTLEVEL", "LOW_TRUST", "MEDIUM_TRUST", "HIGH_TRUST"]
file_types = ["FTCATEGORY_MS_WORD", "FTCATEGORY_MS_POWERPOINT", "FTCATEGORY_PDF_DOCUMENT", "FTCATEGORY_MS_EXCEL"]
protocols = ["FOHTTP_RULE", "FTP_RULE", "HTTPS_RULE", "HTTP_RULE"]
cloud_applications = tolist([for app in data.zia_cloud_applications.this.applications : app["app"]])
departments {
id = [ data.zia_department_management.engineering.id ]
}
groups {
id = [ data.zia_group_management.normal_internet.id ]
}
}
Create FileTypeControlRules Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FileTypeControlRules(name: string, args: FileTypeControlRulesArgs, opts?: CustomResourceOptions);
@overload
def FileTypeControlRules(resource_name: str,
args: FileTypeControlRulesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FileTypeControlRules(resource_name: str,
opts: Optional[ResourceOptions] = None,
order: Optional[int] = None,
protocols: Optional[Sequence[str]] = None,
device_trust_levels: Optional[Sequence[str]] = None,
unscannable: Optional[bool] = None,
description: Optional[str] = None,
device_groups: Optional[FileTypeControlRulesDeviceGroupsArgs] = None,
active_content: Optional[bool] = None,
devices: Optional[FileTypeControlRulesDevicesArgs] = None,
file_types: Optional[Sequence[str]] = None,
filtering_action: Optional[str] = None,
groups: Optional[FileTypeControlRulesGroupsArgs] = None,
labels: Optional[FileTypeControlRulesLabelsArgs] = None,
location_groups: Optional[FileTypeControlRulesLocationGroupsArgs] = None,
locations: Optional[FileTypeControlRulesLocationsArgs] = None,
departments: Optional[FileTypeControlRulesDepartmentsArgs] = None,
name: Optional[str] = None,
max_size: Optional[int] = None,
operation: Optional[str] = None,
cloud_applications: Optional[Sequence[str]] = None,
capture_pcap: Optional[bool] = None,
rank: Optional[int] = None,
state: Optional[str] = None,
time_windows: Optional[FileTypeControlRulesTimeWindowsArgs] = None,
min_size: Optional[int] = None,
url_categories: Optional[Sequence[str]] = None,
users: Optional[FileTypeControlRulesUsersArgs] = None,
zpa_app_segments: Optional[Sequence[FileTypeControlRulesZpaAppSegmentArgs]] = None)
func NewFileTypeControlRules(ctx *Context, name string, args FileTypeControlRulesArgs, opts ...ResourceOption) (*FileTypeControlRules, error)
public FileTypeControlRules(string name, FileTypeControlRulesArgs args, CustomResourceOptions? opts = null)
public FileTypeControlRules(String name, FileTypeControlRulesArgs args)
public FileTypeControlRules(String name, FileTypeControlRulesArgs args, CustomResourceOptions options)
type: zia:FileTypeControlRules
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 FileTypeControlRulesArgs
- 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 FileTypeControlRulesArgs
- 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 FileTypeControlRulesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FileTypeControlRulesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FileTypeControlRulesArgs
- 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 fileTypeControlRulesResource = new Zia.FileTypeControlRules("fileTypeControlRulesResource", new()
{
Order = 0,
Protocols = new[]
{
"string",
},
DeviceTrustLevels = new[]
{
"string",
},
Unscannable = false,
Description = "string",
DeviceGroups = new Zia.Inputs.FileTypeControlRulesDeviceGroupsArgs
{
Ids = new[]
{
0,
},
},
ActiveContent = false,
Devices = new Zia.Inputs.FileTypeControlRulesDevicesArgs
{
Ids = new[]
{
0,
},
},
FileTypes = new[]
{
"string",
},
FilteringAction = "string",
Groups = new Zia.Inputs.FileTypeControlRulesGroupsArgs
{
Ids = new[]
{
0,
},
},
Labels = new Zia.Inputs.FileTypeControlRulesLabelsArgs
{
Id = 0,
},
LocationGroups = new Zia.Inputs.FileTypeControlRulesLocationGroupsArgs
{
Ids = new[]
{
0,
},
},
Locations = new Zia.Inputs.FileTypeControlRulesLocationsArgs
{
Ids = new[]
{
0,
},
},
Departments = new Zia.Inputs.FileTypeControlRulesDepartmentsArgs
{
Ids = new[]
{
0,
},
},
Name = "string",
MaxSize = 0,
Operation = "string",
CloudApplications = new[]
{
"string",
},
CapturePcap = false,
Rank = 0,
State = "string",
TimeWindows = new Zia.Inputs.FileTypeControlRulesTimeWindowsArgs
{
Ids = new[]
{
0,
},
},
MinSize = 0,
UrlCategories = new[]
{
"string",
},
Users = new Zia.Inputs.FileTypeControlRulesUsersArgs
{
Ids = new[]
{
0,
},
},
ZpaAppSegments = new[]
{
new Zia.Inputs.FileTypeControlRulesZpaAppSegmentArgs
{
ExternalId = "string",
Name = "string",
},
},
});
example, err := zia.NewFileTypeControlRules(ctx, "fileTypeControlRulesResource", &zia.FileTypeControlRulesArgs{
Order: pulumi.Int(0),
Protocols: pulumi.StringArray{
pulumi.String("string"),
},
DeviceTrustLevels: pulumi.StringArray{
pulumi.String("string"),
},
Unscannable: pulumi.Bool(false),
Description: pulumi.String("string"),
DeviceGroups: &zia.FileTypeControlRulesDeviceGroupsArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
ActiveContent: pulumi.Bool(false),
Devices: &zia.FileTypeControlRulesDevicesArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
FileTypes: pulumi.StringArray{
pulumi.String("string"),
},
FilteringAction: pulumi.String("string"),
Groups: &zia.FileTypeControlRulesGroupsArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
Labels: &zia.FileTypeControlRulesLabelsArgs{
Id: pulumi.Int(0),
},
LocationGroups: &zia.FileTypeControlRulesLocationGroupsArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
Locations: &zia.FileTypeControlRulesLocationsArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
Departments: &zia.FileTypeControlRulesDepartmentsArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
Name: pulumi.String("string"),
MaxSize: pulumi.Int(0),
Operation: pulumi.String("string"),
CloudApplications: pulumi.StringArray{
pulumi.String("string"),
},
CapturePcap: pulumi.Bool(false),
Rank: pulumi.Int(0),
State: pulumi.String("string"),
TimeWindows: &zia.FileTypeControlRulesTimeWindowsArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
MinSize: pulumi.Int(0),
UrlCategories: pulumi.StringArray{
pulumi.String("string"),
},
Users: &zia.FileTypeControlRulesUsersArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
ZpaAppSegments: zia.FileTypeControlRulesZpaAppSegmentArray{
&zia.FileTypeControlRulesZpaAppSegmentArgs{
ExternalId: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
})
var fileTypeControlRulesResource = new FileTypeControlRules("fileTypeControlRulesResource", FileTypeControlRulesArgs.builder()
.order(0)
.protocols("string")
.deviceTrustLevels("string")
.unscannable(false)
.description("string")
.deviceGroups(FileTypeControlRulesDeviceGroupsArgs.builder()
.ids(0)
.build())
.activeContent(false)
.devices(FileTypeControlRulesDevicesArgs.builder()
.ids(0)
.build())
.fileTypes("string")
.filteringAction("string")
.groups(FileTypeControlRulesGroupsArgs.builder()
.ids(0)
.build())
.labels(FileTypeControlRulesLabelsArgs.builder()
.id(0)
.build())
.locationGroups(FileTypeControlRulesLocationGroupsArgs.builder()
.ids(0)
.build())
.locations(FileTypeControlRulesLocationsArgs.builder()
.ids(0)
.build())
.departments(FileTypeControlRulesDepartmentsArgs.builder()
.ids(0)
.build())
.name("string")
.maxSize(0)
.operation("string")
.cloudApplications("string")
.capturePcap(false)
.rank(0)
.state("string")
.timeWindows(FileTypeControlRulesTimeWindowsArgs.builder()
.ids(0)
.build())
.minSize(0)
.urlCategories("string")
.users(FileTypeControlRulesUsersArgs.builder()
.ids(0)
.build())
.zpaAppSegments(FileTypeControlRulesZpaAppSegmentArgs.builder()
.externalId("string")
.name("string")
.build())
.build());
file_type_control_rules_resource = zia.FileTypeControlRules("fileTypeControlRulesResource",
order=0,
protocols=["string"],
device_trust_levels=["string"],
unscannable=False,
description="string",
device_groups={
"ids": [0],
},
active_content=False,
devices={
"ids": [0],
},
file_types=["string"],
filtering_action="string",
groups={
"ids": [0],
},
labels={
"id": 0,
},
location_groups={
"ids": [0],
},
locations={
"ids": [0],
},
departments={
"ids": [0],
},
name="string",
max_size=0,
operation="string",
cloud_applications=["string"],
capture_pcap=False,
rank=0,
state="string",
time_windows={
"ids": [0],
},
min_size=0,
url_categories=["string"],
users={
"ids": [0],
},
zpa_app_segments=[{
"external_id": "string",
"name": "string",
}])
const fileTypeControlRulesResource = new zia.FileTypeControlRules("fileTypeControlRulesResource", {
order: 0,
protocols: ["string"],
deviceTrustLevels: ["string"],
unscannable: false,
description: "string",
deviceGroups: {
ids: [0],
},
activeContent: false,
devices: {
ids: [0],
},
fileTypes: ["string"],
filteringAction: "string",
groups: {
ids: [0],
},
labels: {
id: 0,
},
locationGroups: {
ids: [0],
},
locations: {
ids: [0],
},
departments: {
ids: [0],
},
name: "string",
maxSize: 0,
operation: "string",
cloudApplications: ["string"],
capturePcap: false,
rank: 0,
state: "string",
timeWindows: {
ids: [0],
},
minSize: 0,
urlCategories: ["string"],
users: {
ids: [0],
},
zpaAppSegments: [{
externalId: "string",
name: "string",
}],
});
type: zia:FileTypeControlRules
properties:
activeContent: false
capturePcap: false
cloudApplications:
- string
departments:
ids:
- 0
description: string
deviceGroups:
ids:
- 0
deviceTrustLevels:
- string
devices:
ids:
- 0
fileTypes:
- string
filteringAction: string
groups:
ids:
- 0
labels:
id: 0
locationGroups:
ids:
- 0
locations:
ids:
- 0
maxSize: 0
minSize: 0
name: string
operation: string
order: 0
protocols:
- string
rank: 0
state: string
timeWindows:
ids:
- 0
unscannable: false
urlCategories:
- string
users:
ids:
- 0
zpaAppSegments:
- externalId: string
name: string
FileTypeControlRules 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 FileTypeControlRules resource accepts the following input properties:
- Order int
- The rule order of execution for the File Type Control rule with respect to other rules.
- Protocols List<string>
- Protocol for the given rule. This field is not applicable to the Lite API.
- Active
Content bool - Flag to check whether a file has active content or not
- Capture
Pcap bool - A Boolean value that indicates whether packet capture (PCAP) is enabled or not
- Cloud
Applications List<string> - The list of cloud applications to which the File Type Control rule must be applied.
- Departments
zscaler.
Pulumi Package. Zia. Inputs. File Type Control Rules Departments - The Name-ID pairs of departments to which the File Type Control rule must be applied.
- Description string
- The description of the File Type Control rule.
- Device
Groups zscaler.Pulumi Package. Zia. Inputs. File Type Control Rules Device Groups - This field is applicable for devices that are managed using Zscaler Client Connector.
- Device
Trust List<string>Levels - List of device trust levels for which the rule must be applied. This field is applicable for devices that are managed using Zscaler Client Connector. The trust levels are assigned to the devices based on your posture configurations in the Zscaler Client Connector Portal. If no value is set, this field is ignored during the policy evaluation.
- Devices
zscaler.
Pulumi Package. Zia. Inputs. File Type Control Rules Devices - Name-ID pairs of devices for which rule must be applied.
- File
Types List<string> - File type categories for which the policy is applied. If not set, the rule is applied across all file types.
- Filtering
Action string - Action taken when traffic matches policy. This field is not applicable to the Lite API.
- Groups
zscaler.
Pulumi Package. Zia. Inputs. File Type Control Rules Groups - The Name-ID pairs of groups to which the File Type Control rule must be applied.
- Labels
zscaler.
Pulumi Package. Zia. Inputs. File Type Control Rules Labels - list of Labels that are applicable to the rule.
- Location
Groups zscaler.Pulumi Package. Zia. Inputs. File Type Control Rules Location Groups - Name-ID pairs of locations groups for which rule must be applied.
- Locations
zscaler.
Pulumi Package. Zia. Inputs. File Type Control Rules Locations - Name-ID pairs of locations for the which policy must be applied. If not set, policy is applied for all locations.
- Max
Size int - Maximum file size (in KB) used for evaluation of the FTP rule
- Min
Size int - Minimum file size (in KB) used for evaluation of the FTP rule
- Name string
- The File Type Control policy rule name.
- Operation string
- File operation performed. This field is not applicable to the Lite API.
- Rank int
- Admin rank of the admin who creates this rule
- State string
- Enables or disables the File Type Control rule.
- Time
Windows zscaler.Pulumi Package. Zia. Inputs. File Type Control Rules Time Windows - list of time interval during which rule must be enforced.
- Unscannable bool
- Flag to check whether a file has active content or not
- Url
Categories List<string> - List of URL categories for which rule must be applied
- Users
zscaler.
Pulumi Package. Zia. Inputs. File Type Control Rules Users - The Name-ID pairs of users to which the File Type Control rule must be applied.
- Zpa
App List<zscaler.Segments Pulumi Package. Zia. Inputs. File Type Control Rules Zpa App Segment> - List of Source IP Anchoring-enabled ZPA Application Segments for which this rule is applicable
- Order int
- The rule order of execution for the File Type Control rule with respect to other rules.
- Protocols []string
- Protocol for the given rule. This field is not applicable to the Lite API.
- Active
Content bool - Flag to check whether a file has active content or not
- Capture
Pcap bool - A Boolean value that indicates whether packet capture (PCAP) is enabled or not
- Cloud
Applications []string - The list of cloud applications to which the File Type Control rule must be applied.
- Departments
File
Type Control Rules Departments Args - The Name-ID pairs of departments to which the File Type Control rule must be applied.
- Description string
- The description of the File Type Control rule.
- Device
Groups FileType Control Rules Device Groups Args - This field is applicable for devices that are managed using Zscaler Client Connector.
- Device
Trust []stringLevels - List of device trust levels for which the rule must be applied. This field is applicable for devices that are managed using Zscaler Client Connector. The trust levels are assigned to the devices based on your posture configurations in the Zscaler Client Connector Portal. If no value is set, this field is ignored during the policy evaluation.
- Devices
File
Type Control Rules Devices Args - Name-ID pairs of devices for which rule must be applied.
- File
Types []string - File type categories for which the policy is applied. If not set, the rule is applied across all file types.
- Filtering
Action string - Action taken when traffic matches policy. This field is not applicable to the Lite API.
- Groups
File
Type Control Rules Groups Args - The Name-ID pairs of groups to which the File Type Control rule must be applied.
- Labels
File
Type Control Rules Labels Args - list of Labels that are applicable to the rule.
- Location
Groups FileType Control Rules Location Groups Args - Name-ID pairs of locations groups for which rule must be applied.
- Locations
File
Type Control Rules Locations Args - Name-ID pairs of locations for the which policy must be applied. If not set, policy is applied for all locations.
- Max
Size int - Maximum file size (in KB) used for evaluation of the FTP rule
- Min
Size int - Minimum file size (in KB) used for evaluation of the FTP rule
- Name string
- The File Type Control policy rule name.
- Operation string
- File operation performed. This field is not applicable to the Lite API.
- Rank int
- Admin rank of the admin who creates this rule
- State string
- Enables or disables the File Type Control rule.
- Time
Windows FileType Control Rules Time Windows Args - list of time interval during which rule must be enforced.
- Unscannable bool
- Flag to check whether a file has active content or not
- Url
Categories []string - List of URL categories for which rule must be applied
- Users
File
Type Control Rules Users Args - The Name-ID pairs of users to which the File Type Control rule must be applied.
- Zpa
App []FileSegments Type Control Rules Zpa App Segment Args - List of Source IP Anchoring-enabled ZPA Application Segments for which this rule is applicable
- order Integer
- The rule order of execution for the File Type Control rule with respect to other rules.
- protocols List<String>
- Protocol for the given rule. This field is not applicable to the Lite API.
- active
Content Boolean - Flag to check whether a file has active content or not
- capture
Pcap Boolean - A Boolean value that indicates whether packet capture (PCAP) is enabled or not
- cloud
Applications List<String> - The list of cloud applications to which the File Type Control rule must be applied.
- departments
File
Type Control Rules Departments - The Name-ID pairs of departments to which the File Type Control rule must be applied.
- description String
- The description of the File Type Control rule.
- device
Groups FileType Control Rules Device Groups - This field is applicable for devices that are managed using Zscaler Client Connector.
- device
Trust List<String>Levels - List of device trust levels for which the rule must be applied. This field is applicable for devices that are managed using Zscaler Client Connector. The trust levels are assigned to the devices based on your posture configurations in the Zscaler Client Connector Portal. If no value is set, this field is ignored during the policy evaluation.
- devices
File
Type Control Rules Devices - Name-ID pairs of devices for which rule must be applied.
- file
Types List<String> - File type categories for which the policy is applied. If not set, the rule is applied across all file types.
- filtering
Action String - Action taken when traffic matches policy. This field is not applicable to the Lite API.
- groups
File
Type Control Rules Groups - The Name-ID pairs of groups to which the File Type Control rule must be applied.
- labels
File
Type Control Rules Labels - list of Labels that are applicable to the rule.
- location
Groups FileType Control Rules Location Groups - Name-ID pairs of locations groups for which rule must be applied.
- locations
File
Type Control Rules Locations - Name-ID pairs of locations for the which policy must be applied. If not set, policy is applied for all locations.
- max
Size Integer - Maximum file size (in KB) used for evaluation of the FTP rule
- min
Size Integer - Minimum file size (in KB) used for evaluation of the FTP rule
- name String
- The File Type Control policy rule name.
- operation String
- File operation performed. This field is not applicable to the Lite API.
- rank Integer
- Admin rank of the admin who creates this rule
- state String
- Enables or disables the File Type Control rule.
- time
Windows FileType Control Rules Time Windows - list of time interval during which rule must be enforced.
- unscannable Boolean
- Flag to check whether a file has active content or not
- url
Categories List<String> - List of URL categories for which rule must be applied
- users
File
Type Control Rules Users - The Name-ID pairs of users to which the File Type Control rule must be applied.
- zpa
App List<FileSegments Type Control Rules Zpa App Segment> - List of Source IP Anchoring-enabled ZPA Application Segments for which this rule is applicable
- order number
- The rule order of execution for the File Type Control rule with respect to other rules.
- protocols string[]
- Protocol for the given rule. This field is not applicable to the Lite API.
- active
Content boolean - Flag to check whether a file has active content or not
- capture
Pcap boolean - A Boolean value that indicates whether packet capture (PCAP) is enabled or not
- cloud
Applications string[] - The list of cloud applications to which the File Type Control rule must be applied.
- departments
File
Type Control Rules Departments - The Name-ID pairs of departments to which the File Type Control rule must be applied.
- description string
- The description of the File Type Control rule.
- device
Groups FileType Control Rules Device Groups - This field is applicable for devices that are managed using Zscaler Client Connector.
- device
Trust string[]Levels - List of device trust levels for which the rule must be applied. This field is applicable for devices that are managed using Zscaler Client Connector. The trust levels are assigned to the devices based on your posture configurations in the Zscaler Client Connector Portal. If no value is set, this field is ignored during the policy evaluation.
- devices
File
Type Control Rules Devices - Name-ID pairs of devices for which rule must be applied.
- file
Types string[] - File type categories for which the policy is applied. If not set, the rule is applied across all file types.
- filtering
Action string - Action taken when traffic matches policy. This field is not applicable to the Lite API.
- groups
File
Type Control Rules Groups - The Name-ID pairs of groups to which the File Type Control rule must be applied.
- labels
File
Type Control Rules Labels - list of Labels that are applicable to the rule.
- location
Groups FileType Control Rules Location Groups - Name-ID pairs of locations groups for which rule must be applied.
- locations
File
Type Control Rules Locations - Name-ID pairs of locations for the which policy must be applied. If not set, policy is applied for all locations.
- max
Size number - Maximum file size (in KB) used for evaluation of the FTP rule
- min
Size number - Minimum file size (in KB) used for evaluation of the FTP rule
- name string
- The File Type Control policy rule name.
- operation string
- File operation performed. This field is not applicable to the Lite API.
- rank number
- Admin rank of the admin who creates this rule
- state string
- Enables or disables the File Type Control rule.
- time
Windows FileType Control Rules Time Windows - list of time interval during which rule must be enforced.
- unscannable boolean
- Flag to check whether a file has active content or not
- url
Categories string[] - List of URL categories for which rule must be applied
- users
File
Type Control Rules Users - The Name-ID pairs of users to which the File Type Control rule must be applied.
- zpa
App FileSegments Type Control Rules Zpa App Segment[] - List of Source IP Anchoring-enabled ZPA Application Segments for which this rule is applicable
- order int
- The rule order of execution for the File Type Control rule with respect to other rules.
- protocols Sequence[str]
- Protocol for the given rule. This field is not applicable to the Lite API.
- active_
content bool - Flag to check whether a file has active content or not
- capture_
pcap bool - A Boolean value that indicates whether packet capture (PCAP) is enabled or not
- cloud_
applications Sequence[str] - The list of cloud applications to which the File Type Control rule must be applied.
- departments
File
Type Control Rules Departments Args - The Name-ID pairs of departments to which the File Type Control rule must be applied.
- description str
- The description of the File Type Control rule.
- device_
groups FileType Control Rules Device Groups Args - This field is applicable for devices that are managed using Zscaler Client Connector.
- device_
trust_ Sequence[str]levels - List of device trust levels for which the rule must be applied. This field is applicable for devices that are managed using Zscaler Client Connector. The trust levels are assigned to the devices based on your posture configurations in the Zscaler Client Connector Portal. If no value is set, this field is ignored during the policy evaluation.
- devices
File
Type Control Rules Devices Args - Name-ID pairs of devices for which rule must be applied.
- file_
types Sequence[str] - File type categories for which the policy is applied. If not set, the rule is applied across all file types.
- filtering_
action str - Action taken when traffic matches policy. This field is not applicable to the Lite API.
- groups
File
Type Control Rules Groups Args - The Name-ID pairs of groups to which the File Type Control rule must be applied.
- labels
File
Type Control Rules Labels Args - list of Labels that are applicable to the rule.
- location_
groups FileType Control Rules Location Groups Args - Name-ID pairs of locations groups for which rule must be applied.
- locations
File
Type Control Rules Locations Args - Name-ID pairs of locations for the which policy must be applied. If not set, policy is applied for all locations.
- max_
size int - Maximum file size (in KB) used for evaluation of the FTP rule
- min_
size int - Minimum file size (in KB) used for evaluation of the FTP rule
- name str
- The File Type Control policy rule name.
- operation str
- File operation performed. This field is not applicable to the Lite API.
- rank int
- Admin rank of the admin who creates this rule
- state str
- Enables or disables the File Type Control rule.
- time_
windows FileType Control Rules Time Windows Args - list of time interval during which rule must be enforced.
- unscannable bool
- Flag to check whether a file has active content or not
- url_
categories Sequence[str] - List of URL categories for which rule must be applied
- users
File
Type Control Rules Users Args - The Name-ID pairs of users to which the File Type Control rule must be applied.
- zpa_
app_ Sequence[Filesegments Type Control Rules Zpa App Segment Args] - List of Source IP Anchoring-enabled ZPA Application Segments for which this rule is applicable
- order Number
- The rule order of execution for the File Type Control rule with respect to other rules.
- protocols List<String>
- Protocol for the given rule. This field is not applicable to the Lite API.
- active
Content Boolean - Flag to check whether a file has active content or not
- capture
Pcap Boolean - A Boolean value that indicates whether packet capture (PCAP) is enabled or not
- cloud
Applications List<String> - The list of cloud applications to which the File Type Control rule must be applied.
- departments Property Map
- The Name-ID pairs of departments to which the File Type Control rule must be applied.
- description String
- The description of the File Type Control rule.
- device
Groups Property Map - This field is applicable for devices that are managed using Zscaler Client Connector.
- device
Trust List<String>Levels - List of device trust levels for which the rule must be applied. This field is applicable for devices that are managed using Zscaler Client Connector. The trust levels are assigned to the devices based on your posture configurations in the Zscaler Client Connector Portal. If no value is set, this field is ignored during the policy evaluation.
- devices Property Map
- Name-ID pairs of devices for which rule must be applied.
- file
Types List<String> - File type categories for which the policy is applied. If not set, the rule is applied across all file types.
- filtering
Action String - Action taken when traffic matches policy. This field is not applicable to the Lite API.
- groups Property Map
- The Name-ID pairs of groups to which the File Type Control rule must be applied.
- labels Property Map
- list of Labels that are applicable to the rule.
- location
Groups Property Map - Name-ID pairs of locations groups for which rule must be applied.
- locations Property Map
- Name-ID pairs of locations for the which policy must be applied. If not set, policy is applied for all locations.
- max
Size Number - Maximum file size (in KB) used for evaluation of the FTP rule
- min
Size Number - Minimum file size (in KB) used for evaluation of the FTP rule
- name String
- The File Type Control policy rule name.
- operation String
- File operation performed. This field is not applicable to the Lite API.
- rank Number
- Admin rank of the admin who creates this rule
- state String
- Enables or disables the File Type Control rule.
- time
Windows Property Map - list of time interval during which rule must be enforced.
- unscannable Boolean
- Flag to check whether a file has active content or not
- url
Categories List<String> - List of URL categories for which rule must be applied
- users Property Map
- The Name-ID pairs of users to which the File Type Control rule must be applied.
- zpa
App List<Property Map>Segments - List of Source IP Anchoring-enabled ZPA Application Segments for which this rule is applicable
Outputs
All input properties are implicitly available as output properties. Additionally, the FileTypeControlRules resource produces the following output properties:
Look up Existing FileTypeControlRules Resource
Get an existing FileTypeControlRules 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?: FileTypeControlRulesState, opts?: CustomResourceOptions): FileTypeControlRules
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
active_content: Optional[bool] = None,
capture_pcap: Optional[bool] = None,
cloud_applications: Optional[Sequence[str]] = None,
departments: Optional[FileTypeControlRulesDepartmentsArgs] = None,
description: Optional[str] = None,
device_groups: Optional[FileTypeControlRulesDeviceGroupsArgs] = None,
device_trust_levels: Optional[Sequence[str]] = None,
devices: Optional[FileTypeControlRulesDevicesArgs] = None,
file_types: Optional[Sequence[str]] = None,
filtering_action: Optional[str] = None,
groups: Optional[FileTypeControlRulesGroupsArgs] = None,
labels: Optional[FileTypeControlRulesLabelsArgs] = None,
location_groups: Optional[FileTypeControlRulesLocationGroupsArgs] = None,
locations: Optional[FileTypeControlRulesLocationsArgs] = None,
max_size: Optional[int] = None,
min_size: Optional[int] = None,
name: Optional[str] = None,
operation: Optional[str] = None,
order: Optional[int] = None,
protocols: Optional[Sequence[str]] = None,
rank: Optional[int] = None,
rule_id: Optional[int] = None,
state: Optional[str] = None,
time_windows: Optional[FileTypeControlRulesTimeWindowsArgs] = None,
unscannable: Optional[bool] = None,
url_categories: Optional[Sequence[str]] = None,
users: Optional[FileTypeControlRulesUsersArgs] = None,
zpa_app_segments: Optional[Sequence[FileTypeControlRulesZpaAppSegmentArgs]] = None) -> FileTypeControlRules
func GetFileTypeControlRules(ctx *Context, name string, id IDInput, state *FileTypeControlRulesState, opts ...ResourceOption) (*FileTypeControlRules, error)
public static FileTypeControlRules Get(string name, Input<string> id, FileTypeControlRulesState? state, CustomResourceOptions? opts = null)
public static FileTypeControlRules get(String name, Output<String> id, FileTypeControlRulesState state, CustomResourceOptions options)
resources: _: type: zia:FileTypeControlRules 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.
- Active
Content bool - Flag to check whether a file has active content or not
- Capture
Pcap bool - A Boolean value that indicates whether packet capture (PCAP) is enabled or not
- Cloud
Applications List<string> - The list of cloud applications to which the File Type Control rule must be applied.
- Departments
zscaler.
Pulumi Package. Zia. Inputs. File Type Control Rules Departments - The Name-ID pairs of departments to which the File Type Control rule must be applied.
- Description string
- The description of the File Type Control rule.
- Device
Groups zscaler.Pulumi Package. Zia. Inputs. File Type Control Rules Device Groups - This field is applicable for devices that are managed using Zscaler Client Connector.
- Device
Trust List<string>Levels - List of device trust levels for which the rule must be applied. This field is applicable for devices that are managed using Zscaler Client Connector. The trust levels are assigned to the devices based on your posture configurations in the Zscaler Client Connector Portal. If no value is set, this field is ignored during the policy evaluation.
- Devices
zscaler.
Pulumi Package. Zia. Inputs. File Type Control Rules Devices - Name-ID pairs of devices for which rule must be applied.
- File
Types List<string> - File type categories for which the policy is applied. If not set, the rule is applied across all file types.
- Filtering
Action string - Action taken when traffic matches policy. This field is not applicable to the Lite API.
- Groups
zscaler.
Pulumi Package. Zia. Inputs. File Type Control Rules Groups - The Name-ID pairs of groups to which the File Type Control rule must be applied.
- Labels
zscaler.
Pulumi Package. Zia. Inputs. File Type Control Rules Labels - list of Labels that are applicable to the rule.
- Location
Groups zscaler.Pulumi Package. Zia. Inputs. File Type Control Rules Location Groups - Name-ID pairs of locations groups for which rule must be applied.
- Locations
zscaler.
Pulumi Package. Zia. Inputs. File Type Control Rules Locations - Name-ID pairs of locations for the which policy must be applied. If not set, policy is applied for all locations.
- Max
Size int - Maximum file size (in KB) used for evaluation of the FTP rule
- Min
Size int - Minimum file size (in KB) used for evaluation of the FTP rule
- Name string
- The File Type Control policy rule name.
- Operation string
- File operation performed. This field is not applicable to the Lite API.
- Order int
- The rule order of execution for the File Type Control rule with respect to other rules.
- Protocols List<string>
- Protocol for the given rule. This field is not applicable to the Lite API.
- Rank int
- Admin rank of the admin who creates this rule
- Rule
Id int - State string
- Enables or disables the File Type Control rule.
- Time
Windows zscaler.Pulumi Package. Zia. Inputs. File Type Control Rules Time Windows - list of time interval during which rule must be enforced.
- Unscannable bool
- Flag to check whether a file has active content or not
- Url
Categories List<string> - List of URL categories for which rule must be applied
- Users
zscaler.
Pulumi Package. Zia. Inputs. File Type Control Rules Users - The Name-ID pairs of users to which the File Type Control rule must be applied.
- Zpa
App List<zscaler.Segments Pulumi Package. Zia. Inputs. File Type Control Rules Zpa App Segment> - List of Source IP Anchoring-enabled ZPA Application Segments for which this rule is applicable
- Active
Content bool - Flag to check whether a file has active content or not
- Capture
Pcap bool - A Boolean value that indicates whether packet capture (PCAP) is enabled or not
- Cloud
Applications []string - The list of cloud applications to which the File Type Control rule must be applied.
- Departments
File
Type Control Rules Departments Args - The Name-ID pairs of departments to which the File Type Control rule must be applied.
- Description string
- The description of the File Type Control rule.
- Device
Groups FileType Control Rules Device Groups Args - This field is applicable for devices that are managed using Zscaler Client Connector.
- Device
Trust []stringLevels - List of device trust levels for which the rule must be applied. This field is applicable for devices that are managed using Zscaler Client Connector. The trust levels are assigned to the devices based on your posture configurations in the Zscaler Client Connector Portal. If no value is set, this field is ignored during the policy evaluation.
- Devices
File
Type Control Rules Devices Args - Name-ID pairs of devices for which rule must be applied.
- File
Types []string - File type categories for which the policy is applied. If not set, the rule is applied across all file types.
- Filtering
Action string - Action taken when traffic matches policy. This field is not applicable to the Lite API.
- Groups
File
Type Control Rules Groups Args - The Name-ID pairs of groups to which the File Type Control rule must be applied.
- Labels
File
Type Control Rules Labels Args - list of Labels that are applicable to the rule.
- Location
Groups FileType Control Rules Location Groups Args - Name-ID pairs of locations groups for which rule must be applied.
- Locations
File
Type Control Rules Locations Args - Name-ID pairs of locations for the which policy must be applied. If not set, policy is applied for all locations.
- Max
Size int - Maximum file size (in KB) used for evaluation of the FTP rule
- Min
Size int - Minimum file size (in KB) used for evaluation of the FTP rule
- Name string
- The File Type Control policy rule name.
- Operation string
- File operation performed. This field is not applicable to the Lite API.
- Order int
- The rule order of execution for the File Type Control rule with respect to other rules.
- Protocols []string
- Protocol for the given rule. This field is not applicable to the Lite API.
- Rank int
- Admin rank of the admin who creates this rule
- Rule
Id int - State string
- Enables or disables the File Type Control rule.
- Time
Windows FileType Control Rules Time Windows Args - list of time interval during which rule must be enforced.
- Unscannable bool
- Flag to check whether a file has active content or not
- Url
Categories []string - List of URL categories for which rule must be applied
- Users
File
Type Control Rules Users Args - The Name-ID pairs of users to which the File Type Control rule must be applied.
- Zpa
App []FileSegments Type Control Rules Zpa App Segment Args - List of Source IP Anchoring-enabled ZPA Application Segments for which this rule is applicable
- active
Content Boolean - Flag to check whether a file has active content or not
- capture
Pcap Boolean - A Boolean value that indicates whether packet capture (PCAP) is enabled or not
- cloud
Applications List<String> - The list of cloud applications to which the File Type Control rule must be applied.
- departments
File
Type Control Rules Departments - The Name-ID pairs of departments to which the File Type Control rule must be applied.
- description String
- The description of the File Type Control rule.
- device
Groups FileType Control Rules Device Groups - This field is applicable for devices that are managed using Zscaler Client Connector.
- device
Trust List<String>Levels - List of device trust levels for which the rule must be applied. This field is applicable for devices that are managed using Zscaler Client Connector. The trust levels are assigned to the devices based on your posture configurations in the Zscaler Client Connector Portal. If no value is set, this field is ignored during the policy evaluation.
- devices
File
Type Control Rules Devices - Name-ID pairs of devices for which rule must be applied.
- file
Types List<String> - File type categories for which the policy is applied. If not set, the rule is applied across all file types.
- filtering
Action String - Action taken when traffic matches policy. This field is not applicable to the Lite API.
- groups
File
Type Control Rules Groups - The Name-ID pairs of groups to which the File Type Control rule must be applied.
- labels
File
Type Control Rules Labels - list of Labels that are applicable to the rule.
- location
Groups FileType Control Rules Location Groups - Name-ID pairs of locations groups for which rule must be applied.
- locations
File
Type Control Rules Locations - Name-ID pairs of locations for the which policy must be applied. If not set, policy is applied for all locations.
- max
Size Integer - Maximum file size (in KB) used for evaluation of the FTP rule
- min
Size Integer - Minimum file size (in KB) used for evaluation of the FTP rule
- name String
- The File Type Control policy rule name.
- operation String
- File operation performed. This field is not applicable to the Lite API.
- order Integer
- The rule order of execution for the File Type Control rule with respect to other rules.
- protocols List<String>
- Protocol for the given rule. This field is not applicable to the Lite API.
- rank Integer
- Admin rank of the admin who creates this rule
- rule
Id Integer - state String
- Enables or disables the File Type Control rule.
- time
Windows FileType Control Rules Time Windows - list of time interval during which rule must be enforced.
- unscannable Boolean
- Flag to check whether a file has active content or not
- url
Categories List<String> - List of URL categories for which rule must be applied
- users
File
Type Control Rules Users - The Name-ID pairs of users to which the File Type Control rule must be applied.
- zpa
App List<FileSegments Type Control Rules Zpa App Segment> - List of Source IP Anchoring-enabled ZPA Application Segments for which this rule is applicable
- active
Content boolean - Flag to check whether a file has active content or not
- capture
Pcap boolean - A Boolean value that indicates whether packet capture (PCAP) is enabled or not
- cloud
Applications string[] - The list of cloud applications to which the File Type Control rule must be applied.
- departments
File
Type Control Rules Departments - The Name-ID pairs of departments to which the File Type Control rule must be applied.
- description string
- The description of the File Type Control rule.
- device
Groups FileType Control Rules Device Groups - This field is applicable for devices that are managed using Zscaler Client Connector.
- device
Trust string[]Levels - List of device trust levels for which the rule must be applied. This field is applicable for devices that are managed using Zscaler Client Connector. The trust levels are assigned to the devices based on your posture configurations in the Zscaler Client Connector Portal. If no value is set, this field is ignored during the policy evaluation.
- devices
File
Type Control Rules Devices - Name-ID pairs of devices for which rule must be applied.
- file
Types string[] - File type categories for which the policy is applied. If not set, the rule is applied across all file types.
- filtering
Action string - Action taken when traffic matches policy. This field is not applicable to the Lite API.
- groups
File
Type Control Rules Groups - The Name-ID pairs of groups to which the File Type Control rule must be applied.
- labels
File
Type Control Rules Labels - list of Labels that are applicable to the rule.
- location
Groups FileType Control Rules Location Groups - Name-ID pairs of locations groups for which rule must be applied.
- locations
File
Type Control Rules Locations - Name-ID pairs of locations for the which policy must be applied. If not set, policy is applied for all locations.
- max
Size number - Maximum file size (in KB) used for evaluation of the FTP rule
- min
Size number - Minimum file size (in KB) used for evaluation of the FTP rule
- name string
- The File Type Control policy rule name.
- operation string
- File operation performed. This field is not applicable to the Lite API.
- order number
- The rule order of execution for the File Type Control rule with respect to other rules.
- protocols string[]
- Protocol for the given rule. This field is not applicable to the Lite API.
- rank number
- Admin rank of the admin who creates this rule
- rule
Id number - state string
- Enables or disables the File Type Control rule.
- time
Windows FileType Control Rules Time Windows - list of time interval during which rule must be enforced.
- unscannable boolean
- Flag to check whether a file has active content or not
- url
Categories string[] - List of URL categories for which rule must be applied
- users
File
Type Control Rules Users - The Name-ID pairs of users to which the File Type Control rule must be applied.
- zpa
App FileSegments Type Control Rules Zpa App Segment[] - List of Source IP Anchoring-enabled ZPA Application Segments for which this rule is applicable
- active_
content bool - Flag to check whether a file has active content or not
- capture_
pcap bool - A Boolean value that indicates whether packet capture (PCAP) is enabled or not
- cloud_
applications Sequence[str] - The list of cloud applications to which the File Type Control rule must be applied.
- departments
File
Type Control Rules Departments Args - The Name-ID pairs of departments to which the File Type Control rule must be applied.
- description str
- The description of the File Type Control rule.
- device_
groups FileType Control Rules Device Groups Args - This field is applicable for devices that are managed using Zscaler Client Connector.
- device_
trust_ Sequence[str]levels - List of device trust levels for which the rule must be applied. This field is applicable for devices that are managed using Zscaler Client Connector. The trust levels are assigned to the devices based on your posture configurations in the Zscaler Client Connector Portal. If no value is set, this field is ignored during the policy evaluation.
- devices
File
Type Control Rules Devices Args - Name-ID pairs of devices for which rule must be applied.
- file_
types Sequence[str] - File type categories for which the policy is applied. If not set, the rule is applied across all file types.
- filtering_
action str - Action taken when traffic matches policy. This field is not applicable to the Lite API.
- groups
File
Type Control Rules Groups Args - The Name-ID pairs of groups to which the File Type Control rule must be applied.
- labels
File
Type Control Rules Labels Args - list of Labels that are applicable to the rule.
- location_
groups FileType Control Rules Location Groups Args - Name-ID pairs of locations groups for which rule must be applied.
- locations
File
Type Control Rules Locations Args - Name-ID pairs of locations for the which policy must be applied. If not set, policy is applied for all locations.
- max_
size int - Maximum file size (in KB) used for evaluation of the FTP rule
- min_
size int - Minimum file size (in KB) used for evaluation of the FTP rule
- name str
- The File Type Control policy rule name.
- operation str
- File operation performed. This field is not applicable to the Lite API.
- order int
- The rule order of execution for the File Type Control rule with respect to other rules.
- protocols Sequence[str]
- Protocol for the given rule. This field is not applicable to the Lite API.
- rank int
- Admin rank of the admin who creates this rule
- rule_
id int - state str
- Enables or disables the File Type Control rule.
- time_
windows FileType Control Rules Time Windows Args - list of time interval during which rule must be enforced.
- unscannable bool
- Flag to check whether a file has active content or not
- url_
categories Sequence[str] - List of URL categories for which rule must be applied
- users
File
Type Control Rules Users Args - The Name-ID pairs of users to which the File Type Control rule must be applied.
- zpa_
app_ Sequence[Filesegments Type Control Rules Zpa App Segment Args] - List of Source IP Anchoring-enabled ZPA Application Segments for which this rule is applicable
- active
Content Boolean - Flag to check whether a file has active content or not
- capture
Pcap Boolean - A Boolean value that indicates whether packet capture (PCAP) is enabled or not
- cloud
Applications List<String> - The list of cloud applications to which the File Type Control rule must be applied.
- departments Property Map
- The Name-ID pairs of departments to which the File Type Control rule must be applied.
- description String
- The description of the File Type Control rule.
- device
Groups Property Map - This field is applicable for devices that are managed using Zscaler Client Connector.
- device
Trust List<String>Levels - List of device trust levels for which the rule must be applied. This field is applicable for devices that are managed using Zscaler Client Connector. The trust levels are assigned to the devices based on your posture configurations in the Zscaler Client Connector Portal. If no value is set, this field is ignored during the policy evaluation.
- devices Property Map
- Name-ID pairs of devices for which rule must be applied.
- file
Types List<String> - File type categories for which the policy is applied. If not set, the rule is applied across all file types.
- filtering
Action String - Action taken when traffic matches policy. This field is not applicable to the Lite API.
- groups Property Map
- The Name-ID pairs of groups to which the File Type Control rule must be applied.
- labels Property Map
- list of Labels that are applicable to the rule.
- location
Groups Property Map - Name-ID pairs of locations groups for which rule must be applied.
- locations Property Map
- Name-ID pairs of locations for the which policy must be applied. If not set, policy is applied for all locations.
- max
Size Number - Maximum file size (in KB) used for evaluation of the FTP rule
- min
Size Number - Minimum file size (in KB) used for evaluation of the FTP rule
- name String
- The File Type Control policy rule name.
- operation String
- File operation performed. This field is not applicable to the Lite API.
- order Number
- The rule order of execution for the File Type Control rule with respect to other rules.
- protocols List<String>
- Protocol for the given rule. This field is not applicable to the Lite API.
- rank Number
- Admin rank of the admin who creates this rule
- rule
Id Number - state String
- Enables or disables the File Type Control rule.
- time
Windows Property Map - list of time interval during which rule must be enforced.
- unscannable Boolean
- Flag to check whether a file has active content or not
- url
Categories List<String> - List of URL categories for which rule must be applied
- users Property Map
- The Name-ID pairs of users to which the File Type Control rule must be applied.
- zpa
App List<Property Map>Segments - List of Source IP Anchoring-enabled ZPA Application Segments for which this rule is applicable
Supporting Types
FileTypeControlRulesDepartments, FileTypeControlRulesDepartmentsArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
FileTypeControlRulesDeviceGroups, FileTypeControlRulesDeviceGroupsArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
FileTypeControlRulesDevices, FileTypeControlRulesDevicesArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
FileTypeControlRulesGroups, FileTypeControlRulesGroupsArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
FileTypeControlRulesLabels, FileTypeControlRulesLabelsArgs
- Id int
- Id int
- id Integer
- id number
- id int
- id Number
FileTypeControlRulesLocationGroups, FileTypeControlRulesLocationGroupsArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
FileTypeControlRulesLocations, FileTypeControlRulesLocationsArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
FileTypeControlRulesTimeWindows, FileTypeControlRulesTimeWindowsArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
FileTypeControlRulesUsers, FileTypeControlRulesUsersArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
FileTypeControlRulesZpaAppSegment, FileTypeControlRulesZpaAppSegmentArgs
- External
Id string - External ID of the application segment.
- Name string
- Name of the application segment.
- External
Id string - External ID of the application segment.
- Name string
- Name of the application segment.
- external
Id String - External ID of the application segment.
- name String
- Name of the application segment.
- external
Id string - External ID of the application segment.
- name string
- Name of the application segment.
- external_
id str - External ID of the application segment.
- name str
- Name of the application segment.
- external
Id String - External ID of the application segment.
- name String
- Name of the application segment.
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_file_type_control_rules can be imported by using <RULE ID>
or <RULE NAME>
as the import ID.
For example:
$ pulumi import zia:index/fileTypeControlRules:FileTypeControlRules example <rule_id>
or
$ pulumi import zia:index/fileTypeControlRules:FileTypeControlRules example <rule_name>
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.