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

panos.getTemplate

Explore with Pulumi AI

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

Using getTemplate

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 getTemplate(args: GetTemplateArgs, opts?: InvokeOptions): Promise<GetTemplateResult>
function getTemplateOutput(args: GetTemplateOutputArgs, opts?: InvokeOptions): Output<GetTemplateResult>
Copy
def get_template(description: Optional[str] = None,
                 location: Optional[GetTemplateLocation] = None,
                 name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetTemplateResult
def get_template_output(description: Optional[pulumi.Input[str]] = None,
                 location: Optional[pulumi.Input[GetTemplateLocationArgs]] = None,
                 name: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetTemplateResult]
Copy
func LookupTemplate(ctx *Context, args *LookupTemplateArgs, opts ...InvokeOption) (*LookupTemplateResult, error)
func LookupTemplateOutput(ctx *Context, args *LookupTemplateOutputArgs, opts ...InvokeOption) LookupTemplateResultOutput
Copy

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

public static class GetTemplate 
{
    public static Task<GetTemplateResult> InvokeAsync(GetTemplateArgs args, InvokeOptions? opts = null)
    public static Output<GetTemplateResult> Invoke(GetTemplateInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetTemplateResult> getTemplate(GetTemplateArgs args, InvokeOptions options)
public static Output<GetTemplateResult> getTemplate(GetTemplateArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: panos:index/getTemplate:getTemplate
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Location This property is required. GetTemplateLocation
The location of this object.
Name This property is required. string
The name of the service.
Description string
The description.
Location This property is required. GetTemplateLocation
The location of this object.
Name This property is required. string
The name of the service.
Description string
The description.
location This property is required. GetTemplateLocation
The location of this object.
name This property is required. String
The name of the service.
description String
The description.
location This property is required. GetTemplateLocation
The location of this object.
name This property is required. string
The name of the service.
description string
The description.
location This property is required. GetTemplateLocation
The location of this object.
name This property is required. str
The name of the service.
description str
The description.
location This property is required. Property Map
The location of this object.
name This property is required. String
The name of the service.
description String
The description.

getTemplate Result

The following output properties are available:

Description string
The description.
Id string
The provider-assigned unique ID for this managed resource.
Location GetTemplateLocation
The location of this object.
Name string
The name of the service.
Description string
The description.
Id string
The provider-assigned unique ID for this managed resource.
Location GetTemplateLocation
The location of this object.
Name string
The name of the service.
description String
The description.
id String
The provider-assigned unique ID for this managed resource.
location GetTemplateLocation
The location of this object.
name String
The name of the service.
description string
The description.
id string
The provider-assigned unique ID for this managed resource.
location GetTemplateLocation
The location of this object.
name string
The name of the service.
description str
The description.
id str
The provider-assigned unique ID for this managed resource.
location GetTemplateLocation
The location of this object.
name str
The name of the service.
description String
The description.
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.

Supporting Types

GetTemplateLocation

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

GetTemplateLocationPanorama

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.

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