@pulumi/gcp 6.21.0 → 6.22.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 (40) hide show
  1. package/apigee/instance.d.ts +33 -0
  2. package/apigee/instance.js +4 -0
  3. package/apigee/instance.js.map +1 -1
  4. package/certificateauthority/authority.d.ts +6 -9
  5. package/certificateauthority/authority.js +5 -9
  6. package/certificateauthority/authority.js.map +1 -1
  7. package/certificateauthority/certificate.d.ts +28 -0
  8. package/certificateauthority/certificate.js +8 -0
  9. package/certificateauthority/certificate.js.map +1 -1
  10. package/certificateauthority/getAuthority.d.ts +1 -0
  11. package/certificateauthority/getAuthority.js.map +1 -1
  12. package/compute/getDisk.d.ts +104 -0
  13. package/compute/getDisk.js +46 -0
  14. package/compute/getDisk.js.map +1 -0
  15. package/compute/getRouterStatus.d.ts +80 -0
  16. package/compute/getRouterStatus.js +43 -0
  17. package/compute/getRouterStatus.js.map +1 -0
  18. package/compute/index.d.ts +2 -0
  19. package/compute/index.js +2 -0
  20. package/compute/index.js.map +1 -1
  21. package/compute/instanceTemplate.d.ts +72 -0
  22. package/compute/instanceTemplate.js +72 -0
  23. package/compute/instanceTemplate.js.map +1 -1
  24. package/compute/regionBackendService.d.ts +15 -0
  25. package/compute/regionBackendService.js +2 -0
  26. package/compute/regionBackendService.js.map +1 -1
  27. package/compute/routerStatus.d.ts +2 -1
  28. package/compute/routerStatus.js +3 -1
  29. package/compute/routerStatus.js.map +1 -1
  30. package/dataflow/job.d.ts +3 -9
  31. package/dataflow/job.js.map +1 -1
  32. package/package.json +2 -2
  33. package/package.json.dev +2 -2
  34. package/redis/getInstance.d.ts +1 -0
  35. package/redis/getInstance.js.map +1 -1
  36. package/redis/instance.d.ts +21 -0
  37. package/redis/instance.js +2 -0
  38. package/redis/instance.js.map +1 -1
  39. package/types/input.d.ts +171 -5
  40. package/types/output.d.ts +245 -5
