panos.IkeCryptoProfile
Explore with Pulumi AI
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
Ike
Crypto Profile Location - The location of this object.
- Authentication
Multiple double - IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
- Dh
Groups List<string> - Encryptions List<string>
- Hashes List<string>
- Lifetime
Ike
Crypto Profile Lifetime - Name string
- Location
Ike
Crypto Profile Location Args - The location of this object.
- Authentication
Multiple float64 - IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
- Dh
Groups []string - Encryptions []string
- Hashes []string
- Lifetime
Ike
Crypto Profile Lifetime Args - Name string
- location
Ike
Crypto Profile Location - The location of this object.
- authentication
Multiple Double - IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
- dh
Groups List<String> - encryptions List<String>
- hashes List<String>
- lifetime
Ike
Crypto Profile Lifetime - name String
- location
Ike
Crypto Profile Location - The location of this object.
- authentication
Multiple number - IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
- dh
Groups string[] - encryptions string[]
- hashes string[]
- lifetime
Ike
Crypto Profile Lifetime - name string
- location
Ike
Crypto Profile Location Args - 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
Ike
Crypto Profile Lifetime Args - name str
- location Property Map
- The location of this object.
- authentication
Multiple Number - IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
- dh
Groups 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.
- Authentication
Multiple double - IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
- Dh
Groups List<string> - Encryptions List<string>
- Hashes List<string>
- Lifetime
Ike
Crypto Profile Lifetime - Location
Ike
Crypto Profile Location - The location of this object.
- Name string
- Authentication
Multiple float64 - IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
- Dh
Groups []string - Encryptions []string
- Hashes []string
- Lifetime
Ike
Crypto Profile Lifetime Args - Location
Ike
Crypto Profile Location Args - The location of this object.
- Name string
- authentication
Multiple Double - IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
- dh
Groups List<String> - encryptions List<String>
- hashes List<String>
- lifetime
Ike
Crypto Profile Lifetime - location
Ike
Crypto Profile Location - The location of this object.
- name String
- authentication
Multiple number - IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
- dh
Groups string[] - encryptions string[]
- hashes string[]
- lifetime
Ike
Crypto Profile Lifetime - location
Ike
Crypto Profile Location - 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
Ike
Crypto Profile Lifetime Args - location
Ike
Crypto Profile Location Args - The location of this object.
- name str
- authentication
Multiple Number - IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled
- dh
Groups 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
IkeCryptoProfileLocation, IkeCryptoProfileLocationArgs
- Ngfw
Ike
Crypto Profile Location Ngfw - Located in a specific NGFW device
- Template
Ike
Crypto Profile Location Template - Located in a specific template
- Template
Stack IkeCrypto Profile Location Template Stack - Located in a specific template stack
- Ngfw
Ike
Crypto Profile Location Ngfw - Located in a specific NGFW device
- Template
Ike
Crypto Profile Location Template - Located in a specific template
- Template
Stack IkeCrypto Profile Location Template Stack - Located in a specific template stack
- ngfw
Ike
Crypto Profile Location Ngfw - Located in a specific NGFW device
- template
Ike
Crypto Profile Location Template - Located in a specific template
- template
Stack IkeCrypto Profile Location Template Stack - Located in a specific template stack
- ngfw
Ike
Crypto Profile Location Ngfw - Located in a specific NGFW device
- template
Ike
Crypto Profile Location Template - Located in a specific template
- template
Stack IkeCrypto Profile Location Template Stack - Located in a specific template stack
- ngfw
Ike
Crypto Profile Location Ngfw - Located in a specific NGFW device
- template
Ike
Crypto Profile Location Template - Located in a specific template
- template_
stack IkeCrypto 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
IkeCryptoProfileLocationNgfw, IkeCryptoProfileLocationNgfwArgs
- 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
IkeCryptoProfileLocationTemplate, IkeCryptoProfileLocationTemplateArgs
- 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
IkeCryptoProfileLocationTemplateStack, IkeCryptoProfileLocationTemplateStackArgs
- 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.