ibm.SslCertificate
Explore with Pulumi AI
Create, update, and delete an SSL certificate resource. This allows SSL certificates to be requested, and delete request for SSL certificates. For more information, about SSL certificates, see accessing SSL certificates.
Note
For more information, see IBM Cloud Classic Infrastructure(SoftLayer) security certificates request documentation.
Example Usage
In the following example, you can use a certificate on file:
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const mySsllllll = new ibm.SslCertificate("mySsllllll", {
administrativeAddressSameAsOrganizationFlag: false,
administrativeContact: {
adminAddresses: [{
adminAddressLine1: "fghds",
adminAddressLine2: "twyu",
adminCity: "pune",
adminCountryCode: "IN",
adminPostalCode: "411045",
adminState: "MH",
}],
adminEmailAddress: "fghjk@gshhds.com",
adminFaxNumber: "",
adminFirstName: "DFGHJ",
adminLastName: "dfghjkl",
adminOrganizationName: "GSLAB",
adminPhoneNumber: "8657072955",
adminTitle: "POIUYGHJK",
},
administrativeContactSameAsTechnicalFlag: false,
billingAddressSameAsOrganizationFlag: false,
billingContact: {
billingAddresses: [{
billingAddressLine1: "plk",
billingAddressLine2: "PLO",
billingCity: "PUNE",
billingCountryCode: "IN",
billingPostalCode: "411045",
billingState: "MH",
}],
billingEmailAddress: "kjjj@gsd.com",
billingFaxNumber: "",
billingFirstName: "ERTYU",
billingLastName: "SDFGHJK",
billingOrganizationName: "IBM",
billingPhoneNumber: "8657072955",
billingTitle: "PFGHJK",
},
billingContactSameAsTechnicalFlag: false,
certificateSigningRequest: `-----BEGIN CERTIFICATE REQUEST-----
CERTIFICATE CONTENT
-----END CERTIFICATE REQUEST-----
`,
orderApproverEmailAddress: "admin@pune.in",
organizationInformation: {
orgAddresses: [{
orgAddressLine1: "abc",
orgAddressLine2: "xyz",
orgCity: "pune",
orgCountryCode: "IN",
orgPostalCode: "411045",
orgState: "MH",
}],
orgFaxNumber: "",
orgOrganizationName: "GSLAB",
orgPhoneNumber: "8657072955",
},
renewalFlag: true,
serverCount: 1,
serverType: "apache2",
sslType: "SSL_CERTIFICATE_QUICKSSL_PREMIUM_2_YEAR",
technicalContact: {
techAddresses: [{
techAddressLine1: "fcb",
techAddressLine2: "pqr",
techCity: "pune",
techCountryCode: "IN",
techPostalCode: "411045",
techState: "MH",
}],
techEmailAddress: "abc@gmail.com",
techFaxNumber: "",
techFirstName: "qwerty",
techLastName: "ytrewq",
techOrganizationName: "IBM",
techPhoneNumber: "8657072955",
techTitle: "SSL CERT",
},
technicalContactSameAsOrgAddressFlag: false,
validityMonths: 24,
});
import pulumi
import pulumi_ibm as ibm
my_ssllllll = ibm.SslCertificate("mySsllllll",
administrative_address_same_as_organization_flag=False,
administrative_contact={
"admin_addresses": [{
"admin_address_line1": "fghds",
"admin_address_line2": "twyu",
"admin_city": "pune",
"admin_country_code": "IN",
"admin_postal_code": "411045",
"admin_state": "MH",
}],
"admin_email_address": "fghjk@gshhds.com",
"admin_fax_number": "",
"admin_first_name": "DFGHJ",
"admin_last_name": "dfghjkl",
"admin_organization_name": "GSLAB",
"admin_phone_number": "8657072955",
"admin_title": "POIUYGHJK",
},
administrative_contact_same_as_technical_flag=False,
billing_address_same_as_organization_flag=False,
billing_contact={
"billing_addresses": [{
"billing_address_line1": "plk",
"billing_address_line2": "PLO",
"billing_city": "PUNE",
"billing_country_code": "IN",
"billing_postal_code": "411045",
"billing_state": "MH",
}],
"billing_email_address": "kjjj@gsd.com",
"billing_fax_number": "",
"billing_first_name": "ERTYU",
"billing_last_name": "SDFGHJK",
"billing_organization_name": "IBM",
"billing_phone_number": "8657072955",
"billing_title": "PFGHJK",
},
billing_contact_same_as_technical_flag=False,
certificate_signing_request="""-----BEGIN CERTIFICATE REQUEST-----
CERTIFICATE CONTENT
-----END CERTIFICATE REQUEST-----
""",
order_approver_email_address="admin@pune.in",
organization_information={
"org_addresses": [{
"org_address_line1": "abc",
"org_address_line2": "xyz",
"org_city": "pune",
"org_country_code": "IN",
"org_postal_code": "411045",
"org_state": "MH",
}],
"org_fax_number": "",
"org_organization_name": "GSLAB",
"org_phone_number": "8657072955",
},
renewal_flag=True,
server_count=1,
server_type="apache2",
ssl_type="SSL_CERTIFICATE_QUICKSSL_PREMIUM_2_YEAR",
technical_contact={
"tech_addresses": [{
"tech_address_line1": "fcb",
"tech_address_line2": "pqr",
"tech_city": "pune",
"tech_country_code": "IN",
"tech_postal_code": "411045",
"tech_state": "MH",
}],
"tech_email_address": "abc@gmail.com",
"tech_fax_number": "",
"tech_first_name": "qwerty",
"tech_last_name": "ytrewq",
"tech_organization_name": "IBM",
"tech_phone_number": "8657072955",
"tech_title": "SSL CERT",
},
technical_contact_same_as_org_address_flag=False,
validity_months=24)
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.NewSslCertificate(ctx, "mySsllllll", &ibm.SslCertificateArgs{
AdministrativeAddressSameAsOrganizationFlag: pulumi.Bool(false),
AdministrativeContact: &ibm.SslCertificateAdministrativeContactArgs{
AdminAddresses: ibm.SslCertificateAdministrativeContactAdminAddressArray{
&ibm.SslCertificateAdministrativeContactAdminAddressArgs{
AdminAddressLine1: pulumi.String("fghds"),
AdminAddressLine2: pulumi.String("twyu"),
AdminCity: pulumi.String("pune"),
AdminCountryCode: pulumi.String("IN"),
AdminPostalCode: pulumi.String("411045"),
AdminState: pulumi.String("MH"),
},
},
AdminEmailAddress: pulumi.String("fghjk@gshhds.com"),
AdminFaxNumber: pulumi.String(""),
AdminFirstName: pulumi.String("DFGHJ"),
AdminLastName: pulumi.String("dfghjkl"),
AdminOrganizationName: pulumi.String("GSLAB"),
AdminPhoneNumber: pulumi.String("8657072955"),
AdminTitle: pulumi.String("POIUYGHJK"),
},
AdministrativeContactSameAsTechnicalFlag: pulumi.Bool(false),
BillingAddressSameAsOrganizationFlag: pulumi.Bool(false),
BillingContact: &ibm.SslCertificateBillingContactArgs{
BillingAddresses: ibm.SslCertificateBillingContactBillingAddressArray{
&ibm.SslCertificateBillingContactBillingAddressArgs{
BillingAddressLine1: pulumi.String("plk"),
BillingAddressLine2: pulumi.String("PLO"),
BillingCity: pulumi.String("PUNE"),
BillingCountryCode: pulumi.String("IN"),
BillingPostalCode: pulumi.String("411045"),
BillingState: pulumi.String("MH"),
},
},
BillingEmailAddress: pulumi.String("kjjj@gsd.com"),
BillingFaxNumber: pulumi.String(""),
BillingFirstName: pulumi.String("ERTYU"),
BillingLastName: pulumi.String("SDFGHJK"),
BillingOrganizationName: pulumi.String("IBM"),
BillingPhoneNumber: pulumi.String("8657072955"),
BillingTitle: pulumi.String("PFGHJK"),
},
BillingContactSameAsTechnicalFlag: pulumi.Bool(false),
CertificateSigningRequest: pulumi.String("-----BEGIN CERTIFICATE REQUEST-----\nCERTIFICATE CONTENT\n-----END CERTIFICATE REQUEST-----\n"),
OrderApproverEmailAddress: pulumi.String("admin@pune.in"),
OrganizationInformation: &ibm.SslCertificateOrganizationInformationArgs{
OrgAddresses: ibm.SslCertificateOrganizationInformationOrgAddressArray{
&ibm.SslCertificateOrganizationInformationOrgAddressArgs{
OrgAddressLine1: pulumi.String("abc"),
OrgAddressLine2: pulumi.String("xyz"),
OrgCity: pulumi.String("pune"),
OrgCountryCode: pulumi.String("IN"),
OrgPostalCode: pulumi.String("411045"),
OrgState: pulumi.String("MH"),
},
},
OrgFaxNumber: pulumi.String(""),
OrgOrganizationName: pulumi.String("GSLAB"),
OrgPhoneNumber: pulumi.String("8657072955"),
},
RenewalFlag: pulumi.Bool(true),
ServerCount: pulumi.Float64(1),
ServerType: pulumi.String("apache2"),
SslType: pulumi.String("SSL_CERTIFICATE_QUICKSSL_PREMIUM_2_YEAR"),
TechnicalContact: &ibm.SslCertificateTechnicalContactArgs{
TechAddresses: ibm.SslCertificateTechnicalContactTechAddressArray{
&ibm.SslCertificateTechnicalContactTechAddressArgs{
TechAddressLine1: pulumi.String("fcb"),
TechAddressLine2: pulumi.String("pqr"),
TechCity: pulumi.String("pune"),
TechCountryCode: pulumi.String("IN"),
TechPostalCode: pulumi.String("411045"),
TechState: pulumi.String("MH"),
},
},
TechEmailAddress: pulumi.String("abc@gmail.com"),
TechFaxNumber: pulumi.String(""),
TechFirstName: pulumi.String("qwerty"),
TechLastName: pulumi.String("ytrewq"),
TechOrganizationName: pulumi.String("IBM"),
TechPhoneNumber: pulumi.String("8657072955"),
TechTitle: pulumi.String("SSL CERT"),
},
TechnicalContactSameAsOrgAddressFlag: pulumi.Bool(false),
ValidityMonths: pulumi.Float64(24),
})
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 mySsllllll = new Ibm.SslCertificate("mySsllllll", new()
{
AdministrativeAddressSameAsOrganizationFlag = false,
AdministrativeContact = new Ibm.Inputs.SslCertificateAdministrativeContactArgs
{
AdminAddresses = new[]
{
new Ibm.Inputs.SslCertificateAdministrativeContactAdminAddressArgs
{
AdminAddressLine1 = "fghds",
AdminAddressLine2 = "twyu",
AdminCity = "pune",
AdminCountryCode = "IN",
AdminPostalCode = "411045",
AdminState = "MH",
},
},
AdminEmailAddress = "fghjk@gshhds.com",
AdminFaxNumber = "",
AdminFirstName = "DFGHJ",
AdminLastName = "dfghjkl",
AdminOrganizationName = "GSLAB",
AdminPhoneNumber = "8657072955",
AdminTitle = "POIUYGHJK",
},
AdministrativeContactSameAsTechnicalFlag = false,
BillingAddressSameAsOrganizationFlag = false,
BillingContact = new Ibm.Inputs.SslCertificateBillingContactArgs
{
BillingAddresses = new[]
{
new Ibm.Inputs.SslCertificateBillingContactBillingAddressArgs
{
BillingAddressLine1 = "plk",
BillingAddressLine2 = "PLO",
BillingCity = "PUNE",
BillingCountryCode = "IN",
BillingPostalCode = "411045",
BillingState = "MH",
},
},
BillingEmailAddress = "kjjj@gsd.com",
BillingFaxNumber = "",
BillingFirstName = "ERTYU",
BillingLastName = "SDFGHJK",
BillingOrganizationName = "IBM",
BillingPhoneNumber = "8657072955",
BillingTitle = "PFGHJK",
},
BillingContactSameAsTechnicalFlag = false,
CertificateSigningRequest = @"-----BEGIN CERTIFICATE REQUEST-----
CERTIFICATE CONTENT
-----END CERTIFICATE REQUEST-----
",
OrderApproverEmailAddress = "admin@pune.in",
OrganizationInformation = new Ibm.Inputs.SslCertificateOrganizationInformationArgs
{
OrgAddresses = new[]
{
new Ibm.Inputs.SslCertificateOrganizationInformationOrgAddressArgs
{
OrgAddressLine1 = "abc",
OrgAddressLine2 = "xyz",
OrgCity = "pune",
OrgCountryCode = "IN",
OrgPostalCode = "411045",
OrgState = "MH",
},
},
OrgFaxNumber = "",
OrgOrganizationName = "GSLAB",
OrgPhoneNumber = "8657072955",
},
RenewalFlag = true,
ServerCount = 1,
ServerType = "apache2",
SslType = "SSL_CERTIFICATE_QUICKSSL_PREMIUM_2_YEAR",
TechnicalContact = new Ibm.Inputs.SslCertificateTechnicalContactArgs
{
TechAddresses = new[]
{
new Ibm.Inputs.SslCertificateTechnicalContactTechAddressArgs
{
TechAddressLine1 = "fcb",
TechAddressLine2 = "pqr",
TechCity = "pune",
TechCountryCode = "IN",
TechPostalCode = "411045",
TechState = "MH",
},
},
TechEmailAddress = "abc@gmail.com",
TechFaxNumber = "",
TechFirstName = "qwerty",
TechLastName = "ytrewq",
TechOrganizationName = "IBM",
TechPhoneNumber = "8657072955",
TechTitle = "SSL CERT",
},
TechnicalContactSameAsOrgAddressFlag = false,
ValidityMonths = 24,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.SslCertificate;
import com.pulumi.ibm.SslCertificateArgs;
import com.pulumi.ibm.inputs.SslCertificateAdministrativeContactArgs;
import com.pulumi.ibm.inputs.SslCertificateBillingContactArgs;
import com.pulumi.ibm.inputs.SslCertificateOrganizationInformationArgs;
import com.pulumi.ibm.inputs.SslCertificateTechnicalContactArgs;
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 mySsllllll = new SslCertificate("mySsllllll", SslCertificateArgs.builder()
.administrativeAddressSameAsOrganizationFlag("false")
.administrativeContact(SslCertificateAdministrativeContactArgs.builder()
.adminAddresses(SslCertificateAdministrativeContactAdminAddressArgs.builder()
.adminAddressLine1("fghds")
.adminAddressLine2("twyu")
.adminCity("pune")
.adminCountryCode("IN")
.adminPostalCode("411045")
.adminState("MH")
.build())
.adminEmailAddress("fghjk@gshhds.com")
.adminFaxNumber("")
.adminFirstName("DFGHJ")
.adminLastName("dfghjkl")
.adminOrganizationName("GSLAB")
.adminPhoneNumber("8657072955")
.adminTitle("POIUYGHJK")
.build())
.administrativeContactSameAsTechnicalFlag("false")
.billingAddressSameAsOrganizationFlag("false")
.billingContact(SslCertificateBillingContactArgs.builder()
.billingAddresses(SslCertificateBillingContactBillingAddressArgs.builder()
.billingAddressLine1("plk")
.billingAddressLine2("PLO")
.billingCity("PUNE")
.billingCountryCode("IN")
.billingPostalCode("411045")
.billingState("MH")
.build())
.billingEmailAddress("kjjj@gsd.com")
.billingFaxNumber("")
.billingFirstName("ERTYU")
.billingLastName("SDFGHJK")
.billingOrganizationName("IBM")
.billingPhoneNumber("8657072955")
.billingTitle("PFGHJK")
.build())
.billingContactSameAsTechnicalFlag("false")
.certificateSigningRequest("""
-----BEGIN CERTIFICATE REQUEST-----
CERTIFICATE CONTENT
-----END CERTIFICATE REQUEST-----
""")
.orderApproverEmailAddress("admin@pune.in")
.organizationInformation(SslCertificateOrganizationInformationArgs.builder()
.orgAddresses(SslCertificateOrganizationInformationOrgAddressArgs.builder()
.orgAddressLine1("abc")
.orgAddressLine2("xyz")
.orgCity("pune")
.orgCountryCode("IN")
.orgPostalCode("411045")
.orgState("MH")
.build())
.orgFaxNumber("")
.orgOrganizationName("GSLAB")
.orgPhoneNumber("8657072955")
.build())
.renewalFlag(true)
.serverCount(1)
.serverType("apache2")
.sslType("SSL_CERTIFICATE_QUICKSSL_PREMIUM_2_YEAR")
.technicalContact(SslCertificateTechnicalContactArgs.builder()
.techAddresses(SslCertificateTechnicalContactTechAddressArgs.builder()
.techAddressLine1("fcb")
.techAddressLine2("pqr")
.techCity("pune")
.techCountryCode("IN")
.techPostalCode("411045")
.techState("MH")
.build())
.techEmailAddress("abc@gmail.com")
.techFaxNumber("")
.techFirstName("qwerty")
.techLastName("ytrewq")
.techOrganizationName("IBM")
.techPhoneNumber("8657072955")
.techTitle("SSL CERT")
.build())
.technicalContactSameAsOrgAddressFlag("false")
.validityMonths(24)
.build());
}
}
resources:
mySsllllll:
type: ibm:SslCertificate
properties:
administrativeAddressSameAsOrganizationFlag: 'false'
administrativeContact:
adminAddresses:
- adminAddressLine1: fghds
adminAddressLine2: twyu
adminCity: pune
adminCountryCode: IN
adminPostalCode: '411045'
adminState: MH
adminEmailAddress: fghjk@gshhds.com
adminFaxNumber: ""
adminFirstName: DFGHJ
adminLastName: dfghjkl
adminOrganizationName: GSLAB
adminPhoneNumber: '8657072955'
adminTitle: POIUYGHJK
administrativeContactSameAsTechnicalFlag: 'false'
billingAddressSameAsOrganizationFlag: 'false'
billingContact:
billingAddresses:
- billingAddressLine1: plk
billingAddressLine2: PLO
billingCity: PUNE
billingCountryCode: IN
billingPostalCode: '411045'
billingState: MH
billingEmailAddress: kjjj@gsd.com
billingFaxNumber: ""
billingFirstName: ERTYU
billingLastName: SDFGHJK
billingOrganizationName: IBM
billingPhoneNumber: '8657072955'
billingTitle: PFGHJK
billingContactSameAsTechnicalFlag: 'false'
certificateSigningRequest: |
-----BEGIN CERTIFICATE REQUEST-----
CERTIFICATE CONTENT
-----END CERTIFICATE REQUEST-----
orderApproverEmailAddress: admin@pune.in
organizationInformation:
orgAddresses:
- orgAddressLine1: abc
orgAddressLine2: xyz
orgCity: pune
orgCountryCode: IN
orgPostalCode: '411045'
orgState: MH
orgFaxNumber: ""
orgOrganizationName: GSLAB
orgPhoneNumber: '8657072955'
renewalFlag: true
serverCount: 1
serverType: apache2
sslType: SSL_CERTIFICATE_QUICKSSL_PREMIUM_2_YEAR
technicalContact:
techAddresses:
- techAddressLine1: fcb
techAddressLine2: pqr
techCity: pune
techCountryCode: IN
techPostalCode: '411045'
techState: MH
techEmailAddress: abc@gmail.com
techFaxNumber: ""
techFirstName: qwerty
techLastName: ytrewq
techOrganizationName: IBM
techPhoneNumber: '8657072955'
techTitle: SSL CERT
technicalContactSameAsOrgAddressFlag: 'false'
validityMonths: 24
Argument reference
Review the argument references that you can specify for your resource.
administrative_contact
- (Optional, Set) Administrator contact details.Nested scheme for
administrative_contact
:admin_address
- (Optional, Set) Administrator address details.Nested scheme for
admin_address
:admin_addressLine1
- (Optional, String) The address for administrative contact.admin_addressLine2
- (Optional, String) The address for administrative contact.admin_city
- (Optional, String) The city for administrative contact.admin_countryCode
- (Optional, String) The two letter country code for administrative contact.admin_postalCode
- (Optional, Integer) The postal code for administrative contact.admin_state
- (Optional, String) The two letter state code of administrative contact. Allowed value for country which doesn’t have states isOT
.
admin_emailAddress
-(Optional, String) email address for administrative contact.admin_fax_number
- (Optional, String) Fax number for administrator.admin_firstName
- (Optional, String) The first name for administrative contact.admin_lastName
- (Optional, String) The last name for administrative contact.admin_organizationName
- (Optional, String) Name of organization for administrative contact.admin_phone_number
- (Optional, String) Phone number of administrator.admin_title
- (Optional, String) The title for administrative contact.
administrativeContactSameAsTechnicalFlag
-(Required, Bool) If your technical contact details and administrative contact details are the same then make this as true and skip details of administrative contact.administrativeAddressSameAsOrganizationFlag
-(Required, Bool) If administrative address is same as organization address then make this flag as true and skip address details.billingAddressSameAsOrganizationFlag
-(Required, Bool) If billing address is same as organization address then make this flag as true and skip address details.billingContactSameAsTechnicalFlag
-(Required, Bool) If your technical contact details and billing contact details are the same then make this as true and skip details of billing contact.billing_contact
- (Optional, Set) Billing Contact details.Nested scheme for
billing_contact
:billing_address
- (Optional, Set) Billing address details.Nested scheme for
billing_address
:billing_addressLine1
- (Optional, String) The address for billing contact.billing_addressLine2
- (Optional, String) The address for billing contact.billing_countryCode
- (Optional, String) The two letter country code for billing contact.billing_city
- (Optional, String) The city for billing contact.billing_postalCode
- (Optional, Integer) The postal code for billing contact.billing_state
- (Optional, String) The two letter state code of billing contact. Allowed value for country which doesn’t have states isOT
.
billing_emailAddress
- (Optional, String) email address for billing contact.billing_fax_number
- (Optional, String) Fax number for billing contact.billing_firstName
- (Optional, String) The first name for billing contact.billing_lastName
- (Optional, String) The last name for billing contact.billing_organizationName
- (Optional, String) Name of organization for billing contact.billing_phone_number
- (Optional, String) Phone number for billing contact.billing_title
- (Optional, String) The title for billing contact.
certificateSigningRequest
- (Required, String) The Certificate Signing Request which is specially formatted encrypted message sent from a Secure Sockets Layer (SSL) digital certificate applicant to a certificate authority.orderApproverEmailAddress
- (Required, String) The email of approver to approve SSL certificate request.organization_information
- (Required, Set) Organization information from issuer belongs to.Nested scheme for
organization_information
:org_address
- (Required, String) Organization address of the issuer.Nested scheme for
org_address
:org_addressLine1
- (Required, String) The address of organization who is requesting for SSL certificate.org_addressLine2
- (Optional, String) The address of organization who is requesting for SSL certificate.org_city
- (Required, String) The city of organization which is requesting for SSL certificate.org_countryCode
- (Required, String) The two letter country code of organization.org_postalCode
- (Required, Integer) The postal code for the city of organization.org_state
- (Required, String) The two letter state code of organization who is requesting for SSL certificate. Allowed value for country which doesn’t have states isOT
.
org_fax_number
- (Optional, String) Fax number for organization.org_organizationName
- (Required, String) Name of organization.org_phone_number
- (Required, String) Phone number of organization
sslType
- (Required, String) The SSL certificate type.serverType
- (Required, String) The server type for which we are requesting SSL certificate.serverCount
- (Required, String) The number of servers with provided server type.technical_contact
- (Required, Set) Technical contact details of issuer.Nested scheme for
technical_contact
:tech_address
- (Optional, Set) Technical address details.Nested scheme for
tech_address
:tech_addressLine1
- (Required, String) The address for technical contact.tech_addressLine2
- (Optional, String) The address for technical contact.tech_city
- (Required, String) The city for technical contact.tech_countryCode
- (Required, String) The two letter country code for technical contact.tech_postalCode
- (Required, Integer) The postal code for technical contact.tech_state
- (Required, String) The two letter state code of technical contact. Allowed value for country which doesn’t have states isOT
.
tech_emailAddress
-(Required, String) email address for technical contact.tech_fax_number
- (Optional, String) Fax number for technical detail.tech_firstName
- (Required, String) The first name for technical contact.tech_lastName
- (Required, String) The last name for technical contact.tech_organizationName
- (Required, String) Name of organization for technical contact.tech_phone_number
- (Required, String) phone number for technical detail.tech_title
- (Required, String) The title for technical contact.
technicalContactSameAsOrgAddressFlag
-(Optional, Bool) If your organization address and technical contact address are the same make this flag as true and skip technical contact address details.validityMonths
- (Required, Integer) The validity of SSL certificate in months it should be multiple of 12.
Create SslCertificate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SslCertificate(name: string, args: SslCertificateArgs, opts?: CustomResourceOptions);
@overload
def SslCertificate(resource_name: str,
args: SslCertificateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SslCertificate(resource_name: str,
opts: Optional[ResourceOptions] = None,
organization_information: Optional[SslCertificateOrganizationInformationArgs] = None,
validity_months: Optional[float] = None,
technical_contact: Optional[SslCertificateTechnicalContactArgs] = None,
ssl_type: Optional[str] = None,
server_type: Optional[str] = None,
server_count: Optional[float] = None,
certificate_signing_request: Optional[str] = None,
order_approver_email_address: Optional[str] = None,
billing_contact: Optional[SslCertificateBillingContactArgs] = None,
renewal_flag: Optional[bool] = None,
billing_contact_same_as_technical_flag: Optional[bool] = None,
administrative_address_same_as_organization_flag: Optional[bool] = None,
ssl_certificate_id: Optional[str] = None,
billing_address_same_as_organization_flag: Optional[bool] = None,
administrative_contact_same_as_technical_flag: Optional[bool] = None,
technical_contact_same_as_org_address_flag: Optional[bool] = None,
administrative_contact: Optional[SslCertificateAdministrativeContactArgs] = None)
func NewSslCertificate(ctx *Context, name string, args SslCertificateArgs, opts ...ResourceOption) (*SslCertificate, error)
public SslCertificate(string name, SslCertificateArgs args, CustomResourceOptions? opts = null)
public SslCertificate(String name, SslCertificateArgs args)
public SslCertificate(String name, SslCertificateArgs args, CustomResourceOptions options)
type: ibm:SslCertificate
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 SslCertificateArgs
- 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 SslCertificateArgs
- 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 SslCertificateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SslCertificateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SslCertificateArgs
- 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 sslCertificateResource = new Ibm.SslCertificate("sslCertificateResource", new()
{
OrganizationInformation = new Ibm.Inputs.SslCertificateOrganizationInformationArgs
{
OrgAddresses = new[]
{
new Ibm.Inputs.SslCertificateOrganizationInformationOrgAddressArgs
{
OrgAddressLine1 = "string",
OrgCity = "string",
OrgCountryCode = "string",
OrgPostalCode = "string",
OrgState = "string",
OrgAddressLine2 = "string",
},
},
OrgOrganizationName = "string",
OrgPhoneNumber = "string",
OrgFaxNumber = "string",
},
ValidityMonths = 0,
TechnicalContact = new Ibm.Inputs.SslCertificateTechnicalContactArgs
{
TechEmailAddress = "string",
TechFirstName = "string",
TechLastName = "string",
TechOrganizationName = "string",
TechPhoneNumber = "string",
TechTitle = "string",
TechAddresses = new[]
{
new Ibm.Inputs.SslCertificateTechnicalContactTechAddressArgs
{
TechAddressLine1 = "string",
TechAddressLine2 = "string",
TechCity = "string",
TechCountryCode = "string",
TechPostalCode = "string",
TechState = "string",
},
},
TechFaxNumber = "string",
},
SslType = "string",
ServerType = "string",
ServerCount = 0,
CertificateSigningRequest = "string",
OrderApproverEmailAddress = "string",
BillingContact = new Ibm.Inputs.SslCertificateBillingContactArgs
{
BillingAddresses = new[]
{
new Ibm.Inputs.SslCertificateBillingContactBillingAddressArgs
{
BillingAddressLine1 = "string",
BillingAddressLine2 = "string",
BillingCity = "string",
BillingCountryCode = "string",
BillingPostalCode = "string",
BillingState = "string",
},
},
BillingEmailAddress = "string",
BillingFaxNumber = "string",
BillingFirstName = "string",
BillingLastName = "string",
BillingOrganizationName = "string",
BillingPhoneNumber = "string",
BillingTitle = "string",
},
RenewalFlag = false,
BillingContactSameAsTechnicalFlag = false,
AdministrativeAddressSameAsOrganizationFlag = false,
SslCertificateId = "string",
BillingAddressSameAsOrganizationFlag = false,
AdministrativeContactSameAsTechnicalFlag = false,
TechnicalContactSameAsOrgAddressFlag = false,
AdministrativeContact = new Ibm.Inputs.SslCertificateAdministrativeContactArgs
{
AdminAddresses = new[]
{
new Ibm.Inputs.SslCertificateAdministrativeContactAdminAddressArgs
{
AdminAddressLine1 = "string",
AdminAddressLine2 = "string",
AdminCity = "string",
AdminCountryCode = "string",
AdminPostalCode = "string",
AdminState = "string",
},
},
AdminEmailAddress = "string",
AdminFaxNumber = "string",
AdminFirstName = "string",
AdminLastName = "string",
AdminOrganizationName = "string",
AdminPhoneNumber = "string",
AdminTitle = "string",
},
});
example, err := ibm.NewSslCertificate(ctx, "sslCertificateResource", &ibm.SslCertificateArgs{
OrganizationInformation: &ibm.SslCertificateOrganizationInformationArgs{
OrgAddresses: ibm.SslCertificateOrganizationInformationOrgAddressArray{
&ibm.SslCertificateOrganizationInformationOrgAddressArgs{
OrgAddressLine1: pulumi.String("string"),
OrgCity: pulumi.String("string"),
OrgCountryCode: pulumi.String("string"),
OrgPostalCode: pulumi.String("string"),
OrgState: pulumi.String("string"),
OrgAddressLine2: pulumi.String("string"),
},
},
OrgOrganizationName: pulumi.String("string"),
OrgPhoneNumber: pulumi.String("string"),
OrgFaxNumber: pulumi.String("string"),
},
ValidityMonths: pulumi.Float64(0),
TechnicalContact: &ibm.SslCertificateTechnicalContactArgs{
TechEmailAddress: pulumi.String("string"),
TechFirstName: pulumi.String("string"),
TechLastName: pulumi.String("string"),
TechOrganizationName: pulumi.String("string"),
TechPhoneNumber: pulumi.String("string"),
TechTitle: pulumi.String("string"),
TechAddresses: ibm.SslCertificateTechnicalContactTechAddressArray{
&ibm.SslCertificateTechnicalContactTechAddressArgs{
TechAddressLine1: pulumi.String("string"),
TechAddressLine2: pulumi.String("string"),
TechCity: pulumi.String("string"),
TechCountryCode: pulumi.String("string"),
TechPostalCode: pulumi.String("string"),
TechState: pulumi.String("string"),
},
},
TechFaxNumber: pulumi.String("string"),
},
SslType: pulumi.String("string"),
ServerType: pulumi.String("string"),
ServerCount: pulumi.Float64(0),
CertificateSigningRequest: pulumi.String("string"),
OrderApproverEmailAddress: pulumi.String("string"),
BillingContact: &ibm.SslCertificateBillingContactArgs{
BillingAddresses: ibm.SslCertificateBillingContactBillingAddressArray{
&ibm.SslCertificateBillingContactBillingAddressArgs{
BillingAddressLine1: pulumi.String("string"),
BillingAddressLine2: pulumi.String("string"),
BillingCity: pulumi.String("string"),
BillingCountryCode: pulumi.String("string"),
BillingPostalCode: pulumi.String("string"),
BillingState: pulumi.String("string"),
},
},
BillingEmailAddress: pulumi.String("string"),
BillingFaxNumber: pulumi.String("string"),
BillingFirstName: pulumi.String("string"),
BillingLastName: pulumi.String("string"),
BillingOrganizationName: pulumi.String("string"),
BillingPhoneNumber: pulumi.String("string"),
BillingTitle: pulumi.String("string"),
},
RenewalFlag: pulumi.Bool(false),
BillingContactSameAsTechnicalFlag: pulumi.Bool(false),
AdministrativeAddressSameAsOrganizationFlag: pulumi.Bool(false),
SslCertificateId: pulumi.String("string"),
BillingAddressSameAsOrganizationFlag: pulumi.Bool(false),
AdministrativeContactSameAsTechnicalFlag: pulumi.Bool(false),
TechnicalContactSameAsOrgAddressFlag: pulumi.Bool(false),
AdministrativeContact: &ibm.SslCertificateAdministrativeContactArgs{
AdminAddresses: ibm.SslCertificateAdministrativeContactAdminAddressArray{
&ibm.SslCertificateAdministrativeContactAdminAddressArgs{
AdminAddressLine1: pulumi.String("string"),
AdminAddressLine2: pulumi.String("string"),
AdminCity: pulumi.String("string"),
AdminCountryCode: pulumi.String("string"),
AdminPostalCode: pulumi.String("string"),
AdminState: pulumi.String("string"),
},
},
AdminEmailAddress: pulumi.String("string"),
AdminFaxNumber: pulumi.String("string"),
AdminFirstName: pulumi.String("string"),
AdminLastName: pulumi.String("string"),
AdminOrganizationName: pulumi.String("string"),
AdminPhoneNumber: pulumi.String("string"),
AdminTitle: pulumi.String("string"),
},
})
var sslCertificateResource = new SslCertificate("sslCertificateResource", SslCertificateArgs.builder()
.organizationInformation(SslCertificateOrganizationInformationArgs.builder()
.orgAddresses(SslCertificateOrganizationInformationOrgAddressArgs.builder()
.orgAddressLine1("string")
.orgCity("string")
.orgCountryCode("string")
.orgPostalCode("string")
.orgState("string")
.orgAddressLine2("string")
.build())
.orgOrganizationName("string")
.orgPhoneNumber("string")
.orgFaxNumber("string")
.build())
.validityMonths(0)
.technicalContact(SslCertificateTechnicalContactArgs.builder()
.techEmailAddress("string")
.techFirstName("string")
.techLastName("string")
.techOrganizationName("string")
.techPhoneNumber("string")
.techTitle("string")
.techAddresses(SslCertificateTechnicalContactTechAddressArgs.builder()
.techAddressLine1("string")
.techAddressLine2("string")
.techCity("string")
.techCountryCode("string")
.techPostalCode("string")
.techState("string")
.build())
.techFaxNumber("string")
.build())
.sslType("string")
.serverType("string")
.serverCount(0)
.certificateSigningRequest("string")
.orderApproverEmailAddress("string")
.billingContact(SslCertificateBillingContactArgs.builder()
.billingAddresses(SslCertificateBillingContactBillingAddressArgs.builder()
.billingAddressLine1("string")
.billingAddressLine2("string")
.billingCity("string")
.billingCountryCode("string")
.billingPostalCode("string")
.billingState("string")
.build())
.billingEmailAddress("string")
.billingFaxNumber("string")
.billingFirstName("string")
.billingLastName("string")
.billingOrganizationName("string")
.billingPhoneNumber("string")
.billingTitle("string")
.build())
.renewalFlag(false)
.billingContactSameAsTechnicalFlag(false)
.administrativeAddressSameAsOrganizationFlag(false)
.sslCertificateId("string")
.billingAddressSameAsOrganizationFlag(false)
.administrativeContactSameAsTechnicalFlag(false)
.technicalContactSameAsOrgAddressFlag(false)
.administrativeContact(SslCertificateAdministrativeContactArgs.builder()
.adminAddresses(SslCertificateAdministrativeContactAdminAddressArgs.builder()
.adminAddressLine1("string")
.adminAddressLine2("string")
.adminCity("string")
.adminCountryCode("string")
.adminPostalCode("string")
.adminState("string")
.build())
.adminEmailAddress("string")
.adminFaxNumber("string")
.adminFirstName("string")
.adminLastName("string")
.adminOrganizationName("string")
.adminPhoneNumber("string")
.adminTitle("string")
.build())
.build());
ssl_certificate_resource = ibm.SslCertificate("sslCertificateResource",
organization_information={
"org_addresses": [{
"org_address_line1": "string",
"org_city": "string",
"org_country_code": "string",
"org_postal_code": "string",
"org_state": "string",
"org_address_line2": "string",
}],
"org_organization_name": "string",
"org_phone_number": "string",
"org_fax_number": "string",
},
validity_months=0,
technical_contact={
"tech_email_address": "string",
"tech_first_name": "string",
"tech_last_name": "string",
"tech_organization_name": "string",
"tech_phone_number": "string",
"tech_title": "string",
"tech_addresses": [{
"tech_address_line1": "string",
"tech_address_line2": "string",
"tech_city": "string",
"tech_country_code": "string",
"tech_postal_code": "string",
"tech_state": "string",
}],
"tech_fax_number": "string",
},
ssl_type="string",
server_type="string",
server_count=0,
certificate_signing_request="string",
order_approver_email_address="string",
billing_contact={
"billing_addresses": [{
"billing_address_line1": "string",
"billing_address_line2": "string",
"billing_city": "string",
"billing_country_code": "string",
"billing_postal_code": "string",
"billing_state": "string",
}],
"billing_email_address": "string",
"billing_fax_number": "string",
"billing_first_name": "string",
"billing_last_name": "string",
"billing_organization_name": "string",
"billing_phone_number": "string",
"billing_title": "string",
},
renewal_flag=False,
billing_contact_same_as_technical_flag=False,
administrative_address_same_as_organization_flag=False,
ssl_certificate_id="string",
billing_address_same_as_organization_flag=False,
administrative_contact_same_as_technical_flag=False,
technical_contact_same_as_org_address_flag=False,
administrative_contact={
"admin_addresses": [{
"admin_address_line1": "string",
"admin_address_line2": "string",
"admin_city": "string",
"admin_country_code": "string",
"admin_postal_code": "string",
"admin_state": "string",
}],
"admin_email_address": "string",
"admin_fax_number": "string",
"admin_first_name": "string",
"admin_last_name": "string",
"admin_organization_name": "string",
"admin_phone_number": "string",
"admin_title": "string",
})
const sslCertificateResource = new ibm.SslCertificate("sslCertificateResource", {
organizationInformation: {
orgAddresses: [{
orgAddressLine1: "string",
orgCity: "string",
orgCountryCode: "string",
orgPostalCode: "string",
orgState: "string",
orgAddressLine2: "string",
}],
orgOrganizationName: "string",
orgPhoneNumber: "string",
orgFaxNumber: "string",
},
validityMonths: 0,
technicalContact: {
techEmailAddress: "string",
techFirstName: "string",
techLastName: "string",
techOrganizationName: "string",
techPhoneNumber: "string",
techTitle: "string",
techAddresses: [{
techAddressLine1: "string",
techAddressLine2: "string",
techCity: "string",
techCountryCode: "string",
techPostalCode: "string",
techState: "string",
}],
techFaxNumber: "string",
},
sslType: "string",
serverType: "string",
serverCount: 0,
certificateSigningRequest: "string",
orderApproverEmailAddress: "string",
billingContact: {
billingAddresses: [{
billingAddressLine1: "string",
billingAddressLine2: "string",
billingCity: "string",
billingCountryCode: "string",
billingPostalCode: "string",
billingState: "string",
}],
billingEmailAddress: "string",
billingFaxNumber: "string",
billingFirstName: "string",
billingLastName: "string",
billingOrganizationName: "string",
billingPhoneNumber: "string",
billingTitle: "string",
},
renewalFlag: false,
billingContactSameAsTechnicalFlag: false,
administrativeAddressSameAsOrganizationFlag: false,
sslCertificateId: "string",
billingAddressSameAsOrganizationFlag: false,
administrativeContactSameAsTechnicalFlag: false,
technicalContactSameAsOrgAddressFlag: false,
administrativeContact: {
adminAddresses: [{
adminAddressLine1: "string",
adminAddressLine2: "string",
adminCity: "string",
adminCountryCode: "string",
adminPostalCode: "string",
adminState: "string",
}],
adminEmailAddress: "string",
adminFaxNumber: "string",
adminFirstName: "string",
adminLastName: "string",
adminOrganizationName: "string",
adminPhoneNumber: "string",
adminTitle: "string",
},
});
type: ibm:SslCertificate
properties:
administrativeAddressSameAsOrganizationFlag: false
administrativeContact:
adminAddresses:
- adminAddressLine1: string
adminAddressLine2: string
adminCity: string
adminCountryCode: string
adminPostalCode: string
adminState: string
adminEmailAddress: string
adminFaxNumber: string
adminFirstName: string
adminLastName: string
adminOrganizationName: string
adminPhoneNumber: string
adminTitle: string
administrativeContactSameAsTechnicalFlag: false
billingAddressSameAsOrganizationFlag: false
billingContact:
billingAddresses:
- billingAddressLine1: string
billingAddressLine2: string
billingCity: string
billingCountryCode: string
billingPostalCode: string
billingState: string
billingEmailAddress: string
billingFaxNumber: string
billingFirstName: string
billingLastName: string
billingOrganizationName: string
billingPhoneNumber: string
billingTitle: string
billingContactSameAsTechnicalFlag: false
certificateSigningRequest: string
orderApproverEmailAddress: string
organizationInformation:
orgAddresses:
- orgAddressLine1: string
orgAddressLine2: string
orgCity: string
orgCountryCode: string
orgPostalCode: string
orgState: string
orgFaxNumber: string
orgOrganizationName: string
orgPhoneNumber: string
renewalFlag: false
serverCount: 0
serverType: string
sslCertificateId: string
sslType: string
technicalContact:
techAddresses:
- techAddressLine1: string
techAddressLine2: string
techCity: string
techCountryCode: string
techPostalCode: string
techState: string
techEmailAddress: string
techFaxNumber: string
techFirstName: string
techLastName: string
techOrganizationName: string
techPhoneNumber: string
techTitle: string
technicalContactSameAsOrgAddressFlag: false
validityMonths: 0
SslCertificate 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 SslCertificate resource accepts the following input properties:
- Certificate
Signing stringRequest - certificate signing request info
- Order
Approver stringEmail Address - Email address of the approver
- Organization
Information SslCertificate Organization Information - Organization information
- Server
Count double - Server count
- Server
Type string - server type
- Ssl
Type string - ssl type
- Technical
Contact SslCertificate Technical Contact - Technical contact info
- Validity
Months double - vslidity of the ssl certificate in month
- Administrative
Address boolSame As Organization Flag - administrative address same as organization flag
- Administrative
Contact SslCertificate Administrative Contact - Administrative
Contact boolSame As Technical Flag - Administrative contact same as technical flag
- Billing
Address boolSame As Organization Flag - billing address same as organization flag
- Billing
Contact SslCertificate Billing Contact - Billing
Contact boolSame As Technical Flag - billing contact
- Renewal
Flag bool - Renewal flag
- Ssl
Certificate stringId - Technical
Contact boolSame As Org Address Flag - Technical contact same as org address flag
- Certificate
Signing stringRequest - certificate signing request info
- Order
Approver stringEmail Address - Email address of the approver
- Organization
Information SslCertificate Organization Information Args - Organization information
- Server
Count float64 - Server count
- Server
Type string - server type
- Ssl
Type string - ssl type
- Technical
Contact SslCertificate Technical Contact Args - Technical contact info
- Validity
Months float64 - vslidity of the ssl certificate in month
- Administrative
Address boolSame As Organization Flag - administrative address same as organization flag
- Administrative
Contact SslCertificate Administrative Contact Args - Administrative
Contact boolSame As Technical Flag - Administrative contact same as technical flag
- Billing
Address boolSame As Organization Flag - billing address same as organization flag
- Billing
Contact SslCertificate Billing Contact Args - Billing
Contact boolSame As Technical Flag - billing contact
- Renewal
Flag bool - Renewal flag
- Ssl
Certificate stringId - Technical
Contact boolSame As Org Address Flag - Technical contact same as org address flag
- certificate
Signing StringRequest - certificate signing request info
- order
Approver StringEmail Address - Email address of the approver
- organization
Information SslCertificate Organization Information - Organization information
- server
Count Double - Server count
- server
Type String - server type
- ssl
Type String - ssl type
- technical
Contact SslCertificate Technical Contact - Technical contact info
- validity
Months Double - vslidity of the ssl certificate in month
- administrative
Address BooleanSame As Organization Flag - administrative address same as organization flag
- administrative
Contact SslCertificate Administrative Contact - administrative
Contact BooleanSame As Technical Flag - Administrative contact same as technical flag
- billing
Address BooleanSame As Organization Flag - billing address same as organization flag
- billing
Contact SslCertificate Billing Contact - billing
Contact BooleanSame As Technical Flag - billing contact
- renewal
Flag Boolean - Renewal flag
- ssl
Certificate StringId - technical
Contact BooleanSame As Org Address Flag - Technical contact same as org address flag
- certificate
Signing stringRequest - certificate signing request info
- order
Approver stringEmail Address - Email address of the approver
- organization
Information SslCertificate Organization Information - Organization information
- server
Count number - Server count
- server
Type string - server type
- ssl
Type string - ssl type
- technical
Contact SslCertificate Technical Contact - Technical contact info
- validity
Months number - vslidity of the ssl certificate in month
- administrative
Address booleanSame As Organization Flag - administrative address same as organization flag
- administrative
Contact SslCertificate Administrative Contact - administrative
Contact booleanSame As Technical Flag - Administrative contact same as technical flag
- billing
Address booleanSame As Organization Flag - billing address same as organization flag
- billing
Contact SslCertificate Billing Contact - billing
Contact booleanSame As Technical Flag - billing contact
- renewal
Flag boolean - Renewal flag
- ssl
Certificate stringId - technical
Contact booleanSame As Org Address Flag - Technical contact same as org address flag
- certificate_
signing_ strrequest - certificate signing request info
- order_
approver_ stremail_ address - Email address of the approver
- organization_
information SslCertificate Organization Information Args - Organization information
- server_
count float - Server count
- server_
type str - server type
- ssl_
type str - ssl type
- technical_
contact SslCertificate Technical Contact Args - Technical contact info
- validity_
months float - vslidity of the ssl certificate in month
- administrative_
address_ boolsame_ as_ organization_ flag - administrative address same as organization flag
- administrative_
contact SslCertificate Administrative Contact Args - administrative_
contact_ boolsame_ as_ technical_ flag - Administrative contact same as technical flag
- billing_
address_ boolsame_ as_ organization_ flag - billing address same as organization flag
- billing_
contact SslCertificate Billing Contact Args - billing_
contact_ boolsame_ as_ technical_ flag - billing contact
- renewal_
flag bool - Renewal flag
- ssl_
certificate_ strid - technical_
contact_ boolsame_ as_ org_ address_ flag - Technical contact same as org address flag
- certificate
Signing StringRequest - certificate signing request info
- order
Approver StringEmail Address - Email address of the approver
- organization
Information Property Map - Organization information
- server
Count Number - Server count
- server
Type String - server type
- ssl
Type String - ssl type
- technical
Contact Property Map - Technical contact info
- validity
Months Number - vslidity of the ssl certificate in month
- administrative
Address BooleanSame As Organization Flag - administrative address same as organization flag
- administrative
Contact Property Map - administrative
Contact BooleanSame As Technical Flag - Administrative contact same as technical flag
- billing
Address BooleanSame As Organization Flag - billing address same as organization flag
- billing
Contact Property Map - billing
Contact BooleanSame As Technical Flag - billing contact
- renewal
Flag Boolean - Renewal flag
- ssl
Certificate StringId - technical
Contact BooleanSame As Org Address Flag - Technical contact same as org address flag
Outputs
All input properties are implicitly available as output properties. Additionally, the SslCertificate 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 SslCertificate Resource
Get an existing SslCertificate 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?: SslCertificateState, opts?: CustomResourceOptions): SslCertificate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
administrative_address_same_as_organization_flag: Optional[bool] = None,
administrative_contact: Optional[SslCertificateAdministrativeContactArgs] = None,
administrative_contact_same_as_technical_flag: Optional[bool] = None,
billing_address_same_as_organization_flag: Optional[bool] = None,
billing_contact: Optional[SslCertificateBillingContactArgs] = None,
billing_contact_same_as_technical_flag: Optional[bool] = None,
certificate_signing_request: Optional[str] = None,
order_approver_email_address: Optional[str] = None,
organization_information: Optional[SslCertificateOrganizationInformationArgs] = None,
renewal_flag: Optional[bool] = None,
server_count: Optional[float] = None,
server_type: Optional[str] = None,
ssl_certificate_id: Optional[str] = None,
ssl_type: Optional[str] = None,
technical_contact: Optional[SslCertificateTechnicalContactArgs] = None,
technical_contact_same_as_org_address_flag: Optional[bool] = None,
validity_months: Optional[float] = None) -> SslCertificate
func GetSslCertificate(ctx *Context, name string, id IDInput, state *SslCertificateState, opts ...ResourceOption) (*SslCertificate, error)
public static SslCertificate Get(string name, Input<string> id, SslCertificateState? state, CustomResourceOptions? opts = null)
public static SslCertificate get(String name, Output<String> id, SslCertificateState state, CustomResourceOptions options)
resources: _: type: ibm:SslCertificate 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.
- Administrative
Address boolSame As Organization Flag - administrative address same as organization flag
- Administrative
Contact SslCertificate Administrative Contact - Administrative
Contact boolSame As Technical Flag - Administrative contact same as technical flag
- Billing
Address boolSame As Organization Flag - billing address same as organization flag
- Billing
Contact SslCertificate Billing Contact - Billing
Contact boolSame As Technical Flag - billing contact
- Certificate
Signing stringRequest - certificate signing request info
- Order
Approver stringEmail Address - Email address of the approver
- Organization
Information SslCertificate Organization Information - Organization information
- Renewal
Flag bool - Renewal flag
- Server
Count double - Server count
- Server
Type string - server type
- Ssl
Certificate stringId - Ssl
Type string - ssl type
- Technical
Contact SslCertificate Technical Contact - Technical contact info
- Technical
Contact boolSame As Org Address Flag - Technical contact same as org address flag
- Validity
Months double - vslidity of the ssl certificate in month
- Administrative
Address boolSame As Organization Flag - administrative address same as organization flag
- Administrative
Contact SslCertificate Administrative Contact Args - Administrative
Contact boolSame As Technical Flag - Administrative contact same as technical flag
- Billing
Address boolSame As Organization Flag - billing address same as organization flag
- Billing
Contact SslCertificate Billing Contact Args - Billing
Contact boolSame As Technical Flag - billing contact
- Certificate
Signing stringRequest - certificate signing request info
- Order
Approver stringEmail Address - Email address of the approver
- Organization
Information SslCertificate Organization Information Args - Organization information
- Renewal
Flag bool - Renewal flag
- Server
Count float64 - Server count
- Server
Type string - server type
- Ssl
Certificate stringId - Ssl
Type string - ssl type
- Technical
Contact SslCertificate Technical Contact Args - Technical contact info
- Technical
Contact boolSame As Org Address Flag - Technical contact same as org address flag
- Validity
Months float64 - vslidity of the ssl certificate in month
- administrative
Address BooleanSame As Organization Flag - administrative address same as organization flag
- administrative
Contact SslCertificate Administrative Contact - administrative
Contact BooleanSame As Technical Flag - Administrative contact same as technical flag
- billing
Address BooleanSame As Organization Flag - billing address same as organization flag
- billing
Contact SslCertificate Billing Contact - billing
Contact BooleanSame As Technical Flag - billing contact
- certificate
Signing StringRequest - certificate signing request info
- order
Approver StringEmail Address - Email address of the approver
- organization
Information SslCertificate Organization Information - Organization information
- renewal
Flag Boolean - Renewal flag
- server
Count Double - Server count
- server
Type String - server type
- ssl
Certificate StringId - ssl
Type String - ssl type
- technical
Contact SslCertificate Technical Contact - Technical contact info
- technical
Contact BooleanSame As Org Address Flag - Technical contact same as org address flag
- validity
Months Double - vslidity of the ssl certificate in month
- administrative
Address booleanSame As Organization Flag - administrative address same as organization flag
- administrative
Contact SslCertificate Administrative Contact - administrative
Contact booleanSame As Technical Flag - Administrative contact same as technical flag
- billing
Address booleanSame As Organization Flag - billing address same as organization flag
- billing
Contact SslCertificate Billing Contact - billing
Contact booleanSame As Technical Flag - billing contact
- certificate
Signing stringRequest - certificate signing request info
- order
Approver stringEmail Address - Email address of the approver
- organization
Information SslCertificate Organization Information - Organization information
- renewal
Flag boolean - Renewal flag
- server
Count number - Server count
- server
Type string - server type
- ssl
Certificate stringId - ssl
Type string - ssl type
- technical
Contact SslCertificate Technical Contact - Technical contact info
- technical
Contact booleanSame As Org Address Flag - Technical contact same as org address flag
- validity
Months number - vslidity of the ssl certificate in month
- administrative_
address_ boolsame_ as_ organization_ flag - administrative address same as organization flag
- administrative_
contact SslCertificate Administrative Contact Args - administrative_
contact_ boolsame_ as_ technical_ flag - Administrative contact same as technical flag
- billing_
address_ boolsame_ as_ organization_ flag - billing address same as organization flag
- billing_
contact SslCertificate Billing Contact Args - billing_
contact_ boolsame_ as_ technical_ flag - billing contact
- certificate_
signing_ strrequest - certificate signing request info
- order_
approver_ stremail_ address - Email address of the approver
- organization_
information SslCertificate Organization Information Args - Organization information
- renewal_
flag bool - Renewal flag
- server_
count float - Server count
- server_
type str - server type
- ssl_
certificate_ strid - ssl_
type str - ssl type
- technical_
contact SslCertificate Technical Contact Args - Technical contact info
- technical_
contact_ boolsame_ as_ org_ address_ flag - Technical contact same as org address flag
- validity_
months float - vslidity of the ssl certificate in month
- administrative
Address BooleanSame As Organization Flag - administrative address same as organization flag
- administrative
Contact Property Map - administrative
Contact BooleanSame As Technical Flag - Administrative contact same as technical flag
- billing
Address BooleanSame As Organization Flag - billing address same as organization flag
- billing
Contact Property Map - billing
Contact BooleanSame As Technical Flag - billing contact
- certificate
Signing StringRequest - certificate signing request info
- order
Approver StringEmail Address - Email address of the approver
- organization
Information Property Map - Organization information
- renewal
Flag Boolean - Renewal flag
- server
Count Number - Server count
- server
Type String - server type
- ssl
Certificate StringId - ssl
Type String - ssl type
- technical
Contact Property Map - Technical contact info
- technical
Contact BooleanSame As Org Address Flag - Technical contact same as org address flag
- validity
Months Number - vslidity of the ssl certificate in month
Supporting Types
SslCertificateAdministrativeContact, SslCertificateAdministrativeContactArgs
- Admin
Addresses List<SslCertificate Administrative Contact Admin Address> - Admin
Email stringAddress - Admin
Fax stringNumber - Admin
First stringName - Admin
Last stringName - Admin
Organization stringName - Admin
Phone stringNumber - Admin
Title string
- Admin
Addresses []SslCertificate Administrative Contact Admin Address - Admin
Email stringAddress - Admin
Fax stringNumber - Admin
First stringName - Admin
Last stringName - Admin
Organization stringName - Admin
Phone stringNumber - Admin
Title string
- admin
Addresses List<SslCertificate Administrative Contact Admin Address> - admin
Email StringAddress - admin
Fax StringNumber - admin
First StringName - admin
Last StringName - admin
Organization StringName - admin
Phone StringNumber - admin
Title String
- admin
Addresses SslCertificate Administrative Contact Admin Address[] - admin
Email stringAddress - admin
Fax stringNumber - admin
First stringName - admin
Last stringName - admin
Organization stringName - admin
Phone stringNumber - admin
Title string
- admin
Addresses List<Property Map> - admin
Email StringAddress - admin
Fax StringNumber - admin
First StringName - admin
Last StringName - admin
Organization StringName - admin
Phone StringNumber - admin
Title String
SslCertificateAdministrativeContactAdminAddress, SslCertificateAdministrativeContactAdminAddressArgs
- Admin
Address stringLine1 - Admin
Address stringLine2 - Admin
City string - Admin
Country stringCode - Admin
Postal stringCode - Admin
State string
- Admin
Address stringLine1 - Admin
Address stringLine2 - Admin
City string - Admin
Country stringCode - Admin
Postal stringCode - Admin
State string
- admin
Address StringLine1 - admin
Address StringLine2 - admin
City String - admin
Country StringCode - admin
Postal StringCode - admin
State String
- admin
Address stringLine1 - admin
Address stringLine2 - admin
City string - admin
Country stringCode - admin
Postal stringCode - admin
State string
- admin_
address_ strline1 - admin_
address_ strline2 - admin_
city str - admin_
country_ strcode - admin_
postal_ strcode - admin_
state str
- admin
Address StringLine1 - admin
Address StringLine2 - admin
City String - admin
Country StringCode - admin
Postal StringCode - admin
State String
SslCertificateBillingContact, SslCertificateBillingContactArgs
- Billing
Addresses List<SslCertificate Billing Contact Billing Address> - Billing
Email stringAddress - Billing
Fax stringNumber - Billing
First stringName - Billing
Last stringName - Billing
Organization stringName - Billing
Phone stringNumber - Billing
Title string
- Billing
Addresses []SslCertificate Billing Contact Billing Address - Billing
Email stringAddress - Billing
Fax stringNumber - Billing
First stringName - Billing
Last stringName - Billing
Organization stringName - Billing
Phone stringNumber - Billing
Title string
- billing
Addresses List<SslCertificate Billing Contact Billing Address> - billing
Email StringAddress - billing
Fax StringNumber - billing
First StringName - billing
Last StringName - billing
Organization StringName - billing
Phone StringNumber - billing
Title String
- billing
Addresses SslCertificate Billing Contact Billing Address[] - billing
Email stringAddress - billing
Fax stringNumber - billing
First stringName - billing
Last stringName - billing
Organization stringName - billing
Phone stringNumber - billing
Title string
- billing
Addresses List<Property Map> - billing
Email StringAddress - billing
Fax StringNumber - billing
First StringName - billing
Last StringName - billing
Organization StringName - billing
Phone StringNumber - billing
Title String
SslCertificateBillingContactBillingAddress, SslCertificateBillingContactBillingAddressArgs
- Billing
Address stringLine1 - Billing
Address stringLine2 - Billing
City string - Billing
Country stringCode - Billing
Postal stringCode - Billing
State string
- Billing
Address stringLine1 - Billing
Address stringLine2 - Billing
City string - Billing
Country stringCode - Billing
Postal stringCode - Billing
State string
- billing
Address StringLine1 - billing
Address StringLine2 - billing
City String - billing
Country StringCode - billing
Postal StringCode - billing
State String
- billing
Address stringLine1 - billing
Address stringLine2 - billing
City string - billing
Country stringCode - billing
Postal stringCode - billing
State string
- billing
Address StringLine1 - billing
Address StringLine2 - billing
City String - billing
Country StringCode - billing
Postal StringCode - billing
State String
SslCertificateOrganizationInformation, SslCertificateOrganizationInformationArgs
- Org
Addresses List<SslCertificate Organization Information Org Address> - Organization address
- Org
Organization stringName - Organization name
- Org
Phone stringNumber - Organization phone number
- Org
Fax stringNumber
- Org
Addresses []SslCertificate Organization Information Org Address - Organization address
- Org
Organization stringName - Organization name
- Org
Phone stringNumber - Organization phone number
- Org
Fax stringNumber
- org
Addresses List<SslCertificate Organization Information Org Address> - Organization address
- org
Organization StringName - Organization name
- org
Phone StringNumber - Organization phone number
- org
Fax StringNumber
- org
Addresses SslCertificate Organization Information Org Address[] - Organization address
- org
Organization stringName - Organization name
- org
Phone stringNumber - Organization phone number
- org
Fax stringNumber
- org_
addresses Sequence[SslCertificate Organization Information Org Address] - Organization address
- org_
organization_ strname - Organization name
- org_
phone_ strnumber - Organization phone number
- org_
fax_ strnumber
- org
Addresses List<Property Map> - Organization address
- org
Organization StringName - Organization name
- org
Phone StringNumber - Organization phone number
- org
Fax StringNumber
SslCertificateOrganizationInformationOrgAddress, SslCertificateOrganizationInformationOrgAddressArgs
- Org
Address stringLine1 - Org
City string - Org
Country stringCode - Org
Postal stringCode - Org
State string - Org
Address stringLine2
- Org
Address stringLine1 - Org
City string - Org
Country stringCode - Org
Postal stringCode - Org
State string - Org
Address stringLine2
- org
Address StringLine1 - org
City String - org
Country StringCode - org
Postal StringCode - org
State String - org
Address StringLine2
- org
Address stringLine1 - org
City string - org
Country stringCode - org
Postal stringCode - org
State string - org
Address stringLine2
- org_
address_ strline1 - org_
city str - org_
country_ strcode - org_
postal_ strcode - org_
state str - org_
address_ strline2
- org
Address StringLine1 - org
City String - org
Country StringCode - org
Postal StringCode - org
State String - org
Address StringLine2
SslCertificateTechnicalContact, SslCertificateTechnicalContactArgs
- Tech
Email stringAddress - Tech
First stringName - Tech
Last stringName - Tech
Organization stringName - Tech
Phone stringNumber - Tech
Title string - Tech
Addresses List<SslCertificate Technical Contact Tech Address> - Tech
Fax stringNumber
- Tech
Email stringAddress - Tech
First stringName - Tech
Last stringName - Tech
Organization stringName - Tech
Phone stringNumber - Tech
Title string - Tech
Addresses []SslCertificate Technical Contact Tech Address - Tech
Fax stringNumber
- tech
Email StringAddress - tech
First StringName - tech
Last StringName - tech
Organization StringName - tech
Phone StringNumber - tech
Title String - tech
Addresses List<SslCertificate Technical Contact Tech Address> - tech
Fax StringNumber
- tech
Email stringAddress - tech
First stringName - tech
Last stringName - tech
Organization stringName - tech
Phone stringNumber - tech
Title string - tech
Addresses SslCertificate Technical Contact Tech Address[] - tech
Fax stringNumber
- tech
Email StringAddress - tech
First StringName - tech
Last StringName - tech
Organization StringName - tech
Phone StringNumber - tech
Title String - tech
Addresses List<Property Map> - tech
Fax StringNumber
SslCertificateTechnicalContactTechAddress, SslCertificateTechnicalContactTechAddressArgs
- Tech
Address stringLine1 - Tech
Address stringLine2 - Tech
City string - Tech
Country stringCode - Tech
Postal stringCode - Tech
State string
- Tech
Address stringLine1 - Tech
Address stringLine2 - Tech
City string - Tech
Country stringCode - Tech
Postal stringCode - Tech
State string
- tech
Address StringLine1 - tech
Address StringLine2 - tech
City String - tech
Country StringCode - tech
Postal StringCode - tech
State String
- tech
Address stringLine1 - tech
Address stringLine2 - tech
City string - tech
Country stringCode - tech
Postal stringCode - tech
State string
- tech_
address_ strline1 - tech_
address_ strline2 - tech_
city str - tech_
country_ strcode - tech_
postal_ strcode - tech_
state str
- tech
Address StringLine1 - tech
Address StringLine2 - tech
City String - tech
Country StringCode - tech
Postal StringCode - tech
State String
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.