Skip to content

Commit a82c5f9

Browse files
committed
Regen SDKs
1 parent f4dbbd0 commit a82c5f9

Some content is hidden

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

49 files changed

+8800
-321
lines changed
Lines changed: 183 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
// *** WARNING: this file was generated by pulumigen. ***
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+
10+
namespace Pulumi.Render.Services
11+
{
12+
/// <summary>
13+
/// A background worker service
14+
/// </summary>
15+
[RenderResourceType("render:services:BackgroundWorker")]
16+
public partial class BackgroundWorker : Pulumi.CustomResource
17+
{
18+
/// <summary>
19+
/// Whether to auto deploy the service or not upon git push.
20+
/// </summary>
21+
[Output("autoDeploy")]
22+
public Output<Pulumi.Render.Services.ServiceAutoDeploy?> AutoDeploy { get; private set; } = null!;
23+
24+
/// <summary>
25+
/// If left empty, this will fall back to the default branch of the repository.
26+
/// </summary>
27+
[Output("branch")]
28+
public Output<string?> Branch { get; private set; } = null!;
29+
30+
[Output("createdAt")]
31+
public Output<string?> CreatedAt { get; private set; } = null!;
32+
33+
[Output("name")]
34+
public Output<string?> Name { get; private set; } = null!;
35+
36+
/// <summary>
37+
/// The notification setting for this service upon deployment failure.
38+
/// </summary>
39+
[Output("notifyOnFail")]
40+
public Output<Pulumi.Render.Services.ServiceNotifyOnFail?> NotifyOnFail { get; private set; } = null!;
41+
42+
/// <summary>
43+
/// The id of the owner (user/team).
44+
/// </summary>
45+
[Output("ownerId")]
46+
public Output<string?> OwnerId { get; private set; } = null!;
47+
48+
/// <summary>
49+
/// Do not include the branch in the repo string. You can instead supply a 'branch' parameter.
50+
/// </summary>
51+
[Output("repo")]
52+
public Output<string?> Repo { get; private set; } = null!;
53+
54+
[Output("serviceDetails")]
55+
public Output<Outputs.ServiceDetails?> ServiceDetails { get; private set; } = null!;
56+
57+
[Output("slug")]
58+
public Output<string?> Slug { get; private set; } = null!;
59+
60+
[Output("suspended")]
61+
public Output<Pulumi.Render.Services.ServiceSuspended?> Suspended { get; private set; } = null!;
62+
63+
[Output("suspenders")]
64+
public Output<ImmutableArray<string>> Suspenders { get; private set; } = null!;
65+
66+
[Output("type")]
67+
public Output<string?> Type { get; private set; } = null!;
68+
69+
[Output("updatedAt")]
70+
public Output<string?> UpdatedAt { get; private set; } = null!;
71+
72+
73+
/// <summary>
74+
/// Create a BackgroundWorker resource with the given unique name, arguments, and options.
75+
/// </summary>
76+
///
77+
/// <param name="name">The unique name of the resource</param>
78+
/// <param name="args">The arguments used to populate this resource's properties</param>
79+
/// <param name="options">A bag of options that control this resource's behavior</param>
80+
public BackgroundWorker(string name, BackgroundWorkerArgs args, CustomResourceOptions? options = null)
81+
: base("render:services:BackgroundWorker", name, args ?? new BackgroundWorkerArgs(), MakeResourceOptions(options, ""))
82+
{
83+
}
84+
85+
private BackgroundWorker(string name, Input<string> id, CustomResourceOptions? options = null)
86+
: base("render:services:BackgroundWorker", name, null, MakeResourceOptions(options, id))
87+
{
88+
}
89+
90+
private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id)
91+
{
92+
var defaultOptions = new CustomResourceOptions
93+
{
94+
Version = Utilities.Version,
95+
PluginDownloadURL = "https://github.com/cloudy-sky-software/pulumi-render/releases/download/${VERSION}",
96+
};
97+
var merged = CustomResourceOptions.Merge(defaultOptions, options);
98+
// Override the ID if one was specified for consistency with other language SDKs.
99+
merged.Id = id ?? merged.Id;
100+
return merged;
101+
}
102+
/// <summary>
103+
/// Get an existing BackgroundWorker resource's state with the given name, ID, and optional extra
104+
/// properties used to qualify the lookup.
105+
/// </summary>
106+
///
107+
/// <param name="name">The unique name of the resulting resource.</param>
108+
/// <param name="id">The unique provider ID of the resource to lookup.</param>
109+
/// <param name="options">A bag of options that control this resource's behavior</param>
110+
public static BackgroundWorker Get(string name, Input<string> id, CustomResourceOptions? options = null)
111+
{
112+
return new BackgroundWorker(name, id, options);
113+
}
114+
}
115+
116+
public sealed class BackgroundWorkerArgs : Pulumi.ResourceArgs
117+
{
118+
/// <summary>
119+
/// Whether to auto deploy the service or not upon git push.
120+
/// </summary>
121+
[Input("autoDeploy")]
122+
public Input<Pulumi.Render.Services.ServiceAutoDeploy>? AutoDeploy { get; set; }
123+
124+
/// <summary>
125+
/// If left empty, this will fall back to the default branch of the repository.
126+
/// </summary>
127+
[Input("branch")]
128+
public Input<string>? Branch { get; set; }
129+
130+
[Input("createdAt")]
131+
public Input<string>? CreatedAt { get; set; }
132+
133+
[Input("name", required: true)]
134+
public Input<string> Name { get; set; } = null!;
135+
136+
/// <summary>
137+
/// The notification setting for this service upon deployment failure.
138+
/// </summary>
139+
[Input("notifyOnFail")]
140+
public Input<Pulumi.Render.Services.ServiceNotifyOnFail>? NotifyOnFail { get; set; }
141+
142+
/// <summary>
143+
/// The id of the owner (user/team).
144+
/// </summary>
145+
[Input("ownerId", required: true)]
146+
public Input<string> OwnerId { get; set; } = null!;
147+
148+
/// <summary>
149+
/// Do not include the branch in the repo string. You can instead supply a 'branch' parameter.
150+
/// </summary>
151+
[Input("repo", required: true)]
152+
public Input<string> Repo { get; set; } = null!;
153+
154+
[Input("serviceDetails")]
155+
public Input<Inputs.ServiceDetailsArgs>? ServiceDetails { get; set; }
156+
157+
[Input("slug")]
158+
public Input<string>? Slug { get; set; }
159+
160+
[Input("suspended")]
161+
public Input<Pulumi.Render.Services.ServiceSuspended>? Suspended { get; set; }
162+
163+
[Input("suspenders")]
164+
private InputList<string>? _suspenders;
165+
public InputList<string> Suspenders
166+
{
167+
get => _suspenders ?? (_suspenders = new InputList<string>());
168+
set => _suspenders = value;
169+
}
170+
171+
[Input("type")]
172+
public Input<string>? Type { get; set; }
173+
174+
[Input("updatedAt")]
175+
public Input<string>? UpdatedAt { get; set; }
176+
177+
public BackgroundWorkerArgs()
178+
{
179+
AutoDeploy = Pulumi.Render.Services.ServiceAutoDeploy.No;
180+
Type = "background_worker";
181+
}
182+
}
183+
}

sdk/dotnet/Services/CronJob.cs

Lines changed: 183 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
// *** WARNING: this file was generated by pulumigen. ***
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+
10+
namespace Pulumi.Render.Services
11+
{
12+
/// <summary>
13+
/// A cron job
14+
/// </summary>
15+
[RenderResourceType("render:services:CronJob")]
16+
public partial class CronJob : Pulumi.CustomResource
17+
{
18+
/// <summary>
19+
/// Whether to auto deploy the service or not upon git push.
20+
/// </summary>
21+
[Output("autoDeploy")]
22+
public Output<Pulumi.Render.Services.ServiceAutoDeploy?> AutoDeploy { get; private set; } = null!;
23+
24+
/// <summary>
25+
/// If left empty, this will fall back to the default branch of the repository.
26+
/// </summary>
27+
[Output("branch")]
28+
public Output<string?> Branch { get; private set; } = null!;
29+
30+
[Output("createdAt")]
31+
public Output<string?> CreatedAt { get; private set; } = null!;
32+
33+
[Output("name")]
34+
public Output<string?> Name { get; private set; } = null!;
35+
36+
/// <summary>
37+
/// The notification setting for this service upon deployment failure.
38+
/// </summary>
39+
[Output("notifyOnFail")]
40+
public Output<Pulumi.Render.Services.ServiceNotifyOnFail?> NotifyOnFail { get; private set; } = null!;
41+
42+
/// <summary>
43+
/// The id of the owner (user/team).
44+
/// </summary>
45+
[Output("ownerId")]
46+
public Output<string?> OwnerId { get; private set; } = null!;
47+
48+
/// <summary>
49+
/// Do not include the branch in the repo string. You can instead supply a 'branch' parameter.
50+
/// </summary>
51+
[Output("repo")]
52+
public Output<string?> Repo { get; private set; } = null!;
53+
54+
[Output("serviceDetails")]
55+
public Output<Outputs.CronJobServiceDetails?> ServiceDetails { get; private set; } = null!;
56+
57+
[Output("slug")]
58+
public Output<string?> Slug { get; private set; } = null!;
59+
60+
[Output("suspended")]
61+
public Output<Pulumi.Render.Services.ServiceSuspended?> Suspended { get; private set; } = null!;
62+
63+
[Output("suspenders")]
64+
public Output<ImmutableArray<string>> Suspenders { get; private set; } = null!;
65+
66+
[Output("type")]
67+
public Output<string?> Type { get; private set; } = null!;
68+
69+
[Output("updatedAt")]
70+
public Output<string?> UpdatedAt { get; private set; } = null!;
71+
72+
73+
/// <summary>
74+
/// Create a CronJob resource with the given unique name, arguments, and options.
75+
/// </summary>
76+
///
77+
/// <param name="name">The unique name of the resource</param>
78+
/// <param name="args">The arguments used to populate this resource's properties</param>
79+
/// <param name="options">A bag of options that control this resource's behavior</param>
80+
public CronJob(string name, CronJobArgs args, CustomResourceOptions? options = null)
81+
: base("render:services:CronJob", name, args ?? new CronJobArgs(), MakeResourceOptions(options, ""))
82+
{
83+
}
84+
85+
private CronJob(string name, Input<string> id, CustomResourceOptions? options = null)
86+
: base("render:services:CronJob", name, null, MakeResourceOptions(options, id))
87+
{
88+
}
89+
90+
private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id)
91+
{
92+
var defaultOptions = new CustomResourceOptions
93+
{
94+
Version = Utilities.Version,
95+
PluginDownloadURL = "https://github.com/cloudy-sky-software/pulumi-render/releases/download/${VERSION}",
96+
};
97+
var merged = CustomResourceOptions.Merge(defaultOptions, options);
98+
// Override the ID if one was specified for consistency with other language SDKs.
99+
merged.Id = id ?? merged.Id;
100+
return merged;
101+
}
102+
/// <summary>
103+
/// Get an existing CronJob resource's state with the given name, ID, and optional extra
104+
/// properties used to qualify the lookup.
105+
/// </summary>
106+
///
107+
/// <param name="name">The unique name of the resulting resource.</param>
108+
/// <param name="id">The unique provider ID of the resource to lookup.</param>
109+
/// <param name="options">A bag of options that control this resource's behavior</param>
110+
public static CronJob Get(string name, Input<string> id, CustomResourceOptions? options = null)
111+
{
112+
return new CronJob(name, id, options);
113+
}
114+
}
115+
116+
public sealed class CronJobArgs : Pulumi.ResourceArgs
117+
{
118+
/// <summary>
119+
/// Whether to auto deploy the service or not upon git push.
120+
/// </summary>
121+
[Input("autoDeploy")]
122+
public Input<Pulumi.Render.Services.ServiceAutoDeploy>? AutoDeploy { get; set; }
123+
124+
/// <summary>
125+
/// If left empty, this will fall back to the default branch of the repository.
126+
/// </summary>
127+
[Input("branch")]
128+
public Input<string>? Branch { get; set; }
129+
130+
[Input("createdAt")]
131+
public Input<string>? CreatedAt { get; set; }
132+
133+
[Input("name", required: true)]
134+
public Input<string> Name { get; set; } = null!;
135+
136+
/// <summary>
137+
/// The notification setting for this service upon deployment failure.
138+
/// </summary>
139+
[Input("notifyOnFail")]
140+
public Input<Pulumi.Render.Services.ServiceNotifyOnFail>? NotifyOnFail { get; set; }
141+
142+
/// <summary>
143+
/// The id of the owner (user/team).
144+
/// </summary>
145+
[Input("ownerId", required: true)]
146+
public Input<string> OwnerId { get; set; } = null!;
147+
148+
/// <summary>
149+
/// Do not include the branch in the repo string. You can instead supply a 'branch' parameter.
150+
/// </summary>
151+
[Input("repo", required: true)]
152+
public Input<string> Repo { get; set; } = null!;
153+
154+
[Input("serviceDetails")]
155+
public Input<Inputs.CronJobServiceDetailsArgs>? ServiceDetails { get; set; }
156+
157+
[Input("slug")]
158+
public Input<string>? Slug { get; set; }
159+
160+
[Input("suspended")]
161+
public Input<Pulumi.Render.Services.ServiceSuspended>? Suspended { get; set; }
162+
163+
[Input("suspenders")]
164+
private InputList<string>? _suspenders;
165+
public InputList<string> Suspenders
166+
{
167+
get => _suspenders ?? (_suspenders = new InputList<string>());
168+
set => _suspenders = value;
169+
}
170+
171+
[Input("type")]
172+
public Input<string>? Type { get; set; }
173+
174+
[Input("updatedAt")]
175+
public Input<string>? UpdatedAt { get; set; }
176+
177+
public CronJobArgs()
178+
{
179+
AutoDeploy = Pulumi.Render.Services.ServiceAutoDeploy.No;
180+
Type = "cron_job";
181+
}
182+
}
183+
}

0 commit comments

Comments
 (0)