Class OriginCaCertificate
Provides a Cloudflare Origin CA certificate used to protect traffic to your origin without involving a third party Certificate Authority.
This resource requires you use your Origin CA Key as the api_user_service_key.
Inherited Members
Namespace: Pulumi.Cloudflare
Assembly: Pulumi.Cloudflare.dll
Syntax
public class OriginCaCertificate : CustomResource
Constructors
View SourceOriginCaCertificate(String, OriginCaCertificateArgs, CustomResourceOptions)
Create a OriginCaCertificate resource with the given unique name, arguments, and options.
Declaration
public OriginCaCertificate(string name, OriginCaCertificateArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| OriginCaCertificateArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceCertificate
The Origin CA certificate
Declaration
public Output<string> Certificate { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Csr
The Certificate Signing Request. Must be newline-encoded.
Declaration
public Output<string> Csr { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ExpiresOn
The datetime when the certificate will expire.
Declaration
public Output<string> ExpiresOn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Hostnames
An array of hostnames or wildcard names bound to the certificate.
Declaration
public Output<ImmutableArray<string>> Hostnames { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
RequestedValidity
The number of days for which the certificate should be valid.
Declaration
public Output<int?> RequestedValidity { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
RequestType
The signature type desired on the certificate.
Declaration
public Output<string> RequestType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, OriginCaCertificateState, CustomResourceOptions)
Get an existing OriginCaCertificate resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static OriginCaCertificate Get(string name, Input<string> id, OriginCaCertificateState 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. |
| OriginCaCertificateState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| OriginCaCertificate |