alicloud logo
Alibaba Cloud v3.34.0, Mar 17 23

alicloud.slb.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 server_

using System.Collections.Generic;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    // create a server certificate
    var foo = new AliCloud.Slb.ServerCertificate("foo", new()
    {
        PrivateKey = @"-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQDO0knDrlNdiys******ErVpjsckAaOW/JDG5PCSwkaMxk=
-----END RSA PRIVATE KEY-----
",
        Certificate = @"-----BEGIN CERTIFICATE-----
MIIDRjCCAq+gAwIBAgI+OuMs******XTtI90EAxEG/bJJyOm5LqoiA=
-----END CERTIFICATE-----
",
    });

});
package main

import (
	"fmt"

	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := slb.NewServerCertificate(ctx, "foo", &slb.ServerCertificateArgs{
			PrivateKey:        pulumi.String(fmt.Sprintf("-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQDO0knDrlNdiys******ErVpjsckAaOW/JDG5PCSwkaMxk=\n-----END RSA PRIVATE KEY-----\n")),
			ServerCertificate: pulumi.String(fmt.Sprintf("-----BEGIN CERTIFICATE-----\nMIIDRjCCAq+gAwIBAgI+OuMs******XTtI90EAxEG/bJJyOm5LqoiA=\n-----END CERTIFICATE-----\n")),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.slb.ServerCertificate;
import com.pulumi.alicloud.slb.ServerCertificateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var foo = new ServerCertificate("foo", ServerCertificateArgs.builder()        
            .privateKey("""
-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQDO0knDrlNdiys******ErVpjsckAaOW/JDG5PCSwkaMxk=
-----END RSA PRIVATE KEY-----
            """)
            .serverCertificate("""
-----BEGIN CERTIFICATE-----
MIIDRjCCAq+gAwIBAgI+OuMs******XTtI90EAxEG/bJJyOm5LqoiA=
-----END CERTIFICATE-----
            """)
            .build());

    }
}
import pulumi
import pulumi_alicloud as alicloud

# create a server certificate
foo = alicloud.slb.ServerCertificate("foo",
    private_key="""-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQDO0knDrlNdiys******ErVpjsckAaOW/JDG5PCSwkaMxk=
-----END RSA PRIVATE KEY-----
""",
    server_certificate="""-----BEGIN CERTIFICATE-----
MIIDRjCCAq+gAwIBAgI+OuMs******XTtI90EAxEG/bJJyOm5LqoiA=
-----END CERTIFICATE-----
""")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

// create a server certificate
const foo = new alicloud.slb.ServerCertificate("foo", {
    privateKey: `-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQDO0knDrlNdiys******ErVpjsckAaOW/JDG5PCSwkaMxk=
-----END RSA PRIVATE KEY-----
`,
    serverCertificate: `-----BEGIN CERTIFICATE-----
MIIDRjCCAq+gAwIBAgI+OuMs******XTtI90EAxEG/bJJyOm5LqoiA=
-----END CERTIFICATE-----
`,
});
resources:
  # create a server certificate
  foo:
    type: alicloud:slb:ServerCertificate
    properties:
      privateKey: |
        -----BEGIN RSA PRIVATE KEY-----
        MIICXAIBAAKBgQDO0knDrlNdiys******ErVpjsckAaOW/JDG5PCSwkaMxk=
        -----END RSA PRIVATE KEY-----        
      serverCertificate: |
        -----BEGIN CERTIFICATE-----
        MIIDRjCCAq+gAwIBAgI+OuMs******XTtI90EAxEG/bJJyOm5LqoiA=
        -----END CERTIFICATE-----        

certificate/private file example

using System.Collections.Generic;
using System.IO;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    // create a server certificate
    var foo = new AliCloud.Slb.ServerCertificate("foo", new()
    {
        Certificate = File.ReadAllText($"{path.Module}/server_certificate.pem"),
        PrivateKey = File.ReadAllText($"{path.Module}/private_key.pem"),
    });

});
package main

