@pulumi/gcp 6.14.0 → 6.15.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 (71) hide show
  1. package/apigee/endpointAttachment.d.ts +161 -0
  2. package/apigee/endpointAttachment.js +127 -0
  3. package/apigee/endpointAttachment.js.map +1 -0
  4. package/apigee/index.d.ts +1 -0
  5. package/apigee/index.js +5 -0
  6. package/apigee/index.js.map +1 -1
  7. package/certificateauthority/caPool.d.ts +91 -0
  8. package/certificateauthority/caPool.js +91 -0
  9. package/certificateauthority/caPool.js.map +1 -1
  10. package/certificateauthority/getAuthority.d.ts +97 -0
  11. package/certificateauthority/getAuthority.js +43 -0
  12. package/certificateauthority/getAuthority.js.map +1 -0
  13. package/certificateauthority/index.d.ts +1 -0
  14. package/certificateauthority/index.js +1 -0
  15. package/certificateauthority/index.js.map +1 -1
  16. package/cloudfunctionsv2/function.d.ts +301 -0
  17. package/cloudfunctionsv2/function.js +186 -0
  18. package/cloudfunctionsv2/function.js.map +1 -0
  19. package/cloudfunctionsv2/index.d.ts +1 -0
  20. package/cloudfunctionsv2/index.js +37 -0
  21. package/cloudfunctionsv2/index.js.map +1 -0
  22. package/composer/environment.d.ts +1 -1
  23. package/compute/address.d.ts +3 -3
  24. package/compute/globalForwardingRule.d.ts +153 -0
  25. package/compute/globalForwardingRule.js +153 -0
  26. package/compute/globalForwardingRule.js.map +1 -1
  27. package/compute/index.d.ts +3 -0
  28. package/compute/index.js +15 -0
  29. package/compute/index.js.map +1 -1
  30. package/compute/regionBackendServiceIamBinding.d.ts +57 -0
  31. package/compute/regionBackendServiceIamBinding.js +67 -0
  32. package/compute/regionBackendServiceIamBinding.js.map +1 -0
  33. package/compute/regionBackendServiceIamMember.d.ts +57 -0
  34. package/compute/regionBackendServiceIamMember.js +67 -0
  35. package/compute/regionBackendServiceIamMember.js.map +1 -0
  36. package/compute/regionBackendServiceIamPolicy.d.ts +50 -0
  37. package/compute/regionBackendServiceIamPolicy.js +60 -0
  38. package/compute/regionBackendServiceIamPolicy.js.map +1 -0
  39. package/config/vars.d.ts +1 -0
  40. package/config/vars.js +6 -0
  41. package/config/vars.js.map +1 -1
  42. package/container/cluster.d.ts +1 -1
  43. package/dns/getRecordSet.d.ts +83 -0
  44. package/dns/getRecordSet.js +48 -0
  45. package/dns/getRecordSet.js.map +1 -0
  46. package/dns/index.d.ts +1 -0
  47. package/dns/index.js +1 -0
  48. package/dns/index.js.map +1 -1
  49. package/index.d.ts +2 -1
  50. package/index.js +4 -2
  51. package/index.js.map +1 -1
  52. package/package.json +2 -2
  53. package/package.json.dev +2 -2
  54. package/provider.d.ts +2 -0
  55. package/provider.js +1 -0
  56. package/provider.js.map +1 -1
  57. package/serviceaccount/iambinding.d.ts +12 -12
  58. package/serviceaccount/iambinding.js +12 -12
  59. package/serviceaccount/iammember.d.ts +12 -12
  60. package/serviceaccount/iammember.js +12 -12
  61. package/serviceaccount/iampolicy.d.ts +12 -12
  62. package/serviceaccount/iampolicy.js +12 -12
  63. package/sql/database.d.ts +1 -0
  64. package/sql/database.js +1 -0
  65. package/sql/database.js.map +1 -1
  66. package/sql/user.d.ts +6 -3
  67. package/sql/user.js.map +1 -1
  68. package/storage/getTransferProjectServieAccount.d.ts +5 -1
  69. package/storage/getTransferProjectServieAccount.js.map +1 -1
  70. package/types/input.d.ts +236 -3
  71. package/types/output.d.ts +327 -4
