panos.IpsecCryptoProfile
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.0)
        .kb(0.0)
        .mb(0.0)
        .tb(0.0)
        .build())
    .lifetime(IpsecCryptoProfileLifetimeArgs.builder()
        .days(0.0)
        .hours(0.0)
        .minutes(0.0)
        .seconds(0.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
IpsecCrypto Profile Location 
- The location of this object.
- Ah
IpsecCrypto Profile Ah 
- DhGroup string
- phase-2 DH group (PFS DH group)
- Esp
IpsecCrypto Profile Esp 
- Lifesize
IpsecCrypto Profile Lifesize 
- Lifetime
IpsecCrypto Profile Lifetime 
- Name string
- Location
IpsecCrypto Profile Location Args 
- The location of this object.
- Ah
IpsecCrypto Profile Ah Args 
- DhGroup string
- phase-2 DH group (PFS DH group)
- Esp
IpsecCrypto Profile Esp Args 
- Lifesize
IpsecCrypto Profile Lifesize Args 
- Lifetime
IpsecCrypto Profile Lifetime Args 
- Name string
- location
IpsecCrypto Profile Location 
- The location of this object.
- ah
IpsecCrypto Profile Ah 
- dhGroup String
- phase-2 DH group (PFS DH group)
- esp
IpsecCrypto Profile Esp 
- lifesize
IpsecCrypto Profile Lifesize 
- lifetime
IpsecCrypto Profile Lifetime 
- name String
- location
IpsecCrypto Profile Location 
- The location of this object.
- ah
IpsecCrypto Profile Ah 
- dhGroup string
- phase-2 DH group (PFS DH group)
- esp
IpsecCrypto Profile Esp 
- lifesize
IpsecCrypto Profile Lifesize 
- lifetime
IpsecCrypto Profile Lifetime 
- name string
- location
IpsecCrypto Profile Location Args 
- The location of this object.
- ah
IpsecCrypto Profile Ah Args 
- dh_group str
- phase-2 DH group (PFS DH group)
- esp
IpsecCrypto Profile Esp Args 
- lifesize
IpsecCrypto Profile Lifesize Args 
- lifetime
IpsecCrypto Profile Lifetime Args 
- name str
- 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) -> IpsecCryptoProfilefunc 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.
- Ah
IpsecCrypto Profile Ah 
- DhGroup string
- phase-2 DH group (PFS DH group)
- Esp
IpsecCrypto Profile Esp 
- Lifesize
IpsecCrypto Profile Lifesize 
- Lifetime
IpsecCrypto Profile Lifetime 
- Location
IpsecCrypto Profile Location 
- The location of this object.
- Name string
- Ah
IpsecCrypto Profile Ah Args 
- DhGroup string
- phase-2 DH group (PFS DH group)
- Esp
IpsecCrypto Profile Esp Args 
- Lifesize
IpsecCrypto Profile Lifesize Args 
- Lifetime
IpsecCrypto Profile Lifetime Args 
- Location
IpsecCrypto Profile Location Args 
- The location of this object.
- Name string
- ah
IpsecCrypto Profile Ah 
- dhGroup String
- phase-2 DH group (PFS DH group)
- esp
IpsecCrypto Profile Esp 
- lifesize
IpsecCrypto Profile Lifesize 
- lifetime
IpsecCrypto Profile Lifetime 
- location
IpsecCrypto Profile Location 
- The location of this object.
- name String
- ah
IpsecCrypto Profile Ah 
- dhGroup string
- phase-2 DH group (PFS DH group)
- esp
IpsecCrypto Profile Esp 
- lifesize
IpsecCrypto Profile Lifesize 
- lifetime
IpsecCrypto Profile Lifetime 
- location
IpsecCrypto Profile Location 
- The location of this object.
- name string
- ah
IpsecCrypto Profile Ah Args 
- dh_group str
- phase-2 DH group (PFS DH group)
- esp
IpsecCrypto Profile Esp Args 
- lifesize
IpsecCrypto Profile Lifesize Args 
- lifetime
IpsecCrypto Profile Lifetime Args 
- location
IpsecCrypto Profile Location Args 
- The location of this object.
- name str
- 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 []string
- authentications List<String>
- authentications 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        
IpsecCryptoProfileLifetime, IpsecCryptoProfileLifetimeArgs        
IpsecCryptoProfileLocation, IpsecCryptoProfileLocationArgs        
- Ngfw
IpsecCrypto Profile Location Ngfw 
- Located in a specific NGFW device
- Template
IpsecCrypto Profile Location Template 
- Located in a specific template
- TemplateStack IpsecCrypto Profile Location Template Stack 
- Located in a specific template stack
- Ngfw
IpsecCrypto Profile Location Ngfw 
- Located in a specific NGFW device
- Template
IpsecCrypto Profile Location Template 
- Located in a specific template
- TemplateStack IpsecCrypto Profile Location Template Stack 
- Located in a specific template stack
- ngfw
IpsecCrypto Profile Location Ngfw 
- Located in a specific NGFW device
- template
IpsecCrypto Profile Location Template 
- Located in a specific template
- templateStack IpsecCrypto Profile Location Template Stack 
- Located in a specific template stack
- ngfw
IpsecCrypto Profile Location Ngfw 
- Located in a specific NGFW device
- template
IpsecCrypto Profile Location Template 
- Located in a specific template
- templateStack IpsecCrypto Profile Location Template Stack 
- Located in a specific template stack
- ngfw
IpsecCrypto Profile Location Ngfw 
- Located in a specific NGFW device
- template
IpsecCrypto Profile Location Template 
- Located in a specific template
- template_stack IpsecCrypto Profile Location Template Stack 
- 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 panosTerraform Provider.
