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

panos.IkeCryptoProfile

Explore with Pulumi AI

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

    Create IkeCryptoProfile Resource

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

    Constructor syntax

    new IkeCryptoProfile(name: string, args: IkeCryptoProfileArgs, opts?: CustomResourceOptions);
    @overload
    def IkeCryptoProfile(resource_name: str,
                         args: IkeCryptoProfileArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def IkeCryptoProfile(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         location: Optional[IkeCryptoProfileLocationArgs] = None,
                         authentication_multiple: Optional[float] = None,
                         dh_groups: Optional[Sequence[str]] = None,
                         encryptions: Optional[Sequence[str]] = None,
                         hashes: Optional[Sequence[str]] = None,
                         lifetime: Optional[IkeCryptoProfileLifetimeArgs] = None,
                         name: Optional[str] = None)
    func NewIkeCryptoProfile(ctx *Context, name string, args IkeCryptoProfileArgs, opts ...ResourceOption) (*IkeCryptoProfile, error)
    public IkeCryptoProfile(string name, IkeCryptoProfileArgs args, CustomResourceOptions? opts = null)
    public IkeCryptoProfile(String name, IkeCryptoProfileArgs args)
    public IkeCryptoProfile(String name, IkeCryptoProfileArgs args, CustomResourceOptions options)
    
    type: panos:IkeCryptoProfile
    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 IkeCryptoProfileArgs
    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 IkeCryptoProfileArgs
    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 IkeCryptoProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IkeCryptoProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IkeCryptoProfileArgs
    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 ikeCryptoProfileResource = new Panos.IkeCryptoProfile("ikeCryptoProfileResource", new()
    {
        Location = new Panos.Inputs.IkeCryptoProfileLocationArgs
        {
            Ngfw = new Panos.Inputs.IkeCryptoProfileLocationNgfwArgs
            {
                NgfwDevice = "string",
            },
            Template = new Panos.Inputs.IkeCryptoProfileLocationTemplateArgs
            {
                Name = "string",
                NgfwDevice = "string",
                PanoramaDevice = "string",
            },
            TemplateStack = new Panos.Inputs.IkeCryptoProfileLocationTemplateStackArgs
            {
                Name = "string",
                NgfwDevice = "string",
                PanoramaDevice = "string",
            },
        },
        AuthenticationMultiple = 0,
        DhGroups = new[]
        {
            "string",
        },
        Encryptions = new[]
        {
            "string",
        },
        Hashes = new[]
        {
            "string",
        },
        Lifetime = new Panos.Inputs.IkeCryptoProfileLifetimeArgs
        {
            Days = 0,
            Hours = 0,
            Minutes = 0,
            Seconds = 0,
        },
        Name = "string",
    });
    
    example, err := panos.NewIkeCryptoProfile(ctx, "ikeCryptoProfileResource", &panos.IkeCryptoProfileArgs{
    	Location: &panos.IkeCryptoProfileLocationArgs{
    		Ngfw: &panos.IkeCryptoProfileLocationNgfwArgs{
    			NgfwDevice: pulumi.String("string"),
    		},
    		Template: &panos.IkeCryptoProfileLocationTemplateArgs{
    			Name:           pulumi.String("string"),
    			NgfwDevice:     pulumi.String("string"),
    			PanoramaDevice: pulumi.String("string"),
    		},
    		TemplateStack: &panos.IkeCryptoProfileLocationTemplateStackArgs{
    			Name:           pulumi.String("string"),
    			NgfwDevice:     pulumi.String("string"),
    			PanoramaDevice: pulumi.String("string"),
    		},
    	},
    	AuthenticationMultiple: pulumi.Float64(0),
    	DhGroups: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Encryptions: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Hashes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Lifetime: &panos.IkeCryptoProfileLifetimeArgs{
    		Days:    pulumi.Float64(0),
    		Hours:   pulumi.Float64(0),
    		Minutes: pulumi.Float64(0),
    		Seconds: pulumi.Float64(0),
    	},
    	Name: pulumi.String("string"),
    })
    
    var ikeCryptoProfileResource = new IkeCryptoProfile("ikeCryptoProfileResource", IkeCryptoProfileArgs.builder()
        .location(IkeCryptoProfileLocationArgs.builder()
            .ngfw(IkeCryptoProfileLocationNgfwArgs.builder()
                .ngfwDevice("string")
                .build())
            .template(IkeCryptoProfileLocationTemplateArgs.builder()
                .name("string")
                .ngfwDevice("string")
                .panoramaDevice("string")
                .build())
            .templateStack(IkeCryptoProfileLocationTemplateStackArgs.builder()
                .name("string")
                .ngfwDevice("string")
                .panoramaDevice("string")
                .build())
            .build())
        .authenticationMultiple(0)
        .dhGroups("string")
        .encryptions("string")
        .hashes("string")
        .lifetime(IkeCryptoProfileLifetimeArgs.builder()
            .days(0)
            .hours(0)
            .minutes(0)
            .seconds(0)
            .build())
        .name("string")
        .build());
    
    ike_crypto_profile_resource = panos.IkeCryptoProfile("ikeCryptoProfileResource",
        location={
            "ngfw": {
                "ngfw_device": "string",
            },
            "template": {
                "name": "string",
                "ngfw_device": "string",
                "panorama_device": "string",
            },
            "template_stack": {
                "name": "string",
                "ngfw_device": "string",
                "panorama_device": "string",
            },
        },
        authentication_multiple=0,
        dh_groups=["string"],
        encryptions=["string"],
        hashes=["string"],
        lifetime={
            "days": 0,
            "hours": 0,
            "minutes": 0,
            "seconds": 0,
        },
        name="string")
    
    const ikeCryptoProfileResource = new panos.IkeCryptoProfile("ikeCryptoProfileResource", {
        location: {
            ngfw: {
                ngfwDevice: "string",
            },
            template: {
                name: "string",
                ngfwDevice: "string",
                panoramaDevice: "string",
            },
            templateStack: {
                name: "string",
                ngfwDevice: "string",
                panoramaDevice: "string",
            },
        },
        authenticationMultiple: 0,
        dhGroups: ["string"],
        encryptions: ["string"],
        hashes: ["string"],
        lifetime: {
            days: 0,
            hours: 0,
            minutes: 0,
            seconds: 0,
        },
        name: "string",
    });
    
    type: panos:IkeCryptoProfile
    properties:
        authenticationMultiple: 0
        dhGroups:
            - string
        encryptions:
            - string
        hashes:
            - string
        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
    

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

    Location IkeCryptoProfileLocation
    The location of this object.
    AuthenticationMultiple double
    IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
    DhGroups List<string>
    Encryptions List<string>
    Hashes List<string>
    Lifetime IkeCryptoProfileLifetime
    Name string
    Location IkeCryptoProfileLocationArgs
    The location of this object.
    AuthenticationMultiple float64
    IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
    DhGroups []string
    Encryptions []string
    Hashes []string
    Lifetime IkeCryptoProfileLifetimeArgs
    Name string
    location IkeCryptoProfileLocation
    The location of this object.
    authenticationMultiple Double
    IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
    dhGroups List<String>
    encryptions List<String>
    hashes List<String>
    lifetime IkeCryptoProfileLifetime
    name String
    location IkeCryptoProfileLocation
    The location of this object.
    authenticationMultiple number
    IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
    dhGroups string[]
    encryptions string[]
    hashes string[]
    lifetime IkeCryptoProfileLifetime
    name string
    location IkeCryptoProfileLocationArgs
    The location of this object.
    authentication_multiple float
    IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
    dh_groups Sequence[str]
    encryptions Sequence[str]
    hashes Sequence[str]
    lifetime IkeCryptoProfileLifetimeArgs
    name str
    location Property Map
    The location of this object.
    authenticationMultiple Number
    IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
    dhGroups List<String>
    encryptions List<String>
    hashes List<String>
    lifetime Property Map
    name String

    Outputs

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

    Get an existing IkeCryptoProfile 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?: IkeCryptoProfileState, opts?: CustomResourceOptions): IkeCryptoProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            authentication_multiple: Optional[float] = None,
            dh_groups: Optional[Sequence[str]] = None,
            encryptions: Optional[Sequence[str]] = None,
            hashes: Optional[Sequence[str]] = None,
            lifetime: Optional[IkeCryptoProfileLifetimeArgs] = None,
            location: Optional[IkeCryptoProfileLocationArgs] = None,
            name: Optional[str] = None) -> IkeCryptoProfile
    func GetIkeCryptoProfile(ctx *Context, name string, id IDInput, state *IkeCryptoProfileState, opts ...ResourceOption) (*IkeCryptoProfile, error)
    public static IkeCryptoProfile Get(string name, Input<string> id, IkeCryptoProfileState? state, CustomResourceOptions? opts = null)
    public static IkeCryptoProfile get(String name, Output<String> id, IkeCryptoProfileState state, CustomResourceOptions options)
    resources:  _:    type: panos:IkeCryptoProfile    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:
    AuthenticationMultiple double
    IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
    DhGroups List<string>
    Encryptions List<string>
    Hashes List<string>
    Lifetime IkeCryptoProfileLifetime
    Location IkeCryptoProfileLocation
    The location of this object.
    Name string
    AuthenticationMultiple float64
    IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
    DhGroups []string
    Encryptions []string
    Hashes []string
    Lifetime IkeCryptoProfileLifetimeArgs
    Location IkeCryptoProfileLocationArgs
    The location of this object.
    Name string
    authenticationMultiple Double
    IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
    dhGroups List<String>
    encryptions List<String>
    hashes List<String>
    lifetime IkeCryptoProfileLifetime
    location IkeCryptoProfileLocation
    The location of this object.
    name String
    authenticationMultiple number
    IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
    dhGroups string[]
    encryptions string[]
    hashes string[]
    lifetime IkeCryptoProfileLifetime
    location IkeCryptoProfileLocation
    The location of this object.
    name string
    authentication_multiple float
    IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
    dh_groups Sequence[str]
    encryptions Sequence[str]
    hashes Sequence[str]
    lifetime IkeCryptoProfileLifetimeArgs
    location IkeCryptoProfileLocationArgs
    The location of this object.
    name str
    authenticationMultiple Number
    IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
    dhGroups List<String>
    encryptions List<String>
    hashes List<String>
    lifetime Property Map
    location Property Map
    The location of this object.
    name String

    Supporting Types

    IkeCryptoProfileLifetime, IkeCryptoProfileLifetimeArgs

    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

    IkeCryptoProfileLocation, IkeCryptoProfileLocationArgs

    Ngfw IkeCryptoProfileLocationNgfw
    Located in a specific NGFW device
    Template IkeCryptoProfileLocationTemplate
    Located in a specific template
    TemplateStack IkeCryptoProfileLocationTemplateStack
    Located in a specific template stack
    Ngfw IkeCryptoProfileLocationNgfw
    Located in a specific NGFW device
    Template IkeCryptoProfileLocationTemplate
    Located in a specific template
    TemplateStack IkeCryptoProfileLocationTemplateStack
    Located in a specific template stack
    ngfw IkeCryptoProfileLocationNgfw
    Located in a specific NGFW device
    template IkeCryptoProfileLocationTemplate
    Located in a specific template
    templateStack IkeCryptoProfileLocationTemplateStack
    Located in a specific template stack
    ngfw IkeCryptoProfileLocationNgfw
    Located in a specific NGFW device
    template IkeCryptoProfileLocationTemplate
    Located in a specific template
    templateStack IkeCryptoProfileLocationTemplateStack
    Located in a specific template stack
    ngfw IkeCryptoProfileLocationNgfw
    Located in a specific NGFW device
    template IkeCryptoProfileLocationTemplate
    Located in a specific template
    template_stack IkeCryptoProfileLocationTemplateStack
    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

    IkeCryptoProfileLocationNgfw, IkeCryptoProfileLocationNgfwArgs

    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

    IkeCryptoProfileLocationTemplate, IkeCryptoProfileLocationTemplateArgs

    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

    IkeCryptoProfileLocationTemplateStack, IkeCryptoProfileLocationTemplateStackArgs

    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