import (
	"fmt"
	"os"

	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func readFileOrPanic(path string) pulumi.StringPtrInput {
	data, err := os.ReadFile(path)
	if err != nil {
		panic(err.Error())
	}
	return pulumi.String(string(data))
}

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := slb.NewServerCertificate(ctx, "foo", &slb.ServerCertificateArgs{
			ServerCertificate: readFileOrPanic(fmt.Sprintf("%v/server_certificate.pem", path.Module)),
			PrivateKey:        readFileOrPanic(fmt.Sprintf("%v/private_key.pem", path.Module)),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.slb.ServerCertificate;
import com.pulumi.alicloud.slb.ServerCertificateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var foo = new ServerCertificate("foo", ServerCertificateArgs.builder()        
            .serverCertificate(Files.readString(Paths.get(String.format("%s/server_certificate.pem", path.module()))))
            .privateKey(Files.readString(Paths.get(String.format("%s/private_key.pem", path.module()))))
            .build());

    }
}
import pulumi
import pulumi_alicloud as alicloud

# create a server certificate
foo = alicloud.slb.ServerCertificate("foo",
    server_certificate=(lambda path: open(path).read())(f"{path['module']}/server_certificate.pem"),
    private_key=(lambda path: open(path).read())(f"{path['module']}/private_key.pem"))
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
import * as fs from "fs";

// create a server certificate
const foo = new alicloud.slb.ServerCertificate("foo", {
    serverCertificate: fs.readFileSync(`${path.module}/server_certificate.pem`),
    privateKey: fs.readFileSync(`${path.module}/private_key.pem`),
});
resources:
  # create a server certificate
  foo:
    type: alicloud:slb:ServerCertificate
    properties:
      serverCertificate:
        fn::readFile: ${path.module}/server_certificate.pem
      privateKey:
        fn::readFile: ${path.module}/private_key.pem

Create ServerCertificate Resource

new ServerCertificate(name: string, args?: ServerCertificateArgs, opts?: CustomResourceOptions);
@overload
def ServerCertificate(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      alicloud_certifacte_id: Optional[str] = None,
                      alicloud_certifacte_name: Optional[str] = None,
                      alicloud_certificate_id: Optional[str] = None,
                      alicloud_certificate_name: Optional[str] = None,
                      alicloud_certificate_region_id: Optional[str] = None,
                      name: Optional[str] = None,
                      private_key: Optional[str] = None,
                      resource_group_id: Optional[str] = None,
                      server_certificate: Optional[str] = None,
                      tags: Optional[Mapping[str, Any]] = None)
@overload
def ServerCertificate(resource_name: str,
                      args: Optional[ServerCertificateArgs] = None,
                      opts: Optional[ResourceOptions] = None)
func NewServerCertificate(ctx *Context, name string, args *ServerCertificateArgs, opts ...ResourceOption) (*ServerCertificate, error)
public ServerCertificate(string name, ServerCertificateArgs? args = null, CustomResourceOptions? opts = null)
public ServerCertificate(String name, ServerCertificateArgs args)
public ServerCertificate(String name, ServerCertificateArgs args, CustomResourceOptions options)
type: alicloud:slb:ServerCertificate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ServerCertificateArgs
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 ServerCertificateArgs
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 ServerCertificateArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ServerCertificateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ServerCertificateArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ServerCertificate Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The ServerCertificate resource accepts the following input properties:

AlicloudCertifacteId string

Deprecated:

Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

AlicloudCertifacteName string

Deprecated:

Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

AlicloudCertificateId string

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

AlicloudCertificateName string

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

AlicloudCertificateRegionId string

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

Certificate string

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

Name string

Name of the Server Certificate.

PrivateKey string

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.

ResourceGroupId string

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

Tags Dictionary<string, object>

A mapping of tags to assign to the resource.

AlicloudCertifacteId string

Deprecated:

Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

AlicloudCertifacteName string

Deprecated:

Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

AlicloudCertificateId string

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

AlicloudCertificateName string

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

AlicloudCertificateRegionId string

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

Name string

Name of the Server Certificate.

PrivateKey string

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.

ResourceGroupId string

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

ServerCertificate string

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

Tags map[string]interface{}

A mapping of tags to assign to the resource.

alicloudCertifacteId String

Deprecated:

Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

alicloudCertifacteName String

Deprecated:

Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

alicloudCertificateId String

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

alicloudCertificateName String

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

alicloudCertificateRegionId String

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

name String

Name of the Server Certificate.

privateKey String

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.

resourceGroupId String

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

serverCertificate String

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

tags Map<String,Object>

A mapping of tags to assign to the resource.

alicloudCertifacteId string

Deprecated:

Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

alicloudCertifacteName string

Deprecated:

Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

alicloudCertificateId string

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

alicloudCertificateName string

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

alicloudCertificateRegionId string

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

name string

Name of the Server Certificate.

privateKey string

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.

resourceGroupId string

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

serverCertificate string

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

tags {[key: string]: any}

A mapping of tags to assign to the resource.

alicloud_certifacte_id str

Deprecated:

Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

alicloud_certifacte_name str

Deprecated:

Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

alicloud_certificate_id str

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

alicloud_certificate_name str

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

alicloud_certificate_region_id str

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

name str

Name of the Server Certificate.

private_key str

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.

resource_group_id str

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

server_certificate str

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

tags Mapping[str, Any]

A mapping of tags to assign to the resource.

alicloudCertifacteId String

Deprecated:

Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

alicloudCertifacteName String

Deprecated:

Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

alicloudCertificateId String

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

alicloudCertificateName String

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

alicloudCertificateRegionId String

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

name String

Name of the Server Certificate.

privateKey String

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.

resourceGroupId String

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

serverCertificate String

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

tags Map<Any>

A mapping of tags to assign to the resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the ServerCertificate resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing ServerCertificate Resource

Get an existing ServerCertificate 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?: ServerCertificateState, opts?: CustomResourceOptions): ServerCertificate
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        alicloud_certifacte_id: Optional[str] = None,
        alicloud_certifacte_name: Optional[str] = None,
        alicloud_certificate_id: Optional[str] = None,
        alicloud_certificate_name: Optional[str] = None,
        alicloud_certificate_region_id: Optional[str] = None,
        name: Optional[str] = None,
        private_key: Optional[str] = None,
        resource_group_id: Optional[str] = None,
        server_certificate: Optional[str] = None,
        tags: Optional[Mapping[str, Any]] = None) -> ServerCertificate
