Show / Hide Table of Contents

Class CustomSsl

Provides a Cloudflare custom ssl resource.

Example Usage

using Pulumi;
using Cloudflare = Pulumi.Cloudflare;

class MyStack : Stack
{
public MyStack()
{
    var config = new Config();
    var cloudflareZoneId = config.Get("cloudflareZoneId") ?? "1d5fdc9e88c8a8c4518b068cd94331fe";
    // Add a custom ssl certificate to the domain
    var foossl = new Cloudflare.CustomSsl("foossl", new Cloudflare.CustomSslArgs
    {
        CustomSslOptions = new Cloudflare.Inputs.CustomSslCustomSslOptionsArgs
        {
            Bundle_method = "ubiquitous",
            Certificate = "-----INSERT CERTIFICATE-----",
            Geo_restrictions = "us",
            Private_key = "-----INSERT PRIVATE KEY-----",
            Type = "legacy_custom",
        },
        ZoneId = cloudflareZoneId,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
CustomSsl
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.Cloudflare
Assembly: Pulumi.Cloudflare.dll
Syntax
public class CustomSsl : CustomResource

Constructors

View Source

CustomSsl(String, CustomSslArgs, CustomResourceOptions)

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

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

The unique name of the resource

CustomSslArgs 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

CustomSslOptions

The certificate, private key and associated optional parameters, such as bundle_method, geo_restrictions, and type.

Declaration
public Output<CustomSslCustomSslOptions> CustomSslOptions { get; }
Property Value
Type Description
Output<CustomSslCustomSslOptions>
View Source

CustomSslPriorities

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

ExpiresOn

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

Hosts

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

Issuer

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

ModifiedOn

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

Priority

Declaration
public Output<int> Priority { get; }
Property Value
Type Description
Output<System.Int32>
View Source

Signature

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

Status

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

UploadedOn

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

ZoneId

The DNS zone id to the custom ssl cert should be added.

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

Methods

View Source

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

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

Declaration
public static CustomSsl Get(string name, Input<string> id, CustomSslState 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.

CustomSslState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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