@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.
Files changed (52) hide show
  1. package/apigee/instance.d.ts +31 -1
  2. package/apigee/instance.js +2 -0
  3. package/apigee/instance.js.map +1 -1
  4. package/appengine/flexibleAppVersion.d.ts +6 -3
  5. package/appengine/flexibleAppVersion.js.map +1 -1
  6. package/appengine/standardAppVersion.d.ts +6 -3
  7. package/appengine/standardAppVersion.js.map +1 -1
  8. package/bigquery/dataTransferConfig.d.ts +9 -3
  9. package/bigquery/dataTransferConfig.js.map +1 -1
  10. package/certificateauthority/authority.d.ts +1 -2
  11. package/certificateauthority/authority.js +1 -2
  12. package/certificateauthority/authority.js.map +1 -1
  13. package/certificateauthority/certificate.d.ts +0 -2
  14. package/certificateauthority/certificate.js +0 -2
  15. package/certificateauthority/certificate.js.map +1 -1
  16. package/cloudrun/service.d.ts +2 -0
  17. package/cloudrun/service.js +2 -0
  18. package/cloudrun/service.js.map +1 -1
  19. package/compute/backendService.d.ts +48 -36
  20. package/compute/backendService.js +18 -0
  21. package/compute/backendService.js.map +1 -1
  22. package/compute/regionBackendService.d.ts +50 -35
  23. package/compute/regionBackendService.js +4 -2
  24. package/compute/regionBackendService.js.map +1 -1
  25. package/compute/reservation.d.ts +15 -0
  26. package/compute/reservation.js +2 -0
  27. package/compute/reservation.js.map +1 -1
  28. package/endpoints/serviceIamBinding.d.ts +4 -13
  29. package/endpoints/serviceIamBinding.js +4 -4
  30. package/endpoints/serviceIamBinding.js.map +1 -1
  31. package/endpoints/serviceIamMember.d.ts +4 -13
  32. package/endpoints/serviceIamMember.js +4 -4
  33. package/endpoints/serviceIamMember.js.map +1 -1
  34. package/endpoints/serviceIamPolicy.d.ts +4 -13
  35. package/endpoints/serviceIamPolicy.js +4 -4
  36. package/endpoints/serviceIamPolicy.js.map +1 -1
  37. package/monitoring/alertPolicy.d.ts +15 -0
  38. package/monitoring/alertPolicy.js +2 -0
  39. package/monitoring/alertPolicy.js.map +1 -1
  40. package/networkconnectivity/index.d.ts +1 -0
  41. package/networkconnectivity/index.js +5 -0
  42. package/networkconnectivity/index.js.map +1 -1
  43. package/networkconnectivity/spoke.d.ts +256 -0
  44. package/networkconnectivity/spoke.js +152 -0
  45. package/networkconnectivity/spoke.js.map +1 -0
  46. package/package.json +2 -2
  47. package/package.json.dev +1 -1
  48. package/storage/transferJob.d.ts +2 -2
  49. package/storage/transferJob.js +0 -3
  50. package/storage/transferJob.js.map +1 -1
  51. package/types/input.d.ts +176 -43
  52. package/types/output.d.ts +179 -44
