1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. SystemCertificateCrl
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.SystemCertificateCrl

Explore with Pulumi AI

Certificate Revocation List.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trname = new fortimanager.SystemCertificateCrl("trname", {comment: "terraform-comment"});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.SystemCertificateCrl("trname", comment="terraform-comment")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fortimanager.NewSystemCertificateCrl(ctx, "trname", &fortimanager.SystemCertificateCrlArgs{
			Comment: pulumi.String("terraform-comment"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trname = new Fortimanager.SystemCertificateCrl("trname", new()
    {
        Comment = "terraform-comment",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.SystemCertificateCrl;
import com.pulumi.fortimanager.SystemCertificateCrlArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var trname = new SystemCertificateCrl("trname", SystemCertificateCrlArgs.builder()
            .comment("terraform-comment")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:SystemCertificateCrl
    properties:
      comment: terraform-comment
Copy

Create SystemCertificateCrl Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new SystemCertificateCrl(name: string, args?: SystemCertificateCrlArgs, opts?: CustomResourceOptions);
@overload
def SystemCertificateCrl(resource_name: str,
                         args: Optional[SystemCertificateCrlArgs] = None,
                         opts: Optional[ResourceOptions] = None)

@overload
def SystemCertificateCrl(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         comment: Optional[str] = None,
                         crls: Optional[Sequence[str]] = None,
                         http_url: Optional[str] = None,
                         name: Optional[str] = None,
                         system_certificate_crl_id: Optional[str] = None,
                         update_interval: Optional[float] = None)
func NewSystemCertificateCrl(ctx *Context, name string, args *SystemCertificateCrlArgs, opts ...ResourceOption) (*SystemCertificateCrl, error)
public SystemCertificateCrl(string name, SystemCertificateCrlArgs? args = null, CustomResourceOptions? opts = null)
public SystemCertificateCrl(String name, SystemCertificateCrlArgs args)
public SystemCertificateCrl(String name, SystemCertificateCrlArgs args, CustomResourceOptions options)
type: fortimanager:SystemCertificateCrl
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args SystemCertificateCrlArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args SystemCertificateCrlArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args SystemCertificateCrlArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args SystemCertificateCrlArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SystemCertificateCrlArgs
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 systemCertificateCrlResource = new Fortimanager.SystemCertificateCrl("systemCertificateCrlResource", new()
{
    Comment = "string",
    Crls = new[]
    {
        "string",
    },
    HttpUrl = "string",
    Name = "string",
    SystemCertificateCrlId = "string",
    UpdateInterval = 0,
});
Copy
example, err := fortimanager.NewSystemCertificateCrl(ctx, "systemCertificateCrlResource", &fortimanager.SystemCertificateCrlArgs{
Comment: pulumi.String("string"),
Crls: pulumi.StringArray{
pulumi.String("string"),
},
HttpUrl: pulumi.String("string"),
Name: pulumi.String("string"),
SystemCertificateCrlId: pulumi.String("string"),
UpdateInterval: pulumi.Float64(0),
})
Copy
var systemCertificateCrlResource = new SystemCertificateCrl("systemCertificateCrlResource", SystemCertificateCrlArgs.builder()
    .comment("string")
    .crls("string")
    .httpUrl("string")
    .name("string")
    .systemCertificateCrlId("string")
    .updateInterval(0)
    .build());
Copy
system_certificate_crl_resource = fortimanager.SystemCertificateCrl("systemCertificateCrlResource",
    comment="string",
    crls=["string"],
    http_url="string",
    name="string",
    system_certificate_crl_id="string",
    update_interval=0)
Copy
const systemCertificateCrlResource = new fortimanager.SystemCertificateCrl("systemCertificateCrlResource", {
    comment: "string",
    crls: ["string"],
    httpUrl: "string",
    name: "string",
    systemCertificateCrlId: "string",
    updateInterval: 0,
});
Copy
type: fortimanager:SystemCertificateCrl
properties:
    comment: string
    crls:
        - string
    httpUrl: string
    name: string
    systemCertificateCrlId: string
    updateInterval: 0
Copy

SystemCertificateCrl 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 SystemCertificateCrl resource accepts the following input properties:

Comment string
Comment of this Certificate Revocation List.
Crls List<string>
Certificate Revocation List.
HttpUrl string
HTTP server URL for CRL auto-update
Name string
Name.
SystemCertificateCrlId string
an identifier for the resource with format {{name}}.
UpdateInterval double
CRL auto-update interval (in minutes)
Comment string
Comment of this Certificate Revocation List.
Crls []string
Certificate Revocation List.
HttpUrl string
HTTP server URL for CRL auto-update
Name string
Name.
SystemCertificateCrlId string
an identifier for the resource with format {{name}}.
UpdateInterval float64
CRL auto-update interval (in minutes)
comment String
Comment of this Certificate Revocation List.
crls List<String>
Certificate Revocation List.
httpUrl String
HTTP server URL for CRL auto-update
name String
Name.
systemCertificateCrlId String
an identifier for the resource with format {{name}}.
updateInterval Double
CRL auto-update interval (in minutes)
comment string
Comment of this Certificate Revocation List.
crls string[]
Certificate Revocation List.
httpUrl string
HTTP server URL for CRL auto-update
name string
Name.
systemCertificateCrlId string
an identifier for the resource with format {{name}}.
updateInterval number
CRL auto-update interval (in minutes)
comment str
Comment of this Certificate Revocation List.
crls Sequence[str]
Certificate Revocation List.
http_url str
HTTP server URL for CRL auto-update
name str
Name.
system_certificate_crl_id str
an identifier for the resource with format {{name}}.
update_interval float
CRL auto-update interval (in minutes)
comment String
Comment of this Certificate Revocation List.
crls List<String>
Certificate Revocation List.
httpUrl String
HTTP server URL for CRL auto-update
name String
Name.
systemCertificateCrlId String
an identifier for the resource with format {{name}}.
updateInterval Number
CRL auto-update interval (in minutes)

Outputs

All input properties are implicitly available as output properties. Additionally, the SystemCertificateCrl 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 SystemCertificateCrl Resource

Get an existing SystemCertificateCrl 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?: SystemCertificateCrlState, opts?: CustomResourceOptions): SystemCertificateCrl
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        comment: Optional[str] = None,
        crls: Optional[Sequence[str]] = None,
        http_url: Optional[str] = None,
        name: Optional[str] = None,
        system_certificate_crl_id: Optional[str] = None,
        update_interval: Optional[float] = None) -> SystemCertificateCrl
func GetSystemCertificateCrl(ctx *Context, name string, id IDInput, state *SystemCertificateCrlState, opts ...ResourceOption) (*SystemCertificateCrl, error)
public static SystemCertificateCrl Get(string name, Input<string> id, SystemCertificateCrlState? state, CustomResourceOptions? opts = null)
public static SystemCertificateCrl get(String name, Output<String> id, SystemCertificateCrlState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:SystemCertificateCrl    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Comment string
Comment of this Certificate Revocation List.
Crls List<string>
Certificate Revocation List.
HttpUrl string
HTTP server URL for CRL auto-update
Name string
Name.
SystemCertificateCrlId string
an identifier for the resource with format {{name}}.
UpdateInterval double
CRL auto-update interval (in minutes)
Comment string
Comment of this Certificate Revocation List.
Crls []string
Certificate Revocation List.
HttpUrl string
HTTP server URL for CRL auto-update
Name string
Name.
SystemCertificateCrlId string
an identifier for the resource with format {{name}}.
UpdateInterval float64
CRL auto-update interval (in minutes)
comment String
Comment of this Certificate Revocation List.
crls List<String>
Certificate Revocation List.
httpUrl String
HTTP server URL for CRL auto-update
name String
Name.
systemCertificateCrlId String
an identifier for the resource with format {{name}}.
updateInterval Double
CRL auto-update interval (in minutes)
comment string
Comment of this Certificate Revocation List.
crls string[]
Certificate Revocation List.
httpUrl string
HTTP server URL for CRL auto-update
name string
Name.
systemCertificateCrlId string
an identifier for the resource with format {{name}}.
updateInterval number
CRL auto-update interval (in minutes)
comment str
Comment of this Certificate Revocation List.
crls Sequence[str]
Certificate Revocation List.
http_url str
HTTP server URL for CRL auto-update
name str
Name.
system_certificate_crl_id str
an identifier for the resource with format {{name}}.
update_interval float
CRL auto-update interval (in minutes)
comment String
Comment of this Certificate Revocation List.
crls List<String>
Certificate Revocation List.
httpUrl String
HTTP server URL for CRL auto-update
name String
Name.
systemCertificateCrlId String
an identifier for the resource with format {{name}}.
updateInterval Number
CRL auto-update interval (in minutes)

Import

System CertificateCrl can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/systemCertificateCrl:SystemCertificateCrl labelname {{name}}
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.