@pulumi/gcp 6.15.0 → 6.15.1

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.
Files changed (76) hide show
  1. package/billing/accountIamBinding.d.ts +105 -0
  2. package/billing/accountIamBinding.js +75 -0
  3. package/billing/accountIamBinding.js.map +1 -1
  4. package/billing/accountIamMember.d.ts +105 -0
  5. package/billing/accountIamMember.js +75 -0
  6. package/billing/accountIamMember.js.map +1 -1
  7. package/billing/accountIamPolicy.d.ts +99 -0
  8. package/billing/accountIamPolicy.js +75 -0
  9. package/billing/accountIamPolicy.js.map +1 -1
  10. package/cloudfunctions/functionIamBinding.d.ts +142 -0
  11. package/cloudfunctions/functionIamBinding.js +85 -0
  12. package/cloudfunctions/functionIamBinding.js.map +1 -1
  13. package/cloudfunctions/functionIamMember.d.ts +142 -0
  14. package/cloudfunctions/functionIamMember.js +85 -0
  15. package/cloudfunctions/functionIamMember.js.map +1 -1
  16. package/cloudfunctions/functionIamPolicy.d.ts +139 -0
  17. package/cloudfunctions/functionIamPolicy.js +85 -0
  18. package/cloudfunctions/functionIamPolicy.js.map +1 -1
  19. package/compute/backendServiceIamBinding.d.ts +79 -0
  20. package/compute/backendServiceIamBinding.js +25 -0
  21. package/compute/backendServiceIamBinding.js.map +1 -1
  22. package/compute/backendServiceIamMember.d.ts +79 -0
  23. package/compute/backendServiceIamMember.js +25 -0
  24. package/compute/backendServiceIamMember.js.map +1 -1
  25. package/compute/backendServiceIamPolicy.d.ts +64 -0
  26. package/compute/backendServiceIamPolicy.js +25 -0
  27. package/compute/backendServiceIamPolicy.js.map +1 -1
  28. package/compute/mangedSslCertificate.d.ts +157 -27
  29. package/compute/mangedSslCertificate.js +97 -0
  30. package/compute/mangedSslCertificate.js.map +1 -1
  31. package/compute/regionBackendServiceIamBinding.d.ts +100 -0
  32. package/compute/regionBackendServiceIamBinding.js +25 -0
  33. package/compute/regionBackendServiceIamBinding.js.map +1 -1
  34. package/compute/regionBackendServiceIamMember.d.ts +100 -0
  35. package/compute/regionBackendServiceIamMember.js +25 -0
  36. package/compute/regionBackendServiceIamMember.js.map +1 -1
  37. package/compute/regionBackendServiceIamPolicy.d.ts +85 -0
  38. package/compute/regionBackendServiceIamPolicy.js +25 -0
  39. package/compute/regionBackendServiceIamPolicy.js.map +1 -1
  40. package/datacatalog/tagTemplateIamBinding.d.ts +121 -0
  41. package/datacatalog/tagTemplateIamBinding.js +79 -0
  42. package/datacatalog/tagTemplateIamBinding.js.map +1 -1
  43. package/datacatalog/tagTemplateIamMember.d.ts +121 -0
  44. package/datacatalog/tagTemplateIamMember.js +79 -0
  45. package/datacatalog/tagTemplateIamMember.js.map +1 -1
  46. package/datacatalog/tagTemplateIamPolicy.d.ts +118 -0
  47. package/datacatalog/tagTemplateIamPolicy.js +79 -0
  48. package/datacatalog/tagTemplateIamPolicy.js.map +1 -1
  49. package/folder/iamAuditConfig.d.ts +200 -8
  50. package/folder/iamAuditConfig.js +183 -0
  51. package/folder/iamAuditConfig.js.map +1 -1
  52. package/folder/iammember.d.ts +225 -0
  53. package/folder/iammember.js +183 -0
  54. package/folder/iammember.js.map +1 -1
  55. package/folder/iampolicy.d.ts +213 -0
  56. package/folder/iampolicy.js +183 -0
  57. package/folder/iampolicy.js.map +1 -1
  58. package/kms/registry.d.ts +149 -18
  59. package/kms/registry.js +89 -0
  60. package/kms/registry.js.map +1 -1
  61. package/monitoring/getSecretVersion.d.ts +52 -0
  62. package/monitoring/getSecretVersion.js +14 -0
  63. package/monitoring/getSecretVersion.js.map +1 -1
  64. package/organizations/iammember.d.ts +228 -3
  65. package/organizations/iammember.js +186 -0
  66. package/organizations/iammember.js.map +1 -1
  67. package/organizations/iampolicy.d.ts +216 -3
  68. package/organizations/iampolicy.js +186 -0
  69. package/organizations/iampolicy.js.map +1 -1
  70. package/package.json +2 -2
  71. package/package.json.dev +2 -2
  72. package/sourcerepo/getRepository.d.ts +29 -0
  73. package/sourcerepo/getRepository.js +17 -0
  74. package/sourcerepo/getRepository.js.map +1 -1
  75. package/types/input.d.ts +77 -0
  76. package/types/output.d.ts +77 -0
package/kms/registry.d.ts CHANGED
@@ -1,6 +1,95 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { input as inputs, output as outputs } from "../types";
3
3
  /**
4
+ * A Google Cloud IoT Core device registry.
5
+ *
6
+ * To get more information about DeviceRegistry, see:
7
+ *
8
+ * * [API documentation](https://cloud.google.com/iot/docs/reference/cloudiot/rest/)
9
+ * * How-to Guides
10
+ * * [Official Documentation](https://cloud.google.com/iot/docs/)
11
+ *
12
+ * ## Example Usage
13
+ * ### Cloudiot Device Registry Basic
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as gcp from "@pulumi/gcp";
18
+ *
19
+ * const test_registry = new gcp.iot.Registry("test-registry", {});
20
+ * ```
21
+ * ### Cloudiot Device Registry Single Event Notification Configs
22
+ *
23
+ * ```typescript
24
+ * import * as pulumi from "@pulumi/pulumi";
25
+ * import * as gcp from "@pulumi/gcp";
26
+ *
27
+ * const default_telemetry = new gcp.pubsub.Topic("default-telemetry", {});
28
+ * const test_registry = new gcp.iot.Registry("test-registry", {eventNotificationConfigs: [{
29
+ * pubsubTopicName: default_telemetry.id,
30
+ * subfolderMatches: "",
31
+ * }]});
32
+ * ```
33
+ * ### Cloudiot Device Registry Full
34
+ *
35
+ * ```typescript
36
+ * import * as pulumi from "@pulumi/pulumi";
37
+ * import * as gcp from "@pulumi/gcp";
38
+ * import * from "fs";
39
+ *
40
+ * const default_devicestatus = new gcp.pubsub.Topic("default-devicestatus", {});
41
+ * const default_telemetry = new gcp.pubsub.Topic("default-telemetry", {});
42
+ * const additional_telemetry = new gcp.pubsub.Topic("additional-telemetry", {});
43
+ * const test_registry = new gcp.iot.Registry("test-registry", {
44
+ * eventNotificationConfigs: [
45
+ * {
46
+ * pubsubTopicName: additional_telemetry.id,
47
+ * subfolderMatches: "test/path",
48
+ * },
49
+ * {
50
+ * pubsubTopicName: default_telemetry.id,
51
+ * subfolderMatches: "",
52
+ * },
53
+ * ],
54
+ * stateNotificationConfig: {
55
+ * pubsub_topic_name: default_devicestatus.id,
56
+ * },
57
+ * mqttConfig: {
58
+ * mqtt_enabled_state: "MQTT_ENABLED",
59
+ * },
60
+ * httpConfig: {
61
+ * http_enabled_state: "HTTP_ENABLED",
62
+ * },
63
+ * logLevel: "INFO",
64
+ * credentials: [{
65
+ * publicKeyCertificate: {
66
+ * format: "X509_CERTIFICATE_PEM",
67
+ * certificate: fs.readFileSync("test-fixtures/rsa_cert.pem"),
68
+ * },
69
+ * }],
70
+ * });
71
+ * ```
72
+ *
73
+ * ## Import
74
+ *
75
+ * DeviceRegistry can be imported using any of these accepted formats
76
+ *
77
+ * ```sh
78
+ * $ pulumi import gcp:kms/registry:Registry default {{project}}/locations/{{region}}/registries/{{name}}
79
+ * ```
80
+ *
81
+ * ```sh
82
+ * $ pulumi import gcp:kms/registry:Registry default {{project}}/{{region}}/{{name}}
83
+ * ```
84
+ *
85
+ * ```sh
86
+ * $ pulumi import gcp:kms/registry:Registry default {{region}}/{{name}}
87
+ * ```
88
+ *
89
+ * ```sh
90
+ * $ pulumi import gcp:kms/registry:Registry default {{name}}
91
+ * ```
92
+ *
4
93
  * @deprecated gcp.kms.Registry has been deprecated in favor of gcp.iot.Registry
5
94
  */
6
95
  export declare class Registry extends pulumi.CustomResource {
@@ -21,27 +110,35 @@ export declare class Registry extends pulumi.CustomResource {
21
110
  static isInstance(obj: any): obj is Registry;
22
111
  /**
23
112
  * List of public key certificates to authenticate devices.
113
+ * The structure is documented below.
24
114
  */
25
115
  readonly credentials: pulumi.Output<outputs.kms.RegistryCredential[] | undefined>;
26
116
  /**
27
- * List of configurations for event notifications, such as PubSub topics to publish device events to.
117
+ * List of configurations for event notifications, such as PubSub topics
118
+ * to publish device events to.
119
+ * Structure is documented below.
28
120
  */
29
121
  readonly eventNotificationConfigs: pulumi.Output<outputs.kms.RegistryEventNotificationConfigItem[]>;
30
122
  /**
31
123
  * Activate or deactivate HTTP.
124
+ * The structure is documented below.
32
125
  */
33
126
  readonly httpConfig: pulumi.Output<{
34
127
  [key: string]: any;
35
128
  }>;
36
129
  /**
37
- * The default logging verbosity for activity from devices in this registry. Specifies which events should be written to
38
- * logs. For example, if the LogLevel is ERROR, only events that terminate in errors will be logged. LogLevel is inclusive;
39
- * enabling INFO logging will also enable ERROR logging. Default value: "NONE" Possible values: ["NONE", "ERROR", "INFO",
40
- * "DEBUG"]
130
+ * The default logging verbosity for activity from devices in this
131
+ * registry. Specifies which events should be written to logs. For
132
+ * example, if the LogLevel is ERROR, only events that terminate in
133
+ * errors will be logged. LogLevel is inclusive; enabling INFO logging
134
+ * will also enable ERROR logging.
135
+ * Default value is `NONE`.
136
+ * Possible values are `NONE`, `ERROR`, `INFO`, and `DEBUG`.
41
137
  */
42
138
  readonly logLevel: pulumi.Output<string | undefined>;
43
139
  /**
44
140
  * Activate or deactivate MQTT.
141
+ * The structure is documented below.
45
142
  */
46
143
  readonly mqttConfig: pulumi.Output<{
47
144
  [key: string]: any;
@@ -50,13 +147,19 @@ export declare class Registry extends pulumi.CustomResource {
50
147
  * A unique name for the resource, required by device registry.
51
148
  */
52
149
  readonly name: pulumi.Output<string>;
150
+ /**
151
+ * The ID of the project in which the resource belongs.
152
+ * If it is not provided, the provider project is used.
153
+ */
53
154
  readonly project: pulumi.Output<string>;
54
155
  /**
55
- * The region in which the created registry should reside. If it is not provided, the provider region is used.
156
+ * The region in which the created registry should reside.
157
+ * If it is not provided, the provider region is used.
56
158
  */
57
159
  readonly region: pulumi.Output<string>;
58
160
  /**
59
161
  * A PubSub topic to publish device state updates.
162
+ * The structure is documented below.
60
163
  */
61
164
  readonly stateNotificationConfig: pulumi.Output<{
62
165
  [key: string]: any;
@@ -77,27 +180,35 @@ export declare class Registry extends pulumi.CustomResource {
77
180
  export interface RegistryState {
78
181
  /**
79
182
  * List of public key certificates to authenticate devices.
183
+ * The structure is documented below.
80
184
  */
81
185
  credentials?: pulumi.Input<pulumi.Input<inputs.kms.RegistryCredential>[]>;
82
186
  /**
83
- * List of configurations for event notifications, such as PubSub topics to publish device events to.
187
+ * List of configurations for event notifications, such as PubSub topics
188
+ * to publish device events to.
189
+ * Structure is documented below.
84
190
  */
85
191
  eventNotificationConfigs?: pulumi.Input<pulumi.Input<inputs.kms.RegistryEventNotificationConfigItem>[]>;
86
192
  /**
87
193
  * Activate or deactivate HTTP.
194
+ * The structure is documented below.
88
195
  */
89
196
  httpConfig?: pulumi.Input<{
90
197
  [key: string]: any;
91
198
  }>;
92
199
  /**
93
- * The default logging verbosity for activity from devices in this registry. Specifies which events should be written to
94
- * logs. For example, if the LogLevel is ERROR, only events that terminate in errors will be logged. LogLevel is inclusive;
95
- * enabling INFO logging will also enable ERROR logging. Default value: "NONE" Possible values: ["NONE", "ERROR", "INFO",
96
- * "DEBUG"]
200
+ * The default logging verbosity for activity from devices in this
201
+ * registry. Specifies which events should be written to logs. For
202
+ * example, if the LogLevel is ERROR, only events that terminate in
203
+ * errors will be logged. LogLevel is inclusive; enabling INFO logging
204
+ * will also enable ERROR logging.
205
+ * Default value is `NONE`.
206
+ * Possible values are `NONE`, `ERROR`, `INFO`, and `DEBUG`.
97
207
  */
98
208
  logLevel?: pulumi.Input<string>;
99
209
  /**
100
210
  * Activate or deactivate MQTT.
211
+ * The structure is documented below.
101
212
  */
102
213
  mqttConfig?: pulumi.Input<{
103
214
  [key: string]: any;
@@ -106,13 +217,19 @@ export interface RegistryState {
106
217
  * A unique name for the resource, required by device registry.
107
218
  */
108
219
  name?: pulumi.Input<string>;
220
+ /**
221
+ * The ID of the project in which the resource belongs.
222
+ * If it is not provided, the provider project is used.
223
+ */
109
224
  project?: pulumi.Input<string>;
110
225
  /**
111
- * The region in which the created registry should reside. If it is not provided, the provider region is used.
226
+ * The region in which the created registry should reside.
227
+ * If it is not provided, the provider region is used.
112
228
  */
113
229
  region?: pulumi.Input<string>;
114
230
  /**
115
231
  * A PubSub topic to publish device state updates.
232
+ * The structure is documented below.
116
233
  */
117
234
  stateNotificationConfig?: pulumi.Input<{
118
235
  [key: string]: any;
@@ -124,27 +241,35 @@ export interface RegistryState {
124
241
  export interface RegistryArgs {
125
242
  /**
126
243
  * List of public key certificates to authenticate devices.
244
+ * The structure is documented below.
127
245
  */
128
246
  credentials?: pulumi.Input<pulumi.Input<inputs.kms.RegistryCredential>[]>;
129
247
  /**
130
- * List of configurations for event notifications, such as PubSub topics to publish device events to.
248
+ * List of configurations for event notifications, such as PubSub topics
249
+ * to publish device events to.
250
+ * Structure is documented below.
131
251
  */
132
252
  eventNotificationConfigs?: pulumi.Input<pulumi.Input<inputs.kms.RegistryEventNotificationConfigItem>[]>;
133
253
  /**
134
254
  * Activate or deactivate HTTP.
255
+ * The structure is documented below.
135
256
  */
136
257
  httpConfig?: pulumi.Input<{
137
258
  [key: string]: any;
138
259
  }>;
139
260
  /**
140
- * The default logging verbosity for activity from devices in this registry. Specifies which events should be written to
141
- * logs. For example, if the LogLevel is ERROR, only events that terminate in errors will be logged. LogLevel is inclusive;
142
- * enabling INFO logging will also enable ERROR logging. Default value: "NONE" Possible values: ["NONE", "ERROR", "INFO",
143
- * "DEBUG"]
261
+ * The default logging verbosity for activity from devices in this
262
+ * registry. Specifies which events should be written to logs. For
263
+ * example, if the LogLevel is ERROR, only events that terminate in
264
+ * errors will be logged. LogLevel is inclusive; enabling INFO logging
265
+ * will also enable ERROR logging.
266
+ * Default value is `NONE`.
267
+ * Possible values are `NONE`, `ERROR`, `INFO`, and `DEBUG`.
144
268
  */
145
269
  logLevel?: pulumi.Input<string>;
146
270
  /**
147
271
  * Activate or deactivate MQTT.
272
+ * The structure is documented below.
148
273
  */
149
274
  mqttConfig?: pulumi.Input<{
150
275
  [key: string]: any;
@@ -153,13 +278,19 @@ export interface RegistryArgs {
153
278
  * A unique name for the resource, required by device registry.
154
279
  */
155
280
  name?: pulumi.Input<string>;
281
+ /**
282
+ * The ID of the project in which the resource belongs.
283
+ * If it is not provided, the provider project is used.
284
+ */
156
285
  project?: pulumi.Input<string>;
157
286
  /**
158
- * The region in which the created registry should reside. If it is not provided, the provider region is used.
287
+ * The region in which the created registry should reside.
288
+ * If it is not provided, the provider region is used.
159
289
  */
160
290
  region?: pulumi.Input<string>;
161
291
  /**
162
292
  * A PubSub topic to publish device state updates.
293
+ * The structure is documented below.
163
294
  */
164
295
  stateNotificationConfig?: pulumi.Input<{
165
296
  [key: string]: any;
package/kms/registry.js CHANGED
@@ -6,6 +6,95 @@ exports.Registry = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
+ * A Google Cloud IoT Core device registry.
10
+ *
11
+ * To get more information about DeviceRegistry, see:
12
+ *
13
+ * * [API documentation](https://cloud.google.com/iot/docs/reference/cloudiot/rest/)
14
+ * * How-to Guides
15
+ * * [Official Documentation](https://cloud.google.com/iot/docs/)
16
+ *
17
+ * ## Example Usage
18
+ * ### Cloudiot Device Registry Basic
19
+ *
20
+ * ```typescript
21
+ * import * as pulumi from "@pulumi/pulumi";
22
+ * import * as gcp from "@pulumi/gcp";
23
+ *
24
+ * const test_registry = new gcp.iot.Registry("test-registry", {});
25
+ * ```
26
+ * ### Cloudiot Device Registry Single Event Notification Configs
27
+ *
28
+ * ```typescript
29
+ * import * as pulumi from "@pulumi/pulumi";
30
+ * import * as gcp from "@pulumi/gcp";
31
+ *
32
+ * const default_telemetry = new gcp.pubsub.Topic("default-telemetry", {});
33
+ * const test_registry = new gcp.iot.Registry("test-registry", {eventNotificationConfigs: [{
34
+ * pubsubTopicName: default_telemetry.id,
35
+ * subfolderMatches: "",
36
+ * }]});
37
+ * ```
38
+ * ### Cloudiot Device Registry Full
39
+ *
40
+ * ```typescript
41
+ * import * as pulumi from "@pulumi/pulumi";
42
+ * import * as gcp from "@pulumi/gcp";
43
+ * import * from "fs";
44
+ *
45
+ * const default_devicestatus = new gcp.pubsub.Topic("default-devicestatus", {});
46
+ * const default_telemetry = new gcp.pubsub.Topic("default-telemetry", {});
47
+ * const additional_telemetry = new gcp.pubsub.Topic("additional-telemetry", {});
48
+ * const test_registry = new gcp.iot.Registry("test-registry", {
49
+ * eventNotificationConfigs: [
50
+ * {
51
+ * pubsubTopicName: additional_telemetry.id,
52
+ * subfolderMatches: "test/path",
53
+ * },
54
+ * {
55
+ * pubsubTopicName: default_telemetry.id,
56
+ * subfolderMatches: "",
57
+ * },
58
+ * ],
59
+ * stateNotificationConfig: {
60
+ * pubsub_topic_name: default_devicestatus.id,
61
+ * },
62
+ * mqttConfig: {
63
+ * mqtt_enabled_state: "MQTT_ENABLED",
64
+ * },
65
+ * httpConfig: {
66
+ * http_enabled_state: "HTTP_ENABLED",
67
+ * },
68
+ * logLevel: "INFO",
69
+ * credentials: [{
70
+ * publicKeyCertificate: {
71
+ * format: "X509_CERTIFICATE_PEM",
72
+ * certificate: fs.readFileSync("test-fixtures/rsa_cert.pem"),
73
+ * },
74
+ * }],
75
+ * });
76
+ * ```
77
+ *
78
+ * ## Import
79
+ *
80
+ * DeviceRegistry can be imported using any of these accepted formats
81
+ *
82
+ * ```sh
83
+ * $ pulumi import gcp:kms/registry:Registry default {{project}}/locations/{{region}}/registries/{{name}}
84
+ * ```
85
+ *
86
+ * ```sh
87
+ * $ pulumi import gcp:kms/registry:Registry default {{project}}/{{region}}/{{name}}
88
+ * ```
89
+ *
90
+ * ```sh
91
+ * $ pulumi import gcp:kms/registry:Registry default {{region}}/{{name}}
92
+ * ```
93
+ *
94
+ * ```sh
95
+ * $ pulumi import gcp:kms/registry:Registry default {{name}}
96
+ * ```
97
+ *
9
98
  * @deprecated gcp.kms.Registry has been deprecated in favor of gcp.iot.Registry
10
99
  */
11
100
  class Registry extends pulumi.CustomResource {
@@ -1 +1 @@
1
- {"version":3,"file":"registry.js","sourceRoot":"","sources":["../../kms/registry.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC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AAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA3BL,4BAwHC;AAzGG,gBAAgB;AACO,qBAAY,GAAG,2BAA2B,CAAC"}
@@ -1,28 +1,69 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Get a Secret Manager secret's version. For more information see the [official documentation](https://cloud.google.com/secret-manager/docs/) and [API](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets.versions).
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as gcp from "@pulumi/gcp";
10
+ *
11
+ * const basic = pulumi.output(gcp.secretmanager.getSecretVersion({
12
+ * secret: "my-secret",
13
+ * }));
14
+ * ```
15
+ */
2
16
  /** @deprecated gcp.monitoring.getSecretVersion has been deprecated in favor of gcp.secretmanager.getSecretVersion */
3
17
  export declare function getSecretVersion(args: GetSecretVersionArgs, opts?: pulumi.InvokeOptions): Promise<GetSecretVersionResult>;
4
18
  /**
5
19
  * A collection of arguments for invoking getSecretVersion.
6
20
  */
7
21
  export interface GetSecretVersionArgs {
22
+ /**
23
+ * The project to get the secret version for. If it
24
+ * is not provided, the provider project is used.
25
+ */
8
26
  project?: string;
27
+ /**
28
+ * The secret to get the secret version for.
29
+ */
9
30
  secret: string;
31
+ /**
32
+ * The version of the secret to get. If it
33
+ * is not provided, the latest version is retrieved.
34
+ */
10
35
  version?: string;
11
36
  }
12
37
  /**
13
38
  * A collection of values returned by getSecretVersion.
14
39
  */
15
40
  export interface GetSecretVersionResult {
41
+ /**
42
+ * The time at which the Secret was created.
43
+ */
16
44
  readonly createTime: string;
45
+ /**
46
+ * The time at which the Secret was destroyed. Only present if state is DESTROYED.
47
+ */
17
48
  readonly destroyTime: string;
49
+ /**
50
+ * True if the current state of the SecretVersion is enabled.
51
+ */
18
52
  readonly enabled: boolean;
19
53
  /**
20
54
  * The provider-assigned unique ID for this managed resource.
21
55
  */
22
56
  readonly id: string;
57
+ /**
58
+ * The resource name of the SecretVersion. Format:
59
+ * `projects/{{project}}/secrets/{{secret_id}}/versions/{{version}}`
60
+ */
23
61
  readonly name: string;
24
62
  readonly project: string;
25
63
  readonly secret: string;
64
+ /**
65
+ * The secret data. No larger than 64KiB.
66
+ */
26
67
  readonly secretData: string;
27
68
  readonly version: string;
28
69
  }
@@ -31,7 +72,18 @@ export declare function getSecretVersionOutput(args: GetSecretVersionOutputArgs,
31
72
  * A collection of arguments for invoking getSecretVersion.
32
73
  */
33
74
  export interface GetSecretVersionOutputArgs {
75
+ /**
76
+ * The project to get the secret version for. If it
77
+ * is not provided, the provider project is used.
78
+ */
34
79
  project?: pulumi.Input<string>;
80
+ /**
81
+ * The secret to get the secret version for.
82
+ */
35
83
  secret: pulumi.Input<string>;
84
+ /**
85
+ * The version of the secret to get. If it
86
+ * is not provided, the latest version is retrieved.
87
+ */
36
88
  version?: pulumi.Input<string>;
37
89
  }
@@ -5,6 +5,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getSecretVersionOutput = exports.getSecretVersion = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
+ /**
9
+ * Get a Secret Manager secret's version. For more information see the [official documentation](https://cloud.google.com/secret-manager/docs/) and [API](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets.versions).
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as gcp from "@pulumi/gcp";
16
+ *
17
+ * const basic = pulumi.output(gcp.secretmanager.getSecretVersion({
18
+ * secret: "my-secret",
19
+ * }));
20
+ * ```
21
+ */
8
22
  /** @deprecated gcp.monitoring.getSecretVersion has been deprecated in favor of gcp.secretmanager.getSecretVersion */
9
23
  function getSecretVersion(args, opts) {
10
24
  pulumi.log.warn("getSecretVersion is deprecated: gcp.monitoring.getSecretVersion has been deprecated in favor of gcp.secretmanager.getSecretVersion");
@@ -1 +1 @@
1
- {"version":3,"file":"getSecretVersion.js","sourceRoot":"","sources":["../../monitoring/getSecretVersion.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,qHAAqH;AACrH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,oIAAoI,CAAC,CAAA;IACrJ,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,4CAYC;AA6BD,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,wDAEC"}
1
+ {"version":3,"file":"getSecretVersion.js","sourceRoot":"","sources":["../../monitoring/getSecretVersion.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0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