package/types/output.d.ts CHANGED
@@ -5345,12 +5345,12 @@ export declare namespace cloudbuild {
5345
5345
  */
5346
5346
  owner?: string;
5347
5347
  /**
5348
- * filter to match changes in pull requests. Specify only one of pullRequest or push.
5348
+ * filter to match changes in pull requests. Specify only one of `pullRequest` or `push`.
5349
5349
  * Structure is documented below.
5350
5350
  */
5351
5351
  pullRequest?: outputs.cloudbuild.TriggerGithubPullRequest;
5352
5352
  /**
5353
- * filter to match changes in refs, like branches or tags. Specify only one of pullRequest or push.
5353
+ * filter to match changes in refs, like branches or tags. Specify only one of `pullRequest` or `push`.
5354
5354
  * Structure is documented below.
5355
5355
  */
5356
5356
  push?: outputs.cloudbuild.TriggerGithubPush;
@@ -5933,11 +5933,13 @@ export declare namespace cloudrun {
5933
5933
  secrets: outputs.cloudrun.GetServiceTemplateSpecVolumeSecret[];
5934
5934
  }
5935
5935
  interface GetServiceTemplateSpecVolumeSecret {
5936
+ defaultMode: number;
5936
5937
  items: outputs.cloudrun.GetServiceTemplateSpecVolumeSecretItem[];
5937
5938
  secretName: string;
5938
5939
  }
5939
5940
  interface GetServiceTemplateSpecVolumeSecretItem {
5940
5941
  key: string;
5942
+ mode: number;
5941
5943
  path: string;
5942
5944
  }
5943
5945
  interface GetServiceTraffic {
@@ -6122,7 +6124,7 @@ export declare namespace cloudrun {
6122
6124
  * and determines what permissions the revision has. If not provided, the revision
6123
6125
  * will use the project's default service account.
6124
6126
  */
6125
- serviceAccountName?: string;
6127
+ serviceAccountName: string;
6126
6128
  /**
6127
6129
  * -
6128
6130
  * ServingState holds a value describing the state the resources
@@ -6372,6 +6374,13 @@ export declare namespace cloudrun {
6372
6374
  secret: outputs.cloudrun.ServiceTemplateSpecVolumeSecret;
6373
6375
  }
6374
6376
  interface ServiceTemplateSpecVolumeSecret {
6377
+ /**
6378
+ * Mode bits to use on created files by default. Must be a value between 0000
6379
+ * and 0777. Defaults to 0644. Directories within the path are not affected by
6380
+ * this setting. This might be in conflict with other options that affect the
6381
+ * file mode, like fsGroup, and the result can be other mode bits set.
6382
+ */
6383
+ defaultMode?: number;
6375
6384
  /**
6376
6385
  * If unspecified, the volume will expose a file whose name is the
6377
6386
  * secret_name.
@@ -6400,6 +6409,13 @@ export declare namespace cloudrun {
6400
6409
  * Can be 'latest' for the latest value or an integer for a specific version.
6401
6410
  */
6402
6411
  key: string;
6412
+ /**
6413
+ * Mode bits to use on this file, must be a value between 0000 and 0777. If
6414
+ * not specified, the volume defaultMode will be used. This might be in
6415
+ * conflict with other options that affect the file mode, like fsGroup, and
6416
+ * the result can be other mode bits set.
6417
+ */
6418
+ mode?: number;
6403
6419
  /**
6404
6420
  * The relative path of the file to map the key to.
6405
6421
  * May not be an absolute path.
@@ -11023,6 +11039,43 @@ export declare namespace compute {
11023
11039
  */
11024
11040
  seconds: number;
11025
11041
  }
11042
+ interface RegionBackendServiceConnectionTrackingPolicy {
11043
+ /**
11044
+ * Specifies connection persistence when backends are unhealthy.
11045
+ * If set to `DEFAULT_FOR_PROTOCOL`, the existing connections persist on
11046
+ * unhealthy backends only for connection-oriented protocols (TCP and SCTP)
11047
+ * and only if the Tracking Mode is PER_CONNECTION (default tracking mode)
11048
+ * or the Session Affinity is configured for 5-tuple. They do not persist
11049
+ * for UDP.
11050
+ * If set to `NEVER_PERSIST`, after a backend becomes unhealthy, the existing
11051
+ * connections on the unhealthy backend are never persisted on the unhealthy
11052
+ * backend. They are always diverted to newly selected healthy backends
11053
+ * (unless all backends are unhealthy).
11054
+ * If set to `ALWAYS_PERSIST`, existing connections always persist on
11055
+ * unhealthy backends regardless of protocol and session affinity. It is
11056
+ * generally not recommended to use this mode overriding the default.
11057
+ * Default value is `DEFAULT_FOR_PROTOCOL`.
11058
+ * Possible values are `DEFAULT_FOR_PROTOCOL`, `NEVER_PERSIST`, and `ALWAYS_PERSIST`.
11059
+ */
11060
+ connectionPersistenceOnUnhealthyBackends?: string;
11061
+ /**
11062
+ * Specifies how long to keep a Connection Tracking entry while there is
11063
+ * no matching traffic (in seconds).
11064
+ * For L4 ILB the minimum(default) is 10 minutes and maximum is 16 hours.
11065
+ * For NLB the minimum(default) is 60 seconds and the maximum is 16 hours.
11066
+ */
11067
+ idleTimeoutSec: number;
11068
+ /**
11069
+ * Specifies the key used for connection tracking. There are two options:
11070
+ * `PER_CONNECTION`: The Connection Tracking is performed as per the
11071
+ * Connection Key (default Hash Method) for the specific protocol.
11072
+ * `PER_SESSION`: The Connection Tracking is performed as per the
11073
+ * configured Session Affinity. It matches the configured Session Affinity.
11074
+ * Default value is `PER_CONNECTION`.
11075
+ * Possible values are `PER_CONNECTION` and `PER_SESSION`.
11076
+ */
11077
+ trackingMode?: string;
11078
+ }
11026
11079
  interface RegionBackendServiceConsistentHash {
11027
11080
  /**
11028
11081
  * Hash is based on HTTP Cookie. This field describes a HTTP cookie
@@ -13015,6 +13068,28 @@ export declare namespace compute {
13015
13068
  */
13016
13069
  service: string;
13017
13070
  }
13071
+ interface ReservationShareSettings {
13072
+ /**
13073
+ * A map of project number and project config. This is only valid when shareType's value is SPECIFIC_PROJECTS.
13074
+ * Structure is documented below.
13075
+ */
13076
+ projectMaps?: outputs.compute.ReservationShareSettingsProjectMap[];
13077
+ /**
13078
+ * Type of sharing for this shared-reservation
13079
+ * Possible values are `LOCAL` and `SPECIFIC_PROJECTS`.
13080
+ */
13081
+ shareType: string;
13082
+ }
13083
+ interface ReservationShareSettingsProjectMap {
13084
+ /**
13085
+ * The identifier for this object. Format specified above.
13086
+ */
13087
+ id: string;
13088
+ /**
13089
+ * The project id/number, should be same as the key of this project config in the project map.
13090
+ */
13091
+ projectId?: string;
13092
+ }
13018
13093
  interface ReservationSpecificReservation {
13019
13094
  /**
13020
13095
  * The number of resources that are allocated.
@@ -17022,7 +17097,7 @@ export declare namespace container {
17022
17097
  }
17023
17098
  interface ClusterWorkloadIdentityConfig {
17024
17099
  /**
17025
- * The workload pool to attach all Kubernetes service accounts to. Currently, the only supported identity namespace is the project of the cluster.
17100
+ * The workload pool to attach all Kubernetes service accounts to.
17026
17101
  */
17027
17102
  workloadPool?: string;
17028
17103
  }
@@ -17844,7 +17919,7 @@ export declare namespace dataloss {
17844
17919
  /**
17845
17920
  * Characters to not transform when masking.
17846
17921
  */
17847
- characterToSkip?: string;
17922
+ charactersToSkip?: string;
17848
17923
  /**
17849
17924
  * Common characters to not transform when masking. Useful to avoid removing punctuation.
17850
17925
  * Possible values are `NUMERIC`, `ALPHA_UPPER_CASE`, `ALPHA_LOWER_CASE`, `PUNCTUATION`, and `WHITESPACE`.
@@ -23117,6 +23192,24 @@ export declare namespace ml {
23117
23192
  }
23118
23193
  }
23119
23194
  export declare namespace monitoring {
23195
+ interface AlertPolicyAlertStrategy {
23196
+ /**
23197
+ * If an alert policy that was active has no data for this long, any open incidents will close.
23198
+ */
23199
+ autoClose?: string;
23200
+ /**
23201
+ * Required for alert policies with a LogMatch condition.
23202
+ * This limit is not implemented for alert policies that are not log-based.
23203
+ * Structure is documented below.
23204
+ */
23205
+ notificationRateLimit?: outputs.monitoring.AlertPolicyAlertStrategyNotificationRateLimit;
23206
+ }
23207
+ interface AlertPolicyAlertStrategyNotificationRateLimit {
23208
+ /**
23209
+ * Not more than one notification per period.
23210
+ */
23211
+ period?: string;
23212
+ }
23120
23213
  interface AlertPolicyCondition {
23121
23214
  /**
23122
23215
  * A condition that checks that a time series
@@ -23124,6 +23217,12 @@ export declare namespace monitoring {
23124
23217
  * Structure is documented below.
23125
23218
  */
23126
23219
  conditionAbsent?: outputs.monitoring.AlertPolicyConditionConditionAbsent;
23220
+ /**
23221
+ * A condition that checks for log messages matching given constraints.
23222
+ * If set, no other conditions can be present.
23223
+ * Structure is documented below.
23224
+ */
23225
+ conditionMatchedLog?: outputs.monitoring.AlertPolicyConditionConditionMatchedLog;
23127
23226
  /**
23128
23227
  * A Monitoring Query Language query that outputs a boolean stream
23129
23228
  * Structure is documented below.
@@ -23191,18 +23290,7 @@ export declare namespace monitoring {
23191
23290
  */
23192
23291
  duration: string;
23193
23292
  /**
23194
- * A filter that identifies which time series
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.
23293
+ * A logs-based filter.
23206
23294
  */
23207
23295
  filter?: string;
23208
23296
  /**
@@ -23321,6 +23409,24 @@ export declare namespace monitoring {
23321
23409
  */
23322
23410
  percent?: number;
23323
23411
  }
23412
+ interface AlertPolicyConditionConditionMatchedLog {
23413
+ /**
23414
+ * A logs-based filter.
23415
+ */
23416
+ filter: string;
23417
+ /**
23418
+ * A map from a label key to an extractor expression, which is used to
23419
+ * extract the value for this label key. Each entry in this map is
23420
+ * a specification for how data should be extracted from log entries that
23421
+ * match filter. Each combination of extracted values is treated as
23422
+ * a separate rule for the purposes of triggering notifications.
23423
+ * Label keys and corresponding values can be used in notifications
23424
+ * generated by this condition.
23425
+ */
23426
+ labelExtractors?: {
23427
+ [key: string]: string;
23428
+ };
23429
+ }
23324
23430
  interface AlertPolicyConditionConditionMonitoringQueryLanguage {
23325
23431
  /**
23326
23432
  * The amount of time that a time series must
@@ -23458,18 +23564,7 @@ export declare namespace monitoring {
23458
23564
  */
23459
23565
  duration: string;
23460
23566
  /**
23461
- * A filter that identifies which time series
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.
23567
+ * A logs-based filter.
23473
23568
  */
23474
23569
  filter?: string;
23475
23570
  /**
@@ -24301,6 +24396,46 @@ export declare namespace networkconnectivity {
24301
24396
  interface HubRoutingVpc {
24302
24397
  uri: string;
24303
24398
  }
24399
+ interface SpokeLinkedInterconnectAttachments {
24400
+ /**
24401
+ * A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.
24402
+ */
24403
+ siteToSiteDataTransfer: boolean;
24404
+ /**
24405
+ * The URIs of linked VPN tunnel resources.
24406
+ */
24407
+ uris: string[];
24408
+ }
24409
+ interface SpokeLinkedRouterApplianceInstances {
24410
+ /**
24411
+ * The list of router appliance instances
24412
+ */
24413
+ instances: outputs.networkconnectivity.SpokeLinkedRouterApplianceInstancesInstance[];
24414
+ /**
24415
+ * A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.
24416
+ */
24417
+ siteToSiteDataTransfer: boolean;
24418
+ }
24419
+ interface SpokeLinkedRouterApplianceInstancesInstance {
24420
+ /**
24421
+ * The IP address on the VM to use for peering.
24422
+ */
24423
+ ipAddress?: string;
24424
+ /**
24425
+ * The URI of the virtual machine resource
24426
+ */
24427
+ virtualMachine?: string;
24428
+ }
24429
+ interface SpokeLinkedVpnTunnels {
24430
+ /**
24431
+ * A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.
24432
+ */
24433
+ siteToSiteDataTransfer: boolean;
24434
+ /**
24435
+ * The URIs of linked VPN tunnel resources.
24436
+ */
24437
+ uris: string[];
24438
+ }
24304
24439
  }
24305
24440
  export declare namespace networkmanagement {
24306
24441
  interface ConnectivityTestDestination {
@@ -26262,7 +26397,7 @@ export declare namespace osconfig {
26262
26397
  */
26263
26398
  exec?: outputs.osconfig.OsPolicyAssignmentOsPolicyResourceGroupResourceExec;
26264
26399
  /**
26265
- * Required. A deb package.
26400
+ * A remote or local source.
26266
26401
  */
26267
26402
  file?: outputs.osconfig.OsPolicyAssignmentOsPolicyResourceGroupResourceFile;
26268
26403
  /**
@@ -26280,7 +26415,7 @@ export declare namespace osconfig {
26280
26415
  }
26281
26416
  interface OsPolicyAssignmentOsPolicyResourceGroupResourceExec {
26282
26417
  /**
26283
- * Required. What to run to validate this resource is in the desired state. An exit code of 100 indicates "in desired state", and exit code of 101 indicates "not in desired state". Any other exit code indicates a failure running validate.
26418
+ * What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce.
26284
26419
  */
26285
26420
  enforce?: outputs.osconfig.OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforce;
26286
26421
  /**
@@ -26294,7 +26429,7 @@ export declare namespace osconfig {
26294
26429
  */
26295
26430
  args?: string[];
26296
26431
  /**
26297
- * Required. A deb package.
26432
+ * A remote or local source.
26298
26433
  */
26299
26434
  file?: outputs.osconfig.OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceFile;
26300
26435
  /**
@@ -26348,7 +26483,7 @@ export declare namespace osconfig {
26348
26483
  */
26349
26484
  sha256Checksum?: string;
26350
26485
  /**
26351
- * Required. URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.
26486
+ * Required. URI for this repository.
26352
26487
  */
26353
26488
  uri: string;
26354
26489
  }
@@ -26358,7 +26493,7 @@ export declare namespace osconfig {
26358
26493
  */
26359
26494
  args?: string[];
26360
26495
  /**
26361
- * Required. A deb package.
26496
+ * A remote or local source.
26362
26497
  */
26363
26498
  file?: outputs.osconfig.OsPolicyAssignmentOsPolicyResourceGroupResourceExecValidateFile;
26364
26499
  /**
@@ -26412,7 +26547,7 @@ export declare namespace osconfig {
26412
26547
  */
26413
26548
  sha256Checksum?: string;
26414
26549
  /**
26415
- * Required. URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.
26550
+ * Required. URI for this repository.
26416
26551
  */
26417
26552
  uri: string;
26418
26553
  }
@@ -26422,7 +26557,7 @@ export declare namespace osconfig {
26422
26557
  */
26423
26558
  content?: string;
26424
26559
  /**
26425
- * Required. A deb package.
26560
+ * A remote or local source.
26426
26561
  */
26427
26562
  file?: outputs.osconfig.OsPolicyAssignmentOsPolicyResourceGroupResourceFileFile;
26428
26563
  /**
@@ -26477,7 +26612,7 @@ export declare namespace osconfig {
26477
26612
  */
26478
26613
  sha256Checksum?: string;
26479
26614
  /**
26480
- * Required. URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.
26615
+ * Required. URI for this repository.
26481
26616
  */
26482
26617
  uri: string;
26483
26618
  }
@@ -26527,7 +26662,7 @@ export declare namespace osconfig {
26527
26662
  */
26528
26663
  pullDeps?: boolean;
26529
26664
  /**
26530
- * Required. A deb package.
26665
+ * Required. An rpm package.
26531
26666
  */
26532
26667
  source: outputs.osconfig.OsPolicyAssignmentOsPolicyResourceGroupResourcePkgDebSource;
26533
26668
  }
@@ -26569,7 +26704,7 @@ export declare namespace osconfig {
26569
26704
  */
26570
26705
  sha256Checksum?: string;
26571
26706
  /**
26572
- * Required. URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.
26707
+ * Required. URI for this repository.
26573
26708
  */
26574
26709
  uri: string;
26575
26710
  }
@@ -26585,7 +26720,7 @@ export declare namespace osconfig {
26585
26720
  */
26586
26721
  properties?: string[];
26587
26722
  /**
26588
- * Required. A deb package.
26723
+ * Required. An rpm package.
26589
26724
  */
26590
26725
  source: outputs.osconfig.OsPolicyAssignmentOsPolicyResourceGroupResourcePkgMsiSource;
26591
26726
  }
@@ -26627,7 +26762,7 @@ export declare namespace osconfig {
26627
26762
  */
26628
26763
  sha256Checksum?: string;
26629
26764
  /**
26630
- * Required. URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.
26765
+ * Required. URI for this repository.
26631
26766
  */
26632
26767
  uri: string;
26633
26768
  }
@@ -26637,7 +26772,7 @@ export declare namespace osconfig {
26637
26772
  */
26638
26773
  pullDeps?: boolean;
26639
26774
  /**
26640
- * Required. A deb package.
26775
+ * Required. An rpm package.
26641
26776
  */
26642
26777
  source: outputs.osconfig.OsPolicyAssignmentOsPolicyResourceGroupResourcePkgRpmSource;
26643
26778
  }
@@ -26679,7 +26814,7 @@ export declare namespace osconfig {
26679
26814
  */
26680
26815
  sha256Checksum?: string;
26681
26816
  /**
26682
- * Required. URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.
26817
+ * Required. URI for this repository.
26683
26818
  */
26684
26819
  uri: string;
26685
26820
  }
@@ -26731,7 +26866,7 @@ export declare namespace osconfig {
26731
26866
  */
26732
26867
  gpgKey?: string;
26733
26868
  /**
26734
- * Required. URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.
26869
+ * Required. URI for this repository.
26735
26870
  */
26736
26871
  uri: string;
26737
26872
  }