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

panos.getTemplateStack

Explore with Pulumi AI

panos 2.0.0 published on Tuesday, Apr 15, 2025 by paloaltonetworks

Using getTemplateStack

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getTemplateStack(args: GetTemplateStackArgs, opts?: InvokeOptions): Promise<GetTemplateStackResult>
function getTemplateStackOutput(args: GetTemplateStackOutputArgs, opts?: InvokeOptions): Output<GetTemplateStackResult>
Copy
def get_template_stack(default_vsys: Optional[str] = None,
                       description: Optional[str] = None,
                       devices: Optional[Sequence[str]] = None,
                       location: Optional[GetTemplateStackLocation] = None,
                       name: Optional[str] = None,
                       templates: Optional[Sequence[str]] = None,
                       user_group_source: Optional[GetTemplateStackUserGroupSource] = None,
                       opts: Optional[InvokeOptions] = None) -> GetTemplateStackResult
def get_template_stack_output(default_vsys: Optional[pulumi.Input[str]] = None,
                       description: Optional[pulumi.Input[str]] = None,
                       devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                       location: Optional[pulumi.Input[GetTemplateStackLocationArgs]] = None,
                       name: Optional[pulumi.Input[str]] = None,
                       templates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                       user_group_source: Optional[pulumi.Input[GetTemplateStackUserGroupSourceArgs]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetTemplateStackResult]
Copy
func LookupTemplateStack(ctx *Context, args *LookupTemplateStackArgs, opts ...InvokeOption) (*LookupTemplateStackResult, error)
func LookupTemplateStackOutput(ctx *Context, args *LookupTemplateStackOutputArgs, opts ...InvokeOption) LookupTemplateStackResultOutput
Copy

> Note: This function is named LookupTemplateStack in the Go SDK.

public static class GetTemplateStack 
{
    public static Task<GetTemplateStackResult> InvokeAsync(GetTemplateStackArgs args, InvokeOptions? opts = null)
    public static Output<GetTemplateStackResult> Invoke(GetTemplateStackInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetTemplateStackResult> getTemplateStack(GetTemplateStackArgs args, InvokeOptions options)
public static Output<GetTemplateStackResult> getTemplateStack(GetTemplateStackArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: panos:index/getTemplateStack:getTemplateStack
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Location This property is required. GetTemplateStackLocation
The location of this object.
Name This property is required. string
The name of the service.
DefaultVsys string
Default virtual system
Description string
The description.
Devices List<string>
List of devices
Templates List<string>
List of templates
UserGroupSource GetTemplateStackUserGroupSource
Location This property is required. GetTemplateStackLocation
The location of this object.
Name This property is required. string
The name of the service.
DefaultVsys string
Default virtual system
Description string
The description.
Devices []string
List of devices
Templates []string
List of templates
UserGroupSource GetTemplateStackUserGroupSource
location This property is required. GetTemplateStackLocation
The location of this object.
name This property is required. String
The name of the service.
defaultVsys String
Default virtual system
description String
The description.
devices List<String>
List of devices
templates List<String>
List of templates
userGroupSource GetTemplateStackUserGroupSource
location This property is required. GetTemplateStackLocation
The location of this object.
name This property is required. string
The name of the service.
defaultVsys string
Default virtual system
description string
The description.
devices string[]
List of devices
templates string[]
List of templates
userGroupSource GetTemplateStackUserGroupSource
location This property is required. GetTemplateStackLocation
The location of this object.
name This property is required. str
The name of the service.
default_vsys str
Default virtual system
description str
The description.
devices Sequence[str]
List of devices
templates Sequence[str]
List of templates
user_group_source GetTemplateStackUserGroupSource
location This property is required. Property Map
The location of this object.
name This property is required. String
The name of the service.
defaultVsys String
Default virtual system
description String
The description.
devices List<String>
List of devices
templates List<String>
List of templates
userGroupSource Property Map

getTemplateStack Result

The following output properties are available:

DefaultVsys string
Default virtual system
Description string
The description.
Devices List<string>
List of devices
Id string
The provider-assigned unique ID for this managed resource.
Location GetTemplateStackLocation
The location of this object.
Name string
The name of the service.
Templates List<string>
List of templates
UserGroupSource GetTemplateStackUserGroupSource
DefaultVsys string
Default virtual system
Description string
The description.
Devices []string
List of devices
Id string
The provider-assigned unique ID for this managed resource.
Location GetTemplateStackLocation
The location of this object.
Name string
The name of the service.
Templates []string
List of templates
UserGroupSource GetTemplateStackUserGroupSource
defaultVsys String
Default virtual system
description String
The description.
devices List<String>
List of devices
id String
The provider-assigned unique ID for this managed resource.
location GetTemplateStackLocation
The location of this object.
name String
The name of the service.
templates List<String>
List of templates
userGroupSource GetTemplateStackUserGroupSource
defaultVsys string
Default virtual system
description string
The description.
devices string[]
List of devices
id string
The provider-assigned unique ID for this managed resource.
location GetTemplateStackLocation
The location of this object.
name string
The name of the service.
templates string[]
List of templates
userGroupSource GetTemplateStackUserGroupSource
default_vsys str
Default virtual system
description str
The description.
devices Sequence[str]
List of devices
id str
The provider-assigned unique ID for this managed resource.
location GetTemplateStackLocation
The location of this object.
name str
The name of the service.
templates Sequence[str]
List of templates
user_group_source GetTemplateStackUserGroupSource
defaultVsys String
Default virtual system
description String
The description.
devices List<String>
List of devices
id String
The provider-assigned unique ID for this managed resource.
location Property Map
The location of this object.
name String
The name of the service.
templates List<String>
List of templates
userGroupSource Property Map

Supporting Types

GetTemplateStackLocation

Panorama GetTemplateStackLocationPanorama
Located in a specific Panorama.
Panorama GetTemplateStackLocationPanorama
Located in a specific Panorama.
panorama GetTemplateStackLocationPanorama
Located in a specific Panorama.
panorama GetTemplateStackLocationPanorama
Located in a specific Panorama.
panorama GetTemplateStackLocationPanorama
Located in a specific Panorama.
panorama Property Map
Located in a specific Panorama.

GetTemplateStackLocationPanorama

PanoramaDevice This property is required. string
The Panorama device.
PanoramaDevice This property is required. string
The Panorama device.
panoramaDevice This property is required. String
The Panorama device.
panoramaDevice This property is required. string
The Panorama device.
panorama_device This property is required. str
The Panorama device.
panoramaDevice This property is required. String
The Panorama device.

GetTemplateStackUserGroupSource

MasterDevice This property is required. string
MasterDevice This property is required. string
masterDevice This property is required. String
masterDevice This property is required. string
master_device This property is required. str
masterDevice This property is required. String

Package Details

Repository
panos paloaltonetworks/terraform-provider-panos
License
Notes
This Pulumi package is based on the panos Terraform Provider.
panos 2.0.0 published on Tuesday, Apr 15, 2025 by paloaltonetworks