published on Wednesday, Mar 11, 2026 by ucloud
published on Wednesday, Mar 11, 2026 by ucloud
Provides a Load Balancer SSL certificate resource.
Create LbSsl Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LbSsl(name: string, args: LbSslArgs, opts?: CustomResourceOptions);@overload
def LbSsl(resource_name: str,
args: LbSslArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LbSsl(resource_name: str,
opts: Optional[ResourceOptions] = None,
private_key: Optional[str] = None,
user_cert: Optional[str] = None,
ca_cert: Optional[str] = None,
lb_ssl_id: Optional[str] = None,
name: Optional[str] = None)func NewLbSsl(ctx *Context, name string, args LbSslArgs, opts ...ResourceOption) (*LbSsl, error)public LbSsl(string name, LbSslArgs args, CustomResourceOptions? opts = null)type: ucloud:LbSsl
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LbSslArgs
- 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 LbSslArgs
- 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 LbSslArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LbSslArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LbSslArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var lbSslResource = new Ucloud.LbSsl("lbSslResource", new()
{
PrivateKey = "string",
UserCert = "string",
CaCert = "string",
LbSslId = "string",
Name = "string",
});
example, err := ucloud.NewLbSsl(ctx, "lbSslResource", &ucloud.LbSslArgs{
PrivateKey: pulumi.String("string"),
UserCert: pulumi.String("string"),
CaCert: pulumi.String("string"),
LbSslId: pulumi.String("string"),
Name: pulumi.String("string"),
})
var lbSslResource = new LbSsl("lbSslResource", LbSslArgs.builder()
.privateKey("string")
.userCert("string")
.caCert("string")
.lbSslId("string")
.name("string")
.build());
lb_ssl_resource = ucloud.LbSsl("lbSslResource",
private_key="string",
user_cert="string",
ca_cert="string",
lb_ssl_id="string",
name="string")
const lbSslResource = new ucloud.LbSsl("lbSslResource", {
privateKey: "string",
userCert: "string",
caCert: "string",
lbSslId: "string",
name: "string",
});
type: ucloud:LbSsl
properties:
caCert: string
lbSslId: string
name: string
privateKey: string
userCert: string
LbSsl Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LbSsl resource accepts the following input properties:
- Private
Key string - The content of the private key about ssl certificate.
- User
Cert string - The content of the user certificate about ssl certificate.
- Ca
Cert string - The content of the CA certificate about ssl certificate.
- Lb
Ssl stringId - The ID of the resource lb ssl.
- Name string
- Private
Key string - The content of the private key about ssl certificate.
- User
Cert string - The content of the user certificate about ssl certificate.
- Ca
Cert string - The content of the CA certificate about ssl certificate.
- Lb
Ssl stringId - The ID of the resource lb ssl.
- Name string
- private
Key String - The content of the private key about ssl certificate.
- user
Cert String - The content of the user certificate about ssl certificate.
- ca
Cert String - The content of the CA certificate about ssl certificate.
- lb
Ssl StringId - The ID of the resource lb ssl.
- name String
- private
Key string - The content of the private key about ssl certificate.
- user
Cert string - The content of the user certificate about ssl certificate.
- ca
Cert string - The content of the CA certificate about ssl certificate.
- lb
Ssl stringId - The ID of the resource lb ssl.
- name string
- private_
key str - The content of the private key about ssl certificate.
- user_
cert str - The content of the user certificate about ssl certificate.
- ca_
cert str - The content of the CA certificate about ssl certificate.
- lb_
ssl_ strid - The ID of the resource lb ssl.
- name str
- private
Key String - The content of the private key about ssl certificate.
- user
Cert String - The content of the user certificate about ssl certificate.
- ca
Cert String - The content of the CA certificate about ssl certificate.
- lb
Ssl StringId - The ID of the resource lb ssl.
- name String
Outputs
All input properties are implicitly available as output properties. Additionally, the LbSsl resource produces the following output properties:
- Create
Time string - The time of creation for lb ssl, formatted in RFC3339 time string.
- Id string
- The provider-assigned unique ID for this managed resource.
- Create
Time string - The time of creation for lb ssl, formatted in RFC3339 time string.
- Id string
- The provider-assigned unique ID for this managed resource.
- create
Time String - The time of creation for lb ssl, formatted in RFC3339 time string.
- id String
- The provider-assigned unique ID for this managed resource.
- create
Time string - The time of creation for lb ssl, formatted in RFC3339 time string.
- id string
- The provider-assigned unique ID for this managed resource.
- create_
time str - The time of creation for lb ssl, formatted in RFC3339 time string.
- id str
- The provider-assigned unique ID for this managed resource.
- create
Time String - The time of creation for lb ssl, formatted in RFC3339 time string.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing LbSsl Resource
Get an existing LbSsl 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?: LbSslState, opts?: CustomResourceOptions): LbSsl@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
ca_cert: Optional[str] = None,
create_time: Optional[str] = None,
lb_ssl_id: Optional[str] = None,
name: Optional[str] = None,
private_key: Optional[str] = None,
user_cert: Optional[str] = None) -> LbSslfunc GetLbSsl(ctx *Context, name string, id IDInput, state *LbSslState, opts ...ResourceOption) (*LbSsl, error)public static LbSsl Get(string name, Input<string> id, LbSslState? state, CustomResourceOptions? opts = null)public static LbSsl get(String name, Output<String> id, LbSslState state, CustomResourceOptions options)resources: _: type: ucloud:LbSsl get: id: ${id}- 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.
- Ca
Cert string - The content of the CA certificate about ssl certificate.
- Create
Time string - The time of creation for lb ssl, formatted in RFC3339 time string.
- Lb
Ssl stringId - The ID of the resource lb ssl.
- Name string
- Private
Key string - The content of the private key about ssl certificate.
- User
Cert string - The content of the user certificate about ssl certificate.
- Ca
Cert string - The content of the CA certificate about ssl certificate.
- Create
Time string - The time of creation for lb ssl, formatted in RFC3339 time string.
- Lb
Ssl stringId - The ID of the resource lb ssl.
- Name string
- Private
Key string - The content of the private key about ssl certificate.
- User
Cert string - The content of the user certificate about ssl certificate.
- ca
Cert String - The content of the CA certificate about ssl certificate.
- create
Time String - The time of creation for lb ssl, formatted in RFC3339 time string.
- lb
Ssl StringId - The ID of the resource lb ssl.
- name String
- private
Key String - The content of the private key about ssl certificate.
- user
Cert String - The content of the user certificate about ssl certificate.
- ca
Cert string - The content of the CA certificate about ssl certificate.
- create
Time string - The time of creation for lb ssl, formatted in RFC3339 time string.
- lb
Ssl stringId - The ID of the resource lb ssl.
- name string
- private
Key string - The content of the private key about ssl certificate.
- user
Cert string - The content of the user certificate about ssl certificate.
- ca_
cert str - The content of the CA certificate about ssl certificate.
- create_
time str - The time of creation for lb ssl, formatted in RFC3339 time string.
- lb_
ssl_ strid - The ID of the resource lb ssl.
- name str
- private_
key str - The content of the private key about ssl certificate.
- user_
cert str - The content of the user certificate about ssl certificate.
- ca
Cert String - The content of the CA certificate about ssl certificate.
- create
Time String - The time of creation for lb ssl, formatted in RFC3339 time string.
- lb
Ssl StringId - The ID of the resource lb ssl.
- name String
- private
Key String - The content of the private key about ssl certificate.
- user
Cert String - The content of the user certificate about ssl certificate.
Package Details
- Repository
- ucloud ucloud/terraform-provider-ucloud
- License
- Notes
- This Pulumi package is based on the
ucloudTerraform Provider.
published on Wednesday, Mar 11, 2026 by ucloud
