ibm.CisAdvancedCertificatePackOrder
Explore with Pulumi AI
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:
- string
- The certificate authority selected for the order. Allowed values are
google
andlets_encrypt
- Cis
Id string - The ID of the IBM Cloud Internet Services instance.
- Domain
Id string - The ID of the domain.
- Hosts List<string>
- The hosts for the certificates to be ordered.
- Validation
Method string - Validation methond selected for the order. Allowed values are
txt
,http
, andemail
. - Validity double
- Validty days for the order. Allowed values are
14
,30
,90
,365
. - Cis
Advanced stringCertificate Pack Order Id - (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 string
- Certificate type
- string
- The certificate authority selected for the order. Allowed values are
google
andlets_encrypt
- Cis
Id string - The ID of the IBM Cloud Internet Services instance.
- Domain
Id string - The ID of the domain.
- Hosts []string
- The hosts for the certificates to be ordered.
- Validation
Method string - Validation methond selected for the order. Allowed values are
txt
,http
, andemail
. - Validity float64
- Validty days for the order. Allowed values are
14
,30
,90
,365
. - Cis
Advanced stringCertificate Pack Order Id - (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 string
- Certificate type
- String
- The certificate authority selected for the order. Allowed values are
google
andlets_encrypt
- cis
Id String - The ID of the IBM Cloud Internet Services instance.
- domain
Id String - The ID of the domain.
- hosts List<String>
- The hosts for the certificates to be ordered.
- validation
Method String - Validation methond selected for the order. Allowed values are
txt
,http
, andemail
. - validity Double
- Validty days for the order. Allowed values are
14
,30
,90
,365
. - cis
Advanced StringCertificate Pack Order Id - (String) The record ID, which is a combination of
<certificate_id>,<domain_id>,<cis_id>
attributes concatenated with:
. - cloudflare
Branding Boolean - Whether to add Cloudflare branding for the order.
- type String
- Certificate type
- string
- The certificate authority selected for the order. Allowed values are
google
andlets_encrypt
- cis
Id string - The ID of the IBM Cloud Internet Services instance.
- domain
Id string - The ID of the domain.
- hosts string[]
- The hosts for the certificates to be ordered.
- validation
Method string - Validation methond selected for the order. Allowed values are
txt
,http
, andemail
. - validity number
- Validty days for the order. Allowed values are
14
,30
,90
,365
. - cis
Advanced stringCertificate Pack Order Id - (String) The record ID, which is a combination of
<certificate_id>,<domain_id>,<cis_id>
attributes concatenated with:
. - cloudflare
Branding boolean - Whether to add Cloudflare branding for the order.
- type string
- Certificate type
- str
- The certificate authority selected for the order. Allowed values are
google
andlets_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
, andemail
. - validity float
- Validty days for the order. Allowed values are
14
,30
,90
,365
. - cis_
advanced_ strcertificate_ pack_ order_ id - (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
- String
- The certificate authority selected for the order. Allowed values are
google
andlets_encrypt
- cis
Id String - The ID of the IBM Cloud Internet Services instance.
- domain
Id String - The ID of the domain.
- hosts List<String>
- The hosts for the certificates to be ordered.
- validation
Method String - Validation methond selected for the order. Allowed values are
txt
,http
, andemail
. - validity Number
- Validty days for the order. Allowed values are
14
,30
,90
,365
. - cis
Advanced StringCertificate Pack Order Id - (String) The record ID, which is a combination of
<certificate_id>,<domain_id>,<cis_id>
attributes concatenated with:
. - cloudflare
Branding 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:
- Certificate
Id string - (String) The certificate ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- (String) The certificate status.
- Certificate
Id string - (String) The certificate ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- (String) The certificate status.
- certificate
Id String - (String) The certificate ID.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- (String) The certificate status.
- certificate
Id 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.
- certificate
Id 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.
- string
- The certificate authority selected for the order. Allowed values are
google
andlets_encrypt
- Certificate
Id string - (String) The certificate ID.
- Cis
Advanced stringCertificate Pack Order Id - (String) The record ID, which is a combination of
<certificate_id>,<domain_id>,<cis_id>
attributes concatenated with:
. - Cis
Id string - The ID of the IBM Cloud Internet Services instance.
- Cloudflare
Branding bool - Whether to add Cloudflare branding for the order.
- Domain
Id 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
- Validation
Method string - Validation methond selected for the order. Allowed values are
txt
,http
, andemail
. - Validity double
- Validty days for the order. Allowed values are
14
,30
,90
,365
.
- string
- The certificate authority selected for the order. Allowed values are
google
andlets_encrypt
- Certificate
Id string - (String) The certificate ID.
- Cis
Advanced stringCertificate Pack Order Id - (String) The record ID, which is a combination of
<certificate_id>,<domain_id>,<cis_id>
attributes concatenated with:
. - Cis
Id string - The ID of the IBM Cloud Internet Services instance.
- Cloudflare
Branding bool - Whether to add Cloudflare branding for the order.
- Domain
Id 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
- Validation
Method string - Validation methond selected for the order. Allowed values are
txt
,http
, andemail
. - Validity float64
- Validty days for the order. Allowed values are
14
,30
,90
,365
.
- String
- The certificate authority selected for the order. Allowed values are
google
andlets_encrypt
- certificate
Id String - (String) The certificate ID.
- cis
Advanced StringCertificate Pack Order Id - (String) The record ID, which is a combination of
<certificate_id>,<domain_id>,<cis_id>
attributes concatenated with:
. - cis
Id String - The ID of the IBM Cloud Internet Services instance.
- cloudflare
Branding Boolean - Whether to add Cloudflare branding for the order.
- domain
Id 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
- validation
Method String - Validation methond selected for the order. Allowed values are
txt
,http
, andemail
. - validity Double
- Validty days for the order. Allowed values are
14
,30
,90
,365
.
- string
- The certificate authority selected for the order. Allowed values are
google
andlets_encrypt
- certificate
Id string - (String) The certificate ID.
- cis
Advanced stringCertificate Pack Order Id - (String) The record ID, which is a combination of
<certificate_id>,<domain_id>,<cis_id>
attributes concatenated with:
. - cis
Id string - The ID of the IBM Cloud Internet Services instance.
- cloudflare
Branding boolean - Whether to add Cloudflare branding for the order.
- domain
Id 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
- validation
Method string - Validation methond selected for the order. Allowed values are
txt
,http
, andemail
. - validity number
- Validty days for the order. Allowed values are
14
,30
,90
,365
.
- str
- The certificate authority selected for the order. Allowed values are
google
andlets_encrypt
- certificate_
id str - (String) The certificate ID.
- cis_
advanced_ strcertificate_ pack_ order_ id - (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
, andemail
. - validity float
- Validty days for the order. Allowed values are
14
,30
,90
,365
.
- String
- The certificate authority selected for the order. Allowed values are
google
andlets_encrypt
- certificate
Id String - (String) The certificate ID.
- cis
Advanced StringCertificate Pack Order Id - (String) The record ID, which is a combination of
<certificate_id>,<domain_id>,<cis_id>
attributes concatenated with:
. - cis
Id String - The ID of the IBM Cloud Internet Services instance.
- cloudflare
Branding Boolean - Whether to add Cloudflare branding for the order.
- domain
Id 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
- validation
Method String - Validation methond selected for the order. Allowed values are
txt
,http
, andemail
. - 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.