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

panos.IpsecCryptoProfile

Explore with Pulumi AI

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

    Create IpsecCryptoProfile Resource

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

    Constructor syntax

    new IpsecCryptoProfile(name: string, args: IpsecCryptoProfileArgs, opts?: CustomResourceOptions);
    @overload
    def IpsecCryptoProfile(resource_name: str,
                           args: IpsecCryptoProfileArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def IpsecCryptoProfile(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           location: Optional[IpsecCryptoProfileLocationArgs] = None,
                           ah: Optional[IpsecCryptoProfileAhArgs] = None,
                           dh_group: Optional[str] = None,
                           esp: Optional[IpsecCryptoProfileEspArgs] = None,
                           lifesize: Optional[IpsecCryptoProfileLifesizeArgs] = None,
                           lifetime: Optional[IpsecCryptoProfileLifetimeArgs] = None,
                           name: Optional[str] = None)
    func NewIpsecCryptoProfile(ctx *Context, name string, args IpsecCryptoProfileArgs, opts ...ResourceOption) (*IpsecCryptoProfile, error)
    public IpsecCryptoProfile(string name, IpsecCryptoProfileArgs args, CustomResourceOptions? opts = null)
    public IpsecCryptoProfile(String name, IpsecCryptoProfileArgs args)
    public IpsecCryptoProfile(String name, IpsecCryptoProfileArgs args, CustomResourceOptions options)
    
    type: panos:IpsecCryptoProfile
    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 IpsecCryptoProfileArgs
    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 IpsecCryptoProfileArgs
    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 IpsecCryptoProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IpsecCryptoProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IpsecCryptoProfileArgs
    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 ipsecCryptoProfileResource = new Panos.IpsecCryptoProfile("ipsecCryptoProfileResource", new()
    {
        Location = new Panos.Inputs.IpsecCryptoProfileLocationArgs
        {
            Ngfw = new Panos.Inputs.IpsecCryptoProfileLocationNgfwArgs
            {
                NgfwDevice = "string",
            },
            Template = new Panos.Inputs.IpsecCryptoProfileLocationTemplateArgs
            {
                Name = "string",
                NgfwDevice = "string",
                PanoramaDevice = "string",
            },
            TemplateStack = new Panos.Inputs.IpsecCryptoProfileLocationTemplateStackArgs
            {
                Name = "string",
                NgfwDevice = "string",
                PanoramaDevice = "string",
            },
        },
        Ah = new Panos.Inputs.IpsecCryptoProfileAhArgs
        {
            Authentications = new[]
            {
                "string",
            },
        },
        DhGroup = "string",
        Esp = new Panos.Inputs.IpsecCryptoProfileEspArgs
        {
            Authentications = new[]
            {
                "string",
            },
            Encryptions = new[]
            {
                "string",
            },
        },
        Lifesize = new Panos.Inputs.IpsecCryptoProfileLifesizeArgs
        {
            Gb = 0,
            Kb = 0,
            Mb = 0,
            Tb = 0,
        },
        Lifetime = new Panos.Inputs.IpsecCryptoProfileLifetimeArgs
        {
            Days = 0,
            Hours = 0,
            Minutes = 0,
            Seconds = 0,
        },
        Name = "string",
    });
    
    example, err := panos.NewIpsecCryptoProfile(ctx, "ipsecCryptoProfileResource", &panos.IpsecCryptoProfileArgs{
    	Location: &panos.IpsecCryptoProfileLocationArgs{
    		Ngfw: &panos.IpsecCryptoProfileLocationNgfwArgs{
    			NgfwDevice: pulumi.String("string"),
    		},
    		Template: &panos.IpsecCryptoProfileLocationTemplateArgs{
    			Name:           pulumi.String("string"),
    			NgfwDevice:     pulumi.String("string"),
    			PanoramaDevice: pulumi.String("string"),
    		},
    		TemplateStack: &panos.IpsecCryptoProfileLocationTemplateStackArgs{
    			Name:           pulumi.String("string"),
    			NgfwDevice:     pulumi.String("string"),
    			PanoramaDevice: pulumi.String("string"),
    		},
    	},
    	Ah: &panos.IpsecCryptoProfileAhArgs{
    		Authentications: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	DhGroup: pulumi.String("string"),
    	Esp: &panos.IpsecCryptoProfileEspArgs{
    		Authentications: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Encryptions: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	Lifesize: &panos.IpsecCryptoProfileLifesizeArgs{
    		Gb: pulumi.Float64(0),
    		Kb: pulumi.Float64(0),
    		Mb: pulumi.Float64(0),
    		Tb: pulumi.Float64(0),
    	},
    	Lifetime: &panos.IpsecCryptoProfileLifetimeArgs{
    		Days:    pulumi.Float64(0),
    		Hours:   pulumi.Float64(0),
    		Minutes: pulumi.Float64(0),
    		Seconds: pulumi.Float64(0),
    	},
    	Name: pulumi.String("string"),
    })
    
    var ipsecCryptoProfileResource = new IpsecCryptoProfile("ipsecCryptoProfileResource", IpsecCryptoProfileArgs.builder()
        .location(IpsecCryptoProfileLocationArgs.builder()
            .ngfw(IpsecCryptoProfileLocationNgfwArgs.builder()
                .ngfwDevice("string")
                .build())
            .template(IpsecCryptoProfileLocationTemplateArgs.builder()
                .name("string")
                .ngfwDevice("string")
                .panoramaDevice("string")
                .build())
            .templateStack(IpsecCryptoProfileLocationTemplateStackArgs.builder()
                .name("string")
                .ngfwDevice("string")
                .panoramaDevice("string")
                .build())
            .build())
        .ah(IpsecCryptoProfileAhArgs.builder()
            .authentications("string")
            .build())
        .dhGroup("string")
        .esp(IpsecCryptoProfileEspArgs.builder()
            .authentications("string")
            .encryptions("string")
            .build())
        .lifesize(IpsecCryptoProfileLifesizeArgs.builder()
            .gb(0)
            .kb(0)
            .mb(0)
            .tb(0)
            .build())
        .lifetime(IpsecCryptoProfileLifetimeArgs.builder()
            .days(0)
            .hours(0)
            .minutes(0)
            .seconds(0)
            .build())
        .name("string")
        .build());
    
    ipsec_crypto_profile_resource = panos.IpsecCryptoProfile("ipsecCryptoProfileResource",
        location={
            "ngfw": {
                "ngfw_device": "string",
            },
            "template": {
                "name": "string",
                "ngfw_device": "string",
                "panorama_device": "string",
            },
            "template_stack": {
                "name": "string",
                "ngfw_device": "string",
                "panorama_device": "string",
            },
        },
        ah={
            "authentications": ["string"],
        },
        dh_group="string",
        esp={
            "authentications": ["string"],
            "encryptions": ["string"],
        },
        lifesize={
            "gb": 0,
            "kb": 0,
            "mb": 0,
            "tb": 0,
        },
        lifetime={
            "days": 0,
            "hours": 0,
            "minutes": 0,
            "seconds": 0,
        },
        name="string")
    
    const ipsecCryptoProfileResource = new panos.IpsecCryptoProfile("ipsecCryptoProfileResource", {
        location: {
            ngfw: {
                ngfwDevice: "string",
            },
            template: {
                name: "string",
                ngfwDevice: "string",
                panoramaDevice: "string",
            },
            templateStack: {
                name: "string",
                ngfwDevice: "string",
                panoramaDevice: "string",
            },
        },
        ah: {
            authentications: ["string"],
        },
        dhGroup: "string",
        esp: {
            authentications: ["string"],
            encryptions: ["string"],
        },
        lifesize: {
            gb: 0,
            kb: 0,
            mb: 0,
            tb: 0,
        },
        lifetime: {
            days: 0,
            hours: 0,
            minutes: 0,
            seconds: 0,
        },
        name: "string",
    });
    
    type: panos:IpsecCryptoProfile
    properties:
        ah:
            authentications:
                - string
        dhGroup: string
        esp:
            authentications:
                - string
            encryptions:
                - string
        lifesize:
            gb: 0
            kb: 0
            mb: 0
            tb: 0
        lifetime:
            days: 0
            hours: 0
            minutes: 0
            seconds: 0
        location:
            ngfw:
                ngfwDevice: string
            template:
                name: string
                ngfwDevice: string
                panoramaDevice: string
            templateStack:
                name: string
                ngfwDevice: string
                panoramaDevice: string
        name: string
    

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

    location Property Map
    The location of this object.
    ah Property Map
    dhGroup String
    phase-2 DH group (PFS DH group)
    esp Property Map
    lifesize Property Map
    lifetime Property Map
    name String

    Outputs

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

    Get an existing IpsecCryptoProfile 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?: IpsecCryptoProfileState, opts?: CustomResourceOptions): IpsecCryptoProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ah: Optional[IpsecCryptoProfileAhArgs] = None,
            dh_group: Optional[str] = None,
            esp: Optional[IpsecCryptoProfileEspArgs] = None,
            lifesize: Optional[IpsecCryptoProfileLifesizeArgs] = None,
            lifetime: Optional[IpsecCryptoProfileLifetimeArgs] = None,
            location: Optional[IpsecCryptoProfileLocationArgs] = None,
            name: Optional[str] = None) -> IpsecCryptoProfile
    func GetIpsecCryptoProfile(ctx *Context, name string, id IDInput, state *IpsecCryptoProfileState, opts ...ResourceOption) (*IpsecCryptoProfile, error)
    public static IpsecCryptoProfile Get(string name, Input<string> id, IpsecCryptoProfileState? state, CustomResourceOptions? opts = null)
    public static IpsecCryptoProfile get(String name, Output<String> id, IpsecCryptoProfileState state, CustomResourceOptions options)
    resources:  _:    type: panos:IpsecCryptoProfile    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:
    ah Property Map
    dhGroup String
    phase-2 DH group (PFS DH group)
    esp Property Map
    lifesize Property Map
    lifetime Property Map
    location Property Map
    The location of this object.
    name String

    Supporting Types

    IpsecCryptoProfileAh, IpsecCryptoProfileAhArgs

    Authentications List<string>
    authentications List<String>
    authentications Sequence[str]
    authentications List<String>

    IpsecCryptoProfileEsp, IpsecCryptoProfileEspArgs

    Authentications List<string>
    Encryptions List<string>
    Authentications []string
    Encryptions []string
    authentications List<String>
    encryptions List<String>
    authentications string[]
    encryptions string[]
    authentications Sequence[str]
    encryptions Sequence[str]
    authentications List<String>
    encryptions List<String>

    IpsecCryptoProfileLifesize, IpsecCryptoProfileLifesizeArgs

    Gb double
    specify lifesize in gigabytes(GB)
    Kb double
    specify lifesize in kilobytes(KB)
    Mb double
    specify lifesize in megabytes(MB)
    Tb double
    specify lifesize in terabytes(TB)
    Gb float64
    specify lifesize in gigabytes(GB)
    Kb float64
    specify lifesize in kilobytes(KB)
    Mb float64
    specify lifesize in megabytes(MB)
    Tb float64
    specify lifesize in terabytes(TB)
    gb Double
    specify lifesize in gigabytes(GB)
    kb Double
    specify lifesize in kilobytes(KB)
    mb Double
    specify lifesize in megabytes(MB)
    tb Double
    specify lifesize in terabytes(TB)
    gb number
    specify lifesize in gigabytes(GB)
    kb number
    specify lifesize in kilobytes(KB)
    mb number
    specify lifesize in megabytes(MB)
    tb number
    specify lifesize in terabytes(TB)
    gb float
    specify lifesize in gigabytes(GB)
    kb float
    specify lifesize in kilobytes(KB)
    mb float
    specify lifesize in megabytes(MB)
    tb float
    specify lifesize in terabytes(TB)
    gb Number
    specify lifesize in gigabytes(GB)
    kb Number
    specify lifesize in kilobytes(KB)
    mb Number
    specify lifesize in megabytes(MB)
    tb Number
    specify lifesize in terabytes(TB)

    IpsecCryptoProfileLifetime, IpsecCryptoProfileLifetimeArgs

    Days double
    specify lifetime in days
    Hours double
    specify lifetime in hours
    Minutes double
    specify lifetime in minutes
    Seconds double
    specify lifetime in seconds
    Days float64
    specify lifetime in days
    Hours float64
    specify lifetime in hours
    Minutes float64
    specify lifetime in minutes
    Seconds float64
    specify lifetime in seconds
    days Double
    specify lifetime in days
    hours Double
    specify lifetime in hours
    minutes Double
    specify lifetime in minutes
    seconds Double
    specify lifetime in seconds
    days number
    specify lifetime in days
    hours number
    specify lifetime in hours
    minutes number
    specify lifetime in minutes
    seconds number
    specify lifetime in seconds
    days float
    specify lifetime in days
    hours float
    specify lifetime in hours
    minutes float
    specify lifetime in minutes
    seconds float
    specify lifetime in seconds
    days Number
    specify lifetime in days
    hours Number
    specify lifetime in hours
    minutes Number
    specify lifetime in minutes
    seconds Number
    specify lifetime in seconds

    IpsecCryptoProfileLocation, IpsecCryptoProfileLocationArgs

    Ngfw IpsecCryptoProfileLocationNgfw
    Located in a specific NGFW device
    Template IpsecCryptoProfileLocationTemplate
    Located in a specific template
    TemplateStack IpsecCryptoProfileLocationTemplateStack
    Located in a specific template stack
    Ngfw IpsecCryptoProfileLocationNgfw
    Located in a specific NGFW device
    Template IpsecCryptoProfileLocationTemplate
    Located in a specific template
    TemplateStack IpsecCryptoProfileLocationTemplateStack
    Located in a specific template stack
    ngfw IpsecCryptoProfileLocationNgfw
    Located in a specific NGFW device
    template IpsecCryptoProfileLocationTemplate
    Located in a specific template
    templateStack IpsecCryptoProfileLocationTemplateStack
    Located in a specific template stack
    ngfw IpsecCryptoProfileLocationNgfw
    Located in a specific NGFW device
    template IpsecCryptoProfileLocationTemplate
    Located in a specific template
    templateStack IpsecCryptoProfileLocationTemplateStack
    Located in a specific template stack
    ngfw IpsecCryptoProfileLocationNgfw
    Located in a specific NGFW device
    template IpsecCryptoProfileLocationTemplate
    Located in a specific template
    template_stack IpsecCryptoProfileLocationTemplateStack
    Located in a specific template stack
    ngfw Property Map
    Located in a specific NGFW device
    template Property Map
    Located in a specific template
    templateStack Property Map
    Located in a specific template stack

    IpsecCryptoProfileLocationNgfw, IpsecCryptoProfileLocationNgfwArgs

    NgfwDevice string
    The NGFW device
    NgfwDevice string
    The NGFW device
    ngfwDevice String
    The NGFW device
    ngfwDevice string
    The NGFW device
    ngfw_device str
    The NGFW device
    ngfwDevice String
    The NGFW device

    IpsecCryptoProfileLocationTemplate, IpsecCryptoProfileLocationTemplateArgs

    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

    IpsecCryptoProfileLocationTemplateStack, IpsecCryptoProfileLocationTemplateStackArgs

    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.
    panos logo
    panos 2.0.0 published on Tuesday, Apr 15, 2025 by paloaltonetworks