Skip to content

Commit 2dce23f

Browse files
authored
Merge pull request #54 from tencentcloudstack/feat/sync_provider_v1.81.144
sync terraform provider v1.81.144
2 parents d902db1 + a833bb1 commit 2dce23f

File tree

87 files changed

+10391
-150
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+10391
-150
lines changed

provider/cmd/pulumi-resource-tencentcloud/schema.json

+589-9
Large diffs are not rendered by default.

provider/go.mod

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraf
66

77
require (
88
github.com/pulumi/pulumi-terraform-bridge/v3 v3.80.0
9-
github.com/tencentcloudstack/terraform-provider-tencentcloud v1.81.142
9+
github.com/tencentcloudstack/terraform-provider-tencentcloud v1.81.144
1010
)
1111

1212
require (
@@ -212,7 +212,7 @@ require (
212212
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/api v1.0.285 // indirect
213213
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apigateway v1.0.763 // indirect
214214
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apm v1.0.825 // indirect
215-
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as v1.0.1033 // indirect
215+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as v1.0.1050 // indirect
216216
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bi v1.0.824 // indirect
217217
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam v1.0.760 // indirect
218218
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.825 // indirect
@@ -230,8 +230,8 @@ require (
230230
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ckafka v1.0.748 // indirect
231231
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/clb v1.0.1034 // indirect
232232
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit v1.0.1033 // indirect
233-
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.970 // indirect
234-
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1045 // indirect
233+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.1046 // indirect
234+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1050 // indirect
235235
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/controlcenter v1.0.993 // indirect
236236
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/csip v1.0.860 // indirect
237237
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm v1.0.1014 // indirect

provider/go.sum

+9-7
Original file line numberDiff line numberDiff line change
@@ -2970,8 +2970,8 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apigateway v1.0.763 h1:
29702970
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apigateway v1.0.763/go.mod h1:OlRreot089Ec7bEYMUovUBSuCD/x0D0ONPZ0g3YA5hg=
29712971
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apm v1.0.825 h1:yiC2lsZ3nNsZ/6Vm7FKFEkAJ37sqzIfmdL7DY0LouMc=
29722972
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apm v1.0.825/go.mod h1:6qtSa8OZKwJOWoOCYWVZd6+T62O96AxbPll0I43d4yw=
2973-
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as v1.0.1033 h1:f39voqCh8s061EQojp1QHZSq+QbjrmOkz4LeVFA47r0=
2974-
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as v1.0.1033/go.mod h1:PzOW1D/Lzd4sUW3xlT+4oXp+6MLCN55J+V/W9q1acro=
2973+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as v1.0.1050 h1:uLV7suHZzLYQ7FzzPotAxHp8U2Cyu79Q9+DjHfGBS1o=
2974+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as v1.0.1050/go.mod h1:z8L5Brgaqaq9DK0p8wzOB+6alOD/qWABzkCFmitewAE=
29752975
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bi v1.0.824 h1:DVKvZ6h+qd7tadUrCjVAkCCmE3TsbK2ZmwGd3AJcpWc=
29762976
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bi v1.0.824/go.mod h1:DvBpDX/qdJG4KKLeULmRvhAjPYiw8za0HeTSu2y/lFw=
29772977
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam v1.0.760 h1:Ky9dRsTL2HXKWUrTFpQFZWQ1TrM+o+P35kczR7thalo=
@@ -3006,8 +3006,8 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/clb v1.0.1034 h1:nZBr0e
30063006
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/clb v1.0.1034/go.mod h1:q8fxlV0OQPmG3Zqq4f06m+EOqfU8BvZPnVsPCkCdv6E=
30073007
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit v1.0.1033 h1:dIr+MVsZeUBiKZELfJh5HRJdI+BI6lCp5pv/2oXekuk=
30083008
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit v1.0.1033/go.mod h1:7oFlNimGSTHFy6JV7W/IZKuJWr+NUjCnGLTvb9MWNrY=
3009-
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.970 h1:PfyFPicGDDDc23id+sXh5vF0sbFpCPulzgLhqqVdp9M=
3010-
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.970/go.mod h1:VVMyTwJWyP+XVS9OK1y4tJV4XMXZgnKHl+Fg8r0Jf1Q=
3009+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.1046 h1:SgWglnqN+BnWZcIdWvgKoubxGXR0Q9hjQcHRjPzA5dw=
3010+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.1046/go.mod h1:jIc15EkToFSyRnewkLQKgln+OLOJeckLK2TskLvWK24=
30113011
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.414/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y=
30123012
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.486/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y=
30133013
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.524/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y=
@@ -3069,8 +3069,10 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1033/go.mod
30693069
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1034/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
30703070
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1037/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
30713071
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1038/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
3072-
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1045 h1:3vvovAezER+/2FycWT4Wplkis3y3OHsRg2mDfcv08MI=
30733072
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1045/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
3073+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1046/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
3074+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1050 h1:SnzAe4ntwwrUf0jzgxE5Qm7wH8atRwvaDT+njfNExJ4=
3075+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1050/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
30743076
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/controlcenter v1.0.993 h1:WlPgXldQCxt7qi5Xrc6j6zTrsXWzN5BcOGs7Irq7fwQ=
30753077
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/controlcenter v1.0.993/go.mod h1:Z9U8zNtyuyKhjS0698wqsrG/kLx1TQ5CEixXBwVe7xY=
30763078
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/csip v1.0.860 h1:F3esKBIT3HW9+7Gt8cVgf8X06VdGIczpgLBUECzSEzU=
@@ -3191,8 +3193,8 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.0.792 h1:NLgK
31913193
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.0.792/go.mod h1:Xz6vPV3gHlzPwtEcmWdWO1EUXJDgn2p7UMCXbJiVioQ=
31923194
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wss v1.0.199 h1:hMBLtiJPnZ9GvA677cTB6ELBR6B68wCR2QY1sNoGQc4=
31933195
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wss v1.0.199/go.mod h1:nnY91/H3j/Gu7V/oCA6Zeg8T5D3q36EUdBh4EjmHwqY=
3194-
github.com/tencentcloudstack/terraform-provider-tencentcloud v1.81.142 h1:d6ij1ugTi1Xt0C5eEA34YHrLaasI3KItEbZLBjHgA3k=
3195-
github.com/tencentcloudstack/terraform-provider-tencentcloud v1.81.142/go.mod h1:3fnjDcpFjMs3Zlt/q+Zis5u6a5pu61K8ONtVhYVoNUI=
3196+
github.com/tencentcloudstack/terraform-provider-tencentcloud v1.81.144 h1:4ueS+zhzfMa/fXcUIMrFnoPNhsffm1unovauKTb7zhQ=
3197+
github.com/tencentcloudstack/terraform-provider-tencentcloud v1.81.144/go.mod h1:aKbCXNaWNw/ONztD/sJJpo3EWknzXO6tRouxbIP/FSc=
31963198
github.com/tencentyun/cos-go-sdk-v5 v0.7.42-0.20230629101357-7edd77448a0f h1:yTMDoBvFuXjZat10d98DIKbPnN9FQG+drt1SbNfMW5U=
31973199
github.com/tencentyun/cos-go-sdk-v5 v0.7.42-0.20230629101357-7edd77448a0f/go.mod h1:LUFnaqRmGk6pEHOaRmdn2dCZR2j0cSsM5xowWFPTPao=
31983200
github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U=

sdk/dotnet/Tencentcloud/As/ScalingConfig.cs

+95-10
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ namespace TencentCloudIAC.PulumiPackage.Tencentcloud.As
1717
///
1818
/// ## Example Usage
1919
///
20+
/// ### Create a normal configuration
21+
///
2022
/// <!--Start PulumiCodeChooser -->
2123
/// ```csharp
2224
/// using System.Collections.Generic;
@@ -33,16 +35,16 @@ namespace TencentCloudIAC.PulumiPackage.Tencentcloud.As
3335
/// {
3436
/// "PUBLIC_IMAGE",
3537
/// },
36-
/// OsName = "TencentOS Server 3.2 (Final)",
38+
/// OsName = "TencentOS Server 4 for x86_64",
3739
/// });
3840
///
3941
/// var exampleScalingConfig = new Tencentcloud.As.ScalingConfig("exampleScalingConfig", new()
4042
/// {
41-
/// ConfigurationName = "example-launch-configuration",
43+
/// ConfigurationName = "tf-example",
4244
/// ImageId = exampleInstance.Apply(getInstanceResult => getInstanceResult.Images[0]?.ImageId),
4345
/// InstanceTypes = new[]
4446
/// {
45-
/// "SA1.SMALL1",
47+
/// "SA5.MEDIUM4",
4648
/// },
4749
/// ProjectId = 0,
4850
/// SystemDiskType = "CLOUD_PREMIUM",
@@ -65,7 +67,7 @@ namespace TencentCloudIAC.PulumiPackage.Tencentcloud.As
6567
/// UserData = "dGVzdA==",
6668
/// HostNameSettings = new Tencentcloud.As.Inputs.ScalingConfigHostNameSettingsArgs
6769
/// {
68-
/// HostName = "host-name-test",
70+
/// HostName = "host-name",
6971
/// HostNameStyle = "UNIQUE",
7072
/// },
7173
/// InstanceTags =
@@ -96,16 +98,16 @@ namespace TencentCloudIAC.PulumiPackage.Tencentcloud.As
9698
/// {
9799
/// "PUBLIC_IMAGE",
98100
/// },
99-
/// OsName = "TencentOS Server 3.2 (Final)",
101+
/// OsName = "TencentOS Server 4 for x86_64",
100102
/// });
101103
///
102104
/// var exampleScalingConfig = new Tencentcloud.As.ScalingConfig("exampleScalingConfig", new()
103105
/// {
104-
/// ConfigurationName = "launch-configuration",
106+
/// ConfigurationName = "tf-example",
105107
/// ImageId = exampleInstance.Apply(getInstanceResult => getInstanceResult.Images[0]?.ImageId),
106108
/// InstanceTypes = new[]
107109
/// {
108-
/// "SA1.SMALL1",
110+
/// "SA5.MEDIUM4",
109111
/// },
110112
/// InstanceChargeType = "SPOTPAID",
111113
/// SpotInstanceType = "one-time",
@@ -157,6 +159,71 @@ namespace TencentCloudIAC.PulumiPackage.Tencentcloud.As
157159
/// ```
158160
/// <!--End PulumiCodeChooser -->
159161
///
162+
/// ### Create a CDC configuration
163+
///
164+
/// <!--Start PulumiCodeChooser -->
165+
/// ```csharp
166+
/// using System.Collections.Generic;
167+
/// using System.Linq;
168+
/// using Pulumi;
169+
/// using Tencentcloud = Pulumi.Tencentcloud;
170+
/// using Tencentcloud = TencentCloudIAC.PulumiPackage.Tencentcloud;
171+
///
172+
/// return await Deployment.RunAsync(() =>
173+
/// {
174+
/// var exampleInstance = Tencentcloud.Images.GetInstance.Invoke(new()
175+
/// {
176+
/// ImageTypes = new[]
177+
/// {
178+
/// "PUBLIC_IMAGE",
179+
/// },
180+
/// OsName = "TencentOS Server 4 for x86_64",
181+
/// });
182+
///
183+
/// var exampleScalingConfig = new Tencentcloud.As.ScalingConfig("exampleScalingConfig", new()
184+
/// {
185+
/// ConfigurationName = "tf-example",
186+
/// ImageId = exampleInstance.Apply(getInstanceResult => getInstanceResult.Images[0]?.ImageId),
187+
/// InstanceTypes = new[]
188+
/// {
189+
/// "SA5.MEDIUM4",
190+
/// },
191+
/// ProjectId = 0,
192+
/// SystemDiskType = "CLOUD_PREMIUM",
193+
/// SystemDiskSize = 50,
194+
/// InstanceChargeType = "CDCPAID",
195+
/// DedicatedClusterId = "cluster-262n63e8",
196+
/// DataDisks = new[]
197+
/// {
198+
/// new Tencentcloud.As.Inputs.ScalingConfigDataDiskArgs
199+
/// {
200+
/// DiskType = "CLOUD_PREMIUM",
201+
/// DiskSize = 50,
202+
/// },
203+
/// },
204+
/// InternetChargeType = "TRAFFIC_POSTPAID_BY_HOUR",
205+
/// InternetMaxBandwidthOut = 10,
206+
/// PublicIpAssigned = true,
207+
/// Password = "Test@123#",
208+
/// EnhancedSecurityService = false,
209+
/// EnhancedMonitorService = false,
210+
/// EnhancedAutomationToolsService = false,
211+
/// UserData = "dGVzdA==",
212+
/// HostNameSettings = new Tencentcloud.As.Inputs.ScalingConfigHostNameSettingsArgs
213+
/// {
214+
/// HostName = "host-name",
215+
/// HostNameStyle = "UNIQUE",
216+
/// },
217+
/// InstanceTags =
218+
/// {
219+
/// { "tag", "example" },
220+
/// },
221+
/// });
222+
///
223+
/// });
224+
/// ```
225+
/// <!--End PulumiCodeChooser -->
226+
///
160227
/// ## Import
161228
///
162229
/// AutoScaling Configuration can be imported using the id, e.g.
@@ -192,6 +259,12 @@ public partial class ScalingConfig : global::Pulumi.CustomResource
192259
[Output("dataDisks")]
193260
public Output<ImmutableArray<Outputs.ScalingConfigDataDisk>> DataDisks { get; private set; } = null!;
194261

262+
/// <summary>
263+
/// Dedicated Cluster ID.
264+
/// </summary>
265+
[Output("dedicatedClusterId")]
266+
public Output<string?> DedicatedClusterId { get; private set; } = null!;
267+
195268
/// <summary>
196269
/// Policy of cloud disk type. Valid values: `ORIGINAL` and `AUTOMATIC`. Default is `ORIGINAL`.
197270
/// </summary>
@@ -235,7 +308,7 @@ public partial class ScalingConfig : global::Pulumi.CustomResource
235308
public Output<string?> ImageId { get; private set; } = null!;
236309

237310
/// <summary>
238-
/// Charge type of instance. Valid values are `PREPAID`, `POSTPAID_BY_HOUR`, `SPOTPAID`. The default is `POSTPAID_BY_HOUR`. NOTE: `SPOTPAID` instance must set `spot_instance_type` and `spot_max_price` at the same time.
311+
/// Charge type of instance. Valid values are `PREPAID`, `POSTPAID_BY_HOUR`, `SPOTPAID`, `CDCPAID`. The default is `POSTPAID_BY_HOUR`. NOTE: `SPOTPAID` instance must set `spot_instance_type` and `spot_max_price` at the same time.
239312
/// </summary>
240313
[Output("instanceChargeType")]
241314
public Output<string?> InstanceChargeType { get; private set; } = null!;
@@ -429,6 +502,12 @@ public InputList<Inputs.ScalingConfigDataDiskArgs> DataDisks
429502
set => _dataDisks = value;
430503
}
431504

505+
/// <summary>
506+
/// Dedicated Cluster ID.
507+
/// </summary>
508+
[Input("dedicatedClusterId")]
509+
public Input<string>? DedicatedClusterId { get; set; }
510+
432511
/// <summary>
433512
/// Policy of cloud disk type. Valid values: `ORIGINAL` and `AUTOMATIC`. Default is `ORIGINAL`.
434513
/// </summary>
@@ -472,7 +551,7 @@ public InputList<Inputs.ScalingConfigDataDiskArgs> DataDisks
472551
public Input<string>? ImageId { get; set; }
473552

474553
/// <summary>
475-
/// Charge type of instance. Valid values are `PREPAID`, `POSTPAID_BY_HOUR`, `SPOTPAID`. The default is `POSTPAID_BY_HOUR`. NOTE: `SPOTPAID` instance must set `spot_instance_type` and `spot_max_price` at the same time.
554+
/// Charge type of instance. Valid values are `PREPAID`, `POSTPAID_BY_HOUR`, `SPOTPAID`, `CDCPAID`. The default is `POSTPAID_BY_HOUR`. NOTE: `SPOTPAID` instance must set `spot_instance_type` and `spot_max_price` at the same time.
476555
/// </summary>
477556
[Input("instanceChargeType")]
478557
public Input<string>? InstanceChargeType { get; set; }
@@ -657,6 +736,12 @@ public InputList<Inputs.ScalingConfigDataDiskGetArgs> DataDisks
657736
set => _dataDisks = value;
658737
}
659738

739+
/// <summary>
740+
/// Dedicated Cluster ID.
741+
/// </summary>
742+
[Input("dedicatedClusterId")]
743+
public Input<string>? DedicatedClusterId { get; set; }
744+
660745
/// <summary>
661746
/// Policy of cloud disk type. Valid values: `ORIGINAL` and `AUTOMATIC`. Default is `ORIGINAL`.
662747
/// </summary>
@@ -700,7 +785,7 @@ public InputList<Inputs.ScalingConfigDataDiskGetArgs> DataDisks
700785
public Input<string>? ImageId { get; set; }
701786

702787
/// <summary>
703-
/// Charge type of instance. Valid values are `PREPAID`, `POSTPAID_BY_HOUR`, `SPOTPAID`. The default is `POSTPAID_BY_HOUR`. NOTE: `SPOTPAID` instance must set `spot_instance_type` and `spot_max_price` at the same time.
788+
/// Charge type of instance. Valid values are `PREPAID`, `POSTPAID_BY_HOUR`, `SPOTPAID`, `CDCPAID`. The default is `POSTPAID_BY_HOUR`. NOTE: `SPOTPAID` instance must set `spot_instance_type` and `spot_max_price` at the same time.
704789
/// </summary>
705790
[Input("instanceChargeType")]
706791
public Input<string>? InstanceChargeType { get; set; }
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
3+
4+
using System;
5+
using System.Collections.Generic;
6+
using System.Collections.Immutable;
7+
using System.Threading.Tasks;
8+
using Pulumi.Serialization;
9+
using Pulumi;
10+
11+
namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Clb.Inputs
12+
{
13+
14+
public sealed class ListenerRuleOauthArgs : global::Pulumi.ResourceArgs
15+
{
16+
/// <summary>
17+
/// Enable or disable authentication. True: Enabled; False: Disabled.
18+
/// </summary>
19+
[Input("oauthEnable")]
20+
public Input<bool>? OauthEnable { get; set; }
21+
22+
/// <summary>
23+
/// After all IAPs fail, the request is rejected or released. BYPASS: PASS; REJECT: Reject.
24+
/// </summary>
25+
[Input("oauthFailureStatus")]
26+
public Input<string>? OauthFailureStatus { get; set; }
27+
28+
public ListenerRuleOauthArgs()
29+
{
30+
}
31+
public static new ListenerRuleOauthArgs Empty => new ListenerRuleOauthArgs();
32+
}
33+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
3+
4+
using System;
5+
using System.Collections.Generic;
6+
using System.Collections.Immutable;
7+
using System.Threading.Tasks;
8+
using Pulumi.Serialization;
9+
using Pulumi;
10+
11+
namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Clb.Inputs
12+
{
13+
14+
public sealed class ListenerRuleOauthGetArgs : global::Pulumi.ResourceArgs
15+
{
16+
/// <summary>
17+
/// Enable or disable authentication. True: Enabled; False: Disabled.
18+
/// </summary>
19+
[Input("oauthEnable")]
20+
public Input<bool>? OauthEnable { get; set; }
21+
22+
/// <summary>
23+
/// After all IAPs fail, the request is rejected or released. BYPASS: PASS; REJECT: Reject.
24+
/// </summary>
25+
[Input("oauthFailureStatus")]
26+
public Input<string>? OauthFailureStatus { get; set; }
27+
28+
public ListenerRuleOauthGetArgs()
29+
{
30+
}
31+
public static new ListenerRuleOauthGetArgs Empty => new ListenerRuleOauthGetArgs();
32+
}
33+
}

sdk/dotnet/Tencentcloud/Clb/ListenerRule.cs

+18
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,12 @@ public partial class ListenerRule : global::Pulumi.CustomResource
214214
[Output("listenerId")]
215215
public Output<string> ListenerId { get; private set; } = null!;
216216

217+
/// <summary>
218+
/// OAuth configuration information.
219+
/// </summary>
220+
[Output("oauth")]
221+
public Output<Outputs.ListenerRuleOauth> Oauth { get; private set; } = null!;
222+
217223
/// <summary>
218224
/// Whether to enable QUIC. Note: QUIC can be enabled only for HTTPS domain names.
219225
/// </summary>
@@ -417,6 +423,12 @@ public InputList<string> Domains
417423
[Input("listenerId", required: true)]
418424
public Input<string> ListenerId { get; set; } = null!;
419425

426+
/// <summary>
427+
/// OAuth configuration information.
428+
/// </summary>
429+
[Input("oauth")]
430+
public Input<Inputs.ListenerRuleOauthArgs>? Oauth { get; set; }
431+
420432
/// <summary>
421433
/// Whether to enable QUIC. Note: QUIC can be enabled only for HTTPS domain names.
422434
/// </summary>
@@ -575,6 +587,12 @@ public InputList<string> Domains
575587
[Input("listenerId")]
576588
public Input<string>? ListenerId { get; set; }
577589

590+
/// <summary>
591+
/// OAuth configuration information.
592+
/// </summary>
593+
[Input("oauth")]
594+
public Input<Inputs.ListenerRuleOauthGetArgs>? Oauth { get; set; }
595+
578596
/// <summary>
579597
/// Whether to enable QUIC. Note: QUIC can be enabled only for HTTPS domain names.
580598
/// </summary>

0 commit comments

Comments
 (0)