Configure exact-data-match template used by DLP scan.
The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.
columns:fortimanager.ObjectDlpExactdatamatchColumns
Create ObjectDlpExactdatamatch Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectDlpExactdatamatch(name: string, args?: ObjectDlpExactdatamatchArgs, opts?: CustomResourceOptions);@overload
def ObjectDlpExactdatamatch(resource_name: str,
args: Optional[ObjectDlpExactdatamatchArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ObjectDlpExactdatamatch(resource_name: str,
opts: Optional[ResourceOptions] = None,
adom: Optional[str] = None,
columns: Optional[Sequence[ObjectDlpExactdatamatchColumnArgs]] = None,
datas: Optional[Sequence[str]] = None,
dynamic_sort_subtable: Optional[str] = None,
name: Optional[str] = None,
object_dlp_exactdatamatch_id: Optional[str] = None,
optional: Optional[float] = None,
scopetype: Optional[str] = None)func NewObjectDlpExactdatamatch(ctx *Context, name string, args *ObjectDlpExactdatamatchArgs, opts ...ResourceOption) (*ObjectDlpExactdatamatch, error)public ObjectDlpExactdatamatch(string name, ObjectDlpExactdatamatchArgs? args = null, CustomResourceOptions? opts = null)
public ObjectDlpExactdatamatch(String name, ObjectDlpExactdatamatchArgs args)
public ObjectDlpExactdatamatch(String name, ObjectDlpExactdatamatchArgs args, CustomResourceOptions options)
type: fortimanager:ObjectDlpExactdatamatch
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 ObjectDlpExactdatamatchArgs
- 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 ObjectDlpExactdatamatchArgs
- 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 ObjectDlpExactdatamatchArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectDlpExactdatamatchArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectDlpExactdatamatchArgs
- 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 objectDlpExactdatamatchResource = new Fortimanager.ObjectDlpExactdatamatch("objectDlpExactdatamatchResource", new()
{
Adom = "string",
Columns = new[]
{
new Fortimanager.Inputs.ObjectDlpExactdatamatchColumnArgs
{
Index = 0,
Optional = "string",
Types = new[]
{
"string",
},
},
},
Datas = new[]
{
"string",
},
DynamicSortSubtable = "string",
Name = "string",
ObjectDlpExactdatamatchId = "string",
Optional = 0,
Scopetype = "string",
});
example, err := fortimanager.NewObjectDlpExactdatamatch(ctx, "objectDlpExactdatamatchResource", &fortimanager.ObjectDlpExactdatamatchArgs{
Adom: pulumi.String("string"),
Columns: fortimanager.ObjectDlpExactdatamatchColumnArray{
&fortimanager.ObjectDlpExactdatamatchColumnArgs{
Index: pulumi.Float64(0),
Optional: pulumi.String("string"),
Types: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Datas: pulumi.StringArray{
pulumi.String("string"),
},
DynamicSortSubtable: pulumi.String("string"),
Name: pulumi.String("string"),
ObjectDlpExactdatamatchId: pulumi.String("string"),
Optional: pulumi.Float64(0),
Scopetype: pulumi.String("string"),
})
var objectDlpExactdatamatchResource = new ObjectDlpExactdatamatch("objectDlpExactdatamatchResource", ObjectDlpExactdatamatchArgs.builder()
.adom("string")
.columns(ObjectDlpExactdatamatchColumnArgs.builder()
.index(0.0)
.optional("string")
.types("string")
.build())
.datas("string")
.dynamicSortSubtable("string")
.name("string")
.objectDlpExactdatamatchId("string")
.optional(0.0)
.scopetype("string")
.build());
object_dlp_exactdatamatch_resource = fortimanager.ObjectDlpExactdatamatch("objectDlpExactdatamatchResource",
adom="string",
columns=[{
"index": 0,
"optional": "string",
"types": ["string"],
}],
datas=["string"],
dynamic_sort_subtable="string",
name="string",
object_dlp_exactdatamatch_id="string",
optional=0,
scopetype="string")
const objectDlpExactdatamatchResource = new fortimanager.ObjectDlpExactdatamatch("objectDlpExactdatamatchResource", {
adom: "string",
columns: [{
index: 0,
optional: "string",
types: ["string"],
}],
datas: ["string"],
dynamicSortSubtable: "string",
name: "string",
objectDlpExactdatamatchId: "string",
optional: 0,
scopetype: "string",
});
type: fortimanager:ObjectDlpExactdatamatch
properties:
adom: string
columns:
- index: 0
optional: string
types:
- string
datas:
- string
dynamicSortSubtable: string
name: string
objectDlpExactdatamatchId: string
optional: 0
scopetype: string
ObjectDlpExactdatamatch 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 ObjectDlpExactdatamatch resource accepts the following input properties:
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Columns
List<Object
Dlp Exactdatamatch Column> - Columns. The structure of
columnsblock is documented below. - Datas List<string>
- External resource for exact data match.
- Dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- Name string
- Name of table containing the exact-data-match template.
- Object
Dlp stringExactdatamatch Id - an identifier for the resource with format {{name}}.
- Optional double
- Number of optional columns need to match.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Columns
[]Object
Dlp Exactdatamatch Column Args - Columns. The structure of
columnsblock is documented below. - Datas []string
- External resource for exact data match.
- Dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- Name string
- Name of table containing the exact-data-match template.
- Object
Dlp stringExactdatamatch Id - an identifier for the resource with format {{name}}.
- Optional float64
- Number of optional columns need to match.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - columns
List<Object
Dlp Exactdatamatch Column> - Columns. The structure of
columnsblock is documented below. - datas List<String>
- External resource for exact data match.
- dynamic
Sort StringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- name String
- Name of table containing the exact-data-match template.
- object
Dlp StringExactdatamatch Id - an identifier for the resource with format {{name}}.
- optional Double
- Number of optional columns need to match.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - columns
Object
Dlp Exactdatamatch Column[] - Columns. The structure of
columnsblock is documented below. - datas string[]
- External resource for exact data match.
- dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- name string
- Name of table containing the exact-data-match template.
- object
Dlp stringExactdatamatch Id - an identifier for the resource with format {{name}}.
- optional number
- Number of optional columns need to match.
- scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - columns
Sequence[Object
Dlp Exactdatamatch Column Args] - Columns. The structure of
columnsblock is documented below. - datas Sequence[str]
- External resource for exact data match.
- dynamic_
sort_ strsubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- name str
- Name of table containing the exact-data-match template.
- object_
dlp_ strexactdatamatch_ id - an identifier for the resource with format {{name}}.
- optional float
- Number of optional columns need to match.
- scopetype str
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - columns List<Property Map>
- Columns. The structure of
columnsblock is documented below. - datas List<String>
- External resource for exact data match.
- dynamic
Sort StringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- name String
- Name of table containing the exact-data-match template.
- object
Dlp StringExactdatamatch Id - an identifier for the resource with format {{name}}.
- optional Number
- Number of optional columns need to match.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectDlpExactdatamatch 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 ObjectDlpExactdatamatch Resource
Get an existing ObjectDlpExactdatamatch 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?: ObjectDlpExactdatamatchState, opts?: CustomResourceOptions): ObjectDlpExactdatamatch@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
adom: Optional[str] = None,
columns: Optional[Sequence[ObjectDlpExactdatamatchColumnArgs]] = None,
datas: Optional[Sequence[str]] = None,
dynamic_sort_subtable: Optional[str] = None,
name: Optional[str] = None,
object_dlp_exactdatamatch_id: Optional[str] = None,
optional: Optional[float] = None,
scopetype: Optional[str] = None) -> ObjectDlpExactdatamatchfunc GetObjectDlpExactdatamatch(ctx *Context, name string, id IDInput, state *ObjectDlpExactdatamatchState, opts ...ResourceOption) (*ObjectDlpExactdatamatch, error)public static ObjectDlpExactdatamatch Get(string name, Input<string> id, ObjectDlpExactdatamatchState? state, CustomResourceOptions? opts = null)public static ObjectDlpExactdatamatch get(String name, Output<String> id, ObjectDlpExactdatamatchState state, CustomResourceOptions options)resources: _: type: fortimanager:ObjectDlpExactdatamatch 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.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Columns
List<Object
Dlp Exactdatamatch Column> - Columns. The structure of
columnsblock is documented below. - Datas List<string>
- External resource for exact data match.
- Dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- Name string
- Name of table containing the exact-data-match template.
- Object
Dlp stringExactdatamatch Id - an identifier for the resource with format {{name}}.
- Optional double
- Number of optional columns need to match.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Columns
[]Object
Dlp Exactdatamatch Column Args - Columns. The structure of
columnsblock is documented below. - Datas []string
- External resource for exact data match.
- Dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- Name string
- Name of table containing the exact-data-match template.
- Object
Dlp stringExactdatamatch Id - an identifier for the resource with format {{name}}.
- Optional float64
- Number of optional columns need to match.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - columns
List<Object
Dlp Exactdatamatch Column> - Columns. The structure of
columnsblock is documented below. - datas List<String>
- External resource for exact data match.
- dynamic
Sort StringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- name String
- Name of table containing the exact-data-match template.
- object
Dlp StringExactdatamatch Id - an identifier for the resource with format {{name}}.
- optional Double
- Number of optional columns need to match.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - columns
Object
Dlp Exactdatamatch Column[] - Columns. The structure of
columnsblock is documented below. - datas string[]
- External resource for exact data match.
- dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- name string
- Name of table containing the exact-data-match template.
- object
Dlp stringExactdatamatch Id - an identifier for the resource with format {{name}}.
- optional number
- Number of optional columns need to match.
- scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - columns
Sequence[Object
Dlp Exactdatamatch Column Args] - Columns. The structure of
columnsblock is documented below. - datas Sequence[str]
- External resource for exact data match.
- dynamic_
sort_ strsubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- name str
- Name of table containing the exact-data-match template.
- object_
dlp_ strexactdatamatch_ id - an identifier for the resource with format {{name}}.
- optional float
- Number of optional columns need to match.
- scopetype str
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - columns List<Property Map>
- Columns. The structure of
columnsblock is documented below. - datas List<String>
- External resource for exact data match.
- dynamic
Sort StringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- name String
- Name of table containing the exact-data-match template.
- object
Dlp StringExactdatamatch Id - an identifier for the resource with format {{name}}.
- optional Number
- Number of optional columns need to match.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
Supporting Types
ObjectDlpExactdatamatchColumn, ObjectDlpExactdatamatchColumnArgs
Import
ObjectDlp ExactDataMatch can be imported using any of these accepted formats:
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/objectDlpExactdatamatch:ObjectDlpExactdatamatch labelname {{name}}
$ unset “FORTIMANAGER_IMPORT_TABLE”
-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortimanager fortinetdev/terraform-provider-fortimanager
- License
- Notes
- This Pulumi package is based on the
fortimanagerTerraform Provider.
