Skip to content

Commit 8b4e186

Browse files
authored
Merge pull request #49 from tencentcloudstack/feat/sync_provider_v1.81.107
sync terraform provider v1.81.107
2 parents d0a03bd + 1cc7a14 commit 8b4e186

File tree

28 files changed

+508
-299
lines changed

28 files changed

+508
-299
lines changed

sdk/dotnet/Tencentcloud/Apm/Instance.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Apm
2626
///
2727
/// return await Deployment.RunAsync(() =>
2828
/// {
29-
/// var instance = new Tencentcloud.Apm.Instance("instance", new()
29+
/// var example = new Tencentcloud.Apm.Instance("example", new()
3030
/// {
31-
/// Description = "for terraform test",
32-
/// SpanDailyCounters = 20,
31+
/// Description = "desc.",
32+
/// SpanDailyCounters = 0,
3333
/// Tags =
3434
/// {
3535
/// { "createdBy", "terraform" },
@@ -46,7 +46,7 @@ namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Apm
4646
/// apm instance can be imported using the id, e.g.
4747
///
4848
/// ```sh
49-
/// $ pulumi import tencentcloud:Apm/instance:Instance instance instance_id
49+
/// $ pulumi import tencentcloud:Apm/instance:Instance example apm-IMVrxXl1K
5050
/// ```
5151
/// </summary>
5252
[TencentcloudResourceType("tencentcloud:Apm/instance:Instance")]

sdk/dotnet/Tencentcloud/Elasticsearch/Instance.cs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,12 @@ public partial class Instance : global::Pulumi.CustomResource
267267
[Output("instanceName")]
268268
public Output<string?> InstanceName { get; private set; } = null!;
269269

270+
/// <summary>
271+
/// Kibana public network access status. Valid values are `OPEN` and `CLOSE`.
272+
/// </summary>
273+
[Output("kibanaPublicAccess")]
274+
public Output<string> KibanaPublicAccess { get; private set; } = null!;
275+
270276
/// <summary>
271277
/// Kibana access URL.
272278
/// </summary>
@@ -426,6 +432,12 @@ public sealed class InstanceArgs : global::Pulumi.ResourceArgs
426432
[Input("instanceName")]
427433
public Input<string>? InstanceName { get; set; }
428434

435+
/// <summary>
436+
/// Kibana public network access status. Valid values are `OPEN` and `CLOSE`.
437+
/// </summary>
438+
[Input("kibanaPublicAccess")]
439+
public Input<string>? KibanaPublicAccess { get; set; }
440+
429441
/// <summary>
430442
/// License type. Valid values are `oss`, `basic` and `platinum`. The default value is `platinum`.
431443
/// </summary>
@@ -594,6 +606,12 @@ public sealed class InstanceState : global::Pulumi.ResourceArgs
594606
[Input("instanceName")]
595607
public Input<string>? InstanceName { get; set; }
596608

609+
/// <summary>
610+
/// Kibana public network access status. Valid values are `OPEN` and `CLOSE`.
611+
/// </summary>
612+
[Input("kibanaPublicAccess")]
613+
public Input<string>? KibanaPublicAccess { get; set; }
614+
597615
/// <summary>
598616
/// Kibana access URL.
599617
/// </summary>

