published on Tuesday, Nov 3, 2026 by edge-center
published on Tuesday, Nov 3, 2026 by edge-center
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as edgecenter from "@pulumi/edgecenter";
const exampleCom = new edgecenter.WebsecLecert("example_com", {resourceId: 12345});
import pulumi
import pulumi_edgecenter as edgecenter
example_com = edgecenter.WebsecLecert("example_com", resource_id=12345)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/edgecenter/edgecenter"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := edgecenter.NewWebsecLecert(ctx, "example_com", &edgecenter.WebsecLecertArgs{
ResourceId: pulumi.Float64(12345),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Edgecenter = Pulumi.Edgecenter;
return await Deployment.RunAsync(() =>
{
var exampleCom = new Edgecenter.WebsecLecert("example_com", new()
{
ResourceId = 12345,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.edgecenter.WebsecLecert;
import com.pulumi.edgecenter.WebsecLecertArgs;
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 exampleCom = new WebsecLecert("exampleCom", WebsecLecertArgs.builder()
.resourceId(12345.0)
.build());
}
}
resources:
exampleCom:
type: edgecenter:WebsecLecert
name: example_com
properties:
resourceId: 12345
Example coming soon!
Create WebsecLecert Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WebsecLecert(name: string, args: WebsecLecertArgs, opts?: CustomResourceOptions);@overload
def WebsecLecert(resource_name: str,
args: WebsecLecertArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WebsecLecert(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_id: Optional[float] = None,
cert_type: Optional[str] = None,
timeouts: Optional[WebsecLecertTimeoutsArgs] = None,
websec_lecert_id: Optional[str] = None)func NewWebsecLecert(ctx *Context, name string, args WebsecLecertArgs, opts ...ResourceOption) (*WebsecLecert, error)public WebsecLecert(string name, WebsecLecertArgs args, CustomResourceOptions? opts = null)
public WebsecLecert(String name, WebsecLecertArgs args)
public WebsecLecert(String name, WebsecLecertArgs args, CustomResourceOptions options)
type: edgecenter:WebsecLecert
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "edgecenter_websec_lecert" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args WebsecLecertArgs
- 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 WebsecLecertArgs
- 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 WebsecLecertArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WebsecLecertArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WebsecLecertArgs
- 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 websecLecertResource = new Edgecenter.WebsecLecert("websecLecertResource", new()
{
ResourceId = 0.0,
CertType = "string",
Timeouts = new Edgecenter.Inputs.WebsecLecertTimeoutsArgs
{
Create = "string",
Delete = "string",
},
WebsecLecertId = "string",
});
example, err := edgecenter.NewWebsecLecert(ctx, "websecLecertResource", &edgecenter.WebsecLecertArgs{
ResourceId: pulumi.Float64(0),
CertType: pulumi.String("string"),
Timeouts: &edgecenter.WebsecLecertTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
WebsecLecertId: pulumi.String("string"),
})
resource "edgecenter_websec_lecert" "websecLecertResource" {
lifecycle {
create_before_destroy = true
}
resource_id = 0
cert_type = "string"
_ {
timeouts = {
create = "string"
delete = "string"
}
}
websec_lecert_id = "string"
}
var websecLecertResource = new WebsecLecert("websecLecertResource", WebsecLecertArgs.builder()
.resourceId(0.0)
.certType("string")
.timeouts(WebsecLecertTimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.websecLecertId("string")
.build());
websec_lecert_resource = edgecenter.WebsecLecert("websecLecertResource",
resource_id=float(0),
cert_type="string",
timeouts={
"create": "string",
"delete": "string",
},
websec_lecert_id="string")
const websecLecertResource = new edgecenter.WebsecLecert("websecLecertResource", {
resourceId: 0,
certType: "string",
timeouts: {
create: "string",
"delete": "string",
},
websecLecertId: "string",
});
type: edgecenter:WebsecLecert
properties:
certType: string
resourceId: 0
timeouts:
create: string
delete: string
websecLecertId: string
WebsecLecert 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 WebsecLecert resource accepts the following input properties:
- Resource
Id double - ID of the
edgecenter.WebsecResourceto issue the certificate for. Changing it replaces the certificate. - Cert
Type string - ACME authority that issues the certificate:
LE(Let's Encrypt),MDDCorEC.MDDCandEChave to be enabled for the client, andMDDCis issued only for a resource without subdomains. Changing it replaces the certificate: the old one is revoked before the new request starts, so the site has no HTTPS until the new certificate is issued, and no certificate at all if the request fails.create_before_destroydoes not help because a resource cannot get a second automated certificate. The type is read from the status of the last issue request. When the API keeps no request for the resource, as for a certificate moved from the old protection API, an imported certificate counts asLE. Defaults toLE. - Timeouts
Websec
Lecert Timeouts - Websec
Lecert stringId - The ID of this resource.
- Resource
Id float64 - ID of the
edgecenter.WebsecResourceto issue the certificate for. Changing it replaces the certificate. - Cert
Type string - ACME authority that issues the certificate:
LE(Let's Encrypt),MDDCorEC.MDDCandEChave to be enabled for the client, andMDDCis issued only for a resource without subdomains. Changing it replaces the certificate: the old one is revoked before the new request starts, so the site has no HTTPS until the new certificate is issued, and no certificate at all if the request fails.create_before_destroydoes not help because a resource cannot get a second automated certificate. The type is read from the status of the last issue request. When the API keeps no request for the resource, as for a certificate moved from the old protection API, an imported certificate counts asLE. Defaults toLE. - Timeouts
Websec
Lecert Timeouts Args - Websec
Lecert stringId - The ID of this resource.
- resource_
id number - ID of the
edgecenter.WebsecResourceto issue the certificate for. Changing it replaces the certificate. - cert_
type string - ACME authority that issues the certificate:
LE(Let's Encrypt),MDDCorEC.MDDCandEChave to be enabled for the client, andMDDCis issued only for a resource without subdomains. Changing it replaces the certificate: the old one is revoked before the new request starts, so the site has no HTTPS until the new certificate is issued, and no certificate at all if the request fails.create_before_destroydoes not help because a resource cannot get a second automated certificate. The type is read from the status of the last issue request. When the API keeps no request for the resource, as for a certificate moved from the old protection API, an imported certificate counts asLE. Defaults toLE. - timeouts object
- websec_
lecert_ stringid - The ID of this resource.
- resource
Id Double - ID of the
edgecenter.WebsecResourceto issue the certificate for. Changing it replaces the certificate. - cert
Type String - ACME authority that issues the certificate:
LE(Let's Encrypt),MDDCorEC.MDDCandEChave to be enabled for the client, andMDDCis issued only for a resource without subdomains. Changing it replaces the certificate: the old one is revoked before the new request starts, so the site has no HTTPS until the new certificate is issued, and no certificate at all if the request fails.create_before_destroydoes not help because a resource cannot get a second automated certificate. The type is read from the status of the last issue request. When the API keeps no request for the resource, as for a certificate moved from the old protection API, an imported certificate counts asLE. Defaults toLE. - timeouts
Websec
Lecert Timeouts - websec
Lecert StringId - The ID of this resource.
- resource
Id number - ID of the
edgecenter.WebsecResourceto issue the certificate for. Changing it replaces the certificate. - cert
Type string - ACME authority that issues the certificate:
LE(Let's Encrypt),MDDCorEC.MDDCandEChave to be enabled for the client, andMDDCis issued only for a resource without subdomains. Changing it replaces the certificate: the old one is revoked before the new request starts, so the site has no HTTPS until the new certificate is issued, and no certificate at all if the request fails.create_before_destroydoes not help because a resource cannot get a second automated certificate. The type is read from the status of the last issue request. When the API keeps no request for the resource, as for a certificate moved from the old protection API, an imported certificate counts asLE. Defaults toLE. - timeouts
Websec
Lecert Timeouts - websec
Lecert stringId - The ID of this resource.
- resource_
id float - ID of the
edgecenter.WebsecResourceto issue the certificate for. Changing it replaces the certificate. - cert_
type str - ACME authority that issues the certificate:
LE(Let's Encrypt),MDDCorEC.MDDCandEChave to be enabled for the client, andMDDCis issued only for a resource without subdomains. Changing it replaces the certificate: the old one is revoked before the new request starts, so the site has no HTTPS until the new certificate is issued, and no certificate at all if the request fails.create_before_destroydoes not help because a resource cannot get a second automated certificate. The type is read from the status of the last issue request. When the API keeps no request for the resource, as for a certificate moved from the old protection API, an imported certificate counts asLE. Defaults toLE. - timeouts
Websec
Lecert Timeouts Args - websec_
lecert_ strid - The ID of this resource.
- resource
Id Number - ID of the
edgecenter.WebsecResourceto issue the certificate for. Changing it replaces the certificate. - cert
Type String - ACME authority that issues the certificate:
LE(Let's Encrypt),MDDCorEC.MDDCandEChave to be enabled for the client, andMDDCis issued only for a resource without subdomains. Changing it replaces the certificate: the old one is revoked before the new request starts, so the site has no HTTPS until the new certificate is issued, and no certificate at all if the request fails.create_before_destroydoes not help because a resource cannot get a second automated certificate. The type is read from the status of the last issue request. When the API keeps no request for the resource, as for a certificate moved from the old protection API, an imported certificate counts asLE. Defaults toLE. - timeouts Property Map
- websec
Lecert StringId - The ID of this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the WebsecLecert resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Issue
Error string - Error and details of that status, empty when the status carries none.
- Issue
Status string - Latest status of the last issue request:
PROCESSING,DONE,FAILED,CANCELLEDorFORBIDDEN. Empty when the request has no status yet or the API keeps no request for the resource. - Ssl
Certificate double - ID of the automated certificate attached to the resource, 0 until the first one is issued.
- Id string
- The provider-assigned unique ID for this managed resource.
- Issue
Error string - Error and details of that status, empty when the status carries none.
- Issue
Status string - Latest status of the last issue request:
PROCESSING,DONE,FAILED,CANCELLEDorFORBIDDEN. Empty when the request has no status yet or the API keeps no request for the resource. - Ssl
Certificate float64 - ID of the automated certificate attached to the resource, 0 until the first one is issued.
- id string
- The provider-assigned unique ID for this managed resource.
- issue_
error string - Error and details of that status, empty when the status carries none.
- issue_
status string - Latest status of the last issue request:
PROCESSING,DONE,FAILED,CANCELLEDorFORBIDDEN. Empty when the request has no status yet or the API keeps no request for the resource. - ssl_
certificate number - ID of the automated certificate attached to the resource, 0 until the first one is issued.
- id String
- The provider-assigned unique ID for this managed resource.
- issue
Error String - Error and details of that status, empty when the status carries none.
- issue
Status String - Latest status of the last issue request:
PROCESSING,DONE,FAILED,CANCELLEDorFORBIDDEN. Empty when the request has no status yet or the API keeps no request for the resource. - ssl
Certificate Double - ID of the automated certificate attached to the resource, 0 until the first one is issued.
- id string
- The provider-assigned unique ID for this managed resource.
- issue
Error string - Error and details of that status, empty when the status carries none.
- issue
Status string - Latest status of the last issue request:
PROCESSING,DONE,FAILED,CANCELLEDorFORBIDDEN. Empty when the request has no status yet or the API keeps no request for the resource. - ssl
Certificate number - ID of the automated certificate attached to the resource, 0 until the first one is issued.
- id str
- The provider-assigned unique ID for this managed resource.
- issue_
error str - Error and details of that status, empty when the status carries none.
- issue_
status str - Latest status of the last issue request:
PROCESSING,DONE,FAILED,CANCELLEDorFORBIDDEN. Empty when the request has no status yet or the API keeps no request for the resource. - ssl_
certificate float - ID of the automated certificate attached to the resource, 0 until the first one is issued.
- id String
- The provider-assigned unique ID for this managed resource.
- issue
Error String - Error and details of that status, empty when the status carries none.
- issue
Status String - Latest status of the last issue request:
PROCESSING,DONE,FAILED,CANCELLEDorFORBIDDEN. Empty when the request has no status yet or the API keeps no request for the resource. - ssl
Certificate Number - ID of the automated certificate attached to the resource, 0 until the first one is issued.
Look up Existing WebsecLecert Resource
Get an existing WebsecLecert 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?: WebsecLecertState, opts?: CustomResourceOptions): WebsecLecert@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cert_type: Optional[str] = None,
issue_error: Optional[str] = None,
issue_status: Optional[str] = None,
resource_id: Optional[float] = None,
ssl_certificate: Optional[float] = None,
timeouts: Optional[WebsecLecertTimeoutsArgs] = None,
websec_lecert_id: Optional[str] = None) -> WebsecLecertfunc GetWebsecLecert(ctx *Context, name string, id IDInput, state *WebsecLecertState, opts ...ResourceOption) (*WebsecLecert, error)public static WebsecLecert Get(string name, Input<string> id, WebsecLecertState? state, CustomResourceOptions? opts = null)public static WebsecLecert get(String name, Output<String> id, WebsecLecertState state, CustomResourceOptions options)resources: _: type: edgecenter:WebsecLecert get: id: ${id}import {
to = edgecenter_websec_lecert.example
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.
- Cert
Type string - ACME authority that issues the certificate:
LE(Let's Encrypt),MDDCorEC.MDDCandEChave to be enabled for the client, andMDDCis issued only for a resource without subdomains. Changing it replaces the certificate: the old one is revoked before the new request starts, so the site has no HTTPS until the new certificate is issued, and no certificate at all if the request fails.create_before_destroydoes not help because a resource cannot get a second automated certificate. The type is read from the status of the last issue request. When the API keeps no request for the resource, as for a certificate moved from the old protection API, an imported certificate counts asLE. Defaults toLE. - Issue
Error string - Error and details of that status, empty when the status carries none.
- Issue
Status string - Latest status of the last issue request:
PROCESSING,DONE,FAILED,CANCELLEDorFORBIDDEN. Empty when the request has no status yet or the API keeps no request for the resource. - Resource
Id double - ID of the
edgecenter.WebsecResourceto issue the certificate for. Changing it replaces the certificate. - Ssl
Certificate double - ID of the automated certificate attached to the resource, 0 until the first one is issued.
- Timeouts
Websec
Lecert Timeouts - Websec
Lecert stringId - The ID of this resource.
- Cert
Type string - ACME authority that issues the certificate:
LE(Let's Encrypt),MDDCorEC.MDDCandEChave to be enabled for the client, andMDDCis issued only for a resource without subdomains. Changing it replaces the certificate: the old one is revoked before the new request starts, so the site has no HTTPS until the new certificate is issued, and no certificate at all if the request fails.create_before_destroydoes not help because a resource cannot get a second automated certificate. The type is read from the status of the last issue request. When the API keeps no request for the resource, as for a certificate moved from the old protection API, an imported certificate counts asLE. Defaults toLE. - Issue
Error string - Error and details of that status, empty when the status carries none.
- Issue
Status string - Latest status of the last issue request:
PROCESSING,DONE,FAILED,CANCELLEDorFORBIDDEN. Empty when the request has no status yet or the API keeps no request for the resource. - Resource
Id float64 - ID of the
edgecenter.WebsecResourceto issue the certificate for. Changing it replaces the certificate. - Ssl
Certificate float64 - ID of the automated certificate attached to the resource, 0 until the first one is issued.
- Timeouts
Websec
Lecert Timeouts Args - Websec
Lecert stringId - The ID of this resource.
- cert_
type string - ACME authority that issues the certificate:
LE(Let's Encrypt),MDDCorEC.MDDCandEChave to be enabled for the client, andMDDCis issued only for a resource without subdomains. Changing it replaces the certificate: the old one is revoked before the new request starts, so the site has no HTTPS until the new certificate is issued, and no certificate at all if the request fails.create_before_destroydoes not help because a resource cannot get a second automated certificate. The type is read from the status of the last issue request. When the API keeps no request for the resource, as for a certificate moved from the old protection API, an imported certificate counts asLE. Defaults toLE. - issue_
error string - Error and details of that status, empty when the status carries none.
- issue_
status string - Latest status of the last issue request:
PROCESSING,DONE,FAILED,CANCELLEDorFORBIDDEN. Empty when the request has no status yet or the API keeps no request for the resource. - resource_
id number - ID of the
edgecenter.WebsecResourceto issue the certificate for. Changing it replaces the certificate. - ssl_
certificate number - ID of the automated certificate attached to the resource, 0 until the first one is issued.
- timeouts object
- websec_
lecert_ stringid - The ID of this resource.
- cert
Type String - ACME authority that issues the certificate:
LE(Let's Encrypt),MDDCorEC.MDDCandEChave to be enabled for the client, andMDDCis issued only for a resource without subdomains. Changing it replaces the certificate: the old one is revoked before the new request starts, so the site has no HTTPS until the new certificate is issued, and no certificate at all if the request fails.create_before_destroydoes not help because a resource cannot get a second automated certificate. The type is read from the status of the last issue request. When the API keeps no request for the resource, as for a certificate moved from the old protection API, an imported certificate counts asLE. Defaults toLE. - issue
Error String - Error and details of that status, empty when the status carries none.
- issue
Status String - Latest status of the last issue request:
PROCESSING,DONE,FAILED,CANCELLEDorFORBIDDEN. Empty when the request has no status yet or the API keeps no request for the resource. - resource
Id Double - ID of the
edgecenter.WebsecResourceto issue the certificate for. Changing it replaces the certificate. - ssl
Certificate Double - ID of the automated certificate attached to the resource, 0 until the first one is issued.
- timeouts
Websec
Lecert Timeouts - websec
Lecert StringId - The ID of this resource.
- cert
Type string - ACME authority that issues the certificate:
LE(Let's Encrypt),MDDCorEC.MDDCandEChave to be enabled for the client, andMDDCis issued only for a resource without subdomains. Changing it replaces the certificate: the old one is revoked before the new request starts, so the site has no HTTPS until the new certificate is issued, and no certificate at all if the request fails.create_before_destroydoes not help because a resource cannot get a second automated certificate. The type is read from the status of the last issue request. When the API keeps no request for the resource, as for a certificate moved from the old protection API, an imported certificate counts asLE. Defaults toLE. - issue
Error string - Error and details of that status, empty when the status carries none.
- issue
Status string - Latest status of the last issue request:
PROCESSING,DONE,FAILED,CANCELLEDorFORBIDDEN. Empty when the request has no status yet or the API keeps no request for the resource. - resource
Id number - ID of the
edgecenter.WebsecResourceto issue the certificate for. Changing it replaces the certificate. - ssl
Certificate number - ID of the automated certificate attached to the resource, 0 until the first one is issued.
- timeouts
Websec
Lecert Timeouts - websec
Lecert stringId - The ID of this resource.
- cert_
type str - ACME authority that issues the certificate:
LE(Let's Encrypt),MDDCorEC.MDDCandEChave to be enabled for the client, andMDDCis issued only for a resource without subdomains. Changing it replaces the certificate: the old one is revoked before the new request starts, so the site has no HTTPS until the new certificate is issued, and no certificate at all if the request fails.create_before_destroydoes not help because a resource cannot get a second automated certificate. The type is read from the status of the last issue request. When the API keeps no request for the resource, as for a certificate moved from the old protection API, an imported certificate counts asLE. Defaults toLE. - issue_
error str - Error and details of that status, empty when the status carries none.
- issue_
status str - Latest status of the last issue request:
PROCESSING,DONE,FAILED,CANCELLEDorFORBIDDEN. Empty when the request has no status yet or the API keeps no request for the resource. - resource_
id float - ID of the
edgecenter.WebsecResourceto issue the certificate for. Changing it replaces the certificate. - ssl_
certificate float - ID of the automated certificate attached to the resource, 0 until the first one is issued.
- timeouts
Websec
Lecert Timeouts Args - websec_
lecert_ strid - The ID of this resource.
- cert
Type String - ACME authority that issues the certificate:
LE(Let's Encrypt),MDDCorEC.MDDCandEChave to be enabled for the client, andMDDCis issued only for a resource without subdomains. Changing it replaces the certificate: the old one is revoked before the new request starts, so the site has no HTTPS until the new certificate is issued, and no certificate at all if the request fails.create_before_destroydoes not help because a resource cannot get a second automated certificate. The type is read from the status of the last issue request. When the API keeps no request for the resource, as for a certificate moved from the old protection API, an imported certificate counts asLE. Defaults toLE. - issue
Error String - Error and details of that status, empty when the status carries none.
- issue
Status String - Latest status of the last issue request:
PROCESSING,DONE,FAILED,CANCELLEDorFORBIDDEN. Empty when the request has no status yet or the API keeps no request for the resource. - resource
Id Number - ID of the
edgecenter.WebsecResourceto issue the certificate for. Changing it replaces the certificate. - ssl
Certificate Number - ID of the automated certificate attached to the resource, 0 until the first one is issued.
- timeouts Property Map
- websec
Lecert StringId - The ID of this resource.
Supporting Types
WebsecLecertTimeouts, WebsecLecertTimeoutsArgs
Import
The pulumi import command can be used, for example:
$ pulumi import edgecenter:index/websecLecert:WebsecLecert example_com 12345
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- edgecenter edge-center/terraform-provider-edgecenter
- License
- Notes
- This Pulumi package is based on the
edgecenterTerraform Provider.
published on Tuesday, Nov 3, 2026 by edge-center