1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. SqlserverInstanceSsl
tencentcloud 1.81.182 published on Monday, Apr 14, 2025 by tencentcloudstack

tencentcloud.SqlserverInstanceSsl

Explore with Pulumi AI

Create SqlserverInstanceSsl Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new SqlserverInstanceSsl(name: string, args: SqlserverInstanceSslArgs, opts?: CustomResourceOptions);
@overload
def SqlserverInstanceSsl(resource_name: str,
                         args: SqlserverInstanceSslArgs,
                         opts: Optional[ResourceOptions] = None)

@overload
def SqlserverInstanceSsl(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         instance_id: Optional[str] = None,
                         type: Optional[str] = None,
                         sqlserver_instance_ssl_id: Optional[str] = None)
func NewSqlserverInstanceSsl(ctx *Context, name string, args SqlserverInstanceSslArgs, opts ...ResourceOption) (*SqlserverInstanceSsl, error)
public SqlserverInstanceSsl(string name, SqlserverInstanceSslArgs args, CustomResourceOptions? opts = null)
public SqlserverInstanceSsl(String name, SqlserverInstanceSslArgs args)
public SqlserverInstanceSsl(String name, SqlserverInstanceSslArgs args, CustomResourceOptions options)
type: tencentcloud:SqlserverInstanceSsl
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SqlserverInstanceSslArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SqlserverInstanceSslArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SqlserverInstanceSslArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SqlserverInstanceSslArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SqlserverInstanceSslArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

SqlserverInstanceSsl 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 SqlserverInstanceSsl resource accepts the following input properties:

InstanceId This property is required. string
Instance ID.
Type This property is required. string
Operation type. enable: turn on SSL; disable: turn off SSL; renew: update the certificate validity period.
SqlserverInstanceSslId string
InstanceId This property is required. string
Instance ID.
Type This property is required. string
Operation type. enable: turn on SSL; disable: turn off SSL; renew: update the certificate validity period.
SqlserverInstanceSslId string
instanceId This property is required. String
Instance ID.
type This property is required. String
Operation type. enable: turn on SSL; disable: turn off SSL; renew: update the certificate validity period.
sqlserverInstanceSslId String
instanceId This property is required. string
Instance ID.
type This property is required. string
Operation type. enable: turn on SSL; disable: turn off SSL; renew: update the certificate validity period.
sqlserverInstanceSslId string
instance_id This property is required. str
Instance ID.
type This property is required. str
Operation type. enable: turn on SSL; disable: turn off SSL; renew: update the certificate validity period.
sqlserver_instance_ssl_id str
instanceId This property is required. String
Instance ID.
type This property is required. String
Operation type. enable: turn on SSL; disable: turn off SSL; renew: update the certificate validity period.
sqlserverInstanceSslId String

Outputs

All input properties are implicitly available as output properties. Additionally, the SqlserverInstanceSsl 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 SqlserverInstanceSsl Resource

Get an existing SqlserverInstanceSsl 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?: SqlserverInstanceSslState, opts?: CustomResourceOptions): SqlserverInstanceSsl
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        instance_id: Optional[str] = None,
        sqlserver_instance_ssl_id: Optional[str] = None,
        type: Optional[str] = None) -> SqlserverInstanceSsl
func GetSqlserverInstanceSsl(ctx *Context, name string, id IDInput, state *SqlserverInstanceSslState, opts ...ResourceOption) (*SqlserverInstanceSsl, error)
public static SqlserverInstanceSsl Get(string name, Input<string> id, SqlserverInstanceSslState? state, CustomResourceOptions? opts = null)
public static SqlserverInstanceSsl get(String name, Output<String> id, SqlserverInstanceSslState state, CustomResourceOptions options)
resources:  _:    type: tencentcloud:SqlserverInstanceSsl    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
InstanceId string
Instance ID.
SqlserverInstanceSslId string
Type string
Operation type. enable: turn on SSL; disable: turn off SSL; renew: update the certificate validity period.
InstanceId string
Instance ID.
SqlserverInstanceSslId string
Type string
Operation type. enable: turn on SSL; disable: turn off SSL; renew: update the certificate validity period.
instanceId String
Instance ID.
sqlserverInstanceSslId String
type String
Operation type. enable: turn on SSL; disable: turn off SSL; renew: update the certificate validity period.
instanceId string
Instance ID.
sqlserverInstanceSslId string
type string
Operation type. enable: turn on SSL; disable: turn off SSL; renew: update the certificate validity period.
instance_id str
Instance ID.
sqlserver_instance_ssl_id str
type str
Operation type. enable: turn on SSL; disable: turn off SSL; renew: update the certificate validity period.
instanceId String
Instance ID.
sqlserverInstanceSslId String
type String
Operation type. enable: turn on SSL; disable: turn off SSL; renew: update the certificate validity period.

Package Details

Repository
tencentcloud tencentcloudstack/terraform-provider-tencentcloud
License
Notes
This Pulumi package is based on the tencentcloud Terraform Provider.