ionoscloud.AutoCertificate
Explore with Pulumi AI
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:
- Common
Name string - 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 string - The key algorithm used to generate the certificate
- Location string
- The location of the auto-certificate
- Provider
Id string - The certificate provider used to issue the certificates
- Auto
Certificate stringId - Name string
- A certificate name used for management purposes
- Subject
Alternative List<string>Names - 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
Auto
Certificate Timeouts
- Common
Name string - 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 string - The key algorithm used to generate the certificate
- Location string
- The location of the auto-certificate
- Provider
Id string - The certificate provider used to issue the certificates
- Auto
Certificate stringId - Name string
- A certificate name used for management purposes
- Subject
Alternative []stringNames - 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
Auto
Certificate Timeouts Args
- common
Name String - 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 String - The key algorithm used to generate the certificate
- location String
- The location of the auto-certificate
- provider
Id String - The certificate provider used to issue the certificates
- auto
Certificate StringId - name String
- A certificate name used for management purposes
- subject
Alternative List<String>Names - 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
Auto
Certificate Timeouts
- common
Name string - 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 string - The key algorithm used to generate the certificate
- location string
- The location of the auto-certificate
- provider
Id string - The certificate provider used to issue the certificates
- auto
Certificate stringId - name string
- A certificate name used for management purposes
- subject
Alternative string[]Names - 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
Auto
Certificate Timeouts
- 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_ strid - name str
- A certificate name used for management purposes
- subject_
alternative_ Sequence[str]names - 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
Auto
Certificate Timeouts Args
- common
Name String - 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 String - The key algorithm used to generate the certificate
- location String
- The location of the auto-certificate
- provider
Id String - The certificate provider used to issue the certificates
- auto
Certificate StringId - name String
- A certificate name used for management purposes
- subject
Alternative List<String>Names - 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.
- Last
Issued stringCertificate Id - The ID of the last certificate that was issued
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Issued stringCertificate Id - The ID of the last certificate that was issued
- id String
- The provider-assigned unique ID for this managed resource.
- last
Issued StringCertificate Id - The ID of the last certificate that was issued
- id string
- The provider-assigned unique ID for this managed resource.
- last
Issued stringCertificate Id - The ID of the last certificate that was issued
- id str
- The provider-assigned unique ID for this managed resource.
- last_
issued_ strcertificate_ id - The ID of the last certificate that was issued
- id String
- The provider-assigned unique ID for this managed resource.
- last
Issued StringCertificate Id - 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.
- Auto
Certificate stringId - Common
Name string - 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 string - The key algorithm used to generate the certificate
- Last
Issued stringCertificate Id - 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
- Provider
Id string - The certificate provider used to issue the certificates
- Subject
Alternative List<string>Names - 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
Auto
Certificate Timeouts
- Auto
Certificate stringId - Common
Name string - 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 string - The key algorithm used to generate the certificate
- Last
Issued stringCertificate Id - 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
- Provider
Id string - The certificate provider used to issue the certificates
- Subject
Alternative []stringNames - 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
Auto
Certificate Timeouts Args
- auto
Certificate StringId - common
Name String - 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 String - The key algorithm used to generate the certificate
- last
Issued StringCertificate Id - 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
- provider
Id String - The certificate provider used to issue the certificates
- subject
Alternative List<String>Names - 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
Auto
Certificate Timeouts
- auto
Certificate stringId - common
Name string - 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 string - The key algorithm used to generate the certificate
- last
Issued stringCertificate Id - 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
- provider
Id string - The certificate provider used to issue the certificates
- subject
Alternative string[]Names - 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
Auto
Certificate Timeouts
- auto_
certificate_ strid - 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_ strcertificate_ id - 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_ Sequence[str]names - 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
Auto
Certificate Timeouts Args
- auto
Certificate StringId - common
Name String - 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 String - The key algorithm used to generate the certificate
- last
Issued StringCertificate Id - 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
- provider
Id String - The certificate provider used to issue the certificates
- subject
Alternative List<String>Names - 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
Package Details
- Repository
- ionoscloud ionos-cloud/terraform-provider-ionoscloud
- License
- Notes
- This Pulumi package is based on the
ionoscloud
Terraform Provider.