@pulumi/gcp 6.7.0 → 6.9.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/apigee/instance.d.ts +31 -1
- package/apigee/instance.js +2 -0
- package/apigee/instance.js.map +1 -1
- package/appengine/flexibleAppVersion.d.ts +6 -3
- package/appengine/flexibleAppVersion.js.map +1 -1
- package/appengine/standardAppVersion.d.ts +6 -3
- package/appengine/standardAppVersion.js.map +1 -1
- package/bigquery/dataTransferConfig.d.ts +9 -3
- package/bigquery/dataTransferConfig.js.map +1 -1
- 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/cloudrun/service.d.ts +2 -0
- package/cloudrun/service.js +2 -0
- package/cloudrun/service.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 +50 -35
- package/compute/regionBackendService.js +4 -2
- package/compute/regionBackendService.js.map +1 -1
- package/compute/reservation.d.ts +15 -0
- package/compute/reservation.js +2 -0
- package/compute/reservation.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/networkconnectivity/index.d.ts +1 -0
- package/networkconnectivity/index.js +5 -0
- package/networkconnectivity/index.js.map +1 -1
- package/networkconnectivity/spoke.d.ts +256 -0
- package/networkconnectivity/spoke.js +152 -0
- package/networkconnectivity/spoke.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/storage/transferJob.d.ts +2 -2
- package/storage/transferJob.js +0 -3
- package/storage/transferJob.js.map +1 -1
- package/types/input.d.ts +176 -43
- package/types/output.d.ts +179 -44
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backendService.js","sourceRoot":"","sources":["../../compute/backendService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"backendService.js","sourceRoot":"","sources":["../../compute/backendService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+LG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IAqNrD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,MAAM,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,C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C;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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCAwRC;AA1QG,gBAAgB;AACO,2BAAY,GAAG,2CAA2C,CAAC"}
|
|
@@ -223,11 +223,11 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
223
223
|
* sessionAffinity: "CLIENT_IP",
|
|
224
224
|
* protocol: "TCP",
|
|
225
225
|
* loadBalancingScheme: "EXTERNAL",
|
|
226
|
-
* connectionTrackingPolicy:
|
|
226
|
+
* connectionTrackingPolicy: {
|
|
227
227
|
* trackingMode: "PER_SESSION",
|
|
228
228
|
* connectionPersistenceOnUnhealthyBackends: "NEVER_PERSIST",
|
|
229
229
|
* idleTimeoutSec: 60,
|
|
230
|
-
* }
|
|
230
|
+
* },
|
|
231
231
|
* }, {
|
|
232
232
|
* provider: google_beta,
|
|
233
233
|
* });
|
|
@@ -299,6 +299,13 @@ export declare class RegionBackendService extends pulumi.CustomResource {
|
|
|
299
299
|
* connections, but still work to finish started).
|
|
300
300
|
*/
|
|
301
301
|
readonly connectionDrainingTimeoutSec: pulumi.Output<number | undefined>;
|
|
302
|
+
/**
|
|
303
|
+
* Connection Tracking configuration for this BackendService.
|
|
304
|
+
* This is available only for Layer 4 Internal Load Balancing and
|
|
305
|
+
* Network Load Balancing.
|
|
306
|
+
* Structure is documented below.
|
|
307
|
+
*/
|
|
308
|
+
readonly connectionTrackingPolicy: pulumi.Output<outputs.compute.RegionBackendServiceConnectionTrackingPolicy | undefined>;
|
|
302
309
|
/**
|
|
303
310
|
* Consistent Hash-based load balancing can be used to provide soft session
|
|
304
311
|
* affinity based on HTTP headers, cookies or other properties. This load balancing
|
|
@@ -347,35 +354,33 @@ export declare class RegionBackendService extends pulumi.CustomResource {
|
|
|
347
354
|
/**
|
|
348
355
|
* Indicates what kind of load balancing this regional backend service
|
|
349
356
|
* will be used for. A backend service created for one type of load
|
|
350
|
-
* balancing cannot be used with the other(s).
|
|
357
|
+
* balancing cannot be used with the other(s). For more information, refer to
|
|
358
|
+
* [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service).
|
|
351
359
|
* Default value is `INTERNAL`.
|
|
352
360
|
* Possible values are `EXTERNAL`, `EXTERNAL_MANAGED`, `INTERNAL`, and `INTERNAL_MANAGED`.
|
|
353
361
|
*/
|
|
354
362
|
readonly loadBalancingScheme: pulumi.Output<string | undefined>;
|
|
355
363
|
/**
|
|
356
364
|
* The load balancing algorithm used within the scope of the locality.
|
|
357
|
-
* The possible values are
|
|
358
|
-
* * ROUND_ROBIN
|
|
365
|
+
* The possible values are:
|
|
366
|
+
* * `ROUND_ROBIN`: This is a simple policy in which each healthy backend
|
|
359
367
|
* is selected in round robin order.
|
|
360
|
-
* * LEAST_REQUEST
|
|
368
|
+
* * `LEAST_REQUEST`: An O(1) algorithm which selects two random healthy
|
|
361
369
|
* hosts and picks the host which has fewer active requests.
|
|
362
|
-
* * RING_HASH
|
|
370
|
+
* * `RING_HASH`: The ring/modulo hash load balancer implements consistent
|
|
363
371
|
* hashing to backends. The algorithm has the property that the
|
|
364
372
|
* addition/removal of a host from a set of N hosts only affects
|
|
365
373
|
* 1/N of the requests.
|
|
366
|
-
* * RANDOM
|
|
367
|
-
* * ORIGINAL_DESTINATION
|
|
374
|
+
* * `RANDOM`: The load balancer selects a random healthy host.
|
|
375
|
+
* * `ORIGINAL_DESTINATION`: Backend host is selected based on the client
|
|
368
376
|
* connection metadata, i.e., connections are opened
|
|
369
377
|
* to the same address as the destination address of
|
|
370
378
|
* the incoming connection before the connection
|
|
371
379
|
* was redirected to the load balancer.
|
|
372
|
-
* * MAGLEV
|
|
380
|
+
* * `MAGLEV`: used as a drop in replacement for the ring hash load balancer.
|
|
373
381
|
* Maglev is not as stable as ring hash but has faster table lookup
|
|
374
382
|
* build times and host selection times. For more information about
|
|
375
383
|
* 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
384
|
*/
|
|
380
385
|
readonly localityLbPolicy: pulumi.Output<string | undefined>;
|
|
381
386
|
/**
|
|
@@ -485,6 +490,13 @@ export interface RegionBackendServiceState {
|
|
|
485
490
|
* connections, but still work to finish started).
|
|
486
491
|
*/
|
|
487
492
|
connectionDrainingTimeoutSec?: pulumi.Input<number>;
|
|
493
|
+
/**
|
|
494
|
+
* Connection Tracking configuration for this BackendService.
|
|
495
|
+
* This is available only for Layer 4 Internal Load Balancing and
|
|
496
|
+
* Network Load Balancing.
|
|
497
|
+
* Structure is documented below.
|
|
498
|
+
*/
|
|
499
|
+
connectionTrackingPolicy?: pulumi.Input<inputs.compute.RegionBackendServiceConnectionTrackingPolicy>;
|
|
488
500
|
/**
|
|
489
501
|
* Consistent Hash-based load balancing can be used to provide soft session
|
|
490
502
|
* affinity based on HTTP headers, cookies or other properties. This load balancing
|
|
@@ -533,35 +545,33 @@ export interface RegionBackendServiceState {
|
|
|
533
545
|
/**
|
|
534
546
|
* Indicates what kind of load balancing this regional backend service
|
|
535
547
|
* will be used for. A backend service created for one type of load
|
|
536
|
-
* balancing cannot be used with the other(s).
|
|
548
|
+
* balancing cannot be used with the other(s). For more information, refer to
|
|
549
|
+
* [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service).
|
|
537
550
|
* Default value is `INTERNAL`.
|
|
538
551
|
* Possible values are `EXTERNAL`, `EXTERNAL_MANAGED`, `INTERNAL`, and `INTERNAL_MANAGED`.
|
|
539
552
|
*/
|
|
540
553
|
loadBalancingScheme?: pulumi.Input<string>;
|
|
541
554
|
/**
|
|
542
555
|
* The load balancing algorithm used within the scope of the locality.
|
|
543
|
-
* The possible values are
|
|
544
|
-
* * ROUND_ROBIN
|
|
556
|
+
* The possible values are:
|
|
557
|
+
* * `ROUND_ROBIN`: This is a simple policy in which each healthy backend
|
|
545
558
|
* is selected in round robin order.
|
|
546
|
-
* * LEAST_REQUEST
|
|
559
|
+
* * `LEAST_REQUEST`: An O(1) algorithm which selects two random healthy
|
|
547
560
|
* hosts and picks the host which has fewer active requests.
|
|
548
|
-
* * RING_HASH
|
|
561
|
+
* * `RING_HASH`: The ring/modulo hash load balancer implements consistent
|
|
549
562
|
* hashing to backends. The algorithm has the property that the
|
|
550
563
|
* addition/removal of a host from a set of N hosts only affects
|
|
551
564
|
* 1/N of the requests.
|
|
552
|
-
* * RANDOM
|
|
553
|
-
* * ORIGINAL_DESTINATION
|
|
565
|
+
* * `RANDOM`: The load balancer selects a random healthy host.
|
|
566
|
+
* * `ORIGINAL_DESTINATION`: Backend host is selected based on the client
|
|
554
567
|
* connection metadata, i.e., connections are opened
|
|
555
568
|
* to the same address as the destination address of
|
|
556
569
|
* the incoming connection before the connection
|
|
557
570
|
* was redirected to the load balancer.
|
|
558
|
-
* * MAGLEV
|
|
571
|
+
* * `MAGLEV`: used as a drop in replacement for the ring hash load balancer.
|
|
559
572
|
* Maglev is not as stable as ring hash but has faster table lookup
|
|
560
573
|
* build times and host selection times. For more information about
|
|
561
574
|
* 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
575
|
*/
|
|
566
576
|
localityLbPolicy?: pulumi.Input<string>;
|
|
567
577
|
/**
|
|
@@ -663,6 +673,13 @@ export interface RegionBackendServiceArgs {
|
|
|
663
673
|
* connections, but still work to finish started).
|
|
664
674
|
*/
|
|
665
675
|
connectionDrainingTimeoutSec?: pulumi.Input<number>;
|
|
676
|
+
/**
|
|
677
|
+
* Connection Tracking configuration for this BackendService.
|
|
678
|
+
* This is available only for Layer 4 Internal Load Balancing and
|
|
679
|
+
* Network Load Balancing.
|
|
680
|
+
* Structure is documented below.
|
|
681
|
+
*/
|
|
682
|
+
connectionTrackingPolicy?: pulumi.Input<inputs.compute.RegionBackendServiceConnectionTrackingPolicy>;
|
|
666
683
|
/**
|
|
667
684
|
* Consistent Hash-based load balancing can be used to provide soft session
|
|
668
685
|
* affinity based on HTTP headers, cookies or other properties. This load balancing
|
|
@@ -703,35 +720,33 @@ export interface RegionBackendServiceArgs {
|
|
|
703
720
|
/**
|
|
704
721
|
* Indicates what kind of load balancing this regional backend service
|
|
705
722
|
* will be used for. A backend service created for one type of load
|
|
706
|
-
* balancing cannot be used with the other(s).
|
|
723
|
+
* balancing cannot be used with the other(s). For more information, refer to
|
|
724
|
+
* [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service).
|
|
707
725
|
* Default value is `INTERNAL`.
|
|
708
726
|
* Possible values are `EXTERNAL`, `EXTERNAL_MANAGED`, `INTERNAL`, and `INTERNAL_MANAGED`.
|
|
709
727
|
*/
|
|
710
728
|
loadBalancingScheme?: pulumi.Input<string>;
|
|
711
729
|
/**
|
|
712
730
|
* The load balancing algorithm used within the scope of the locality.
|
|
713
|
-
* The possible values are
|
|
714
|
-
* * ROUND_ROBIN
|
|
731
|
+
* The possible values are:
|
|
732
|
+
* * `ROUND_ROBIN`: This is a simple policy in which each healthy backend
|
|
715
733
|
* is selected in round robin order.
|
|
716
|
-
* * LEAST_REQUEST
|
|
734
|
+
* * `LEAST_REQUEST`: An O(1) algorithm which selects two random healthy
|
|
717
735
|
* hosts and picks the host which has fewer active requests.
|
|
718
|
-
* * RING_HASH
|
|
736
|
+
* * `RING_HASH`: The ring/modulo hash load balancer implements consistent
|
|
719
737
|
* hashing to backends. The algorithm has the property that the
|
|
720
738
|
* addition/removal of a host from a set of N hosts only affects
|
|
721
739
|
* 1/N of the requests.
|
|
722
|
-
* * RANDOM
|
|
723
|
-
* * ORIGINAL_DESTINATION
|
|
740
|
+
* * `RANDOM`: The load balancer selects a random healthy host.
|
|
741
|
+
* * `ORIGINAL_DESTINATION`: Backend host is selected based on the client
|
|
724
742
|
* connection metadata, i.e., connections are opened
|
|
725
743
|
* to the same address as the destination address of
|
|
726
744
|
* the incoming connection before the connection
|
|
727
745
|
* was redirected to the load balancer.
|
|
728
|
-
* * MAGLEV
|
|
746
|
+
* * `MAGLEV`: used as a drop in replacement for the ring hash load balancer.
|
|
729
747
|
* Maglev is not as stable as ring hash but has faster table lookup
|
|
730
748
|
* build times and host selection times. For more information about
|
|
731
749
|
* 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
750
|
*/
|
|
736
751
|
localityLbPolicy?: pulumi.Input<string>;
|
|
737
752
|
/**
|
|
@@ -228,11 +228,11 @@ const utilities = require("../utilities");
|
|
|
228
228
|
* sessionAffinity: "CLIENT_IP",
|
|
229
229
|
* protocol: "TCP",
|
|
230
230
|
* loadBalancingScheme: "EXTERNAL",
|
|
231
|
-
* connectionTrackingPolicy:
|
|
231
|
+
* connectionTrackingPolicy: {
|
|
232
232
|
* trackingMode: "PER_SESSION",
|
|
233
233
|
* connectionPersistenceOnUnhealthyBackends: "NEVER_PERSIST",
|
|
234
234
|
* idleTimeoutSec: 60,
|
|
235
|
-
* }
|
|
235
|
+
* },
|
|
236
236
|
* }, {
|
|
237
237
|
* provider: google_beta,
|
|
238
238
|
* });
|
|
@@ -269,6 +269,7 @@ class RegionBackendService extends pulumi.CustomResource {
|
|
|
269
269
|
inputs["cdnPolicy"] = state ? state.cdnPolicy : undefined;
|
|
270
270
|
inputs["circuitBreakers"] = state ? state.circuitBreakers : undefined;
|
|
271
271
|
inputs["connectionDrainingTimeoutSec"] = state ? state.connectionDrainingTimeoutSec : undefined;
|
|
272
|
+
inputs["connectionTrackingPolicy"] = state ? state.connectionTrackingPolicy : undefined;
|
|
272
273
|
inputs["consistentHash"] = state ? state.consistentHash : undefined;
|
|
273
274
|
inputs["creationTimestamp"] = state ? state.creationTimestamp : undefined;
|
|
274
275
|
inputs["description"] = state ? state.description : undefined;
|
|
@@ -298,6 +299,7 @@ class RegionBackendService extends pulumi.CustomResource {
|
|
|
298
299
|
inputs["cdnPolicy"] = args ? args.cdnPolicy : undefined;
|
|
299
300
|
inputs["circuitBreakers"] = args ? args.circuitBreakers : undefined;
|
|
300
301
|
inputs["connectionDrainingTimeoutSec"] = args ? args.connectionDrainingTimeoutSec : undefined;
|
|
302
|
+
inputs["connectionTrackingPolicy"] = args ? args.connectionTrackingPolicy : undefined;
|
|
301
303
|
inputs["consistentHash"] = args ? args.consistentHash : undefined;
|
|
302
304
|
inputs["description"] = args ? args.description : undefined;
|
|
303
305
|
inputs["enableCdn"] = args ? args.enableCdn : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"regionBackendService.js","sourceRoot":"","sources":["../../compute/regionBackendService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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c,CAAC,KAAK,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;;AA1BL,oDA0RC;AA5QG,gBAAgB;AACO,iCAAY,GAAG,uDAAuD,CAAC"}
|
package/compute/reservation.d.ts
CHANGED
|
@@ -102,6 +102,11 @@ export declare class Reservation extends pulumi.CustomResource {
|
|
|
102
102
|
* The URI of the created resource.
|
|
103
103
|
*/
|
|
104
104
|
readonly selfLink: pulumi.Output<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The share setting for reservations.
|
|
107
|
+
* Structure is documented below.
|
|
108
|
+
*/
|
|
109
|
+
readonly shareSettings: pulumi.Output<outputs.compute.ReservationShareSettings>;
|
|
105
110
|
/**
|
|
106
111
|
* Reservation for instances with specific machine shapes.
|
|
107
112
|
* Structure is documented below.
|
|
@@ -165,6 +170,11 @@ export interface ReservationState {
|
|
|
165
170
|
* The URI of the created resource.
|
|
166
171
|
*/
|
|
167
172
|
selfLink?: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* The share setting for reservations.
|
|
175
|
+
* Structure is documented below.
|
|
176
|
+
*/
|
|
177
|
+
shareSettings?: pulumi.Input<inputs.compute.ReservationShareSettings>;
|
|
168
178
|
/**
|
|
169
179
|
* Reservation for instances with specific machine shapes.
|
|
170
180
|
* Structure is documented below.
|
|
@@ -208,6 +218,11 @@ export interface ReservationArgs {
|
|
|
208
218
|
* If it is not provided, the provider project is used.
|
|
209
219
|
*/
|
|
210
220
|
project?: pulumi.Input<string>;
|
|
221
|
+
/**
|
|
222
|
+
* The share setting for reservations.
|
|
223
|
+
* Structure is documented below.
|
|
224
|
+
*/
|
|
225
|
+
shareSettings?: pulumi.Input<inputs.compute.ReservationShareSettings>;
|
|
211
226
|
/**
|
|
212
227
|
* Reservation for instances with specific machine shapes.
|
|
213
228
|
* Structure is documented below.
|
package/compute/reservation.js
CHANGED
|
@@ -72,6 +72,7 @@ class Reservation extends pulumi.CustomResource {
|
|
|
72
72
|
inputs["name"] = state ? state.name : undefined;
|
|
73
73
|
inputs["project"] = state ? state.project : undefined;
|
|
74
74
|
inputs["selfLink"] = state ? state.selfLink : undefined;
|
|
75
|
+
inputs["shareSettings"] = state ? state.shareSettings : undefined;
|
|
75
76
|
inputs["specificReservation"] = state ? state.specificReservation : undefined;
|
|
76
77
|
inputs["specificReservationRequired"] = state ? state.specificReservationRequired : undefined;
|
|
77
78
|
inputs["status"] = state ? state.status : undefined;
|
|
@@ -88,6 +89,7 @@ class Reservation extends pulumi.CustomResource {
|
|
|
88
89
|
inputs["description"] = args ? args.description : undefined;
|
|
89
90
|
inputs["name"] = args ? args.name : undefined;
|
|
90
91
|
inputs["project"] = args ? args.project : undefined;
|
|
92
|
+
inputs["shareSettings"] = args ? args.shareSettings : undefined;
|
|
91
93
|
inputs["specificReservation"] = args ? args.specificReservation : undefined;
|
|
92
94
|
inputs["specificReservationRequired"] = args ? args.specificReservationRequired : undefined;
|
|
93
95
|
inputs["zone"] = args ? args.zone : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reservation.js","sourceRoot":"","sources":["../../compute/reservation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"reservation.js","sourceRoot":"","sources":["../../compute/reservation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IA4FlD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC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AC,SAAS,CAAC;YAC9C,MAAM,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzC,MAAM,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,MAAM,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvC,MAAM,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACxC;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;IAnID;;;;;;;;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,kCAqIC;AAvHG,gBAAgB;AACO,wBAAY,GAAG,qCAAqC,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;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IAkDxD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK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O,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,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,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;IAhFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,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;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IAkDvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,MAAM,CAAC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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
|
}
|