1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. SqlserverWanIpConfig
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack

tencentcloud.SqlserverWanIpConfig

Start a Neo task
Explain and create a tencentcloud.SqlserverWanIpConfig resource
tencentcloud logo
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack

    Provides a resource to create a sqlserver wan ip config

    Example Usage

    Create SqlserverWanIpConfig Resource

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

    Constructor syntax

    new SqlserverWanIpConfig(name: string, args: SqlserverWanIpConfigArgs, opts?: CustomResourceOptions);
    @overload
    def SqlserverWanIpConfig(resource_name: str,
                             args: SqlserverWanIpConfigArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def SqlserverWanIpConfig(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             enable_wan_ip: Optional[bool] = None,
                             instance_id: Optional[str] = None,
                             ro_group_id: Optional[str] = None,
                             sqlserver_wan_ip_config_id: Optional[str] = None)
    func NewSqlserverWanIpConfig(ctx *Context, name string, args SqlserverWanIpConfigArgs, opts ...ResourceOption) (*SqlserverWanIpConfig, error)
    public SqlserverWanIpConfig(string name, SqlserverWanIpConfigArgs args, CustomResourceOptions? opts = null)
    public SqlserverWanIpConfig(String name, SqlserverWanIpConfigArgs args)
    public SqlserverWanIpConfig(String name, SqlserverWanIpConfigArgs args, CustomResourceOptions options)
    
    type: tencentcloud:SqlserverWanIpConfig
    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 SqlserverWanIpConfigArgs
    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 SqlserverWanIpConfigArgs
    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 SqlserverWanIpConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SqlserverWanIpConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SqlserverWanIpConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    EnableWanIp bool
    Whether to open wan ip, true: enable; false: disable.
    InstanceId string
    Instance ID.
    RoGroupId string
    Read only group ID.
    SqlserverWanIpConfigId string
    ID of the resource.
    EnableWanIp bool
    Whether to open wan ip, true: enable; false: disable.
    InstanceId string
    Instance ID.
    RoGroupId string
    Read only group ID.
    SqlserverWanIpConfigId string
    ID of the resource.
    enableWanIp Boolean
    Whether to open wan ip, true: enable; false: disable.
    instanceId String
    Instance ID.
    roGroupId String
    Read only group ID.
    sqlserverWanIpConfigId String
    ID of the resource.
    enableWanIp boolean
    Whether to open wan ip, true: enable; false: disable.
    instanceId string
    Instance ID.
    roGroupId string
    Read only group ID.
    sqlserverWanIpConfigId string
    ID of the resource.
    enable_wan_ip bool
    Whether to open wan ip, true: enable; false: disable.
    instance_id str
    Instance ID.
    ro_group_id str
    Read only group ID.
    sqlserver_wan_ip_config_id str
    ID of the resource.
    enableWanIp Boolean
    Whether to open wan ip, true: enable; false: disable.
    instanceId String
    Instance ID.
    roGroupId String
    Read only group ID.
    sqlserverWanIpConfigId String
    ID of the resource.

    Outputs

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

    DnsPodDomain string
    Internet address domain name.
    Id string
    The provider-assigned unique ID for this managed resource.
    RoGroups List<SqlserverWanIpConfigRoGroup>
    Read only group.
    TgwWanVport double
    External port number.
    DnsPodDomain string
    Internet address domain name.
    Id string
    The provider-assigned unique ID for this managed resource.
    RoGroups []SqlserverWanIpConfigRoGroup
    Read only group.
    TgwWanVport float64
    External port number.
    dnsPodDomain String
    Internet address domain name.
    id String
    The provider-assigned unique ID for this managed resource.
    roGroups List<SqlserverWanIpConfigRoGroup>
    Read only group.
    tgwWanVport Double
    External port number.
    dnsPodDomain string
    Internet address domain name.
    id string
    The provider-assigned unique ID for this managed resource.
    roGroups SqlserverWanIpConfigRoGroup[]
    Read only group.
    tgwWanVport number
    External port number.
    dns_pod_domain str
    Internet address domain name.
    id str
    The provider-assigned unique ID for this managed resource.
    ro_groups Sequence[SqlserverWanIpConfigRoGroup]
    Read only group.
    tgw_wan_vport float
    External port number.
    dnsPodDomain String
    Internet address domain name.
    id String
    The provider-assigned unique ID for this managed resource.
    roGroups List<Property Map>
    Read only group.
    tgwWanVport Number
    External port number.

    Look up Existing SqlserverWanIpConfig Resource

    Get an existing SqlserverWanIpConfig 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?: SqlserverWanIpConfigState, opts?: CustomResourceOptions): SqlserverWanIpConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            dns_pod_domain: Optional[str] = None,
            enable_wan_ip: Optional[bool] = None,
            instance_id: Optional[str] = None,
            ro_group_id: Optional[str] = None,
            ro_groups: Optional[Sequence[SqlserverWanIpConfigRoGroupArgs]] = None,
            sqlserver_wan_ip_config_id: Optional[str] = None,
            tgw_wan_vport: Optional[float] = None) -> SqlserverWanIpConfig
    func GetSqlserverWanIpConfig(ctx *Context, name string, id IDInput, state *SqlserverWanIpConfigState, opts ...ResourceOption) (*SqlserverWanIpConfig, error)
    public static SqlserverWanIpConfig Get(string name, Input<string> id, SqlserverWanIpConfigState? state, CustomResourceOptions? opts = null)
    public static SqlserverWanIpConfig get(String name, Output<String> id, SqlserverWanIpConfigState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:SqlserverWanIpConfig    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.
    The following state arguments are supported:
    DnsPodDomain string
    Internet address domain name.
    EnableWanIp bool
    Whether to open wan ip, true: enable; false: disable.
    InstanceId string
    Instance ID.
    RoGroupId string
    Read only group ID.
    RoGroups List<SqlserverWanIpConfigRoGroup>
    Read only group.
    SqlserverWanIpConfigId string
    ID of the resource.
    TgwWanVport double
    External port number.
    DnsPodDomain string
    Internet address domain name.
    EnableWanIp bool
    Whether to open wan ip, true: enable; false: disable.
    InstanceId string
    Instance ID.
    RoGroupId string
    Read only group ID.
    RoGroups []SqlserverWanIpConfigRoGroupArgs
    Read only group.
    SqlserverWanIpConfigId string
    ID of the resource.
    TgwWanVport float64
    External port number.
    dnsPodDomain String
    Internet address domain name.
    enableWanIp Boolean
    Whether to open wan ip, true: enable; false: disable.
    instanceId String
    Instance ID.
    roGroupId String
    Read only group ID.
    roGroups List<SqlserverWanIpConfigRoGroup>
    Read only group.
    sqlserverWanIpConfigId String
    ID of the resource.
    tgwWanVport Double
    External port number.
    dnsPodDomain string
    Internet address domain name.
    enableWanIp boolean
    Whether to open wan ip, true: enable; false: disable.
    instanceId string
    Instance ID.
    roGroupId string
    Read only group ID.
    roGroups SqlserverWanIpConfigRoGroup[]
    Read only group.
    sqlserverWanIpConfigId string
    ID of the resource.
    tgwWanVport number
    External port number.
    dns_pod_domain str
    Internet address domain name.
    enable_wan_ip bool
    Whether to open wan ip, true: enable; false: disable.
    instance_id str
    Instance ID.
    ro_group_id str
    Read only group ID.
    ro_groups Sequence[SqlserverWanIpConfigRoGroupArgs]
    Read only group.
    sqlserver_wan_ip_config_id str
    ID of the resource.
    tgw_wan_vport float
    External port number.
    dnsPodDomain String
    Internet address domain name.
    enableWanIp Boolean
    Whether to open wan ip, true: enable; false: disable.
    instanceId String
    Instance ID.
    roGroupId String
    Read only group ID.
    roGroups List<Property Map>
    Read only group.
    sqlserverWanIpConfigId String
    ID of the resource.
    tgwWanVport Number
    External port number.

    Supporting Types

    SqlserverWanIpConfigRoGroup, SqlserverWanIpConfigRoGroupArgs

    DnsPodDomain string
    Internet address domain name.
    TgwWanVport double
    External port number.
    DnsPodDomain string
    Internet address domain name.
    TgwWanVport float64
    External port number.
    dnsPodDomain String
    Internet address domain name.
    tgwWanVport Double
    External port number.
    dnsPodDomain string
    Internet address domain name.
    tgwWanVport number
    External port number.
    dns_pod_domain str
    Internet address domain name.
    tgw_wan_vport float
    External port number.
    dnsPodDomain String
    Internet address domain name.
    tgwWanVport Number
    External port number.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
      Meet Neo: Your AI Platform Teammate