package/types/output.d.ts CHANGED
@@ -4278,6 +4278,9 @@ export declare namespace certificateauthority {
4278
4278
  aiaIssuingCertificateUrls: string[];
4279
4279
  authorityKeyIds: outputs.certificateauthority.CertificateCertificateDescriptionAuthorityKeyId[];
4280
4280
  certFingerprints: outputs.certificateauthority.CertificateCertificateDescriptionCertFingerprint[];
4281
+ /**
4282
+ * @deprecated Deprecated in favor of `x509_description`.
4283
+ */
4281
4284
  configValues: outputs.certificateauthority.CertificateCertificateDescriptionConfigValue[];
4282
4285
  crlDistributionPoints: string[];
4283
4286
  /**
@@ -4287,6 +4290,7 @@ export declare namespace certificateauthority {
4287
4290
  publicKeys: outputs.certificateauthority.CertificateCertificateDescriptionPublicKey[];
4288
4291
  subjectDescriptions: outputs.certificateauthority.CertificateCertificateDescriptionSubjectDescription[];
4289
4292
  subjectKeyIds: outputs.certificateauthority.CertificateCertificateDescriptionSubjectKeyId[];
4293
+ x509Descriptions: outputs.certificateauthority.CertificateCertificateDescriptionX509Description[];
4290
4294
  }
4291
4295
  interface CertificateCertificateDescriptionAuthorityKeyId {
4292
4296
  keyId: string;
@@ -4500,6 +4504,159 @@ export declare namespace certificateauthority {
4500
4504
  interface CertificateCertificateDescriptionSubjectKeyId {
4501
4505
  keyId: string;
4502
4506
  }
4507
+ interface CertificateCertificateDescriptionX509Description {
4508
+ /**
4509
+ * Specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
4510
+ * Structure is documented below.
4511
+ */
4512
+ additionalExtensions: outputs.certificateauthority.CertificateCertificateDescriptionX509DescriptionAdditionalExtension[];
4513
+ /**
4514
+ * Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the
4515
+ * "Authority Information Access" extension in the certificate.
4516
+ */
4517
+ aiaOcspServers: string[];
4518
+ /**
4519
+ * Describes values that are relevant in a CA certificate.
4520
+ * Structure is documented below.
4521
+ */
4522
+ caOptions: outputs.certificateauthority.CertificateCertificateDescriptionX509DescriptionCaOption[];
4523
+ /**
4524
+ * Indicates the intended use for keys that correspond to a certificate.
4525
+ * Structure is documented below.
4526
+ */
4527
+ keyUsages: outputs.certificateauthority.CertificateCertificateDescriptionX509DescriptionKeyUsage[];
4528
+ /**
4529
+ * Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
4530
+ * Structure is documented below.
4531
+ */
4532
+ policyIds: outputs.certificateauthority.CertificateCertificateDescriptionX509DescriptionPolicyId[];
4533
+ }
4534
+ interface CertificateCertificateDescriptionX509DescriptionAdditionalExtension {
4535
+ /**
4536
+ * Indicates whether or not this extension is critical (i.e., if the client does not know how to
4537
+ * handle this extension, the client should consider this to be an error).
4538
+ */
4539
+ critical: boolean;
4540
+ /**
4541
+ * Describes values that are relevant in a CA certificate.
4542
+ * Structure is documented below.
4543
+ */
4544
+ objectIds: outputs.certificateauthority.CertificateCertificateDescriptionX509DescriptionAdditionalExtensionObjectId[];
4545
+ /**
4546
+ * The value of this X.509 extension. A base64-encoded string.
4547
+ */
4548
+ value?: string;
4549
+ }
4550
+ interface CertificateCertificateDescriptionX509DescriptionAdditionalExtensionObjectId {
4551
+ /**
4552
+ * An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
4553
+ */
4554
+ objectIdPaths: number[];
4555
+ }
4556
+ interface CertificateCertificateDescriptionX509DescriptionCaOption {
4557
+ /**
4558
+ * When true, the "CA" in Basic Constraints extension will be set to true.
4559
+ */
4560
+ isCa: boolean;
4561
+ /**
4562
+ * Refers to the "path length constraint" in Basic Constraints extension. For a CA certificate, this value describes the depth of
4563
+ * subordinate CA certificates that are allowed. If this value is less than 0, the request will fail.
4564
+ */
4565
+ maxIssuerPathLength: number;
4566
+ }
4567
+ interface CertificateCertificateDescriptionX509DescriptionKeyUsage {
4568
+ /**
4569
+ * Describes high-level ways in which a key may be used.
4570
+ * Structure is documented below.
4571
+ */
4572
+ baseKeyUsages: outputs.certificateauthority.CertificateCertificateDescriptionX509DescriptionKeyUsageBaseKeyUsage[];
4573
+ /**
4574
+ * Describes high-level ways in which a key may be used.
4575
+ * Structure is documented below.
4576
+ */
4577
+ extendedKeyUsages: outputs.certificateauthority.CertificateCertificateDescriptionX509DescriptionKeyUsageExtendedKeyUsage[];
4578
+ /**
4579
+ * An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
4580
+ * Structure is documented below.
4581
+ */
4582
+ unknownExtendedKeyUsages: outputs.certificateauthority.CertificateCertificateDescriptionX509DescriptionKeyUsageUnknownExtendedKeyUsage[];
4583
+ }
4584
+ interface CertificateCertificateDescriptionX509DescriptionKeyUsageBaseKeyUsage {
4585
+ /**
4586
+ * The key may be used to sign certificates.
4587
+ */
4588
+ certSign: boolean;
4589
+ /**
4590
+ * The key may be used for cryptographic commitments. Note that this may also be referred to as "non-repudiation".
4591
+ */
4592
+ contentCommitment: boolean;
4593
+ /**
4594
+ * The key may be used sign certificate revocation lists.
4595
+ */
4596
+ crlSign: boolean;
4597
+ /**
4598
+ * The key may be used to encipher data.
4599
+ */
4600
+ dataEncipherment: boolean;
4601
+ /**
4602
+ * The key may be used to decipher only.
4603
+ */
4604
+ decipherOnly: boolean;
4605
+ /**
4606
+ * The key may be used for digital signatures.
4607
+ */
4608
+ digitalSignature: boolean;
4609
+ /**
4610
+ * The key may be used to encipher only.
4611
+ */
4612
+ encipherOnly: boolean;
4613
+ /**
4614
+ * The key may be used in a key agreement protocol.
4615
+ */
4616
+ keyAgreement: boolean;
4617
+ /**
4618
+ * The key may be used to encipher other keys.
4619
+ */
4620
+ keyEncipherment: boolean;
4621
+ }
4622
+ interface CertificateCertificateDescriptionX509DescriptionKeyUsageExtendedKeyUsage {
4623
+ /**
4624
+ * Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", though regularly used for non-WWW TLS.
4625
+ */
4626
+ clientAuth: boolean;
4627
+ /**
4628
+ * Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable executable code client authentication".
4629
+ */
4630
+ codeSigning: boolean;
4631
+ /**
4632
+ * Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection".
4633
+ */
4634
+ emailProtection: boolean;
4635
+ /**
4636
+ * Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses".
4637
+ */
4638
+ ocspSigning: boolean;
4639
+ /**
4640
+ * Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", though regularly used for non-WWW TLS.
4641
+ */
4642
+ serverAuth: boolean;
4643
+ /**
4644
+ * Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to a time".
4645
+ */
4646
+ timeStamping: boolean;
4647
+ }
4648
+ interface CertificateCertificateDescriptionX509DescriptionKeyUsageUnknownExtendedKeyUsage {
4649
+ /**
4650
+ * An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
4651
+ */
4652
+ objectIdPaths: number[];
4653
+ }
4654
+ interface CertificateCertificateDescriptionX509DescriptionPolicyId {
4655
+ /**
4656
+ * An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
4657
+ */
4658
+ objectIdPaths: number[];
4659
+ }
4503
4660
  interface CertificateConfig {
4504
4661
  /**
4505
4662
  * A PublicKey describes a public key.
@@ -6690,6 +6847,7 @@ export declare namespace cloudrun {
6690
6847
  serviceAccountName: string;
6691
6848
  /**
6692
6849
  * -
6850
+ * (Deprecated)
6693
6851
  * ServingState holds a value describing the state the resources
6694
6852
  * are in for this Revision.
6695
6853
  * It is expected
@@ -8775,6 +8933,24 @@ export declare namespace compute {
8775
8933
  clientTlsPolicy: string;
8776
8934
  subjectAltNames: string[];
8777
8935
  }
8936
+ interface GetDiskDiskEncryptionKey {
8937
+ kmsKeySelfLink: string;
8938
+ kmsKeyServiceAccount: string;
8939
+ rawKey: string;
8940
+ sha256: string;
8941
+ }
8942
+ interface GetDiskSourceImageEncryptionKey {
8943
+ kmsKeySelfLink: string;
8944
+ kmsKeyServiceAccount: string;
8945
+ rawKey: string;
8946
+ sha256: string;
8947
+ }
8948
+ interface GetDiskSourceSnapshotEncryptionKey {
8949
+ kmsKeySelfLink: string;
8950
+ kmsKeyServiceAccount: string;
8951
+ rawKey: string;
8952
+ sha256: string;
8953
+ }
8778
8954
  interface GetGlobalForwardingRuleMetadataFilter {
8779
8955
  filterLabels: outputs.compute.GetGlobalForwardingRuleMetadataFilterFilterLabel[];
8780
8956
  filterMatchCriteria: string;
@@ -9434,6 +9610,62 @@ export declare namespace compute {
9434
9610
  description: string;
9435
9611
  range: string;
9436
9612
  }
9613
+ interface GetRouterStatusBestRoute {
9614
+ description: string;
9615
+ destRange: string;
9616
+ /**
9617
+ * The name of the router.
9618
+ */
9619
+ name: string;
9620
+ /**
9621
+ * The network name or resource link to the parent
9622
+ * network of this subnetwork.
9623
+ */
9624
+ network: string;
9625
+ nextHopGateway: string;
9626
+ nextHopIlb: string;
9627
+ nextHopInstance: string;
9628
+ nextHopInstanceZone: string;
9629
+ nextHopIp: string;
9630
+ nextHopNetwork: string;
9631
+ nextHopVpnTunnel: string;
9632
+ priority: number;
9633
+ /**
9634
+ * The ID of the project in which the resource
9635
+ * belongs. If it is not provided, the provider project is used.
9636
+ */
9637
+ project: string;
9638
+ selfLink: string;
9639
+ tags: string[];
9640
+ }
9641
+ interface GetRouterStatusBestRoutesForRouter {
9642
+ description: string;
9643
+ destRange: string;
9644
+ /**
9645
+ * The name of the router.
9646
+ */
9647
+ name: string;
9648
+ /**
9649
+ * The network name or resource link to the parent
9650
+ * network of this subnetwork.
9651
+ */
9652
+ network: string;
9653
+ nextHopGateway: string;
9654
+ nextHopIlb: string;
9655
+ nextHopInstance: string;
9656
+ nextHopInstanceZone: string;
9657
+ nextHopIp: string;
9658
+ nextHopNetwork: string;
9659
+ nextHopVpnTunnel: string;
9660
+ priority: number;
9661
+ /**
9662
+ * The ID of the project in which the resource
9663
+ * belongs. If it is not provided, the provider project is used.
9664
+ */
9665
+ project: string;
9666
+ selfLink: string;
9667
+ tags: string[];
9668
+ }
9437
9669
  interface GetSubnetworkSecondaryIpRange {
9438
9670
  /**
9439
9671
  * The range of IP addresses belonging to this subnetwork
@@ -11947,6 +12179,13 @@ export declare namespace compute {
11947
12179
  */
11948
12180
  seconds: number;
11949
12181
  }
