Skip to content

Commit

Permalink
Merge pull request #49 from tencentcloudstack/feat/sync_provider_v1.8…
Browse files Browse the repository at this point in the history
…1.107

sync terraform provider v1.81.107
hellertang authored Jul 10, 2024
2 parents d0a03bd + 1cc7a14 commit 8b4e186
Showing 28 changed files with 508 additions and 299 deletions.
8 changes: 4 additions & 4 deletions sdk/dotnet/Tencentcloud/Apm/Instance.cs
Original file line number Diff line number Diff line change
@@ -26,10 +26,10 @@ namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Apm
///
/// return await Deployment.RunAsync(() =>
/// {
/// var instance = new Tencentcloud.Apm.Instance("instance", new()
/// var example = new Tencentcloud.Apm.Instance("example", new()
/// {
/// Description = "for terraform test",
/// SpanDailyCounters = 20,
/// Description = "desc.",
/// SpanDailyCounters = 0,
/// Tags =
/// {
/// { "createdBy", "terraform" },
@@ -46,7 +46,7 @@ namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Apm
/// apm instance can be imported using the id, e.g.
///
/// ```sh
/// $ pulumi import tencentcloud:Apm/instance:Instance instance instance_id
/// $ pulumi import tencentcloud:Apm/instance:Instance example apm-IMVrxXl1K
/// ```
/// </summary>
[TencentcloudResourceType("tencentcloud:Apm/instance:Instance")]
18 changes: 18 additions & 0 deletions sdk/dotnet/Tencentcloud/Elasticsearch/Instance.cs
Original file line number Diff line number Diff line change
@@ -267,6 +267,12 @@ public partial class Instance : global::Pulumi.CustomResource
[Output("instanceName")]
public Output<string?> InstanceName { get; private set; } = null!;

/// <summary>
/// Kibana public network access status. Valid values are `OPEN` and `CLOSE`.
/// </summary>
[Output("kibanaPublicAccess")]
public Output<string> KibanaPublicAccess { get; private set; } = null!;

/// <summary>
/// Kibana access URL.
/// </summary>
@@ -426,6 +432,12 @@ public sealed class InstanceArgs : global::Pulumi.ResourceArgs
[Input("instanceName")]
public Input<string>? InstanceName { get; set; }

/// <summary>
/// Kibana public network access status. Valid values are `OPEN` and `CLOSE`.
/// </summary>
[Input("kibanaPublicAccess")]
public Input<string>? KibanaPublicAccess { get; set; }

/// <summary>
/// License type. Valid values are `oss`, `basic` and `platinum`. The default value is `platinum`.
/// </summary>
@@ -594,6 +606,12 @@ public sealed class InstanceState : global::Pulumi.ResourceArgs
[Input("instanceName")]
public Input<string>? InstanceName { get; set; }

/// <summary>
/// Kibana public network access status. Valid values are `OPEN` and `CLOSE`.
/// </summary>
[Input("kibanaPublicAccess")]
public Input<string>? KibanaPublicAccess { get; set; }

