Skip to content

Commit 134c473

Browse files
committed
sysnc v1.81.14
1 parent c346216 commit 134c473

File tree

3,606 files changed

+707016
-43048
lines changed

Some content is hidden

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

3,606 files changed

+707016
-43048
lines changed

sdk/dotnet/Tencentcloud/ApiGateway/Outputs/GetServicesListResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public sealed class GetServicesListResult
1919
/// </summary>
2020
public readonly string CreateTime;
2121
/// <summary>
22-
/// Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
22+
/// (**Deprecated**) It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
2323
/// </summary>
2424
public readonly string ExclusiveSetName;
2525
/// <summary>

sdk/dotnet/Tencentcloud/ApiGateway/Service.cs

Lines changed: 91 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace TencentCloudIAC.PulumiPackage.Tencentcloud.ApiGateway
1414
/// Use this resource to create API gateway service.
1515
///
1616
/// ## Example Usage
17+
/// ### Shared Service
1718
///
1819
/// ```csharp
1920
/// using Pulumi;
@@ -36,6 +37,45 @@ namespace TencentCloudIAC.PulumiPackage.Tencentcloud.ApiGateway
3637
/// ReleaseLimit = 500,
3738
/// ServiceDesc = "your nice service",
3839
/// ServiceName = "niceservice",
40+
/// Tags =
41+
/// {
42+
/// { "test-key1", "test-value1" },
43+
/// { "test-key2", "test-value2" },
44+
/// },
45+
/// TestLimit = 500,
46+
/// });
47+
/// }
48+
///
49+
/// }
50+
/// ```
51+
/// ### Exclusive Service
52+
///
53+
/// ```csharp
54+
/// using Pulumi;
55+
/// using Tencentcloud = TencentCloudIAC.PulumiPackage.Tencentcloud;
56+
///
57+
/// class MyStack : Stack
58+
/// {
59+
/// public MyStack()
60+
/// {
61+
/// var service = new Tencentcloud.ApiGateway.Service("service", new Tencentcloud.ApiGateway.ServiceArgs
62+
/// {
63+
/// InstanceId = "instance-rc6fcv4e",
64+
/// IpVersion = "IPv4",
65+
/// NetTypes =
66+
/// {
67+
/// "INNER",
68+
/// "OUTER",
69+
/// },
70+
/// PreLimit = 500,
71+
/// Protocol = "http&amp;https",
72+
/// ReleaseLimit = 500,
73+
/// ServiceDesc = "your nice service",
74+
/// ServiceName = "service",
75+
/// Tags =
76+
/// {
77+
/// { "test-key1", "test-value1" },
78+
/// },
3979
/// TestLimit = 500,
4080
/// });
4181
/// }
@@ -67,7 +107,7 @@ public partial class Service : Pulumi.CustomResource
67107
public Output<string> CreateTime { get; private set; } = null!;
68108

69109
/// <summary>
70-
/// Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
110+
/// It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
71111
/// </summary>
72112
[Output("exclusiveSetName")]
73113
public Output<string?> ExclusiveSetName { get; private set; } = null!;
@@ -84,6 +124,12 @@ public partial class Service : Pulumi.CustomResource
84124
[Output("innerHttpsPort")]
85125
public Output<int> InnerHttpsPort { get; private set; } = null!;
86126

127+
/// <summary>
128+
/// Exclusive instance ID.
129+
/// </summary>
130+
[Output("instanceId")]
131+
public Output<string?> InstanceId { get; private set; } = null!;
132+
87133
/// <summary>
88134
/// Private network access subdomain name.
89135
/// </summary>
@@ -144,6 +190,12 @@ public partial class Service : Pulumi.CustomResource
144190
[Output("serviceName")]
145191
public Output<string> ServiceName { get; private set; } = null!;
146192

