published on Tuesday, Apr 28, 2026 by paloaltonetworks
published on Tuesday, Apr 28, 2026 by paloaltonetworks
Create Vsys Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Vsys(name: string, args: VsysArgs, opts?: CustomResourceOptions);@overload
def Vsys(resource_name: str,
args: VsysArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Vsys(resource_name: str,
opts: Optional[ResourceOptions] = None,
location: Optional[VsysLocationArgs] = None,
name: Optional[str] = None)func NewVsys(ctx *Context, name string, args VsysArgs, opts ...ResourceOption) (*Vsys, error)public Vsys(string name, VsysArgs args, CustomResourceOptions? opts = null)type: panos:Vsys
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 VsysArgs
- 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 VsysArgs
- 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 VsysArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VsysArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VsysArgs
- 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 vsysResource = new Panos.Vsys("vsysResource", new()
{
Location = new Panos.Inputs.VsysLocationArgs
{
Template = new Panos.Inputs.VsysLocationTemplateArgs
{
Name = "string",
NgfwDevice = "string",
PanoramaDevice = "string",
},
TemplateStack = new Panos.Inputs.VsysLocationTemplateStackArgs
{
Name = "string",
NgfwDevice = "string",
PanoramaDevice = "string",
},
},
Name = "string",
});
example, err := panos.NewVsys(ctx, "vsysResource", &panos.VsysArgs{
Location: &panos.VsysLocationArgs{
Template: &panos.VsysLocationTemplateArgs{
Name: pulumi.String("string"),
NgfwDevice: pulumi.String("string"),
PanoramaDevice: pulumi.String("string"),
},
TemplateStack: &panos.VsysLocationTemplateStackArgs{
Name: pulumi.String("string"),
NgfwDevice: pulumi.String("string"),
PanoramaDevice: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
})
var vsysResource = new Vsys("vsysResource", VsysArgs.builder()
.location(VsysLocationArgs.builder()
.template(VsysLocationTemplateArgs.builder()
.name("string")
.ngfwDevice("string")
.panoramaDevice("string")
.build())
.templateStack(VsysLocationTemplateStackArgs.builder()
.name("string")
.ngfwDevice("string")
.panoramaDevice("string")
.build())
.build())
.name("string")
.build());
vsys_resource = panos.Vsys("vsysResource",
location={
"template": {
"name": "string",
"ngfw_device": "string",
"panorama_device": "string",
},
"template_stack": {
"name": "string",
"ngfw_device": "string",
"panorama_device": "string",
},
},
name="string")
const vsysResource = new panos.Vsys("vsysResource", {
location: {
template: {
name: "string",
ngfwDevice: "string",
panoramaDevice: "string",
},
templateStack: {
name: "string",
ngfwDevice: "string",
panoramaDevice: "string",
},
},
name: "string",
});
type: panos:Vsys
properties:
location:
template:
name: string
ngfwDevice: string
panoramaDevice: string
templateStack:
name: string
ngfwDevice: string
panoramaDevice: string
name: string
Vsys 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 Vsys resource accepts the following input properties:
- Location
Vsys
Location - The location of this object.
- Name string
- Location
Vsys
Location Args - The location of this object.
- Name string
- location
Vsys
Location - The location of this object.
- name String
- location
Vsys
Location - The location of this object.
- name string
- location
Vsys
Location Args - The location of this object.
- name str
- location Property Map
- The location of this object.
- name String
Outputs
All input properties are implicitly available as output properties. Additionally, the Vsys 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 Vsys Resource
Get an existing Vsys 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?: VsysState, opts?: CustomResourceOptions): Vsys@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
location: Optional[VsysLocationArgs] = None,
name: Optional[str] = None) -> Vsysfunc GetVsys(ctx *Context, name string, id IDInput, state *VsysState, opts ...ResourceOption) (*Vsys, error)public static Vsys Get(string name, Input<string> id, VsysState? state, CustomResourceOptions? opts = null)public static Vsys get(String name, Output<String> id, VsysState state, CustomResourceOptions options)resources: _: type: panos:Vsys 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.
- Location
Vsys
Location - The location of this object.
- Name string
- Location
Vsys
Location Args - The location of this object.
- Name string
- location
Vsys
Location - The location of this object.
- name String
- location
Vsys
Location - The location of this object.
- name string
- location
Vsys
Location Args - The location of this object.
- name str
- location Property Map
- The location of this object.
- name String
Supporting Types
VsysLocation, VsysLocationArgs
- Template
Vsys
Location Template - Located in a specific template
- Template
Stack VsysLocation Template Stack - Located in a specific template stack
- Template
Vsys
Location Template - Located in a specific template
- Template
Stack VsysLocation Template Stack - Located in a specific template stack
- template
Vsys
Location Template - Located in a specific template
- template
Stack VsysLocation Template Stack - Located in a specific template stack
- template
Vsys
Location Template - Located in a specific template
- template
Stack VsysLocation Template Stack - Located in a specific template stack
- template
Vsys
Location Template - Located in a specific template
- template_
stack VsysLocation Template Stack - Located in a specific template stack
- template Property Map
- Located in a specific template
- template
Stack Property Map - Located in a specific template stack
VsysLocationTemplate, VsysLocationTemplateArgs
- Name string
- Specific Panorama template
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- Name string
- Specific Panorama template
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- name String
- Specific Panorama template
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
- name string
- Specific Panorama template
- ngfw
Device string - The NGFW device
- panorama
Device string - Specific Panorama device
- name str
- Specific Panorama template
- ngfw_
device str - The NGFW device
- panorama_
device str - Specific Panorama device
- name String
- Specific Panorama template
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
VsysLocationTemplateStack, VsysLocationTemplateStackArgs
- Name string
- Specific Panorama template stack
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- Name string
- Specific Panorama template stack
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- name String
- Specific Panorama template stack
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
- name string
- Specific Panorama template stack
- ngfw
Device string - The NGFW device
- panorama
Device string - Specific Panorama device
- name str
- Specific Panorama template stack
- ngfw_
device str - The NGFW device
- panorama_
device str - Specific Panorama device
- name String
- Specific Panorama template stack
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
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