sdk/dotnet/Tencentcloud/Mongodb/InstanceBackupRule.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Mongodb
1212
{
1313
/// <summary>
14-
/// Provides a resource to create mongodb backup rule
14+
/// Provides a resource to create mongodb instance backup rule
1515
///
1616
/// ## Import
1717
///
18-
/// mongodb backup_rule can be imported using the id, e.g.
18+
/// mongodb instance backup rule can be imported using the id, e.g.
1919
///
2020
/// ```sh
2121
/// $ pulumi import tencentcloud:Mongodb/instanceBackupRule:InstanceBackupRule backup_rule ${instanceId}

sdk/dotnet/Tencentcloud/Monitor/TmpInstance.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Monitor
3838
/// CidrBlock = "10.0.1.0/24",
3939
/// });
4040
///
41-
/// var foo = new Tencentcloud.Monitor.TmpInstance("foo", new()
41+
/// var example = new Tencentcloud.Monitor.TmpInstance("example", new()
4242
/// {
4343
/// InstanceName = "tf-tmp-instance",
4444
/// VpcId = vpc.Id,
@@ -60,7 +60,7 @@ namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Monitor
6060
/// monitor tmpInstance can be imported using the id, e.g.
6161
///
6262
/// ```sh
63-
/// $ pulumi import tencentcloud:Monitor/tmpInstance:TmpInstance tmpInstance tmpInstance_id
63+
/// $ pulumi import tencentcloud:Monitor/tmpInstance:TmpInstance example prom-1uvo0tjm
6464
/// ```
6565
/// </summary>
6666
[TencentcloudResourceType("tencentcloud:Monitor/tmpInstance:TmpInstance")]
@@ -73,7 +73,7 @@ public partial class TmpInstance : global::Pulumi.CustomResource
7373
public Output<string> ApiRootPath { get; private set; } = null!;
7474

7575
/// <summary>
76-
/// Data retention time.
76+
/// Data retention time(in days). Value range: 15, 30, 45, 90, 180, 360, 720.
7777
/// </summary>
7878
[Output("dataRetentionTime")]
7979
public Output<int> DataRetentionTime { get; private set; } = null!;
@@ -174,7 +174,7 @@ public static TmpInstance Get(string name, Input<string> id, TmpInstanceState? s
174174
public sealed class TmpInstanceArgs : global::Pulumi.ResourceArgs
175175
{
176176
/// <summary>
177-
/// Data retention time.
177+
/// Data retention time(in days). Value range: 15, 30, 45, 90, 180, 360, 720.
178178
/// </summary>
179179
[Input("dataRetentionTime", required: true)]
180180
public Input<int> DataRetentionTime { get; set; } = null!;
@@ -230,7 +230,7 @@ public sealed class TmpInstanceState : global::Pulumi.ResourceArgs
230230
public Input<string>? ApiRootPath { get; set; }
231231

232232
/// <summary>
233-
/// Data retention time.
233+
/// Data retention time(in days). Value range: 15, 30, 45, 90, 180, 360, 720.
234234
/// </summary>
235235
[Input("dataRetentionTime")]
236236
public Input<int>? DataRetentionTime { get; set; }

sdk/dotnet/Tencentcloud/Postgresql/ReadonlyGroup.cs

Lines changed: 68 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,83 @@ namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Postgresql
2424
///
2525
/// return await Deployment.RunAsync(() =&gt;
2626
/// {
27-
/// var @group = new Tencentcloud.Postgresql.ReadonlyGroup("group", new()
27+
/// var config = new Config();
28+
/// var availabilityZone = config.Get("availabilityZone") ?? "ap-guangzhou-3";
29+
/// // create vpc
30+
/// var vpc = new Tencentcloud.Vpc.Instance("vpc", new()
2831
/// {
29-
/// MasterDbInstanceId = "postgres-gzg9jb2n",
30-
/// MaxReplayLag = 100,
31-
/// MaxReplayLatency = 512,
32-
/// MinDelayEliminateReserve = 1,
32+
/// CidrBlock = "10.0.0.0/16",
33+
/// });
34+
///
35+
/// // create vpc subnet
36+
/// var subnet = new Tencentcloud.Subnet.Instance("subnet", new()
37+
/// {
38+
/// AvailabilityZone = availabilityZone,
39+
/// VpcId = vpc.Id,
40+
/// CidrBlock = "10.0.20.0/28",
41+
/// IsMulticast = false,
42+
/// });
43+
///
44+
/// // create postgresql
45+
/// var exampleInstance = new Tencentcloud.Postgresql.Instance("exampleInstance", new()
46+
/// {
47+
/// AvailabilityZone = availabilityZone,
48+
/// ChargeType = "POSTPAID_BY_HOUR",
49+
/// VpcId = vpc.Id,
50+
/// SubnetId = subnet.Id,
51+
/// EngineVersion = "10.4",
52+
/// RootUser = "root123",
53+
/// RootPassword = "Root123$",
54+
/// Charset = "UTF8",
55+
/// ProjectId = 0,
56+
/// Memory = 4,
57+
/// Cpu = 2,
58+
/// Storage = 50,
59+
/// Tags =
60+
/// {
61+
/// { "test", "tf" },
62+
/// },
63+
/// });
64+
///
65+
/// // create security group
66+
/// var exampleGroup = new Tencentcloud.Security.Group("exampleGroup", new()
67+
/// {
68+
/// Description = "sg desc.",
69+
/// ProjectId = 0,
70+
/// Tags =
71+
/// {
72+
/// { "example", "test" },
73+
/// },
74+
/// });
75+
///
76+
/// var exampleReadonlyGroup = new Tencentcloud.Postgresql.ReadonlyGroup("exampleReadonlyGroup", new()
77+
/// {
78+
/// MasterDbInstanceId = exampleInstance.Id,
3379
/// ProjectId = 0,
80+
/// VpcId = vpc.Id,
81+
/// SubnetId = subnet.Id,
82+
/// SecurityGroupsIds = new[]
83+
/// {
84+
/// exampleGroup.Id,
85+
/// },
3486
/// ReplayLagEliminate = 1,
3587
/// ReplayLatencyEliminate = 1,
36-
/// SubnetId = "subnet-enm92y0m",
37-
/// VpcId = "vpc-86v957zb",
88+
/// MaxReplayLag = 100,
89+
/// MaxReplayLatency = 512,
90+
/// MinDelayEliminateReserve = 1,
3891
/// });
3992
///
4093
/// });
4194
/// ```
4295
/// &lt;!--End PulumiCodeChooser --&gt;
96+
///
97+
/// ## Import
98+
///
99+
/// postgresql readonly group can be imported, e.g.
100+
///
101+
/// ```sh
102+
/// $ pulumi import tencentcloud:Postgresql/readonlyGroup:ReadonlyGroup example pgrogrp-lckioi2a
103+
/// ```
43104
/// </summary>
44105
[TencentcloudResourceType("tencentcloud:Postgresql/readonlyGroup:ReadonlyGroup")]
45106
public partial class ReadonlyGroup : global::Pulumi.CustomResource

sdk/dotnet/Tencentcloud/Tdmq/RabbitmqUser.cs

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -13,35 +13,13 @@ namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Tdmq
1313
/// <summary>
1414
/// Provides a resource to create a tdmq rabbitmq_user
1515
///
16-
/// ## Example Usage
16+
/// ## Import
1717
///
18-
/// &lt;!--Start PulumiCodeChooser --&gt;
19-
/// ```csharp
20-
/// using System.Collections.Generic;
21-
/// using System.Linq;
22-
/// using Pulumi;
23-
/// using Tencentcloud = TencentCloudIAC.PulumiPackage.Tencentcloud;
18+
/// tdmq rabbitmq_user can be imported using the id, e.g.
2419
///
25-
/// return await Deployment.RunAsync(() =&gt;
26-
/// {
27-
/// var rabbitmqUser = new Tencentcloud.Tdmq.RabbitmqUser("rabbitmqUser", new()
28-
/// {
29-
/// Description = "test user",
30-
/// InstanceId = "amqp-kzbe8p3n",
31-
/// MaxChannels = 3,
32-
/// MaxConnections = 3,
33-
/// Password = "asdf1234",
34-
/// Tags = new[]
35-
/// {
36-
/// "management",
37-
/// "monitoring",
38-
/// },
39-
/// User = "keep-user",
40-
/// });
41-
///
42-
/// });
20+
/// ```sh
21+
/// $ pulumi import tencentcloud:Tdmq/rabbitmqUser:RabbitmqUser example amqp-8xzx822q#tf-example-user
4322
/// ```
44-
/// &lt;!--End PulumiCodeChooser --&gt;
4523
/// </summary>
4624
[TencentcloudResourceType("tencentcloud:Tdmq/rabbitmqUser:RabbitmqUser")]
4725
public partial class RabbitmqUser : global::Pulumi.CustomResource

sdk/dotnet/Tencentcloud/Tdmq/RabbitmqVirtualHost.cs

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,13 @@ namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Tdmq
1313
/// <summary>
1414
/// Provides a resource to create a tdmq rabbitmq_virtual_host
1515
///
16-
/// ## Example Usage
16+
/// ## Import
1717
///
18-
/// &lt;!--Start PulumiCodeChooser --&gt;
19-
/// ```csharp
20-
/// using System.Collections.Generic;
21-
/// using System.Linq;
22-
/// using Pulumi;
23-
/// using Tencentcloud = TencentCloudIAC.PulumiPackage.Tencentcloud;
18+
/// tdmq rabbitmq_virtual_host can be imported using the id, e.g.
2419
///
25-
/// return await Deployment.RunAsync(() =&gt;
26-
/// {
27-
/// var rabbitmqVirtualHost = new Tencentcloud.Tdmq.RabbitmqVirtualHost("rabbitmqVirtualHost", new()
28-
/// {
29-
/// Description = "desc",
30-
/// InstanceId = "amqp-kzbe8p3n",
31-
/// TraceFlag = false,
32-
/// VirtualHost = "vh-test-1",
33-
/// });
34-
///
35-
/// });
20+
/// ```sh
21+
/// $ pulumi import tencentcloud:Tdmq/rabbitmqVirtualHost:RabbitmqVirtualHost example amqp-pbavw2wd#tf-example-vhost
3622
/// ```
37-
/// &lt;!--End PulumiCodeChooser --&gt;
3823
/// </summary>
3924
[TencentcloudResourceType("tencentcloud:Tdmq/rabbitmqVirtualHost:RabbitmqVirtualHost")]
4025
public partial class RabbitmqVirtualHost : global::Pulumi.CustomResource
@@ -55,7 +40,7 @@ public partial class RabbitmqVirtualHost : global::Pulumi.CustomResource
5540
/// Message track switch, true is on, false is off, default is off.
5641
/// </summary>
5742
[Output("traceFlag")]
58-
public Output<bool?> TraceFlag { get; private set; } = null!;
43+
public Output<bool> TraceFlag { get; private set; } = null!;
5944

6045
/// <summary>
6146
/// vhost name.

sdk/go/tencentcloud/apm/instance.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/go/tencentcloud/elasticsearch/instance.go

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/go/tencentcloud/mongodb/instanceBackupRule.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)