panos.FileBlockingSecurityProfile
Explore with Pulumi AI
Create FileBlockingSecurityProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FileBlockingSecurityProfile(name: string, args: FileBlockingSecurityProfileArgs, opts?: CustomResourceOptions);
@overload
def FileBlockingSecurityProfile(resource_name: str,
args: FileBlockingSecurityProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FileBlockingSecurityProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
location: Optional[FileBlockingSecurityProfileLocationArgs] = None,
description: Optional[str] = None,
disable_override: Optional[str] = None,
name: Optional[str] = None,
rules: Optional[Sequence[FileBlockingSecurityProfileRuleArgs]] = None)
func NewFileBlockingSecurityProfile(ctx *Context, name string, args FileBlockingSecurityProfileArgs, opts ...ResourceOption) (*FileBlockingSecurityProfile, error)
public FileBlockingSecurityProfile(string name, FileBlockingSecurityProfileArgs args, CustomResourceOptions? opts = null)
public FileBlockingSecurityProfile(String name, FileBlockingSecurityProfileArgs args)
public FileBlockingSecurityProfile(String name, FileBlockingSecurityProfileArgs args, CustomResourceOptions options)
type: panos:FileBlockingSecurityProfile
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 FileBlockingSecurityProfileArgs
- 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 FileBlockingSecurityProfileArgs
- 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 FileBlockingSecurityProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FileBlockingSecurityProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FileBlockingSecurityProfileArgs
- 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 fileBlockingSecurityProfileResource = new Panos.FileBlockingSecurityProfile("fileBlockingSecurityProfileResource", new()
{
Location = new Panos.Inputs.FileBlockingSecurityProfileLocationArgs
{
DeviceGroup = new Panos.Inputs.FileBlockingSecurityProfileLocationDeviceGroupArgs
{
Name = "string",
PanoramaDevice = "string",
},
Shared = null,
Vsys = new Panos.Inputs.FileBlockingSecurityProfileLocationVsysArgs
{
Name = "string",
NgfwDevice = "string",
},
},
Description = "string",
DisableOverride = "string",
Name = "string",
Rules = new[]
{
new Panos.Inputs.FileBlockingSecurityProfileRuleArgs
{
Name = "string",
Action = "string",
Applications = new[]
{
"string",
},
Direction = "string",
FileTypes = new[]
{
"string",
},
},
},
});
example, err := panos.NewFileBlockingSecurityProfile(ctx, "fileBlockingSecurityProfileResource", &panos.FileBlockingSecurityProfileArgs{
Location: &panos.FileBlockingSecurityProfileLocationArgs{
DeviceGroup: &panos.FileBlockingSecurityProfileLocationDeviceGroupArgs{
Name: pulumi.String("string"),
PanoramaDevice: pulumi.String("string"),
},
Shared: &panos.FileBlockingSecurityProfileLocationSharedArgs{},
Vsys: &panos.FileBlockingSecurityProfileLocationVsysArgs{
Name: pulumi.String("string"),
NgfwDevice: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
DisableOverride: pulumi.String("string"),
Name: pulumi.String("string"),
Rules: panos.FileBlockingSecurityProfileRuleArray{
&panos.FileBlockingSecurityProfileRuleArgs{
Name: pulumi.String("string"),
Action: pulumi.String("string"),
Applications: pulumi.StringArray{
pulumi.String("string"),
},
Direction: pulumi.String("string"),
FileTypes: pulumi.StringArray{
pulumi.String("string"),
},
},
},
})
var fileBlockingSecurityProfileResource = new FileBlockingSecurityProfile("fileBlockingSecurityProfileResource", FileBlockingSecurityProfileArgs.builder()
.location(FileBlockingSecurityProfileLocationArgs.builder()
.deviceGroup(FileBlockingSecurityProfileLocationDeviceGroupArgs.builder()
.name("string")
.panoramaDevice("string")
.build())
.shared()
.vsys(FileBlockingSecurityProfileLocationVsysArgs.builder()
.name("string")
.ngfwDevice("string")
.build())
.build())
.description("string")
.disableOverride("string")
.name("string")
.rules(FileBlockingSecurityProfileRuleArgs.builder()
.name("string")
.action("string")
.applications("string")
.direction("string")
.fileTypes("string")
.build())
.build());
file_blocking_security_profile_resource = panos.FileBlockingSecurityProfile("fileBlockingSecurityProfileResource",
location={
"device_group": {
"name": "string",
"panorama_device": "string",
},
"shared": {},
"vsys": {
"name": "string",
"ngfw_device": "string",
},
},
description="string",
disable_override="string",
name="string",
rules=[{
"name": "string",
"action": "string",
"applications": ["string"],
"direction": "string",
"file_types": ["string"],
}])
const fileBlockingSecurityProfileResource = new panos.FileBlockingSecurityProfile("fileBlockingSecurityProfileResource", {
location: {
deviceGroup: {
name: "string",
panoramaDevice: "string",
},
shared: {},
vsys: {
name: "string",
ngfwDevice: "string",
},
},
description: "string",
disableOverride: "string",
name: "string",
rules: [{
name: "string",
action: "string",
applications: ["string"],
direction: "string",
fileTypes: ["string"],
}],
});
type: panos:FileBlockingSecurityProfile
properties:
description: string
disableOverride: string
location:
deviceGroup:
name: string
panoramaDevice: string
shared: {}
vsys:
name: string
ngfwDevice: string
name: string
rules:
- action: string
applications:
- string
direction: string
fileTypes:
- string
name: string
FileBlockingSecurityProfile 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 FileBlockingSecurityProfile resource accepts the following input properties:
- Location
File
Blocking Security Profile Location - The location of this object.
- Description string
- Profile description.
- Disable
Override string - Disable object override in child device groups.
- Name string
- Rules
List<File
Blocking Security Profile Rule> - List of rules.
- Location
File
Blocking Security Profile Location Args - The location of this object.
- Description string
- Profile description.
- Disable
Override string - Disable object override in child device groups.
- Name string
- Rules
[]File
Blocking Security Profile Rule Args - List of rules.
- location
File
Blocking Security Profile Location - The location of this object.
- description String
- Profile description.
- disable
Override String - Disable object override in child device groups.
- name String
- rules
List<File
Blocking Security Profile Rule> - List of rules.
- location
File
Blocking Security Profile Location - The location of this object.
- description string
- Profile description.
- disable
Override string - Disable object override in child device groups.
- name string
- rules
File
Blocking Security Profile Rule[] - List of rules.
- location
File
Blocking Security Profile Location Args - The location of this object.
- description str
- Profile description.
- disable_
override str - Disable object override in child device groups.
- name str
- rules
Sequence[File
Blocking Security Profile Rule Args] - List of rules.
- location Property Map
- The location of this object.
- description String
- Profile description.
- disable
Override String - Disable object override in child device groups.
- name String
- rules List<Property Map>
- List of rules.
Outputs
All input properties are implicitly available as output properties. Additionally, the FileBlockingSecurityProfile 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 FileBlockingSecurityProfile Resource
Get an existing FileBlockingSecurityProfile 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?: FileBlockingSecurityProfileState, opts?: CustomResourceOptions): FileBlockingSecurityProfile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
disable_override: Optional[str] = None,
location: Optional[FileBlockingSecurityProfileLocationArgs] = None,
name: Optional[str] = None,
rules: Optional[Sequence[FileBlockingSecurityProfileRuleArgs]] = None) -> FileBlockingSecurityProfile
func GetFileBlockingSecurityProfile(ctx *Context, name string, id IDInput, state *FileBlockingSecurityProfileState, opts ...ResourceOption) (*FileBlockingSecurityProfile, error)
public static FileBlockingSecurityProfile Get(string name, Input<string> id, FileBlockingSecurityProfileState? state, CustomResourceOptions? opts = null)
public static FileBlockingSecurityProfile get(String name, Output<String> id, FileBlockingSecurityProfileState state, CustomResourceOptions options)
resources: _: type: panos:FileBlockingSecurityProfile 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.
- Description string
- Profile description.
- Disable
Override string - Disable object override in child device groups.
- Location
File
Blocking Security Profile Location - The location of this object.
- Name string
- Rules
List<File
Blocking Security Profile Rule> - List of rules.
- Description string
- Profile description.
- Disable
Override string - Disable object override in child device groups.
- Location
File
Blocking Security Profile Location Args - The location of this object.
- Name string
- Rules
[]File
Blocking Security Profile Rule Args - List of rules.
- description String
- Profile description.
- disable
Override String - Disable object override in child device groups.
- location
File
Blocking Security Profile Location - The location of this object.
- name String
- rules
List<File
Blocking Security Profile Rule> - List of rules.
- description string
- Profile description.
- disable
Override string - Disable object override in child device groups.
- location
File
Blocking Security Profile Location - The location of this object.
- name string
- rules
File
Blocking Security Profile Rule[] - List of rules.
- description str
- Profile description.
- disable_
override str - Disable object override in child device groups.
- location
File
Blocking Security Profile Location Args - The location of this object.
- name str
- rules
Sequence[File
Blocking Security Profile Rule Args] - List of rules.
- description String
- Profile description.
- disable
Override String - Disable object override in child device groups.
- location Property Map
- The location of this object.
- name String
- rules List<Property Map>
- List of rules.
Supporting Types
FileBlockingSecurityProfileLocation, FileBlockingSecurityProfileLocationArgs
- Device
Group FileBlocking Security Profile Location Device Group - Located in a specific Device Group
- File
Blocking Security Profile Location Shared - Panorama shared object
- Vsys
File
Blocking Security Profile Location Vsys - Located in a specific Virtual System
- Device
Group FileBlocking Security Profile Location Device Group - Located in a specific Device Group
- File
Blocking Security Profile Location Shared - Panorama shared object
- Vsys
File
Blocking Security Profile Location Vsys - Located in a specific Virtual System
- device
Group FileBlocking Security Profile Location Device Group - Located in a specific Device Group
- File
Blocking Security Profile Location Shared - Panorama shared object
- vsys
File
Blocking Security Profile Location Vsys - Located in a specific Virtual System
- device
Group FileBlocking Security Profile Location Device Group - Located in a specific Device Group
- File
Blocking Security Profile Location Shared - Panorama shared object
- vsys
File
Blocking Security Profile Location Vsys - Located in a specific Virtual System
- device_
group FileBlocking Security Profile Location Device Group - Located in a specific Device Group
- File
Blocking Security Profile Location Shared - Panorama shared object
- vsys
File
Blocking Security Profile Location Vsys - Located in a specific Virtual System
- device
Group Property Map - Located in a specific Device Group
- Property Map
- Panorama shared object
- vsys Property Map
- Located in a specific Virtual System
FileBlockingSecurityProfileLocationDeviceGroup, FileBlockingSecurityProfileLocationDeviceGroupArgs
- Name string
- Device Group name
- Panorama
Device string - Panorama device name
- Name string
- Device Group name
- Panorama
Device string - Panorama device name
- name String
- Device Group name
- panorama
Device String - Panorama device name
- name string
- Device Group name
- panorama
Device string - Panorama device name
- name str
- Device Group name
- panorama_
device str - Panorama device name
- name String
- Device Group name
- panorama
Device String - Panorama device name
FileBlockingSecurityProfileLocationVsys, FileBlockingSecurityProfileLocationVsysArgs
- Name string
- The Virtual System name
- Ngfw
Device string - The NGFW device name
- Name string
- The Virtual System name
- Ngfw
Device string - The NGFW device name
- name String
- The Virtual System name
- ngfw
Device String - The NGFW device name
- name string
- The Virtual System name
- ngfw
Device string - The NGFW device name
- name str
- The Virtual System name
- ngfw_
device str - The NGFW device name
- name String
- The Virtual System name
- ngfw
Device String - The NGFW device name
FileBlockingSecurityProfileRule, FileBlockingSecurityProfileRuleArgs
- Name string
- Action string
- Action to take on matching files.
- Applications List<string>
- List of applications.
- Direction string
- File transfer direction.
- File
Types List<string> - List of file types.
- Name string
- Action string
- Action to take on matching files.
- Applications []string
- List of applications.
- Direction string
- File transfer direction.
- File
Types []string - List of file types.
- name String
- action String
- Action to take on matching files.
- applications List<String>
- List of applications.
- direction String
- File transfer direction.
- file
Types List<String> - List of file types.
- name string
- action string
- Action to take on matching files.
- applications string[]
- List of applications.
- direction string
- File transfer direction.
- file
Types string[] - List of file types.
- name str
- action str
- Action to take on matching files.
- applications Sequence[str]
- List of applications.
- direction str
- File transfer direction.
- file_
types Sequence[str] - List of file types.
- name String
- action String
- Action to take on matching files.
- applications List<String>
- List of applications.
- direction String
- File transfer direction.
- file
Types List<String> - List of file types.
Package Details
- Repository
- panos paloaltonetworks/terraform-provider-panos
- License
- Notes
- This Pulumi package is based on the
panos
Terraform Provider.