@pulumi/gcp 10.0.0-rc.1 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
- [![Actions Status](https://github.com/pulumi/pulumi-gcp/workflows/master/badge.svg)](https://github.com/pulumi/pulumi-gcp/actions)
1
+ [![Actions Status](https://github.com/pulumi/pulumi-gcp/workflows/main/badge.svg)](https://github.com/pulumi/pulumi-gcp/actions)
2
2
  [![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com)
3
3
  [![NPM version](https://badge.fury.io/js/%40pulumi%2Fgcp.svg)](https://npmjs.com/package/@pulumi/gcp)
4
4
  [![NuGet version](https://badge.fury.io/nu/pulumi.gcp.svg)](https://badge.fury.io/nu/pulumi.gcp)
5
5
  [![Python version](https://badge.fury.io/py/pulumi-gcp.svg)](https://pypi.org/project/pulumi-gcp)
6
6
  [![PkgGoDev](https://pkg.go.dev/badge/github.com/pulumi/pulumi-gcp/sdk/v10/go)](https://pkg.go.dev/github.com/pulumi/pulumi-gcp/sdk/v10/go)
7
- [![License](https://img.shields.io/npm/l/%40pulumi%2Fgcp.svg?color=limegreen)](https://github.com/pulumi/pulumi-gcp/blob/master/LICENSE)
7
+ [![License](https://img.shields.io/npm/l/%40pulumi%2Fgcp.svg?color=limegreen)](https://github.com/pulumi/pulumi-gcp/blob/main/LICENSE)
8
8
 
9
9
  # Google Cloud Platform Resource Provider
10
10
 
@@ -34,13 +34,13 @@ import * as outputs from "../types/output";
34
34
  * const example = new gcp.chronicle.FindingsRefinementDeployment("example", {
35
35
  * location: "us",
36
36
  * instance: "00000000-0000-0000-0000-000000000000",
37
- * findingsRefinement: output(Promise.all([std.split({
37
+ * findingsRefinement: Promise.all([std.split({
38
38
  * separator: "/",
39
39
  * text: googleChronicleFindingsRefinement["my-findings-refinement"].name,
40
40
  * }), std.split({
41
41
  * separator: "/",
42
42
  * text: googleChronicleFindingsRefinement["my-findings-refinement"].name,
43
- * }).then(invoke => invoke.result.length)]).then(([invoke, length]) => invoke.result[length - 1])).apply(x =>String(x)),
43
+ * }).then(invoke => invoke.result.length)]).then(([invoke, length]) => invoke.result[length - 1]),
44
44
  * enabled: true,
45
45
  * archived: false,
46
46
  * });
@@ -61,13 +61,13 @@ const utilities = __importStar(require("../utilities"));
61
61
  * const example = new gcp.chronicle.FindingsRefinementDeployment("example", {
62
62
  * location: "us",
63
63
  * instance: "00000000-0000-0000-0000-000000000000",
64
- * findingsRefinement: output(Promise.all([std.split({
64
+ * findingsRefinement: Promise.all([std.split({
65
65
  * separator: "/",
66
66
  * text: googleChronicleFindingsRefinement["my-findings-refinement"].name,
67
67
  * }), std.split({
68
68
  * separator: "/",
69
69
  * text: googleChronicleFindingsRefinement["my-findings-refinement"].name,
70
- * }).then(invoke => invoke.result.length)]).then(([invoke, length]) => invoke.result[length - 1])).apply(x =>String(x)),
70
+ * }).then(invoke => invoke.result.length)]).then(([invoke, length]) => invoke.result[length - 1]),
71
71
  * enabled: true,
72
72
  * archived: false,
73
73
  * });
@@ -28,13 +28,13 @@ import * as outputs from "../types/output";
28
28
  * const example = new gcp.chronicle.Retrohunt("example", {
29
29
  * location: "us",
30
30
  * instance: "00000000-0000-0000-0000-000000000000",
31
- * rule: output(Promise.all([std.split({
31
+ * rule: Promise.all([std.split({
32
32
  * separator: "/",
33
33
  * text: googleChronicleRule["my-rule"].name,
34
34
  * }), std.split({
35
35
  * separator: "/",
36
36
  * text: googleChronicleRule["my-rule"].name,
37
- * }).then(invoke => invoke.result.length)]).then(([invoke, length]) => invoke.result[length - 1])).apply(x =>String(x)),
37
+ * }).then(invoke => invoke.result.length)]).then(([invoke, length]) => invoke.result[length - 1]),
38
38
  * processInterval: {
39
39
  * startTime: "2025-01-01T00:00:00Z",
40
40
  * endTime: "2025-01-01T12:00:00Z",
@@ -55,13 +55,13 @@ const utilities = __importStar(require("../utilities"));
55
55
  * const example = new gcp.chronicle.Retrohunt("example", {
56
56
  * location: "us",
57
57
  * instance: "00000000-0000-0000-0000-000000000000",
58
- * rule: output(Promise.all([std.split({
58
+ * rule: Promise.all([std.split({
59
59
  * separator: "/",
60
60
  * text: googleChronicleRule["my-rule"].name,
61
61
  * }), std.split({
62
62
  * separator: "/",
63
63
  * text: googleChronicleRule["my-rule"].name,
64
- * }).then(invoke => invoke.result.length)]).then(([invoke, length]) => invoke.result[length - 1])).apply(x =>String(x)),
64
+ * }).then(invoke => invoke.result.length)]).then(([invoke, length]) => invoke.result[length - 1]),
65
65
  * processInterval: {
66
66
  * startTime: "2025-01-01T00:00:00Z",
67
67
  * endTime: "2025-01-01T12:00:00Z",
@@ -27,13 +27,13 @@ import * as outputs from "../types/output";
27
27
  * const example = new gcp.chronicle.RuleDeployment("example", {
28
28
  * location: "us",
29
29
  * instance: "00000000-0000-0000-0000-000000000000",
30
- * rule: output(Promise.all([std.split({
30
+ * rule: Promise.all([std.split({
31
31
  * separator: "/",
32
32
  * text: googleChronicleRule["my-rule"].name,
33
33
  * }), std.split({
34
34
  * separator: "/",
35
35
  * text: googleChronicleRule["my-rule"].name,
36
- * }).then(invoke => invoke.result.length)]).then(([invoke, length]) => invoke.result[length - 1])).apply(x =>String(x)),
36
+ * }).then(invoke => invoke.result.length)]).then(([invoke, length]) => invoke.result[length - 1]),
37
37
  * enabled: true,
38
38
  * alerting: true,
39
39
  * archived: false,
@@ -55,13 +55,13 @@ import * as outputs from "../types/output";
55
55
  * const example = new gcp.chronicle.RuleDeployment("example", {
56
56
  * location: "us",
57
57
  * instance: "00000000-0000-0000-0000-000000000000",
58
- * rule: output(Promise.all([std.split({
58
+ * rule: Promise.all([std.split({
59
59
  * separator: "/",
60
60
  * text: googleChronicleRule["my-rule"].name,
61
61
  * }), std.split({
62
62
  * separator: "/",
63
63
  * text: googleChronicleRule["my-rule"].name,
64
- * }).then(invoke => invoke.result.length)]).then(([invoke, length]) => invoke.result[length - 1])).apply(x =>String(x)),
64
+ * }).then(invoke => invoke.result.length)]).then(([invoke, length]) => invoke.result[length - 1]),
65
65
  * enabled: false,
66
66
  * runFrequency: "LIVE",
67
67
  * });
@@ -81,13 +81,13 @@ import * as outputs from "../types/output";
81
81
  * const example = new gcp.chronicle.RuleDeployment("example", {
82
82
  * location: "us",
83
83
  * instance: "00000000-0000-0000-0000-000000000000",
84
- * rule: output(Promise.all([std.split({
84
+ * rule: Promise.all([std.split({
85
85
  * separator: "/",
86
86
  * text: googleChronicleRule["my-rule"].name,
87
87
  * }), std.split({
88
88
  * separator: "/",
89
89
  * text: googleChronicleRule["my-rule"].name,
90
- * }).then(invoke => invoke.result.length)]).then(([invoke, length]) => invoke.result[length - 1])).apply(x =>String(x)),
90
+ * }).then(invoke => invoke.result.length)]).then(([invoke, length]) => invoke.result[length - 1]),
91
91
  * enabled: true,
92
92
  * alerting: true,
93
93
  * archived: false,
@@ -54,13 +54,13 @@ const utilities = __importStar(require("../utilities"));
54
54
  * const example = new gcp.chronicle.RuleDeployment("example", {
55
55
  * location: "us",
56
56
  * instance: "00000000-0000-0000-0000-000000000000",
57
- * rule: output(Promise.all([std.split({
57
+ * rule: Promise.all([std.split({
58
58
  * separator: "/",
59
59
  * text: googleChronicleRule["my-rule"].name,
60
60
  * }), std.split({
61
61
  * separator: "/",
62
62
  * text: googleChronicleRule["my-rule"].name,
63
- * }).then(invoke => invoke.result.length)]).then(([invoke, length]) => invoke.result[length - 1])).apply(x =>String(x)),
63
+ * }).then(invoke => invoke.result.length)]).then(([invoke, length]) => invoke.result[length - 1]),
64
64
  * enabled: true,
65
65
  * alerting: true,
66
66
  * archived: false,
@@ -82,13 +82,13 @@ const utilities = __importStar(require("../utilities"));
82
82
  * const example = new gcp.chronicle.RuleDeployment("example", {
83
83
  * location: "us",
84
84
  * instance: "00000000-0000-0000-0000-000000000000",
85
- * rule: output(Promise.all([std.split({
85
+ * rule: Promise.all([std.split({
86
86
  * separator: "/",
87
87
  * text: googleChronicleRule["my-rule"].name,
88
88
  * }), std.split({
89
89
  * separator: "/",
90
90
  * text: googleChronicleRule["my-rule"].name,
91
- * }).then(invoke => invoke.result.length)]).then(([invoke, length]) => invoke.result[length - 1])).apply(x =>String(x)),
91
+ * }).then(invoke => invoke.result.length)]).then(([invoke, length]) => invoke.result[length - 1]),
92
92
  * enabled: false,
93
93
  * runFrequency: "LIVE",
94
94
  * });
@@ -108,13 +108,13 @@ const utilities = __importStar(require("../utilities"));
108
108
  * const example = new gcp.chronicle.RuleDeployment("example", {
109
109
  * location: "us",
110
110
  * instance: "00000000-0000-0000-0000-000000000000",
111
- * rule: output(Promise.all([std.split({
111
+ * rule: Promise.all([std.split({
112
112
  * separator: "/",
113
113
  * text: googleChronicleRule["my-rule"].name,
114
114
  * }), std.split({
115
115
  * separator: "/",
116
116
  * text: googleChronicleRule["my-rule"].name,
117
- * }).then(invoke => invoke.result.length)]).then(([invoke, length]) => invoke.result[length - 1])).apply(x =>String(x)),
117
+ * }).then(invoke => invoke.result.length)]).then(([invoke, length]) => invoke.result[length - 1]),
118
118
  * enabled: true,
119
119
  * alerting: true,
120
120
  * archived: false,
@@ -54,7 +54,7 @@ import * as pulumi from "@pulumi/pulumi";
54
54
  * const default_endpoint = new gcp.compute.NetworkEndpoint("default-endpoint", {
55
55
  * networkEndpointGroup: neg.name,
56
56
  * instance: endpoint_instance.name,
57
- * port: Number(neg.defaultPort),
57
+ * port: neg.defaultPort,
58
58
  * ipAddress: endpoint_instance.networkInterfaces[0].networkIp,
59
59
  * });
60
60
  * const group = new gcp.compute.NetworkEndpointGroup("group", {
@@ -83,7 +83,7 @@ const utilities = __importStar(require("../utilities"));
83
83
  * const default_endpoint = new gcp.compute.NetworkEndpoint("default-endpoint", {
84
84
  * networkEndpointGroup: neg.name,
85
85
  * instance: endpoint_instance.name,
86
- * port: Number(neg.defaultPort),
86
+ * port: neg.defaultPort,
87
87
  * ipAddress: endpoint_instance.networkInterfaces[0].networkIp,
88
88
  * });
89
89
  * const group = new gcp.compute.NetworkEndpointGroup("group", {
@@ -74,12 +74,12 @@ import * as outputs from "../types/output";
74
74
  * networkEndpoints: [
75
75
  * {
76
76
  * instance: endpoint_instance1.name,
77
- * port: Number(neg.defaultPort),
77
+ * port: neg.defaultPort,
78
78
  * ipAddress: endpoint_instance1.networkInterfaces[0].networkIp,
79
79
  * },
80
80
  * {
81
81
  * instance: endpoint_instance2.name,
82
- * port: Number(neg.defaultPort),
82
+ * port: neg.defaultPort,
83
83
  * ipAddress: endpoint_instance2.networkInterfaces[0].networkIp,
84
84
  * },
85
85
  * ],
@@ -101,12 +101,12 @@ const utilities = __importStar(require("../utilities"));
101
101
  * networkEndpoints: [
102
102
  * {
103
103
  * instance: endpoint_instance1.name,
104
- * port: Number(neg.defaultPort),
104
+ * port: neg.defaultPort,
105
105
  * ipAddress: endpoint_instance1.networkInterfaces[0].networkIp,
106
106
  * },
107
107
  * {
108
108
  * instance: endpoint_instance2.name,
109
- * port: Number(neg.defaultPort),
109
+ * port: neg.defaultPort,
110
110
  * ipAddress: endpoint_instance2.networkInterfaces[0].networkIp,
111
111
  * },
112
112
  * ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/gcp",
3
- "version": "10.0.0-rc.1",
3
+ "version": "10.0.0",
4
4
  "description": "A Pulumi package for creating and managing Google Cloud Platform resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -26,6 +26,6 @@
26
26
  "pulumi": {
27
27
  "resource": true,
28
28
  "name": "gcp",
29
- "version": "10.0.0-rc.1"
29
+ "version": "10.0.0"
30
30
  }
31
31
  }