Show / Hide Table of Contents

Class Certificate

Inheritance
System.Object
Resource
CustomResource
Certificate
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.DigitalOcean
Assembly: Pulumi.DigitalOcean.dll
Syntax
public class Certificate : CustomResource

Constructors

View Source

Certificate(String, CertificateArgs, CustomResourceOptions)

Create a Certificate resource with the given unique name, arguments, and options.

Declaration
public Certificate(string name, CertificateArgs args = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

CertificateArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

CertificateChain

The full PEM-formatted trust chain between the certificate authority's certificate and your domain's TLS certificate. Only valid when type is custom.

Declaration
public Output<string> CertificateChain { get; }
Property Value
Type Description
Output<System.String>
View Source

Domains

List of fully qualified domain names (FQDNs) for which the certificate will be issued. The domains must be managed using DigitalOcean's DNS. Only valid when type is lets_encrypt.

Declaration
public Output<ImmutableArray<string>> Domains { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

LeafCertificate

The contents of a PEM-formatted public TLS certificate. Only valid when type is custom.

Declaration
public Output<string> LeafCertificate { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

The name of the certificate for identification.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

NotAfter

The expiration date of the certificate

Declaration
public Output<string> NotAfter { get; }
Property Value
Type Description
Output<System.String>
View Source

PrivateKey

The contents of a PEM-formatted private-key corresponding to the SSL certificate. Only valid when type is custom.

Declaration
public Output<string> PrivateKey { get; }
Property Value
Type Description
Output<System.String>
View Source

Sha1Fingerprint

The SHA-1 fingerprint of the certificate

Declaration
public Output<string> Sha1Fingerprint { get; }
Property Value
Type Description
Output<System.String>
View Source

State

Declaration
public Output<string> State { get; }
Property Value
Type Description
Output<System.String>
View Source

Type

The type of certificate to provision. Can be either custom or lets_encrypt. Defaults to custom.

Declaration
public Output<string> Type { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, CertificateState, CustomResourceOptions)

Get an existing Certificate resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Certificate Get(string name, Input<string> id, CertificateState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

CertificateState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Certificate
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.