fortios.vpn/certificate.Crl
Explore with Pulumi AI
Certificate Revocation List as a PEM file.
Create Crl Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Crl(name: string, args?: CrlArgs, opts?: CustomResourceOptions);
@overload
def Crl(resource_name: str,
args: Optional[CrlArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Crl(resource_name: str,
opts: Optional[ResourceOptions] = None,
crl: Optional[str] = None,
http_url: Optional[str] = None,
last_updated: Optional[int] = None,
ldap_password: Optional[str] = None,
ldap_server: Optional[str] = None,
ldap_username: Optional[str] = None,
name: Optional[str] = None,
range: Optional[str] = None,
scep_cert: Optional[str] = None,
scep_url: Optional[str] = None,
source: Optional[str] = None,
source_ip: Optional[str] = None,
update_interval: Optional[int] = None,
update_vdom: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewCrl(ctx *Context, name string, args *CrlArgs, opts ...ResourceOption) (*Crl, error)
public Crl(string name, CrlArgs? args = null, CustomResourceOptions? opts = null)
type: fortios:vpn/certificate/crl:Crl
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 CrlArgs
- 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 CrlArgs
- 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 CrlArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CrlArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CrlArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Crl 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 Crl resource accepts the following input properties:
- Crl string
- Certificate Revocation List as a PEM file.
- Http
Url string - HTTP server URL for CRL auto-update.
- Last
Updated int - Time at which CRL was last updated.
- Ldap
Password string - LDAP server user password.
- Ldap
Server string - LDAP server name for CRL auto-update.
- Ldap
Username string - LDAP server user name.
- Name string
- Name.
- Range string
- Either global or VDOM IP address range for the certificate. Valid values:
global
,vdom
. - Scep
Cert string - Local certificate for SCEP communication for CRL auto-update.
- Scep
Url string - SCEP server URL for CRL auto-update.
- Source string
- Certificate source type.
- Source
Ip string - Source IP address for communications to a HTTP or SCEP CA server.
- Update
Interval int - Time in seconds before the FortiGate checks for an updated CRL. Set to 0 to update only when it expires.
- Update
Vdom string - VDOM for CRL update.
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Crl string
- Certificate Revocation List as a PEM file.
- Http
Url string - HTTP server URL for CRL auto-update.
- Last
Updated int - Time at which CRL was last updated.
- Ldap
Password string - LDAP server user password.
- Ldap
Server string - LDAP server name for CRL auto-update.
- Ldap
Username string - LDAP server user name.
- Name string
- Name.
- Range string
- Either global or VDOM IP address range for the certificate. Valid values:
global
,vdom
. - Scep
Cert string - Local certificate for SCEP communication for CRL auto-update.
- Scep
Url string - SCEP server URL for CRL auto-update.
- Source string
- Certificate source type.
- Source
Ip string - Source IP address for communications to a HTTP or SCEP CA server.
- Update
Interval int - Time in seconds before the FortiGate checks for an updated CRL. Set to 0 to update only when it expires.
- Update
Vdom string - VDOM for CRL update.
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- crl String
- Certificate Revocation List as a PEM file.
- http
Url String - HTTP server URL for CRL auto-update.
- last
Updated Integer - Time at which CRL was last updated.
- ldap
Password String - LDAP server user password.
- ldap
Server String - LDAP server name for CRL auto-update.
- ldap
Username String - LDAP server user name.
- name String
- Name.
- range String
- Either global or VDOM IP address range for the certificate. Valid values:
global
,vdom
. - scep
Cert String - Local certificate for SCEP communication for CRL auto-update.
- scep
Url String - SCEP server URL for CRL auto-update.
- source String
- Certificate source type.
- source
Ip String - Source IP address for communications to a HTTP or SCEP CA server.
- update
Interval Integer - Time in seconds before the FortiGate checks for an updated CRL. Set to 0 to update only when it expires.
- update
Vdom String - VDOM for CRL update.
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- crl string
- Certificate Revocation List as a PEM file.
- http
Url string - HTTP server URL for CRL auto-update.
- last
Updated number - Time at which CRL was last updated.
- ldap
Password string - LDAP server user password.
- ldap
Server string - LDAP server name for CRL auto-update.
- ldap
Username string - LDAP server user name.
- name string
- Name.
- range string
- Either global or VDOM IP address range for the certificate. Valid values:
global
,vdom
. - scep
Cert string - Local certificate for SCEP communication for CRL auto-update.
- scep
Url string - SCEP server URL for CRL auto-update.
- source string
- Certificate source type.
- source
Ip string - Source IP address for communications to a HTTP or SCEP CA server.
- update
Interval number - Time in seconds before the FortiGate checks for an updated CRL. Set to 0 to update only when it expires.
- update
Vdom string - VDOM for CRL update.
- vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- crl str
- Certificate Revocation List as a PEM file.
- http_
url str - HTTP server URL for CRL auto-update.
- last_
updated int - Time at which CRL was last updated.
- ldap_
password str - LDAP server user password.
- ldap_
server str - LDAP server name for CRL auto-update.
- ldap_
username str - LDAP server user name.
- name str
- Name.
- range str
- Either global or VDOM IP address range for the certificate. Valid values:
global
,vdom
. - scep_
cert str - Local certificate for SCEP communication for CRL auto-update.
- scep_
url str - SCEP server URL for CRL auto-update.
- source str
- Certificate source type.
- source_
ip str - Source IP address for communications to a HTTP or SCEP CA server.
- update_
interval int - Time in seconds before the FortiGate checks for an updated CRL. Set to 0 to update only when it expires.
- update_
vdom str - VDOM for CRL update.
- vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- crl String
- Certificate Revocation List as a PEM file.
- http
Url String - HTTP server URL for CRL auto-update.
- last
Updated Number - Time at which CRL was last updated.
- ldap
Password String - LDAP server user password.
- ldap
Server String - LDAP server name for CRL auto-update.
- ldap
Username String - LDAP server user name.
- name String
- Name.
- range String
- Either global or VDOM IP address range for the certificate. Valid values:
global
,vdom
. - scep
Cert String - Local certificate for SCEP communication for CRL auto-update.
- scep
Url String - SCEP server URL for CRL auto-update.
- source String
- Certificate source type.
- source
Ip String - Source IP address for communications to a HTTP or SCEP CA server.
- update
Interval Number - Time in seconds before the FortiGate checks for an updated CRL. Set to 0 to update only when it expires.
- update
Vdom String - VDOM for CRL update.
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Outputs
All input properties are implicitly available as output properties. Additionally, the Crl 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 Crl Resource
Get an existing Crl 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?: CrlState, opts?: CustomResourceOptions): Crl
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
crl: Optional[str] = None,
http_url: Optional[str] = None,
last_updated: Optional[int] = None,
ldap_password: Optional[str] = None,
ldap_server: Optional[str] = None,
ldap_username: Optional[str] = None,
name: Optional[str] = None,
range: Optional[str] = None,
scep_cert: Optional[str] = None,
scep_url: Optional[str] = None,
source: Optional[str] = None,
source_ip: Optional[str] = None,
update_interval: Optional[int] = None,
update_vdom: Optional[str] = None,
vdomparam: Optional[str] = None) -> Crl
func GetCrl(ctx *Context, name string, id IDInput, state *CrlState, opts ...ResourceOption) (*Crl, error)
public static Crl Get(string name, Input<string> id, CrlState? state, CustomResourceOptions? opts = null)
public static Crl get(String name, Output<String> id, CrlState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Crl string
- Certificate Revocation List as a PEM file.
- Http
Url string - HTTP server URL for CRL auto-update.
- Last
Updated int - Time at which CRL was last updated.
- Ldap
Password string - LDAP server user password.
- Ldap
Server string - LDAP server name for CRL auto-update.
- Ldap
Username string - LDAP server user name.
- Name string
- Name.
- Range string
- Either global or VDOM IP address range for the certificate. Valid values:
global
,vdom
. - Scep
Cert string - Local certificate for SCEP communication for CRL auto-update.
- Scep
Url string - SCEP server URL for CRL auto-update.
- Source string
- Certificate source type.
- Source
Ip string - Source IP address for communications to a HTTP or SCEP CA server.
- Update
Interval int - Time in seconds before the FortiGate checks for an updated CRL. Set to 0 to update only when it expires.
- Update
Vdom string - VDOM for CRL update.
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Crl string
- Certificate Revocation List as a PEM file.
- Http
Url string - HTTP server URL for CRL auto-update.
- Last
Updated int - Time at which CRL was last updated.
- Ldap
Password string - LDAP server user password.
- Ldap
Server string - LDAP server name for CRL auto-update.
- Ldap
Username string - LDAP server user name.
- Name string
- Name.
- Range string
- Either global or VDOM IP address range for the certificate. Valid values:
global
,vdom
. - Scep
Cert string - Local certificate for SCEP communication for CRL auto-update.
- Scep
Url string - SCEP server URL for CRL auto-update.
- Source string
- Certificate source type.
- Source
Ip string - Source IP address for communications to a HTTP or SCEP CA server.
- Update
Interval int - Time in seconds before the FortiGate checks for an updated CRL. Set to 0 to update only when it expires.
- Update
Vdom string - VDOM for CRL update.
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- crl String
- Certificate Revocation List as a PEM file.
- http
Url String - HTTP server URL for CRL auto-update.
- last
Updated Integer - Time at which CRL was last updated.
- ldap
Password String - LDAP server user password.
- ldap
Server String - LDAP server name for CRL auto-update.
- ldap
Username String - LDAP server user name.
- name String
- Name.
- range String
- Either global or VDOM IP address range for the certificate. Valid values:
global
,vdom
. - scep
Cert String - Local certificate for SCEP communication for CRL auto-update.
- scep
Url String - SCEP server URL for CRL auto-update.
- source String
- Certificate source type.
- source
Ip String - Source IP address for communications to a HTTP or SCEP CA server.
- update
Interval Integer - Time in seconds before the FortiGate checks for an updated CRL. Set to 0 to update only when it expires.
- update
Vdom String - VDOM for CRL update.
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- crl string
- Certificate Revocation List as a PEM file.
- http
Url string - HTTP server URL for CRL auto-update.
- last
Updated number - Time at which CRL was last updated.
- ldap
Password string - LDAP server user password.
- ldap
Server string - LDAP server name for CRL auto-update.
- ldap
Username string - LDAP server user name.
- name string
- Name.
- range string
- Either global or VDOM IP address range for the certificate. Valid values:
global
,vdom
. - scep
Cert string - Local certificate for SCEP communication for CRL auto-update.
- scep
Url string - SCEP server URL for CRL auto-update.
- source string
- Certificate source type.
- source
Ip string - Source IP address for communications to a HTTP or SCEP CA server.
- update
Interval number - Time in seconds before the FortiGate checks for an updated CRL. Set to 0 to update only when it expires.
- update
Vdom string - VDOM for CRL update.
- vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- crl str
- Certificate Revocation List as a PEM file.
- http_
url str - HTTP server URL for CRL auto-update.
- last_
updated int - Time at which CRL was last updated.
- ldap_
password str - LDAP server user password.
- ldap_
server str - LDAP server name for CRL auto-update.
- ldap_
username str - LDAP server user name.
- name str
- Name.
- range str
- Either global or VDOM IP address range for the certificate. Valid values:
global
,vdom
. - scep_
cert str - Local certificate for SCEP communication for CRL auto-update.
- scep_
url str - SCEP server URL for CRL auto-update.
- source str
- Certificate source type.
- source_
ip str - Source IP address for communications to a HTTP or SCEP CA server.
- update_
interval int - Time in seconds before the FortiGate checks for an updated CRL. Set to 0 to update only when it expires.
- update_
vdom str - VDOM for CRL update.
- vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- crl String
- Certificate Revocation List as a PEM file.
- http
Url String - HTTP server URL for CRL auto-update.
- last
Updated Number - Time at which CRL was last updated.
- ldap
Password String - LDAP server user password.
- ldap
Server String - LDAP server name for CRL auto-update.
- ldap
Username String - LDAP server user name.
- name String
- Name.
- range String
- Either global or VDOM IP address range for the certificate. Valid values:
global
,vdom
. - scep
Cert String - Local certificate for SCEP communication for CRL auto-update.
- scep
Url String - SCEP server URL for CRL auto-update.
- source String
- Certificate source type.
- source
Ip String - Source IP address for communications to a HTTP or SCEP CA server.
- update
Interval Number - Time in seconds before the FortiGate checks for an updated CRL. Set to 0 to update only when it expires.
- update
Vdom String - VDOM for CRL update.
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Import
VpnCertificate Crl can be imported using any of these accepted formats:
$ pulumi import fortios:vpn/certificate/crl:Crl labelname {{name}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:vpn/certificate/crl:Crl labelname {{name}}
$ unset “FORTIOS_IMPORT_TABLE”
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.