1. Packages
  2. Panos Provider
  3. API Docs
  4. ApplicationGroup
panos 2.0.0 published on Tuesday, Apr 15, 2025 by paloaltonetworks

panos.ApplicationGroup

Explore with Pulumi AI

Create ApplicationGroup Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ApplicationGroup(name: string, args: ApplicationGroupArgs, opts?: CustomResourceOptions);
@overload
def ApplicationGroup(resource_name: str,
                     args: ApplicationGroupArgs,
                     opts: Optional[ResourceOptions] = None)

@overload
def ApplicationGroup(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     location: Optional[ApplicationGroupLocationArgs] = None,
                     disable_override: Optional[str] = None,
                     members: Optional[Sequence[str]] = None,
                     name: Optional[str] = None)
func NewApplicationGroup(ctx *Context, name string, args ApplicationGroupArgs, opts ...ResourceOption) (*ApplicationGroup, error)
public ApplicationGroup(string name, ApplicationGroupArgs args, CustomResourceOptions? opts = null)
public ApplicationGroup(String name, ApplicationGroupArgs args)
public ApplicationGroup(String name, ApplicationGroupArgs args, CustomResourceOptions options)
type: panos:ApplicationGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ApplicationGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ApplicationGroupArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ApplicationGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ApplicationGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ApplicationGroupArgs
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 applicationGroupResource = new Panos.ApplicationGroup("applicationGroupResource", new()
{
    Location = new Panos.Inputs.ApplicationGroupLocationArgs
    {
        DeviceGroup = new Panos.Inputs.ApplicationGroupLocationDeviceGroupArgs
        {
            Name = "string",
            PanoramaDevice = "string",
        },
        Shared = null,
        Vsys = new Panos.Inputs.ApplicationGroupLocationVsysArgs
        {
            Name = "string",
            NgfwDevice = "string",
        },
    },
    DisableOverride = "string",
    Members = new[]
    {
        "string",
    },
    Name = "string",
});
Copy
example, err := panos.NewApplicationGroup(ctx, "applicationGroupResource", &panos.ApplicationGroupArgs{
	Location: &panos.ApplicationGroupLocationArgs{
		DeviceGroup: &panos.ApplicationGroupLocationDeviceGroupArgs{
			Name:           pulumi.String("string"),
			PanoramaDevice: pulumi.String("string"),
		},
		Shared: &panos.ApplicationGroupLocationSharedArgs{},
		Vsys: &panos.ApplicationGroupLocationVsysArgs{
			Name:       pulumi.String("string"),
			NgfwDevice: pulumi.String("string"),
		},
	},
	DisableOverride: pulumi.String("string"),
	Members: pulumi.StringArray{
		pulumi.String("string"),
	},
	Name: pulumi.String("string"),
})
Copy
var applicationGroupResource = new ApplicationGroup("applicationGroupResource", ApplicationGroupArgs.builder()
    .location(ApplicationGroupLocationArgs.builder()
        .deviceGroup(ApplicationGroupLocationDeviceGroupArgs.builder()
            .name("string")
            .panoramaDevice("string")
            .build())
        .shared()
        .vsys(ApplicationGroupLocationVsysArgs.builder()
            .name("string")
            .ngfwDevice("string")
            .build())
        .build())
    .disableOverride("string")
    .members("string")
    .name("string")
    .build());
Copy
application_group_resource = panos.ApplicationGroup("applicationGroupResource",
    location={
        "device_group": {
            "name": "string",
            "panorama_device": "string",
        },
        "shared": {},
        "vsys": {
            "name": "string",
            "ngfw_device": "string",
        },
    },
    disable_override="string",
    members=["string"],
    name="string")
Copy
const applicationGroupResource = new panos.ApplicationGroup("applicationGroupResource", {
    location: {
        deviceGroup: {
            name: "string",
            panoramaDevice: "string",
        },
        shared: {},
        vsys: {
            name: "string",
            ngfwDevice: "string",
        },
    },
    disableOverride: "string",
    members: ["string"],
    name: "string",
});
Copy
type: panos:ApplicationGroup
properties:
    disableOverride: string
    location:
        deviceGroup:
            name: string
            panoramaDevice: string
        shared: {}
        vsys:
            name: string
            ngfwDevice: string
    members:
        - string
    name: string
Copy

ApplicationGroup 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 ApplicationGroup resource accepts the following input properties:

