published on Tuesday, Apr 28, 2026 by paloaltonetworks
published on Tuesday, Apr 28, 2026 by paloaltonetworks
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as panos from "@pulumi/panos";
const example = new panos.DeviceGroup("example", {
location: {
panorama: {},
},
name: "example-dg",
});
const basic = new panos.CustomDataObject("basic", {
location: {
deviceGroup: {
name: example.name,
},
},
name: "basic",
description: "test-description",
});
const fileProperties = new panos.CustomDataObject("file_properties", {
location: {
deviceGroup: {
name: example.name,
},
},
name: "file_properties",
patternType: {
fileProperties: {
patterns: [{
name: "test-pattern",
fileType: "pdf",
fileProperty: "panav-rsp-pdf-dlp-author",
propertyValue: "author",
}],
},
},
});
const predefined = new panos.CustomDataObject("predefined", {
location: {
deviceGroup: {
name: example.name,
},
},
name: "predefined",
patternType: {
predefined: {
patterns: [
{
name: "ABA-Routing-Number",
fileTypes: ["xlsx"],
},
{
name: "credit-card-numbers",
fileTypes: ["text/html"],
},
],
},
},
});
const regex = new panos.CustomDataObject("regex", {
location: {
deviceGroup: {
name: example.name,
},
},
name: "regex",
patternType: {
regex: {
patterns: [{
name: "test-pattern",
regex: "test-regex",
}],
},
},
});
import pulumi
import pulumi_panos as panos
example = panos.DeviceGroup("example",
location={
"panorama": {},
},
name="example-dg")
basic = panos.CustomDataObject("basic",
location={
"device_group": {
"name": example.name,
},
},
name="basic",
description="test-description")
file_properties = panos.CustomDataObject("file_properties",
location={
"device_group": {
"name": example.name,
},
},
name="file_properties",
pattern_type={
"file_properties": {
"patterns": [{
"name": "test-pattern",
"file_type": "pdf",
"file_property": "panav-rsp-pdf-dlp-author",
"property_value": "author",
}],
},
})
predefined = panos.CustomDataObject("predefined",
location={
"device_group": {
"name": example.name,
},
},
name="predefined",
pattern_type={
"predefined": {
"patterns": [
{
"name": "ABA-Routing-Number",
"file_types": ["xlsx"],
},
{
"name": "credit-card-numbers",
"file_types": ["text/html"],
},
],
},
})
regex = panos.CustomDataObject("regex",
location={
"device_group": {
"name": example.name,
},
},
name="regex",
pattern_type={
"regex": {
"patterns": [{
"name": "test-pattern",
"regex": "test-regex",
}],
},
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/panos/v2/panos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := panos.NewDeviceGroup(ctx, "example", &panos.DeviceGroupArgs{
Location: &panos.DeviceGroupLocationArgs{
Panorama: &panos.DeviceGroupLocationPanoramaArgs{},
},
Name: pulumi.String("example-dg"),
})
if err != nil {
return err
}
_, err = panos.NewCustomDataObject(ctx, "basic", &panos.CustomDataObjectArgs{
Location: &panos.CustomDataObjectLocationArgs{
DeviceGroup: &panos.CustomDataObjectLocationDeviceGroupArgs{
Name: example.Name,
},
},
Name: pulumi.String("basic"),
Description: pulumi.String("test-description"),
})
if err != nil {
return err
}
_, err = panos.NewCustomDataObject(ctx, "file_properties", &panos.CustomDataObjectArgs{
Location: &panos.CustomDataObjectLocationArgs{
DeviceGroup: &panos.CustomDataObjectLocationDeviceGroupArgs{
Name: example.Name,
},
},
Name: pulumi.String("file_properties"),
PatternType: &panos.CustomDataObjectPatternTypeArgs{
FileProperties: &panos.CustomDataObjectPatternTypeFilePropertiesArgs{
Patterns: panos.CustomDataObjectPatternTypeFilePropertiesPatternArray{
&panos.CustomDataObjectPatternTypeFilePropertiesPatternArgs{
Name: pulumi.String("test-pattern"),
FileType: pulumi.String("pdf"),
FileProperty: pulumi.String("panav-rsp-pdf-dlp-author"),
PropertyValue: pulumi.String("author"),
},
},
},
},
})
if err != nil {
return err
}
_, err = panos.NewCustomDataObject(ctx, "predefined", &panos.CustomDataObjectArgs{
Location: &panos.CustomDataObjectLocationArgs{
DeviceGroup: &panos.CustomDataObjectLocationDeviceGroupArgs{
Name: example.Name,
},
},
Name: pulumi.String("predefined"),
PatternType: &panos.CustomDataObjectPatternTypeArgs{
Predefined: &panos.CustomDataObjectPatternTypePredefinedArgs{
Patterns: panos.CustomDataObjectPatternTypePredefinedPatternArray{
&panos.CustomDataObjectPatternTypePredefinedPatternArgs{
Name: pulumi.String("ABA-Routing-Number"),
FileTypes: pulumi.StringArray{
pulumi.String("xlsx"),
},
},
&panos.CustomDataObjectPatternTypePredefinedPatternArgs{
Name: pulumi.String("credit-card-numbers"),
FileTypes: pulumi.StringArray{
pulumi.String("text/html"),
},
},
},
},
},
})
if err != nil {
return err
}
_, err = panos.NewCustomDataObject(ctx, "regex", &panos.CustomDataObjectArgs{
Location: &panos.CustomDataObjectLocationArgs{
DeviceGroup: &panos.CustomDataObjectLocationDeviceGroupArgs{
Name: example.Name,
},
},
Name: pulumi.String("regex"),
PatternType: &panos.CustomDataObjectPatternTypeArgs{
Regex: &panos.CustomDataObjectPatternTypeRegexArgs{
Patterns: panos.CustomDataObjectPatternTypeRegexPatternArray{
&panos.CustomDataObjectPatternTypeRegexPatternArgs{
Name: pulumi.String("test-pattern"),
Regex: pulumi.String("test-regex"),
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Panos = Pulumi.Panos;
return await Deployment.RunAsync(() =>
{
var example = new Panos.DeviceGroup("example", new()
{
Location = new Panos.Inputs.DeviceGroupLocationArgs
{
Panorama = null,
},
Name = "example-dg",
});
var basic = new Panos.CustomDataObject("basic", new()
{
Location = new Panos.Inputs.CustomDataObjectLocationArgs
{
DeviceGroup = new Panos.Inputs.CustomDataObjectLocationDeviceGroupArgs
{
Name = example.Name,
},
},
Name = "basic",
Description = "test-description",
});
var fileProperties = new Panos.CustomDataObject("file_properties", new()
{
Location = new Panos.Inputs.CustomDataObjectLocationArgs
{
DeviceGroup = new Panos.Inputs.CustomDataObjectLocationDeviceGroupArgs
{
Name = example.Name,
},
},
Name = "file_properties",
PatternType = new Panos.Inputs.CustomDataObjectPatternTypeArgs
{
FileProperties = new Panos.Inputs.CustomDataObjectPatternTypeFilePropertiesArgs
{
Patterns = new[]
{
new Panos.Inputs.CustomDataObjectPatternTypeFilePropertiesPatternArgs
{
Name = "test-pattern",
FileType = "pdf",
FileProperty = "panav-rsp-pdf-dlp-author",
PropertyValue = "author",
},
},
},
},
});
var predefined = new Panos.CustomDataObject("predefined", new()
{
Location = new Panos.Inputs.CustomDataObjectLocationArgs
{
DeviceGroup = new Panos.Inputs.CustomDataObjectLocationDeviceGroupArgs
{
Name = example.Name,
},
},
Name = "predefined",
PatternType = new Panos.Inputs.CustomDataObjectPatternTypeArgs
{
Predefined = new Panos.Inputs.CustomDataObjectPatternTypePredefinedArgs
{
Patterns = new[]
{
new Panos.Inputs.CustomDataObjectPatternTypePredefinedPatternArgs
{
Name = "ABA-Routing-Number",
FileTypes = new[]
{
"xlsx",
},
},
new Panos.Inputs.CustomDataObjectPatternTypePredefinedPatternArgs
{
Name = "credit-card-numbers",
FileTypes = new[]
{
"text/html",
},
},
},
},
},
});
var regex = new Panos.CustomDataObject("regex", new()
{
Location = new Panos.Inputs.CustomDataObjectLocationArgs
{
DeviceGroup = new Panos.Inputs.CustomDataObjectLocationDeviceGroupArgs
{
Name = example.Name,
},
},
Name = "regex",
PatternType = new Panos.Inputs.CustomDataObjectPatternTypeArgs
{
Regex = new Panos.Inputs.CustomDataObjectPatternTypeRegexArgs
{
Patterns = new[]
{
new Panos.Inputs.CustomDataObjectPatternTypeRegexPatternArgs
{
Name = "test-pattern",
Regex = "test-regex",
},
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.panos.DeviceGroup;
import com.pulumi.panos.DeviceGroupArgs;
import com.pulumi.panos.inputs.DeviceGroupLocationArgs;
import com.pulumi.panos.inputs.DeviceGroupLocationPanoramaArgs;
import com.pulumi.panos.CustomDataObject;
import com.pulumi.panos.CustomDataObjectArgs;
import com.pulumi.panos.inputs.CustomDataObjectLocationArgs;
import com.pulumi.panos.inputs.CustomDataObjectLocationDeviceGroupArgs;
import com.pulumi.panos.inputs.CustomDataObjectPatternTypeArgs;
import com.pulumi.panos.inputs.CustomDataObjectPatternTypeFilePropertiesArgs;
import com.pulumi.panos.inputs.CustomDataObjectPatternTypePredefinedArgs;
import com.pulumi.panos.inputs.CustomDataObjectPatternTypeRegexArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new DeviceGroup("example", DeviceGroupArgs.builder()
.location(DeviceGroupLocationArgs.builder()
.panorama(DeviceGroupLocationPanoramaArgs.builder()
.build())
.build())
.name("example-dg")
.build());
var basic = new CustomDataObject("basic", CustomDataObjectArgs.builder()
.location(CustomDataObjectLocationArgs.builder()
.deviceGroup(CustomDataObjectLocationDeviceGroupArgs.builder()
.name(example.name())
.build())
.build())
.name("basic")
.description("test-description")
.build());
var fileProperties = new CustomDataObject("fileProperties", CustomDataObjectArgs.builder()
.location(CustomDataObjectLocationArgs.builder()
.deviceGroup(CustomDataObjectLocationDeviceGroupArgs.builder()
.name(example.name())
.build())
.build())
.name("file_properties")
.patternType(CustomDataObjectPatternTypeArgs.builder()
.fileProperties(CustomDataObjectPatternTypeFilePropertiesArgs.builder()
.patterns(CustomDataObjectPatternTypeFilePropertiesPatternArgs.builder()
.name("test-pattern")
.fileType("pdf")
.fileProperty("panav-rsp-pdf-dlp-author")
.propertyValue("author")
.build())
.build())
.build())
.build());
var predefined = new CustomDataObject("predefined", CustomDataObjectArgs.builder()
.location(CustomDataObjectLocationArgs.builder()
.deviceGroup(CustomDataObjectLocationDeviceGroupArgs.builder()
.name(example.name())
.build())
.build())
.name("predefined")
.patternType(CustomDataObjectPatternTypeArgs.builder()
.predefined(CustomDataObjectPatternTypePredefinedArgs.builder()
.patterns(
CustomDataObjectPatternTypePredefinedPatternArgs.builder()
.name("ABA-Routing-Number")
.fileTypes("xlsx")
.build(),
CustomDataObjectPatternTypePredefinedPatternArgs.builder()
.name("credit-card-numbers")
.fileTypes("text/html")
.build())
.build())
.build())
.build());
var regex = new CustomDataObject("regex", CustomDataObjectArgs.builder()
.location(CustomDataObjectLocationArgs.builder()
.deviceGroup(CustomDataObjectLocationDeviceGroupArgs.builder()
.name(example.name())
.build())
.build())
.name("regex")
.patternType(CustomDataObjectPatternTypeArgs.builder()
.regex(CustomDataObjectPatternTypeRegexArgs.builder()
.patterns(CustomDataObjectPatternTypeRegexPatternArgs.builder()
.name("test-pattern")
.regex("test-regex")
.build())
.build())
.build())
.build());
}
}
resources:
example:
type: panos:DeviceGroup
properties:
location:
panorama: {}
name: example-dg
basic:
type: panos:CustomDataObject
properties:
location:
deviceGroup:
name: ${example.name}
name: basic
description: test-description
fileProperties:
type: panos:CustomDataObject
name: file_properties
properties:
location:
deviceGroup:
name: ${example.name}
name: file_properties
patternType:
fileProperties:
patterns:
- name: test-pattern
fileType: pdf
fileProperty: panav-rsp-pdf-dlp-author
propertyValue: author
predefined:
type: panos:CustomDataObject
properties:
location:
deviceGroup:
name: ${example.name}
name: predefined
patternType:
predefined:
patterns:
- name: ABA-Routing-Number
fileTypes:
- xlsx
- name: credit-card-numbers
fileTypes:
- text/html
regex:
type: panos:CustomDataObject
properties:
location:
deviceGroup:
name: ${example.name}
name: regex
patternType:
regex:
patterns:
- name: test-pattern
regex: test-regex
Create CustomDataObject Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CustomDataObject(name: string, args: CustomDataObjectArgs, opts?: CustomResourceOptions);@overload
def CustomDataObject(resource_name: str,
args: CustomDataObjectArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CustomDataObject(resource_name: str,
opts: Optional[ResourceOptions] = None,
location: Optional[CustomDataObjectLocationArgs] = None,
description: Optional[str] = None,
disable_override: Optional[str] = None,
name: Optional[str] = None,
pattern_type: Optional[CustomDataObjectPatternTypeArgs] = None)func NewCustomDataObject(ctx *Context, name string, args CustomDataObjectArgs, opts ...ResourceOption) (*CustomDataObject, error)public CustomDataObject(string name, CustomDataObjectArgs args, CustomResourceOptions? opts = null)
public CustomDataObject(String name, CustomDataObjectArgs args)
public CustomDataObject(String name, CustomDataObjectArgs args, CustomResourceOptions options)
type: panos:CustomDataObject
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 CustomDataObjectArgs
- 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 CustomDataObjectArgs
- 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 CustomDataObjectArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CustomDataObjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CustomDataObjectArgs
- 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 customDataObjectResource = new Panos.CustomDataObject("customDataObjectResource", new()
{
Location = new Panos.Inputs.CustomDataObjectLocationArgs
{
DeviceGroup = new Panos.Inputs.CustomDataObjectLocationDeviceGroupArgs
{
Name = "string",
PanoramaDevice = "string",
},
Shared = null,
Vsys = new Panos.Inputs.CustomDataObjectLocationVsysArgs
{
Name = "string",
NgfwDevice = "string",
},
},
Description = "string",
DisableOverride = "string",
Name = "string",
PatternType = new Panos.Inputs.CustomDataObjectPatternTypeArgs
{
FileProperties = new Panos.Inputs.CustomDataObjectPatternTypeFilePropertiesArgs
{
Patterns = new[]
{
new Panos.Inputs.CustomDataObjectPatternTypeFilePropertiesPatternArgs
{
Name = "string",
FileProperty = "string",
FileType = "string",
PropertyValue = "string",
},
},
},
Predefined = new Panos.Inputs.CustomDataObjectPatternTypePredefinedArgs
{
Patterns = new[]
{
new Panos.Inputs.CustomDataObjectPatternTypePredefinedPatternArgs
{
Name = "string",
FileTypes = new[]
{
"string",
},
},
},
},
Regex = new Panos.Inputs.CustomDataObjectPatternTypeRegexArgs
{
Patterns = new[]
{
new Panos.Inputs.CustomDataObjectPatternTypeRegexPatternArgs
{
Name = "string",
FileTypes = new[]
{
"string",
},
Regex = "string",
},
},
},
},
});
example, err := panos.NewCustomDataObject(ctx, "customDataObjectResource", &panos.CustomDataObjectArgs{
Location: &panos.CustomDataObjectLocationArgs{
DeviceGroup: &panos.CustomDataObjectLocationDeviceGroupArgs{
Name: pulumi.String("string"),
PanoramaDevice: pulumi.String("string"),
},
Shared: &panos.CustomDataObjectLocationSharedArgs{},
Vsys: &panos.CustomDataObjectLocationVsysArgs{
Name: pulumi.String("string"),
NgfwDevice: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
DisableOverride: pulumi.String("string"),
Name: pulumi.String("string"),
PatternType: &panos.CustomDataObjectPatternTypeArgs{
FileProperties: &panos.CustomDataObjectPatternTypeFilePropertiesArgs{
Patterns: panos.CustomDataObjectPatternTypeFilePropertiesPatternArray{
&panos.CustomDataObjectPatternTypeFilePropertiesPatternArgs{
Name: pulumi.String("string"),
FileProperty: pulumi.String("string"),
FileType: pulumi.String("string"),
PropertyValue: pulumi.String("string"),
},
},
},
Predefined: &panos.CustomDataObjectPatternTypePredefinedArgs{
Patterns: panos.CustomDataObjectPatternTypePredefinedPatternArray{
&panos.CustomDataObjectPatternTypePredefinedPatternArgs{
Name: pulumi.String("string"),
FileTypes: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
Regex: &panos.CustomDataObjectPatternTypeRegexArgs{
Patterns: panos.CustomDataObjectPatternTypeRegexPatternArray{
&panos.CustomDataObjectPatternTypeRegexPatternArgs{
Name: pulumi.String("string"),
FileTypes: pulumi.StringArray{
pulumi.String("string"),
},
Regex: pulumi.String("string"),
},
},
},
},
})
var customDataObjectResource = new CustomDataObject("customDataObjectResource", CustomDataObjectArgs.builder()
.location(CustomDataObjectLocationArgs.builder()
.deviceGroup(CustomDataObjectLocationDeviceGroupArgs.builder()
.name("string")
.panoramaDevice("string")
.build())
.shared(CustomDataObjectLocationSharedArgs.builder()
.build())
.vsys(CustomDataObjectLocationVsysArgs.builder()
.name("string")
.ngfwDevice("string")
.build())
.build())
.description("string")
.disableOverride("string")
.name("string")
.patternType(CustomDataObjectPatternTypeArgs.builder()
.fileProperties(CustomDataObjectPatternTypeFilePropertiesArgs.builder()
.patterns(CustomDataObjectPatternTypeFilePropertiesPatternArgs.builder()
.name("string")
.fileProperty("string")
.fileType("string")
.propertyValue("string")
.build())
.build())
.predefined(CustomDataObjectPatternTypePredefinedArgs.builder()
.patterns(CustomDataObjectPatternTypePredefinedPatternArgs.builder()
.name("string")
.fileTypes("string")
.build())
.build())
.regex(CustomDataObjectPatternTypeRegexArgs.builder()
.patterns(CustomDataObjectPatternTypeRegexPatternArgs.builder()
.name("string")
.fileTypes("string")
.regex("string")
.build())
.build())
.build())
.build());
custom_data_object_resource = panos.CustomDataObject("customDataObjectResource",
location={
"device_group": {
"name": "string",
"panorama_device": "string",
},
"shared": {},
"vsys": {
"name": "string",
"ngfw_device": "string",
},
},
description="string",
disable_override="string",
name="string",
pattern_type={
"file_properties": {
"patterns": [{
"name": "string",
"file_property": "string",
"file_type": "string",
"property_value": "string",
}],
},
"predefined": {
"patterns": [{
"name": "string",
"file_types": ["string"],
}],
},
"regex": {
"patterns": [{
"name": "string",
"file_types": ["string"],
"regex": "string",
}],
},
})
const customDataObjectResource = new panos.CustomDataObject("customDataObjectResource", {
location: {
deviceGroup: {
name: "string",
panoramaDevice: "string",
},
shared: {},
vsys: {
name: "string",
ngfwDevice: "string",
},
},
description: "string",
disableOverride: "string",
name: "string",
patternType: {
fileProperties: {
patterns: [{
name: "string",
fileProperty: "string",
fileType: "string",
propertyValue: "string",
}],
},
predefined: {
patterns: [{
name: "string",
fileTypes: ["string"],
}],
},
regex: {
patterns: [{
name: "string",
fileTypes: ["string"],
regex: "string",
}],
},
},
});
type: panos:CustomDataObject
properties:
description: string
disableOverride: string
location:
deviceGroup:
name: string
panoramaDevice: string
shared: {}
vsys:
name: string
ngfwDevice: string
name: string
patternType:
fileProperties:
patterns:
- fileProperty: string
fileType: string
name: string
propertyValue: string
predefined:
patterns:
- fileTypes:
- string
name: string
regex:
patterns:
- fileTypes:
- string
name: string
regex: string
CustomDataObject 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 CustomDataObject resource accepts the following input properties:
- Location
Custom
Data Object Location - The location of this object.
- Description string
- Disable
Override string - disable object override in child device groups
- Name string
- Pattern
Type CustomData Object Pattern Type
- Location
Custom
Data Object Location Args - The location of this object.
- Description string
- Disable
Override string - disable object override in child device groups
- Name string
- Pattern
Type CustomData Object Pattern Type Args
- location
Custom
Data Object Location - The location of this object.
- description String
- disable
Override String - disable object override in child device groups
- name String
- pattern
Type CustomData Object Pattern Type
- location
Custom
Data Object Location - The location of this object.
- description string
- disable
Override string - disable object override in child device groups
- name string
- pattern
Type CustomData Object Pattern Type
- location
Custom
Data Object Location Args - The location of this object.
- description str
- disable_
override str - disable object override in child device groups
- name str
- pattern_
type CustomData Object Pattern Type Args
- location Property Map
- The location of this object.
- description String
- disable
Override String - disable object override in child device groups
- name String
- pattern
Type Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the CustomDataObject 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 CustomDataObject Resource
Get an existing CustomDataObject 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?: CustomDataObjectState, opts?: CustomResourceOptions): CustomDataObject@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
disable_override: Optional[str] = None,
location: Optional[CustomDataObjectLocationArgs] = None,
name: Optional[str] = None,
pattern_type: Optional[CustomDataObjectPatternTypeArgs] = None) -> CustomDataObjectfunc GetCustomDataObject(ctx *Context, name string, id IDInput, state *CustomDataObjectState, opts ...ResourceOption) (*CustomDataObject, error)public static CustomDataObject Get(string name, Input<string> id, CustomDataObjectState? state, CustomResourceOptions? opts = null)public static CustomDataObject get(String name, Output<String> id, CustomDataObjectState state, CustomResourceOptions options)resources: _: type: panos:CustomDataObject 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
- Disable
Override string - disable object override in child device groups
- Location
Custom
Data Object Location - The location of this object.
- Name string
- Pattern
Type CustomData Object Pattern Type
- Description string
- Disable
Override string - disable object override in child device groups
- Location
Custom
Data Object Location Args - The location of this object.
- Name string
- Pattern
Type CustomData Object Pattern Type Args
- description String
- disable
Override String - disable object override in child device groups
- location
Custom
Data Object Location - The location of this object.
- name String
- pattern
Type CustomData Object Pattern Type
- description string
- disable
Override string - disable object override in child device groups
- location
Custom
Data Object Location - The location of this object.
- name string
- pattern
Type CustomData Object Pattern Type
- description str
- disable_
override str - disable object override in child device groups
- location
Custom
Data Object Location Args - The location of this object.
- name str
- pattern_
type CustomData Object Pattern Type Args
- description String
- disable
Override String - disable object override in child device groups
- location Property Map
- The location of this object.
- name String
- pattern
Type Property Map
Supporting Types
CustomDataObjectLocation, CustomDataObjectLocationArgs
- Device
Group CustomData Object Location Device Group - Located in a specific Device Group
-
Custom
Data Object Location Shared - Panorama shared object
- Vsys
Custom
Data Object Location Vsys - Located in a specific Virtual System
- Device
Group CustomData Object Location Device Group - Located in a specific Device Group
-
Custom
Data Object Location Shared - Panorama shared object
- Vsys
Custom
Data Object Location Vsys - Located in a specific Virtual System
- device
Group CustomData Object Location Device Group - Located in a specific Device Group
-
Custom
Data Object Location Shared - Panorama shared object
- vsys
Custom
Data Object Location Vsys - Located in a specific Virtual System
- device
Group CustomData Object Location Device Group - Located in a specific Device Group
-
Custom
Data Object Location Shared - Panorama shared object
- vsys
Custom
Data Object Location Vsys - Located in a specific Virtual System
- device_
group CustomData Object Location Device Group - Located in a specific Device Group
-
Custom
Data Object Location Shared - Panorama shared object
- vsys
Custom
Data Object 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
CustomDataObjectLocationDeviceGroup, CustomDataObjectLocationDeviceGroupArgs
- 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
CustomDataObjectLocationVsys, CustomDataObjectLocationVsysArgs
- 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
CustomDataObjectPatternType, CustomDataObjectPatternTypeArgs
CustomDataObjectPatternTypeFileProperties, CustomDataObjectPatternTypeFilePropertiesArgs
CustomDataObjectPatternTypeFilePropertiesPattern, CustomDataObjectPatternTypeFilePropertiesPatternArgs
- Name string
- File
Property string - File
Type string - Property
Value string
- Name string
- File
Property string - File
Type string - Property
Value string
- name String
- file
Property String - file
Type String - property
Value String
- name string
- file
Property string - file
Type string - property
Value string
- name str
- file_
property str - file_
type str - property_
value str
- name String
- file
Property String - file
Type String - property
Value String
CustomDataObjectPatternTypePredefined, CustomDataObjectPatternTypePredefinedArgs
CustomDataObjectPatternTypePredefinedPattern, CustomDataObjectPatternTypePredefinedPatternArgs
- name str
- file_
types Sequence[str]
CustomDataObjectPatternTypeRegex, CustomDataObjectPatternTypeRegexArgs
CustomDataObjectPatternTypeRegexPattern, CustomDataObjectPatternTypeRegexPatternArgs
- name str
- file_
types Sequence[str] - regex str
Package Details
- Repository
- panos paloaltonetworks/terraform-provider-panos
- License
- Notes
- This Pulumi package is based on the
panosTerraform Provider.
published on Tuesday, Apr 28, 2026 by paloaltonetworks