package/types/output.d.ts CHANGED
@@ -4891,6 +4891,89 @@ export declare namespace certificateauthority {
4891
4891
  */
4892
4892
  objectIdPaths: number[];
4893
4893
  }
4894
+ interface GetAuthorityAccessUrl {
4895
+ caCertificateAccessUrl: string;
4896
+ crlAccessUrls: string[];
4897
+ }
4898
+ interface GetAuthorityConfig {
4899
+ subjectConfigs: outputs.certificateauthority.GetAuthorityConfigSubjectConfig[];
4900
+ x509Configs: outputs.certificateauthority.GetAuthorityConfigX509Config[];
4901
+ }
4902
+ interface GetAuthorityConfigSubjectConfig {
4903
+ subjectAltNames: outputs.certificateauthority.GetAuthorityConfigSubjectConfigSubjectAltName[];
4904
+ subjects: outputs.certificateauthority.GetAuthorityConfigSubjectConfigSubject[];
4905
+ }
4906
+ interface GetAuthorityConfigSubjectConfigSubject {
4907
+ commonName: string;
4908
+ countryCode: string;
4909
+ locality: string;
4910
+ organization: string;
4911
+ organizationalUnit: string;
4912
+ postalCode: string;
4913
+ province: string;
4914
+ streetAddress: string;
4915
+ }
4916
+ interface GetAuthorityConfigSubjectConfigSubjectAltName {
4917
+ dnsNames: string[];
4918
+ emailAddresses: string[];
4919
+ ipAddresses: string[];
4920
+ uris: string[];
4921
+ }
4922
+ interface GetAuthorityConfigX509Config {
4923
+ additionalExtensions: outputs.certificateauthority.GetAuthorityConfigX509ConfigAdditionalExtension[];
4924
+ aiaOcspServers: string[];
4925
+ caOptions: outputs.certificateauthority.GetAuthorityConfigX509ConfigCaOption[];
4926
+ keyUsages: outputs.certificateauthority.GetAuthorityConfigX509ConfigKeyUsage[];
4927
+ policyIds: outputs.certificateauthority.GetAuthorityConfigX509ConfigPolicyId[];
4928
+ }
4929
+ interface GetAuthorityConfigX509ConfigAdditionalExtension {
4930
+ critical: boolean;
4931
+ objectIds: outputs.certificateauthority.GetAuthorityConfigX509ConfigAdditionalExtensionObjectId[];
4932
+ value: string;
4933
+ }
4934
+ interface GetAuthorityConfigX509ConfigAdditionalExtensionObjectId {
4935
+ objectIdPaths: number[];
4936
+ }
4937
+ interface GetAuthorityConfigX509ConfigCaOption {
4938
+ isCa: boolean;
4939
+ maxIssuerPathLength: number;
4940
+ nonCa: boolean;
4941
+ zeroMaxIssuerPathLength: boolean;
4942
+ }
4943
+ interface GetAuthorityConfigX509ConfigKeyUsage {
4944
+ baseKeyUsages: outputs.certificateauthority.GetAuthorityConfigX509ConfigKeyUsageBaseKeyUsage[];
4945
+ extendedKeyUsages: outputs.certificateauthority.GetAuthorityConfigX509ConfigKeyUsageExtendedKeyUsage[];
4946
+ unknownExtendedKeyUsages: outputs.certificateauthority.GetAuthorityConfigX509ConfigKeyUsageUnknownExtendedKeyUsage[];
4947
+ }
4948
+ interface GetAuthorityConfigX509ConfigKeyUsageBaseKeyUsage {
4949
+ certSign: boolean;
4950
+ contentCommitment: boolean;
4951
+ crlSign: boolean;
4952
+ dataEncipherment: boolean;
4953
+ decipherOnly: boolean;
4954
+ digitalSignature: boolean;
4955
+ encipherOnly: boolean;
4956
+ keyAgreement: boolean;
4957
+ keyEncipherment: boolean;
4958
+ }
4959
+ interface GetAuthorityConfigX509ConfigKeyUsageExtendedKeyUsage {
4960
+ clientAuth: boolean;
4961
+ codeSigning: boolean;
4962
+ emailProtection: boolean;
4963
+ ocspSigning: boolean;
4964
+ serverAuth: boolean;
4965
+ timeStamping: boolean;
4966
+ }
4967
+ interface GetAuthorityConfigX509ConfigKeyUsageUnknownExtendedKeyUsage {
4968
+ objectIdPaths: number[];
4969
+ }
4970
+ interface GetAuthorityConfigX509ConfigPolicyId {
4971
+ objectIdPaths: number[];
4972
+ }
4973
+ interface GetAuthorityKeySpec {
4974
+ algorithm: string;
4975
+ cloudKmsKeyVersion: string;
4976
+ }
4894
4977
  }
4895
4978
  export declare namespace cloudasset {
4896
4979
  interface FolderFeedCondition {
@@ -5560,7 +5643,7 @@ export declare namespace cloudbuild {
5560
5643
  /**
5561
5644
  * If true, workers are created without any public address, which prevents network egress to public IPs.
5562
5645
  */
5563
- noExternalIp?: boolean;
5646
+ noExternalIp: boolean;
5564
5647
  }
5565
5648
  }
5566
5649
  export declare namespace cloudfunctions {
@@ -5696,6 +5779,209 @@ export declare namespace cloudfunctions {
5696
5779
  url: string;
5697
5780
  }
5698
5781
  }
5782
+ export declare namespace cloudfunctionsv2 {
5783
+ interface FunctionBuildConfig {
5784
+ /**
5785
+ * -
5786
+ * The Cloud Build name of the latest successful
5787
+ * deployment of the function.
5788
+ */
5789
+ build: string;
5790
+ /**
5791
+ * User managed repository created in Artifact Registry optionally with a customer managed encryption key.
5792
+ */
5793
+ dockerRepository?: string;
5794
+ /**
5795
+ * The name of the function (as defined in source code) that will be executed.
5796
+ * Defaults to the resource name suffix, if not specified. For backward
5797
+ * compatibility, if function with given name is not found, then the system
5798
+ * will try to use function named "function". For Node.js this is name of a
5799
+ * function exported by the module specified in source_location.
5800
+ */
5801
+ entryPoint?: string;
5802
+ /**
5803
+ * Environment variables that shall be available during function execution.
5804
+ */
5805
+ environmentVariables: {
5806
+ [key: string]: string;
5807
+ };
5808
+ /**
5809
+ * The runtime in which to run the function. Required when deploying a new
5810
+ * function, optional when updating an existing function.
5811
+ */
5812
+ runtime?: string;
5813
+ /**
5814
+ * The location of the function source code.
5815
+ * Structure is documented below.
5816
+ */
5817
+ source?: outputs.cloudfunctionsv2.FunctionBuildConfigSource;
5818
+ /**
5819
+ * Name of the Cloud Build Custom Worker Pool that should be used to build the function.
5820
+ */
5821
+ workerPool?: string;
5822
+ }
5823
+ interface FunctionBuildConfigSource {
5824
+ /**
5825
+ * If provided, get the source from this location in a Cloud Source Repository.
5826
+ * Structure is documented below.
5827
+ */
5828
+ repoSource?: outputs.cloudfunctionsv2.FunctionBuildConfigSourceRepoSource;
5829
+ /**
5830
+ * If provided, get the source from this location in Google Cloud Storage.
5831
+ * Structure is documented below.
5832
+ */
5833
+ storageSource?: outputs.cloudfunctionsv2.FunctionBuildConfigSourceStorageSource;
5834
+ }
5835
+ interface FunctionBuildConfigSourceRepoSource {
5836
+ /**
5837
+ * Regex matching branches to build.
5838
+ */
5839
+ branchName?: string;
5840
+ /**
5841
+ * Regex matching tags to build.
5842
+ */
5843
+ commitSha?: string;
5844
+ /**
5845
+ * Directory, relative to the source root, in which to run the build.
5846
+ */
5847
+ dir?: string;
5848
+ /**
5849
+ * Only trigger a build if the revision regex does
5850
+ * NOT match the revision regex.
5851
+ */
5852
+ invertRegex?: boolean;
5853
+ /**
5854
+ * ID of the project that owns the Cloud Source Repository. If omitted, the
5855
+ * project ID requesting the build is assumed.
5856
+ */
5857
+ projectId?: string;
5858
+ /**
5859
+ * Name of the Cloud Source Repository.
5860
+ */
5861
+ repoName?: string;
5862
+ /**
5863
+ * Regex matching tags to build.
5864
+ */
5865
+ tagName?: string;
5866
+ }
5867
+ interface FunctionBuildConfigSourceStorageSource {
5868
+ /**
5869
+ * Google Cloud Storage bucket containing the source
5870
+ */
5871
+ bucket?: string;
5872
+ /**
5873
+ * Google Cloud Storage generation for the object. If the generation
5874
+ * is omitted, the latest generation will be used.
5875
+ */
5876
+ generation?: number;
5877
+ /**
5878
+ * Google Cloud Storage object containing the source.
5879
+ */
5880
+ object?: string;
5881
+ }
5882
+ interface FunctionEventTrigger {
5883
+ /**
5884
+ * Required. The type of event to observe.
5885
+ */
5886
+ eventType?: string;
5887
+ /**
5888
+ * The name of a Pub/Sub topic in the same project that will be used
5889
+ * as the transport topic for the event delivery.
5890
+ */
5891
+ pubsubTopic?: string;
5892
+ /**
5893
+ * Describes the retry policy in case of function's execution failure.
5894
+ * Retried execution is charged as any other execution.
5895
+ * Possible values are `RETRY_POLICY_UNSPECIFIED`, `RETRY_POLICY_DO_NOT_RETRY`, and `RETRY_POLICY_RETRY`.
5896
+ */
5897
+ retryPolicy?: string;
5898
+ /**
5899
+ * -
5900
+ * The email of the service account for this function.
5901
+ */
5902
+ serviceAccountEmail: string;
5903
+ /**
5904
+ * -
5905
+ * The resource name of the Eventarc trigger.
5906
+ */
5907
+ trigger: string;
5908
+ /**
5909
+ * The region that the trigger will be in. The trigger will only receive
5910
+ * events originating in this region. It can be the same
5911
+ * region as the function, a different region or multi-region, or the global
5912
+ * region. If not provided, defaults to the same region as the function.
5913
+ */
5914
+ triggerRegion?: string;
5915
+ }
5916
+ interface FunctionServiceConfig {
5917
+ /**
5918
+ * Whether 100% of traffic is routed to the latest revision. Defaults to true.
5919
+ */
5920
+ allTrafficOnLatestRevision?: boolean;
5921
+ /**
5922
+ * The amount of memory available for a function.
5923
+ * Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is
5924
+ * supplied the value is interpreted as bytes.
5925
+ */
5926
+ availableMemory?: string;
5927
+ /**
5928
+ * Environment variables that shall be available during function execution.
5929
+ */
5930
+ environmentVariables?: {
5931
+ [key: string]: string;
5932
+ };
5933
+ /**
5934
+ * -
5935
+ * URIs of the Service deployed
5936
+ */
5937
+ gcfUri: string;
5938
+ /**
5939
+ * Available ingress settings. Defaults to "ALLOW_ALL" if unspecified.
5940
+ * Default value is `ALLOW_ALL`.
5941
+ * Possible values are `ALLOW_ALL`, `ALLOW_INTERNAL_ONLY`, and `ALLOW_INTERNAL_AND_GCLB`.
5942
+ */
5943
+ ingressSettings?: string;
5944
+ /**
5945
+ * The limit on the maximum number of function instances that may coexist at a
5946
+ * given time.
5947
+ */
5948
+ maxInstanceCount?: number;
5949
+ /**
5950
+ * The limit on the minimum number of function instances that may coexist at a
5951
+ * given time.
5952
+ */
5953
+ minInstanceCount?: number;
5954
+ /**
5955
+ * Name of the service associated with a Function.
5956
+ */
5957
+ service: string;
5958
+ /**
5959
+ * -
5960
+ * The email of the service account for this function.
5961
+ */
5962
+ serviceAccountEmail: string;
5963
+ /**
5964
+ * The function execution timeout. Execution is considered failed and
5965
+ * can be terminated if the function is not completed at the end of the
5966
+ * timeout period. Defaults to 60 seconds.
5967
+ */
5968
+ timeoutSeconds?: number;
5969
+ /**
5970
+ * -
5971
+ * URI of the Service deployed.
5972
+ */
5973
+ uri: string;
5974
+ /**
5975
+ * The Serverless VPC Access connector that this cloud function can connect to.
5976
+ */
5977
+ vpcConnector?: string;
5978
+ /**
5979
+ * Available egress settings.
5980
+ * Possible values are `VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED`, `PRIVATE_RANGES_ONLY`, and `ALL_TRAFFIC`.
5981
+ */
5982
+ vpcConnectorEgressSettings?: string;
5983
+ }
5984
+ }
5699
5985
  export declare namespace cloudidentity {
5700
5986
  interface GetGroupMembershipsMembership {
5701
5987
  createTime: string;
@@ -8604,6 +8890,9 @@ export declare namespace compute {
8604
8890
  * Whether the instance is preemptible.
8605
8891
  */
8606
8892
  preemptible: boolean;
8893
+ /**
8894
+ * (Beta) Describe the type of preemptible VM.
8895
+ */
8607
8896
  provisioningModel: string;
8608
8897
  }
8609
8898
  interface GetInstanceSchedulingNodeAffinity {
@@ -8869,6 +9158,9 @@ export declare namespace compute {
8869
9158
  * [here](https://cloud.google.com/compute/docs/instances/preemptible).
8870
9159
  */
8871
9160
  preemptible: boolean;
9161
+ /**
9162
+ * (Beta) Describe the type of preemptible VM.
9163
+ */
8872
9164
  provisioningModel: string;
8873
9165
  }
8874
9166
  interface GetInstanceTemplateSchedulingNodeAffinity {
@@ -8984,6 +9276,7 @@ export declare namespace compute {
8984
9276
  advertisedGroups: string[];
8985
9277
  advertisedIpRanges: outputs.compute.GetRouterBgpAdvertisedIpRange[];
8986
9278
  asn: number;
9279
+ keepaliveInterval: number;
8987
9280
  }
8988
9281
  interface GetRouterBgpAdvertisedIpRange {
8989
9282
  description: string;
@@ -9416,7 +9709,7 @@ export declare namespace compute {
9416
9709
  deviceName: string;
9417
9710
  /**
9418
9711
  * A 256-bit [customer-supplied encryption key]
9419
- * (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption),
9712
+ * (<https://cloud.google.com/compute/docs/disks/customer-supplied-encryption>),
9420
9713
  * encoded in [RFC 4648 base64](https://tools.ietf.org/html/rfc4648#section-4)
9421
9714
  * to encrypt this disk. Only one of `kmsKeySelfLink` and `diskEncryptionKeyRaw` may be set.
9422
9715
  */
@@ -9453,7 +9746,7 @@ export declare namespace compute {
9453
9746
  deviceName: string;
9454
9747
  /**
9455
9748
  * A 256-bit [customer-supplied encryption key]
9456
- * (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption),
9749
+ * (<https://cloud.google.com/compute/docs/disks/customer-supplied-encryption>),
9457
9750
  * encoded in [RFC 4648 base64](https://tools.ietf.org/html/rfc4648#section-4)
9458
9751
  * to encrypt this disk. Only one of `kmsKeySelfLink` and `diskEncryptionKeyRaw` may be set.
9459
9752
  */
@@ -10082,6 +10375,12 @@ export declare namespace compute {
10082
10375
  * set to false. Defaults to false.
10083
10376
  */
10084
10377
  preemptible?: boolean;
10378
+ /**
10379
+ * Describe the type of preemptible VM. This field accepts the value `STANDARD` or `SPOT`. If the value is `STANDARD`, there will be no discount. If this is set to `SPOT`,
10380
+ * `preemptible` should be `true` and `autoRestart` should be
10381
+ * `false`. For more info about
10382
+ * `SPOT`, read [here](https://cloud.google.com/compute/docs/instances/spot)
10383
+ */
10085
10384
  provisioningModel: string;
10086
10385
  }
10087
10386
  interface InstanceSchedulingNodeAffinity {
@@ -10406,6 +10705,12 @@ export declare namespace compute {
10406
10705
  * [here](https://cloud.google.com/compute/docs/instances/preemptible).
10407
10706
  */
10408
10707
  preemptible?: boolean;
10708
+ /**
10709
+ * Describe the type of preemptible VM. This field accepts the value `STANDARD` or `SPOT`. If the value is `STANDARD`, there will be no discount. If this is set to `SPOT`,
10710
+ * `preemptible` should be `true` and `autoRestart` should be
10711
+ * `false`. For more info about
10712
+ * `SPOT`, read [here](https://cloud.google.com/compute/docs/instances/spot)
10713
+ */
10409
10714
  provisioningModel: string;
10410
10715
  }
10411
10716
  interface InstanceTemplateSchedulingNodeAffinity {
@@ -11328,6 +11633,16 @@ export declare namespace compute {
11328
11633
  */
11329
11634
  failoverRatio?: number;
11330
11635
  }
11636
+ interface RegionBackendServiceIamBindingCondition {
11637
+ description?: string;
11638
+ expression: string;
11639
+ title: string;
11640
+ }
11641
+ interface RegionBackendServiceIamMemberCondition {
11642
+ description?: string;
11643
+ expression: string;
11644
+ title: string;
11645
+ }
11331
11646
  interface RegionBackendServiceIap {
11332
11647
  /**
11333
11648
  * OAuth2 Client ID for IAP
@@ -13532,6 +13847,14 @@ export declare namespace compute {
13532
13847
  * will have the same local ASN.
13533
13848
  */
13534
13849
  asn: number;
13850
+ /**
13851
+ * The interval in seconds between BGP keepalive messages that are sent to the peer.
13852
+ * Hold time is three times the interval at which keepalive messages are sent, and the hold time is the
13853
+ * maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer.
13854
+ * BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for
13855
+ * the BGP connection between the two peers. If set, this value must be between 20 and 60. The default is 20.
13856
+ */
13857
+ keepaliveInterval?: number;
13535
13858
  }
13536
13859
  interface RouterBgpAdvertisedIpRange {
13537
13860
  /**
@@ -20726,7 +21049,7 @@ export declare namespace dataproc {
20726
21049
  /**
20727
21050
  * Required. Cloud Storage URI of executable file.
20728
21051
  */
20729
- executableFile?: string;
21052
+ executableFile: string;
20730
21053
  /**
20731
21054
  * Optional. Amount of time executable has to complete. Default is 10 minutes (see JSON representation of (https://developers.google.com/protocol-buffers/docs/proto3#json)). Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period.
20732
21055
  */