Show / Hide Table of Contents

Class ServerCertificate

A Load Balancer Server Certificate is an ssl Certificate used by the listener of the protocol https.

For information about slb and how to use it, see What is Server Load Balancer.

For information about Server Certificate and how to use it, see Configure Server Certificate.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
public MyStack()
{
    // create a server certificate
    var foo = new AliCloud.Slb.ServerCertificate("foo", new AliCloud.Slb.ServerCertificateArgs
    {
        PrivateKey = @"-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQDO0knDrlNdiys******ErVpjsckAaOW/JDG5PCSwkaMxk=
-----END RSA PRIVATE KEY-----
",
        ServerCertificate = @"-----BEGIN CERTIFICATE-----
MIIDRjCCAq+gAwIBAgI+OuMs******XTtI90EAxEG/bJJyOm5LqoiA=
-----END CERTIFICATE-----
",
    });
}

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

Constructors

View Source

ServerCertificate(String, ServerCertificateArgs, CustomResourceOptions)

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

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

The unique name of the resource

ServerCertificateArgs 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

AlicloudCertifacteId

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

AlicloudCertifacteName

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

AlicloudCertificateId

an id of server certificate ssued/proxied by alibaba cloud. but it is not supported on the international site of alibaba cloud now.

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

AlicloudCertificateName

the name of the certificate specified by alicloud_certificate_id.but it is not supported on the international site of alibaba cloud now.

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

AlicloudCertificateRegionId

the region of the certificate specified by alicloud_certificate_id. but it is not supported on the international site of alibaba cloud now.

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

Certificate

the content of the ssl certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.

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

Name

Name of the Server Certificate.

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

PrivateKey

the content of privat key of the ssl certificate specified by server_certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.

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

ResourceGroupId

The Id of resource group which the slb server certificate belongs.

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

Tags

A mapping of tags to assign to the resource.

Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>

Methods

View Source

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

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

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

ServerCertificateState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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