pulumi-gcp 8.20.0a1739946722__py3-none-any.whl → 8.20.1__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 +64 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +168 -8
- pulumi_gcp/accesscontextmanager/get_access_policy_iam_policy.py +2 -2
- pulumi_gcp/accesscontextmanager/outputs.py +104 -8
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +78 -3
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +78 -3
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +78 -3
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +78 -3
- pulumi_gcp/alloydb/__init__.py +2 -0
- pulumi_gcp/alloydb/get_cluster.py +491 -0
- pulumi_gcp/alloydb/get_instance.py +466 -0
- pulumi_gcp/alloydb/outputs.py +1160 -0
- pulumi_gcp/apigateway/get_api_config_iam_policy.py +20 -2
- pulumi_gcp/apigateway/get_api_iam_policy.py +20 -2
- pulumi_gcp/apigateway/get_gateway_iam_policy.py +22 -2
- pulumi_gcp/apigee/get_environment_iam_policy.py +2 -2
- pulumi_gcp/appengine/_inputs.py +3 -3
- pulumi_gcp/appengine/outputs.py +2 -2
- pulumi_gcp/artifactregistry/get_repository_iam_policy.py +2 -2
- pulumi_gcp/backupdisasterrecovery/backup_plan.py +16 -0
- pulumi_gcp/backupdisasterrecovery/backup_plan_association.py +16 -0
- pulumi_gcp/backupdisasterrecovery/management_server.py +16 -0
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +2 -2
- pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +2 -2
- pulumi_gcp/bigquery/_inputs.py +6 -8
- pulumi_gcp/bigquery/connection.py +2 -14
- pulumi_gcp/bigquery/data_transfer_config.py +28 -0
- pulumi_gcp/bigquery/get_connection_iam_policy.py +2 -2
- pulumi_gcp/bigquery/get_table_iam_policy.py +2 -2
- pulumi_gcp/bigquery/outputs.py +4 -5
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +2 -2
- pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +2 -2
- pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +8 -8
- pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +2 -2
- pulumi_gcp/binaryauthorization/get_attestor_iam_policy.py +2 -2
- pulumi_gcp/certificateauthority/get_ca_pool_iam_policy.py +2 -2
- pulumi_gcp/certificateauthority/get_certificate_template_iam_policy.py +2 -2
- pulumi_gcp/chronicle/rule_deployment.py +21 -7
- pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +2 -2
- pulumi_gcp/clouddeploy/get_custom_target_type_iam_policy.py +2 -2
- pulumi_gcp/clouddeploy/get_delivery_pipeline_iam_policy.py +2 -2
- pulumi_gcp/clouddeploy/get_target_iam_policy.py +2 -2
- pulumi_gcp/cloudfunctions/get_function_iam_policy.py +2 -2
- pulumi_gcp/cloudfunctionsv2/get_function_iam_policy.py +2 -2
- pulumi_gcp/cloudrun/_inputs.py +6 -3
- pulumi_gcp/cloudrun/get_service_iam_policy.py +2 -2
- pulumi_gcp/cloudrun/outputs.py +4 -2
- pulumi_gcp/cloudrunv2/get_job_iam_policy.py +2 -2
- pulumi_gcp/cloudrunv2/get_service_iam_policy.py +2 -2
- pulumi_gcp/cloudtasks/get_queue_iam_policy.py +2 -2
- pulumi_gcp/colab/get_runtime_template_iam_policy.py +2 -2
- pulumi_gcp/composer/_inputs.py +6 -6
- pulumi_gcp/composer/get_environment.py +12 -0
- pulumi_gcp/composer/get_image_versions.py +12 -0
- pulumi_gcp/composer/get_user_workloads_config_map.py +12 -0
- pulumi_gcp/composer/get_user_workloads_secret.py +12 -0
- pulumi_gcp/composer/outputs.py +8 -8
- pulumi_gcp/compute/_inputs.py +756 -30
- pulumi_gcp/compute/firewall_policy_rule.py +0 -2
- pulumi_gcp/compute/get_backend_bucket_iam_policy.py +20 -2
- pulumi_gcp/compute/get_backend_service_iam_policy.py +20 -2
- pulumi_gcp/compute/get_disk_iam_policy.py +2 -2
- pulumi_gcp/compute/get_hc_vpn_gateway.py +45 -1
- pulumi_gcp/compute/get_image_iam_policy.py +2 -2
- pulumi_gcp/compute/get_instance_iam_policy.py +2 -2
- pulumi_gcp/compute/get_instance_template_iam_policy.py +2 -2
- pulumi_gcp/compute/get_machine_image_iam_policy.py +20 -2
- pulumi_gcp/compute/get_region_backend_service_iam_policy.py +22 -2
- pulumi_gcp/compute/get_region_disk_iam_policy.py +2 -2
- pulumi_gcp/compute/get_snapshot_iam_policy.py +2 -2
- pulumi_gcp/compute/get_subnetwork_iam_policy.py +2 -2
- pulumi_gcp/compute/ha_vpn_gateway.py +189 -2
- pulumi_gcp/compute/instance_template.py +14 -35
- pulumi_gcp/compute/network_peering_routes_config.py +140 -6
- pulumi_gcp/compute/outputs.py +796 -18
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +447 -3
- pulumi_gcp/container/outputs.py +469 -5
- pulumi_gcp/containeranalysis/get_note_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/entry_group.py +4 -0
- pulumi_gcp/datacatalog/entry_group_iam_binding.py +8 -8
- pulumi_gcp/datacatalog/entry_group_iam_member.py +8 -8
- pulumi_gcp/datacatalog/entry_group_iam_policy.py +8 -8
- pulumi_gcp/datacatalog/get_entry_group_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/get_policy_tag_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/get_tag_template_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/get_taxonomy_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/policy_tag_iam_binding.py +8 -8
- pulumi_gcp/datacatalog/policy_tag_iam_member.py +8 -8
- pulumi_gcp/datacatalog/policy_tag_iam_policy.py +8 -8
- pulumi_gcp/datacatalog/tag_template.py +4 -0
- pulumi_gcp/datacatalog/tag_template_iam_binding.py +8 -8
- pulumi_gcp/datacatalog/tag_template_iam_member.py +8 -8
- pulumi_gcp/datacatalog/tag_template_iam_policy.py +8 -8
- pulumi_gcp/datacatalog/taxonomy_iam_binding.py +8 -8
- pulumi_gcp/datacatalog/taxonomy_iam_member.py +8 -8
- pulumi_gcp/datacatalog/taxonomy_iam_policy.py +8 -8
- pulumi_gcp/dataform/get_repository_iam_policy.py +22 -2
- pulumi_gcp/datafusion/get_instance_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_asset_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_datascan_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_entry_group_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_entry_type_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_lake_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_task_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_zone_iam_policy.py +2 -2
- pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +2 -2
- pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py +2 -2
- pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +2 -2
- pulumi_gcp/dataproc/metastore_federation_iam_binding.py +8 -8
- pulumi_gcp/dataproc/metastore_federation_iam_member.py +8 -8
- pulumi_gcp/dataproc/metastore_federation_iam_policy.py +8 -8
- pulumi_gcp/dataproc/metastore_service.py +27 -28
- pulumi_gcp/dataproc/metastore_service_iam_binding.py +8 -8
- pulumi_gcp/dataproc/metastore_service_iam_member.py +8 -8
- pulumi_gcp/dataproc/metastore_service_iam_policy.py +8 -8
- pulumi_gcp/developerconnect/_inputs.py +575 -0
- pulumi_gcp/developerconnect/connection.py +200 -0
- pulumi_gcp/developerconnect/git_repository_link.py +12 -0
- pulumi_gcp/developerconnect/outputs.py +461 -0
- pulumi_gcp/dns/get_managed_zone_iam_policy.py +2 -2
- pulumi_gcp/endpoints/get_service_iam_policy.py +2 -2
- pulumi_gcp/eventarc/_inputs.py +29 -8
- pulumi_gcp/eventarc/google_channel_config.py +58 -46
- pulumi_gcp/eventarc/outputs.py +20 -6
- pulumi_gcp/eventarc/trigger.py +95 -72
- pulumi_gcp/filestore/backup.py +4 -4
- pulumi_gcp/firebase/__init__.py +1 -0
- pulumi_gcp/firebase/data_connect_service.py +937 -0
- pulumi_gcp/gemini/__init__.py +5 -0
- pulumi_gcp/gemini/data_sharing_with_google_setting.py +613 -0
- pulumi_gcp/gemini/data_sharing_with_google_setting_binding.py +722 -0
- pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +608 -0
- pulumi_gcp/gemini/get_repository_group_iam_policy.py +2 -2
- pulumi_gcp/gemini/logging_setting.py +42 -50
- pulumi_gcp/gemini/logging_setting_binding.py +734 -0
- pulumi_gcp/gemini/release_channel_setting.py +39 -43
- pulumi_gcp/gemini/release_channel_setting_binding.py +734 -0
- pulumi_gcp/gkebackup/get_backup_plan_iam_policy.py +2 -2
- pulumi_gcp/gkebackup/get_restore_plan_iam_policy.py +2 -2
- pulumi_gcp/gkehub/get_feature_iam_policy.py +2 -2
- pulumi_gcp/gkehub/get_membership_iam_policy.py +2 -2
- pulumi_gcp/gkehub/get_scope_iam_policy.py +2 -2
- pulumi_gcp/healthcare/get_consent_store_iam_policy.py +2 -2
- pulumi_gcp/iam/organizations_policy_binding.py +10 -2
- pulumi_gcp/iam/projects_policy_binding.py +10 -2
- pulumi_gcp/iam/workforce_pool_provider.py +63 -11
- pulumi_gcp/iap/get_app_engine_service_iam_policy.py +2 -2
- pulumi_gcp/iap/get_app_engine_version_iam_policy.py +2 -2
- pulumi_gcp/iap/get_tunnel_dest_group_iam_policy.py +2 -2
- pulumi_gcp/iap/get_tunnel_iam_policy.py +2 -2
- pulumi_gcp/iap/get_tunnel_instance_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_backend_service_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_region_backend_service_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_type_app_engine_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_type_compute_iam_policy.py +2 -2
- pulumi_gcp/kms/get_ekm_connection_iam_policy.py +2 -2
- pulumi_gcp/logging/get_log_view_iam_policy.py +2 -2
- pulumi_gcp/monitoring/_inputs.py +588 -0
- pulumi_gcp/monitoring/outputs.py +410 -0
- pulumi_gcp/netapp/__init__.py +1 -0
- pulumi_gcp/netapp/volume_quota_rule.py +895 -0
- pulumi_gcp/networksecurity/address_group_iam_binding.py +4 -4
- pulumi_gcp/networksecurity/address_group_iam_member.py +4 -4
- pulumi_gcp/networksecurity/address_group_iam_policy.py +4 -4
- pulumi_gcp/networkservices/authz_extension.py +8 -15
- pulumi_gcp/networkservices/mesh.py +79 -12
- pulumi_gcp/notebooks/get_instance_iam_policy.py +2 -2
- pulumi_gcp/notebooks/get_runtime_iam_policy.py +2 -2
- pulumi_gcp/parametermanager/get_parameter_version_render.py +3 -0
- pulumi_gcp/parametermanager/get_regional_parameter_version_render.py +3 -0
- pulumi_gcp/projects/__init__.py +1 -0
- pulumi_gcp/projects/get_ancestry.py +150 -0
- pulumi_gcp/projects/outputs.py +30 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/get_schema_iam_policy.py +2 -2
- pulumi_gcp/pubsub/get_topic_iam_policy.py +2 -2
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +211 -94
- pulumi_gcp/runtimeconfig/get_config_iam_policy.py +20 -2
- pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +2 -2
- pulumi_gcp/secretmanager/get_secret_iam_policy.py +2 -2
- pulumi_gcp/secretmanager/secret_version.py +73 -23
- pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +2 -2
- pulumi_gcp/securesourcemanager/get_repository_iam_policy.py +2 -2
- pulumi_gcp/securitycenter/get_source_iam_policy.py +2 -2
- pulumi_gcp/securitycenter/get_v2_organization_source_iam_policy.py +2 -2
- pulumi_gcp/securitycenter/mute_config.py +136 -3
- pulumi_gcp/securitycenter/v2_folder_notification_config.py +2 -14
- pulumi_gcp/securitycenter/v2_organization_notification_config.py +2 -14
- pulumi_gcp/securitycenter/v2_organization_source_iam_binding.py +8 -8
- pulumi_gcp/securitycenter/v2_organization_source_iam_member.py +8 -8
- pulumi_gcp/securitycenter/v2_organization_source_iam_policy.py +8 -8
- pulumi_gcp/securitycenter/v2_project_notification_config.py +2 -14
- pulumi_gcp/servicedirectory/get_namespace_iam_policy.py +18 -2
- pulumi_gcp/servicedirectory/get_service_iam_policy.py +18 -2
- pulumi_gcp/sourcerepo/get_repository_iam_policy.py +2 -2
- pulumi_gcp/spanner/__init__.py +1 -0
- pulumi_gcp/spanner/instance.py +0 -46
- pulumi_gcp/spanner/instance_partition.py +658 -0
- pulumi_gcp/sql/_inputs.py +6 -6
- pulumi_gcp/sql/outputs.py +4 -4
- pulumi_gcp/sql/user.py +20 -14
- pulumi_gcp/storage/bucket.py +30 -0
- pulumi_gcp/storage/get_bucket_iam_policy.py +2 -2
- pulumi_gcp/tags/get_tag_key_iam_policy.py +2 -2
- pulumi_gcp/tags/get_tag_value_iam_policy.py +2 -2
- pulumi_gcp/tpu/_inputs.py +150 -1
- pulumi_gcp/tpu/outputs.py +114 -1
- pulumi_gcp/tpu/v2_queued_resource.py +74 -0
- pulumi_gcp/vertex/get_ai_endpoint_iam_policy.py +22 -2
- pulumi_gcp/vertex/get_ai_featurestore_entitytype_iam_policy.py +20 -2
- pulumi_gcp/vertex/get_ai_featurestore_iam_policy.py +22 -2
- pulumi_gcp/workbench/get_instance_iam_policy.py +2 -2
- pulumi_gcp/workstations/get_workstation_config_iam_policy.py +24 -2
- pulumi_gcp/workstations/get_workstation_iam_policy.py +26 -2
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.20.1.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.20.1.dist-info}/RECORD +228 -217
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.20.1.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.20.1.dist-info}/top_level.txt +0 -0
pulumi_gcp/eventarc/_inputs.py
CHANGED
@@ -39,23 +39,28 @@ if not MYPY:
|
|
39
39
|
class TriggerDestinationArgsDict(TypedDict):
|
40
40
|
cloud_function: NotRequired[pulumi.Input[str]]
|
41
41
|
"""
|
42
|
+
(Output)
|
42
43
|
The Cloud Function resource name. Only Cloud Functions V2 is supported. Format projects/{project}/locations/{location}/functions/{function} This is a read-only field. [WARNING] Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.
|
43
44
|
"""
|
44
45
|
cloud_run_service: NotRequired[pulumi.Input['TriggerDestinationCloudRunServiceArgsDict']]
|
45
46
|
"""
|
46
47
|
Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger.
|
48
|
+
Structure is documented below.
|
47
49
|
"""
|
48
50
|
gke: NotRequired[pulumi.Input['TriggerDestinationGkeArgsDict']]
|
49
51
|
"""
|
50
52
|
A GKE service capable of receiving events. The service should be running in the same project as the trigger.
|
53
|
+
Structure is documented below.
|
51
54
|
"""
|
52
55
|
http_endpoint: NotRequired[pulumi.Input['TriggerDestinationHttpEndpointArgsDict']]
|
53
56
|
"""
|
54
57
|
An HTTP endpoint destination described by an URI.
|
58
|
+
Structure is documented below.
|
55
59
|
"""
|
56
60
|
network_config: NotRequired[pulumi.Input['TriggerDestinationNetworkConfigArgsDict']]
|
57
61
|
"""
|
58
62
|
Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
|
63
|
+
Structure is documented below.
|
59
64
|
"""
|
60
65
|
workflow: NotRequired[pulumi.Input[str]]
|
61
66
|
"""
|
@@ -74,11 +79,16 @@ class TriggerDestinationArgs:
|
|
74
79
|
network_config: Optional[pulumi.Input['TriggerDestinationNetworkConfigArgs']] = None,
|
75
80
|
workflow: Optional[pulumi.Input[str]] = None):
|
76
81
|
"""
|
77
|
-
:param pulumi.Input[str] cloud_function:
|
82
|
+
:param pulumi.Input[str] cloud_function: (Output)
|
83
|
+
The Cloud Function resource name. Only Cloud Functions V2 is supported. Format projects/{project}/locations/{location}/functions/{function} This is a read-only field. [WARNING] Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.
|
78
84
|
:param pulumi.Input['TriggerDestinationCloudRunServiceArgs'] cloud_run_service: Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger.
|
85
|
+
Structure is documented below.
|
79
86
|
:param pulumi.Input['TriggerDestinationGkeArgs'] gke: A GKE service capable of receiving events. The service should be running in the same project as the trigger.
|
87
|
+
Structure is documented below.
|
80
88
|
:param pulumi.Input['TriggerDestinationHttpEndpointArgs'] http_endpoint: An HTTP endpoint destination described by an URI.
|
89
|
+
Structure is documented below.
|
81
90
|
:param pulumi.Input['TriggerDestinationNetworkConfigArgs'] network_config: Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
|
91
|
+
Structure is documented below.
|
82
92
|
:param pulumi.Input[str] workflow: The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`
|
83
93
|
"""
|
84
94
|
if cloud_function is not None:
|
@@ -98,6 +108,7 @@ class TriggerDestinationArgs:
|
|
98
108
|
@pulumi.getter(name="cloudFunction")
|
99
109
|
def cloud_function(self) -> Optional[pulumi.Input[str]]:
|
100
110
|
"""
|
111
|
+
(Output)
|
101
112
|
The Cloud Function resource name. Only Cloud Functions V2 is supported. Format projects/{project}/locations/{location}/functions/{function} This is a read-only field. [WARNING] Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.
|
102
113
|
"""
|
103
114
|
return pulumi.get(self, "cloud_function")
|
@@ -111,6 +122,7 @@ class TriggerDestinationArgs:
|
|
111
122
|
def cloud_run_service(self) -> Optional[pulumi.Input['TriggerDestinationCloudRunServiceArgs']]:
|
112
123
|
"""
|
113
124
|
Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger.
|
125
|
+
Structure is documented below.
|
114
126
|
"""
|
115
127
|
return pulumi.get(self, "cloud_run_service")
|
116
128
|
|
@@ -123,6 +135,7 @@ class TriggerDestinationArgs:
|
|
123
135
|
def gke(self) -> Optional[pulumi.Input['TriggerDestinationGkeArgs']]:
|
124
136
|
"""
|
125
137
|
A GKE service capable of receiving events. The service should be running in the same project as the trigger.
|
138
|
+
Structure is documented below.
|
126
139
|
"""
|
127
140
|
return pulumi.get(self, "gke")
|
128
141
|
|
@@ -135,6 +148,7 @@ class TriggerDestinationArgs:
|
|
135
148
|
def http_endpoint(self) -> Optional[pulumi.Input['TriggerDestinationHttpEndpointArgs']]:
|
136
149
|
"""
|
137
150
|
An HTTP endpoint destination described by an URI.
|
151
|
+
Structure is documented below.
|
138
152
|
"""
|
139
153
|
return pulumi.get(self, "http_endpoint")
|
140
154
|
|
@@ -147,6 +161,7 @@ class TriggerDestinationArgs:
|
|
147
161
|
def network_config(self) -> Optional[pulumi.Input['TriggerDestinationNetworkConfigArgs']]:
|
148
162
|
"""
|
149
163
|
Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
|
164
|
+
Structure is documented below.
|
150
165
|
"""
|
151
166
|
return pulumi.get(self, "network_config")
|
152
167
|
|
@@ -382,6 +397,8 @@ if not MYPY:
|
|
382
397
|
network_attachment: pulumi.Input[str]
|
383
398
|
"""
|
384
399
|
Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`
|
400
|
+
|
401
|
+
- - -
|
385
402
|
"""
|
386
403
|
elif False:
|
387
404
|
TriggerDestinationNetworkConfigArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -392,6 +409,8 @@ class TriggerDestinationNetworkConfigArgs:
|
|
392
409
|
network_attachment: pulumi.Input[str]):
|
393
410
|
"""
|
394
411
|
:param pulumi.Input[str] network_attachment: Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`
|
412
|
+
|
413
|
+
- - -
|
395
414
|
"""
|
396
415
|
pulumi.set(__self__, "network_attachment", network_attachment)
|
397
416
|
|
@@ -400,6 +419,8 @@ class TriggerDestinationNetworkConfigArgs:
|
|
400
419
|
def network_attachment(self) -> pulumi.Input[str]:
|
401
420
|
"""
|
402
421
|
Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`
|
422
|
+
|
423
|
+
- - -
|
403
424
|
"""
|
404
425
|
return pulumi.get(self, "network_attachment")
|
405
426
|
|
@@ -417,8 +438,6 @@ if not MYPY:
|
|
417
438
|
value: pulumi.Input[str]
|
418
439
|
"""
|
419
440
|
Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud for available values.
|
420
|
-
|
421
|
-
- - -
|
422
441
|
"""
|
423
442
|
operator: NotRequired[pulumi.Input[str]]
|
424
443
|
"""
|
@@ -436,8 +455,6 @@ class TriggerMatchingCriteriaArgs:
|
|
436
455
|
"""
|
437
456
|
:param pulumi.Input[str] attribute: Required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. All triggers MUST provide a filter for the 'type' attribute.
|
438
457
|
:param pulumi.Input[str] value: Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud for available values.
|
439
|
-
|
440
|
-
- - -
|
441
458
|
:param pulumi.Input[str] operator: Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is `match-path-pattern`.
|
442
459
|
"""
|
443
460
|
pulumi.set(__self__, "attribute", attribute)
|
@@ -462,8 +479,6 @@ class TriggerMatchingCriteriaArgs:
|
|
462
479
|
def value(self) -> pulumi.Input[str]:
|
463
480
|
"""
|
464
481
|
Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud for available values.
|
465
|
-
|
466
|
-
- - -
|
467
482
|
"""
|
468
483
|
return pulumi.get(self, "value")
|
469
484
|
|
@@ -489,6 +504,7 @@ if not MYPY:
|
|
489
504
|
pubsub: NotRequired[pulumi.Input['TriggerTransportPubsubArgsDict']]
|
490
505
|
"""
|
491
506
|
The Pub/Sub topic and subscription used by Eventarc as delivery intermediary.
|
507
|
+
Structure is documented below.
|
492
508
|
"""
|
493
509
|
elif False:
|
494
510
|
TriggerTransportArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -499,6 +515,7 @@ class TriggerTransportArgs:
|
|
499
515
|
pubsub: Optional[pulumi.Input['TriggerTransportPubsubArgs']] = None):
|
500
516
|
"""
|
501
517
|
:param pulumi.Input['TriggerTransportPubsubArgs'] pubsub: The Pub/Sub topic and subscription used by Eventarc as delivery intermediary.
|
518
|
+
Structure is documented below.
|
502
519
|
"""
|
503
520
|
if pubsub is not None:
|
504
521
|
pulumi.set(__self__, "pubsub", pubsub)
|
@@ -508,6 +525,7 @@ class TriggerTransportArgs:
|
|
508
525
|
def pubsub(self) -> Optional[pulumi.Input['TriggerTransportPubsubArgs']]:
|
509
526
|
"""
|
510
527
|
The Pub/Sub topic and subscription used by Eventarc as delivery intermediary.
|
528
|
+
Structure is documented below.
|
511
529
|
"""
|
512
530
|
return pulumi.get(self, "pubsub")
|
513
531
|
|
@@ -520,6 +538,7 @@ if not MYPY:
|
|
520
538
|
class TriggerTransportPubsubArgsDict(TypedDict):
|
521
539
|
subscription: NotRequired[pulumi.Input[str]]
|
522
540
|
"""
|
541
|
+
(Output)
|
523
542
|
Output only. The name of the Pub/Sub subscription created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.
|
524
543
|
"""
|
525
544
|
topic: NotRequired[pulumi.Input[str]]
|
@@ -535,7 +554,8 @@ class TriggerTransportPubsubArgs:
|
|
535
554
|
subscription: Optional[pulumi.Input[str]] = None,
|
536
555
|
topic: Optional[pulumi.Input[str]] = None):
|
537
556
|
"""
|
538
|
-
:param pulumi.Input[str] subscription: Output
|
557
|
+
:param pulumi.Input[str] subscription: (Output)
|
558
|
+
Output only. The name of the Pub/Sub subscription created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.
|
539
559
|
:param pulumi.Input[str] topic: Optional. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}. You may set an existing topic for triggers of the type google.cloud.pubsub.topic.v1.messagePublished` only. The topic you provide here will not be deleted by Eventarc at trigger deletion.
|
540
560
|
"""
|
541
561
|
if subscription is not None:
|
@@ -547,6 +567,7 @@ class TriggerTransportPubsubArgs:
|
|
547
567
|
@pulumi.getter
|
548
568
|
def subscription(self) -> Optional[pulumi.Input[str]]:
|
549
569
|
"""
|
570
|
+
(Output)
|
550
571
|
Output only. The name of the Pub/Sub subscription created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.
|
551
572
|
"""
|
552
573
|
return pulumi.get(self, "subscription")
|
@@ -26,13 +26,13 @@ class GoogleChannelConfigArgs:
|
|
26
26
|
"""
|
27
27
|
The set of arguments for constructing a GoogleChannelConfig resource.
|
28
28
|
:param pulumi.Input[str] location: The location for the resource
|
29
|
-
:param pulumi.Input[str] crypto_key_name: Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
30
|
-
:param pulumi.Input[str] name: Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`.
|
31
|
-
|
32
29
|
|
33
30
|
|
34
31
|
- - -
|
35
|
-
:param pulumi.Input[str]
|
32
|
+
:param pulumi.Input[str] crypto_key_name: Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
33
|
+
:param pulumi.Input[str] name: Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`.
|
34
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
35
|
+
If it is not provided, the provider project is used.
|
36
36
|
"""
|
37
37
|
pulumi.set(__self__, "location", location)
|
38
38
|
if crypto_key_name is not None:
|
@@ -47,6 +47,9 @@ class GoogleChannelConfigArgs:
|
|
47
47
|
def location(self) -> pulumi.Input[str]:
|
48
48
|
"""
|
49
49
|
The location for the resource
|
50
|
+
|
51
|
+
|
52
|
+
- - -
|
50
53
|
"""
|
51
54
|
return pulumi.get(self, "location")
|
52
55
|
|
@@ -71,10 +74,6 @@ class GoogleChannelConfigArgs:
|
|
71
74
|
def name(self) -> Optional[pulumi.Input[str]]:
|
72
75
|
"""
|
73
76
|
Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`.
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
- - -
|
78
77
|
"""
|
79
78
|
return pulumi.get(self, "name")
|
80
79
|
|
@@ -86,7 +85,8 @@ class GoogleChannelConfigArgs:
|
|
86
85
|
@pulumi.getter
|
87
86
|
def project(self) -> Optional[pulumi.Input[str]]:
|
88
87
|
"""
|
89
|
-
The project
|
88
|
+
The ID of the project in which the resource belongs.
|
89
|
+
If it is not provided, the provider project is used.
|
90
90
|
"""
|
91
91
|
return pulumi.get(self, "project")
|
92
92
|
|
@@ -107,12 +107,12 @@ class _GoogleChannelConfigState:
|
|
107
107
|
Input properties used for looking up and filtering GoogleChannelConfig resources.
|
108
108
|
:param pulumi.Input[str] crypto_key_name: Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
109
109
|
:param pulumi.Input[str] location: The location for the resource
|
110
|
-
:param pulumi.Input[str] name: Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`.
|
111
|
-
|
112
110
|
|
113
111
|
|
114
112
|
- - -
|
115
|
-
:param pulumi.Input[str]
|
113
|
+
:param pulumi.Input[str] name: Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`.
|
114
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
115
|
+
If it is not provided, the provider project is used.
|
116
116
|
:param pulumi.Input[str] update_time: Output only. The last-modified time.
|
117
117
|
"""
|
118
118
|
if crypto_key_name is not None:
|
@@ -143,6 +143,9 @@ class _GoogleChannelConfigState:
|
|
143
143
|
def location(self) -> Optional[pulumi.Input[str]]:
|
144
144
|
"""
|
145
145
|
The location for the resource
|
146
|
+
|
147
|
+
|
148
|
+
- - -
|
146
149
|
"""
|
147
150
|
return pulumi.get(self, "location")
|
148
151
|
|
@@ -155,10 +158,6 @@ class _GoogleChannelConfigState:
|
|
155
158
|
def name(self) -> Optional[pulumi.Input[str]]:
|
156
159
|
"""
|
157
160
|
Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`.
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
- - -
|
162
161
|
"""
|
163
162
|
return pulumi.get(self, "name")
|
164
163
|
|
@@ -170,7 +169,8 @@ class _GoogleChannelConfigState:
|
|
170
169
|
@pulumi.getter
|
171
170
|
def project(self) -> Optional[pulumi.Input[str]]:
|
172
171
|
"""
|
173
|
-
The project
|
172
|
+
The ID of the project in which the resource belongs.
|
173
|
+
If it is not provided, the provider project is used.
|
174
174
|
"""
|
175
175
|
return pulumi.get(self, "project")
|
176
176
|
|
@@ -204,28 +204,34 @@ class GoogleChannelConfig(pulumi.CustomResource):
|
|
204
204
|
"""
|
205
205
|
The Eventarc GoogleChannelConfig resource
|
206
206
|
|
207
|
+
To get more information about GoogleChannelConfig, see:
|
208
|
+
|
209
|
+
* [API documentation](https://cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations)
|
210
|
+
* How-to Guides
|
211
|
+
* [Official Documentation](https://cloud.google.com/eventarc/docs/use-cmek#enable-cmek-google-channel)
|
212
|
+
|
207
213
|
## Example Usage
|
208
214
|
|
209
|
-
###
|
215
|
+
### Eventarc Google Channel Config With Cmek
|
216
|
+
|
210
217
|
```python
|
211
218
|
import pulumi
|
212
219
|
import pulumi_gcp as gcp
|
213
220
|
|
214
221
|
test_project = gcp.organizations.get_project(project_id="my-project-name")
|
215
222
|
test_key_ring = gcp.kms.get_kms_key_ring(name="keyring",
|
216
|
-
location="us-
|
223
|
+
location="us-centra1")
|
217
224
|
key = gcp.kms.get_kms_crypto_key(name="key",
|
218
225
|
key_ring=test_key_ring.id)
|
219
|
-
|
220
|
-
crypto_key_id=
|
226
|
+
key_member = gcp.kms.CryptoKeyIAMMember("key_member",
|
227
|
+
crypto_key_id=key.id,
|
221
228
|
role="roles/cloudkms.cryptoKeyEncrypterDecrypter",
|
222
229
|
member=f"serviceAccount:service-{test_project.number}@gcp-sa-eventarc.iam.gserviceaccount.com")
|
223
230
|
primary = gcp.eventarc.GoogleChannelConfig("primary",
|
224
|
-
location="us-
|
225
|
-
name="
|
226
|
-
|
227
|
-
|
228
|
-
opts = pulumi.ResourceOptions(depends_on=[key1_member]))
|
231
|
+
location="us-central1",
|
232
|
+
name="googleChannelConfig",
|
233
|
+
crypto_key_name=key.id,
|
234
|
+
opts = pulumi.ResourceOptions(depends_on=[key_member]))
|
229
235
|
```
|
230
236
|
|
231
237
|
## Import
|
@@ -256,12 +262,12 @@ class GoogleChannelConfig(pulumi.CustomResource):
|
|
256
262
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
257
263
|
:param pulumi.Input[str] crypto_key_name: Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
258
264
|
:param pulumi.Input[str] location: The location for the resource
|
259
|
-
:param pulumi.Input[str] name: Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`.
|
260
|
-
|
261
265
|
|
262
266
|
|
263
267
|
- - -
|
264
|
-
:param pulumi.Input[str]
|
268
|
+
:param pulumi.Input[str] name: Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`.
|
269
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
270
|
+
If it is not provided, the provider project is used.
|
265
271
|
"""
|
266
272
|
...
|
267
273
|
@overload
|
@@ -272,28 +278,34 @@ class GoogleChannelConfig(pulumi.CustomResource):
|
|
272
278
|
"""
|
273
279
|
The Eventarc GoogleChannelConfig resource
|
274
280
|
|
281
|
+
To get more information about GoogleChannelConfig, see:
|
282
|
+
|
283
|
+
* [API documentation](https://cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations)
|
284
|
+
* How-to Guides
|
285
|
+
* [Official Documentation](https://cloud.google.com/eventarc/docs/use-cmek#enable-cmek-google-channel)
|
286
|
+
|
275
287
|
## Example Usage
|
276
288
|
|
277
|
-
###
|
289
|
+
### Eventarc Google Channel Config With Cmek
|
290
|
+
|
278
291
|
```python
|
279
292
|
import pulumi
|
280
293
|
import pulumi_gcp as gcp
|
281
294
|
|
282
295
|
test_project = gcp.organizations.get_project(project_id="my-project-name")
|
283
296
|
test_key_ring = gcp.kms.get_kms_key_ring(name="keyring",
|
284
|
-
location="us-
|
297
|
+
location="us-centra1")
|
285
298
|
key = gcp.kms.get_kms_crypto_key(name="key",
|
286
299
|
key_ring=test_key_ring.id)
|
287
|
-
|
288
|
-
crypto_key_id=
|
300
|
+
key_member = gcp.kms.CryptoKeyIAMMember("key_member",
|
301
|
+
crypto_key_id=key.id,
|
289
302
|
role="roles/cloudkms.cryptoKeyEncrypterDecrypter",
|
290
303
|
member=f"serviceAccount:service-{test_project.number}@gcp-sa-eventarc.iam.gserviceaccount.com")
|
291
304
|
primary = gcp.eventarc.GoogleChannelConfig("primary",
|
292
|
-
location="us-
|
293
|
-
name="
|
294
|
-
|
295
|
-
|
296
|
-
opts = pulumi.ResourceOptions(depends_on=[key1_member]))
|
305
|
+
location="us-central1",
|
306
|
+
name="googleChannelConfig",
|
307
|
+
crypto_key_name=key.id,
|
308
|
+
opts = pulumi.ResourceOptions(depends_on=[key_member]))
|
297
309
|
```
|
298
310
|
|
299
311
|
## Import
|
@@ -379,12 +391,12 @@ class GoogleChannelConfig(pulumi.CustomResource):
|
|
379
391
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
380
392
|
:param pulumi.Input[str] crypto_key_name: Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
381
393
|
:param pulumi.Input[str] location: The location for the resource
|
382
|
-
:param pulumi.Input[str] name: Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`.
|
383
|
-
|
384
394
|
|
385
395
|
|
386
396
|
- - -
|
387
|
-
:param pulumi.Input[str]
|
397
|
+
:param pulumi.Input[str] name: Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`.
|
398
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
399
|
+
If it is not provided, the provider project is used.
|
388
400
|
:param pulumi.Input[str] update_time: Output only. The last-modified time.
|
389
401
|
"""
|
390
402
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -411,6 +423,9 @@ class GoogleChannelConfig(pulumi.CustomResource):
|
|
411
423
|
def location(self) -> pulumi.Output[str]:
|
412
424
|
"""
|
413
425
|
The location for the resource
|
426
|
+
|
427
|
+
|
428
|
+
- - -
|
414
429
|
"""
|
415
430
|
return pulumi.get(self, "location")
|
416
431
|
|
@@ -419,10 +434,6 @@ class GoogleChannelConfig(pulumi.CustomResource):
|
|
419
434
|
def name(self) -> pulumi.Output[str]:
|
420
435
|
"""
|
421
436
|
Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`.
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
- - -
|
426
437
|
"""
|
427
438
|
return pulumi.get(self, "name")
|
428
439
|
|
@@ -430,7 +441,8 @@ class GoogleChannelConfig(pulumi.CustomResource):
|
|
430
441
|
@pulumi.getter
|
431
442
|
def project(self) -> pulumi.Output[str]:
|
432
443
|
"""
|
433
|
-
The project
|
444
|
+
The ID of the project in which the resource belongs.
|
445
|
+
If it is not provided, the provider project is used.
|
434
446
|
"""
|
435
447
|
return pulumi.get(self, "project")
|
436
448
|
|
pulumi_gcp/eventarc/outputs.py
CHANGED
@@ -59,11 +59,16 @@ class TriggerDestination(dict):
|
|
59
59
|
network_config: Optional['outputs.TriggerDestinationNetworkConfig'] = None,
|
60
60
|
workflow: Optional[str] = None):
|
61
61
|
"""
|
62
|
-
:param str cloud_function:
|
62
|
+
:param str cloud_function: (Output)
|
63
|
+
The Cloud Function resource name. Only Cloud Functions V2 is supported. Format projects/{project}/locations/{location}/functions/{function} This is a read-only field. [WARNING] Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.
|
63
64
|
:param 'TriggerDestinationCloudRunServiceArgs' cloud_run_service: Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger.
|
65
|
+
Structure is documented below.
|
64
66
|
:param 'TriggerDestinationGkeArgs' gke: A GKE service capable of receiving events. The service should be running in the same project as the trigger.
|
67
|
+
Structure is documented below.
|
65
68
|
:param 'TriggerDestinationHttpEndpointArgs' http_endpoint: An HTTP endpoint destination described by an URI.
|
69
|
+
Structure is documented below.
|
66
70
|
:param 'TriggerDestinationNetworkConfigArgs' network_config: Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
|
71
|
+
Structure is documented below.
|
67
72
|
:param str workflow: The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`
|
68
73
|
"""
|
69
74
|
if cloud_function is not None:
|
@@ -83,6 +88,7 @@ class TriggerDestination(dict):
|
|
83
88
|
@pulumi.getter(name="cloudFunction")
|
84
89
|
def cloud_function(self) -> Optional[str]:
|
85
90
|
"""
|
91
|
+
(Output)
|
86
92
|
The Cloud Function resource name. Only Cloud Functions V2 is supported. Format projects/{project}/locations/{location}/functions/{function} This is a read-only field. [WARNING] Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.
|
87
93
|
"""
|
88
94
|
return pulumi.get(self, "cloud_function")
|
@@ -92,6 +98,7 @@ class TriggerDestination(dict):
|
|
92
98
|
def cloud_run_service(self) -> Optional['outputs.TriggerDestinationCloudRunService']:
|
93
99
|
"""
|
94
100
|
Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger.
|
101
|
+
Structure is documented below.
|
95
102
|
"""
|
96
103
|
return pulumi.get(self, "cloud_run_service")
|
97
104
|
|
@@ -100,6 +107,7 @@ class TriggerDestination(dict):
|
|
100
107
|
def gke(self) -> Optional['outputs.TriggerDestinationGke']:
|
101
108
|
"""
|
102
109
|
A GKE service capable of receiving events. The service should be running in the same project as the trigger.
|
110
|
+
Structure is documented below.
|
103
111
|
"""
|
104
112
|
return pulumi.get(self, "gke")
|
105
113
|
|
@@ -108,6 +116,7 @@ class TriggerDestination(dict):
|
|
108
116
|
def http_endpoint(self) -> Optional['outputs.TriggerDestinationHttpEndpoint']:
|
109
117
|
"""
|
110
118
|
An HTTP endpoint destination described by an URI.
|
119
|
+
Structure is documented below.
|
111
120
|
"""
|
112
121
|
return pulumi.get(self, "http_endpoint")
|
113
122
|
|
@@ -116,6 +125,7 @@ class TriggerDestination(dict):
|
|
116
125
|
def network_config(self) -> Optional['outputs.TriggerDestinationNetworkConfig']:
|
117
126
|
"""
|
118
127
|
Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
|
128
|
+
Structure is documented below.
|
119
129
|
"""
|
120
130
|
return pulumi.get(self, "network_config")
|
121
131
|
|
@@ -274,6 +284,8 @@ class TriggerDestinationNetworkConfig(dict):
|
|
274
284
|
network_attachment: str):
|
275
285
|
"""
|
276
286
|
:param str network_attachment: Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`
|
287
|
+
|
288
|
+
- - -
|
277
289
|
"""
|
278
290
|
pulumi.set(__self__, "network_attachment", network_attachment)
|
279
291
|
|
@@ -282,6 +294,8 @@ class TriggerDestinationNetworkConfig(dict):
|
|
282
294
|
def network_attachment(self) -> str:
|
283
295
|
"""
|
284
296
|
Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`
|
297
|
+
|
298
|
+
- - -
|
285
299
|
"""
|
286
300
|
return pulumi.get(self, "network_attachment")
|
287
301
|
|
@@ -295,8 +309,6 @@ class TriggerMatchingCriteria(dict):
|
|
295
309
|
"""
|
296
310
|
:param str attribute: Required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. All triggers MUST provide a filter for the 'type' attribute.
|
297
311
|
:param str value: Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud for available values.
|
298
|
-
|
299
|
-
- - -
|
300
312
|
:param str operator: Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is `match-path-pattern`.
|
301
313
|
"""
|
302
314
|
pulumi.set(__self__, "attribute", attribute)
|
@@ -317,8 +329,6 @@ class TriggerMatchingCriteria(dict):
|
|
317
329
|
def value(self) -> str:
|
318
330
|
"""
|
319
331
|
Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud for available values.
|
320
|
-
|
321
|
-
- - -
|
322
332
|
"""
|
323
333
|
return pulumi.get(self, "value")
|
324
334
|
|
@@ -337,6 +347,7 @@ class TriggerTransport(dict):
|
|
337
347
|
pubsub: Optional['outputs.TriggerTransportPubsub'] = None):
|
338
348
|
"""
|
339
349
|
:param 'TriggerTransportPubsubArgs' pubsub: The Pub/Sub topic and subscription used by Eventarc as delivery intermediary.
|
350
|
+
Structure is documented below.
|
340
351
|
"""
|
341
352
|
if pubsub is not None:
|
342
353
|
pulumi.set(__self__, "pubsub", pubsub)
|
@@ -346,6 +357,7 @@ class TriggerTransport(dict):
|
|
346
357
|
def pubsub(self) -> Optional['outputs.TriggerTransportPubsub']:
|
347
358
|
"""
|
348
359
|
The Pub/Sub topic and subscription used by Eventarc as delivery intermediary.
|
360
|
+
Structure is documented below.
|
349
361
|
"""
|
350
362
|
return pulumi.get(self, "pubsub")
|
351
363
|
|
@@ -356,7 +368,8 @@ class TriggerTransportPubsub(dict):
|
|
356
368
|
subscription: Optional[str] = None,
|
357
369
|
topic: Optional[str] = None):
|
358
370
|
"""
|
359
|
-
:param str subscription: Output
|
371
|
+
:param str subscription: (Output)
|
372
|
+
Output only. The name of the Pub/Sub subscription created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.
|
360
373
|
:param str topic: Optional. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}. You may set an existing topic for triggers of the type google.cloud.pubsub.topic.v1.messagePublished` only. The topic you provide here will not be deleted by Eventarc at trigger deletion.
|
361
374
|
"""
|
362
375
|
if subscription is not None:
|
@@ -368,6 +381,7 @@ class TriggerTransportPubsub(dict):
|
|
368
381
|
@pulumi.getter
|
369
382
|
def subscription(self) -> Optional[str]:
|
370
383
|
"""
|
384
|
+
(Output)
|
371
385
|
Output only. The name of the Pub/Sub subscription created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.
|
372
386
|
"""
|
373
387
|
return pulumi.get(self, "subscription")
|