@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/input.d.ts CHANGED
@@ -5350,12 +5350,12 @@ export declare namespace cloudbuild {
5350
5350
  */
5351
5351
  owner?: pulumi.Input<string>;
5352
5352
  /**
5353
- * filter to match changes in pull requests. Specify only one of pullRequest or push.
5353
+ * filter to match changes in pull requests. Specify only one of `pullRequest` or `push`.
5354
5354
  * Structure is documented below.
5355
5355
  */
5356
5356
  pullRequest?: pulumi.Input<inputs.cloudbuild.TriggerGithubPullRequest>;
5357
5357
  /**
5358
- * filter to match changes in refs, like branches or tags. Specify only one of pullRequest or push.
5358
+ * filter to match changes in refs, like branches or tags. Specify only one of `pullRequest` or `push`.
5359
5359
  * Structure is documented below.
5360
5360
  */
5361
5361
  push?: pulumi.Input<inputs.cloudbuild.TriggerGithubPush>;
@@ -6121,6 +6121,13 @@ export declare namespace cloudrun {
6121
6121
  secret: pulumi.Input<inputs.cloudrun.ServiceTemplateSpecVolumeSecret>;
6122
6122
  }
6123
6123
  interface ServiceTemplateSpecVolumeSecret {
6124
+ /**
6125
+ * Mode bits to use on created files by default. Must be a value between 0000
6126
+ * and 0777. Defaults to 0644. Directories within the path are not affected by
6127
+ * this setting. This might be in conflict with other options that affect the
6128
+ * file mode, like fsGroup, and the result can be other mode bits set.
6129
+ */
6130
+ defaultMode?: pulumi.Input<number>;
6124
6131
  /**
6125
6132
  * If unspecified, the volume will expose a file whose name is the
6126
6133
  * secret_name.
@@ -6149,6 +6156,13 @@ export declare namespace cloudrun {
6149
6156
  * Can be 'latest' for the latest value or an integer for a specific version.
6150
6157
  */
6151
6158
  key: pulumi.Input<string>;
6159
+ /**
6160
+ * Mode bits to use on this file, must be a value between 0000 and 0777. If
6161
+ * not specified, the volume defaultMode will be used. This might be in
6162
+ * conflict with other options that affect the file mode, like fsGroup, and
6163
+ * the result can be other mode bits set.
6164
+ */
6165
+ mode?: pulumi.Input<number>;
6152
6166
  /**
6153
6167
  * The relative path of the file to map the key to.
6154
6168
  * May not be an absolute path.
@@ -9873,6 +9887,43 @@ export declare namespace compute {
9873
9887
  */
9874
9888
  seconds: pulumi.Input<number>;
9875
9889
  }
9890
+ interface RegionBackendServiceConnectionTrackingPolicy {
9891
+ /**
9892
+ * Specifies connection persistence when backends are unhealthy.
9893
+ * If set to `DEFAULT_FOR_PROTOCOL`, the existing connections persist on
9894
+ * unhealthy backends only for connection-oriented protocols (TCP and SCTP)
9895
+ * and only if the Tracking Mode is PER_CONNECTION (default tracking mode)
9896
+ * or the Session Affinity is configured for 5-tuple. They do not persist
9897
+ * for UDP.
9898
+ * If set to `NEVER_PERSIST`, after a backend becomes unhealthy, the existing
9899
+ * connections on the unhealthy backend are never persisted on the unhealthy
9900
+ * backend. They are always diverted to newly selected healthy backends
9901
+ * (unless all backends are unhealthy).
9902
+ * If set to `ALWAYS_PERSIST`, existing connections always persist on
9903
+ * unhealthy backends regardless of protocol and session affinity. It is
9904
+ * generally not recommended to use this mode overriding the default.
9905
+ * Default value is `DEFAULT_FOR_PROTOCOL`.
9906
+ * Possible values are `DEFAULT_FOR_PROTOCOL`, `NEVER_PERSIST`, and `ALWAYS_PERSIST`.
9907
+ */
9908
+ connectionPersistenceOnUnhealthyBackends?: pulumi.Input<string>;
9909
+ /**
9910
+ * Specifies how long to keep a Connection Tracking entry while there is
9911
+ * no matching traffic (in seconds).
9912
+ * For L4 ILB the minimum(default) is 10 minutes and maximum is 16 hours.
9913
+ * For NLB the minimum(default) is 60 seconds and the maximum is 16 hours.
9914
+ */
9915
+ idleTimeoutSec?: pulumi.Input<number>;
9916
+ /**
9917
+ * Specifies the key used for connection tracking. There are two options:
9918
+ * `PER_CONNECTION`: The Connection Tracking is performed as per the
9919
+ * Connection Key (default Hash Method) for the specific protocol.
9920
+ * `PER_SESSION`: The Connection Tracking is performed as per the
9921
+ * configured Session Affinity. It matches the configured Session Affinity.
9922
+ * Default value is `PER_CONNECTION`.
9923
+ * Possible values are `PER_CONNECTION` and `PER_SESSION`.
9924
+ */
9925
+ trackingMode?: pulumi.Input<string>;
9926
+ }
9876
9927
  interface RegionBackendServiceConsistentHash {
9877
9928
  /**
9878
9929
  * Hash is based on HTTP Cookie. This field describes a HTTP cookie
@@ -11865,6 +11916,28 @@ export declare namespace compute {
11865
11916
  */
11866
11917
  service: pulumi.Input<string>;
11867
11918
  }
11919
+ interface ReservationShareSettings {
11920
+ /**
11921
+ * A map of project number and project config. This is only valid when shareType's value is SPECIFIC_PROJECTS.
11922
+ * Structure is documented below.
11923
+ */
11924
+ projectMaps?: pulumi.Input<pulumi.Input<inputs.compute.ReservationShareSettingsProjectMap>[]>;
11925
+ /**
11926
+ * Type of sharing for this shared-reservation
11927
+ * Possible values are `LOCAL` and `SPECIFIC_PROJECTS`.
11928
+ */
11929
+ shareType?: pulumi.Input<string>;
11930
+ }
11931
+ interface ReservationShareSettingsProjectMap {
11932
+ /**
11933
+ * The identifier for this object. Format specified above.
11934
+ */
11935
+ id: pulumi.Input<string>;
11936
+ /**
11937
+ * The project id/number, should be same as the key of this project config in the project map.
11938
+ */
11939
+ projectId?: pulumi.Input<string>;
11940
+ }
11868
11941
  interface ReservationSpecificReservation {
11869
11942
  /**
11870
11943
  * The number of resources that are allocated.
@@ -15812,7 +15885,7 @@ export declare namespace container {
15812
15885
  }
15813
15886
  interface ClusterWorkloadIdentityConfig {
15814
15887
  /**
15815
- * The workload pool to attach all Kubernetes service accounts to. Currently, the only supported identity namespace is the project of the cluster.
15888
+ * The workload pool to attach all Kubernetes service accounts to.
15816
15889
  */
15817
15890
  workloadPool?: pulumi.Input<string>;
15818
15891
  }
@@ -16296,7 +16369,7 @@ export declare namespace dataloss {
16296
16369
  /**
16297
16370
  * Characters to not transform when masking.
16298
16371
  */
16299
- characterToSkip?: pulumi.Input<string>;
16372
+ charactersToSkip?: pulumi.Input<string>;
16300
16373
  /**
16301
16374
  * Common characters to not transform when masking. Useful to avoid removing punctuation.
16302
16375
  * Possible values are `NUMERIC`, `ALPHA_UPPER_CASE`, `ALPHA_LOWER_CASE`, `PUNCTUATION`, and `WHITESPACE`.
@@ -21399,6 +21472,24 @@ export declare namespace ml {
21399
21472
  }
21400
21473
  }
21401
21474
  export declare namespace monitoring {
21475
+ interface AlertPolicyAlertStrategy {
21476
+ /**
21477
+ * If an alert policy that was active has no data for this long, any open incidents will close.
21478
+ */
21479
+ autoClose?: pulumi.Input<string>;
21480
+ /**
21481
+ * Required for alert policies with a LogMatch condition.
21482
+ * This limit is not implemented for alert policies that are not log-based.
21483
+ * Structure is documented below.
21484
+ */
21485
+ notificationRateLimit?: pulumi.Input<inputs.monitoring.AlertPolicyAlertStrategyNotificationRateLimit>;
21486
+ }
21487
+ interface AlertPolicyAlertStrategyNotificationRateLimit {
21488
+ /**
21489
+ * Not more than one notification per period.
21490
+ */
21491
+ period?: pulumi.Input<string>;
21492
+ }
21402
21493
  interface AlertPolicyCondition {
21403
21494
  /**
21404
21495
  * A condition that checks that a time series
@@ -21406,6 +21497,12 @@ export declare namespace monitoring {
21406
21497
  * Structure is documented below.
21407
21498
  */
21408
21499
  conditionAbsent?: pulumi.Input<inputs.monitoring.AlertPolicyConditionConditionAbsent>;
21500
+ /**
21501
+ * A condition that checks for log messages matching given constraints.
21502
+ * If set, no other conditions can be present.
21503
+ * Structure is documented below.
21504
+ */
21505
+ conditionMatchedLog?: pulumi.Input<inputs.monitoring.AlertPolicyConditionConditionMatchedLog>;
21409
21506
  /**
21410
21507
  * A Monitoring Query Language query that outputs a boolean stream
21411
21508
  * Structure is documented below.
@@ -21473,18 +21570,7 @@ export declare namespace monitoring {
21473
21570
  */
21474
21571
  duration: pulumi.Input<string>;
21475
21572
  /**
21476
- * A filter that identifies which time series
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.
21573
+ * A logs-based filter.
21488
21574
  */
21489
21575
  filter?: pulumi.Input<string>;
21490
21576
  /**
@@ -21603,6 +21689,24 @@ export declare namespace monitoring {
21603
21689
  */
21604
21690
  percent?: pulumi.Input<number>;
21605
21691
  }
21692
+ interface AlertPolicyConditionConditionMatchedLog {
21693
+ /**
21694
+ * A logs-based filter.
21695
+ */
21696
+ filter: pulumi.Input<string>;
21697
+ /**
21698
+ * A map from a label key to an extractor expression, which is used to
21699
+ * extract the value for this label key. Each entry in this map is
21700
+ * a specification for how data should be extracted from log entries that
21701
+ * match filter. Each combination of extracted values is treated as
21702
+ * a separate rule for the purposes of triggering notifications.
21703
+ * Label keys and corresponding values can be used in notifications
21704
+ * generated by this condition.
21705
+ */
21706
+ labelExtractors?: pulumi.Input<{
21707
+ [key: string]: pulumi.Input<string>;
21708
+ }>;
21709
+ }
21606
21710
  interface AlertPolicyConditionConditionMonitoringQueryLanguage {
21607
21711
  /**
21608
21712
  * The amount of time that a time series must
@@ -21740,18 +21844,7 @@ export declare namespace monitoring {
21740
21844
  */
21741
21845
  duration: pulumi.Input<string>;
21742
21846
  /**
21743
- * A filter that identifies which time series
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.
21847
+ * A logs-based filter.
21755
21848
  */
21756
21849
  filter?: pulumi.Input<string>;
21757
21850
  /**
@@ -22548,6 +22641,46 @@ export declare namespace networkconnectivity {
22548
22641
  interface HubRoutingVpc {
22549
22642
  uri?: pulumi.Input<string>;
22550
22643
  }
22644
+ interface SpokeLinkedInterconnectAttachments {
22645
+ /**
22646
+ * 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.
22647
+ */
22648
+ siteToSiteDataTransfer: pulumi.Input<boolean>;
22649
+ /**
22650
+ * The URIs of linked VPN tunnel resources.
22651
+ */
22652
+ uris: pulumi.Input<pulumi.Input<string>[]>;
22653
+ }
22654
+ interface SpokeLinkedRouterApplianceInstances {
22655
+ /**
22656
+ * The list of router appliance instances
22657
+ */
22658
+ instances: pulumi.Input<pulumi.Input<inputs.networkconnectivity.SpokeLinkedRouterApplianceInstancesInstance>[]>;
22659
+ /**
22660
+ * 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.
22661
+ */
22662
+ siteToSiteDataTransfer: pulumi.Input<boolean>;
22663
+ }
22664
+ interface SpokeLinkedRouterApplianceInstancesInstance {
22665
+ /**
22666
+ * The IP address on the VM to use for peering.
22667
+ */
22668
+ ipAddress?: pulumi.Input<string>;
22669
+ /**
22670
+ * The URI of the virtual machine resource
22671
+ */
22672
+ virtualMachine?: pulumi.Input<string>;
22673
+ }
22674
+ interface SpokeLinkedVpnTunnels {
22675
+ /**
22676
+ * 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.
22677
+ */
22678
+ siteToSiteDataTransfer: pulumi.Input<boolean>;
22679
+ /**
22680
+ * The URIs of linked VPN tunnel resources.
22681
+ */
22682
+ uris: pulumi.Input<pulumi.Input<string>[]>;
22683
+ }
22551
22684
  }
