Skip to content

Commit f52cd3d

Browse files
committed
sync-terraform-provider
1 parent 4d05633 commit f52cd3d

File tree

4,372 files changed

+767111
-36452
lines changed

Some content is hidden

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

4,372 files changed

+767111
-36452
lines changed
Lines changed: 193 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,193 @@
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.ApiGateway
12+
{
13+
/// <summary>
14+
/// Provides a resource to create a APIGateway ApiApp
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 myApiApp = new Tencentcloud.ApiGateway.ApiApp("myApiApp", new Tencentcloud.ApiGateway.ApiAppArgs
27+
/// {
28+
/// ApiAppDesc = "app desc.",
29+
/// ApiAppName = "app_test1",
30+
/// });
31+
/// }
32+
///
33+
/// }
34+
/// ```
35+
/// </summary>
36+
[TencentcloudResourceType("tencentcloud:ApiGateway/apiApp:ApiApp")]
37+
public partial class ApiApp : Pulumi.CustomResource
38+
{
39+
/// <summary>
40+
/// App description.
41+
/// </summary>
42+
[Output("apiAppDesc")]
43+
public Output<string> ApiAppDesc { get; private set; } = null!;
44+
45+
/// <summary>
46+
/// Api app ID.
47+
/// </summary>
48+
[Output("apiAppId")]
49+
public Output<string> ApiAppId { get; private set; } = null!;
50+
51+
/// <summary>
52+
/// Api app key.
53+
/// </summary>
54+
[Output("apiAppKey")]
55+
public Output<string> ApiAppKey { get; private set; } = null!;
56+
57+
/// <summary>
58+
/// Api app name.
59+
/// </summary>
60+
[Output("apiAppName")]
61+
public Output<string> ApiAppName { get; private set; } = null!;
62+
63+
/// <summary>
64+
/// Api app secret.
65+
/// </summary>
66+
[Output("apiAppSecret")]
67+
public Output<string> ApiAppSecret { get; private set; } = null!;
68+
69+
/// <summary>
70+
/// Api app created time.
71+
/// </summary>
72+
[Output("createdTime")]
73+
public Output<string> CreatedTime { get; private set; } = null!;
74+
75+
/// <summary>
76+
/// Api app modified time.
77+
/// </summary>
78+
[Output("modifiedTime")]
79+
public Output<string> ModifiedTime { get; private set; } = null!;
80+
81+
82+
/// <summary>
83+
/// Create a ApiApp resource with the given unique name, arguments, and options.
84+
/// </summary>
85+
///
86+
/// <param name="name">The unique name of the resource</param>
87+
/// <param name="args">The arguments used to populate this resource's properties</param>
88+
/// <param name="options">A bag of options that control this resource's behavior</param>
89+
public ApiApp(string name, ApiAppArgs args, CustomResourceOptions? options = null)
90+
: base("tencentcloud:ApiGateway/apiApp:ApiApp", name, args ?? new ApiAppArgs(), MakeResourceOptions(options, ""))
91+
{
92+
}
93+
94+
private ApiApp(string name, Input<string> id, ApiAppState? state = null, CustomResourceOptions? options = null)
95+
: base("tencentcloud:ApiGateway/apiApp:ApiApp", name, state, MakeResourceOptions(options, id))
96+
{
97+
}
98+
99+
private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id)
100+
{
101+
var defaultOptions = new CustomResourceOptions
102+
{
103+
Version = Utilities.Version,
104+
PluginDownloadURL = "github://api.github.com/tencentcloudstack",
105+
};
106+
var merged = CustomResourceOptions.Merge(defaultOptions, options);
107+
// Override the ID if one was specified for consistency with other language SDKs.
108+
merged.Id = id ?? merged.Id;
109+
return merged;
110+
}
111+
/// <summary>
112+
/// Get an existing ApiApp resource's state with the given name, ID, and optional extra
113+
/// properties used to qualify the lookup.
114+
/// </summary>
115+
///
116+
/// <param name="name">The unique name of the resulting resource.</param>
117+
/// <param name="id">The unique provider ID of the resource to lookup.</param>
118+
/// <param name="state">Any extra arguments used during the lookup.</param>
119+
/// <param name="options">A bag of options that control this resource's behavior</param>
120+
public static ApiApp Get(string name, Input<string> id, ApiAppState? state = null, CustomResourceOptions? options = null)
121+
{
122+
return new ApiApp(name, id, state, options);
123+
}
124+
}
125+
126+
public sealed class ApiAppArgs : Pulumi.ResourceArgs
127+
{
128+
/// <summary>
129+
/// App description.
130+
/// </summary>
131+
[Input("apiAppDesc")]
132+
public Input<string>? ApiAppDesc { get; set; }
133+
134+
/// <summary>
135+
/// Api app name.
136+
/// </summary>
137+
[Input("apiAppName", required: true)]
138+
public Input<string> ApiAppName { get; set; } = null!;
139+
140+
public ApiAppArgs()
141+
{
142+
}
143+
}
144+
145+
public sealed class ApiAppState : Pulumi.ResourceArgs
146+
{
147+
/// <summary>
148+
/// App description.
149+
/// </summary>
150+
[Input("apiAppDesc")]
151+
public Input<string>? ApiAppDesc { get; set; }
152+
153+
/// <summary>
154+
/// Api app ID.
155+
/// </summary>
156+
[Input("apiAppId")]
157+
public Input<string>? ApiAppId { get; set; }
158+
159+
/// <summary>
160+
/// Api app key.
161+
/// </summary>
162+
[Input("apiAppKey")]
163+
public Input<string>? ApiAppKey { get; set; }
164+
165+
/// <summary>
166+
/// Api app name.
167+
/// </summary>
168+
[Input("apiAppName")]
169+
public Input<string>? ApiAppName { get; set; }
170+
171+
/// <summary>
172+
/// Api app secret.
173+
/// </summary>
174+
[Input("apiAppSecret")]
175+
public Input<string>? ApiAppSecret { get; set; }
176+
177+
/// <summary>
178+
/// Api app created time.
179+
/// </summary>
180+
[Input("createdTime")]
181+
public Input<string>? CreatedTime { get; set; }
182+
183+
/// <summary>
184+
/// Api app modified time.
185+
/// </summary>
186+
[Input("modifiedTime")]
187+
public Input<string>? ModifiedTime { get; set; }
188+
189+
public ApiAppState()
190+
{
191+
}
192+
}
193+
}

0 commit comments

Comments
 (0)