edgecenter.CdnLecert
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as edgecenter from "@pulumi/edgecenter";
const lecert = new edgecenter.CdnLecert("lecert", {
resourceId: 12345,
update: false,
});
import pulumi
import pulumi_edgecenter as edgecenter
lecert = edgecenter.CdnLecert("lecert",
resource_id=12345,
update=False)
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.NewCdnLecert(ctx, "lecert", &edgecenter.CdnLecertArgs{
ResourceId: pulumi.Float64(12345),
Update: pulumi.Bool(false),
})
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 lecert = new Edgecenter.CdnLecert("lecert", new()
{
ResourceId = 12345,
Update = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.edgecenter.CdnLecert;
import com.pulumi.edgecenter.CdnLecertArgs;
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 lecert = new CdnLecert("lecert", CdnLecertArgs.builder()
.resourceId(12345)
.update(false)
.build());
}
}
resources:
lecert:
type: edgecenter:CdnLecert
properties:
resourceId: 12345
update: false
Create CdnLecert Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CdnLecert(name: string, args: CdnLecertArgs, opts?: CustomResourceOptions);
@overload
def CdnLecert(resource_name: str,
args: CdnLecertArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CdnLecert(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_id: Optional[float] = None,
active: Optional[bool] = None,
cdn_lecert_id: Optional[str] = None,
update: Optional[bool] = None)
func NewCdnLecert(ctx *Context, name string, args CdnLecertArgs, opts ...ResourceOption) (*CdnLecert, error)
public CdnLecert(string name, CdnLecertArgs args, CustomResourceOptions? opts = null)
public CdnLecert(String name, CdnLecertArgs args)
public CdnLecert(String name, CdnLecertArgs args, CustomResourceOptions options)
type: edgecenter:CdnLecert
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 CdnLecertArgs
- 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 CdnLecertArgs
- 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 CdnLecertArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CdnLecertArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CdnLecertArgs
- 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 cdnLecertResource = new Edgecenter.CdnLecert("cdnLecertResource", new()
{
ResourceId = 0,
Active = false,
CdnLecertId = "string",
Update = false,
});
example, err := edgecenter.NewCdnLecert(ctx, "cdnLecertResource", &edgecenter.CdnLecertArgs{
ResourceId: pulumi.Float64(0),
Active: pulumi.Bool(false),
CdnLecertId: pulumi.String("string"),
Update: pulumi.Bool(false),
})
var cdnLecertResource = new CdnLecert("cdnLecertResource", CdnLecertArgs.builder()
.resourceId(0.0)
.active(false)
.cdnLecertId("string")
.update(false)
.build());
cdn_lecert_resource = edgecenter.CdnLecert("cdnLecertResource",
resource_id=0,
active=False,
cdn_lecert_id="string",
update=False)
const cdnLecertResource = new edgecenter.CdnLecert("cdnLecertResource", {
resourceId: 0,
active: false,
cdnLecertId: "string",
update: false,
});
type: edgecenter:CdnLecert
properties:
active: false
cdnLecertId: string
resourceId: 0
update: false
CdnLecert 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 CdnLecert resource accepts the following input properties:
- Resource
Id double - ID ресурса CDN, к которому привязывается Let's Encrypt сертификат
- Active bool
- Флаг отмены активного процесса выдачи SSL-сертификата Let's Encrypt.
- Cdn
Lecert stringId - The ID of this resource.
- Update bool
- Флаг обновления Let's Encrypt сертификата
- Resource
Id float64 - ID ресурса CDN, к которому привязывается Let's Encrypt сертификат
- Active bool
- Флаг отмены активного процесса выдачи SSL-сертификата Let's Encrypt.
- Cdn
Lecert stringId - The ID of this resource.
- Update bool
- Флаг обновления Let's Encrypt сертификата
- resource
Id Double - ID ресурса CDN, к которому привязывается Let's Encrypt сертификат
- active Boolean
- Флаг отмены активного процесса выдачи SSL-сертификата Let's Encrypt.
- cdn
Lecert StringId - The ID of this resource.
- update Boolean
- Флаг обновления Let's Encrypt сертификата
- resource
Id number - ID ресурса CDN, к которому привязывается Let's Encrypt сертификат
- active boolean
- Флаг отмены активного процесса выдачи SSL-сертификата Let's Encrypt.
- cdn
Lecert stringId - The ID of this resource.
- update boolean
- Флаг обновления Let's Encrypt сертификата
- resource_
id float - ID ресурса CDN, к которому привязывается Let's Encrypt сертификат
- active bool
- Флаг отмены активного процесса выдачи SSL-сертификата Let's Encrypt.
- cdn_
lecert_ strid - The ID of this resource.
- update bool
- Флаг обновления Let's Encrypt сертификата
- resource
Id Number - ID ресурса CDN, к которому привязывается Let's Encrypt сертификат
- active Boolean
- Флаг отмены активного процесса выдачи SSL-сертификата Let's Encrypt.
- cdn
Lecert StringId - The ID of this resource.
- update Boolean
- Флаг обновления Let's Encrypt сертификата
Outputs
All input properties are implicitly available as output properties. Additionally, the CdnLecert 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 CdnLecert Resource
Get an existing CdnLecert 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?: CdnLecertState, opts?: CustomResourceOptions): CdnLecert
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
active: Optional[bool] = None,
cdn_lecert_id: Optional[str] = None,
resource_id: Optional[float] = None,
update: Optional[bool] = None) -> CdnLecert
func GetCdnLecert(ctx *Context, name string, id IDInput, state *CdnLecertState, opts ...ResourceOption) (*CdnLecert, error)
public static CdnLecert Get(string name, Input<string> id, CdnLecertState? state, CustomResourceOptions? opts = null)
public static CdnLecert get(String name, Output<String> id, CdnLecertState state, CustomResourceOptions options)
resources: _: type: edgecenter:CdnLecert 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.
- Active bool
- Флаг отмены активного процесса выдачи SSL-сертификата Let's Encrypt.
- Cdn
Lecert stringId - The ID of this resource.
- Resource
Id double - ID ресурса CDN, к которому привязывается Let's Encrypt сертификат
- Update bool
- Флаг обновления Let's Encrypt сертификата
- Active bool
- Флаг отмены активного процесса выдачи SSL-сертификата Let's Encrypt.
- Cdn
Lecert stringId - The ID of this resource.
- Resource
Id float64 - ID ресурса CDN, к которому привязывается Let's Encrypt сертификат
- Update bool
- Флаг обновления Let's Encrypt сертификата
- active Boolean
- Флаг отмены активного процесса выдачи SSL-сертификата Let's Encrypt.
- cdn
Lecert StringId - The ID of this resource.
- resource
Id Double - ID ресурса CDN, к которому привязывается Let's Encrypt сертификат
- update Boolean
- Флаг обновления Let's Encrypt сертификата
- active boolean
- Флаг отмены активного процесса выдачи SSL-сертификата Let's Encrypt.
- cdn
Lecert stringId - The ID of this resource.
- resource
Id number - ID ресурса CDN, к которому привязывается Let's Encrypt сертификат
- update boolean
- Флаг обновления Let's Encrypt сертификата
- active bool
- Флаг отмены активного процесса выдачи SSL-сертификата Let's Encrypt.
- cdn_
lecert_ strid - The ID of this resource.
- resource_
id float - ID ресурса CDN, к которому привязывается Let's Encrypt сертификат
- update bool
- Флаг обновления Let's Encrypt сертификата
- active Boolean
- Флаг отмены активного процесса выдачи SSL-сертификата Let's Encrypt.
- cdn
Lecert StringId - The ID of this resource.
- resource
Id Number - ID ресурса CDN, к которому привязывается Let's Encrypt сертификат
- update Boolean
- Флаг обновления Let's Encrypt сертификата
Package Details
- Repository
- edgecenter edge-center/terraform-provider-edgecenter
- License
- Notes
- This Pulumi package is based on the
edgecenter
Terraform Provider.