22552
22685
  export declare namespace networkmanagement {
22553
22686
  interface ConnectivityTestDestination {
@@ -24532,7 +24665,7 @@ export declare namespace osconfig {
24532
24665
  */
24533
24666
  exec?: pulumi.Input<inputs.osconfig.OsPolicyAssignmentOsPolicyResourceGroupResourceExec>;
24534
24667
  /**
24535
- * Required. A deb package.
24668
+ * A remote or local source.
24536
24669
  */
24537
24670
  file?: pulumi.Input<inputs.osconfig.OsPolicyAssignmentOsPolicyResourceGroupResourceFile>;
24538
24671
  /**
@@ -24550,7 +24683,7 @@ export declare namespace osconfig {
24550
24683
  }
24551
24684
  interface OsPolicyAssignmentOsPolicyResourceGroupResourceExec {
24552
24685
  /**
24553
- * 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.
24686
+ * 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.
24554
24687
  */
24555
24688
  enforce?: pulumi.Input<inputs.osconfig.OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforce>;
24556
24689
  /**
@@ -24564,7 +24697,7 @@ export declare namespace osconfig {
24564
24697
  */
24565
24698
  args?: pulumi.Input<pulumi.Input<string>[]>;
24566
24699
  /**
24567
- * Required. A deb package.
24700
+ * A remote or local source.
24568
24701
  */
24569
24702
  file?: pulumi.Input<inputs.osconfig.OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceFile>;
24570
24703
  /**
@@ -24618,7 +24751,7 @@ export declare namespace osconfig {
24618
24751
  */
24619
24752
  sha256Checksum?: pulumi.Input<string>;
24620
24753
  /**
24621
- * Required. URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.
24754
+ * Required. URI for this repository.
24622
24755
  */
24623
24756
  uri: pulumi.Input<string>;
24624
24757
  }
@@ -24628,7 +24761,7 @@ export declare namespace osconfig {
24628
24761
  */
24629
24762
  args?: pulumi.Input<pulumi.Input<string>[]>;
24630
24763
  /**
24631
- * Required. A deb package.
24764
+ * A remote or local source.
24632
24765
  */
24633
24766
  file?: pulumi.Input<inputs.osconfig.OsPolicyAssignmentOsPolicyResourceGroupResourceExecValidateFile>;
24634
24767
  /**
@@ -24682,7 +24815,7 @@ export declare namespace osconfig {
24682
24815
  */
24683
24816
  sha256Checksum?: pulumi.Input<string>;
24684
24817
  /**
24685
- * Required. URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.
24818
+ * Required. URI for this repository.
24686
24819
  */
24687
24820
  uri: pulumi.Input<string>;
24688
24821
  }
@@ -24692,7 +24825,7 @@ export declare namespace osconfig {
24692
24825
  */
24693
24826
  content?: pulumi.Input<string>;
24694
24827
  /**
24695
- * Required. A deb package.
24828
+ * A remote or local source.
24696
24829
  */
24697
24830
  file?: pulumi.Input<inputs.osconfig.OsPolicyAssignmentOsPolicyResourceGroupResourceFileFile>;
24698
24831
  /**
@@ -24747,7 +24880,7 @@ export declare namespace osconfig {
24747
24880
  */
24748
24881
  sha256Checksum?: pulumi.Input<string>;
24749
24882
  /**
24750
- * Required. URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.
24883
+ * Required. URI for this repository.
24751
24884
  */
24752
24885
  uri: pulumi.Input<string>;
24753
24886
  }
@@ -24797,7 +24930,7 @@ export declare namespace osconfig {
24797
24930
  */
24798
24931
  pullDeps?: pulumi.Input<boolean>;
24799
24932
  /**
24800
- * Required. A deb package.
24933
+ * Required. An rpm package.
24801
24934
  */
24802
24935
  source: pulumi.Input<inputs.osconfig.OsPolicyAssignmentOsPolicyResourceGroupResourcePkgDebSource>;
24803
24936
  }
@@ -24839,7 +24972,7 @@ export declare namespace osconfig {
24839
24972
  */
24840
24973
  sha256Checksum?: pulumi.Input<string>;
24841
24974
  /**
24842
- * Required. URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.
24975
+ * Required. URI for this repository.
24843
24976
  */
24844
24977
  uri: pulumi.Input<string>;
24845
24978
  }
@@ -24855,7 +24988,7 @@ export declare namespace osconfig {
24855
24988
  */
24856
24989
  properties?: pulumi.Input<pulumi.Input<string>[]>;
24857
24990
  /**
24858
- * Required. A deb package.
24991
+ * Required. An rpm package.
24859
24992
  */
24860
24993
  source: pulumi.Input<inputs.osconfig.OsPolicyAssignmentOsPolicyResourceGroupResourcePkgMsiSource>;
24861
24994
  }
@@ -24897,7 +25030,7 @@ export declare namespace osconfig {
24897
25030
  */
24898
25031
  sha256Checksum?: pulumi.Input<string>;
24899
25032
  /**
24900
- * Required. URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.
25033
+ * Required. URI for this repository.
24901
25034
  */
24902
25035
  uri: pulumi.Input<string>;
24903
25036
  }
@@ -24907,7 +25040,7 @@ export declare namespace osconfig {
24907
25040
  */
24908
25041
  pullDeps?: pulumi.Input<boolean>;
24909
25042
  /**
24910
- * Required. A deb package.
25043
+ * Required. An rpm package.
24911
25044
  */
24912
25045
  source: pulumi.Input<inputs.osconfig.OsPolicyAssignmentOsPolicyResourceGroupResourcePkgRpmSource>;
24913
25046
  }
@@ -24949,7 +25082,7 @@ export declare namespace osconfig {
24949
25082
  */
24950
25083
  sha256Checksum?: pulumi.Input<string>;
24951
25084
  /**
24952
- * Required. URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.
25085
+ * Required. URI for this repository.
24953
25086
  */
24954
25087
  uri: pulumi.Input<string>;
24955
25088
  }
@@ -25001,7 +25134,7 @@ export declare namespace osconfig {
25001
25134
  */
25002
25135
  gpgKey?: pulumi.Input<string>;
25003
25136
  /**
25004
- * Required. URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.
25137
+ * Required. URI for this repository.
25005
25138
  */
25006
25139
  uri: pulumi.Input<string>;
25007
25140
  }