func GetServerCertificate(ctx *Context, name string, id IDInput, state *ServerCertificateState, opts ...ResourceOption) (*ServerCertificate, error)
public static ServerCertificate Get(string name, Input<string> id, ServerCertificateState? state, CustomResourceOptions? opts = null)
public static ServerCertificate get(String name, Output<String> id, ServerCertificateState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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.
The following state arguments are supported:
AlicloudCertifacteId string

Deprecated:

Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

AlicloudCertifacteName string

Deprecated:

Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

AlicloudCertificateId string

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

AlicloudCertificateName string

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

AlicloudCertificateRegionId string

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

Certificate string

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

Name string

Name of the Server Certificate.

PrivateKey string

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.

ResourceGroupId string

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

Tags Dictionary<string, object>

A mapping of tags to assign to the resource.

AlicloudCertifacteId string

Deprecated:

Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

AlicloudCertifacteName string

Deprecated:

Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

AlicloudCertificateId string

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

AlicloudCertificateName string

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

AlicloudCertificateRegionId string

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

Name string

Name of the Server Certificate.

PrivateKey string

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.

ResourceGroupId string

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

ServerCertificate string

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

Tags map[string]interface{}

A mapping of tags to assign to the resource.

alicloudCertifacteId String

Deprecated:

Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

alicloudCertifacteName String

Deprecated:

Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

alicloudCertificateId String

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

alicloudCertificateName String

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

alicloudCertificateRegionId String

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

name String

Name of the Server Certificate.

privateKey String

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.

resourceGroupId String

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

serverCertificate String

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

tags Map<String,Object>

A mapping of tags to assign to the resource.

alicloudCertifacteId string

Deprecated:

Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

alicloudCertifacteName string

Deprecated:

Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

alicloudCertificateId string

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

alicloudCertificateName string

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

alicloudCertificateRegionId string

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

name string

Name of the Server Certificate.

privateKey string

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.

resourceGroupId string

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

serverCertificate string

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

tags {[key: string]: any}

A mapping of tags to assign to the resource.

alicloud_certifacte_id str

Deprecated:

Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

alicloud_certifacte_name str

Deprecated:

Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

alicloud_certificate_id str

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

alicloud_certificate_name str

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

alicloud_certificate_region_id str

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

name str

Name of the Server Certificate.

private_key str

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.

resource_group_id str

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

server_certificate str

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

tags Mapping[str, Any]

A mapping of tags to assign to the resource.

alicloudCertifacteId String

Deprecated:

Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

alicloudCertifacteName String

Deprecated:

Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

alicloudCertificateId String

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

alicloudCertificateName String

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

alicloudCertificateRegionId String

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

name String

Name of the Server Certificate.

privateKey String

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.

resourceGroupId String

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

serverCertificate String

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

tags Map<Any>

A mapping of tags to assign to the resource.

Import

Server Load balancer Server Certificate can be imported using the id, e.g.

 $ pulumi import alicloud:slb/serverCertificate:ServerCertificate example abc123456

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.