1. Packages
  2. Packages
  3. Panos Provider
  4. API Docs
  5. Vsys
Viewing docs for panos 2.0.11
published on Tuesday, Apr 28, 2026 by paloaltonetworks
Viewing docs for panos 2.0.11
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)
    public Vsys(String name, VsysArgs args)
    public Vsys(String name, VsysArgs args, CustomResourceOptions options)
    
    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 VsysLocation
    The location of this object.
    Name string
    Location VsysLocationArgs
    The location of this object.
    Name string
    location VsysLocation
    The location of this object.
    name String
    location VsysLocation
    The location of this object.
    name string
    location VsysLocationArgs
    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) -> Vsys
    func 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.
    The following state arguments are supported:
    Location VsysLocation
    The location of this object.
    Name string
    Location VsysLocationArgs
    The location of this object.
    Name string
    location VsysLocation
    The location of this object.
    name String
    location VsysLocation
    The location of this object.
    name string
    location VsysLocationArgs
    The location of this object.
    name str
    location Property Map
    The location of this object.
    name String

    Supporting Types

    VsysLocation, VsysLocationArgs

    Template VsysLocationTemplate
    Located in a specific template
    TemplateStack VsysLocationTemplateStack
    Located in a specific template stack
    Template VsysLocationTemplate
    Located in a specific template
    TemplateStack VsysLocationTemplateStack
    Located in a specific template stack
    template VsysLocationTemplate
    Located in a specific template
    templateStack VsysLocationTemplateStack
    Located in a specific template stack
    template VsysLocationTemplate
    Located in a specific template
    templateStack VsysLocationTemplateStack
    Located in a specific template stack
    template VsysLocationTemplate
    Located in a specific template
    template_stack VsysLocationTemplateStack
    Located in a specific template stack
    template Property Map
    Located in a specific template
    templateStack Property Map
    Located in a specific template stack

    VsysLocationTemplate, VsysLocationTemplateArgs

    Name string
    Specific Panorama template
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    Name string
    Specific Panorama template
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    name String
    Specific Panorama template
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device
    name string
    Specific Panorama template
    ngfwDevice string
    The NGFW device
    panoramaDevice 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
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device

    VsysLocationTemplateStack, VsysLocationTemplateStackArgs

    Name string
    Specific Panorama template stack
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    Name string
    Specific Panorama template stack
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    name String
    Specific Panorama template stack
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device
    name string
    Specific Panorama template stack
    ngfwDevice string
    The NGFW device
    panoramaDevice 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
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device

    Package Details

    Repository
    panos paloaltonetworks/terraform-provider-panos
    License
    Notes
    This Pulumi package is based on the panos Terraform Provider.
    Viewing docs for panos 2.0.11
    published on Tuesday, Apr 28, 2026 by paloaltonetworks
      Try Pulumi Cloud free. Your team will thank you.