pulumi-gcp 7.39.0a1726207510__py3-none-any.whl → 8.0.0a1__py3-none-any.whl
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.
- pulumi_gcp/__init__.py +32 -19
- pulumi_gcp/accesscontextmanager/access_policy.py +4 -2
- pulumi_gcp/activedirectory/domain.py +38 -2
- pulumi_gcp/activedirectory/domain_trust.py +0 -30
- pulumi_gcp/activedirectory/peering.py +0 -72
- pulumi_gcp/alloydb/cluster.py +12 -200
- pulumi_gcp/alloydb/instance.py +13 -5
- pulumi_gcp/alloydb/user.py +14 -6
- pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +4 -2
- pulumi_gcp/apigee/sync_authorization.py +4 -2
- pulumi_gcp/apigee/target_server.py +4 -2
- pulumi_gcp/appengine/firewall_rule.py +4 -2
- pulumi_gcp/appengine/flexible_app_version.py +4 -2
- pulumi_gcp/apphub/service.py +8 -4
- pulumi_gcp/apphub/service_project_attachment.py +8 -4
- pulumi_gcp/applicationintegration/client.py +0 -154
- pulumi_gcp/bigquery/_inputs.py +0 -70
- pulumi_gcp/bigquery/iam_binding.py +0 -260
- pulumi_gcp/bigquery/iam_member.py +0 -260
- pulumi_gcp/bigquery/iam_policy.py +0 -240
- pulumi_gcp/bigquery/outputs.py +0 -44
- pulumi_gcp/bigquery/reservation.py +0 -84
- pulumi_gcp/bigquery/table.py +0 -98
- pulumi_gcp/billing/project_info.py +4 -2
- pulumi_gcp/certificateauthority/get_authority.py +0 -20
- pulumi_gcp/certificatemanager/get_certificate_map.py +0 -14
- pulumi_gcp/cloudasset/folder_feed.py +4 -2
- pulumi_gcp/cloudidentity/get_group_lookup.py +0 -18
- pulumi_gcp/cloudidentity/get_group_memberships.py +0 -14
- pulumi_gcp/cloudidentity/get_groups.py +0 -14
- pulumi_gcp/cloudrunv2/_inputs.py +25 -25
- pulumi_gcp/cloudrunv2/get_job.py +11 -1
- pulumi_gcp/cloudrunv2/get_service.py +11 -1
- pulumi_gcp/cloudrunv2/job.py +50 -0
- pulumi_gcp/cloudrunv2/outputs.py +26 -26
- pulumi_gcp/cloudrunv2/service.py +54 -0
- pulumi_gcp/compute/_inputs.py +117 -54
- pulumi_gcp/compute/backend_service.py +52 -0
- pulumi_gcp/compute/disk_async_replication.py +0 -48
- pulumi_gcp/compute/firewall_policy_rule.py +4 -2
- pulumi_gcp/compute/forwarding_rule.py +42 -0
- pulumi_gcp/compute/get_backend_bucket.py +0 -14
- pulumi_gcp/compute/get_backend_service.py +0 -20
- pulumi_gcp/compute/get_certificate.py +0 -20
- pulumi_gcp/compute/get_forwarding_rule.py +11 -15
- pulumi_gcp/compute/get_forwarding_rules.py +0 -16
- pulumi_gcp/compute/get_global_forwarding_rule.py +0 -14
- pulumi_gcp/compute/get_hc_vpn_gateway.py +0 -14
- pulumi_gcp/compute/get_health_check.py +0 -14
- pulumi_gcp/compute/get_lbip_ranges.py +0 -32
- pulumi_gcp/compute/get_netblock_ip_ranges.py +0 -52
- pulumi_gcp/compute/get_network.py +0 -14
- pulumi_gcp/compute/get_networks.py +0 -14
- pulumi_gcp/compute/get_region_ssl_certificate.py +0 -20
- pulumi_gcp/compute/get_ssl_policy.py +0 -14
- pulumi_gcp/compute/get_vpn_gateway.py +0 -14
- pulumi_gcp/compute/global_address.py +8 -4
- pulumi_gcp/compute/global_forwarding_rule.py +7 -0
- pulumi_gcp/compute/instance_template.py +56 -63
- pulumi_gcp/compute/managed_ssl_certificate.py +1 -20
- pulumi_gcp/compute/manged_ssl_certificate.py +1 -20
- pulumi_gcp/compute/network_attachment.py +8 -4
- pulumi_gcp/compute/node_group.py +4 -2
- pulumi_gcp/compute/organization_security_policy_association.py +4 -2
- pulumi_gcp/compute/outputs.py +101 -42
- pulumi_gcp/compute/project_cloud_armor_tier.py +4 -2
- pulumi_gcp/compute/region_backend_service.py +36 -7
- pulumi_gcp/compute/region_instance_template.py +56 -7
- pulumi_gcp/compute/region_ssl_certificate.py +49 -7
- pulumi_gcp/compute/ssl_certificate.py +49 -7
- pulumi_gcp/compute/subnetwork.py +193 -23
- pulumi_gcp/config/__init__.pyi +3 -5
- pulumi_gcp/config/vars.py +6 -10
- pulumi_gcp/container/_inputs.py +19 -41
- pulumi_gcp/container/cluster.py +79 -0
- pulumi_gcp/container/get_cluster.py +21 -25
- pulumi_gcp/container/get_engine_versions.py +8 -2
- pulumi_gcp/container/outputs.py +17 -40
- pulumi_gcp/dataproc/get_metastore_service.py +0 -16
- pulumi_gcp/diagflow/intent.py +4 -2
- pulumi_gcp/dns/get_record_set.py +0 -20
- pulumi_gcp/edgenetwork/network.py +83 -0
- pulumi_gcp/edgenetwork/subnet.py +83 -0
- pulumi_gcp/filestore/get_instance.py +0 -20
- pulumi_gcp/firebase/database_instance.py +2 -0
- pulumi_gcp/firebase/hosting_custom_domain.py +4 -2
- pulumi_gcp/firebase/hosting_version.py +4 -2
- pulumi_gcp/firebase/project.py +2 -0
- pulumi_gcp/firestore/document.py +8 -4
- pulumi_gcp/folder/access_approval_settings.py +12 -6
- pulumi_gcp/gkeonprem/_inputs.py +11 -11
- pulumi_gcp/gkeonprem/outputs.py +9 -9
- pulumi_gcp/gkeonprem/v_mware_cluster.py +31 -31
- pulumi_gcp/gkeonprem/v_mware_node_pool.py +186 -0
- pulumi_gcp/iam/access_boundary_policy.py +4 -2
- pulumi_gcp/iam/deny_policy.py +4 -2
- pulumi_gcp/iam/get_workload_identity_pool.py +0 -14
- pulumi_gcp/iam/get_workload_identity_pool_provider.py +0 -16
- pulumi_gcp/iap/brand.py +4 -2
- pulumi_gcp/iap/client.py +4 -2
- pulumi_gcp/iap/get_client.py +0 -18
- pulumi_gcp/identityplatform/__init__.py +0 -1
- pulumi_gcp/identityplatform/_inputs.py +0 -396
- pulumi_gcp/identityplatform/config.py +2 -0
- pulumi_gcp/identityplatform/outputs.py +0 -313
- pulumi_gcp/integrationconnectors/managed_zone.py +4 -2
- pulumi_gcp/kms/__init__.py +4 -0
- pulumi_gcp/kms/_inputs.py +130 -0
- pulumi_gcp/kms/autokey_config.py +6 -2
- pulumi_gcp/kms/ekm_connection_iam_binding.py +1097 -0
- pulumi_gcp/kms/ekm_connection_iam_member.py +1097 -0
- pulumi_gcp/kms/ekm_connection_iam_policy.py +916 -0
- pulumi_gcp/kms/get_ekm_connection_iam_policy.py +177 -0
- pulumi_gcp/kms/key_handle.py +8 -2
- pulumi_gcp/kms/outputs.py +76 -0
- pulumi_gcp/logging/folder_settings.py +4 -2
- pulumi_gcp/monitoring/get_secret_version.py +2 -2
- pulumi_gcp/monitoring/monitored_project.py +4 -2
- pulumi_gcp/networksecurity/firewall_endpoint_association.py +12 -44
- pulumi_gcp/networkservices/_inputs.py +23 -0
- pulumi_gcp/networkservices/outputs.py +17 -1
- pulumi_gcp/networkservices/tcp_route.py +2 -0
- pulumi_gcp/organizations/access_approval_settings.py +4 -2
- pulumi_gcp/organizations/folder.py +35 -1
- pulumi_gcp/organizations/get_active_folder.py +0 -16
- pulumi_gcp/organizations/get_client_config.py +16 -15
- pulumi_gcp/organizations/get_folder.py +11 -1
- pulumi_gcp/organizations/get_project.py +3 -13
- pulumi_gcp/organizations/project.py +3 -87
- pulumi_gcp/orgpolicy/policy.py +12 -6
- pulumi_gcp/projects/api_key.py +2 -52
- pulumi_gcp/provider.py +32 -52
- pulumi_gcp/pubsub/topic.py +1 -1
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +58 -0
- pulumi_gcp/redis/get_instance.py +0 -20
- pulumi_gcp/resourcemanager/lien.py +4 -2
- pulumi_gcp/secretmanager/get_secret_version.py +2 -2
- pulumi_gcp/securitycenter/__init__.py +1 -0
- pulumi_gcp/securitycenter/folder_custom_module.py +8 -4
- pulumi_gcp/securitycenter/management_folder_security_health_analytics_custom_module.py +8 -4
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +862 -0
- pulumi_gcp/serviceusage/consumer_quota_override.py +12 -6
- pulumi_gcp/spanner/get_instance.py +0 -14
- pulumi_gcp/sql/_inputs.py +3 -36
- pulumi_gcp/sql/outputs.py +6 -49
- pulumi_gcp/storage/_inputs.py +23 -23
- pulumi_gcp/storage/bucket.py +6 -6
- pulumi_gcp/storage/outputs.py +27 -27
- pulumi_gcp/tags/get_tag_key.py +0 -30
- pulumi_gcp/tags/get_tag_keys.py +0 -26
- pulumi_gcp/tags/get_tag_value.py +0 -16
- pulumi_gcp/tags/get_tag_values.py +0 -14
- pulumi_gcp/tags/tag_binding.py +4 -2
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -2
- pulumi_gcp/vmwareengine/network.py +4 -2
- pulumi_gcp/vpcaccess/connector.py +14 -6
- pulumi_gcp/vpcaccess/get_connector.py +6 -2
- {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0a1.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0a1.dist-info}/RECORD +162 -162
- pulumi_gcp/datastore/__init__.py +0 -10
- pulumi_gcp/datastore/_inputs.py +0 -76
- pulumi_gcp/datastore/data_store_index.py +0 -515
- pulumi_gcp/datastore/outputs.py +0 -51
- pulumi_gcp/identityplatform/project_default_config.py +0 -357
- {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0a1.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0a1.dist-info}/top_level.txt +0 -0
pulumi_gcp/container/cluster.py
CHANGED
@@ -278,6 +278,9 @@ class ClusterArgs:
|
|
278
278
|
resources with no default node pool, this should be set to `true`, alongside
|
279
279
|
setting `initial_node_count` to at least `1`.
|
280
280
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] resource_labels: The GCE resource labels (a map of key/value pairs) to be applied to the cluster.
|
281
|
+
|
282
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
283
|
+
Please refer to the field 'effective_labels' for all of the labels present on the resource.
|
281
284
|
:param pulumi.Input['ClusterResourceUsageExportConfigArgs'] resource_usage_export_config: Configuration for the
|
282
285
|
[ResourceUsageExportConfig](https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-usage-metering) feature.
|
283
286
|
Structure is documented below.
|
@@ -1286,6 +1289,9 @@ class ClusterArgs:
|
|
1286
1289
|
def resource_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
1287
1290
|
"""
|
1288
1291
|
The GCE resource labels (a map of key/value pairs) to be applied to the cluster.
|
1292
|
+
|
1293
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
1294
|
+
Please refer to the field 'effective_labels' for all of the labels present on the resource.
|
1289
1295
|
"""
|
1290
1296
|
return pulumi.get(self, "resource_labels")
|
1291
1297
|
|
@@ -1431,6 +1437,7 @@ class _ClusterState:
|
|
1431
1437
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
1432
1438
|
description: Optional[pulumi.Input[str]] = None,
|
1433
1439
|
dns_config: Optional[pulumi.Input['ClusterDnsConfigArgs']] = None,
|
1440
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1434
1441
|
enable_autopilot: Optional[pulumi.Input[bool]] = None,
|
1435
1442
|
enable_cilium_clusterwide_network_policy: Optional[pulumi.Input[bool]] = None,
|
1436
1443
|
enable_fqdn_network_policy: Optional[pulumi.Input[bool]] = None,
|
@@ -1477,6 +1484,7 @@ class _ClusterState:
|
|
1477
1484
|
private_ipv6_google_access: Optional[pulumi.Input[str]] = None,
|
1478
1485
|
project: Optional[pulumi.Input[str]] = None,
|
1479
1486
|
protect_config: Optional[pulumi.Input['ClusterProtectConfigArgs']] = None,
|
1487
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1480
1488
|
release_channel: Optional[pulumi.Input['ClusterReleaseChannelArgs']] = None,
|
1481
1489
|
remove_default_node_pool: Optional[pulumi.Input[bool]] = None,
|
1482
1490
|
resource_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -1529,6 +1537,7 @@ class _ClusterState:
|
|
1529
1537
|
:param pulumi.Input['ClusterDefaultSnatStatusArgs'] default_snat_status: [GKE SNAT](https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent#how_ipmasq_works) DefaultSnatStatus contains the desired state of whether default sNAT should be disabled on the cluster, [API doc](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters#networkconfig). Structure is documented below
|
1530
1538
|
:param pulumi.Input[str] description: Description of the cluster.
|
1531
1539
|
:param pulumi.Input['ClusterDnsConfigArgs'] dns_config: Configuration for [Using Cloud DNS for GKE](https://cloud.google.com/kubernetes-engine/docs/how-to/cloud-dns). Structure is documented below.
|
1540
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
1532
1541
|
:param pulumi.Input[bool] enable_autopilot: Enable Autopilot for this cluster. Defaults to `false`.
|
1533
1542
|
Note that when this option is enabled, certain features of Standard GKE are not available.
|
1534
1543
|
See the [official documentation](https://cloud.google.com/kubernetes-engine/docs/concepts/autopilot-overview#comparison)
|
@@ -1670,6 +1679,7 @@ class _ClusterState:
|
|
1670
1679
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it
|
1671
1680
|
is not provided, the provider project is used.
|
1672
1681
|
:param pulumi.Input['ClusterProtectConfigArgs'] protect_config: Enable/Disable Protect API features for the cluster. Structure is documented below.
|
1682
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource and default labels configured on the provider.
|
1673
1683
|
:param pulumi.Input['ClusterReleaseChannelArgs'] release_channel: Configuration options for the [Release channel](https://cloud.google.com/kubernetes-engine/docs/concepts/release-channels)
|
1674
1684
|
feature, which provide more control over automatic upgrades of your GKE clusters.
|
1675
1685
|
When updating this field, GKE imposes specific version requirements. See
|
@@ -1684,6 +1694,9 @@ class _ClusterState:
|
|
1684
1694
|
resources with no default node pool, this should be set to `true`, alongside
|
1685
1695
|
setting `initial_node_count` to at least `1`.
|
1686
1696
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] resource_labels: The GCE resource labels (a map of key/value pairs) to be applied to the cluster.
|
1697
|
+
|
1698
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
1699
|
+
Please refer to the field 'effective_labels' for all of the labels present on the resource.
|
1687
1700
|
:param pulumi.Input['ClusterResourceUsageExportConfigArgs'] resource_usage_export_config: Configuration for the
|
1688
1701
|
[ResourceUsageExportConfig](https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-usage-metering) feature.
|
1689
1702
|
Structure is documented below.
|
@@ -1744,6 +1757,8 @@ class _ClusterState:
|
|
1744
1757
|
pulumi.set(__self__, "description", description)
|
1745
1758
|
if dns_config is not None:
|
1746
1759
|
pulumi.set(__self__, "dns_config", dns_config)
|
1760
|
+
if effective_labels is not None:
|
1761
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
1747
1762
|
if enable_autopilot is not None:
|
1748
1763
|
pulumi.set(__self__, "enable_autopilot", enable_autopilot)
|
1749
1764
|
if enable_cilium_clusterwide_network_policy is not None:
|
@@ -1836,6 +1851,8 @@ class _ClusterState:
|
|
1836
1851
|
pulumi.set(__self__, "project", project)
|
1837
1852
|
if protect_config is not None:
|
1838
1853
|
pulumi.set(__self__, "protect_config", protect_config)
|
1854
|
+
if pulumi_labels is not None:
|
1855
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
1839
1856
|
if release_channel is not None:
|
1840
1857
|
pulumi.set(__self__, "release_channel", release_channel)
|
1841
1858
|
if remove_default_node_pool is not None:
|
@@ -2076,6 +2093,18 @@ class _ClusterState:
|
|
2076
2093
|
def dns_config(self, value: Optional[pulumi.Input['ClusterDnsConfigArgs']]):
|
2077
2094
|
pulumi.set(self, "dns_config", value)
|
2078
2095
|
|
2096
|
+
@property
|
2097
|
+
@pulumi.getter(name="effectiveLabels")
|
2098
|
+
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
2099
|
+
"""
|
2100
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
2101
|
+
"""
|
2102
|
+
return pulumi.get(self, "effective_labels")
|
2103
|
+
|
2104
|
+
@effective_labels.setter
|
2105
|
+
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
2106
|
+
pulumi.set(self, "effective_labels", value)
|
2107
|
+
|
2079
2108
|
@property
|
2080
2109
|
@pulumi.getter(name="enableAutopilot")
|
2081
2110
|
def enable_autopilot(self) -> Optional[pulumi.Input[bool]]:
|
@@ -2721,6 +2750,18 @@ class _ClusterState:
|
|
2721
2750
|
def protect_config(self, value: Optional[pulumi.Input['ClusterProtectConfigArgs']]):
|
2722
2751
|
pulumi.set(self, "protect_config", value)
|
2723
2752
|
|
2753
|
+
@property
|
2754
|
+
@pulumi.getter(name="pulumiLabels")
|
2755
|
+
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
2756
|
+
"""
|
2757
|
+
The combination of labels configured directly on the resource and default labels configured on the provider.
|
2758
|
+
"""
|
2759
|
+
return pulumi.get(self, "pulumi_labels")
|
2760
|
+
|
2761
|
+
@pulumi_labels.setter
|
2762
|
+
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
2763
|
+
pulumi.set(self, "pulumi_labels", value)
|
2764
|
+
|
2724
2765
|
@property
|
2725
2766
|
@pulumi.getter(name="releaseChannel")
|
2726
2767
|
def release_channel(self) -> Optional[pulumi.Input['ClusterReleaseChannelArgs']]:
|
@@ -2761,6 +2802,9 @@ class _ClusterState:
|
|
2761
2802
|
def resource_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
2762
2803
|
"""
|
2763
2804
|
The GCE resource labels (a map of key/value pairs) to be applied to the cluster.
|
2805
|
+
|
2806
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
2807
|
+
Please refer to the field 'effective_labels' for all of the labels present on the resource.
|
2764
2808
|
"""
|
2765
2809
|
return pulumi.get(self, "resource_labels")
|
2766
2810
|
|
@@ -3312,6 +3356,9 @@ class Cluster(pulumi.CustomResource):
|
|
3312
3356
|
resources with no default node pool, this should be set to `true`, alongside
|
3313
3357
|
setting `initial_node_count` to at least `1`.
|
3314
3358
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] resource_labels: The GCE resource labels (a map of key/value pairs) to be applied to the cluster.
|
3359
|
+
|
3360
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
3361
|
+
Please refer to the field 'effective_labels' for all of the labels present on the resource.
|
3315
3362
|
:param pulumi.Input[Union['ClusterResourceUsageExportConfigArgs', 'ClusterResourceUsageExportConfigArgsDict']] resource_usage_export_config: Configuration for the
|
3316
3363
|
[ResourceUsageExportConfig](https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-usage-metering) feature.
|
3317
3364
|
Structure is documented below.
|
@@ -3623,13 +3670,17 @@ class Cluster(pulumi.CustomResource):
|
|
3623
3670
|
__props__.__dict__["vertical_pod_autoscaling"] = vertical_pod_autoscaling
|
3624
3671
|
__props__.__dict__["workload_alts_config"] = workload_alts_config
|
3625
3672
|
__props__.__dict__["workload_identity_config"] = workload_identity_config
|
3673
|
+
__props__.__dict__["effective_labels"] = None
|
3626
3674
|
__props__.__dict__["endpoint"] = None
|
3627
3675
|
__props__.__dict__["label_fingerprint"] = None
|
3628
3676
|
__props__.__dict__["master_version"] = None
|
3629
3677
|
__props__.__dict__["operation"] = None
|
3678
|
+
__props__.__dict__["pulumi_labels"] = None
|
3630
3679
|
__props__.__dict__["self_link"] = None
|
3631
3680
|
__props__.__dict__["services_ipv4_cidr"] = None
|
3632
3681
|
__props__.__dict__["tpu_ipv4_cidr_block"] = None
|
3682
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
3683
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
3633
3684
|
super(Cluster, __self__).__init__(
|
3634
3685
|
'gcp:container/cluster:Cluster',
|
3635
3686
|
resource_name,
|
@@ -3656,6 +3707,7 @@ class Cluster(pulumi.CustomResource):
|
|
3656
3707
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
3657
3708
|
description: Optional[pulumi.Input[str]] = None,
|
3658
3709
|
dns_config: Optional[pulumi.Input[Union['ClusterDnsConfigArgs', 'ClusterDnsConfigArgsDict']]] = None,
|
3710
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
3659
3711
|
enable_autopilot: Optional[pulumi.Input[bool]] = None,
|
3660
3712
|
enable_cilium_clusterwide_network_policy: Optional[pulumi.Input[bool]] = None,
|
3661
3713
|
enable_fqdn_network_policy: Optional[pulumi.Input[bool]] = None,
|
@@ -3702,6 +3754,7 @@ class Cluster(pulumi.CustomResource):
|
|
3702
3754
|
private_ipv6_google_access: Optional[pulumi.Input[str]] = None,
|
3703
3755
|
project: Optional[pulumi.Input[str]] = None,
|
3704
3756
|
protect_config: Optional[pulumi.Input[Union['ClusterProtectConfigArgs', 'ClusterProtectConfigArgsDict']]] = None,
|
3757
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
3705
3758
|
release_channel: Optional[pulumi.Input[Union['ClusterReleaseChannelArgs', 'ClusterReleaseChannelArgsDict']]] = None,
|
3706
3759
|
remove_default_node_pool: Optional[pulumi.Input[bool]] = None,
|
3707
3760
|
resource_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -3759,6 +3812,7 @@ class Cluster(pulumi.CustomResource):
|
|
3759
3812
|
:param pulumi.Input[Union['ClusterDefaultSnatStatusArgs', 'ClusterDefaultSnatStatusArgsDict']] default_snat_status: [GKE SNAT](https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent#how_ipmasq_works) DefaultSnatStatus contains the desired state of whether default sNAT should be disabled on the cluster, [API doc](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters#networkconfig). Structure is documented below
|
3760
3813
|
:param pulumi.Input[str] description: Description of the cluster.
|
3761
3814
|
:param pulumi.Input[Union['ClusterDnsConfigArgs', 'ClusterDnsConfigArgsDict']] dns_config: Configuration for [Using Cloud DNS for GKE](https://cloud.google.com/kubernetes-engine/docs/how-to/cloud-dns). Structure is documented below.
|
3815
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
3762
3816
|
:param pulumi.Input[bool] enable_autopilot: Enable Autopilot for this cluster. Defaults to `false`.
|
3763
3817
|
Note that when this option is enabled, certain features of Standard GKE are not available.
|
3764
3818
|
See the [official documentation](https://cloud.google.com/kubernetes-engine/docs/concepts/autopilot-overview#comparison)
|
@@ -3900,6 +3954,7 @@ class Cluster(pulumi.CustomResource):
|
|
3900
3954
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it
|
3901
3955
|
is not provided, the provider project is used.
|
3902
3956
|
:param pulumi.Input[Union['ClusterProtectConfigArgs', 'ClusterProtectConfigArgsDict']] protect_config: Enable/Disable Protect API features for the cluster. Structure is documented below.
|
3957
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource and default labels configured on the provider.
|
3903
3958
|
:param pulumi.Input[Union['ClusterReleaseChannelArgs', 'ClusterReleaseChannelArgsDict']] release_channel: Configuration options for the [Release channel](https://cloud.google.com/kubernetes-engine/docs/concepts/release-channels)
|
3904
3959
|
feature, which provide more control over automatic upgrades of your GKE clusters.
|
3905
3960
|
When updating this field, GKE imposes specific version requirements. See
|
@@ -3914,6 +3969,9 @@ class Cluster(pulumi.CustomResource):
|
|
3914
3969
|
resources with no default node pool, this should be set to `true`, alongside
|
3915
3970
|
setting `initial_node_count` to at least `1`.
|
3916
3971
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] resource_labels: The GCE resource labels (a map of key/value pairs) to be applied to the cluster.
|
3972
|
+
|
3973
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
3974
|
+
Please refer to the field 'effective_labels' for all of the labels present on the resource.
|
3917
3975
|
:param pulumi.Input[Union['ClusterResourceUsageExportConfigArgs', 'ClusterResourceUsageExportConfigArgsDict']] resource_usage_export_config: Configuration for the
|
3918
3976
|
[ResourceUsageExportConfig](https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-usage-metering) feature.
|
3919
3977
|
Structure is documented below.
|
@@ -3962,6 +4020,7 @@ class Cluster(pulumi.CustomResource):
|
|
3962
4020
|
__props__.__dict__["deletion_protection"] = deletion_protection
|
3963
4021
|
__props__.__dict__["description"] = description
|
3964
4022
|
__props__.__dict__["dns_config"] = dns_config
|
4023
|
+
__props__.__dict__["effective_labels"] = effective_labels
|
3965
4024
|
__props__.__dict__["enable_autopilot"] = enable_autopilot
|
3966
4025
|
__props__.__dict__["enable_cilium_clusterwide_network_policy"] = enable_cilium_clusterwide_network_policy
|
3967
4026
|
__props__.__dict__["enable_fqdn_network_policy"] = enable_fqdn_network_policy
|
@@ -4008,6 +4067,7 @@ class Cluster(pulumi.CustomResource):
|
|
4008
4067
|
__props__.__dict__["private_ipv6_google_access"] = private_ipv6_google_access
|
4009
4068
|
__props__.__dict__["project"] = project
|
4010
4069
|
__props__.__dict__["protect_config"] = protect_config
|
4070
|
+
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
4011
4071
|
__props__.__dict__["release_channel"] = release_channel
|
4012
4072
|
__props__.__dict__["remove_default_node_pool"] = remove_default_node_pool
|
4013
4073
|
__props__.__dict__["resource_labels"] = resource_labels
|
@@ -4170,6 +4230,14 @@ class Cluster(pulumi.CustomResource):
|
|
4170
4230
|
"""
|
4171
4231
|
return pulumi.get(self, "dns_config")
|
4172
4232
|
|
4233
|
+
@property
|
4234
|
+
@pulumi.getter(name="effectiveLabels")
|
4235
|
+
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
4236
|
+
"""
|
4237
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
4238
|
+
"""
|
4239
|
+
return pulumi.get(self, "effective_labels")
|
4240
|
+
|
4173
4241
|
@property
|
4174
4242
|
@pulumi.getter(name="enableAutopilot")
|
4175
4243
|
def enable_autopilot(self) -> pulumi.Output[Optional[bool]]:
|
@@ -4631,6 +4699,14 @@ class Cluster(pulumi.CustomResource):
|
|
4631
4699
|
"""
|
4632
4700
|
return pulumi.get(self, "protect_config")
|
4633
4701
|
|
4702
|
+
@property
|
4703
|
+
@pulumi.getter(name="pulumiLabels")
|
4704
|
+
def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
4705
|
+
"""
|
4706
|
+
The combination of labels configured directly on the resource and default labels configured on the provider.
|
4707
|
+
"""
|
4708
|
+
return pulumi.get(self, "pulumi_labels")
|
4709
|
+
|
4634
4710
|
@property
|
4635
4711
|
@pulumi.getter(name="releaseChannel")
|
4636
4712
|
def release_channel(self) -> pulumi.Output['outputs.ClusterReleaseChannel']:
|
@@ -4663,6 +4739,9 @@ class Cluster(pulumi.CustomResource):
|
|
4663
4739
|
def resource_labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
4664
4740
|
"""
|
4665
4741
|
The GCE resource labels (a map of key/value pairs) to be applied to the cluster.
|
4742
|
+
|
4743
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
4744
|
+
Please refer to the field 'effective_labels' for all of the labels present on the resource.
|
4666
4745
|
"""
|
4667
4746
|
return pulumi.get(self, "resource_labels")
|
4668
4747
|
|
@@ -27,7 +27,7 @@ class GetClusterResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getCluster.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, addons_configs=None, allow_net_admin=None, authenticator_groups_configs=None, binary_authorizations=None, cluster_autoscalings=None, cluster_ipv4_cidr=None, cluster_telemetries=None, confidential_nodes=None, cost_management_configs=None, database_encryptions=None, datapath_provider=None, default_max_pods_per_node=None, default_snat_statuses=None, deletion_protection=None, description=None, dns_configs=None, enable_autopilot=None, enable_cilium_clusterwide_network_policy=None, enable_fqdn_network_policy=None, enable_intranode_visibility=None, enable_k8s_beta_apis=None, enable_kubernetes_alpha=None, enable_l4_ilb_subsetting=None, enable_legacy_abac=None, enable_multi_networking=None, enable_shielded_nodes=None, enable_tpu=None, endpoint=None, fleets=None, gateway_api_configs=None, id=None, identity_service_configs=None, initial_node_count=None, ip_allocation_policies=None, label_fingerprint=None, location=None, logging_configs=None, logging_service=None, maintenance_policies=None, master_authorized_networks_configs=None, master_auths=None, master_version=None, mesh_certificates=None, min_master_version=None, monitoring_configs=None, monitoring_service=None, name=None, network=None, network_policies=None, networking_mode=None, node_configs=None, node_locations=None, node_pool_auto_configs=None, node_pool_defaults=None, node_pools=None, node_version=None, notification_configs=None, operation=None, pod_security_policy_configs=None, private_cluster_configs=None, private_ipv6_google_access=None, project=None, protect_configs=None, release_channels=None, remove_default_node_pool=None, resource_labels=None, resource_usage_export_configs=None, secret_manager_configs=None, security_posture_configs=None, self_link=None, service_external_ips_configs=None, services_ipv4_cidr=None, subnetwork=None, tpu_configs=None, tpu_ipv4_cidr_block=None, vertical_pod_autoscalings=None, workload_alts_configs=None, workload_identity_configs=None):
|
30
|
+
def __init__(__self__, addons_configs=None, allow_net_admin=None, authenticator_groups_configs=None, binary_authorizations=None, cluster_autoscalings=None, cluster_ipv4_cidr=None, cluster_telemetries=None, confidential_nodes=None, cost_management_configs=None, database_encryptions=None, datapath_provider=None, default_max_pods_per_node=None, default_snat_statuses=None, deletion_protection=None, description=None, dns_configs=None, effective_labels=None, enable_autopilot=None, enable_cilium_clusterwide_network_policy=None, enable_fqdn_network_policy=None, enable_intranode_visibility=None, enable_k8s_beta_apis=None, enable_kubernetes_alpha=None, enable_l4_ilb_subsetting=None, enable_legacy_abac=None, enable_multi_networking=None, enable_shielded_nodes=None, enable_tpu=None, endpoint=None, fleets=None, gateway_api_configs=None, id=None, identity_service_configs=None, initial_node_count=None, ip_allocation_policies=None, label_fingerprint=None, location=None, logging_configs=None, logging_service=None, maintenance_policies=None, master_authorized_networks_configs=None, master_auths=None, master_version=None, mesh_certificates=None, min_master_version=None, monitoring_configs=None, monitoring_service=None, name=None, network=None, network_policies=None, networking_mode=None, node_configs=None, node_locations=None, node_pool_auto_configs=None, node_pool_defaults=None, node_pools=None, node_version=None, notification_configs=None, operation=None, pod_security_policy_configs=None, private_cluster_configs=None, private_ipv6_google_access=None, project=None, protect_configs=None, pulumi_labels=None, release_channels=None, remove_default_node_pool=None, resource_labels=None, resource_usage_export_configs=None, secret_manager_configs=None, security_posture_configs=None, self_link=None, service_external_ips_configs=None, services_ipv4_cidr=None, subnetwork=None, tpu_configs=None, tpu_ipv4_cidr_block=None, vertical_pod_autoscalings=None, workload_alts_configs=None, workload_identity_configs=None):
|
31
31
|
if addons_configs and not isinstance(addons_configs, list):
|
32
32
|
raise TypeError("Expected argument 'addons_configs' to be a list")
|
33
33
|
pulumi.set(__self__, "addons_configs", addons_configs)
|
@@ -76,6 +76,9 @@ class GetClusterResult:
|
|
76
76
|
if dns_configs and not isinstance(dns_configs, list):
|
77
77
|
raise TypeError("Expected argument 'dns_configs' to be a list")
|
78
78
|
pulumi.set(__self__, "dns_configs", dns_configs)
|
79
|
+
if effective_labels and not isinstance(effective_labels, dict):
|
80
|
+
raise TypeError("Expected argument 'effective_labels' to be a dict")
|
81
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
79
82
|
if enable_autopilot and not isinstance(enable_autopilot, bool):
|
80
83
|
raise TypeError("Expected argument 'enable_autopilot' to be a bool")
|
81
84
|
pulumi.set(__self__, "enable_autopilot", enable_autopilot)
|
@@ -217,6 +220,9 @@ class GetClusterResult:
|
|
217
220
|
if protect_configs and not isinstance(protect_configs, list):
|
218
221
|
raise TypeError("Expected argument 'protect_configs' to be a list")
|
219
222
|
pulumi.set(__self__, "protect_configs", protect_configs)
|
223
|
+
if pulumi_labels and not isinstance(pulumi_labels, dict):
|
224
|
+
raise TypeError("Expected argument 'pulumi_labels' to be a dict")
|
225
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
220
226
|
if release_channels and not isinstance(release_channels, list):
|
221
227
|
raise TypeError("Expected argument 'release_channels' to be a list")
|
222
228
|
pulumi.set(__self__, "release_channels", release_channels)
|
@@ -343,6 +349,11 @@ class GetClusterResult:
|
|
343
349
|
def dns_configs(self) -> Sequence['outputs.GetClusterDnsConfigResult']:
|
344
350
|
return pulumi.get(self, "dns_configs")
|
345
351
|
|
352
|
+
@property
|
353
|
+
@pulumi.getter(name="effectiveLabels")
|
354
|
+
def effective_labels(self) -> Mapping[str, str]:
|
355
|
+
return pulumi.get(self, "effective_labels")
|
356
|
+
|
346
357
|
@property
|
347
358
|
@pulumi.getter(name="enableAutopilot")
|
348
359
|
def enable_autopilot(self) -> bool:
|
@@ -581,6 +592,11 @@ class GetClusterResult:
|
|
581
592
|
def protect_configs(self) -> Sequence['outputs.GetClusterProtectConfigResult']:
|
582
593
|
return pulumi.get(self, "protect_configs")
|
583
594
|
|
595
|
+
@property
|
596
|
+
@pulumi.getter(name="pulumiLabels")
|
597
|
+
def pulumi_labels(self) -> Mapping[str, str]:
|
598
|
+
return pulumi.get(self, "pulumi_labels")
|
599
|
+
|
584
600
|
@property
|
585
601
|
@pulumi.getter(name="releaseChannels")
|
586
602
|
def release_channels(self) -> Sequence['outputs.GetClusterReleaseChannelResult']:
|
@@ -679,6 +695,7 @@ class AwaitableGetClusterResult(GetClusterResult):
|
|
679
695
|
deletion_protection=self.deletion_protection,
|
680
696
|
description=self.description,
|
681
697
|
dns_configs=self.dns_configs,
|
698
|
+
effective_labels=self.effective_labels,
|
682
699
|
enable_autopilot=self.enable_autopilot,
|
683
700
|
enable_cilium_clusterwide_network_policy=self.enable_cilium_clusterwide_network_policy,
|
684
701
|
enable_fqdn_network_policy=self.enable_fqdn_network_policy,
|
@@ -726,6 +743,7 @@ class AwaitableGetClusterResult(GetClusterResult):
|
|
726
743
|
private_ipv6_google_access=self.private_ipv6_google_access,
|
727
744
|
project=self.project,
|
728
745
|
protect_configs=self.protect_configs,
|
746
|
+
pulumi_labels=self.pulumi_labels,
|
729
747
|
release_channels=self.release_channels,
|
730
748
|
remove_default_node_pool=self.remove_default_node_pool,
|
731
749
|
resource_labels=self.resource_labels,
|
@@ -752,18 +770,6 @@ def get_cluster(location: Optional[str] = None,
|
|
752
770
|
|
753
771
|
## Example Usage
|
754
772
|
|
755
|
-
```python
|
756
|
-
import pulumi
|
757
|
-
import pulumi_gcp as gcp
|
758
|
-
|
759
|
-
my_cluster = gcp.container.get_cluster(name="my-cluster",
|
760
|
-
location="us-east1-a")
|
761
|
-
pulumi.export("endpoint", my_cluster.endpoint)
|
762
|
-
pulumi.export("instanceGroupUrls", my_cluster.node_pools[0].instance_group_urls)
|
763
|
-
pulumi.export("nodeConfig", my_cluster.node_configs)
|
764
|
-
pulumi.export("nodePools", my_cluster.node_pools)
|
765
|
-
```
|
766
|
-
|
767
773
|
|
768
774
|
:param str location: The location (zone or region) this cluster has been
|
769
775
|
created in. One of `location`, `region`, `zone`, or a provider-level `zone` must
|
@@ -796,6 +802,7 @@ def get_cluster(location: Optional[str] = None,
|
|
796
802
|
deletion_protection=pulumi.get(__ret__, 'deletion_protection'),
|
797
803
|
description=pulumi.get(__ret__, 'description'),
|
798
804
|
dns_configs=pulumi.get(__ret__, 'dns_configs'),
|
805
|
+
effective_labels=pulumi.get(__ret__, 'effective_labels'),
|
799
806
|
enable_autopilot=pulumi.get(__ret__, 'enable_autopilot'),
|
800
807
|
enable_cilium_clusterwide_network_policy=pulumi.get(__ret__, 'enable_cilium_clusterwide_network_policy'),
|
801
808
|
enable_fqdn_network_policy=pulumi.get(__ret__, 'enable_fqdn_network_policy'),
|
@@ -843,6 +850,7 @@ def get_cluster(location: Optional[str] = None,
|
|
843
850
|
private_ipv6_google_access=pulumi.get(__ret__, 'private_ipv6_google_access'),
|
844
851
|
project=pulumi.get(__ret__, 'project'),
|
845
852
|
protect_configs=pulumi.get(__ret__, 'protect_configs'),
|
853
|
+
pulumi_labels=pulumi.get(__ret__, 'pulumi_labels'),
|
846
854
|
release_channels=pulumi.get(__ret__, 'release_channels'),
|
847
855
|
remove_default_node_pool=pulumi.get(__ret__, 'remove_default_node_pool'),
|
848
856
|
resource_labels=pulumi.get(__ret__, 'resource_labels'),
|
@@ -870,18 +878,6 @@ def get_cluster_output(location: Optional[pulumi.Input[Optional[str]]] = None,
|
|
870
878
|
|
871
879
|
## Example Usage
|
872
880
|
|
873
|
-
```python
|
874
|
-
import pulumi
|
875
|
-
import pulumi_gcp as gcp
|
876
|
-
|
877
|
-
my_cluster = gcp.container.get_cluster(name="my-cluster",
|
878
|
-
location="us-east1-a")
|
879
|
-
pulumi.export("endpoint", my_cluster.endpoint)
|
880
|
-
pulumi.export("instanceGroupUrls", my_cluster.node_pools[0].instance_group_urls)
|
881
|
-
pulumi.export("nodeConfig", my_cluster.node_configs)
|
882
|
-
pulumi.export("nodePools", my_cluster.node_pools)
|
883
|
-
```
|
884
|
-
|
885
881
|
|
886
882
|
:param str location: The location (zone or region) this cluster has been
|
887
883
|
created in. One of `location`, `region`, `zone`, or a provider-level `zone` must
|
@@ -107,7 +107,7 @@ class GetEngineVersionsResult:
|
|
107
107
|
@pulumi.getter(name="releaseChannelDefaultVersion")
|
108
108
|
def release_channel_default_version(self) -> Mapping[str, str]:
|
109
109
|
"""
|
110
|
-
A map from a release channel name to the channel's default version.
|
110
|
+
A map from a release channel name to the channel's default version. See the docs on [available release channel names](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.Channel_1) for more details.
|
111
111
|
"""
|
112
112
|
return pulumi.get(self, "release_channel_default_version")
|
113
113
|
|
@@ -115,7 +115,7 @@ class GetEngineVersionsResult:
|
|
115
115
|
@pulumi.getter(name="releaseChannelLatestVersion")
|
116
116
|
def release_channel_latest_version(self) -> Mapping[str, str]:
|
117
117
|
"""
|
118
|
-
A map from a release channel name to the channel's latest version.
|
118
|
+
A map from a release channel name to the channel's latest version. See the docs on [available release channel names](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.Channel_1) for more details.
|
119
119
|
"""
|
120
120
|
return pulumi.get(self, "release_channel_latest_version")
|
121
121
|
|
@@ -167,6 +167,9 @@ def get_engine_versions(location: Optional[str] = None,
|
|
167
167
|
"""
|
168
168
|
Provides access to available Google Kubernetes Engine versions in a zone or region for a given project.
|
169
169
|
|
170
|
+
To get more information about GKE versions, see:
|
171
|
+
* [The API reference](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations/getServerConfig)
|
172
|
+
|
170
173
|
> If you are using the `container_get_engine_versions` datasource with a
|
171
174
|
regional cluster, ensure that you have provided a region as the `location` to
|
172
175
|
the datasource. A region can have a different set of supported versions than
|
@@ -233,6 +236,9 @@ def get_engine_versions_output(location: Optional[pulumi.Input[Optional[str]]] =
|
|
233
236
|
"""
|
234
237
|
Provides access to available Google Kubernetes Engine versions in a zone or region for a given project.
|
235
238
|
|
239
|
+
To get more information about GKE versions, see:
|
240
|
+
* [The API reference](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations/getServerConfig)
|
241
|
+
|
236
242
|
> If you are using the `container_get_engine_versions` datasource with a
|
237
243
|
regional cluster, ensure that you have provided a region as the `location` to
|
238
244
|
the datasource. A region can have a different set of supported versions than
|
pulumi_gcp/container/outputs.py
CHANGED
@@ -6405,8 +6405,8 @@ class ClusterMonitoringConfig(dict):
|
|
6405
6405
|
@staticmethod
|
6406
6406
|
def __key_warning(key: str):
|
6407
6407
|
suggest = None
|
6408
|
-
if key == "
|
6409
|
-
suggest = "
|
6408
|
+
if key == "advancedDatapathObservabilityConfig":
|
6409
|
+
suggest = "advanced_datapath_observability_config"
|
6410
6410
|
elif key == "enableComponents":
|
6411
6411
|
suggest = "enable_components"
|
6412
6412
|
elif key == "managedPrometheus":
|
@@ -6424,28 +6424,28 @@ class ClusterMonitoringConfig(dict):
|
|
6424
6424
|
return super().get(key, default)
|
6425
6425
|
|
6426
6426
|
def __init__(__self__, *,
|
6427
|
-
|
6427
|
+
advanced_datapath_observability_config: Optional['outputs.ClusterMonitoringConfigAdvancedDatapathObservabilityConfig'] = None,
|
6428
6428
|
enable_components: Optional[Sequence[str]] = None,
|
6429
6429
|
managed_prometheus: Optional['outputs.ClusterMonitoringConfigManagedPrometheus'] = None):
|
6430
6430
|
"""
|
6431
|
-
:param
|
6431
|
+
:param 'ClusterMonitoringConfigAdvancedDatapathObservabilityConfigArgs' advanced_datapath_observability_config: Configuration for Advanced Datapath Monitoring. Structure is documented below.
|
6432
6432
|
:param Sequence[str] enable_components: The GKE components exposing metrics. Supported values include: `SYSTEM_COMPONENTS`, `APISERVER`, `SCHEDULER`, `CONTROLLER_MANAGER`, `STORAGE`, `HPA`, `POD`, `DAEMONSET`, `DEPLOYMENT`, `STATEFULSET`, `KUBELET`, `CADVISOR` and `DCGM`. In beta provider, `WORKLOADS` is supported on top of those 12 values. (`WORKLOADS` is deprecated and removed in GKE 1.24.) `KUBELET` and `CADVISOR` are only supported in GKE 1.29.3-gke.1093000 and above.
|
6433
6433
|
:param 'ClusterMonitoringConfigManagedPrometheusArgs' managed_prometheus: Configuration for Managed Service for Prometheus. Structure is documented below.
|
6434
6434
|
"""
|
6435
|
-
if
|
6436
|
-
pulumi.set(__self__, "
|
6435
|
+
if advanced_datapath_observability_config is not None:
|
6436
|
+
pulumi.set(__self__, "advanced_datapath_observability_config", advanced_datapath_observability_config)
|
6437
6437
|
if enable_components is not None:
|
6438
6438
|
pulumi.set(__self__, "enable_components", enable_components)
|
6439
6439
|
if managed_prometheus is not None:
|
6440
6440
|
pulumi.set(__self__, "managed_prometheus", managed_prometheus)
|
6441
6441
|
|
6442
6442
|
@property
|
6443
|
-
@pulumi.getter(name="
|
6444
|
-
def
|
6443
|
+
@pulumi.getter(name="advancedDatapathObservabilityConfig")
|
6444
|
+
def advanced_datapath_observability_config(self) -> Optional['outputs.ClusterMonitoringConfigAdvancedDatapathObservabilityConfig']:
|
6445
6445
|
"""
|
6446
6446
|
Configuration for Advanced Datapath Monitoring. Structure is documented below.
|
6447
6447
|
"""
|
6448
|
-
return pulumi.get(self, "
|
6448
|
+
return pulumi.get(self, "advanced_datapath_observability_config")
|
6449
6449
|
|
6450
6450
|
@property
|
6451
6451
|
@pulumi.getter(name="enableComponents")
|
@@ -6473,8 +6473,6 @@ class ClusterMonitoringConfigAdvancedDatapathObservabilityConfig(dict):
|
|
6473
6473
|
suggest = "enable_metrics"
|
6474
6474
|
elif key == "enableRelay":
|
6475
6475
|
suggest = "enable_relay"
|
6476
|
-
elif key == "relayMode":
|
6477
|
-
suggest = "relay_mode"
|
6478
6476
|
|
6479
6477
|
if suggest:
|
6480
6478
|
pulumi.log.warn(f"Key '{key}' not found in ClusterMonitoringConfigAdvancedDatapathObservabilityConfig. Access the value via the '{suggest}' property getter instead.")
|
@@ -6489,18 +6487,13 @@ class ClusterMonitoringConfigAdvancedDatapathObservabilityConfig(dict):
|
|
6489
6487
|
|
6490
6488
|
def __init__(__self__, *,
|
6491
6489
|
enable_metrics: bool,
|
6492
|
-
enable_relay:
|
6493
|
-
relay_mode: Optional[str] = None):
|
6490
|
+
enable_relay: bool):
|
6494
6491
|
"""
|
6495
6492
|
:param bool enable_metrics: Whether or not to enable advanced datapath metrics.
|
6496
6493
|
:param bool enable_relay: Whether or not Relay is enabled.
|
6497
|
-
:param str relay_mode: Mode used to make Relay available. Deprecated in favor of `enable_relay` field. Remove this attribute's configuration as this field will be removed in the next major release and `enable_relay` will become a required field.
|
6498
6494
|
"""
|
6499
6495
|
pulumi.set(__self__, "enable_metrics", enable_metrics)
|
6500
|
-
|
6501
|
-
pulumi.set(__self__, "enable_relay", enable_relay)
|
6502
|
-
if relay_mode is not None:
|
6503
|
-
pulumi.set(__self__, "relay_mode", relay_mode)
|
6496
|
+
pulumi.set(__self__, "enable_relay", enable_relay)
|
6504
6497
|
|
6505
6498
|
@property
|
6506
6499
|
@pulumi.getter(name="enableMetrics")
|
@@ -6512,21 +6505,12 @@ class ClusterMonitoringConfigAdvancedDatapathObservabilityConfig(dict):
|
|
6512
6505
|
|
6513
6506
|
@property
|
6514
6507
|
@pulumi.getter(name="enableRelay")
|
6515
|
-
def enable_relay(self) ->
|
6508
|
+
def enable_relay(self) -> bool:
|
6516
6509
|
"""
|
6517
6510
|
Whether or not Relay is enabled.
|
6518
6511
|
"""
|
6519
6512
|
return pulumi.get(self, "enable_relay")
|
6520
6513
|
|
6521
|
-
@property
|
6522
|
-
@pulumi.getter(name="relayMode")
|
6523
|
-
@_utilities.deprecated("""Deprecated in favor of enable_relay field. Remove this attribute's configuration as this field will be removed in the next major release and enable_relay will become a required field.""")
|
6524
|
-
def relay_mode(self) -> Optional[str]:
|
6525
|
-
"""
|
6526
|
-
Mode used to make Relay available. Deprecated in favor of `enable_relay` field. Remove this attribute's configuration as this field will be removed in the next major release and `enable_relay` will become a required field.
|
6527
|
-
"""
|
6528
|
-
return pulumi.get(self, "relay_mode")
|
6529
|
-
|
6530
6514
|
|
6531
6515
|
@pulumi.output_type
|
6532
6516
|
class ClusterMonitoringConfigManagedPrometheus(dict):
|
@@ -12036,6 +12020,7 @@ class ClusterReleaseChannel(dict):
|
|
12036
12020
|
* RAPID: Weekly upgrade cadence; Early testers and developers who requires new features.
|
12037
12021
|
* REGULAR: Multiple per month upgrade cadence; Production users who need features not yet offered in the Stable channel.
|
12038
12022
|
* STABLE: Every few months upgrade cadence; Production users who need stability above all else, and for whom frequent upgrades are too risky.
|
12023
|
+
* EXTENDED: GKE provides extended support for Kubernetes minor versions through the Extended channel. With this channel, you can stay on a minor version for up to 24 months.
|
12039
12024
|
"""
|
12040
12025
|
pulumi.set(__self__, "channel", channel)
|
12041
12026
|
|
@@ -12049,6 +12034,7 @@ class ClusterReleaseChannel(dict):
|
|
12049
12034
|
* RAPID: Weekly upgrade cadence; Early testers and developers who requires new features.
|
12050
12035
|
* REGULAR: Multiple per month upgrade cadence; Production users who need features not yet offered in the Stable channel.
|
12051
12036
|
* STABLE: Every few months upgrade cadence; Production users who need stability above all else, and for whom frequent upgrades are too risky.
|
12037
|
+
* EXTENDED: GKE provides extended support for Kubernetes minor versions through the Extended channel. With this channel, you can stay on a minor version for up to 24 months.
|
12052
12038
|
"""
|
12053
12039
|
return pulumi.get(self, "channel")
|
12054
12040
|
|
@@ -16435,16 +16421,13 @@ class GetClusterMonitoringConfigResult(dict):
|
|
16435
16421
|
class GetClusterMonitoringConfigAdvancedDatapathObservabilityConfigResult(dict):
|
16436
16422
|
def __init__(__self__, *,
|
16437
16423
|
enable_metrics: bool,
|
16438
|
-
enable_relay: bool
|
16439
|
-
relay_mode: str):
|
16424
|
+
enable_relay: bool):
|
16440
16425
|
"""
|
16441
16426
|
:param bool enable_metrics: Whether or not the advanced datapath metrics are enabled.
|
16442
16427
|
:param bool enable_relay: Whether or not Relay is enabled.
|
16443
|
-
:param str relay_mode: Mode used to make Relay available.
|
16444
16428
|
"""
|
16445
16429
|
pulumi.set(__self__, "enable_metrics", enable_metrics)
|
16446
16430
|
pulumi.set(__self__, "enable_relay", enable_relay)
|
16447
|
-
pulumi.set(__self__, "relay_mode", relay_mode)
|
16448
16431
|
|
16449
16432
|
@property
|
16450
16433
|
@pulumi.getter(name="enableMetrics")
|
@@ -16462,14 +16445,6 @@ class GetClusterMonitoringConfigAdvancedDatapathObservabilityConfigResult(dict):
|
|
16462
16445
|
"""
|
16463
16446
|
return pulumi.get(self, "enable_relay")
|
16464
16447
|
|
16465
|
-
@property
|
16466
|
-
@pulumi.getter(name="relayMode")
|
16467
|
-
def relay_mode(self) -> str:
|
16468
|
-
"""
|
16469
|
-
Mode used to make Relay available.
|
16470
|
-
"""
|
16471
|
-
return pulumi.get(self, "relay_mode")
|
16472
|
-
|
16473
16448
|
|
16474
16449
|
@pulumi.output_type
|
16475
16450
|
class GetClusterMonitoringConfigManagedPrometheusResult(dict):
|
@@ -19991,6 +19966,7 @@ class GetClusterReleaseChannelResult(dict):
|
|
19991
19966
|
* RAPID: Weekly upgrade cadence; Early testers and developers who requires new features.
|
19992
19967
|
* REGULAR: Multiple per month upgrade cadence; Production users who need features not yet offered in the Stable channel.
|
19993
19968
|
* STABLE: Every few months upgrade cadence; Production users who need stability above all else, and for whom frequent upgrades are too risky.
|
19969
|
+
* EXTENDED: GKE provides extended support for Kubernetes minor versions through the Extended channel. With this channel, you can stay on a minor version for up to 24 months.
|
19994
19970
|
"""
|
19995
19971
|
pulumi.set(__self__, "channel", channel)
|
19996
19972
|
|
@@ -20003,6 +19979,7 @@ class GetClusterReleaseChannelResult(dict):
|
|
20003
19979
|
* RAPID: Weekly upgrade cadence; Early testers and developers who requires new features.
|
20004
19980
|
* REGULAR: Multiple per month upgrade cadence; Production users who need features not yet offered in the Stable channel.
|
20005
19981
|
* STABLE: Every few months upgrade cadence; Production users who need stability above all else, and for whom frequent upgrades are too risky.
|
19982
|
+
* EXTENDED: GKE provides extended support for Kubernetes minor versions through the Extended channel. With this channel, you can stay on a minor version for up to 24 months.
|
20006
19983
|
"""
|
20007
19984
|
return pulumi.get(self, "channel")
|
20008
19985
|
|
@@ -284,14 +284,6 @@ def get_metastore_service(location: Optional[str] = None,
|
|
284
284
|
|
285
285
|
## Example Usage
|
286
286
|
|
287
|
-
```python
|
288
|
-
import pulumi
|
289
|
-
import pulumi_gcp as gcp
|
290
|
-
|
291
|
-
foo = gcp.dataproc.get_metastore_service(service_id="foo-bar",
|
292
|
-
location="global")
|
293
|
-
```
|
294
|
-
|
295
287
|
|
296
288
|
:param str location: The location where the metastore service resides.
|
297
289
|
|
@@ -346,14 +338,6 @@ def get_metastore_service_output(location: Optional[pulumi.Input[str]] = None,
|
|
346
338
|
|
347
339
|
## Example Usage
|
348
340
|
|
349
|
-
```python
|
350
|
-
import pulumi
|
351
|
-
import pulumi_gcp as gcp
|
352
|
-
|
353
|
-
foo = gcp.dataproc.get_metastore_service(service_id="foo-bar",
|
354
|
-
location="global")
|
355
|
-
```
|
356
|
-
|
357
341
|
|
358
342
|
:param str location: The location where the metastore service resides.
|
359
343
|
|
pulumi_gcp/diagflow/intent.py
CHANGED
@@ -607,7 +607,8 @@ class Intent(pulumi.CustomResource):
|
|
607
607
|
agent_project = gcp.organizations.Project("agent_project",
|
608
608
|
project_id="my-project",
|
609
609
|
name="my-project",
|
610
|
-
org_id="123456789"
|
610
|
+
org_id="123456789",
|
611
|
+
deletion_policy="DELETE")
|
611
612
|
agent_project_service = gcp.projects.Service("agent_project",
|
612
613
|
project=agent_project.project_id,
|
613
614
|
service="dialogflow.googleapis.com",
|
@@ -727,7 +728,8 @@ class Intent(pulumi.CustomResource):
|
|
727
728
|
agent_project = gcp.organizations.Project("agent_project",
|
728
729
|
project_id="my-project",
|
729
730
|
name="my-project",
|
730
|
-
org_id="123456789"
|
731
|
+
org_id="123456789",
|
732
|
+
deletion_policy="DELETE")
|
731
733
|
agent_project_service = gcp.projects.Service("agent_project",
|
732
734
|
project=agent_project.project_id,
|
733
735
|
service="dialogflow.googleapis.com",
|