/// <summary>
/// Kibana access URL.
/// </summary>
4 changes: 2 additions & 2 deletions sdk/dotnet/Tencentcloud/Mongodb/InstanceBackupRule.cs
Original file line number Diff line number Diff line change
@@ -11,11 +11,11 @@
namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Mongodb
{
/// <summary>
/// Provides a resource to create mongodb backup rule
/// Provides a resource to create mongodb instance backup rule
///
/// ## Import
///
/// mongodb backup_rule can be imported using the id, e.g.
/// mongodb instance backup rule can be imported using the id, e.g.
///
/// ```sh
/// $ pulumi import tencentcloud:Mongodb/instanceBackupRule:InstanceBackupRule backup_rule ${instanceId}
10 changes: 5 additions & 5 deletions sdk/dotnet/Tencentcloud/Monitor/TmpInstance.cs
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Monitor
/// CidrBlock = "10.0.1.0/24",
/// });
///
/// var foo = new Tencentcloud.Monitor.TmpInstance("foo", new()
/// var example = new Tencentcloud.Monitor.TmpInstance("example", new()
/// {
/// InstanceName = "tf-tmp-instance",
/// VpcId = vpc.Id,
@@ -60,7 +60,7 @@ namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Monitor
/// monitor tmpInstance can be imported using the id, e.g.
///
/// ```sh
/// $ pulumi import tencentcloud:Monitor/tmpInstance:TmpInstance tmpInstance tmpInstance_id
/// $ pulumi import tencentcloud:Monitor/tmpInstance:TmpInstance example prom-1uvo0tjm
/// ```
/// </summary>
[TencentcloudResourceType("tencentcloud:Monitor/tmpInstance:TmpInstance")]
@@ -73,7 +73,7 @@ public partial class TmpInstance : global::Pulumi.CustomResource
public Output<string> ApiRootPath { get; private set; } = null!;

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

/// <summary>
/// Data retention time.
/// Data retention time(in days). Value range: 15, 30, 45, 90, 180, 360, 720.
/// </summary>
[Input("dataRetentionTime")]
public Input<int>? DataRetentionTime { get; set; }
75 changes: 68 additions & 7 deletions sdk/dotnet/Tencentcloud/Postgresql/ReadonlyGroup.cs
Original file line number Diff line number Diff line change
@@ -24,22 +24,83 @@ namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Postgresql
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var @group = new Tencentcloud.Postgresql.ReadonlyGroup("group", new()
/// var config = new Config();
/// var availabilityZone = config.Get("availabilityZone") ?? "ap-guangzhou-3";
/// // create vpc
/// var vpc = new Tencentcloud.Vpc.Instance("vpc", new()
/// {
/// MasterDbInstanceId = "postgres-gzg9jb2n",
/// MaxReplayLag = 100,
/// MaxReplayLatency = 512,
/// MinDelayEliminateReserve = 1,
/// CidrBlock = "10.0.0.0/16",
/// });
///
/// // create vpc subnet
/// var subnet = new Tencentcloud.Subnet.Instance("subnet", new()
/// {
/// AvailabilityZone = availabilityZone,
/// VpcId = vpc.Id,
/// CidrBlock = "10.0.20.0/28",
/// IsMulticast = false,
/// });
///
/// // create postgresql
/// var exampleInstance = new Tencentcloud.Postgresql.Instance("exampleInstance", new()
/// {
/// AvailabilityZone = availabilityZone,
/// ChargeType = "POSTPAID_BY_HOUR",
/// VpcId = vpc.Id,
/// SubnetId = subnet.Id,
/// EngineVersion = "10.4",
/// RootUser = "root123",
/// RootPassword = "Root123$",
/// Charset = "UTF8",
/// ProjectId = 0,
/// Memory = 4,
/// Cpu = 2,
/// Storage = 50,
/// Tags =
/// {
/// { "test", "tf" },
/// },
/// });
///
/// // create security group
/// var exampleGroup = new Tencentcloud.Security.Group("exampleGroup", new()
/// {
/// Description = "sg desc.",
/// ProjectId = 0,
/// Tags =
/// {
/// { "example", "test" },
/// },
/// });
///
/// var exampleReadonlyGroup = new Tencentcloud.Postgresql.ReadonlyGroup("exampleReadonlyGroup", new()
/// {
/// MasterDbInstanceId = exampleInstance.Id,
/// ProjectId = 0,
/// VpcId = vpc.Id,
/// SubnetId = subnet.Id,
/// SecurityGroupsIds = new[]
/// {
/// exampleGroup.Id,
/// },
/// ReplayLagEliminate = 1,
/// ReplayLatencyEliminate = 1,
/// SubnetId = "subnet-enm92y0m",
/// VpcId = "vpc-86v957zb",
/// MaxReplayLag = 100,
/// MaxReplayLatency = 512,
/// MinDelayEliminateReserve = 1,
/// });
///
/// });
/// ```
/// &lt;!--End PulumiCodeChooser --&gt;
///
/// ## Import
///
/// postgresql readonly group can be imported, e.g.
///
/// ```sh
/// $ pulumi import tencentcloud:Postgresql/readonlyGroup:ReadonlyGroup example pgrogrp-lckioi2a
/// ```
/// </summary>
[TencentcloudResourceType("tencentcloud:Postgresql/readonlyGroup:ReadonlyGroup")]
public partial class ReadonlyGroup : global::Pulumi.CustomResource
30 changes: 4 additions & 26 deletions sdk/dotnet/Tencentcloud/Tdmq/RabbitmqUser.cs
Original file line number Diff line number Diff line change
@@ -13,35 +13,13 @@ namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Tdmq
/// <summary>
/// Provides a resource to create a tdmq rabbitmq_user
///
/// ## Example Usage
/// ## Import
///
/// &lt;!--Start PulumiCodeChooser --&gt;
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Tencentcloud = TencentCloudIAC.PulumiPackage.Tencentcloud;
/// tdmq rabbitmq_user can be imported using the id, e.g.
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var rabbitmqUser = new Tencentcloud.Tdmq.RabbitmqUser("rabbitmqUser", new()
/// {
/// Description = "test user",
/// InstanceId = "amqp-kzbe8p3n",
/// MaxChannels = 3,
/// MaxConnections = 3,
/// Password = "asdf1234",
/// Tags = new[]
/// {
/// "management",
/// "monitoring",
/// },
/// User = "keep-user",
/// });
///
/// });
/// ```sh
/// $ pulumi import tencentcloud:Tdmq/rabbitmqUser:RabbitmqUser example amqp-8xzx822q#tf-example-user
/// ```
/// &lt;!--End PulumiCodeChooser --&gt;
/// </summary>
[TencentcloudResourceType("tencentcloud:Tdmq/rabbitmqUser:RabbitmqUser")]
public partial class RabbitmqUser : global::Pulumi.CustomResource
25 changes: 5 additions & 20 deletions sdk/dotnet/Tencentcloud/Tdmq/RabbitmqVirtualHost.cs
Original file line number Diff line number Diff line change
@@ -13,28 +13,13 @@ namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Tdmq
/// <summary>
/// Provides a resource to create a tdmq rabbitmq_virtual_host
///
/// ## Example Usage
/// ## Import
///
/// &lt;!--Start PulumiCodeChooser --&gt;
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Tencentcloud = TencentCloudIAC.PulumiPackage.Tencentcloud;
/// tdmq rabbitmq_virtual_host can be imported using the id, e.g.
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var rabbitmqVirtualHost = new Tencentcloud.Tdmq.RabbitmqVirtualHost("rabbitmqVirtualHost", new()
/// {
/// Description = "desc",
/// InstanceId = "amqp-kzbe8p3n",
/// TraceFlag = false,
/// VirtualHost = "vh-test-1",
/// });
///
/// });
/// ```sh
/// $ pulumi import tencentcloud:Tdmq/rabbitmqVirtualHost:RabbitmqVirtualHost example amqp-pbavw2wd#tf-example-vhost
/// ```
/// &lt;!--End PulumiCodeChooser --&gt;
/// </summary>
[TencentcloudResourceType("tencentcloud:Tdmq/rabbitmqVirtualHost:RabbitmqVirtualHost")]
public partial class RabbitmqVirtualHost : global::Pulumi.CustomResource
@@ -55,7 +40,7 @@ public partial class RabbitmqVirtualHost : global::Pulumi.CustomResource
/// Message track switch, true is on, false is off, default is off.
/// </summary>
[Output("traceFlag")]
public Output<bool?> TraceFlag { get; private set; } = null!;
public Output<bool> TraceFlag { get; private set; } = null!;

/// <summary>
/// vhost name.
8 changes: 4 additions & 4 deletions sdk/go/tencentcloud/apm/instance.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions sdk/go/tencentcloud/elasticsearch/instance.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions sdk/go/tencentcloud/mongodb/instanceBackupRule.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8b4e186

Please sign in to comment.