1. Packages
  2. Ionoscloud Provider
  3. API Docs
  4. AutoCertificate
ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud

ionoscloud.AutoCertificate

Explore with Pulumi AI

ionoscloud logo
ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud

    Create AutoCertificate Resource

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

    Constructor syntax

    new AutoCertificate(name: string, args: AutoCertificateArgs, opts?: CustomResourceOptions);
    @overload
    def AutoCertificate(resource_name: str,
                        args: AutoCertificateArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def AutoCertificate(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        common_name: Optional[str] = None,
                        key_algorithm: Optional[str] = None,
                        location: Optional[str] = None,
                        provider_id: Optional[str] = None,
                        auto_certificate_id: Optional[str] = None,
                        name: Optional[str] = None,
                        subject_alternative_names: Optional[Sequence[str]] = None,
                        timeouts: Optional[AutoCertificateTimeoutsArgs] = None)
    func NewAutoCertificate(ctx *Context, name string, args AutoCertificateArgs, opts ...ResourceOption) (*AutoCertificate, error)
    public AutoCertificate(string name, AutoCertificateArgs args, CustomResourceOptions? opts = null)
    public AutoCertificate(String name, AutoCertificateArgs args)
    public AutoCertificate(String name, AutoCertificateArgs args, CustomResourceOptions options)
    
    type: ionoscloud:AutoCertificate
    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 AutoCertificateArgs
    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 AutoCertificateArgs
    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 AutoCertificateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AutoCertificateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AutoCertificateArgs
    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 autoCertificateResource = new Ionoscloud.AutoCertificate("autoCertificateResource", new()
    {
        CommonName = "string",
        KeyAlgorithm = "string",
        Location = "string",
        ProviderId = "string",
        AutoCertificateId = "string",
        Name = "string",
        SubjectAlternativeNames = new[]
        {
            "string",
        },
        Timeouts = new Ionoscloud.Inputs.AutoCertificateTimeoutsArgs
        {
            Create = "string",
            Default = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := ionoscloud.NewAutoCertificate(ctx, "autoCertificateResource", &ionoscloud.AutoCertificateArgs{
    	CommonName:        pulumi.String("string"),
    	KeyAlgorithm:      pulumi.String("string"),
    	Location:          pulumi.String("string"),
    	ProviderId:        pulumi.String("string"),
    	AutoCertificateId: pulumi.String("string"),
    	Name:              pulumi.String("string"),
    	SubjectAlternativeNames: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Timeouts: &ionoscloud.AutoCertificateTimeoutsArgs{
    		Create:  pulumi.String("string"),
    		Default: pulumi.String("string"),
    		Delete:  pulumi.String("string"),
    		Update:  pulumi.String("string"),
    	},
    })
    
    var autoCertificateResource = new AutoCertificate("autoCertificateResource", AutoCertificateArgs.builder()
        .commonName("string")
        .keyAlgorithm("string")
        .location("string")
        .providerId("string")
        .autoCertificateId("string")
        .name("string")
        .subjectAlternativeNames("string")
        .timeouts(AutoCertificateTimeoutsArgs.builder()
            .create("string")
            .default_("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    auto_certificate_resource = ionoscloud.AutoCertificate("autoCertificateResource",
        common_name="string",
        key_algorithm="string",
        location="string",
        provider_id="string",
        auto_certificate_id="string",
        name="string",
        subject_alternative_names=["string"],
        timeouts={
            "create": "string",
            "default": "string",
            "delete": "string",
            "update": "string",
        })
    
    const autoCertificateResource = new ionoscloud.AutoCertificate("autoCertificateResource", {
        commonName: "string",
        keyAlgorithm: "string",
        location: "string",
        providerId: "string",
        autoCertificateId: "string",
        name: "string",
        subjectAlternativeNames: ["string"],
        timeouts: {
            create: "string",
            "default": "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: ionoscloud:AutoCertificate
    properties:
        autoCertificateId: string
        commonName: string
        keyAlgorithm: string
        location: string
        name: string
        providerId: string
        subjectAlternativeNames:
            - string
        timeouts:
            create: string
            default: string
            delete: string
            update: string
    

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

    CommonName string
    The common name (DNS) of the certificate to issue. The common name needs to be part of a zone in IONOS Cloud DNS
    KeyAlgorithm string
    The key algorithm used to generate the certificate
    Location string
    The location of the auto-certificate
    ProviderId string
    The certificate provider used to issue the certificates
    AutoCertificateId string
    Name string
    A certificate name used for management purposes
    SubjectAlternativeNames List<string>
    Optional additional names to be added to the issued certificate. The additional names needs to be part of a zone in IONOS Cloud DNS
    Timeouts AutoCertificateTimeouts
    CommonName string
    The common name (DNS) of the certificate to issue. The common name needs to be part of a zone in IONOS Cloud DNS
    KeyAlgorithm string
    The key algorithm used to generate the certificate
    Location string
    The location of the auto-certificate
    ProviderId string
    The certificate provider used to issue the certificates
    AutoCertificateId string
    Name string
    A certificate name used for management purposes
    SubjectAlternativeNames []string
    Optional additional names to be added to the issued certificate. The additional names needs to be part of a zone in IONOS Cloud DNS
    Timeouts AutoCertificateTimeoutsArgs
    commonName String
    The common name (DNS) of the certificate to issue. The common name needs to be part of a zone in IONOS Cloud DNS
    keyAlgorithm String
    The key algorithm used to generate the certificate
    location String
    The location of the auto-certificate
    providerId String
    The certificate provider used to issue the certificates
    autoCertificateId String
    name String
    A certificate name used for management purposes
    subjectAlternativeNames List<String>
    Optional additional names to be added to the issued certificate. The additional names needs to be part of a zone in IONOS Cloud DNS
    timeouts AutoCertificateTimeouts
    commonName string
    The common name (DNS) of the certificate to issue. The common name needs to be part of a zone in IONOS Cloud DNS
    keyAlgorithm string
    The key algorithm used to generate the certificate
    location string
    The location of the auto-certificate
    providerId string
    The certificate provider used to issue the certificates
    autoCertificateId string
    name string
    A certificate name used for management purposes
    subjectAlternativeNames string[]
    Optional additional names to be added to the issued certificate. The additional names needs to be part of a zone in IONOS Cloud DNS
    timeouts AutoCertificateTimeouts
    common_name str
    The common name (DNS) of the certificate to issue. The common name needs to be part of a zone in IONOS Cloud DNS
    key_algorithm str
    The key algorithm used to generate the certificate
    location str
    The location of the auto-certificate
    provider_id str
    The certificate provider used to issue the certificates
    auto_certificate_id str
    name str
    A certificate name used for management purposes
    subject_alternative_names Sequence[str]
    Optional additional names to be added to the issued certificate. The additional names needs to be part of a zone in IONOS Cloud DNS
    timeouts AutoCertificateTimeoutsArgs
    commonName String
    The common name (DNS) of the certificate to issue. The common name needs to be part of a zone in IONOS Cloud DNS
    keyAlgorithm String
    The key algorithm used to generate the certificate
    location String
    The location of the auto-certificate
    providerId String
    The certificate provider used to issue the certificates
    autoCertificateId String
    name String
    A certificate name used for management purposes
    subjectAlternativeNames List<String>
    Optional additional names to be added to the issued certificate. The additional names needs to be part of a zone in IONOS Cloud DNS
    timeouts Property Map

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    LastIssuedCertificateId string
    The ID of the last certificate that was issued
    Id string
    The provider-assigned unique ID for this managed resource.
    LastIssuedCertificateId string
    The ID of the last certificate that was issued
    id String
    The provider-assigned unique ID for this managed resource.
    lastIssuedCertificateId String
    The ID of the last certificate that was issued
    id string
    The provider-assigned unique ID for this managed resource.
    lastIssuedCertificateId string
    The ID of the last certificate that was issued
    id str
    The provider-assigned unique ID for this managed resource.
    last_issued_certificate_id str
    The ID of the last certificate that was issued
    id String
    The provider-assigned unique ID for this managed resource.
    lastIssuedCertificateId String
    The ID of the last certificate that was issued

    Look up Existing AutoCertificate Resource

    Get an existing AutoCertificate 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?: AutoCertificateState, opts?: CustomResourceOptions): AutoCertificate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_certificate_id: Optional[str] = None,
            common_name: Optional[str] = None,
            key_algorithm: Optional[str] = None,
            last_issued_certificate_id: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            provider_id: Optional[str] = None,
            subject_alternative_names: Optional[Sequence[str]] = None,
            timeouts: Optional[AutoCertificateTimeoutsArgs] = None) -> AutoCertificate
    func GetAutoCertificate(ctx *Context, name string, id IDInput, state *AutoCertificateState, opts ...ResourceOption) (*AutoCertificate, error)
    public static AutoCertificate Get(string name, Input<string> id, AutoCertificateState? state, CustomResourceOptions? opts = null)
    public static AutoCertificate get(String name, Output<String> id, AutoCertificateState state, CustomResourceOptions options)
    resources:  _:    type: ionoscloud:AutoCertificate    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:
    AutoCertificateId string
    CommonName string
    The common name (DNS) of the certificate to issue. The common name needs to be part of a zone in IONOS Cloud DNS
    KeyAlgorithm string
    The key algorithm used to generate the certificate
    LastIssuedCertificateId string
    The ID of the last certificate that was issued
    Location string
    The location of the auto-certificate
    Name string
    A certificate name used for management purposes
    ProviderId string
    The certificate provider used to issue the certificates
    SubjectAlternativeNames List<string>
    Optional additional names to be added to the issued certificate. The additional names needs to be part of a zone in IONOS Cloud DNS
    Timeouts AutoCertificateTimeouts
    AutoCertificateId string
    CommonName string
    The common name (DNS) of the certificate to issue. The common name needs to be part of a zone in IONOS Cloud DNS
    KeyAlgorithm string
    The key algorithm used to generate the certificate
    LastIssuedCertificateId string
    The ID of the last certificate that was issued
    Location string
    The location of the auto-certificate
    Name string
    A certificate name used for management purposes
    ProviderId string
    The certificate provider used to issue the certificates
    SubjectAlternativeNames []string
    Optional additional names to be added to the issued certificate. The additional names needs to be part of a zone in IONOS Cloud DNS
    Timeouts AutoCertificateTimeoutsArgs
    autoCertificateId String
    commonName String
    The common name (DNS) of the certificate to issue. The common name needs to be part of a zone in IONOS Cloud DNS
    keyAlgorithm String
    The key algorithm used to generate the certificate
    lastIssuedCertificateId String
    The ID of the last certificate that was issued
    location String
    The location of the auto-certificate
    name String
    A certificate name used for management purposes
    providerId String
    The certificate provider used to issue the certificates
    subjectAlternativeNames List<String>
    Optional additional names to be added to the issued certificate. The additional names needs to be part of a zone in IONOS Cloud DNS
    timeouts AutoCertificateTimeouts
    autoCertificateId string
    commonName string
    The common name (DNS) of the certificate to issue. The common name needs to be part of a zone in IONOS Cloud DNS
    keyAlgorithm string
    The key algorithm used to generate the certificate
    lastIssuedCertificateId string
    The ID of the last certificate that was issued
    location string
    The location of the auto-certificate
    name string
    A certificate name used for management purposes
    providerId string
    The certificate provider used to issue the certificates
    subjectAlternativeNames string[]
    Optional additional names to be added to the issued certificate. The additional names needs to be part of a zone in IONOS Cloud DNS
    timeouts AutoCertificateTimeouts
    auto_certificate_id str
    common_name str
    The common name (DNS) of the certificate to issue. The common name needs to be part of a zone in IONOS Cloud DNS
    key_algorithm str
    The key algorithm used to generate the certificate
    last_issued_certificate_id str
    The ID of the last certificate that was issued
    location str
    The location of the auto-certificate
    name str
    A certificate name used for management purposes
    provider_id str
    The certificate provider used to issue the certificates
    subject_alternative_names Sequence[str]
    Optional additional names to be added to the issued certificate. The additional names needs to be part of a zone in IONOS Cloud DNS
    timeouts AutoCertificateTimeoutsArgs
    autoCertificateId String
    commonName String
    The common name (DNS) of the certificate to issue. The common name needs to be part of a zone in IONOS Cloud DNS
    keyAlgorithm String
    The key algorithm used to generate the certificate
    lastIssuedCertificateId String
    The ID of the last certificate that was issued
    location String
    The location of the auto-certificate
    name String
    A certificate name used for management purposes
    providerId String
    The certificate provider used to issue the certificates
    subjectAlternativeNames List<String>
    Optional additional names to be added to the issued certificate. The additional names needs to be part of a zone in IONOS Cloud DNS
    timeouts Property Map

    Supporting Types

    AutoCertificateTimeouts, AutoCertificateTimeoutsArgs

    Create string
    Default string
    Delete string
    Update string
    Create string
    Default string
    Delete string
    Update string
    create String
    default_ String
    delete String
    update String
    create string
    default string
    delete string
    update string
    create String
    default String
    delete String
    update String

    Package Details

    Repository
    ionoscloud ionos-cloud/terraform-provider-ionoscloud
    License
    Notes
    This Pulumi package is based on the ionoscloud Terraform Provider.
    ionoscloud logo
    ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud