1. Packages
  2. Fortios
  3. API Docs
  4. certificate
  5. Crl
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.certificate.Crl

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    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)
    public Crl(String name, CrlArgs args)
    public Crl(String name, CrlArgs args, CustomResourceOptions options)
    
    type: fortios:certificate: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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var crlResource = new Fortios.Certificate.RevocationList("crlResource", new()
    {
        Crl = "string",
        HttpUrl = "string",
        LastUpdated = 0,
        LdapPassword = "string",
        LdapServer = "string",
        LdapUsername = "string",
        Name = "string",
        Range = "string",
        ScepCert = "string",
        ScepUrl = "string",
        Source = "string",
        SourceIp = "string",
        UpdateInterval = 0,
        UpdateVdom = "string",
        Vdomparam = "string",
    });
    
    example, err := certificate.NewCrl(ctx, "crlResource", &certificate.CrlArgs{
    	Crl:            pulumi.String("string"),
    	HttpUrl:        pulumi.String("string"),
    	LastUpdated:    pulumi.Int(0),
    	LdapPassword:   pulumi.String("string"),
    	LdapServer:     pulumi.String("string"),
    	LdapUsername:   pulumi.String("string"),
    	Name:           pulumi.String("string"),
    	Range:          pulumi.String("string"),
    	ScepCert:       pulumi.String("string"),
    	ScepUrl:        pulumi.String("string"),
    	Source:         pulumi.String("string"),
    	SourceIp:       pulumi.String("string"),
    	UpdateInterval: pulumi.Int(0),
    	UpdateVdom:     pulumi.String("string"),
    	Vdomparam:      pulumi.String("string"),
    })
    
    var crlResource = new Crl("crlResource", CrlArgs.builder()
        .crl("string")
        .httpUrl("string")
        .lastUpdated(0)
        .ldapPassword("string")
        .ldapServer("string")
        .ldapUsername("string")
        .name("string")
        .range("string")
        .scepCert("string")
        .scepUrl("string")
        .source("string")
        .sourceIp("string")
        .updateInterval(0)
        .updateVdom("string")
        .vdomparam("string")
        .build());
    
    crl_resource = fortios.certificate.Crl("crlResource",
        crl="string",
        http_url="string",
        last_updated=0,
        ldap_password="string",
        ldap_server="string",
        ldap_username="string",
        name="string",
        range="string",
        scep_cert="string",
        scep_url="string",
        source="string",
        source_ip="string",
        update_interval=0,
        update_vdom="string",
        vdomparam="string")
    
    const crlResource = new fortios.certificate.Crl("crlResource", {
        crl: "string",
        httpUrl: "string",
        lastUpdated: 0,
        ldapPassword: "string",
        ldapServer: "string",
        ldapUsername: "string",
        name: "string",
        range: "string",
        scepCert: "string",
        scepUrl: "string",
        source: "string",
        sourceIp: "string",
        updateInterval: 0,
        updateVdom: "string",
        vdomparam: "string",
    });
    
    type: fortios:certificate:Crl
    properties:
        crl: string
        httpUrl: string
        lastUpdated: 0
        ldapPassword: string
        ldapServer: string
        ldapUsername: string
        name: string
        range: string
        scepCert: string
        scepUrl: string
        source: string
        sourceIp: string
        updateInterval: 0
        updateVdom: string
        vdomparam: string
    

    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

    The Crl resource accepts the following input properties:

    Crl string
    Certificate Revocation List as a PEM file.
    HttpUrl string
    HTTP server URL for CRL auto-update.
    LastUpdated int
    Time at which CRL was last updated.
    LdapPassword string
    LDAP server user password.
    LdapServer string
    LDAP server name for CRL auto-update.
    LdapUsername string
    LDAP server user name.
    Name string
    Name.
    Range string
    Either global or VDOM IP address range for the certificate. Valid values: global, vdom.
    ScepCert string
    Local certificate for SCEP communication for CRL auto-update.
    ScepUrl string
    SCEP server URL for CRL auto-update.
    Source string
    Certificate source type.
    SourceIp string
    Source IP address for communications to a HTTP or SCEP CA server.
    UpdateInterval int
    Time in seconds before the FortiGate checks for an updated CRL. Set to 0 to update only when it expires.
    UpdateVdom 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.
    HttpUrl string
    HTTP server URL for CRL auto-update.
    LastUpdated int
    Time at which CRL was last updated.
    LdapPassword string
    LDAP server user password.
    LdapServer string
    LDAP server name for CRL auto-update.
    LdapUsername string
    LDAP server user name.
    Name string
    Name.
    Range string
    Either global or VDOM IP address range for the certificate. Valid values: global, vdom.
    ScepCert string
    Local certificate for SCEP communication for CRL auto-update.
    ScepUrl string
    SCEP server URL for CRL auto-update.
    Source string
    Certificate source type.
    SourceIp string
    Source IP address for communications to a HTTP or SCEP CA server.
    UpdateInterval int
    Time in seconds before the FortiGate checks for an updated CRL. Set to 0 to update only when it expires.
    UpdateVdom 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.
    httpUrl String
    HTTP server URL for CRL auto-update.
    lastUpdated Integer
    Time at which CRL was last updated.
    ldapPassword String
    LDAP server user password.
    ldapServer String
    LDAP server name for CRL auto-update.
    ldapUsername String
    LDAP server user name.
    name String
    Name.
    range String
    Either global or VDOM IP address range for the certificate. Valid values: global, vdom.
    scepCert String
    Local certificate for SCEP communication for CRL auto-update.
    scepUrl String
    SCEP server URL for CRL auto-update.
    source String
    Certificate source type.
    sourceIp String
    Source IP address for communications to a HTTP or SCEP CA server.
    updateInterval Integer
    Time in seconds before the FortiGate checks for an updated CRL. Set to 0 to update only when it expires.
    updateVdom 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.
    httpUrl string
    HTTP server URL for CRL auto-update.
    lastUpdated number
    Time at which CRL was last updated.
    ldapPassword string
    LDAP server user password.
    ldapServer string
    LDAP server name for CRL auto-update.
    ldapUsername string
    LDAP server user name.
    name string
    Name.
    range string
    Either global or VDOM IP address range for the certificate. Valid values: global, vdom.
    scepCert string
    Local certificate for SCEP communication for CRL auto-update.
    scepUrl string
    SCEP server URL for CRL auto-update.
    source string
    Certificate source type.
    sourceIp string
    Source IP address for communications to a HTTP or SCEP CA server.
    updateInterval number
    Time in seconds before the FortiGate checks for an updated CRL. Set to 0 to update only when it expires.
    updateVdom 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.
    httpUrl String
    HTTP server URL for CRL auto-update.
    lastUpdated Number
    Time at which CRL was last updated.
    ldapPassword String
    LDAP server user password.
    ldapServer String
    LDAP server name for CRL auto-update.
    ldapUsername String
    LDAP server user name.
    name String
    Name.
    range String
    Either global or VDOM IP address range for the certificate. Valid values: global, vdom.
    scepCert String
    Local certificate for SCEP communication for CRL auto-update.
    scepUrl String
    SCEP server URL for CRL auto-update.
    source String
    Certificate source type.
    sourceIp String
    Source IP address for communications to a HTTP or SCEP CA server.
    updateInterval Number
    Time in seconds before the FortiGate checks for an updated CRL. Set to 0 to update only when it expires.
    updateVdom 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.
    The following state arguments are supported:
    Crl string
    Certificate Revocation List as a PEM file.
    HttpUrl string
    HTTP server URL for CRL auto-update.
    LastUpdated int
    Time at which CRL was last updated.
    LdapPassword string
    LDAP server user password.
    LdapServer string
    LDAP server name for CRL auto-update.
    LdapUsername string
    LDAP server user name.
    Name string
    Name.
    Range string
    Either global or VDOM IP address range for the certificate. Valid values: global, vdom.
    ScepCert string
    Local certificate for SCEP communication for CRL auto-update.
    ScepUrl string
    SCEP server URL for CRL auto-update.
    Source string
    Certificate source type.
    SourceIp string
    Source IP address for communications to a HTTP or SCEP CA server.
    UpdateInterval int
    Time in seconds before the FortiGate checks for an updated CRL. Set to 0 to update only when it expires.
    UpdateVdom 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.
    HttpUrl string
    HTTP server URL for CRL auto-update.
    LastUpdated int
    Time at which CRL was last updated.
    LdapPassword string
    LDAP server user password.
    LdapServer string
    LDAP server name for CRL auto-update.
    LdapUsername string
    LDAP server user name.
    Name string
    Name.
    Range string
    Either global or VDOM IP address range for the certificate. Valid values: global, vdom.
    ScepCert string
    Local certificate for SCEP communication for CRL auto-update.
    ScepUrl string
    SCEP server URL for CRL auto-update.
    Source string
    Certificate source type.
    SourceIp string
    Source IP address for communications to a HTTP or SCEP CA server.
    UpdateInterval int
    Time in seconds before the FortiGate checks for an updated CRL. Set to 0 to update only when it expires.
    UpdateVdom 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.
    httpUrl String
    HTTP server URL for CRL auto-update.
    lastUpdated Integer
    Time at which CRL was last updated.
    ldapPassword String
    LDAP server user password.
    ldapServer String
    LDAP server name for CRL auto-update.
    ldapUsername String
    LDAP server user name.
    name String
    Name.
    range String
    Either global or VDOM IP address range for the certificate. Valid values: global, vdom.
    scepCert String
    Local certificate for SCEP communication for CRL auto-update.
    scepUrl String
    SCEP server URL for CRL auto-update.
    source String
    Certificate source type.
    sourceIp String
    Source IP address for communications to a HTTP or SCEP CA server.
    updateInterval Integer
    Time in seconds before the FortiGate checks for an updated CRL. Set to 0 to update only when it expires.
    updateVdom 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.
    httpUrl string
    HTTP server URL for CRL auto-update.
    lastUpdated number
    Time at which CRL was last updated.
    ldapPassword string
    LDAP server user password.
    ldapServer string
    LDAP server name for CRL auto-update.
    ldapUsername string
    LDAP server user name.
    name string
    Name.
    range string
    Either global or VDOM IP address range for the certificate. Valid values: global, vdom.
    scepCert string
    Local certificate for SCEP communication for CRL auto-update.
    scepUrl string
    SCEP server URL for CRL auto-update.
    source string
    Certificate source type.
    sourceIp string
    Source IP address for communications to a HTTP or SCEP CA server.
    updateInterval number
    Time in seconds before the FortiGate checks for an updated CRL. Set to 0 to update only when it expires.
    updateVdom 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.
    httpUrl String
    HTTP server URL for CRL auto-update.
    lastUpdated Number
    Time at which CRL was last updated.
    ldapPassword String
    LDAP server user password.
    ldapServer String
    LDAP server name for CRL auto-update.
    ldapUsername String
    LDAP server user name.
    name String
    Name.
    range String
    Either global or VDOM IP address range for the certificate. Valid values: global, vdom.
    scepCert String
    Local certificate for SCEP communication for CRL auto-update.
    scepUrl String
    SCEP server URL for CRL auto-update.
    source String
    Certificate source type.
    sourceIp String
    Source IP address for communications to a HTTP or SCEP CA server.
    updateInterval Number
    Time in seconds before the FortiGate checks for an updated CRL. Set to 0 to update only when it expires.
    updateVdom 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

    Certificate Crl can be imported using any of these accepted formats:

    $ pulumi import fortios:certificate/crl:Crl labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios: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.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse