Skip to content

Commit

Permalink
update generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
aschepis committed Dec 16, 2024
1 parent 6b963b0 commit 6f756b1
Show file tree
Hide file tree
Showing 42 changed files with 47 additions and 8 deletions.
1 change: 1 addition & 0 deletions provider/cmd/pulumi-resource-chronosphere/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"license": "Apache-2.0",
"attribution": "This Pulumi package is based on the [`chronosphere` Terraform Provider](https://github.com/chronosphereio/terraform-provider-chronosphere).",
"repository": "https://github.com/chronosphereio/pulumi-chronosphere",
"pluginDownloadURL": "github://api.github.com/chronosphereio",
"publisher": "Chronosphere",
"meta": {
"moduleFormat": "(.*)(?:/[^/]*)"
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/BlackholeAlertNotifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/Bucket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/ClassicDashboard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/Collection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/Dashboard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/Dataset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/DerivedLabel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/DerivedMetric.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/DropRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/EmailAlertNotifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/GcpMetricsIntegration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/LogAllocationConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/LogscaleAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/LogscaleAlert.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/MappingRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/Monitor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/NotificationPolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/OpsgenieAlertNotifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
AdditionalSecretOutputs =
{
"apiKey",
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/OtelMetricsIngestion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/PagerdutyAlertNotifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
AdditionalSecretOutputs =
{
"basicAuthPassword",
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/Provider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
AdditionalSecretOutputs =
{
"apiToken",
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/RecordingRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/ResourcePoolsConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/RollupRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/SLO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/ServiceAccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
AdditionalSecretOutputs =
{
"token",
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/SlackAlertNotifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
AdditionalSecretOutputs =
{
"apiUrl",
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/Team.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/TraceJaegerRemoteSamplingStrategy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/TraceMetricsRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/TraceTailSamplingRules.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/Utilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ static class Utilities
{
var dst = src ?? new global::Pulumi.InvokeOptions{};
dst.Version = src?.Version ?? Version;
dst.PluginDownloadURL = src?.PluginDownloadURL ?? "github://api.github.com/chronosphereio";
return dst;
}

Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/VictoropsAlertNotifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
AdditionalSecretOutputs =
{
"apiKey",
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/WebhookAlertNotifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/chronosphereio",
AdditionalSecretOutputs =
{
"basicAuthPassword",
Expand Down
3 changes: 2 additions & 1 deletion sdk/dotnet/pulumi-plugin.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"resource": true,
"name": "chronosphere"
"name": "chronosphere",
"server": "github://api.github.com/chronosphereio"
}
4 changes: 2 additions & 2 deletions sdk/go/chronosphere/internal/pulumiUtilities.go

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

3 changes: 2 additions & 1 deletion sdk/go/chronosphere/pulumi-plugin.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"resource": true,
"name": "chronosphere"
"name": "chronosphere",
"server": "github://api.github.com/chronosphereio"
}
3 changes: 2 additions & 1 deletion sdk/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
},
"pulumi": {
"resource": true,
"name": "chronosphere"
"name": "chronosphere",
"server": "github://api.github.com/chronosphereio"
}
}
2 changes: 1 addition & 1 deletion sdk/nodejs/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function getVersion(): string {

/** @internal */
export function resourceOptsDefaults(): any {
return { version: getVersion() };
return { version: getVersion(), pluginDownloadURL: "github://api.github.com/chronosphereio" };
}

/** @internal */
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/pulumi_chronosphere/_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,4 +247,4 @@ def lifted_func(*args, opts=None, **kwargs):
return (lambda _: lifted_func)

def get_plugin_download_url():
return None
return "github://api.github.com/chronosphereio"
3 changes: 2 additions & 1 deletion sdk/python/pulumi_chronosphere/pulumi-plugin.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"resource": true,
"name": "chronosphere"
"name": "chronosphere",
"server": "github://api.github.com/chronosphereio"
}

0 comments on commit 6f756b1

Please sign in to comment.