12182
+ interface RegionBackendServiceSubsetting {
12183
+ /**
12184
+ * The algorithm used for subsetting.
12185
+ * Possible values are `CONSISTENT_HASH_SUBSETTING`.
12186
+ */
12187
+ policy: string;
12188
+ }
11950
12189
  interface RegionDiskDiskEncryptionKey {
11951
12190
  /**
11952
12191
  * The name of the encryption key that is stored in Google Cloud KMS.
@@ -29546,10 +29785,11 @@ export declare namespace sql {
29546
29785
  activationPolicy?: string;
29547
29786
  /**
29548
29787
  * The availability type of the Cloud SQL
29549
- * instance, high availability (`REGIONAL`) or single zone (`ZONAL`).' For MySQL and SQL Server instances,
29550
- * ensure that `settings.backup_configuration.enabled` and `settings.backup_configuration.binary_log_enabled`
29551
- * are both set to `true`. For Postgres instances, ensure that `settings.backup_configuration.enabled`
29552
- * and `settings.backup_configuration.point_in_time_recovery_enabled` are both set to `true`.
29788
+ * instance, high availability (`REGIONAL`) or single zone (`ZONAL`).' For all instances, ensure that
29789
+ * `settings.backup_configuration.enabled` is set to `true`.
29790
+ * For MySQL instances, ensure that `settings.backup_configuration.binary_log_enabled` is set to `true`.
29791
+ * For Postgres instances, ensure that `settings.backup_configuration.point_in_time_recovery_enabled`
29792
+ * is set to `true`.
29553
29793
  */
29554
29794
  availabilityType?: string;
29555
29795
  backupConfiguration: outputs.sql.DatabaseInstanceSettingsBackupConfiguration;
@@ -29600,7 +29840,7 @@ export declare namespace sql {
29600
29840
  backupRetentionSettings: outputs.sql.DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettings;
29601
29841
  /**
29602
29842
  * True if binary logging is enabled.
29603
- * Cannot be used with Postgres.
29843
+ * Can only be used with MySQL.
29604
29844
  */
29605
29845
  binaryLogEnabled?: boolean;
29606
29846
  /**