pulumi-gcp 7.28.0a1718950249__py3-none-any.whl → 7.29.0__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 +67 -0
- pulumi_gcp/_utilities.py +35 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +58 -74
- pulumi_gcp/accesscontextmanager/access_levels.py +0 -20
- pulumi_gcp/accesscontextmanager/outputs.py +58 -74
- pulumi_gcp/accesscontextmanager/service_perimeter.py +2 -0
- pulumi_gcp/activedirectory/domain.py +14 -14
- pulumi_gcp/activedirectory/domain_trust.py +14 -14
- pulumi_gcp/alloydb/backup.py +8 -8
- pulumi_gcp/alloydb/cluster.py +11 -17
- pulumi_gcp/alloydb/instance.py +8 -8
- pulumi_gcp/alloydb/user.py +8 -8
- pulumi_gcp/apigee/addons_config.py +4 -4
- pulumi_gcp/apigee/endpoint_attachment.py +2 -2
- pulumi_gcp/apigee/env_group.py +2 -2
- pulumi_gcp/apigee/environment.py +2 -2
- pulumi_gcp/apigee/instance.py +8 -8
- pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +10 -10
- pulumi_gcp/apigee/nat_address.py +2 -2
- pulumi_gcp/apigee/organization.py +6 -6
- pulumi_gcp/apigee/sync_authorization.py +4 -4
- pulumi_gcp/apigee/target_server.py +10 -10
- pulumi_gcp/apphub/service.py +20 -20
- pulumi_gcp/apphub/service_project_attachment.py +8 -8
- pulumi_gcp/applicationintegration/auth_config.py +2 -2
- pulumi_gcp/applicationintegration/client.py +6 -18
- pulumi_gcp/artifactregistry/__init__.py +1 -0
- pulumi_gcp/artifactregistry/_inputs.py +4 -4
- pulumi_gcp/artifactregistry/get_docker_image.py +244 -0
- pulumi_gcp/artifactregistry/outputs.py +6 -6
- pulumi_gcp/artifactregistry/repository.py +10 -10
- pulumi_gcp/backupdisasterrecovery/management_server.py +2 -2
- pulumi_gcp/bigquery/_inputs.py +2 -6
- pulumi_gcp/bigquery/data_transfer_config.py +4 -4
- pulumi_gcp/bigquery/dataset.py +75 -0
- pulumi_gcp/bigquery/get_dataset.py +11 -1
- pulumi_gcp/bigquery/job.py +6 -6
- pulumi_gcp/bigquery/outputs.py +2 -6
- pulumi_gcp/bigtable/_inputs.py +41 -3
- pulumi_gcp/bigtable/instance.py +3 -9
- pulumi_gcp/bigtable/outputs.py +50 -3
- pulumi_gcp/bigtable/table.py +54 -0
- pulumi_gcp/billing/_inputs.py +22 -0
- pulumi_gcp/billing/budget.py +50 -0
- pulumi_gcp/billing/outputs.py +20 -0
- pulumi_gcp/certificateauthority/authority.py +2 -2
- pulumi_gcp/certificateauthority/certificate.py +4 -4
- pulumi_gcp/certificatemanager/_inputs.py +2 -6
- pulumi_gcp/certificatemanager/certificate.py +4 -4
- pulumi_gcp/certificatemanager/certificate_issuance_config.py +2 -2
- pulumi_gcp/certificatemanager/outputs.py +2 -6
- pulumi_gcp/cloudbuild/bitbucket_server_config.py +6 -6
- pulumi_gcp/cloudbuild/trigger.py +2 -2
- pulumi_gcp/cloudbuild/worker_pool.py +6 -6
- pulumi_gcp/cloudbuildv2/_inputs.py +383 -0
- pulumi_gcp/cloudbuildv2/connection.py +112 -4
- pulumi_gcp/cloudbuildv2/outputs.py +421 -0
- pulumi_gcp/cloudbuildv2/repository.py +2 -2
- pulumi_gcp/cloudfunctionsv2/function.py +28 -28
- pulumi_gcp/cloudids/endpoint.py +2 -2
- pulumi_gcp/cloudrun/_inputs.py +3 -9
- pulumi_gcp/cloudrun/outputs.py +3 -9
- pulumi_gcp/cloudrunv2/get_job.py +21 -1
- pulumi_gcp/cloudrunv2/job.py +163 -19
- pulumi_gcp/cloudrunv2/service.py +8 -8
- pulumi_gcp/composer/__init__.py +3 -0
- pulumi_gcp/composer/get_user_workloads_config_map.py +190 -0
- pulumi_gcp/composer/get_user_workloads_secret.py +188 -0
- pulumi_gcp/composer/user_workloads_config_map.py +475 -0
- pulumi_gcp/compute/_inputs.py +87 -2
- pulumi_gcp/compute/backend_service.py +28 -48
- pulumi_gcp/compute/disk.py +3 -9
- pulumi_gcp/compute/firewall.py +3 -9
- pulumi_gcp/compute/forwarding_rule.py +22 -22
- pulumi_gcp/compute/interconnect.py +4 -4
- pulumi_gcp/compute/outputs.py +176 -5
- pulumi_gcp/compute/packet_mirroring.py +2 -2
- pulumi_gcp/compute/project_cloud_armor_tier.py +2 -2
- pulumi_gcp/compute/region_backend_service.py +35 -48
- pulumi_gcp/compute/region_disk.py +3 -9
- pulumi_gcp/compute/region_network_endpoint.py +187 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +49 -9
- pulumi_gcp/compute/region_security_policy_rule.py +2 -2
- pulumi_gcp/compute/region_target_https_proxy.py +7 -14
- pulumi_gcp/compute/route.py +2 -2
- pulumi_gcp/compute/subnetwork.py +2 -6
- pulumi_gcp/compute/target_https_proxy.py +28 -14
- pulumi_gcp/compute/target_instance.py +2 -2
- pulumi_gcp/compute/vpn_gateway.py +2 -2
- pulumi_gcp/compute/vpn_tunnel.py +2 -2
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +4 -8
- pulumi_gcp/container/outputs.py +6 -10
- pulumi_gcp/databasemigrationservice/connection_profile.py +16 -16
- pulumi_gcp/datacatalog/policy_tag.py +2 -2
- pulumi_gcp/datafusion/instance.py +4 -8
- pulumi_gcp/dataplex/asset.py +2 -2
- pulumi_gcp/dataplex/datascan.py +2 -2
- pulumi_gcp/dataproc/_inputs.py +100 -0
- pulumi_gcp/dataproc/metastore_service.py +172 -0
- pulumi_gcp/dataproc/outputs.py +192 -1
- pulumi_gcp/dataproc/workflow_template.py +3 -9
- pulumi_gcp/datastore/data_store_index.py +2 -2
- pulumi_gcp/datastream/stream.py +6 -6
- pulumi_gcp/diagflow/entity_type.py +2 -2
- pulumi_gcp/diagflow/fulfillment.py +2 -2
- pulumi_gcp/diagflow/intent.py +4 -4
- pulumi_gcp/discoveryengine/_inputs.py +227 -0
- pulumi_gcp/discoveryengine/data_store.py +108 -0
- pulumi_gcp/discoveryengine/outputs.py +280 -0
- pulumi_gcp/edgecontainer/_inputs.py +107 -1
- pulumi_gcp/edgecontainer/node_pool.py +2 -2
- pulumi_gcp/edgecontainer/outputs.py +123 -1
- pulumi_gcp/edgecontainer/vpn_connection.py +2 -2
- pulumi_gcp/eventarc/channel.py +2 -2
- pulumi_gcp/eventarc/google_channel_config.py +2 -2
- pulumi_gcp/filestore/instance.py +3 -9
- pulumi_gcp/firebase/app_check_app_attest_config.py +8 -8
- pulumi_gcp/firebase/app_check_debug_token.py +4 -4
- pulumi_gcp/firebase/app_check_device_check_config.py +4 -4
- pulumi_gcp/firebase/app_check_play_integrity_config.py +8 -8
- pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +4 -4
- pulumi_gcp/firebase/app_check_recaptcha_v3_config.py +4 -4
- pulumi_gcp/firebase/app_check_service_config.py +6 -6
- pulumi_gcp/firebase/database_instance.py +2 -2
- pulumi_gcp/firestore/database.py +4 -4
- pulumi_gcp/firestore/document.py +12 -12
- pulumi_gcp/folder/access_approval_settings.py +2 -2
- pulumi_gcp/gkehub/_inputs.py +20 -8
- pulumi_gcp/gkehub/membership.py +3 -9
- pulumi_gcp/gkehub/membership_binding.py +4 -4
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +2 -2
- pulumi_gcp/gkehub/outputs.py +19 -9
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +2 -2
- pulumi_gcp/healthcare/fhir_store.py +3 -9
- pulumi_gcp/healthcare/hl7_store.py +3 -9
- pulumi_gcp/integrationconnectors/connection.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +6 -6
- pulumi_gcp/kms/_inputs.py +1 -3
- pulumi_gcp/kms/autokey_config.py +16 -16
- pulumi_gcp/kms/key_handle.py +22 -22
- pulumi_gcp/kms/outputs.py +1 -3
- pulumi_gcp/logging/folder_settings.py +2 -2
- pulumi_gcp/logging/folder_sink.py +14 -14
- pulumi_gcp/logging/linked_dataset.py +2 -2
- pulumi_gcp/logging/organization_settings.py +2 -2
- pulumi_gcp/logging/organization_sink.py +14 -14
- pulumi_gcp/logging/project_bucket_config.py +2 -2
- pulumi_gcp/looker/instance.py +2 -2
- pulumi_gcp/managedkafka/__init__.py +11 -0
- pulumi_gcp/managedkafka/_inputs.py +169 -0
- pulumi_gcp/managedkafka/cluster.py +807 -0
- pulumi_gcp/managedkafka/outputs.py +197 -0
- pulumi_gcp/managedkafka/topic.py +599 -0
- pulumi_gcp/netapp/__init__.py +1 -0
- pulumi_gcp/netapp/active_directory.py +55 -0
- pulumi_gcp/netapp/backup.py +903 -0
- pulumi_gcp/netapp/volume_replication.py +2 -2
- pulumi_gcp/netapp/volume_snapshot.py +2 -2
- pulumi_gcp/networkconnectivity/internal_range.py +2 -2
- pulumi_gcp/networksecurity/gateway_security_policy.py +4 -4
- pulumi_gcp/networksecurity/tls_inspection_policy.py +4 -4
- pulumi_gcp/networkservices/gateway.py +6 -6
- pulumi_gcp/organizations/access_approval_settings.py +2 -2
- pulumi_gcp/parallelstore/instance.py +2 -2
- pulumi_gcp/projects/access_approval_settings.py +5 -11
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/_inputs.py +40 -0
- pulumi_gcp/pubsub/outputs.py +66 -0
- pulumi_gcp/pubsub/schema.py +2 -2
- pulumi_gcp/pubsub/subscription.py +174 -8
- pulumi_gcp/pubsub/topic.py +2 -2
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +4 -4
- pulumi_gcp/redis/get_instance.py +11 -1
- pulumi_gcp/redis/instance.py +49 -2
- pulumi_gcp/secretmanager/secret.py +2 -2
- pulumi_gcp/securesourcemanager/instance.py +6 -6
- pulumi_gcp/securitycenter/__init__.py +3 -0
- pulumi_gcp/securitycenter/_inputs.py +1105 -0
- pulumi_gcp/securitycenter/instance_iam_binding.py +2 -2
- pulumi_gcp/securitycenter/instance_iam_member.py +2 -2
- pulumi_gcp/securitycenter/instance_iam_policy.py +2 -2
- pulumi_gcp/securitycenter/management_folder_security_health_analytics_custom_module.py +725 -0
- pulumi_gcp/securitycenter/management_organization_security_health_analytics_custom_module.py +713 -0
- pulumi_gcp/securitycenter/management_project_security_health_analytics_custom_module.py +706 -0
- pulumi_gcp/securitycenter/outputs.py +1048 -0
- pulumi_gcp/servicenetworking/__init__.py +1 -0
- pulumi_gcp/servicenetworking/vpc_service_controls.py +511 -0
- pulumi_gcp/sql/_inputs.py +1 -3
- pulumi_gcp/sql/database_instance.py +2 -2
- pulumi_gcp/sql/outputs.py +1 -3
- pulumi_gcp/sql/user.py +21 -7
- pulumi_gcp/storage/get_project_service_account.py +2 -2
- pulumi_gcp/storage/insights_report_config.py +2 -2
- pulumi_gcp/storage/notification.py +2 -2
- pulumi_gcp/storage/transfer_agent_pool.py +2 -2
- pulumi_gcp/storage/transfer_job.py +4 -4
- pulumi_gcp/tpu/v2_vm.py +4 -4
- pulumi_gcp/vertex/_inputs.py +1 -3
- pulumi_gcp/vertex/ai_endpoint.py +2 -2
- pulumi_gcp/vertex/ai_feature_online_store.py +31 -8
- pulumi_gcp/vertex/ai_index_endpoint.py +2 -2
- pulumi_gcp/vertex/ai_tensorboard.py +2 -2
- pulumi_gcp/vertex/outputs.py +1 -3
- pulumi_gcp/vmwareengine/external_address.py +2 -2
- pulumi_gcp/vmwareengine/network.py +4 -4
- pulumi_gcp/vpcaccess/connector.py +2 -8
- {pulumi_gcp-7.28.0a1718950249.dist-info → pulumi_gcp-7.29.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.28.0a1718950249.dist-info → pulumi_gcp-7.29.0.dist-info}/RECORD +214 -200
- {pulumi_gcp-7.28.0a1718950249.dist-info → pulumi_gcp-7.29.0.dist-info}/WHEEL +1 -1
- {pulumi_gcp-7.28.0a1718950249.dist-info → pulumi_gcp-7.29.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/apphub/service.py
CHANGED
@@ -463,15 +463,15 @@ class Service(pulumi.CustomResource):
|
|
463
463
|
project=service_project.project_id,
|
464
464
|
service="compute.googleapis.com")
|
465
465
|
wait120s = time.index.Sleep("wait_120s", create_duration=120s,
|
466
|
-
opts=pulumi.ResourceOptions(depends_on=[compute_service_project]))
|
466
|
+
opts = pulumi.ResourceOptions(depends_on=[compute_service_project]))
|
467
467
|
service_project_attachment = gcp.apphub.ServiceProjectAttachment("service_project_attachment", service_project_attachment_id=service_project.project_id,
|
468
|
-
opts=pulumi.ResourceOptions(depends_on=[wait120s]))
|
468
|
+
opts = pulumi.ResourceOptions(depends_on=[wait120s]))
|
469
469
|
# VPC network
|
470
470
|
ilb_network = gcp.compute.Network("ilb_network",
|
471
471
|
name="l7-ilb-network",
|
472
472
|
project=service_project.project_id,
|
473
473
|
auto_create_subnetworks=False,
|
474
|
-
opts=pulumi.ResourceOptions(depends_on=[wait120s]))
|
474
|
+
opts = pulumi.ResourceOptions(depends_on=[wait120s]))
|
475
475
|
# backend subnet
|
476
476
|
ilb_subnet = gcp.compute.Subnetwork("ilb_subnet",
|
477
477
|
name="l7-ilb-subnet",
|
@@ -488,7 +488,7 @@ class Service(pulumi.CustomResource):
|
|
488
488
|
tcp_health_check=gcp.compute.HealthCheckTcpHealthCheckArgs(
|
489
489
|
port=80,
|
490
490
|
),
|
491
|
-
opts=pulumi.ResourceOptions(depends_on=[wait120s]))
|
491
|
+
opts = pulumi.ResourceOptions(depends_on=[wait120s]))
|
492
492
|
# backend service
|
493
493
|
backend = gcp.compute.RegionBackendService("backend",
|
494
494
|
name="l7-ilb-backend-subnet",
|
@@ -510,7 +510,7 @@ class Service(pulumi.CustomResource):
|
|
510
510
|
catalog_service = gcp.apphub.get_discovered_service_output(location="us-central1",
|
511
511
|
service_uri=forwarding_rule.id.apply(lambda id: f"//compute.googleapis.com/{id}"))
|
512
512
|
wait120s_for_resource_ingestion = time.index.Sleep("wait_120s_for_resource_ingestion", create_duration=120s,
|
513
|
-
opts=pulumi.ResourceOptions(depends_on=[forwarding_rule]))
|
513
|
+
opts = pulumi.ResourceOptions(depends_on=[forwarding_rule]))
|
514
514
|
example = gcp.apphub.Service("example",
|
515
515
|
location="us-central1",
|
516
516
|
application_id=application.application_id,
|
@@ -540,15 +540,15 @@ class Service(pulumi.CustomResource):
|
|
540
540
|
project=service_project.project_id,
|
541
541
|
service="compute.googleapis.com")
|
542
542
|
wait120s = time.index.Sleep("wait_120s", create_duration=120s,
|
543
|
-
opts=pulumi.ResourceOptions(depends_on=[compute_service_project]))
|
543
|
+
opts = pulumi.ResourceOptions(depends_on=[compute_service_project]))
|
544
544
|
service_project_attachment = gcp.apphub.ServiceProjectAttachment("service_project_attachment", service_project_attachment_id=service_project.project_id,
|
545
|
-
opts=pulumi.ResourceOptions(depends_on=[wait120s]))
|
545
|
+
opts = pulumi.ResourceOptions(depends_on=[wait120s]))
|
546
546
|
# VPC network
|
547
547
|
ilb_network = gcp.compute.Network("ilb_network",
|
548
548
|
name="l7-ilb-network",
|
549
549
|
project=service_project.project_id,
|
550
550
|
auto_create_subnetworks=False,
|
551
|
-
opts=pulumi.ResourceOptions(depends_on=[wait120s]))
|
551
|
+
opts = pulumi.ResourceOptions(depends_on=[wait120s]))
|
552
552
|
# backend subnet
|
553
553
|
ilb_subnet = gcp.compute.Subnetwork("ilb_subnet",
|
554
554
|
name="l7-ilb-subnet",
|
@@ -565,7 +565,7 @@ class Service(pulumi.CustomResource):
|
|
565
565
|
tcp_health_check=gcp.compute.HealthCheckTcpHealthCheckArgs(
|
566
566
|
port=80,
|
567
567
|
),
|
568
|
-
opts=pulumi.ResourceOptions(depends_on=[wait120s]))
|
568
|
+
opts = pulumi.ResourceOptions(depends_on=[wait120s]))
|
569
569
|
# backend service
|
570
570
|
backend = gcp.compute.RegionBackendService("backend",
|
571
571
|
name="l7-ilb-backend-subnet",
|
@@ -587,7 +587,7 @@ class Service(pulumi.CustomResource):
|
|
587
587
|
catalog_service = gcp.apphub.get_discovered_service_output(location="us-central1",
|
588
588
|
service_uri=forwarding_rule.id.apply(lambda id: f"//compute.googleapis.com/{id}"))
|
589
589
|
wait120s_for_resource_ingestion = time.index.Sleep("wait_120s_for_resource_ingestion", create_duration=120s,
|
590
|
-
opts=pulumi.ResourceOptions(depends_on=[forwarding_rule]))
|
590
|
+
opts = pulumi.ResourceOptions(depends_on=[forwarding_rule]))
|
591
591
|
example = gcp.apphub.Service("example",
|
592
592
|
location="us-central1",
|
593
593
|
application_id=application.application_id,
|
@@ -691,15 +691,15 @@ class Service(pulumi.CustomResource):
|
|
691
691
|
project=service_project.project_id,
|
692
692
|
service="compute.googleapis.com")
|
693
693
|
wait120s = time.index.Sleep("wait_120s", create_duration=120s,
|
694
|
-
opts=pulumi.ResourceOptions(depends_on=[compute_service_project]))
|
694
|
+
opts = pulumi.ResourceOptions(depends_on=[compute_service_project]))
|
695
695
|
service_project_attachment = gcp.apphub.ServiceProjectAttachment("service_project_attachment", service_project_attachment_id=service_project.project_id,
|
696
|
-
opts=pulumi.ResourceOptions(depends_on=[wait120s]))
|
696
|
+
opts = pulumi.ResourceOptions(depends_on=[wait120s]))
|
697
697
|
# VPC network
|
698
698
|
ilb_network = gcp.compute.Network("ilb_network",
|
699
699
|
name="l7-ilb-network",
|
700
700
|
project=service_project.project_id,
|
701
701
|
auto_create_subnetworks=False,
|
702
|
-
opts=pulumi.ResourceOptions(depends_on=[wait120s]))
|
702
|
+
opts = pulumi.ResourceOptions(depends_on=[wait120s]))
|
703
703
|
# backend subnet
|
704
704
|
ilb_subnet = gcp.compute.Subnetwork("ilb_subnet",
|
705
705
|
name="l7-ilb-subnet",
|
@@ -716,7 +716,7 @@ class Service(pulumi.CustomResource):
|
|
716
716
|
tcp_health_check=gcp.compute.HealthCheckTcpHealthCheckArgs(
|
717
717
|
port=80,
|
718
718
|
),
|
719
|
-
opts=pulumi.ResourceOptions(depends_on=[wait120s]))
|
719
|
+
opts = pulumi.ResourceOptions(depends_on=[wait120s]))
|
720
720
|
# backend service
|
721
721
|
backend = gcp.compute.RegionBackendService("backend",
|
722
722
|
name="l7-ilb-backend-subnet",
|
@@ -738,7 +738,7 @@ class Service(pulumi.CustomResource):
|
|
738
738
|
catalog_service = gcp.apphub.get_discovered_service_output(location="us-central1",
|
739
739
|
service_uri=forwarding_rule.id.apply(lambda id: f"//compute.googleapis.com/{id}"))
|
740
740
|
wait120s_for_resource_ingestion = time.index.Sleep("wait_120s_for_resource_ingestion", create_duration=120s,
|
741
|
-
opts=pulumi.ResourceOptions(depends_on=[forwarding_rule]))
|
741
|
+
opts = pulumi.ResourceOptions(depends_on=[forwarding_rule]))
|
742
742
|
example = gcp.apphub.Service("example",
|
743
743
|
location="us-central1",
|
744
744
|
application_id=application.application_id,
|
@@ -768,15 +768,15 @@ class Service(pulumi.CustomResource):
|
|
768
768
|
project=service_project.project_id,
|
769
769
|
service="compute.googleapis.com")
|
770
770
|
wait120s = time.index.Sleep("wait_120s", create_duration=120s,
|
771
|
-
opts=pulumi.ResourceOptions(depends_on=[compute_service_project]))
|
771
|
+
opts = pulumi.ResourceOptions(depends_on=[compute_service_project]))
|
772
772
|
service_project_attachment = gcp.apphub.ServiceProjectAttachment("service_project_attachment", service_project_attachment_id=service_project.project_id,
|
773
|
-
opts=pulumi.ResourceOptions(depends_on=[wait120s]))
|
773
|
+
opts = pulumi.ResourceOptions(depends_on=[wait120s]))
|
774
774
|
# VPC network
|
775
775
|
ilb_network = gcp.compute.Network("ilb_network",
|
776
776
|
name="l7-ilb-network",
|
777
777
|
project=service_project.project_id,
|
778
778
|
auto_create_subnetworks=False,
|
779
|
-
opts=pulumi.ResourceOptions(depends_on=[wait120s]))
|
779
|
+
opts = pulumi.ResourceOptions(depends_on=[wait120s]))
|
780
780
|
# backend subnet
|
781
781
|
ilb_subnet = gcp.compute.Subnetwork("ilb_subnet",
|
782
782
|
name="l7-ilb-subnet",
|
@@ -793,7 +793,7 @@ class Service(pulumi.CustomResource):
|
|
793
793
|
tcp_health_check=gcp.compute.HealthCheckTcpHealthCheckArgs(
|
794
794
|
port=80,
|
795
795
|
),
|
796
|
-
opts=pulumi.ResourceOptions(depends_on=[wait120s]))
|
796
|
+
opts = pulumi.ResourceOptions(depends_on=[wait120s]))
|
797
797
|
# backend service
|
798
798
|
backend = gcp.compute.RegionBackendService("backend",
|
799
799
|
name="l7-ilb-backend-subnet",
|
@@ -815,7 +815,7 @@ class Service(pulumi.CustomResource):
|
|
815
815
|
catalog_service = gcp.apphub.get_discovered_service_output(location="us-central1",
|
816
816
|
service_uri=forwarding_rule.id.apply(lambda id: f"//compute.googleapis.com/{id}"))
|
817
817
|
wait120s_for_resource_ingestion = time.index.Sleep("wait_120s_for_resource_ingestion", create_duration=120s,
|
818
|
-
opts=pulumi.ResourceOptions(depends_on=[forwarding_rule]))
|
818
|
+
opts = pulumi.ResourceOptions(depends_on=[forwarding_rule]))
|
819
819
|
example = gcp.apphub.Service("example",
|
820
820
|
location="us-central1",
|
821
821
|
application_id=application.application_id,
|
@@ -236,9 +236,9 @@ class ServiceProjectAttachment(pulumi.CustomResource):
|
|
236
236
|
name="Service Project",
|
237
237
|
org_id="123456789")
|
238
238
|
wait120s = time.index.Sleep("wait_120s", create_duration=120s,
|
239
|
-
opts=pulumi.ResourceOptions(depends_on=[service_project]))
|
239
|
+
opts = pulumi.ResourceOptions(depends_on=[service_project]))
|
240
240
|
example = gcp.apphub.ServiceProjectAttachment("example", service_project_attachment_id=service_project.project_id,
|
241
|
-
opts=pulumi.ResourceOptions(depends_on=[wait120s]))
|
241
|
+
opts = pulumi.ResourceOptions(depends_on=[wait120s]))
|
242
242
|
```
|
243
243
|
### Service Project Attachment Full
|
244
244
|
|
@@ -252,11 +252,11 @@ class ServiceProjectAttachment(pulumi.CustomResource):
|
|
252
252
|
name="Service Project Full",
|
253
253
|
org_id="123456789")
|
254
254
|
wait120s = time.index.Sleep("wait_120s", create_duration=120s,
|
255
|
-
opts=pulumi.ResourceOptions(depends_on=[service_project_full]))
|
255
|
+
opts = pulumi.ResourceOptions(depends_on=[service_project_full]))
|
256
256
|
example2 = gcp.apphub.ServiceProjectAttachment("example2",
|
257
257
|
service_project_attachment_id=service_project_full.project_id,
|
258
258
|
service_project=service_project_full.project_id,
|
259
|
-
opts=pulumi.ResourceOptions(depends_on=[wait120s]))
|
259
|
+
opts = pulumi.ResourceOptions(depends_on=[wait120s]))
|
260
260
|
```
|
261
261
|
|
262
262
|
## Import
|
@@ -318,9 +318,9 @@ class ServiceProjectAttachment(pulumi.CustomResource):
|
|
318
318
|
name="Service Project",
|
319
319
|
org_id="123456789")
|
320
320
|
wait120s = time.index.Sleep("wait_120s", create_duration=120s,
|
321
|
-
opts=pulumi.ResourceOptions(depends_on=[service_project]))
|
321
|
+
opts = pulumi.ResourceOptions(depends_on=[service_project]))
|
322
322
|
example = gcp.apphub.ServiceProjectAttachment("example", service_project_attachment_id=service_project.project_id,
|
323
|
-
opts=pulumi.ResourceOptions(depends_on=[wait120s]))
|
323
|
+
opts = pulumi.ResourceOptions(depends_on=[wait120s]))
|
324
324
|
```
|
325
325
|
### Service Project Attachment Full
|
326
326
|
|
@@ -334,11 +334,11 @@ class ServiceProjectAttachment(pulumi.CustomResource):
|
|
334
334
|
name="Service Project Full",
|
335
335
|
org_id="123456789")
|
336
336
|
wait120s = time.index.Sleep("wait_120s", create_duration=120s,
|
337
|
-
opts=pulumi.ResourceOptions(depends_on=[service_project_full]))
|
337
|
+
opts = pulumi.ResourceOptions(depends_on=[service_project_full]))
|
338
338
|
example2 = gcp.apphub.ServiceProjectAttachment("example2",
|
339
339
|
service_project_attachment_id=service_project_full.project_id,
|
340
340
|
service_project=service_project_full.project_id,
|
341
|
-
opts=pulumi.ResourceOptions(depends_on=[wait120s]))
|
341
|
+
opts = pulumi.ResourceOptions(depends_on=[wait120s]))
|
342
342
|
```
|
343
343
|
|
344
344
|
## Import
|
@@ -580,7 +580,7 @@ class AuthConfig(pulumi.CustomResource):
|
|
580
580
|
password="test-password",
|
581
581
|
),
|
582
582
|
),
|
583
|
-
opts=pulumi.ResourceOptions(depends_on=[client]))
|
583
|
+
opts = pulumi.ResourceOptions(depends_on=[client]))
|
584
584
|
```
|
585
585
|
|
586
586
|
## Import
|
@@ -652,7 +652,7 @@ class AuthConfig(pulumi.CustomResource):
|
|
652
652
|
password="test-password",
|
653
653
|
),
|
654
654
|
),
|
655
|
-
opts=pulumi.ResourceOptions(depends_on=[client]))
|
655
|
+
opts = pulumi.ResourceOptions(depends_on=[client]))
|
656
656
|
```
|
657
657
|
|
658
658
|
## Import
|
@@ -106,6 +106,7 @@ class ClientArgs:
|
|
106
106
|
|
107
107
|
@property
|
108
108
|
@pulumi.getter(name="createSampleWorkflows")
|
109
|
+
@_utilities.deprecated("""`create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.""")
|
109
110
|
def create_sample_workflows(self) -> Optional[pulumi.Input[bool]]:
|
110
111
|
"""
|
111
112
|
(Optional, Deprecated)
|
@@ -113,9 +114,6 @@ class ClientArgs:
|
|
113
114
|
|
114
115
|
> **Warning:** `create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.
|
115
116
|
"""
|
116
|
-
warnings.warn("""`create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.""", DeprecationWarning)
|
117
|
-
pulumi.log.warn("""create_sample_workflows is deprecated: `create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.""")
|
118
|
-
|
119
117
|
return pulumi.get(self, "create_sample_workflows")
|
120
118
|
|
121
119
|
@create_sample_workflows.setter
|
@@ -137,6 +135,7 @@ class ClientArgs:
|
|
137
135
|
|
138
136
|
@property
|
139
137
|
@pulumi.getter(name="provisionGmek")
|
138
|
+
@_utilities.deprecated("""`provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.""")
|
140
139
|
def provision_gmek(self) -> Optional[pulumi.Input[bool]]:
|
141
140
|
"""
|
142
141
|
(Optional, Deprecated)
|
@@ -144,9 +143,6 @@ class ClientArgs:
|
|
144
143
|
|
145
144
|
> **Warning:** `provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.
|
146
145
|
"""
|
147
|
-
warnings.warn("""`provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.""", DeprecationWarning)
|
148
|
-
pulumi.log.warn("""provision_gmek is deprecated: `provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.""")
|
149
|
-
|
150
146
|
return pulumi.get(self, "provision_gmek")
|
151
147
|
|
152
148
|
@provision_gmek.setter
|
@@ -245,6 +241,7 @@ class _ClientState:
|
|
245
241
|
|
246
242
|
@property
|
247
243
|
@pulumi.getter(name="createSampleWorkflows")
|
244
|
+
@_utilities.deprecated("""`create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.""")
|
248
245
|
def create_sample_workflows(self) -> Optional[pulumi.Input[bool]]:
|
249
246
|
"""
|
250
247
|
(Optional, Deprecated)
|
@@ -252,9 +249,6 @@ class _ClientState:
|
|
252
249
|
|
253
250
|
> **Warning:** `create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.
|
254
251
|
"""
|
255
|
-
warnings.warn("""`create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.""", DeprecationWarning)
|
256
|
-
pulumi.log.warn("""create_sample_workflows is deprecated: `create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.""")
|
257
|
-
|
258
252
|
return pulumi.get(self, "create_sample_workflows")
|
259
253
|
|
260
254
|
@create_sample_workflows.setter
|
@@ -291,6 +285,7 @@ class _ClientState:
|
|
291
285
|
|
292
286
|
@property
|
293
287
|
@pulumi.getter(name="provisionGmek")
|
288
|
+
@_utilities.deprecated("""`provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.""")
|
294
289
|
def provision_gmek(self) -> Optional[pulumi.Input[bool]]:
|
295
290
|
"""
|
296
291
|
(Optional, Deprecated)
|
@@ -298,9 +293,6 @@ class _ClientState:
|
|
298
293
|
|
299
294
|
> **Warning:** `provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.
|
300
295
|
"""
|
301
|
-
warnings.warn("""`provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.""", DeprecationWarning)
|
302
|
-
pulumi.log.warn("""provision_gmek is deprecated: `provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.""")
|
303
|
-
|
304
296
|
return pulumi.get(self, "provision_gmek")
|
305
297
|
|
306
298
|
@provision_gmek.setter
|
@@ -625,6 +617,7 @@ class Client(pulumi.CustomResource):
|
|
625
617
|
|
626
618
|
@property
|
627
619
|
@pulumi.getter(name="createSampleWorkflows")
|
620
|
+
@_utilities.deprecated("""`create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.""")
|
628
621
|
def create_sample_workflows(self) -> pulumi.Output[Optional[bool]]:
|
629
622
|
"""
|
630
623
|
(Optional, Deprecated)
|
@@ -632,9 +625,6 @@ class Client(pulumi.CustomResource):
|
|
632
625
|
|
633
626
|
> **Warning:** `create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.
|
634
627
|
"""
|
635
|
-
warnings.warn("""`create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.""", DeprecationWarning)
|
636
|
-
pulumi.log.warn("""create_sample_workflows is deprecated: `create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.""")
|
637
|
-
|
638
628
|
return pulumi.get(self, "create_sample_workflows")
|
639
629
|
|
640
630
|
@property
|
@@ -659,6 +649,7 @@ class Client(pulumi.CustomResource):
|
|
659
649
|
|
660
650
|
@property
|
661
651
|
@pulumi.getter(name="provisionGmek")
|
652
|
+
@_utilities.deprecated("""`provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.""")
|
662
653
|
def provision_gmek(self) -> pulumi.Output[Optional[bool]]:
|
663
654
|
"""
|
664
655
|
(Optional, Deprecated)
|
@@ -666,9 +657,6 @@ class Client(pulumi.CustomResource):
|
|
666
657
|
|
667
658
|
> **Warning:** `provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.
|
668
659
|
"""
|
669
|
-
warnings.warn("""`provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.""", DeprecationWarning)
|
670
|
-
pulumi.log.warn("""provision_gmek is deprecated: `provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.""")
|
671
|
-
|
672
660
|
return pulumi.get(self, "provision_gmek")
|
673
661
|
|
674
662
|
@property
|
@@ -606,7 +606,7 @@ class RepositoryRemoteRepositoryConfigAptRepositoryPublicRepositoryArgs:
|
|
606
606
|
"""
|
607
607
|
:param pulumi.Input[str] repository_base: A common public repository base for Yum.
|
608
608
|
Possible values are: `CENTOS`, `CENTOS_DEBUG`, `CENTOS_VAULT`, `CENTOS_STREAM`, `ROCKY`, `EPEL`.
|
609
|
-
:param pulumi.Input[str] repository_path: Specific repository from the base, e.g. `"
|
609
|
+
:param pulumi.Input[str] repository_path: Specific repository from the base, e.g. `"pub/rocky/9/BaseOS/x86_64/os"`
|
610
610
|
"""
|
611
611
|
pulumi.set(__self__, "repository_base", repository_base)
|
612
612
|
pulumi.set(__self__, "repository_path", repository_path)
|
@@ -628,7 +628,7 @@ class RepositoryRemoteRepositoryConfigAptRepositoryPublicRepositoryArgs:
|
|
628
628
|
@pulumi.getter(name="repositoryPath")
|
629
629
|
def repository_path(self) -> pulumi.Input[str]:
|
630
630
|
"""
|
631
|
-
Specific repository from the base, e.g. `"
|
631
|
+
Specific repository from the base, e.g. `"pub/rocky/9/BaseOS/x86_64/os"`
|
632
632
|
"""
|
633
633
|
return pulumi.get(self, "repository_path")
|
634
634
|
|
@@ -1010,7 +1010,7 @@ class RepositoryRemoteRepositoryConfigYumRepositoryPublicRepositoryArgs:
|
|
1010
1010
|
"""
|
1011
1011
|
:param pulumi.Input[str] repository_base: A common public repository base for Yum.
|
1012
1012
|
Possible values are: `CENTOS`, `CENTOS_DEBUG`, `CENTOS_VAULT`, `CENTOS_STREAM`, `ROCKY`, `EPEL`.
|
1013
|
-
:param pulumi.Input[str] repository_path: Specific repository from the base, e.g. `"
|
1013
|
+
:param pulumi.Input[str] repository_path: Specific repository from the base, e.g. `"pub/rocky/9/BaseOS/x86_64/os"`
|
1014
1014
|
"""
|
1015
1015
|
pulumi.set(__self__, "repository_base", repository_base)
|
1016
1016
|
pulumi.set(__self__, "repository_path", repository_path)
|
@@ -1032,7 +1032,7 @@ class RepositoryRemoteRepositoryConfigYumRepositoryPublicRepositoryArgs:
|
|
1032
1032
|
@pulumi.getter(name="repositoryPath")
|
1033
1033
|
def repository_path(self) -> pulumi.Input[str]:
|
1034
1034
|
"""
|
1035
|
-
Specific repository from the base, e.g. `"
|
1035
|
+
Specific repository from the base, e.g. `"pub/rocky/9/BaseOS/x86_64/os"`
|
1036
1036
|
"""
|
1037
1037
|
return pulumi.get(self, "repository_path")
|
1038
1038
|
|
@@ -0,0 +1,244 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
|
12
|
+
__all__ = [
|
13
|
+
'GetDockerImageResult',
|
14
|
+
'AwaitableGetDockerImageResult',
|
15
|
+
'get_docker_image',
|
16
|
+
'get_docker_image_output',
|
17
|
+
]
|
18
|
+
|
19
|
+
@pulumi.output_type
|
20
|
+
class GetDockerImageResult:
|
21
|
+
"""
|
22
|
+
A collection of values returned by getDockerImage.
|
23
|
+
"""
|
24
|
+
def __init__(__self__, build_time=None, id=None, image_name=None, image_size_bytes=None, location=None, media_type=None, name=None, project=None, repository_id=None, self_link=None, tags=None, update_time=None, upload_time=None):
|
25
|
+
if build_time and not isinstance(build_time, str):
|
26
|
+
raise TypeError("Expected argument 'build_time' to be a str")
|
27
|
+
pulumi.set(__self__, "build_time", build_time)
|
28
|
+
if id and not isinstance(id, str):
|
29
|
+
raise TypeError("Expected argument 'id' to be a str")
|
30
|
+
pulumi.set(__self__, "id", id)
|
31
|
+
if image_name and not isinstance(image_name, str):
|
32
|
+
raise TypeError("Expected argument 'image_name' to be a str")
|
33
|
+
pulumi.set(__self__, "image_name", image_name)
|
34
|
+
if image_size_bytes and not isinstance(image_size_bytes, str):
|
35
|
+
raise TypeError("Expected argument 'image_size_bytes' to be a str")
|
36
|
+
pulumi.set(__self__, "image_size_bytes", image_size_bytes)
|
37
|
+
if location and not isinstance(location, str):
|
38
|
+
raise TypeError("Expected argument 'location' to be a str")
|
39
|
+
pulumi.set(__self__, "location", location)
|
40
|
+
if media_type and not isinstance(media_type, str):
|
41
|
+
raise TypeError("Expected argument 'media_type' to be a str")
|
42
|
+
pulumi.set(__self__, "media_type", media_type)
|
43
|
+
if name and not isinstance(name, str):
|
44
|
+
raise TypeError("Expected argument 'name' to be a str")
|
45
|
+
pulumi.set(__self__, "name", name)
|
46
|
+
if project and not isinstance(project, str):
|
47
|
+
raise TypeError("Expected argument 'project' to be a str")
|
48
|
+
pulumi.set(__self__, "project", project)
|
49
|
+
if repository_id and not isinstance(repository_id, str):
|
50
|
+
raise TypeError("Expected argument 'repository_id' to be a str")
|
51
|
+
pulumi.set(__self__, "repository_id", repository_id)
|
52
|
+
if self_link and not isinstance(self_link, str):
|
53
|
+
raise TypeError("Expected argument 'self_link' to be a str")
|
54
|
+
pulumi.set(__self__, "self_link", self_link)
|
55
|
+
if tags and not isinstance(tags, list):
|
56
|
+
raise TypeError("Expected argument 'tags' to be a list")
|
57
|
+
pulumi.set(__self__, "tags", tags)
|
58
|
+
if update_time and not isinstance(update_time, str):
|
59
|
+
raise TypeError("Expected argument 'update_time' to be a str")
|
60
|
+
pulumi.set(__self__, "update_time", update_time)
|
61
|
+
if upload_time and not isinstance(upload_time, str):
|
62
|
+
raise TypeError("Expected argument 'upload_time' to be a str")
|
63
|
+
pulumi.set(__self__, "upload_time", upload_time)
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="buildTime")
|
67
|
+
def build_time(self) -> str:
|
68
|
+
"""
|
69
|
+
The time, as a RFC 3339 string, this image was built.
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "build_time")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter
|
75
|
+
def id(self) -> str:
|
76
|
+
"""
|
77
|
+
The provider-assigned unique ID for this managed resource.
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "id")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="imageName")
|
83
|
+
def image_name(self) -> str:
|
84
|
+
return pulumi.get(self, "image_name")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter(name="imageSizeBytes")
|
88
|
+
def image_size_bytes(self) -> str:
|
89
|
+
"""
|
90
|
+
Calculated size of the image in bytes.
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "image_size_bytes")
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter
|
96
|
+
def location(self) -> str:
|
97
|
+
return pulumi.get(self, "location")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter(name="mediaType")
|
101
|
+
def media_type(self) -> str:
|
102
|
+
"""
|
103
|
+
Media type of this image, e.g. `application/vnd.docker.distribution.manifest.v2+json`.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "media_type")
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter
|
109
|
+
def name(self) -> str:
|
110
|
+
"""
|
111
|
+
The fully qualified name of the fetched image. This name has the form: `projects/{{project}}/locations/{{location}}/repository/{{repository_id}}/dockerImages/{{docker_image}}`. For example,
|
112
|
+
```
|
113
|
+
projects/test-project/locations/us-west4/repositories/test-repo/dockerImages/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf
|
114
|
+
```
|
115
|
+
"""
|
116
|
+
return pulumi.get(self, "name")
|
117
|
+
|
118
|
+
@property
|
119
|
+
@pulumi.getter
|
120
|
+
def project(self) -> Optional[str]:
|
121
|
+
return pulumi.get(self, "project")
|
122
|
+
|
123
|
+
@property
|
124
|
+
@pulumi.getter(name="repositoryId")
|
125
|
+
def repository_id(self) -> str:
|
126
|
+
return pulumi.get(self, "repository_id")
|
127
|
+
|
128
|
+
@property
|
129
|
+
@pulumi.getter(name="selfLink")
|
130
|
+
def self_link(self) -> str:
|
131
|
+
"""
|
132
|
+
The URI to access the image. For example,
|
133
|
+
```
|
134
|
+
us-west4-docker.pkg.dev/test-project/test-repo/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf
|
135
|
+
```
|
136
|
+
"""
|
137
|
+
return pulumi.get(self, "self_link")
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter
|
141
|
+
def tags(self) -> Sequence[str]:
|
142
|
+
"""
|
143
|
+
A list of all tags associated with the image.
|
144
|
+
"""
|
145
|
+
return pulumi.get(self, "tags")
|
146
|
+
|
147
|
+
@property
|
148
|
+
@pulumi.getter(name="updateTime")
|
149
|
+
def update_time(self) -> str:
|
150
|
+
"""
|
151
|
+
The time, as a RFC 3339 string, this image was updated.
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "update_time")
|
154
|
+
|
155
|
+
@property
|
156
|
+
@pulumi.getter(name="uploadTime")
|
157
|
+
def upload_time(self) -> str:
|
158
|
+
"""
|
159
|
+
The time, as a RFC 3339 string, the image was uploaded. For example, `2014-10-02T15:01:23.045123456Z`.
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "upload_time")
|
162
|
+
|
163
|
+
|
164
|
+
class AwaitableGetDockerImageResult(GetDockerImageResult):
|
165
|
+
# pylint: disable=using-constant-test
|
166
|
+
def __await__(self):
|
167
|
+
if False:
|
168
|
+
yield self
|
169
|
+
return GetDockerImageResult(
|
170
|
+
build_time=self.build_time,
|
171
|
+
id=self.id,
|
172
|
+
image_name=self.image_name,
|
173
|
+
image_size_bytes=self.image_size_bytes,
|
174
|
+
location=self.location,
|
175
|
+
media_type=self.media_type,
|
176
|
+
name=self.name,
|
177
|
+
project=self.project,
|
178
|
+
repository_id=self.repository_id,
|
179
|
+
self_link=self.self_link,
|
180
|
+
tags=self.tags,
|
181
|
+
update_time=self.update_time,
|
182
|
+
upload_time=self.upload_time)
|
183
|
+
|
184
|
+
|
185
|
+
def get_docker_image(image_name: Optional[str] = None,
|
186
|
+
location: Optional[str] = None,
|
187
|
+
project: Optional[str] = None,
|
188
|
+
repository_id: Optional[str] = None,
|
189
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDockerImageResult:
|
190
|
+
"""
|
191
|
+
This data source fetches information from a provided Artifact Registry repository, including the fully qualified name and URI for an image, based on a the latest version of image name and optional digest or tag.
|
192
|
+
|
193
|
+
> **Note**
|
194
|
+
Requires one of the following OAuth scopes: `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/cloud-platform.read-only`.
|
195
|
+
|
196
|
+
|
197
|
+
:param str image_name: The image name to fetch. If no digest or tag is provided, then the latest modified image will be used.
|
198
|
+
:param str location: The location of the artifact registry.
|
199
|
+
:param str project: The project ID in which the resource belongs. If it is not provided, the provider project is used.
|
200
|
+
:param str repository_id: The last part of the repository name. to fetch from.
|
201
|
+
"""
|
202
|
+
__args__ = dict()
|
203
|
+
__args__['imageName'] = image_name
|
204
|
+
__args__['location'] = location
|
205
|
+
__args__['project'] = project
|
206
|
+
__args__['repositoryId'] = repository_id
|
207
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
208
|
+
__ret__ = pulumi.runtime.invoke('gcp:artifactregistry/getDockerImage:getDockerImage', __args__, opts=opts, typ=GetDockerImageResult).value
|
209
|
+
|
210
|
+
return AwaitableGetDockerImageResult(
|
211
|
+
build_time=pulumi.get(__ret__, 'build_time'),
|
212
|
+
id=pulumi.get(__ret__, 'id'),
|
213
|
+
image_name=pulumi.get(__ret__, 'image_name'),
|
214
|
+
image_size_bytes=pulumi.get(__ret__, 'image_size_bytes'),
|
215
|
+
location=pulumi.get(__ret__, 'location'),
|
216
|
+
media_type=pulumi.get(__ret__, 'media_type'),
|
217
|
+
name=pulumi.get(__ret__, 'name'),
|
218
|
+
project=pulumi.get(__ret__, 'project'),
|
219
|
+
repository_id=pulumi.get(__ret__, 'repository_id'),
|
220
|
+
self_link=pulumi.get(__ret__, 'self_link'),
|
221
|
+
tags=pulumi.get(__ret__, 'tags'),
|
222
|
+
update_time=pulumi.get(__ret__, 'update_time'),
|
223
|
+
upload_time=pulumi.get(__ret__, 'upload_time'))
|
224
|
+
|
225
|
+
|
226
|
+
@_utilities.lift_output_func(get_docker_image)
|
227
|
+
def get_docker_image_output(image_name: Optional[pulumi.Input[str]] = None,
|
228
|
+
location: Optional[pulumi.Input[str]] = None,
|
229
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
230
|
+
repository_id: Optional[pulumi.Input[str]] = None,
|
231
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDockerImageResult]:
|
232
|
+
"""
|
233
|
+
This data source fetches information from a provided Artifact Registry repository, including the fully qualified name and URI for an image, based on a the latest version of image name and optional digest or tag.
|
234
|
+
|
235
|
+
> **Note**
|
236
|
+
Requires one of the following OAuth scopes: `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/cloud-platform.read-only`.
|
237
|
+
|
238
|
+
|
239
|
+
:param str image_name: The image name to fetch. If no digest or tag is provided, then the latest modified image will be used.
|
240
|
+
:param str location: The location of the artifact registry.
|
241
|
+
:param str project: The project ID in which the resource belongs. If it is not provided, the provider project is used.
|
242
|
+
:param str repository_id: The last part of the repository name. to fetch from.
|
243
|
+
"""
|
244
|
+
...
|