panos.IpsecCryptoProfile
Explore with Pulumi AI
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
Ipsec
Crypto Profile Location - The location of this object.
- Ah
Ipsec
Crypto Profile Ah - Dh
Group string - phase-2 DH group (PFS DH group)
- Esp
Ipsec
Crypto Profile Esp - Lifesize
Ipsec
Crypto Profile Lifesize - Lifetime
Ipsec
Crypto Profile Lifetime - Name string
- Location
Ipsec
Crypto Profile Location Args - The location of this object.
- Ah
Ipsec
Crypto Profile Ah Args - Dh
Group string - phase-2 DH group (PFS DH group)
- Esp
Ipsec
Crypto Profile Esp Args - Lifesize
Ipsec
Crypto Profile Lifesize Args - Lifetime
Ipsec
Crypto Profile Lifetime Args - Name string
- location
Ipsec
Crypto Profile Location - The location of this object.
- ah
Ipsec
Crypto Profile Ah - dh
Group String - phase-2 DH group (PFS DH group)
- esp
Ipsec
Crypto Profile Esp - lifesize
Ipsec
Crypto Profile Lifesize - lifetime
Ipsec
Crypto Profile Lifetime - name String
- location
Ipsec
Crypto Profile Location - The location of this object.
- ah
Ipsec
Crypto Profile Ah - dh
Group string - phase-2 DH group (PFS DH group)
- esp
Ipsec
Crypto Profile Esp - lifesize
Ipsec
Crypto Profile Lifesize - lifetime
Ipsec
Crypto Profile Lifetime - name string
- location
Ipsec
Crypto Profile Location Args - The location of this object.
- ah
Ipsec
Crypto Profile Ah Args - dh_
group str - phase-2 DH group (PFS DH group)
- esp
Ipsec
Crypto Profile Esp Args - lifesize
Ipsec
Crypto Profile Lifesize Args - lifetime
Ipsec
Crypto Profile Lifetime Args - name str
- location Property Map
- The location of this object.
- ah Property Map
- dh
Group 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.
- Ah
Ipsec
Crypto Profile Ah - Dh
Group string - phase-2 DH group (PFS DH group)
- Esp
Ipsec
Crypto Profile Esp - Lifesize
Ipsec
Crypto Profile Lifesize - Lifetime
Ipsec
Crypto Profile Lifetime - Location
Ipsec
Crypto Profile Location - The location of this object.
- Name string
- Ah
Ipsec
Crypto Profile Ah Args - Dh
Group string - phase-2 DH group (PFS DH group)
- Esp
Ipsec
Crypto Profile Esp Args - Lifesize
Ipsec
Crypto Profile Lifesize Args - Lifetime
Ipsec
Crypto Profile Lifetime Args - Location
Ipsec
Crypto Profile Location Args - The location of this object.
- Name string
- ah
Ipsec
Crypto Profile Ah - dh
Group String - phase-2 DH group (PFS DH group)
- esp
Ipsec
Crypto Profile Esp - lifesize
Ipsec
Crypto Profile Lifesize - lifetime
Ipsec
Crypto Profile Lifetime - location
Ipsec
Crypto Profile Location - The location of this object.
- name String
- ah
Ipsec
Crypto Profile Ah - dh
Group string - phase-2 DH group (PFS DH group)
- esp
Ipsec
Crypto Profile Esp - lifesize
Ipsec
Crypto Profile Lifesize - lifetime
Ipsec
Crypto Profile Lifetime - location
Ipsec
Crypto Profile Location - The location of this object.
- name string
- ah
Ipsec
Crypto Profile Ah Args - dh_
group str - phase-2 DH group (PFS DH group)
- esp
Ipsec
Crypto Profile Esp Args - lifesize
Ipsec
Crypto Profile Lifesize Args - lifetime
Ipsec
Crypto Profile Lifetime Args - location
Ipsec
Crypto Profile Location Args - The location of this object.
- name str
- ah Property Map
- dh
Group 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
Ipsec
Crypto Profile Location Ngfw - Located in a specific NGFW device
- Template
Ipsec
Crypto Profile Location Template - Located in a specific template
- Template
Stack IpsecCrypto Profile Location Template Stack - Located in a specific template stack
- Ngfw
Ipsec
Crypto Profile Location Ngfw - Located in a specific NGFW device
- Template
Ipsec
Crypto Profile Location Template - Located in a specific template
- Template
Stack IpsecCrypto Profile Location Template Stack - Located in a specific template stack
- ngfw
Ipsec
Crypto Profile Location Ngfw - Located in a specific NGFW device
- template
Ipsec
Crypto Profile Location Template - Located in a specific template
- template
Stack IpsecCrypto Profile Location Template Stack - Located in a specific template stack
- ngfw
Ipsec
Crypto Profile Location Ngfw - Located in a specific NGFW device
- template
Ipsec
Crypto Profile Location Template - Located in a specific template
- template
Stack IpsecCrypto Profile Location Template Stack - Located in a specific template stack
- ngfw
Ipsec
Crypto Profile Location Ngfw - Located in a specific NGFW device
- template
Ipsec
Crypto 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
- template
Stack Property Map - Located in a specific template stack
IpsecCryptoProfileLocationNgfw, IpsecCryptoProfileLocationNgfwArgs
- Ngfw
Device string - The NGFW device
- Ngfw
Device string - The NGFW device
- ngfw
Device String - The NGFW device
- ngfw
Device string - The NGFW device
- ngfw_
device str - The NGFW device
- ngfw
Device String - The NGFW device
IpsecCryptoProfileLocationTemplate, IpsecCryptoProfileLocationTemplateArgs
- 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
IpsecCryptoProfileLocationTemplateStack, IpsecCryptoProfileLocationTemplateStackArgs
- 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
panos
Terraform Provider.