193+
/// <summary>
194+
/// Tag description list.
195+
/// </summary>
196+
[Output("tags")]
197+
public Output<ImmutableDictionary<string, object>?> Tags { get; private set; } = null!;
198+
147199
/// <summary>
148200
/// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
149201
/// </summary>
@@ -204,11 +256,17 @@ public static Service Get(string name, Input<string> id, ServiceState? state = n
204256
public sealed class ServiceArgs : Pulumi.ResourceArgs
205257
{
206258
/// <summary>
207-
/// Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
259+
/// It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
208260
/// </summary>
209261
[Input("exclusiveSetName")]
210262
public Input<string>? ExclusiveSetName { get; set; }
211263

264+
/// <summary>
265+
/// Exclusive instance ID.
266+
/// </summary>
267+
[Input("instanceId")]
268+
public Input<string>? InstanceId { get; set; }
269+
212270
/// <summary>
213271
/// IP version number. Valid values: `IPv4`, `IPv6`. Default value: `IPv4`.
214272
/// </summary>
@@ -257,6 +315,18 @@ public InputList<string> NetTypes
257315
[Input("serviceName", required: true)]
258316
public Input<string> ServiceName { get; set; } = null!;
259317

318+
[Input("tags")]
319+
private InputMap<object>? _tags;
320+
321+
/// <summary>
322+
/// Tag description list.
323+
/// </summary>
324+
public InputMap<object> Tags
325+
{
326+
get => _tags ?? (_tags = new InputMap<object>());
327+
set => _tags = value;
328+
}
329+
260330
/// <summary>
261331
/// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
262332
/// </summary>
@@ -289,7 +359,7 @@ public InputList<Inputs.ServiceApiListGetArgs> ApiLists
289359
public Input<string>? CreateTime { get; set; }
290360

291361
/// <summary>
292-
/// Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
362+
/// It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
293363
/// </summary>
294364
[Input("exclusiveSetName")]
295365
public Input<string>? ExclusiveSetName { get; set; }
@@ -306,6 +376,12 @@ public InputList<Inputs.ServiceApiListGetArgs> ApiLists
306376
[Input("innerHttpsPort")]
307377
public Input<int>? InnerHttpsPort { get; set; }
308378

379+
/// <summary>
380+
/// Exclusive instance ID.
381+
/// </summary>
382+
[Input("instanceId")]
383+
public Input<string>? InstanceId { get; set; }
384+
309385
/// <summary>
310386
/// Private network access subdomain name.
311387
/// </summary>
@@ -372,6 +448,18 @@ public InputList<string> NetTypes
372448
[Input("serviceName")]
373449
public Input<string>? ServiceName { get; set; }
374450

451+
[Input("tags")]
452+
private InputMap<object>? _tags;
453+
454+
/// <summary>
455+
/// Tag description list.
456+
/// </summary>
457+
public InputMap<object> Tags
458+
{
459+
get => _tags ?? (_tags = new InputMap<object>());
460+
set => _tags = value;
461+
}
462+
375463
/// <summary>
376464
/// API QPS value. Enter a positive number to limit the API query rate per second `QPS`.
377465
/// </summary>
Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
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.As
12+
{
13+
/// <summary>
14+
/// Provides a resource to create a as complete_lifecycle
15+
///
16+
/// ## Example Usage
17+
///
18+
/// ```csharp
19+
/// using Pulumi;
20+
/// using Tencentcloud = TencentCloudIAC.PulumiPackage.Tencentcloud;
21+
///
22+
/// class MyStack : Stack
23+
/// {
24+
/// public MyStack()
25+
/// {
26+
/// var completeLifecycle = new Tencentcloud.As.CompleteLifecycle("completeLifecycle", new Tencentcloud.As.CompleteLifecycleArgs
27+
/// {
28+
/// InstanceId = "ins-xxxxxxxx",
29+
/// LifecycleActionResult = "CONTINUE",
30+
/// LifecycleHookId = "ash-xxxxxxxx",
31+
/// });
32+
/// }
33+
///
34+
/// }
35+
/// ```
36+
/// </summary>
37+
[TencentcloudResourceType("tencentcloud:As/completeLifecycle:CompleteLifecycle")]
38+
public partial class CompleteLifecycle : Pulumi.CustomResource
39+
{
40+
/// <summary>
41+
/// Instance ID. Either InstanceId or LifecycleActionToken must be specified.
42+
/// </summary>
43+
[Output("instanceId")]
44+
public Output<string?> InstanceId { get; private set; } = null!;
45+
46+
/// <summary>
47+
/// Result of the lifecycle action. Value range: `CONTINUE`, `ABANDON`.
48+
/// </summary>
49+
[Output("lifecycleActionResult")]
50+
public Output<string> LifecycleActionResult { get; private set; } = null!;
51+
52+
/// <summary>
53+
/// Either InstanceId or LifecycleActionToken must be specified.
54+
/// </summary>
55+
[Output("lifecycleActionToken")]
56+
public Output<string?> LifecycleActionToken { get; private set; } = null!;
57+
58+
/// <summary>
59+
/// Lifecycle hook ID.
60+
/// </summary>
61+
[Output("lifecycleHookId")]
62+
public Output<string> LifecycleHookId { get; private set; } = null!;
63+
64+
65+
/// <summary>
66+
/// Create a CompleteLifecycle resource with the given unique name, arguments, and options.
67+
/// </summary>
68+
///
69+
/// <param name="name">The unique name of the resource</param>
70+
/// <param name="args">The arguments used to populate this resource's properties</param>
71+
/// <param name="options">A bag of options that control this resource's behavior</param>
72+
public CompleteLifecycle(string name, CompleteLifecycleArgs args, CustomResourceOptions? options = null)
73+
: base("tencentcloud:As/completeLifecycle:CompleteLifecycle", name, args ?? new CompleteLifecycleArgs(), MakeResourceOptions(options, ""))
74+
{
75+
}
76+
77+
private CompleteLifecycle(string name, Input<string> id, CompleteLifecycleState? state = null, CustomResourceOptions? options = null)
78+
: base("tencentcloud:As/completeLifecycle:CompleteLifecycle", name, state, MakeResourceOptions(options, id))
79+
{
80+
}
81+
82+
private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id)
83+
{
84+
var defaultOptions = new CustomResourceOptions
85+
{
86+
Version = Utilities.Version,
87+
PluginDownloadURL = "github://api.github.com/tencentcloudstack",
88+
};
89+
var merged = CustomResourceOptions.Merge(defaultOptions, options);
90+
// Override the ID if one was specified for consistency with other language SDKs.
91+
merged.Id = id ?? merged.Id;
92+
return merged;
93+
}
94+
/// <summary>
95+
/// Get an existing CompleteLifecycle resource's state with the given name, ID, and optional extra
96+
/// properties used to qualify the lookup.
97+
/// </summary>
98+
///
99+
/// <param name="name">The unique name of the resulting resource.</param>
100+
/// <param name="id">The unique provider ID of the resource to lookup.</param>
101+
/// <param name="state">Any extra arguments used during the lookup.</param>
102+
/// <param name="options">A bag of options that control this resource's behavior</param>
103+
public static CompleteLifecycle Get(string name, Input<string> id, CompleteLifecycleState? state = null, CustomResourceOptions? options = null)
104+
{
105+
return new CompleteLifecycle(name, id, state, options);
106+
}
107+
}
108+
109+
public sealed class CompleteLifecycleArgs : Pulumi.ResourceArgs
110+
{
111+
/// <summary>
112+
/// Instance ID. Either InstanceId or LifecycleActionToken must be specified.
113+
/// </summary>
114+
[Input("instanceId")]
115+
public Input<string>? InstanceId { get; set; }
116+
117+
/// <summary>
118+
/// Result of the lifecycle action. Value range: `CONTINUE`, `ABANDON`.
119+
/// </summary>
120+
[Input("lifecycleActionResult", required: true)]
121+
public Input<string> LifecycleActionResult { get; set; } = null!;
122+
123+
/// <summary>
124+
/// Either InstanceId or LifecycleActionToken must be specified.
125+
/// </summary>
126+
[Input("lifecycleActionToken")]
127+
public Input<string>? LifecycleActionToken { get; set; }
128+
129+
/// <summary>
130+
/// Lifecycle hook ID.
131+
/// </summary>
132+
[Input("lifecycleHookId", required: true)]
133+
public Input<string> LifecycleHookId { get; set; } = null!;
134+
135+
public CompleteLifecycleArgs()
136+
{
137+
}
138+
}
139+
140+
public sealed class CompleteLifecycleState : Pulumi.ResourceArgs
141+
{
142+
/// <summary>
143+
/// Instance ID. Either InstanceId or LifecycleActionToken must be specified.
144+
/// </summary>
145+
[Input("instanceId")]
146+
public Input<string>? InstanceId { get; set; }
147+
148+
/// <summary>
149+
/// Result of the lifecycle action. Value range: `CONTINUE`, `ABANDON`.
150+
/// </summary>
151+
[Input("lifecycleActionResult")]
152+
public Input<string>? LifecycleActionResult { get; set; }
153+
154+
/// <summary>
155+
/// Either InstanceId or LifecycleActionToken must be specified.
156+
/// </summary>
157+
[Input("lifecycleActionToken")]
158+
public Input<string>? LifecycleActionToken { get; set; }
159+
160+
/// <summary>
161+
/// Lifecycle hook ID.
162+
/// </summary>
163+
[Input("lifecycleHookId")]
164+
public Input<string>? LifecycleHookId { get; set; }
165+
166+
public CompleteLifecycleState()
167+
{
168+
}
169+
}
170+
}

0 commit comments

Comments
 (0)