1. Packages
  2. Ibm Provider
  3. API Docs
  4. CisAdvancedCertificatePackOrder
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.CisAdvancedCertificatePackOrder

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Provides an IBM Cloud Internet Services advanced certificate order resource. This resource is associated with an IBM Cloud Internet Services instance and a CIS domain resource. It allows you to order and delete dedicated advanced certificates of a domain of a CIS instance. For more information about CIS certificate ordering, see managing edge certificates.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const test = new ibm.CisAdvancedCertificatePackOrder("test", {
        cisId: data.ibm_cis.cis.id,
        domainId: data.ibm_cis_domain.cis_domain.domain_id,
        hosts: ["example.com"],
        certificateAuthority: "lets_encrypt",
        cloudflareBranding: false,
        validationMethod: "txt",
        validity: 90,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    test = ibm.CisAdvancedCertificatePackOrder("test",
        cis_id=data["ibm_cis"]["cis"]["id"],
        domain_id=data["ibm_cis_domain"]["cis_domain"]["domain_id"],
        hosts=["example.com"],
        certificate_authority="lets_encrypt",
        cloudflare_branding=False,
        validation_method="txt",
        validity=90)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewCisAdvancedCertificatePackOrder(ctx, "test", &ibm.CisAdvancedCertificatePackOrderArgs{
    			CisId:    pulumi.Any(data.Ibm_cis.Cis.Id),
    			DomainId: pulumi.Any(data.Ibm_cis_domain.Cis_domain.Domain_id),
    			Hosts: pulumi.StringArray{
    				pulumi.String("example.com"),
    			},
    			CertificateAuthority: pulumi.String("lets_encrypt"),
    			CloudflareBranding:   pulumi.Bool(false),
    			ValidationMethod:     pulumi.String("txt"),
    			Validity:             pulumi.Float64(90),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var test = new Ibm.CisAdvancedCertificatePackOrder("test", new()
        {
            CisId = data.Ibm_cis.Cis.Id,
            DomainId = data.Ibm_cis_domain.Cis_domain.Domain_id,
            Hosts = new[]
            {
                "example.com",
            },
            CertificateAuthority = "lets_encrypt",
            CloudflareBranding = false,
            ValidationMethod = "txt",
            Validity = 90,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.CisAdvancedCertificatePackOrder;
    import com.pulumi.ibm.CisAdvancedCertificatePackOrderArgs;
    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 test = new CisAdvancedCertificatePackOrder("test", CisAdvancedCertificatePackOrderArgs.builder()
                .cisId(data.ibm_cis().cis().id())
                .domainId(data.ibm_cis_domain().cis_domain().domain_id())
                .hosts("example.com")
                .certificateAuthority("lets_encrypt")
                .cloudflareBranding(false)
                .validationMethod("txt")
                .validity(90)
                .build());
    
        }
    }
    
    resources:
      test:
        type: ibm:CisAdvancedCertificatePackOrder
        properties:
          cisId: ${data.ibm_cis.cis.id}
          domainId: ${data.ibm_cis_domain.cis_domain.domain_id}
          hosts:
            - example.com
          certificateAuthority: lets_encrypt
          cloudflareBranding: false
          validationMethod: txt
          validity: 90
    

    Create CisAdvancedCertificatePackOrder Resource

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

    Constructor syntax

    new CisAdvancedCertificatePackOrder(name: string, args: CisAdvancedCertificatePackOrderArgs, opts?: CustomResourceOptions);
    @overload
    def CisAdvancedCertificatePackOrder(resource_name: str,
                                        args: CisAdvancedCertificatePackOrderArgs,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def CisAdvancedCertificatePackOrder(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        certificate_authority: Optional[str] = None,
                                        cis_id: Optional[str] = None,
                                        domain_id: Optional[str] = None,
                                        hosts: Optional[Sequence[str]] = None,
                                        validation_method: Optional[str] = None,
                                        validity: Optional[float] = None,
                                        cis_advanced_certificate_pack_order_id: Optional[str] = None,
                                        cloudflare_branding: Optional[bool] = None,
                                        type: Optional[str] = None)
    func NewCisAdvancedCertificatePackOrder(ctx *Context, name string, args CisAdvancedCertificatePackOrderArgs, opts ...ResourceOption) (*CisAdvancedCertificatePackOrder, error)
    public CisAdvancedCertificatePackOrder(string name, CisAdvancedCertificatePackOrderArgs args, CustomResourceOptions? opts = null)
    public CisAdvancedCertificatePackOrder(String name, CisAdvancedCertificatePackOrderArgs args)
    public CisAdvancedCertificatePackOrder(String name, CisAdvancedCertificatePackOrderArgs args, CustomResourceOptions options)
    
    type: ibm:CisAdvancedCertificatePackOrder
    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 CisAdvancedCertificatePackOrderArgs
    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 CisAdvancedCertificatePackOrderArgs
    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 CisAdvancedCertificatePackOrderArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CisAdvancedCertificatePackOrderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CisAdvancedCertificatePackOrderArgs
    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 cisAdvancedCertificatePackOrderResource = new Ibm.CisAdvancedCertificatePackOrder("cisAdvancedCertificatePackOrderResource", new()
    {
        CertificateAuthority = "string",
        CisId = "string",
        DomainId = "string",
        Hosts = new[]
        {
            "string",
        },
        ValidationMethod = "string",
        Validity = 0,
        CisAdvancedCertificatePackOrderId = "string",
        CloudflareBranding = false,
        Type = "string",
    });
    
    example, err := ibm.NewCisAdvancedCertificatePackOrder(ctx, "cisAdvancedCertificatePackOrderResource", &ibm.CisAdvancedCertificatePackOrderArgs{
    	CertificateAuthority: pulumi.String("string"),
    	CisId:                pulumi.String("string"),
    	DomainId:             pulumi.String("string"),
    	Hosts: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ValidationMethod:                  pulumi.String("string"),
    	Validity:                          pulumi.Float64(0),
    	CisAdvancedCertificatePackOrderId: pulumi.String("string"),
    	CloudflareBranding:                pulumi.Bool(false),
    	Type:                              pulumi.String("string"),
    })
    
    var cisAdvancedCertificatePackOrderResource = new CisAdvancedCertificatePackOrder("cisAdvancedCertificatePackOrderResource", CisAdvancedCertificatePackOrderArgs.builder()
        .certificateAuthority("string")
        .cisId("string")
        .domainId("string")
        .hosts("string")
        .validationMethod("string")
        .validity(0)
        .cisAdvancedCertificatePackOrderId("string")
        .cloudflareBranding(false)
        .type("string")
        .build());
    
    cis_advanced_certificate_pack_order_resource = ibm.CisAdvancedCertificatePackOrder("cisAdvancedCertificatePackOrderResource",
        certificate_authority="string",
        cis_id="string",
        domain_id="string",
        hosts=["string"],
        validation_method="string",
        validity=0,
        cis_advanced_certificate_pack_order_id="string",
        cloudflare_branding=False,
        type="string")
    
    const cisAdvancedCertificatePackOrderResource = new ibm.CisAdvancedCertificatePackOrder("cisAdvancedCertificatePackOrderResource", {
        certificateAuthority: "string",
        cisId: "string",
        domainId: "string",
        hosts: ["string"],
        validationMethod: "string",
        validity: 0,
        cisAdvancedCertificatePackOrderId: "string",
        cloudflareBranding: false,
        type: "string",
    });
    
    type: ibm:CisAdvancedCertificatePackOrder
    properties:
        certificateAuthority: string
        cisAdvancedCertificatePackOrderId: string
        cisId: string
        cloudflareBranding: false
        domainId: string
        hosts:
            - string
        type: string
        validationMethod: string
        validity: 0
    

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

    CertificateAuthority string
    The certificate authority selected for the order. Allowed values are google and lets_encrypt
    CisId string
    The ID of the IBM Cloud Internet Services instance.
    DomainId string
    The ID of the domain.
    Hosts List<string>
    The hosts for the certificates to be ordered.
    ValidationMethod string
    Validation methond selected for the order. Allowed values are txt, http, and email.
    Validity double
    Validty days for the order. Allowed values are 14, 30, 90, 365.
    CisAdvancedCertificatePackOrderId string
    (String) The record ID, which is a combination of <certificate_id>,<domain_id>,<cis_id> attributes concatenated with :.
    CloudflareBranding bool
    Whether to add Cloudflare branding for the order.
    Type string
    Certificate type
    CertificateAuthority string
    The certificate authority selected for the order. Allowed values are google and lets_encrypt
    CisId string
    The ID of the IBM Cloud Internet Services instance.
    DomainId string
    The ID of the domain.
    Hosts []string
    The hosts for the certificates to be ordered.
    ValidationMethod string
    Validation methond selected for the order. Allowed values are txt, http, and email.
    Validity float64
    Validty days for the order. Allowed values are 14, 30, 90, 365.
    CisAdvancedCertificatePackOrderId string
    (String) The record ID, which is a combination of <certificate_id>,<domain_id>,<cis_id> attributes concatenated with :.
    CloudflareBranding bool
    Whether to add Cloudflare branding for the order.
    Type string
    Certificate type
    certificateAuthority String
    The certificate authority selected for the order. Allowed values are google and lets_encrypt
    cisId String
    The ID of the IBM Cloud Internet Services instance.
    domainId String
    The ID of the domain.
    hosts List<String>
    The hosts for the certificates to be ordered.
    validationMethod String
    Validation methond selected for the order. Allowed values are txt, http, and email.
    validity Double
    Validty days for the order. Allowed values are 14, 30, 90, 365.
    cisAdvancedCertificatePackOrderId String
    (String) The record ID, which is a combination of <certificate_id>,<domain_id>,<cis_id> attributes concatenated with :.
    cloudflareBranding Boolean
    Whether to add Cloudflare branding for the order.
    type String
    Certificate type
    certificateAuthority string
    The certificate authority selected for the order. Allowed values are google and lets_encrypt
    cisId string
    The ID of the IBM Cloud Internet Services instance.
    domainId string
    The ID of the domain.
    hosts string[]
    The hosts for the certificates to be ordered.
    validationMethod string
    Validation methond selected for the order. Allowed values are txt, http, and email.
    validity number
    Validty days for the order. Allowed values are 14, 30, 90, 365.
    cisAdvancedCertificatePackOrderId string
    (String) The record ID, which is a combination of <certificate_id>,<domain_id>,<cis_id> attributes concatenated with :.
    cloudflareBranding boolean
    Whether to add Cloudflare branding for the order.
    type string
    Certificate type
    certificate_authority str
    The certificate authority selected for the order. Allowed values are google and lets_encrypt
    cis_id str
    The ID of the IBM Cloud Internet Services instance.
    domain_id str
    The ID of the domain.
    hosts Sequence[str]
    The hosts for the certificates to be ordered.
    validation_method str
    Validation methond selected for the order. Allowed values are txt, http, and email.
    validity float
    Validty days for the order. Allowed values are 14, 30, 90, 365.
    cis_advanced_certificate_pack_order_id str
    (String) The record ID, which is a combination of <certificate_id>,<domain_id>,<cis_id> attributes concatenated with :.
    cloudflare_branding bool
    Whether to add Cloudflare branding for the order.
    type str
    Certificate type
    certificateAuthority String
    The certificate authority selected for the order. Allowed values are google and lets_encrypt
    cisId String
    The ID of the IBM Cloud Internet Services instance.
    domainId String
    The ID of the domain.
    hosts List<String>
    The hosts for the certificates to be ordered.
    validationMethod String
    Validation methond selected for the order. Allowed values are txt, http, and email.
    validity Number
    Validty days for the order. Allowed values are 14, 30, 90, 365.
    cisAdvancedCertificatePackOrderId String
    (String) The record ID, which is a combination of <certificate_id>,<domain_id>,<cis_id> attributes concatenated with :.
    cloudflareBranding Boolean
    Whether to add Cloudflare branding for the order.
    type String
    Certificate type

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CisAdvancedCertificatePackOrder resource produces the following output properties:

    CertificateId string
    (String) The certificate ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    (String) The certificate status.
    CertificateId string
    (String) The certificate ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    (String) The certificate status.
    certificateId String
    (String) The certificate ID.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    (String) The certificate status.
    certificateId string
    (String) The certificate ID.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    (String) The certificate status.
    certificate_id str
    (String) The certificate ID.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    (String) The certificate status.
    certificateId String
    (String) The certificate ID.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    (String) The certificate status.

    Look up Existing CisAdvancedCertificatePackOrder Resource

    Get an existing CisAdvancedCertificatePackOrder 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?: CisAdvancedCertificatePackOrderState, opts?: CustomResourceOptions): CisAdvancedCertificatePackOrder
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            certificate_authority: Optional[str] = None,
            certificate_id: Optional[str] = None,
            cis_advanced_certificate_pack_order_id: Optional[str] = None,
            cis_id: Optional[str] = None,
            cloudflare_branding: Optional[bool] = None,
            domain_id: Optional[str] = None,
            hosts: Optional[Sequence[str]] = None,
            status: Optional[str] = None,
            type: Optional[str] = None,
            validation_method: Optional[str] = None,
            validity: Optional[float] = None) -> CisAdvancedCertificatePackOrder
    func GetCisAdvancedCertificatePackOrder(ctx *Context, name string, id IDInput, state *CisAdvancedCertificatePackOrderState, opts ...ResourceOption) (*CisAdvancedCertificatePackOrder, error)
    public static CisAdvancedCertificatePackOrder Get(string name, Input<string> id, CisAdvancedCertificatePackOrderState? state, CustomResourceOptions? opts = null)
    public static CisAdvancedCertificatePackOrder get(String name, Output<String> id, CisAdvancedCertificatePackOrderState state, CustomResourceOptions options)
    resources:  _:    type: ibm:CisAdvancedCertificatePackOrder    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.
    The following state arguments are supported:
    CertificateAuthority string
    The certificate authority selected for the order. Allowed values are google and lets_encrypt
    CertificateId string
    (String) The certificate ID.
    CisAdvancedCertificatePackOrderId string
    (String) The record ID, which is a combination of <certificate_id>,<domain_id>,<cis_id> attributes concatenated with :.
    CisId string
    The ID of the IBM Cloud Internet Services instance.
    CloudflareBranding bool
    Whether to add Cloudflare branding for the order.
    DomainId string
    The ID of the domain.
    Hosts List<string>
    The hosts for the certificates to be ordered.
    Status string
    (String) The certificate status.
    Type string
    Certificate type
    ValidationMethod string
    Validation methond selected for the order. Allowed values are txt, http, and email.
    Validity double
    Validty days for the order. Allowed values are 14, 30, 90, 365.
    CertificateAuthority string
    The certificate authority selected for the order. Allowed values are google and lets_encrypt
    CertificateId string
    (String) The certificate ID.
    CisAdvancedCertificatePackOrderId string
    (String) The record ID, which is a combination of <certificate_id>,<domain_id>,<cis_id> attributes concatenated with :.
    CisId string
    The ID of the IBM Cloud Internet Services instance.
    CloudflareBranding bool
    Whether to add Cloudflare branding for the order.
    DomainId string
    The ID of the domain.
    Hosts []string
    The hosts for the certificates to be ordered.
    Status string
    (String) The certificate status.
    Type string
    Certificate type
    ValidationMethod string
    Validation methond selected for the order. Allowed values are txt, http, and email.
    Validity float64
    Validty days for the order. Allowed values are 14, 30, 90, 365.
    certificateAuthority String
    The certificate authority selected for the order. Allowed values are google and lets_encrypt
    certificateId String
    (String) The certificate ID.
    cisAdvancedCertificatePackOrderId String
    (String) The record ID, which is a combination of <certificate_id>,<domain_id>,<cis_id> attributes concatenated with :.
    cisId String
    The ID of the IBM Cloud Internet Services instance.
    cloudflareBranding Boolean
    Whether to add Cloudflare branding for the order.
    domainId String
    The ID of the domain.
    hosts List<String>
    The hosts for the certificates to be ordered.
    status String
    (String) The certificate status.
    type String
    Certificate type
    validationMethod String
    Validation methond selected for the order. Allowed values are txt, http, and email.
    validity Double
    Validty days for the order. Allowed values are 14, 30, 90, 365.
    certificateAuthority string
    The certificate authority selected for the order. Allowed values are google and lets_encrypt
    certificateId string
    (String) The certificate ID.
    cisAdvancedCertificatePackOrderId string
    (String) The record ID, which is a combination of <certificate_id>,<domain_id>,<cis_id> attributes concatenated with :.
    cisId string
    The ID of the IBM Cloud Internet Services instance.
    cloudflareBranding boolean
    Whether to add Cloudflare branding for the order.
    domainId string
    The ID of the domain.
    hosts string[]
    The hosts for the certificates to be ordered.
    status string
    (String) The certificate status.
    type string
    Certificate type
    validationMethod string
    Validation methond selected for the order. Allowed values are txt, http, and email.
    validity number
    Validty days for the order. Allowed values are 14, 30, 90, 365.
    certificate_authority str
    The certificate authority selected for the order. Allowed values are google and lets_encrypt
    certificate_id str
    (String) The certificate ID.
    cis_advanced_certificate_pack_order_id str
    (String) The record ID, which is a combination of <certificate_id>,<domain_id>,<cis_id> attributes concatenated with :.
    cis_id str
    The ID of the IBM Cloud Internet Services instance.
    cloudflare_branding bool
    Whether to add Cloudflare branding for the order.
    domain_id str
    The ID of the domain.
    hosts Sequence[str]
    The hosts for the certificates to be ordered.
    status str
    (String) The certificate status.
    type str
    Certificate type
    validation_method str
    Validation methond selected for the order. Allowed values are txt, http, and email.
    validity float
    Validty days for the order. Allowed values are 14, 30, 90, 365.
    certificateAuthority String
    The certificate authority selected for the order. Allowed values are google and lets_encrypt
    certificateId String
    (String) The certificate ID.
    cisAdvancedCertificatePackOrderId String
    (String) The record ID, which is a combination of <certificate_id>,<domain_id>,<cis_id> attributes concatenated with :.
    cisId String
    The ID of the IBM Cloud Internet Services instance.
    cloudflareBranding Boolean
    Whether to add Cloudflare branding for the order.
    domainId String
    The ID of the domain.
    hosts List<String>
    The hosts for the certificates to be ordered.
    status String
    (String) The certificate status.
    type String
    Certificate type
    validationMethod String
    Validation methond selected for the order. Allowed values are txt, http, and email.
    validity Number
    Validty days for the order. Allowed values are 14, 30, 90, 365.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud