@pulumi/gcp 6.7.0 → 6.8.0-alpha.1643027274
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/certificateauthority/authority.d.ts +1 -2
- package/certificateauthority/authority.js +1 -2
- package/certificateauthority/authority.js.map +1 -1
- package/certificateauthority/certificate.d.ts +0 -2
- package/certificateauthority/certificate.js +0 -2
- package/certificateauthority/certificate.js.map +1 -1
- package/compute/backendService.d.ts +48 -36
- package/compute/backendService.js +18 -0
- package/compute/backendService.js.map +1 -1
- package/compute/regionBackendService.d.ts +27 -33
- package/compute/regionBackendService.js.map +1 -1
- package/endpoints/serviceIamBinding.d.ts +4 -13
- package/endpoints/serviceIamBinding.js +4 -4
- package/endpoints/serviceIamBinding.js.map +1 -1
- package/endpoints/serviceIamMember.d.ts +4 -13
- package/endpoints/serviceIamMember.js +4 -4
- package/endpoints/serviceIamMember.js.map +1 -1
- package/endpoints/serviceIamPolicy.d.ts +4 -13
- package/endpoints/serviceIamPolicy.js +4 -4
- package/endpoints/serviceIamPolicy.js.map +1 -1
- package/monitoring/alertPolicy.d.ts +15 -0
- package/monitoring/alertPolicy.js +2 -0
- package/monitoring/alertPolicy.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/types/input.d.ts +44 -24
- package/types/output.d.ts +44 -24
|
@@ -86,9 +86,8 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
86
86
|
* x509Config: {
|
|
87
87
|
* caOptions: {
|
|
88
88
|
* isCa: true,
|
|
89
|
-
* maxIssuerPathLength: 0,
|
|
90
89
|
* // Force the sub CA to only issue leaf certs
|
|
91
|
-
*
|
|
90
|
+
* maxIssuerPathLength: 0,
|
|
92
91
|
* },
|
|
93
92
|
* keyUsage: {
|
|
94
93
|
* baseKeyUsage: {
|
|
@@ -91,9 +91,8 @@ const utilities = require("../utilities");
|
|
|
91
91
|
* x509Config: {
|
|
92
92
|
* caOptions: {
|
|
93
93
|
* isCa: true,
|
|
94
|
-
* maxIssuerPathLength: 0,
|
|
95
94
|
* // Force the sub CA to only issue leaf certs
|
|
96
|
-
*
|
|
95
|
+
* maxIssuerPathLength: 0,
|
|
97
96
|
* },
|
|
98
97
|
* keyUsage: {
|
|
99
98
|
* baseKeyUsage: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authority.js","sourceRoot":"","sources":["../../certificateauthority/authority.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"authority.js","sourceRoot":"","sources":["../../certificateauthority/authority.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+LG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAiIhD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,MAAM,CAAC,wBAAwB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,MAAM,CAAC,QAAQ,CAAC,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
|
|
75
|
-
* nonCa: true,
|
|
76
75
|
* isCa: false,
|
|
77
76
|
* },
|
|
78
77
|
* keyUsage: {
|
|
@@ -323,7 +322,6 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
323
322
|
* },
|
|
324
323
|
* x509Config: {
|
|
325
324
|
* caOptions: {
|
|
326
|
-
* nonCa: true,
|
|
327
325
|
* isCa: false,
|
|
328
326
|
* },
|
|
329
327
|
* keyUsage: {
|
|
@@ -77,7 +77,6 @@ const utilities = require("../utilities");
|
|
|
77
77
|
* },
|
|
78
78
|
* x509Config: {
|
|
79
79
|
* caOptions: {
|
|
80
|
-
* nonCa: true,
|
|
81
80
|
* isCa: false,
|
|
82
81
|
* },
|
|
83
82
|
* keyUsage: {
|
|
@@ -328,7 +327,6 @@ const utilities = require("../utilities");
|
|
|
328
327
|
* },
|
|
329
328
|
* x509Config: {
|
|
330
329
|
* caOptions: {
|
|
331
|
-
* nonCa: true,
|
|
332
330
|
* isCa: false,
|
|
333
331
|
* },
|
|
334
332
|
* keyUsage: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"certificate.js","sourceRoot":"","sources":["../../certificateauthority/certificate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"certificate.js","sourceRoot":"","sources":["../../certificateauthority/certificate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,MAAM,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzC,MAAM,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,MAAM,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,MAAM,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,MAAM,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC5C;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;IAjKD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCAmKC;AArJG,gBAAgB;AACO,wBAAY,GAAG,kDAAkD,CAAC"}
|
|
@@ -157,6 +157,24 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
157
157
|
* provider: google_beta,
|
|
158
158
|
* });
|
|
159
159
|
* ```
|
|
160
|
+
* ### Backend Service External Managed
|
|
161
|
+
*
|
|
162
|
+
* ```typescript
|
|
163
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
164
|
+
* import * as gcp from "@pulumi/gcp";
|
|
165
|
+
*
|
|
166
|
+
* const defaultHealthCheck = new gcp.compute.HealthCheck("defaultHealthCheck", {httpHealthCheck: {
|
|
167
|
+
* port: 80,
|
|
168
|
+
* }}, {
|
|
169
|
+
* provider: google_beta,
|
|
170
|
+
* });
|
|
171
|
+
* const defaultBackendService = new gcp.compute.BackendService("defaultBackendService", {
|
|
172
|
+
* healthChecks: [defaultHealthCheck.id],
|
|
173
|
+
* loadBalancingScheme: "EXTERNAL_MANAGED",
|
|
174
|
+
* }, {
|
|
175
|
+
* provider: google_beta,
|
|
176
|
+
* });
|
|
177
|
+
* ```
|
|
160
178
|
*
|
|
161
179
|
* ## Import
|
|
162
180
|
*
|
|
@@ -275,35 +293,33 @@ export declare class BackendService extends pulumi.CustomResource {
|
|
|
275
293
|
/**
|
|
276
294
|
* Indicates whether the backend service will be used with internal or
|
|
277
295
|
* external load balancing. A backend service created for one type of
|
|
278
|
-
* load balancing cannot be used with the other.
|
|
296
|
+
* load balancing cannot be used with the other. For more information, refer to
|
|
297
|
+
* [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service).
|
|
279
298
|
* Default value is `EXTERNAL`.
|
|
280
|
-
* Possible values are `EXTERNAL` and `
|
|
299
|
+
* Possible values are `EXTERNAL`, `INTERNAL_SELF_MANAGED`, and `EXTERNAL_MANAGED`.
|
|
281
300
|
*/
|
|
282
301
|
readonly loadBalancingScheme: pulumi.Output<string | undefined>;
|
|
283
302
|
/**
|
|
284
303
|
* The load balancing algorithm used within the scope of the locality.
|
|
285
|
-
* The possible values are
|
|
286
|
-
* * ROUND_ROBIN
|
|
304
|
+
* The possible values are:
|
|
305
|
+
* * `ROUND_ROBIN`: This is a simple policy in which each healthy backend
|
|
287
306
|
* is selected in round robin order.
|
|
288
|
-
* * LEAST_REQUEST
|
|
307
|
+
* * `LEAST_REQUEST`: An O(1) algorithm which selects two random healthy
|
|
289
308
|
* hosts and picks the host which has fewer active requests.
|
|
290
|
-
* * RING_HASH
|
|
309
|
+
* * `RING_HASH`: The ring/modulo hash load balancer implements consistent
|
|
291
310
|
* hashing to backends. The algorithm has the property that the
|
|
292
311
|
* addition/removal of a host from a set of N hosts only affects
|
|
293
312
|
* 1/N of the requests.
|
|
294
|
-
* * RANDOM
|
|
295
|
-
* * ORIGINAL_DESTINATION
|
|
313
|
+
* * `RANDOM`: The load balancer selects a random healthy host.
|
|
314
|
+
* * `ORIGINAL_DESTINATION`: Backend host is selected based on the client
|
|
296
315
|
* connection metadata, i.e., connections are opened
|
|
297
316
|
* to the same address as the destination address of
|
|
298
317
|
* the incoming connection before the connection
|
|
299
318
|
* was redirected to the load balancer.
|
|
300
|
-
* * MAGLEV
|
|
319
|
+
* * `MAGLEV`: used as a drop in replacement for the ring hash load balancer.
|
|
301
320
|
* Maglev is not as stable as ring hash but has faster table lookup
|
|
302
321
|
* build times and host selection times. For more information about
|
|
303
322
|
* Maglev, refer to https://ai.google/research/pubs/pub44824
|
|
304
|
-
* This field is applicable only when the loadBalancingScheme is set to
|
|
305
|
-
* INTERNAL_SELF_MANAGED.
|
|
306
|
-
* Possible values are `ROUND_ROBIN`, `LEAST_REQUEST`, `RING_HASH`, `RANDOM`, `ORIGINAL_DESTINATION`, and `MAGLEV`.
|
|
307
323
|
*/
|
|
308
324
|
readonly localityLbPolicy: pulumi.Output<string | undefined>;
|
|
309
325
|
/**
|
|
@@ -466,35 +482,33 @@ export interface BackendServiceState {
|
|
|
466
482
|
/**
|
|
467
483
|
* Indicates whether the backend service will be used with internal or
|
|
468
484
|
* external load balancing. A backend service created for one type of
|
|
469
|
-
* load balancing cannot be used with the other.
|
|
485
|
+
* load balancing cannot be used with the other. For more information, refer to
|
|
486
|
+
* [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service).
|
|
470
487
|
* Default value is `EXTERNAL`.
|
|
471
|
-
* Possible values are `EXTERNAL` and `
|
|
488
|
+
* Possible values are `EXTERNAL`, `INTERNAL_SELF_MANAGED`, and `EXTERNAL_MANAGED`.
|
|
472
489
|
*/
|
|
473
490
|
loadBalancingScheme?: pulumi.Input<string>;
|
|
474
491
|
/**
|
|
475
492
|
* The load balancing algorithm used within the scope of the locality.
|
|
476
|
-
* The possible values are
|
|
477
|
-
* * ROUND_ROBIN
|
|
493
|
+
* The possible values are:
|
|
494
|
+
* * `ROUND_ROBIN`: This is a simple policy in which each healthy backend
|
|
478
495
|
* is selected in round robin order.
|
|
479
|
-
* * LEAST_REQUEST
|
|
496
|
+
* * `LEAST_REQUEST`: An O(1) algorithm which selects two random healthy
|
|
480
497
|
* hosts and picks the host which has fewer active requests.
|
|
481
|
-
* * RING_HASH
|
|
498
|
+
* * `RING_HASH`: The ring/modulo hash load balancer implements consistent
|
|
482
499
|
* hashing to backends. The algorithm has the property that the
|
|
483
500
|
* addition/removal of a host from a set of N hosts only affects
|
|
484
501
|
* 1/N of the requests.
|
|
485
|
-
* * RANDOM
|
|
486
|
-
* * ORIGINAL_DESTINATION
|
|
502
|
+
* * `RANDOM`: The load balancer selects a random healthy host.
|
|
503
|
+
* * `ORIGINAL_DESTINATION`: Backend host is selected based on the client
|
|
487
504
|
* connection metadata, i.e., connections are opened
|
|
488
505
|
* to the same address as the destination address of
|
|
489
506
|
* the incoming connection before the connection
|
|
490
507
|
* was redirected to the load balancer.
|
|
491
|
-
* * MAGLEV
|
|
508
|
+
* * `MAGLEV`: used as a drop in replacement for the ring hash load balancer.
|
|
492
509
|
* Maglev is not as stable as ring hash but has faster table lookup
|
|
493
510
|
* build times and host selection times. For more information about
|
|
494
511
|
* Maglev, refer to https://ai.google/research/pubs/pub44824
|
|
495
|
-
* This field is applicable only when the loadBalancingScheme is set to
|
|
496
|
-
* INTERNAL_SELF_MANAGED.
|
|
497
|
-
* Possible values are `ROUND_ROBIN`, `LEAST_REQUEST`, `RING_HASH`, `RANDOM`, `ORIGINAL_DESTINATION`, and `MAGLEV`.
|
|
498
512
|
*/
|
|
499
513
|
localityLbPolicy?: pulumi.Input<string>;
|
|
500
514
|
/**
|
|
@@ -641,35 +655,33 @@ export interface BackendServiceArgs {
|
|
|
641
655
|
/**
|
|
642
656
|
* Indicates whether the backend service will be used with internal or
|
|
643
657
|
* external load balancing. A backend service created for one type of
|
|
644
|
-
* load balancing cannot be used with the other.
|
|
658
|
+
* load balancing cannot be used with the other. For more information, refer to
|
|
659
|
+
* [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service).
|
|
645
660
|
* Default value is `EXTERNAL`.
|
|
646
|
-
* Possible values are `EXTERNAL` and `
|
|
661
|
+
* Possible values are `EXTERNAL`, `INTERNAL_SELF_MANAGED`, and `EXTERNAL_MANAGED`.
|
|
647
662
|
*/
|
|
648
663
|
loadBalancingScheme?: pulumi.Input<string>;
|
|
649
664
|
/**
|
|
650
665
|
* The load balancing algorithm used within the scope of the locality.
|
|
651
|
-
* The possible values are
|
|
652
|
-
* * ROUND_ROBIN
|
|
666
|
+
* The possible values are:
|
|
667
|
+
* * `ROUND_ROBIN`: This is a simple policy in which each healthy backend
|
|
653
668
|
* is selected in round robin order.
|
|
654
|
-
* * LEAST_REQUEST
|
|
669
|
+
* * `LEAST_REQUEST`: An O(1) algorithm which selects two random healthy
|
|
655
670
|
* hosts and picks the host which has fewer active requests.
|
|
656
|
-
* * RING_HASH
|
|
671
|
+
* * `RING_HASH`: The ring/modulo hash load balancer implements consistent
|
|
657
672
|
* hashing to backends. The algorithm has the property that the
|
|
658
673
|
* addition/removal of a host from a set of N hosts only affects
|
|
659
674
|
* 1/N of the requests.
|
|
660
|
-
* * RANDOM
|
|
661
|
-
* * ORIGINAL_DESTINATION
|
|
675
|
+
* * `RANDOM`: The load balancer selects a random healthy host.
|
|
676
|
+
* * `ORIGINAL_DESTINATION`: Backend host is selected based on the client
|
|
662
677
|
* connection metadata, i.e., connections are opened
|
|
663
678
|
* to the same address as the destination address of
|
|
664
679
|
* the incoming connection before the connection
|
|
665
680
|
* was redirected to the load balancer.
|
|
666
|
-
* * MAGLEV
|
|
681
|
+
* * `MAGLEV`: used as a drop in replacement for the ring hash load balancer.
|
|
667
682
|
* Maglev is not as stable as ring hash but has faster table lookup
|
|
668
683
|
* build times and host selection times. For more information about
|
|
669
684
|
* Maglev, refer to https://ai.google/research/pubs/pub44824
|
|
670
|
-
* This field is applicable only when the loadBalancingScheme is set to
|
|
671
|
-
* INTERNAL_SELF_MANAGED.
|
|
672
|
-
* Possible values are `ROUND_ROBIN`, `LEAST_REQUEST`, `RING_HASH`, `RANDOM`, `ORIGINAL_DESTINATION`, and `MAGLEV`.
|
|
673
685
|
*/
|
|
674
686
|
localityLbPolicy?: pulumi.Input<string>;
|
|
675
687
|
/**
|
|
@@ -162,6 +162,24 @@ const utilities = require("../utilities");
|
|
|
162
162
|
* provider: google_beta,
|
|
163
163
|
* });
|
|
164
164
|
* ```
|
|
165
|
+
* ### Backend Service External Managed
|
|
166
|
+
*
|
|
167
|
+
* ```typescript
|
|
168
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
169
|
+
* import * as gcp from "@pulumi/gcp";
|
|
170
|
+
*
|
|
171
|
+
* const defaultHealthCheck = new gcp.compute.HealthCheck("defaultHealthCheck", {httpHealthCheck: {
|
|
172
|
+
* port: 80,
|
|
173
|
+
* }}, {
|
|
174
|
+
* provider: google_beta,
|
|
175
|
+
* });
|
|
176
|
+
* const defaultBackendService = new gcp.compute.BackendService("defaultBackendService", {
|
|
177
|
+
* healthChecks: [defaultHealthCheck.id],
|
|
178
|
+
* loadBalancingScheme: "EXTERNAL_MANAGED",
|
|
179
|
+
* }, {
|
|
180
|
+
* provider: google_beta,
|
|
181
|
+
* });
|
|
182
|
+
* ```
|
|
165
183
|
*
|
|
166
184
|
* ## Import
|
|
167
185
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backendService.js","sourceRoot":"","sources":["../../compute/backendService.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extends pulumi.CustomResource {
|
|
|
347
347
|
/**
|
|
348
348
|
* Indicates what kind of load balancing this regional backend service
|
|
349
349
|
* will be used for. A backend service created for one type of load
|
|
350
|
-
* balancing cannot be used with the other(s).
|
|
350
|
+
* balancing cannot be used with the other(s). For more information, refer to
|
|
351
|
+
* [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service).
|
|
351
352
|
* Default value is `INTERNAL`.
|
|
352
353
|
* Possible values are `EXTERNAL`, `EXTERNAL_MANAGED`, `INTERNAL`, and `INTERNAL_MANAGED`.
|
|
353
354
|
*/
|
|
354
355
|
readonly loadBalancingScheme: pulumi.Output<string | undefined>;
|
|
355
356
|
/**
|
|
356
357
|
* The load balancing algorithm used within the scope of the locality.
|
|
357
|
-
* The possible values are
|
|
358
|
-
* * ROUND_ROBIN
|
|
358
|
+
* The possible values are:
|
|
359
|
+
* * `ROUND_ROBIN`: This is a simple policy in which each healthy backend
|
|
359
360
|
* is selected in round robin order.
|
|
360
|
-
* * LEAST_REQUEST
|
|
361
|
+
* * `LEAST_REQUEST`: An O(1) algorithm which selects two random healthy
|
|
361
362
|
* hosts and picks the host which has fewer active requests.
|
|
362
|
-
* * RING_HASH
|
|
363
|
+
* * `RING_HASH`: The ring/modulo hash load balancer implements consistent
|
|
363
364
|
* hashing to backends. The algorithm has the property that the
|
|
364
365
|
* addition/removal of a host from a set of N hosts only affects
|
|
365
366
|
* 1/N of the requests.
|
|
366
|
-
* * RANDOM
|
|
367
|
-
* * ORIGINAL_DESTINATION
|
|
367
|
+
* * `RANDOM`: The load balancer selects a random healthy host.
|
|
368
|
+
* * `ORIGINAL_DESTINATION`: Backend host is selected based on the client
|
|
368
369
|
* connection metadata, i.e., connections are opened
|
|
369
370
|
* to the same address as the destination address of
|
|
370
371
|
* the incoming connection before the connection
|
|
371
372
|
* was redirected to the load balancer.
|
|
372
|
-
* * MAGLEV
|
|
373
|
+
* * `MAGLEV`: used as a drop in replacement for the ring hash load balancer.
|
|
373
374
|
* Maglev is not as stable as ring hash but has faster table lookup
|
|
374
375
|
* build times and host selection times. For more information about
|
|
375
376
|
* Maglev, refer to https://ai.google/research/pubs/pub44824
|
|
376
|
-
* This field is applicable only when the `loadBalancingScheme` is set to
|
|
377
|
-
* INTERNAL_MANAGED and the `protocol` is set to HTTP, HTTPS, or HTTP2.
|
|
378
|
-
* Possible values are `ROUND_ROBIN`, `LEAST_REQUEST`, `RING_HASH`, `RANDOM`, `ORIGINAL_DESTINATION`, and `MAGLEV`.
|
|
379
377
|
*/
|
|
380
378
|
readonly localityLbPolicy: pulumi.Output<string | undefined>;
|
|
381
379
|
/**
|
|
@@ -533,35 +531,33 @@ export interface RegionBackendServiceState {
|
|
|
533
531
|
/**
|
|
534
532
|
* Indicates what kind of load balancing this regional backend service
|
|
535
533
|
* will be used for. A backend service created for one type of load
|
|
536
|
-
* balancing cannot be used with the other(s).
|
|
534
|
+
* balancing cannot be used with the other(s). For more information, refer to
|
|
535
|
+
* [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service).
|
|
537
536
|
* Default value is `INTERNAL`.
|
|
538
537
|
* Possible values are `EXTERNAL`, `EXTERNAL_MANAGED`, `INTERNAL`, and `INTERNAL_MANAGED`.
|
|
539
538
|
*/
|
|
540
539
|
loadBalancingScheme?: pulumi.Input<string>;
|
|
541
540
|
/**
|
|
542
541
|
* The load balancing algorithm used within the scope of the locality.
|
|
543
|
-
* The possible values are
|
|
544
|
-
* * ROUND_ROBIN
|
|
542
|
+
* The possible values are:
|
|
543
|
+
* * `ROUND_ROBIN`: This is a simple policy in which each healthy backend
|
|
545
544
|
* is selected in round robin order.
|
|
546
|
-
* * LEAST_REQUEST
|
|
545
|
+
* * `LEAST_REQUEST`: An O(1) algorithm which selects two random healthy
|
|
547
546
|
* hosts and picks the host which has fewer active requests.
|
|
548
|
-
* * RING_HASH
|
|
547
|
+
* * `RING_HASH`: The ring/modulo hash load balancer implements consistent
|
|
549
548
|
* hashing to backends. The algorithm has the property that the
|
|
550
549
|
* addition/removal of a host from a set of N hosts only affects
|
|
551
550
|
* 1/N of the requests.
|
|
552
|
-
* * RANDOM
|
|
553
|
-
* * ORIGINAL_DESTINATION
|
|
551
|
+
* * `RANDOM`: The load balancer selects a random healthy host.
|
|
552
|
+
* * `ORIGINAL_DESTINATION`: Backend host is selected based on the client
|
|
554
553
|
* connection metadata, i.e., connections are opened
|
|
555
554
|
* to the same address as the destination address of
|
|
556
555
|
* the incoming connection before the connection
|
|
557
556
|
* was redirected to the load balancer.
|
|
558
|
-
* * MAGLEV
|
|
557
|
+
* * `MAGLEV`: used as a drop in replacement for the ring hash load balancer.
|
|
559
558
|
* Maglev is not as stable as ring hash but has faster table lookup
|
|
560
559
|
* build times and host selection times. For more information about
|
|
561
560
|
* Maglev, refer to https://ai.google/research/pubs/pub44824
|
|
562
|
-
* This field is applicable only when the `loadBalancingScheme` is set to
|
|
563
|
-
* INTERNAL_MANAGED and the `protocol` is set to HTTP, HTTPS, or HTTP2.
|
|
564
|
-
* Possible values are `ROUND_ROBIN`, `LEAST_REQUEST`, `RING_HASH`, `RANDOM`, `ORIGINAL_DESTINATION`, and `MAGLEV`.
|
|
565
561
|
*/
|
|
566
562
|
localityLbPolicy?: pulumi.Input<string>;
|
|
567
563
|
/**
|
|
@@ -703,35 +699,33 @@ export interface RegionBackendServiceArgs {
|
|
|
703
699
|
/**
|
|
704
700
|
* Indicates what kind of load balancing this regional backend service
|
|
705
701
|
* will be used for. A backend service created for one type of load
|
|
706
|
-
* balancing cannot be used with the other(s).
|
|
702
|
+
* balancing cannot be used with the other(s). For more information, refer to
|
|
703
|
+
* [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service).
|
|
707
704
|
* Default value is `INTERNAL`.
|
|
708
705
|
* Possible values are `EXTERNAL`, `EXTERNAL_MANAGED`, `INTERNAL`, and `INTERNAL_MANAGED`.
|
|
709
706
|
*/
|
|
710
707
|
loadBalancingScheme?: pulumi.Input<string>;
|
|
711
708
|
/**
|
|
712
709
|
* The load balancing algorithm used within the scope of the locality.
|
|
713
|
-
* The possible values are
|
|
714
|
-
* * ROUND_ROBIN
|
|
710
|
+
* The possible values are:
|
|
711
|
+
* * `ROUND_ROBIN`: This is a simple policy in which each healthy backend
|
|
715
712
|
* is selected in round robin order.
|
|
716
|
-
* * LEAST_REQUEST
|
|
713
|
+
* * `LEAST_REQUEST`: An O(1) algorithm which selects two random healthy
|
|
717
714
|
* hosts and picks the host which has fewer active requests.
|
|
718
|
-
* * RING_HASH
|
|
715
|
+
* * `RING_HASH`: The ring/modulo hash load balancer implements consistent
|
|
719
716
|
* hashing to backends. The algorithm has the property that the
|
|
720
717
|
* addition/removal of a host from a set of N hosts only affects
|
|
721
718
|
* 1/N of the requests.
|
|
722
|
-
* * RANDOM
|
|
723
|
-
* * ORIGINAL_DESTINATION
|
|
719
|
+
* * `RANDOM`: The load balancer selects a random healthy host.
|
|
720
|
+
* * `ORIGINAL_DESTINATION`: Backend host is selected based on the client
|
|
724
721
|
* connection metadata, i.e., connections are opened
|
|
725
722
|
* to the same address as the destination address of
|
|
726
723
|
* the incoming connection before the connection
|
|
727
724
|
* was redirected to the load balancer.
|
|
728
|
-
* * MAGLEV
|
|
725
|
+
* * `MAGLEV`: used as a drop in replacement for the ring hash load balancer.
|
|
729
726
|
* Maglev is not as stable as ring hash but has faster table lookup
|
|
730
727
|
* build times and host selection times. For more information about
|
|
731
728
|
* Maglev, refer to https://ai.google/research/pubs/pub44824
|
|
732
|
-
* This field is applicable only when the `loadBalancingScheme` is set to
|
|
733
|
-
* INTERNAL_MANAGED and the `protocol` is set to HTTP, HTTPS, or HTTP2.
|
|
734
|
-
* Possible values are `ROUND_ROBIN`, `LEAST_REQUEST`, `RING_HASH`, `RANDOM`, `ORIGINAL_DESTINATION`, and `MAGLEV`.
|
|
735
729
|
*/
|
|
736
730
|
localityLbPolicy?: pulumi.Input<string>;
|
|
737
731
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"regionBackendService.js","sourceRoot":"","sources":["../../compute/regionBackendService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4PG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"regionBackendService.js","sourceRoot":"","sources":["../../compute/regionBackendService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4PG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAgN3D,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoD,CAAC;YACnE,MAAM,CAAC,sBAAsB,CAAC,GAAG,KAAK,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GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;;AA1BL,oDAiRC;AAnQG,gBAAgB;AACO,iCAAY,GAAG,uDAAuD,CAAC"}
|
|
@@ -57,22 +57,22 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
57
57
|
*
|
|
58
58
|
* ## Import
|
|
59
59
|
*
|
|
60
|
-
* For all import syntaxes, the "resource in question" can take any of the following forms* services/{{
|
|
60
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms* services/{{service_name}} * {{service_name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Endpoints service IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
|
|
61
61
|
*
|
|
62
62
|
* ```sh
|
|
63
|
-
* $ pulumi import gcp:endpoints/serviceIamBinding:ServiceIamBinding editor "services/{{
|
|
63
|
+
* $ pulumi import gcp:endpoints/serviceIamBinding:ServiceIamBinding editor "services/{{service_name}} roles/viewer user:jane@example.com"
|
|
64
64
|
* ```
|
|
65
65
|
*
|
|
66
66
|
* IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
|
67
67
|
*
|
|
68
68
|
* ```sh
|
|
69
|
-
* $ pulumi import gcp:endpoints/serviceIamBinding:ServiceIamBinding editor "services/{{
|
|
69
|
+
* $ pulumi import gcp:endpoints/serviceIamBinding:ServiceIamBinding editor "services/{{service_name}} roles/viewer"
|
|
70
70
|
* ```
|
|
71
71
|
*
|
|
72
72
|
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
73
73
|
*
|
|
74
74
|
* ```sh
|
|
75
|
-
* $ pulumi import gcp:endpoints/serviceIamBinding:ServiceIamBinding editor services/{{
|
|
75
|
+
* $ pulumi import gcp:endpoints/serviceIamBinding:ServiceIamBinding editor services/{{service_name}}
|
|
76
76
|
* ```
|
|
77
77
|
*
|
|
78
78
|
* -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
|
@@ -107,9 +107,6 @@ export declare class ServiceIamBinding extends pulumi.CustomResource {
|
|
|
107
107
|
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
108
108
|
*/
|
|
109
109
|
readonly role: pulumi.Output<string>;
|
|
110
|
-
/**
|
|
111
|
-
* The name of the service. Used to find the parent resource to bind the IAM policy to
|
|
112
|
-
*/
|
|
113
110
|
readonly serviceName: pulumi.Output<string>;
|
|
114
111
|
/**
|
|
115
112
|
* Create a ServiceIamBinding resource with the given unique name, arguments, and options.
|
|
@@ -136,9 +133,6 @@ export interface ServiceIamBindingState {
|
|
|
136
133
|
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
137
134
|
*/
|
|
138
135
|
role?: pulumi.Input<string>;
|
|
139
|
-
/**
|
|
140
|
-
* The name of the service. Used to find the parent resource to bind the IAM policy to
|
|
141
|
-
*/
|
|
142
136
|
serviceName?: pulumi.Input<string>;
|
|
143
137
|
}
|
|
144
138
|
/**
|
|
@@ -153,8 +147,5 @@ export interface ServiceIamBindingArgs {
|
|
|
153
147
|
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
154
148
|
*/
|
|
155
149
|
role: pulumi.Input<string>;
|
|
156
|
-
/**
|
|
157
|
-
* The name of the service. Used to find the parent resource to bind the IAM policy to
|
|
158
|
-
*/
|
|
159
150
|
serviceName: pulumi.Input<string>;
|
|
160
151
|
}
|
|
@@ -62,22 +62,22 @@ const utilities = require("../utilities");
|
|
|
62
62
|
*
|
|
63
63
|
* ## Import
|
|
64
64
|
*
|
|
65
|
-
* For all import syntaxes, the "resource in question" can take any of the following forms* services/{{
|
|
65
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms* services/{{service_name}} * {{service_name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Endpoints service IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
|
|
66
66
|
*
|
|
67
67
|
* ```sh
|
|
68
|
-
* $ pulumi import gcp:endpoints/serviceIamBinding:ServiceIamBinding editor "services/{{
|
|
68
|
+
* $ pulumi import gcp:endpoints/serviceIamBinding:ServiceIamBinding editor "services/{{service_name}} roles/viewer user:jane@example.com"
|
|
69
69
|
* ```
|
|
70
70
|
*
|
|
71
71
|
* IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
|
72
72
|
*
|
|
73
73
|
* ```sh
|
|
74
|
-
* $ pulumi import gcp:endpoints/serviceIamBinding:ServiceIamBinding editor "services/{{
|
|
74
|
+
* $ pulumi import gcp:endpoints/serviceIamBinding:ServiceIamBinding editor "services/{{service_name}} roles/viewer"
|
|
75
75
|
* ```
|
|
76
76
|
*
|
|
77
77
|
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
78
78
|
*
|
|
79
79
|
* ```sh
|
|
80
|
-
* $ pulumi import gcp:endpoints/serviceIamBinding:ServiceIamBinding editor services/{{
|
|
80
|
+
* $ pulumi import gcp:endpoints/serviceIamBinding:ServiceIamBinding editor services/{{service_name}}
|
|
81
81
|
* ```
|
|
82
82
|
*
|
|
83
83
|
* -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceIamBinding.js","sourceRoot":"","sources":["../../endpoints/serviceIamBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"serviceIamBinding.js","sourceRoot":"","sources":["../../endpoints/serviceIamBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEj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AC,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;;AA1BL,8CAkFC;AApEG,gBAAgB;AACO,8BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -57,22 +57,22 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
57
57
|
*
|
|
58
58
|
* ## Import
|
|
59
59
|
*
|
|
60
|
-
* For all import syntaxes, the "resource in question" can take any of the following forms* services/{{
|
|
60
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms* services/{{service_name}} * {{service_name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Endpoints service IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
|
|
61
61
|
*
|
|
62
62
|
* ```sh
|
|
63
|
-
* $ pulumi import gcp:endpoints/serviceIamMember:ServiceIamMember editor "services/{{
|
|
63
|
+
* $ pulumi import gcp:endpoints/serviceIamMember:ServiceIamMember editor "services/{{service_name}} roles/viewer user:jane@example.com"
|
|
64
64
|
* ```
|
|
65
65
|
*
|
|
66
66
|
* IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
|
67
67
|
*
|
|
68
68
|
* ```sh
|
|
69
|
-
* $ pulumi import gcp:endpoints/serviceIamMember:ServiceIamMember editor "services/{{
|
|
69
|
+
* $ pulumi import gcp:endpoints/serviceIamMember:ServiceIamMember editor "services/{{service_name}} roles/viewer"
|
|
70
70
|
* ```
|
|
71
71
|
*
|
|
72
72
|
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
73
73
|
*
|
|
74
74
|
* ```sh
|
|
75
|
-
* $ pulumi import gcp:endpoints/serviceIamMember:ServiceIamMember editor services/{{
|
|
75
|
+
* $ pulumi import gcp:endpoints/serviceIamMember:ServiceIamMember editor services/{{service_name}}
|
|
76
76
|
* ```
|
|
77
77
|
*
|
|
78
78
|
* -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
|
@@ -107,9 +107,6 @@ export declare class ServiceIamMember extends pulumi.CustomResource {
|
|
|
107
107
|
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
108
108
|
*/
|
|
109
109
|
readonly role: pulumi.Output<string>;
|
|
110
|
-
/**
|
|
111
|
-
* The name of the service. Used to find the parent resource to bind the IAM policy to
|
|
112
|
-
*/
|
|
113
110
|
readonly serviceName: pulumi.Output<string>;
|
|
114
111
|
/**
|
|
115
112
|
* Create a ServiceIamMember resource with the given unique name, arguments, and options.
|
|
@@ -136,9 +133,6 @@ export interface ServiceIamMemberState {
|
|
|
136
133
|
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
137
134
|
*/
|
|
138
135
|
role?: pulumi.Input<string>;
|
|
139
|
-
/**
|
|
140
|
-
* The name of the service. Used to find the parent resource to bind the IAM policy to
|
|
141
|
-
*/
|
|
142
136
|
serviceName?: pulumi.Input<string>;
|
|
143
137
|
}
|
|
144
138
|
/**
|
|
@@ -153,8 +147,5 @@ export interface ServiceIamMemberArgs {
|
|
|
153
147
|
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
154
148
|
*/
|
|
155
149
|
role: pulumi.Input<string>;
|
|
156
|
-
/**
|
|
157
|
-
* The name of the service. Used to find the parent resource to bind the IAM policy to
|
|
158
|
-
*/
|
|
159
150
|
serviceName: pulumi.Input<string>;
|
|
160
151
|
}
|
|
@@ -62,22 +62,22 @@ const utilities = require("../utilities");
|
|
|
62
62
|
*
|
|
63
63
|
* ## Import
|
|
64
64
|
*
|
|
65
|
-
* For all import syntaxes, the "resource in question" can take any of the following forms* services/{{
|
|
65
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms* services/{{service_name}} * {{service_name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Endpoints service IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
|
|
66
66
|
*
|
|
67
67
|
* ```sh
|
|
68
|
-
* $ pulumi import gcp:endpoints/serviceIamMember:ServiceIamMember editor "services/{{
|
|
68
|
+
* $ pulumi import gcp:endpoints/serviceIamMember:ServiceIamMember editor "services/{{service_name}} roles/viewer user:jane@example.com"
|
|
69
69
|
* ```
|
|
70
70
|
*
|
|
71
71
|
* IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
|
72
72
|
*
|
|
73
73
|
* ```sh
|
|
74
|
-
* $ pulumi import gcp:endpoints/serviceIamMember:ServiceIamMember editor "services/{{
|
|
74
|
+
* $ pulumi import gcp:endpoints/serviceIamMember:ServiceIamMember editor "services/{{service_name}} roles/viewer"
|
|
75
75
|
* ```
|
|
76
76
|
*
|
|
77
77
|
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
78
78
|
*
|
|
79
79
|
* ```sh
|
|
80
|
-
* $ pulumi import gcp:endpoints/serviceIamMember:ServiceIamMember editor services/{{
|
|
80
|
+
* $ pulumi import gcp:endpoints/serviceIamMember:ServiceIamMember editor services/{{service_name}}
|
|
81
81
|
* ```
|
|
82
82
|
*
|
|
83
83
|
* -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceIamMember.js","sourceRoot":"","sources":["../../endpoints/serviceIamMember.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"serviceIamMember.js","sourceRoot":"","sources":["../../endpoints/serviceIamMember.ts"],"names":[],"mappings":";AAAA,wFAAwF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KD;;;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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CAkFC;AApEG,gBAAgB;AACO,6BAAY,GAAG,iDAAiD,CAAC"}
|
|
@@ -56,22 +56,22 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
56
56
|
*
|
|
57
57
|
* ## Import
|
|
58
58
|
*
|
|
59
|
-
* For all import syntaxes, the "resource in question" can take any of the following forms* services/{{
|
|
59
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms* services/{{service_name}} * {{service_name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Endpoints service IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
|
|
60
60
|
*
|
|
61
61
|
* ```sh
|
|
62
|
-
* $ pulumi import gcp:endpoints/serviceIamPolicy:ServiceIamPolicy editor "services/{{
|
|
62
|
+
* $ pulumi import gcp:endpoints/serviceIamPolicy:ServiceIamPolicy editor "services/{{service_name}} roles/viewer user:jane@example.com"
|
|
63
63
|
* ```
|
|
64
64
|
*
|
|
65
65
|
* IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
|
66
66
|
*
|
|
67
67
|
* ```sh
|
|
68
|
-
* $ pulumi import gcp:endpoints/serviceIamPolicy:ServiceIamPolicy editor "services/{{
|
|
68
|
+
* $ pulumi import gcp:endpoints/serviceIamPolicy:ServiceIamPolicy editor "services/{{service_name}} roles/viewer"
|
|
69
69
|
* ```
|
|
70
70
|
*
|
|
71
71
|
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
72
72
|
*
|
|
73
73
|
* ```sh
|
|
74
|
-
* $ pulumi import gcp:endpoints/serviceIamPolicy:ServiceIamPolicy editor services/{{
|
|
74
|
+
* $ pulumi import gcp:endpoints/serviceIamPolicy:ServiceIamPolicy editor services/{{service_name}}
|
|
75
75
|
* ```
|
|
76
76
|
*
|
|
77
77
|
* -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
|
@@ -103,9 +103,6 @@ export declare class ServiceIamPolicy extends pulumi.CustomResource {
|
|
|
103
103
|
* a `gcp.organizations.getIAMPolicy` data source.
|
|
104
104
|
*/
|
|
105
105
|
readonly policyData: pulumi.Output<string>;
|
|
106
|
-
/**
|
|
107
|
-
* The name of the service. Used to find the parent resource to bind the IAM policy to
|
|
108
|
-
*/
|
|
109
106
|
readonly serviceName: pulumi.Output<string>;
|
|
110
107
|
/**
|
|
111
108
|
* Create a ServiceIamPolicy resource with the given unique name, arguments, and options.
|
|
@@ -129,9 +126,6 @@ export interface ServiceIamPolicyState {
|
|
|
129
126
|
* a `gcp.organizations.getIAMPolicy` data source.
|
|
130
127
|
*/
|
|
131
128
|
policyData?: pulumi.Input<string>;
|
|
132
|
-
/**
|
|
133
|
-
* The name of the service. Used to find the parent resource to bind the IAM policy to
|
|
134
|
-
*/
|
|
135
129
|
serviceName?: pulumi.Input<string>;
|
|
136
130
|
}
|
|
137
131
|
/**
|
|
@@ -143,8 +137,5 @@ export interface ServiceIamPolicyArgs {
|
|
|
143
137
|
* a `gcp.organizations.getIAMPolicy` data source.
|
|
144
138
|
*/
|
|
145
139
|
policyData: pulumi.Input<string>;
|
|
146
|
-
/**
|
|
147
|
-
* The name of the service. Used to find the parent resource to bind the IAM policy to
|
|
148
|
-
*/
|
|
149
140
|
serviceName: pulumi.Input<string>;
|
|
150
141
|
}
|
|
@@ -62,22 +62,22 @@ const utilities = require("../utilities");
|
|
|
62
62
|
*
|
|
63
63
|
* ## Import
|
|
64
64
|
*
|
|
65
|
-
* For all import syntaxes, the "resource in question" can take any of the following forms* services/{{
|
|
65
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms* services/{{service_name}} * {{service_name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Endpoints service IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
|
|
66
66
|
*
|
|
67
67
|
* ```sh
|
|
68
|
-
* $ pulumi import gcp:endpoints/serviceIamPolicy:ServiceIamPolicy editor "services/{{
|
|
68
|
+
* $ pulumi import gcp:endpoints/serviceIamPolicy:ServiceIamPolicy editor "services/{{service_name}} roles/viewer user:jane@example.com"
|
|
69
69
|
* ```
|
|
70
70
|
*
|
|
71
71
|
* IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
|
72
72
|
*
|
|
73
73
|
* ```sh
|
|
74
|
-
* $ pulumi import gcp:endpoints/serviceIamPolicy:ServiceIamPolicy editor "services/{{
|
|
74
|
+
* $ pulumi import gcp:endpoints/serviceIamPolicy:ServiceIamPolicy editor "services/{{service_name}} roles/viewer"
|
|
75
75
|
* ```
|
|
76
76
|
*
|
|
77
77
|
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
78
78
|
*
|
|
79
79
|
* ```sh
|
|
80
|
-
* $ pulumi import gcp:endpoints/serviceIamPolicy:ServiceIamPolicy editor services/{{
|
|
80
|
+
* $ pulumi import gcp:endpoints/serviceIamPolicy:ServiceIamPolicy editor services/{{service_name}}
|
|
81
81
|
* ```
|
|
82
82
|
*
|
|
83
83
|
* -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceIamPolicy.js","sourceRoot":"","sources":["../../endpoints/serviceIamPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":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,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,MAAM,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,MAAM,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtC;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IAtED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CAwEC;AA1DG,gBAAgB;AACO,6BAAY,GAAG,iDAAiD,CAAC"}
|
|
@@ -63,6 +63,11 @@ export declare class AlertPolicy extends pulumi.CustomResource {
|
|
|
63
63
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
64
64
|
*/
|
|
65
65
|
static isInstance(obj: any): obj is AlertPolicy;
|
|
66
|
+
/**
|
|
67
|
+
* Control over how this alert policy's notification channels are notified.
|
|
68
|
+
* Structure is documented below.
|
|
69
|
+
*/
|
|
70
|
+
readonly alertStrategy: pulumi.Output<outputs.monitoring.AlertPolicyAlertStrategy | undefined>;
|
|
66
71
|
/**
|
|
67
72
|
* How to combine the results of multiple conditions to
|
|
68
73
|
* determine if an incident should be opened.
|
|
@@ -151,6 +156,11 @@ export declare class AlertPolicy extends pulumi.CustomResource {
|
|
|
151
156
|
* Input properties used for looking up and filtering AlertPolicy resources.
|
|
152
157
|
*/
|
|
153
158
|
export interface AlertPolicyState {
|
|
159
|
+
/**
|
|
160
|
+
* Control over how this alert policy's notification channels are notified.
|
|
161
|
+
* Structure is documented below.
|
|
162
|
+
*/
|
|
163
|
+
alertStrategy?: pulumi.Input<inputs.monitoring.AlertPolicyAlertStrategy>;
|
|
154
164
|
/**
|
|
155
165
|
* How to combine the results of multiple conditions to
|
|
156
166
|
* determine if an incident should be opened.
|
|
@@ -231,6 +241,11 @@ export interface AlertPolicyState {
|
|
|
231
241
|
* The set of arguments for constructing a AlertPolicy resource.
|
|
232
242
|
*/
|
|
233
243
|
export interface AlertPolicyArgs {
|
|
244
|
+
/**
|
|
245
|
+
* Control over how this alert policy's notification channels are notified.
|
|
246
|
+
* Structure is documented below.
|
|
247
|
+
*/
|
|
248
|
+
alertStrategy?: pulumi.Input<inputs.monitoring.AlertPolicyAlertStrategy>;
|
|
234
249
|
/**
|
|
235
250
|
* How to combine the results of multiple conditions to
|
|
236
251
|
* determine if an incident should be opened.
|
|
@@ -58,6 +58,7 @@ class AlertPolicy extends pulumi.CustomResource {
|
|
|
58
58
|
opts = opts || {};
|
|
59
59
|
if (opts.id) {
|
|
60
60
|
const state = argsOrState;
|
|
61
|
+
inputs["alertStrategy"] = state ? state.alertStrategy : undefined;
|
|
61
62
|
inputs["combiner"] = state ? state.combiner : undefined;
|
|
62
63
|
inputs["conditions"] = state ? state.conditions : undefined;
|
|
63
64
|
inputs["creationRecords"] = state ? state.creationRecords : undefined;
|
|
@@ -80,6 +81,7 @@ class AlertPolicy extends pulumi.CustomResource {
|
|
|
80
81
|
if ((!args || args.displayName === undefined) && !opts.urn) {
|
|
81
82
|
throw new Error("Missing required property 'displayName'");
|
|
82
83
|
}
|
|
84
|
+
inputs["alertStrategy"] = args ? args.alertStrategy : undefined;
|
|
83
85
|
inputs["combiner"] = args ? args.combiner : undefined;
|
|
84
86
|
inputs["conditions"] = args ? args.conditions : undefined;
|
|
85
87
|
inputs["displayName"] = args ? args.displayName : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertPolicy.js","sourceRoot":"","sources":["../../monitoring/alertPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"alertPolicy.js","sourceRoot":"","sources":["../../monitoring/alertPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAmHlD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,MAAM,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,C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AC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,MAAM,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,MAAM,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtC;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;IA7JD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCA+JC;AAjJG,gBAAgB;AACO,wBAAY,GAAG,wCAAwC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/gcp",
|
|
3
|
-
"version": "v6.
|
|
3
|
+
"version": "v6.8.0-alpha.1643027274+53193bd3",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Google Cloud Platform resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource gcp v6.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource gcp v6.8.0-alpha.1643027274+53193bd3"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0",
|
package/package.json.dev
CHANGED
package/types/input.d.ts
CHANGED
|
@@ -21399,6 +21399,24 @@ export declare namespace ml {
|
|
|
21399
21399
|
}
|
|
21400
21400
|
}
|
|
21401
21401
|
export declare namespace monitoring {
|
|
21402
|
+
interface AlertPolicyAlertStrategy {
|
|
21403
|
+
/**
|
|
21404
|
+
* If an alert policy that was active has no data for this long, any open incidents will close.
|
|
21405
|
+
*/
|
|
21406
|
+
autoClose?: pulumi.Input<string>;
|
|
21407
|
+
/**
|
|
21408
|
+
* Required for alert policies with a LogMatch condition.
|
|
21409
|
+
* This limit is not implemented for alert policies that are not log-based.
|
|
21410
|
+
* Structure is documented below.
|
|
21411
|
+
*/
|
|
21412
|
+
notificationRateLimit?: pulumi.Input<inputs.monitoring.AlertPolicyAlertStrategyNotificationRateLimit>;
|
|
21413
|
+
}
|
|
21414
|
+
interface AlertPolicyAlertStrategyNotificationRateLimit {
|
|
21415
|
+
/**
|
|
21416
|
+
* Not more than one notification per period.
|
|
21417
|
+
*/
|
|
21418
|
+
period?: pulumi.Input<string>;
|
|
21419
|
+
}
|
|
21402
21420
|
interface AlertPolicyCondition {
|
|
21403
21421
|
/**
|
|
21404
21422
|
* A condition that checks that a time series
|
|
@@ -21406,6 +21424,12 @@ export declare namespace monitoring {
|
|
|
21406
21424
|
* Structure is documented below.
|
|
21407
21425
|
*/
|
|
21408
21426
|
conditionAbsent?: pulumi.Input<inputs.monitoring.AlertPolicyConditionConditionAbsent>;
|
|
21427
|
+
/**
|
|
21428
|
+
* A condition that checks for log messages matching given constraints.
|
|
21429
|
+
* If set, no other conditions can be present.
|
|
21430
|
+
* Structure is documented below.
|
|
21431
|
+
*/
|
|
21432
|
+
conditionMatchedLog?: pulumi.Input<inputs.monitoring.AlertPolicyConditionConditionMatchedLog>;
|
|
21409
21433
|
/**
|
|
21410
21434
|
* A Monitoring Query Language query that outputs a boolean stream
|
|
21411
21435
|
* Structure is documented below.
|
|
@@ -21473,18 +21497,7 @@ export declare namespace monitoring {
|
|
|
21473
21497
|
*/
|
|
21474
21498
|
duration: pulumi.Input<string>;
|
|
21475
21499
|
/**
|
|
21476
|
-
* A filter
|
|
21477
|
-
* should be compared with the threshold.The
|
|
21478
|
-
* filter is similar to the one that is
|
|
21479
|
-
* specified in the
|
|
21480
|
-
* MetricService.ListTimeSeries request (that
|
|
21481
|
-
* call is useful to verify the time series
|
|
21482
|
-
* that will be retrieved / processed) and must
|
|
21483
|
-
* specify the metric type and optionally may
|
|
21484
|
-
* contain restrictions on resource type,
|
|
21485
|
-
* resource labels, and metric labels. This
|
|
21486
|
-
* field may not exceed 2048 Unicode characters
|
|
21487
|
-
* in length.
|
|
21500
|
+
* A logs-based filter.
|
|
21488
21501
|
*/
|
|
21489
21502
|
filter?: pulumi.Input<string>;
|
|
21490
21503
|
/**
|
|
@@ -21603,6 +21616,24 @@ export declare namespace monitoring {
|
|
|
21603
21616
|
*/
|
|
21604
21617
|
percent?: pulumi.Input<number>;
|
|
21605
21618
|
}
|
|
21619
|
+
interface AlertPolicyConditionConditionMatchedLog {
|
|
21620
|
+
/**
|
|
21621
|
+
* A logs-based filter.
|
|
21622
|
+
*/
|
|
21623
|
+
filter: pulumi.Input<string>;
|
|
21624
|
+
/**
|
|
21625
|
+
* A map from a label key to an extractor expression, which is used to
|
|
21626
|
+
* extract the value for this label key. Each entry in this map is
|
|
21627
|
+
* a specification for how data should be extracted from log entries that
|
|
21628
|
+
* match filter. Each combination of extracted values is treated as
|
|
21629
|
+
* a separate rule for the purposes of triggering notifications.
|
|
21630
|
+
* Label keys and corresponding values can be used in notifications
|
|
21631
|
+
* generated by this condition.
|
|
21632
|
+
*/
|
|
21633
|
+
labelExtractors?: pulumi.Input<{
|
|
21634
|
+
[key: string]: pulumi.Input<string>;
|
|
21635
|
+
}>;
|
|
21636
|
+
}
|
|
21606
21637
|
interface AlertPolicyConditionConditionMonitoringQueryLanguage {
|
|
21607
21638
|
/**
|
|
21608
21639
|
* The amount of time that a time series must
|
|
@@ -21740,18 +21771,7 @@ export declare namespace monitoring {
|
|
|
21740
21771
|
*/
|
|
21741
21772
|
duration: pulumi.Input<string>;
|
|
21742
21773
|
/**
|
|
21743
|
-
* A filter
|
|
21744
|
-
* should be compared with the threshold.The
|
|
21745
|
-
* filter is similar to the one that is
|
|
21746
|
-
* specified in the
|
|
21747
|
-
* MetricService.ListTimeSeries request (that
|
|
21748
|
-
* call is useful to verify the time series
|
|
21749
|
-
* that will be retrieved / processed) and must
|
|
21750
|
-
* specify the metric type and optionally may
|
|
21751
|
-
* contain restrictions on resource type,
|
|
21752
|
-
* resource labels, and metric labels. This
|
|
21753
|
-
* field may not exceed 2048 Unicode characters
|
|
21754
|
-
* in length.
|
|
21774
|
+
* A logs-based filter.
|
|
21755
21775
|
*/
|
|
21756
21776
|
filter?: pulumi.Input<string>;
|
|
21757
21777
|
/**
|
package/types/output.d.ts
CHANGED
|
@@ -23117,6 +23117,24 @@ export declare namespace ml {
|
|
|
23117
23117
|
}
|
|
23118
23118
|
}
|
|
23119
23119
|
export declare namespace monitoring {
|
|
23120
|
+
interface AlertPolicyAlertStrategy {
|
|
23121
|
+
/**
|
|
23122
|
+
* If an alert policy that was active has no data for this long, any open incidents will close.
|
|
23123
|
+
*/
|
|
23124
|
+
autoClose?: string;
|
|
23125
|
+
/**
|
|
23126
|
+
* Required for alert policies with a LogMatch condition.
|
|
23127
|
+
* This limit is not implemented for alert policies that are not log-based.
|
|
23128
|
+
* Structure is documented below.
|
|
23129
|
+
*/
|
|
23130
|
+
notificationRateLimit?: outputs.monitoring.AlertPolicyAlertStrategyNotificationRateLimit;
|
|
23131
|
+
}
|
|
23132
|
+
interface AlertPolicyAlertStrategyNotificationRateLimit {
|
|
23133
|
+
/**
|
|
23134
|
+
* Not more than one notification per period.
|
|
23135
|
+
*/
|
|
23136
|
+
period?: string;
|
|
23137
|
+
}
|
|
23120
23138
|
interface AlertPolicyCondition {
|
|
23121
23139
|
/**
|
|
23122
23140
|
* A condition that checks that a time series
|
|
@@ -23124,6 +23142,12 @@ export declare namespace monitoring {
|
|
|
23124
23142
|
* Structure is documented below.
|
|
23125
23143
|
*/
|
|
23126
23144
|
conditionAbsent?: outputs.monitoring.AlertPolicyConditionConditionAbsent;
|
|
23145
|
+
/**
|
|
23146
|
+
* A condition that checks for log messages matching given constraints.
|
|
23147
|
+
* If set, no other conditions can be present.
|
|
23148
|
+
* Structure is documented below.
|
|
23149
|
+
*/
|
|
23150
|
+
conditionMatchedLog?: outputs.monitoring.AlertPolicyConditionConditionMatchedLog;
|
|
23127
23151
|
/**
|
|
23128
23152
|
* A Monitoring Query Language query that outputs a boolean stream
|
|
23129
23153
|
* Structure is documented below.
|
|
@@ -23191,18 +23215,7 @@ export declare namespace monitoring {
|
|
|
23191
23215
|
*/
|
|
23192
23216
|
duration: string;
|
|
23193
23217
|
/**
|
|
23194
|
-
* A filter
|
|
23195
|
-
* should be compared with the threshold.The
|
|
23196
|
-
* filter is similar to the one that is
|
|
23197
|
-
* specified in the
|
|
23198
|
-
* MetricService.ListTimeSeries request (that
|
|
23199
|
-
* call is useful to verify the time series
|
|
23200
|
-
* that will be retrieved / processed) and must
|
|
23201
|
-
* specify the metric type and optionally may
|
|
23202
|
-
* contain restrictions on resource type,
|
|
23203
|
-
* resource labels, and metric labels. This
|
|
23204
|
-
* field may not exceed 2048 Unicode characters
|
|
23205
|
-
* in length.
|
|
23218
|
+
* A logs-based filter.
|
|
23206
23219
|
*/
|
|
23207
23220
|
filter?: string;
|
|
23208
23221
|
/**
|
|
@@ -23321,6 +23334,24 @@ export declare namespace monitoring {
|
|
|
23321
23334
|
*/
|
|
23322
23335
|
percent?: number;
|
|
23323
23336
|
}
|
|
23337
|
+
interface AlertPolicyConditionConditionMatchedLog {
|
|
23338
|
+
/**
|
|
23339
|
+
* A logs-based filter.
|
|
23340
|
+
*/
|
|
23341
|
+
filter: string;
|
|
23342
|
+
/**
|
|
23343
|
+
* A map from a label key to an extractor expression, which is used to
|
|
23344
|
+
* extract the value for this label key. Each entry in this map is
|
|
23345
|
+
* a specification for how data should be extracted from log entries that
|
|
23346
|
+
* match filter. Each combination of extracted values is treated as
|
|
23347
|
+
* a separate rule for the purposes of triggering notifications.
|
|
23348
|
+
* Label keys and corresponding values can be used in notifications
|
|
23349
|
+
* generated by this condition.
|
|
23350
|
+
*/
|
|
23351
|
+
labelExtractors?: {
|
|
23352
|
+
[key: string]: string;
|
|
23353
|
+
};
|
|
23354
|
+
}
|
|
23324
23355
|
interface AlertPolicyConditionConditionMonitoringQueryLanguage {
|
|
23325
23356
|
/**
|
|
23326
23357
|
* The amount of time that a time series must
|
|
@@ -23458,18 +23489,7 @@ export declare namespace monitoring {
|
|
|
23458
23489
|
*/
|
|
23459
23490
|
duration: string;
|
|
23460
23491
|
/**
|
|
23461
|
-
* A filter
|
|
23462
|
-
* should be compared with the threshold.The
|
|
23463
|
-
* filter is similar to the one that is
|
|
23464
|
-
* specified in the
|
|
23465
|
-
* MetricService.ListTimeSeries request (that
|
|
23466
|
-
* call is useful to verify the time series
|
|
23467
|
-
* that will be retrieved / processed) and must
|
|
23468
|
-
* specify the metric type and optionally may
|
|
23469
|
-
* contain restrictions on resource type,
|
|
23470
|
-
* resource labels, and metric labels. This
|
|
23471
|
-
* field may not exceed 2048 Unicode characters
|
|
23472
|
-
* in length.
|
|
23492
|
+
* A logs-based filter.
|
|
23473
23493
|
*/
|
|
23474
23494
|
filter?: string;
|
|
23475
23495
|
/**
|