Skip to content

Commit

Permalink
Upgrade terraform-provider-signalfx to v9.5.0 (#617)
Browse files Browse the repository at this point in the history
This PR was generated via `$ upgrade-provider pulumi/pulumi-signalfx
--kind=provider`.

---

- Updating Java Gen version from 0.17.0 to 0.18.0.
- Upgrading terraform-provider-signalfx from 9.4.1  to 9.5.0.
	Fixes #615
  • Loading branch information
VenelinMartinov authored Dec 2, 2024
1 parent 997d16a commit dbd4127
Show file tree
Hide file tree
Showing 18 changed files with 1,106 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .pulumi-java-gen.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.17.0
0.18.0
4 changes: 4 additions & 0 deletions provider/cmd/pulumi-resource-signalfx/bridge-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,10 @@
}
}
},
"signalfx_slo_chart": {
"current": "signalfx:index/sloChart:SloChart",
"majorVersion": 7
},
"signalfx_table_chart": {
"current": "signalfx:index/tableChart:TableChart",
"majorVersion": 7,
Expand Down
40 changes: 40 additions & 0 deletions provider/cmd/pulumi-resource-signalfx/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5200,6 +5200,46 @@
"type": "object"
}
},
"signalfx:index/sloChart:SloChart": {
"description": "This chart type displays an overview of your SLO and can give more specific insights into your SLI performance using different filter and customized time ranges.\n\n## Example\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as signalfx from \"@pulumi/signalfx\";\n\nconst myslochart0 = new signalfx.SloChart(\"myslochart0\", {sloId: \"GbOHXbSAEAA\"});\n```\n```python\nimport pulumi\nimport pulumi_signalfx as signalfx\n\nmyslochart0 = signalfx.SloChart(\"myslochart0\", slo_id=\"GbOHXbSAEAA\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing SignalFx = Pulumi.SignalFx;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myslochart0 = new SignalFx.SloChart(\"myslochart0\", new()\n {\n SloId = \"GbOHXbSAEAA\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-signalfx/sdk/v7/go/signalfx\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := signalfx.NewSloChart(ctx, \"myslochart0\", \u0026signalfx.SloChartArgs{\n\t\t\tSloId: pulumi.String(\"GbOHXbSAEAA\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.signalfx.SloChart;\nimport com.pulumi.signalfx.SloChartArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var myslochart0 = new SloChart(\"myslochart0\", SloChartArgs.builder()\n .sloId(\"GbOHXbSAEAA\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n myslochart0:\n type: signalfx:SloChart\n properties:\n sloId: GbOHXbSAEAA\n```\n\u003c!--End PulumiCodeChooser --\u003e\n",
"properties": {
"sloId": {
"type": "string",
"description": "ID of SLO object.\n"
},
"url": {
"type": "string",
"description": "The URL of the chart.\n"
}
},
"required": [
"sloId",
"url"
],
"inputProperties": {
"sloId": {
"type": "string",
"description": "ID of SLO object.\n"
}
},
"requiredInputs": [
"sloId"
],
"stateInputs": {
"description": "Input properties used for looking up and filtering SloChart resources.\n",
"properties": {
"sloId": {
"type": "string",
"description": "ID of SLO object.\n"
},
"url": {
"type": "string",
"description": "The URL of the chart.\n"
}
},
"type": "object"
}
},
"signalfx:index/tableChart:TableChart": {
"description": "This special type of chart displays a data table. This table can be grouped by a dimension.\n\n## Example\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as signalfx from \"@pulumi/signalfx\";\n\n// signalfx_list_chart.Logs-Exec_0:\nconst table0 = new signalfx.TableChart(\"table_0\", {\n description: \"beep\",\n disableSampling: false,\n maxDelay: 0,\n name: \"TableChart!\",\n programText: \"A = data('cpu.usage.total').publish(label='CPU Total')\",\n groupBies: [\"ClusterName\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_signalfx as signalfx\n\n# signalfx_list_chart.Logs-Exec_0:\ntable0 = signalfx.TableChart(\"table_0\",\n description=\"beep\",\n disable_sampling=False,\n max_delay=0,\n name=\"TableChart!\",\n program_text=\"A = data('cpu.usage.total').publish(label='CPU Total')\",\n group_bies=[\"ClusterName\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing SignalFx = Pulumi.SignalFx;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // signalfx_list_chart.Logs-Exec_0:\n var table0 = new SignalFx.TableChart(\"table_0\", new()\n {\n Description = \"beep\",\n DisableSampling = false,\n MaxDelay = 0,\n Name = \"TableChart!\",\n ProgramText = \"A = data('cpu.usage.total').publish(label='CPU Total')\",\n GroupBies = new[]\n {\n \"ClusterName\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-signalfx/sdk/v7/go/signalfx\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// signalfx_list_chart.Logs-Exec_0:\n\t\t_, err := signalfx.NewTableChart(ctx, \"table_0\", \u0026signalfx.TableChartArgs{\n\t\t\tDescription: pulumi.String(\"beep\"),\n\t\t\tDisableSampling: pulumi.Bool(false),\n\t\t\tMaxDelay: pulumi.Int(0),\n\t\t\tName: pulumi.String(\"TableChart!\"),\n\t\t\tProgramText: pulumi.String(\"A = data('cpu.usage.total').publish(label='CPU Total')\"),\n\t\t\tGroupBies: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"ClusterName\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.signalfx.TableChart;\nimport com.pulumi.signalfx.TableChartArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n // signalfx_list_chart.Logs-Exec_0:\n var table0 = new TableChart(\"table0\", TableChartArgs.builder()\n .description(\"beep\")\n .disableSampling(false)\n .maxDelay(0)\n .name(\"TableChart!\")\n .programText(\"A = data('cpu.usage.total').publish(label='CPU Total')\")\n .groupBies(\"ClusterName\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # signalfx_list_chart.Logs-Exec_0:\n table0:\n type: signalfx:TableChart\n name: table_0\n properties:\n description: beep\n disableSampling: false\n maxDelay: 0\n name: TableChart!\n programText: A = data('cpu.usage.total').publish(label='CPU Total')\n groupBies:\n - ClusterName\n```\n\u003c!--End PulumiCodeChooser --\u003e\n",
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ toolchain go1.23.3
require (
github.com/pulumi/pulumi-terraform-bridge/v3 v3.96.0
github.com/pulumi/pulumi/sdk/v3 v3.140.0
github.com/splunk-terraform/terraform-provider-signalfx v1.9.2-0.20241120220227-3f55b51b9b0e
github.com/splunk-terraform/terraform-provider-signalfx v1.9.2-0.20241125005414-338a555eb6ce
)

replace (
Expand Down
4 changes: 2 additions & 2 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1955,8 +1955,8 @@ github.com/spf13/pflag v1.0.2/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnIn
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/splunk-terraform/terraform-provider-signalfx v1.9.2-0.20241120220227-3f55b51b9b0e h1:DOqu0mXUZCUwoYrF4CZ9fbi1umK/xLfOHB1kMN3HchQ=
github.com/splunk-terraform/terraform-provider-signalfx v1.9.2-0.20241120220227-3f55b51b9b0e/go.mod h1:2bzQ3b1oLbwoZPv7VeIxeJI81YL9j46AIwpJ6X7Hwkk=
github.com/splunk-terraform/terraform-provider-signalfx v1.9.2-0.20241125005414-338a555eb6ce h1:bsHX/V7Ouxr3IfpiK6MLvICF+fUxMzSD55vbPgT5VkY=
github.com/splunk-terraform/terraform-provider-signalfx v1.9.2-0.20241125005414-338a555eb6ce/go.mod h1:2bzQ3b1oLbwoZPv7VeIxeJI81YL9j46AIwpJ6X7Hwkk=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
Expand Down
1 change: 1 addition & 0 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ func Provider() tfbridge.ProviderInfo {
"signalfx_webhook_integration": {Tok: makeResource(mainMod, "WebhookIntegration")},
"signalfx_metric_ruleset": {Tok: makeResource(mainMod, "MetricRuleset")},
"signalfx_slo": {Tok: makeResource(mainMod, "Slo")},
"signalfx_slo_chart": {Tok: makeResource(mainMod, "SloChart")},

"signalfx_log_view": {Tok: makeResource(logsMod, "View")},

Expand Down
125 changes: 125 additions & 0 deletions sdk/dotnet/SloChart.cs

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

7 changes: 7 additions & 0 deletions sdk/go/signalfx/init.go

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

Loading

0 comments on commit dbd4127

Please sign in to comment.