Location This property is required. ApplicationGroupLocation
The location of this object.
DisableOverride string
disable object override in child device groups
Members List<string>
Name string
Location This property is required. ApplicationGroupLocationArgs
The location of this object.
DisableOverride string
disable object override in child device groups
Members []string
Name string
location This property is required. ApplicationGroupLocation
The location of this object.
disableOverride String
disable object override in child device groups
members List<String>
name String
location This property is required. ApplicationGroupLocation
The location of this object.
disableOverride string
disable object override in child device groups
members string[]
name string
location This property is required. ApplicationGroupLocationArgs
The location of this object.
disable_override str
disable object override in child device groups
members Sequence[str]
name str
location This property is required. Property Map
The location of this object.
disableOverride String
disable object override in child device groups
members List<String>
name String

Outputs

All input properties are implicitly available as output properties. Additionally, the ApplicationGroup 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 ApplicationGroup Resource

Get an existing ApplicationGroup 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?: ApplicationGroupState, opts?: CustomResourceOptions): ApplicationGroup
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        disable_override: Optional[str] = None,
        location: Optional[ApplicationGroupLocationArgs] = None,
        members: Optional[Sequence[str]] = None,
        name: Optional[str] = None) -> ApplicationGroup
func GetApplicationGroup(ctx *Context, name string, id IDInput, state *ApplicationGroupState, opts ...ResourceOption) (*ApplicationGroup, error)
public static ApplicationGroup Get(string name, Input<string> id, ApplicationGroupState? state, CustomResourceOptions? opts = null)
public static ApplicationGroup get(String name, Output<String> id, ApplicationGroupState state, CustomResourceOptions options)
resources:  _:    type: panos:ApplicationGroup    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
DisableOverride string
disable object override in child device groups
Location ApplicationGroupLocation
The location of this object.
Members List<string>
Name string
DisableOverride string
disable object override in child device groups
Location ApplicationGroupLocationArgs
The location of this object.
Members []string
Name string
disableOverride String
disable object override in child device groups
location ApplicationGroupLocation
The location of this object.
members List<String>
name String
disableOverride string
disable object override in child device groups
location ApplicationGroupLocation
The location of this object.
members string[]
name string
disable_override str
disable object override in child device groups
location ApplicationGroupLocationArgs
The location of this object.
members Sequence[str]
name str
disableOverride String
disable object override in child device groups
location Property Map
The location of this object.
members List<String>
name String

Supporting Types

ApplicationGroupLocation
, ApplicationGroupLocationArgs

DeviceGroup ApplicationGroupLocationDeviceGroup
Located in a specific Device Group
Shared ApplicationGroupLocationShared
Panorama shared object
Vsys ApplicationGroupLocationVsys
Located in a specific Virtual System
DeviceGroup ApplicationGroupLocationDeviceGroup
Located in a specific Device Group
Shared ApplicationGroupLocationShared
Panorama shared object
Vsys ApplicationGroupLocationVsys
Located in a specific Virtual System
deviceGroup ApplicationGroupLocationDeviceGroup
Located in a specific Device Group
shared ApplicationGroupLocationShared
Panorama shared object
vsys ApplicationGroupLocationVsys
Located in a specific Virtual System
deviceGroup ApplicationGroupLocationDeviceGroup
Located in a specific Device Group
shared ApplicationGroupLocationShared
Panorama shared object
vsys ApplicationGroupLocationVsys
Located in a specific Virtual System
device_group ApplicationGroupLocationDeviceGroup
Located in a specific Device Group
shared ApplicationGroupLocationShared
Panorama shared object
vsys ApplicationGroupLocationVsys
Located in a specific Virtual System
deviceGroup Property Map
Located in a specific Device Group
shared Property Map
Panorama shared object
vsys Property Map
Located in a specific Virtual System

ApplicationGroupLocationDeviceGroup
, ApplicationGroupLocationDeviceGroupArgs

Name string
Device Group name
PanoramaDevice string
Panorama device name
Name string
Device Group name
PanoramaDevice string
Panorama device name
name String
Device Group name
panoramaDevice String
Panorama device name
name string
Device Group name
panoramaDevice string
Panorama device name
name str
Device Group name
panorama_device str
Panorama device name
name String
Device Group name
panoramaDevice String
Panorama device name

ApplicationGroupLocationVsys
, ApplicationGroupLocationVsysArgs

Name string
The Virtual System name
NgfwDevice string
The NGFW device name
Name string
The Virtual System name
NgfwDevice string
The NGFW device name
name String
The Virtual System name
ngfwDevice String
The NGFW device name
name string
The Virtual System name
ngfwDevice string
The NGFW device name
name str
The Virtual System name
ngfw_device str
The NGFW device name
name String
The Virtual System name
ngfwDevice String
The NGFW device name

Package Details

Repository
panos paloaltonetworks/terraform-provider-panos
License
Notes
This Pulumi package is based on the panos Terraform Provider.