pulumi-gcp 9.1.0a1758696393__py3-none-any.whl → 9.1.0a1758939336__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 +56 -0
- pulumi_gcp/accesscontextmanager/access_policy_iam_binding.py +7 -0
- pulumi_gcp/accesscontextmanager/access_policy_iam_member.py +7 -0
- pulumi_gcp/apigateway/api_config_iam_binding.py +7 -0
- pulumi_gcp/apigateway/api_config_iam_member.py +7 -0
- pulumi_gcp/apigateway/api_iam_binding.py +7 -0
- pulumi_gcp/apigateway/api_iam_member.py +7 -0
- pulumi_gcp/apigateway/gateway_iam_binding.py +7 -0
- pulumi_gcp/apigateway/gateway_iam_member.py +7 -0
- pulumi_gcp/apigee/environment_iam_binding.py +7 -0
- pulumi_gcp/apigee/environment_iam_member.py +7 -0
- pulumi_gcp/artifactregistry/__init__.py +1 -0
- pulumi_gcp/artifactregistry/get_maven_artifact.py +232 -0
- pulumi_gcp/artifactregistry/repository_iam_binding.py +7 -0
- pulumi_gcp/artifactregistry/repository_iam_member.py +7 -0
- pulumi_gcp/backupdisasterrecovery/__init__.py +2 -0
- pulumi_gcp/backupdisasterrecovery/get_backup_plan_associations.py +127 -0
- pulumi_gcp/backupdisasterrecovery/get_data_source_reference.py +211 -0
- pulumi_gcp/backupdisasterrecovery/outputs.py +34 -0
- pulumi_gcp/beyondcorp/security_gateway_application_iam_binding.py +7 -0
- pulumi_gcp/beyondcorp/security_gateway_application_iam_member.py +7 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_binding.py +7 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_member.py +7 -0
- pulumi_gcp/bigquery/__init__.py +5 -0
- pulumi_gcp/bigquery/_inputs.py +185 -0
- pulumi_gcp/bigquery/connection_iam_binding.py +7 -0
- pulumi_gcp/bigquery/connection_iam_member.py +7 -0
- pulumi_gcp/bigquery/datapolicyv2_data_policy.py +870 -0
- pulumi_gcp/bigquery/datapolicyv2_data_policy_iam_binding.py +838 -0
- pulumi_gcp/bigquery/datapolicyv2_data_policy_iam_member.py +838 -0
- pulumi_gcp/bigquery/datapolicyv2_data_policy_iam_policy.py +670 -0
- pulumi_gcp/bigquery/get_datapolicyv2_data_policy_iam_policy.py +182 -0
- pulumi_gcp/bigquery/iam_binding.py +7 -0
- pulumi_gcp/bigquery/iam_member.py +7 -0
- pulumi_gcp/bigquery/outputs.py +127 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +7 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +7 -0
- pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +7 -0
- pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +7 -0
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_binding.py +7 -0
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_member.py +7 -0
- pulumi_gcp/binaryauthorization/attestor_iam_binding.py +7 -0
- pulumi_gcp/binaryauthorization/attestor_iam_member.py +7 -0
- pulumi_gcp/certificateauthority/_inputs.py +37 -0
- pulumi_gcp/certificateauthority/ca_pool.py +90 -4
- pulumi_gcp/certificateauthority/ca_pool_iam_binding.py +7 -0
- pulumi_gcp/certificateauthority/ca_pool_iam_member.py +7 -0
- pulumi_gcp/certificateauthority/certificate_template_iam_binding.py +7 -0
- pulumi_gcp/certificateauthority/certificate_template_iam_member.py +7 -0
- pulumi_gcp/certificateauthority/outputs.py +39 -0
- pulumi_gcp/cloudbuildv2/connection_iam_binding.py +7 -0
- pulumi_gcp/cloudbuildv2/connection_iam_member.py +7 -0
- pulumi_gcp/cloudfunctions/function_iam_binding.py +7 -0
- pulumi_gcp/cloudfunctions/function_iam_member.py +7 -0
- pulumi_gcp/cloudfunctionsv2/function_iam_binding.py +7 -0
- pulumi_gcp/cloudfunctionsv2/function_iam_member.py +7 -0
- pulumi_gcp/cloudrun/_inputs.py +21 -1
- pulumi_gcp/cloudrun/iam_binding.py +7 -0
- pulumi_gcp/cloudrun/iam_member.py +7 -0
- pulumi_gcp/cloudrun/outputs.py +27 -2
- pulumi_gcp/cloudrunv2/_inputs.py +83 -3
- pulumi_gcp/cloudrunv2/job_iam_binding.py +7 -0
- pulumi_gcp/cloudrunv2/job_iam_member.py +7 -0
- pulumi_gcp/cloudrunv2/outputs.py +104 -6
- pulumi_gcp/cloudrunv2/service_iam_binding.py +7 -0
- pulumi_gcp/cloudrunv2/service_iam_member.py +7 -0
- pulumi_gcp/cloudrunv2/worker_pool_iam_binding.py +7 -0
- pulumi_gcp/cloudrunv2/worker_pool_iam_member.py +7 -0
- pulumi_gcp/cloudtasks/queue_iam_binding.py +7 -0
- pulumi_gcp/cloudtasks/queue_iam_member.py +7 -0
- pulumi_gcp/colab/runtime_template_iam_binding.py +7 -0
- pulumi_gcp/colab/runtime_template_iam_member.py +7 -0
- pulumi_gcp/compute/__init__.py +2 -0
- pulumi_gcp/compute/_inputs.py +214 -0
- pulumi_gcp/compute/backend_bucket_iam_binding.py +7 -0
- pulumi_gcp/compute/backend_bucket_iam_member.py +7 -0
- pulumi_gcp/compute/backend_service_iam_binding.py +7 -0
- pulumi_gcp/compute/backend_service_iam_member.py +7 -0
- pulumi_gcp/compute/disk_iam_binding.py +7 -0
- pulumi_gcp/compute/disk_iam_member.py +7 -0
- pulumi_gcp/compute/get_interconnect_location.py +278 -0
- pulumi_gcp/compute/get_interconnect_locations.py +130 -0
- pulumi_gcp/compute/get_security_policy.py +45 -1
- pulumi_gcp/compute/image_iam_binding.py +7 -0
- pulumi_gcp/compute/image_iam_member.py +7 -0
- pulumi_gcp/compute/instance_iam_binding.py +7 -0
- pulumi_gcp/compute/instance_iam_member.py +7 -0
- pulumi_gcp/compute/instance_template_iam_binding.py +7 -0
- pulumi_gcp/compute/instance_template_iam_member.py +7 -0
- pulumi_gcp/compute/instant_snapshot_iam_binding.py +7 -0
- pulumi_gcp/compute/instant_snapshot_iam_member.py +7 -0
- pulumi_gcp/compute/machine_image_iam_binding.py +7 -0
- pulumi_gcp/compute/machine_image_iam_member.py +7 -0
- pulumi_gcp/compute/outputs.py +348 -0
- pulumi_gcp/compute/region_backend_service.py +21 -7
- pulumi_gcp/compute/region_backend_service_iam_binding.py +7 -0
- pulumi_gcp/compute/region_backend_service_iam_member.py +7 -0
- pulumi_gcp/compute/region_disk_iam_binding.py +7 -0
- pulumi_gcp/compute/region_disk_iam_member.py +7 -0
- pulumi_gcp/compute/security_policy.py +147 -0
- pulumi_gcp/compute/service_attachment.py +193 -3
- pulumi_gcp/compute/snapshot_iam_binding.py +7 -0
- pulumi_gcp/compute/snapshot_iam_member.py +7 -0
- pulumi_gcp/compute/storage_pool_iam_binding.py +7 -0
- pulumi_gcp/compute/storage_pool_iam_member.py +7 -0
- pulumi_gcp/compute/subnetwork_iam_binding.py +7 -0
- pulumi_gcp/compute/subnetwork_iam_member.py +7 -0
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +59 -0
- pulumi_gcp/container/outputs.py +67 -0
- pulumi_gcp/containeranalysis/note_iam_binding.py +7 -0
- pulumi_gcp/containeranalysis/note_iam_member.py +7 -0
- pulumi_gcp/datacatalog/entry_group_iam_binding.py +7 -0
- pulumi_gcp/datacatalog/entry_group_iam_member.py +7 -0
- pulumi_gcp/datacatalog/policy_tag_iam_binding.py +7 -0
- pulumi_gcp/datacatalog/policy_tag_iam_member.py +7 -0
- pulumi_gcp/datacatalog/tag_template_iam_binding.py +7 -0
- pulumi_gcp/datacatalog/tag_template_iam_member.py +7 -0
- pulumi_gcp/datacatalog/taxonomy_iam_binding.py +7 -0
- pulumi_gcp/datacatalog/taxonomy_iam_member.py +7 -0
- pulumi_gcp/dataplex/aspect_type_iam_binding.py +7 -0
- pulumi_gcp/dataplex/aspect_type_iam_member.py +7 -0
- pulumi_gcp/dataplex/asset_iam_binding.py +7 -0
- pulumi_gcp/dataplex/asset_iam_member.py +7 -0
- pulumi_gcp/dataplex/datascan_iam_binding.py +7 -0
- pulumi_gcp/dataplex/datascan_iam_member.py +7 -0
- pulumi_gcp/dataplex/entry_group_iam_binding.py +7 -0
- pulumi_gcp/dataplex/entry_group_iam_member.py +7 -0
- pulumi_gcp/dataplex/entry_type_iam_binding.py +7 -0
- pulumi_gcp/dataplex/entry_type_iam_member.py +7 -0
- pulumi_gcp/dataplex/glossary_iam_binding.py +7 -0
- pulumi_gcp/dataplex/glossary_iam_member.py +7 -0
- pulumi_gcp/dataplex/lake_iam_binding.py +7 -0
- pulumi_gcp/dataplex/lake_iam_member.py +7 -0
- pulumi_gcp/dataplex/task_iam_binding.py +7 -0
- pulumi_gcp/dataplex/task_iam_member.py +7 -0
- pulumi_gcp/dataplex/zone_iam_binding.py +7 -0
- pulumi_gcp/dataplex/zone_iam_member.py +7 -0
- pulumi_gcp/dataproc/autoscaling_policy_iam_binding.py +7 -0
- pulumi_gcp/dataproc/autoscaling_policy_iam_member.py +7 -0
- pulumi_gcp/dataproc/metastore_database_iam_binding.py +7 -0
- pulumi_gcp/dataproc/metastore_database_iam_member.py +7 -0
- pulumi_gcp/dataproc/metastore_federation_iam_binding.py +7 -0
- pulumi_gcp/dataproc/metastore_federation_iam_member.py +7 -0
- pulumi_gcp/dataproc/metastore_service_iam_binding.py +7 -0
- pulumi_gcp/dataproc/metastore_service_iam_member.py +7 -0
- pulumi_gcp/dataproc/metastore_table_iam_binding.py +7 -0
- pulumi_gcp/dataproc/metastore_table_iam_member.py +7 -0
- pulumi_gcp/datastream/_inputs.py +21 -1
- pulumi_gcp/datastream/outputs.py +15 -1
- pulumi_gcp/datastream/stream.py +208 -0
- pulumi_gcp/discoveryengine/search_engine.py +100 -0
- pulumi_gcp/dns/dns_managed_zone_iam_binding.py +7 -0
- pulumi_gcp/dns/dns_managed_zone_iam_member.py +7 -0
- pulumi_gcp/endpoints/consumers_iam_binding.py +7 -0
- pulumi_gcp/endpoints/consumers_iam_member.py +7 -0
- pulumi_gcp/endpoints/service_iam_binding.py +7 -0
- pulumi_gcp/endpoints/service_iam_member.py +7 -0
- pulumi_gcp/firestore/field.py +6 -6
- pulumi_gcp/gemini/repository_group_iam_binding.py +7 -0
- pulumi_gcp/gemini/repository_group_iam_member.py +7 -0
- pulumi_gcp/gkebackup/backup_plan_iam_binding.py +7 -0
- pulumi_gcp/gkebackup/backup_plan_iam_member.py +7 -0
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +7 -0
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +7 -0
- pulumi_gcp/gkehub/feature_iam_binding.py +7 -0
- pulumi_gcp/gkehub/feature_iam_member.py +7 -0
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_iam_binding.py +7 -0
- pulumi_gcp/gkehub/membership_iam_member.py +7 -0
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/scope_iam_binding.py +7 -0
- pulumi_gcp/gkehub/scope_iam_member.py +7 -0
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +8 -8
- pulumi_gcp/gkeonprem/_inputs.py +56 -0
- pulumi_gcp/gkeonprem/outputs.py +50 -0
- pulumi_gcp/gkeonprem/vmware_admin_cluster.py +70 -0
- pulumi_gcp/healthcare/_inputs.py +144 -0
- pulumi_gcp/healthcare/consent_store_iam_binding.py +7 -0
- pulumi_gcp/healthcare/consent_store_iam_member.py +7 -0
- pulumi_gcp/healthcare/fhir_store.py +122 -0
- pulumi_gcp/healthcare/outputs.py +113 -0
- pulumi_gcp/iam/_inputs.py +270 -3
- pulumi_gcp/iam/outputs.py +203 -2
- pulumi_gcp/iam/workforce_pool_iam_binding.py +7 -0
- pulumi_gcp/iam/workforce_pool_iam_member.py +7 -0
- pulumi_gcp/iam/workforce_pool_provider.py +287 -0
- pulumi_gcp/iam/workload_identity_pool_iam_binding.py +7 -0
- pulumi_gcp/iam/workload_identity_pool_iam_member.py +7 -0
- pulumi_gcp/iap/app_engine_service_iam_binding.py +7 -0
- pulumi_gcp/iap/app_engine_service_iam_member.py +7 -0
- pulumi_gcp/iap/app_engine_version_iam_binding.py +7 -0
- pulumi_gcp/iap/app_engine_version_iam_member.py +7 -0
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/iap/tunnel_dest_group_iam_binding.py +7 -0
- pulumi_gcp/iap/tunnel_dest_group_iam_member.py +7 -0
- pulumi_gcp/iap/tunnel_iam_binding.py +7 -0
- pulumi_gcp/iap/tunnel_iam_member.py +7 -0
- pulumi_gcp/iap/tunnel_instance_iam_binding.py +7 -0
- pulumi_gcp/iap/tunnel_instance_iam_member.py +7 -0
- pulumi_gcp/iap/web_backend_service_iam_binding.py +7 -0
- pulumi_gcp/iap/web_backend_service_iam_member.py +7 -0
- pulumi_gcp/iap/web_cloud_run_service_iam_binding.py +7 -0
- pulumi_gcp/iap/web_cloud_run_service_iam_member.py +7 -0
- pulumi_gcp/iap/web_forwarding_rule_service_iam_binding.py +7 -0
- pulumi_gcp/iap/web_forwarding_rule_service_iam_member.py +7 -0
- pulumi_gcp/iap/web_iam_binding.py +7 -0
- pulumi_gcp/iap/web_iam_member.py +7 -0
- pulumi_gcp/iap/web_region_backend_service_iam_binding.py +7 -0
- pulumi_gcp/iap/web_region_backend_service_iam_member.py +7 -0
- pulumi_gcp/iap/web_region_forwarding_rule_service_iam_binding.py +7 -0
- pulumi_gcp/iap/web_region_forwarding_rule_service_iam_member.py +7 -0
- pulumi_gcp/iap/web_type_app_enging_iam_binding.py +7 -0
- pulumi_gcp/iap/web_type_app_enging_iam_member.py +7 -0
- pulumi_gcp/iap/web_type_compute_iam_binding.py +7 -0
- pulumi_gcp/iap/web_type_compute_iam_member.py +7 -0
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/kms/ekm_connection_iam_binding.py +7 -0
- pulumi_gcp/kms/ekm_connection_iam_member.py +7 -0
- pulumi_gcp/logging/log_view_iam_binding.py +7 -0
- pulumi_gcp/logging/log_view_iam_member.py +7 -0
- pulumi_gcp/managedkafka/connect_cluster.py +4 -4
- pulumi_gcp/managedkafka/connector.py +4 -4
- pulumi_gcp/netapp/_inputs.py +44 -1
- pulumi_gcp/netapp/outputs.py +31 -1
- pulumi_gcp/netapp/storage_pool.py +1 -1
- pulumi_gcp/networkconnectivity/spoke.py +14 -14
- pulumi_gcp/networksecurity/address_group_iam_binding.py +7 -0
- pulumi_gcp/networksecurity/address_group_iam_member.py +7 -0
- pulumi_gcp/networkservices/__init__.py +1 -0
- pulumi_gcp/networkservices/_inputs.py +393 -6
- pulumi_gcp/networkservices/outputs.py +289 -4
- pulumi_gcp/networkservices/wasm_plugin.py +740 -0
- pulumi_gcp/notebooks/instance_iam_binding.py +7 -0
- pulumi_gcp/notebooks/instance_iam_member.py +7 -0
- pulumi_gcp/notebooks/runtime_iam_binding.py +7 -0
- pulumi_gcp/notebooks/runtime_iam_member.py +7 -0
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/privilegedaccessmanager/_inputs.py +24 -1
- pulumi_gcp/privilegedaccessmanager/outputs.py +26 -1
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/schema_iam_binding.py +7 -0
- pulumi_gcp/pubsub/schema_iam_member.py +7 -0
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pubsub/topic_iam_binding.py +7 -0
- pulumi_gcp/pubsub/topic_iam_member.py +7 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/runtimeconfig/config_iam_binding.py +7 -0
- pulumi_gcp/runtimeconfig/config_iam_member.py +7 -0
- pulumi_gcp/saasruntime/__init__.py +1 -0
- pulumi_gcp/saasruntime/_inputs.py +344 -0
- pulumi_gcp/saasruntime/outputs.py +222 -0
- pulumi_gcp/saasruntime/release.py +1063 -0
- pulumi_gcp/secretmanager/regional_secret_iam_binding.py +7 -0
- pulumi_gcp/secretmanager/regional_secret_iam_member.py +7 -0
- pulumi_gcp/secretmanager/secret_iam_binding.py +7 -0
- pulumi_gcp/secretmanager/secret_iam_member.py +7 -0
- pulumi_gcp/securesourcemanager/__init__.py +1 -0
- pulumi_gcp/securesourcemanager/_inputs.py +43 -0
- pulumi_gcp/securesourcemanager/hook.py +758 -0
- pulumi_gcp/securesourcemanager/outputs.py +43 -0
- pulumi_gcp/securesourcemanager/repository_iam_binding.py +7 -0
- pulumi_gcp/securesourcemanager/repository_iam_member.py +7 -0
- pulumi_gcp/securitycenter/v2_organization_source_iam_binding.py +7 -0
- pulumi_gcp/securitycenter/v2_organization_source_iam_member.py +7 -0
- pulumi_gcp/servicedirectory/namespace_iam_binding.py +7 -0
- pulumi_gcp/servicedirectory/namespace_iam_member.py +7 -0
- pulumi_gcp/servicedirectory/service_iam_binding.py +7 -0
- pulumi_gcp/servicedirectory/service_iam_member.py +7 -0
- pulumi_gcp/sourcerepo/repository_iam_binding.py +7 -0
- pulumi_gcp/sourcerepo/repository_iam_member.py +7 -0
- pulumi_gcp/sql/database_instance.py +44 -0
- pulumi_gcp/tags/tag_key.py +7 -7
- pulumi_gcp/tags/tag_key_iam_binding.py +7 -0
- pulumi_gcp/tags/tag_key_iam_member.py +7 -0
- pulumi_gcp/tags/tag_value_iam_binding.py +7 -0
- pulumi_gcp/tags/tag_value_iam_member.py +7 -0
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_group_iam_binding.py +7 -0
- pulumi_gcp/vertex/ai_feature_group_iam_member.py +7 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_binding.py +7 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_member.py +7 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_binding.py +7 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_member.py +7 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_binding.py +7 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_member.py +7 -0
- pulumi_gcp/vertex/ai_feature_store_iam_binding.py +7 -0
- pulumi_gcp/vertex/ai_feature_store_iam_member.py +7 -0
- pulumi_gcp/workstations/workstation_config_iam_binding.py +7 -0
- pulumi_gcp/workstations/workstation_config_iam_member.py +7 -0
- pulumi_gcp/workstations/workstation_iam_binding.py +7 -0
- pulumi_gcp/workstations/workstation_iam_member.py +7 -0
- {pulumi_gcp-9.1.0a1758696393.dist-info → pulumi_gcp-9.1.0a1758939336.dist-info}/METADATA +1 -1
- {pulumi_gcp-9.1.0a1758696393.dist-info → pulumi_gcp-9.1.0a1758939336.dist-info}/RECORD +299 -286
- {pulumi_gcp-9.1.0a1758696393.dist-info → pulumi_gcp-9.1.0a1758939336.dist-info}/WHEEL +0 -0
- {pulumi_gcp-9.1.0a1758696393.dist-info → pulumi_gcp-9.1.0a1758939336.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,740 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins as _builtins
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = ['WasmPluginArgs', 'WasmPlugin']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class WasmPluginArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
main_version_id: pulumi.Input[_builtins.str],
|
25
|
+
versions: pulumi.Input[Sequence[pulumi.Input['WasmPluginVersionArgs']]],
|
26
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
27
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
28
|
+
location: Optional[pulumi.Input[_builtins.str]] = None,
|
29
|
+
log_config: Optional[pulumi.Input['WasmPluginLogConfigArgs']] = None,
|
30
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
31
|
+
project: Optional[pulumi.Input[_builtins.str]] = None):
|
32
|
+
"""
|
33
|
+
The set of arguments for constructing a WasmPlugin resource.
|
34
|
+
:param pulumi.Input[_builtins.str] main_version_id: The ID of the WasmPluginVersion resource that is the currently serving one. The version referred to must be a child of this WasmPlugin resource and should be listed in the "versions" field.
|
35
|
+
:param pulumi.Input[Sequence[pulumi.Input['WasmPluginVersionArgs']]] versions: All versions of this WasmPlugin resource in the key-value format. The key is the resource ID, and the value is the VersionDetails object.
|
36
|
+
Structure is documented below.
|
37
|
+
:param pulumi.Input[_builtins.str] description: Optional. A human-readable description of the resource.
|
38
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Optional. Set of labels associated with the WasmPlugin resource.
|
39
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
40
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
41
|
+
:param pulumi.Input[_builtins.str] location: The location of the traffic extension
|
42
|
+
:param pulumi.Input['WasmPluginLogConfigArgs'] log_config: Optional. Specifies the logging options for the activity performed by this plugin. If logging is enabled, plugin logs are exported to Cloud Logging.
|
43
|
+
Note that the settings relate to the logs generated by using logging statements in your Wasm code.
|
44
|
+
Structure is documented below.
|
45
|
+
:param pulumi.Input[_builtins.str] name: Identifier. Name of the WasmPlugin resource.
|
46
|
+
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
47
|
+
If it is not provided, the provider project is used.
|
48
|
+
"""
|
49
|
+
pulumi.set(__self__, "main_version_id", main_version_id)
|
50
|
+
pulumi.set(__self__, "versions", versions)
|
51
|
+
if description is not None:
|
52
|
+
pulumi.set(__self__, "description", description)
|
53
|
+
if labels is not None:
|
54
|
+
pulumi.set(__self__, "labels", labels)
|
55
|
+
if location is not None:
|
56
|
+
pulumi.set(__self__, "location", location)
|
57
|
+
if log_config is not None:
|
58
|
+
pulumi.set(__self__, "log_config", log_config)
|
59
|
+
if name is not None:
|
60
|
+
pulumi.set(__self__, "name", name)
|
61
|
+
if project is not None:
|
62
|
+
pulumi.set(__self__, "project", project)
|
63
|
+
|
64
|
+
@_builtins.property
|
65
|
+
@pulumi.getter(name="mainVersionId")
|
66
|
+
def main_version_id(self) -> pulumi.Input[_builtins.str]:
|
67
|
+
"""
|
68
|
+
The ID of the WasmPluginVersion resource that is the currently serving one. The version referred to must be a child of this WasmPlugin resource and should be listed in the "versions" field.
|
69
|
+
"""
|
70
|
+
return pulumi.get(self, "main_version_id")
|
71
|
+
|
72
|
+
@main_version_id.setter
|
73
|
+
def main_version_id(self, value: pulumi.Input[_builtins.str]):
|
74
|
+
pulumi.set(self, "main_version_id", value)
|
75
|
+
|
76
|
+
@_builtins.property
|
77
|
+
@pulumi.getter
|
78
|
+
def versions(self) -> pulumi.Input[Sequence[pulumi.Input['WasmPluginVersionArgs']]]:
|
79
|
+
"""
|
80
|
+
All versions of this WasmPlugin resource in the key-value format. The key is the resource ID, and the value is the VersionDetails object.
|
81
|
+
Structure is documented below.
|
82
|
+
"""
|
83
|
+
return pulumi.get(self, "versions")
|
84
|
+
|
85
|
+
@versions.setter
|
86
|
+
def versions(self, value: pulumi.Input[Sequence[pulumi.Input['WasmPluginVersionArgs']]]):
|
87
|
+
pulumi.set(self, "versions", value)
|
88
|
+
|
89
|
+
@_builtins.property
|
90
|
+
@pulumi.getter
|
91
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
92
|
+
"""
|
93
|
+
Optional. A human-readable description of the resource.
|
94
|
+
"""
|
95
|
+
return pulumi.get(self, "description")
|
96
|
+
|
97
|
+
@description.setter
|
98
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
99
|
+
pulumi.set(self, "description", value)
|
100
|
+
|
101
|
+
@_builtins.property
|
102
|
+
@pulumi.getter
|
103
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
104
|
+
"""
|
105
|
+
Optional. Set of labels associated with the WasmPlugin resource.
|
106
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
107
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
108
|
+
"""
|
109
|
+
return pulumi.get(self, "labels")
|
110
|
+
|
111
|
+
@labels.setter
|
112
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
113
|
+
pulumi.set(self, "labels", value)
|
114
|
+
|
115
|
+
@_builtins.property
|
116
|
+
@pulumi.getter
|
117
|
+
def location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
118
|
+
"""
|
119
|
+
The location of the traffic extension
|
120
|
+
"""
|
121
|
+
return pulumi.get(self, "location")
|
122
|
+
|
123
|
+
@location.setter
|
124
|
+
def location(self, value: Optional[pulumi.Input[_builtins.str]]):
|
125
|
+
pulumi.set(self, "location", value)
|
126
|
+
|
127
|
+
@_builtins.property
|
128
|
+
@pulumi.getter(name="logConfig")
|
129
|
+
def log_config(self) -> Optional[pulumi.Input['WasmPluginLogConfigArgs']]:
|
130
|
+
"""
|
131
|
+
Optional. Specifies the logging options for the activity performed by this plugin. If logging is enabled, plugin logs are exported to Cloud Logging.
|
132
|
+
Note that the settings relate to the logs generated by using logging statements in your Wasm code.
|
133
|
+
Structure is documented below.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "log_config")
|
136
|
+
|
137
|
+
@log_config.setter
|
138
|
+
def log_config(self, value: Optional[pulumi.Input['WasmPluginLogConfigArgs']]):
|
139
|
+
pulumi.set(self, "log_config", value)
|
140
|
+
|
141
|
+
@_builtins.property
|
142
|
+
@pulumi.getter
|
143
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
144
|
+
"""
|
145
|
+
Identifier. Name of the WasmPlugin resource.
|
146
|
+
"""
|
147
|
+
return pulumi.get(self, "name")
|
148
|
+
|
149
|
+
@name.setter
|
150
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
151
|
+
pulumi.set(self, "name", value)
|
152
|
+
|
153
|
+
@_builtins.property
|
154
|
+
@pulumi.getter
|
155
|
+
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
156
|
+
"""
|
157
|
+
The ID of the project in which the resource belongs.
|
158
|
+
If it is not provided, the provider project is used.
|
159
|
+
"""
|
160
|
+
return pulumi.get(self, "project")
|
161
|
+
|
162
|
+
@project.setter
|
163
|
+
def project(self, value: Optional[pulumi.Input[_builtins.str]]):
|
164
|
+
pulumi.set(self, "project", value)
|
165
|
+
|
166
|
+
|
167
|
+
@pulumi.input_type
|
168
|
+
class _WasmPluginState:
|
169
|
+
def __init__(__self__, *,
|
170
|
+
create_time: Optional[pulumi.Input[_builtins.str]] = None,
|
171
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
172
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
173
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
174
|
+
location: Optional[pulumi.Input[_builtins.str]] = None,
|
175
|
+
log_config: Optional[pulumi.Input['WasmPluginLogConfigArgs']] = None,
|
176
|
+
main_version_id: Optional[pulumi.Input[_builtins.str]] = None,
|
177
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
178
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
179
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
180
|
+
update_time: Optional[pulumi.Input[_builtins.str]] = None,
|
181
|
+
used_bies: Optional[pulumi.Input[Sequence[pulumi.Input['WasmPluginUsedByArgs']]]] = None,
|
182
|
+
versions: Optional[pulumi.Input[Sequence[pulumi.Input['WasmPluginVersionArgs']]]] = None):
|
183
|
+
"""
|
184
|
+
Input properties used for looking up and filtering WasmPlugin resources.
|
185
|
+
:param pulumi.Input[_builtins.str] create_time: Output only. The timestamp when the resource was created.
|
186
|
+
:param pulumi.Input[_builtins.str] description: Optional. A human-readable description of the resource.
|
187
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.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.
|
188
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Optional. Set of labels associated with the WasmPlugin resource.
|
189
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
190
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
191
|
+
:param pulumi.Input[_builtins.str] location: The location of the traffic extension
|
192
|
+
:param pulumi.Input['WasmPluginLogConfigArgs'] log_config: Optional. Specifies the logging options for the activity performed by this plugin. If logging is enabled, plugin logs are exported to Cloud Logging.
|
193
|
+
Note that the settings relate to the logs generated by using logging statements in your Wasm code.
|
194
|
+
Structure is documented below.
|
195
|
+
:param pulumi.Input[_builtins.str] main_version_id: The ID of the WasmPluginVersion resource that is the currently serving one. The version referred to must be a child of this WasmPlugin resource and should be listed in the "versions" field.
|
196
|
+
:param pulumi.Input[_builtins.str] name: Identifier. Name of the WasmPlugin resource.
|
197
|
+
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
198
|
+
If it is not provided, the provider project is used.
|
199
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
|
200
|
+
and default labels configured on the provider.
|
201
|
+
:param pulumi.Input[_builtins.str] update_time: Output only. The timestamp when the resource was updated.
|
202
|
+
:param pulumi.Input[Sequence[pulumi.Input['WasmPluginUsedByArgs']]] used_bies: Output only. List of all extensions that use this WasmPlugin resource.
|
203
|
+
Structure is documented below.
|
204
|
+
:param pulumi.Input[Sequence[pulumi.Input['WasmPluginVersionArgs']]] versions: All versions of this WasmPlugin resource in the key-value format. The key is the resource ID, and the value is the VersionDetails object.
|
205
|
+
Structure is documented below.
|
206
|
+
"""
|
207
|
+
if create_time is not None:
|
208
|
+
pulumi.set(__self__, "create_time", create_time)
|
209
|
+
if description is not None:
|
210
|
+
pulumi.set(__self__, "description", description)
|
211
|
+
if effective_labels is not None:
|
212
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
213
|
+
if labels is not None:
|
214
|
+
pulumi.set(__self__, "labels", labels)
|
215
|
+
if location is not None:
|
216
|
+
pulumi.set(__self__, "location", location)
|
217
|
+
if log_config is not None:
|
218
|
+
pulumi.set(__self__, "log_config", log_config)
|
219
|
+
if main_version_id is not None:
|
220
|
+
pulumi.set(__self__, "main_version_id", main_version_id)
|
221
|
+
if name is not None:
|
222
|
+
pulumi.set(__self__, "name", name)
|
223
|
+
if project is not None:
|
224
|
+
pulumi.set(__self__, "project", project)
|
225
|
+
if pulumi_labels is not None:
|
226
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
227
|
+
if update_time is not None:
|
228
|
+
pulumi.set(__self__, "update_time", update_time)
|
229
|
+
if used_bies is not None:
|
230
|
+
pulumi.set(__self__, "used_bies", used_bies)
|
231
|
+
if versions is not None:
|
232
|
+
pulumi.set(__self__, "versions", versions)
|
233
|
+
|
234
|
+
@_builtins.property
|
235
|
+
@pulumi.getter(name="createTime")
|
236
|
+
def create_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
237
|
+
"""
|
238
|
+
Output only. The timestamp when the resource was created.
|
239
|
+
"""
|
240
|
+
return pulumi.get(self, "create_time")
|
241
|
+
|
242
|
+
@create_time.setter
|
243
|
+
def create_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
244
|
+
pulumi.set(self, "create_time", value)
|
245
|
+
|
246
|
+
@_builtins.property
|
247
|
+
@pulumi.getter
|
248
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
249
|
+
"""
|
250
|
+
Optional. A human-readable description of the resource.
|
251
|
+
"""
|
252
|
+
return pulumi.get(self, "description")
|
253
|
+
|
254
|
+
@description.setter
|
255
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
256
|
+
pulumi.set(self, "description", value)
|
257
|
+
|
258
|
+
@_builtins.property
|
259
|
+
@pulumi.getter(name="effectiveLabels")
|
260
|
+
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
261
|
+
"""
|
262
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
263
|
+
"""
|
264
|
+
return pulumi.get(self, "effective_labels")
|
265
|
+
|
266
|
+
@effective_labels.setter
|
267
|
+
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
268
|
+
pulumi.set(self, "effective_labels", value)
|
269
|
+
|
270
|
+
@_builtins.property
|
271
|
+
@pulumi.getter
|
272
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
273
|
+
"""
|
274
|
+
Optional. Set of labels associated with the WasmPlugin resource.
|
275
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
276
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
277
|
+
"""
|
278
|
+
return pulumi.get(self, "labels")
|
279
|
+
|
280
|
+
@labels.setter
|
281
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
282
|
+
pulumi.set(self, "labels", value)
|
283
|
+
|
284
|
+
@_builtins.property
|
285
|
+
@pulumi.getter
|
286
|
+
def location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
287
|
+
"""
|
288
|
+
The location of the traffic extension
|
289
|
+
"""
|
290
|
+
return pulumi.get(self, "location")
|
291
|
+
|
292
|
+
@location.setter
|
293
|
+
def location(self, value: Optional[pulumi.Input[_builtins.str]]):
|
294
|
+
pulumi.set(self, "location", value)
|
295
|
+
|
296
|
+
@_builtins.property
|
297
|
+
@pulumi.getter(name="logConfig")
|
298
|
+
def log_config(self) -> Optional[pulumi.Input['WasmPluginLogConfigArgs']]:
|
299
|
+
"""
|
300
|
+
Optional. Specifies the logging options for the activity performed by this plugin. If logging is enabled, plugin logs are exported to Cloud Logging.
|
301
|
+
Note that the settings relate to the logs generated by using logging statements in your Wasm code.
|
302
|
+
Structure is documented below.
|
303
|
+
"""
|
304
|
+
return pulumi.get(self, "log_config")
|
305
|
+
|
306
|
+
@log_config.setter
|
307
|
+
def log_config(self, value: Optional[pulumi.Input['WasmPluginLogConfigArgs']]):
|
308
|
+
pulumi.set(self, "log_config", value)
|
309
|
+
|
310
|
+
@_builtins.property
|
311
|
+
@pulumi.getter(name="mainVersionId")
|
312
|
+
def main_version_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
313
|
+
"""
|
314
|
+
The ID of the WasmPluginVersion resource that is the currently serving one. The version referred to must be a child of this WasmPlugin resource and should be listed in the "versions" field.
|
315
|
+
"""
|
316
|
+
return pulumi.get(self, "main_version_id")
|
317
|
+
|
318
|
+
@main_version_id.setter
|
319
|
+
def main_version_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
320
|
+
pulumi.set(self, "main_version_id", value)
|
321
|
+
|
322
|
+
@_builtins.property
|
323
|
+
@pulumi.getter
|
324
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
325
|
+
"""
|
326
|
+
Identifier. Name of the WasmPlugin resource.
|
327
|
+
"""
|
328
|
+
return pulumi.get(self, "name")
|
329
|
+
|
330
|
+
@name.setter
|
331
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
332
|
+
pulumi.set(self, "name", value)
|
333
|
+
|
334
|
+
@_builtins.property
|
335
|
+
@pulumi.getter
|
336
|
+
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
337
|
+
"""
|
338
|
+
The ID of the project in which the resource belongs.
|
339
|
+
If it is not provided, the provider project is used.
|
340
|
+
"""
|
341
|
+
return pulumi.get(self, "project")
|
342
|
+
|
343
|
+
@project.setter
|
344
|
+
def project(self, value: Optional[pulumi.Input[_builtins.str]]):
|
345
|
+
pulumi.set(self, "project", value)
|
346
|
+
|
347
|
+
@_builtins.property
|
348
|
+
@pulumi.getter(name="pulumiLabels")
|
349
|
+
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
350
|
+
"""
|
351
|
+
The combination of labels configured directly on the resource
|
352
|
+
and default labels configured on the provider.
|
353
|
+
"""
|
354
|
+
return pulumi.get(self, "pulumi_labels")
|
355
|
+
|
356
|
+
@pulumi_labels.setter
|
357
|
+
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
358
|
+
pulumi.set(self, "pulumi_labels", value)
|
359
|
+
|
360
|
+
@_builtins.property
|
361
|
+
@pulumi.getter(name="updateTime")
|
362
|
+
def update_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
363
|
+
"""
|
364
|
+
Output only. The timestamp when the resource was updated.
|
365
|
+
"""
|
366
|
+
return pulumi.get(self, "update_time")
|
367
|
+
|
368
|
+
@update_time.setter
|
369
|
+
def update_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
370
|
+
pulumi.set(self, "update_time", value)
|
371
|
+
|
372
|
+
@_builtins.property
|
373
|
+
@pulumi.getter(name="usedBies")
|
374
|
+
def used_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WasmPluginUsedByArgs']]]]:
|
375
|
+
"""
|
376
|
+
Output only. List of all extensions that use this WasmPlugin resource.
|
377
|
+
Structure is documented below.
|
378
|
+
"""
|
379
|
+
return pulumi.get(self, "used_bies")
|
380
|
+
|
381
|
+
@used_bies.setter
|
382
|
+
def used_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WasmPluginUsedByArgs']]]]):
|
383
|
+
pulumi.set(self, "used_bies", value)
|
384
|
+
|
385
|
+
@_builtins.property
|
386
|
+
@pulumi.getter
|
387
|
+
def versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WasmPluginVersionArgs']]]]:
|
388
|
+
"""
|
389
|
+
All versions of this WasmPlugin resource in the key-value format. The key is the resource ID, and the value is the VersionDetails object.
|
390
|
+
Structure is documented below.
|
391
|
+
"""
|
392
|
+
return pulumi.get(self, "versions")
|
393
|
+
|
394
|
+
@versions.setter
|
395
|
+
def versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WasmPluginVersionArgs']]]]):
|
396
|
+
pulumi.set(self, "versions", value)
|
397
|
+
|
398
|
+
|
399
|
+
@pulumi.type_token("gcp:networkservices/wasmPlugin:WasmPlugin")
|
400
|
+
class WasmPlugin(pulumi.CustomResource):
|
401
|
+
@overload
|
402
|
+
def __init__(__self__,
|
403
|
+
resource_name: str,
|
404
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
405
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
406
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
407
|
+
location: Optional[pulumi.Input[_builtins.str]] = None,
|
408
|
+
log_config: Optional[pulumi.Input[Union['WasmPluginLogConfigArgs', 'WasmPluginLogConfigArgsDict']]] = None,
|
409
|
+
main_version_id: Optional[pulumi.Input[_builtins.str]] = None,
|
410
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
411
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
412
|
+
versions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WasmPluginVersionArgs', 'WasmPluginVersionArgsDict']]]]] = None,
|
413
|
+
__props__=None):
|
414
|
+
"""
|
415
|
+
WasmPlugin is a resource representing a service executing a customer-provided Wasm module.
|
416
|
+
|
417
|
+
To get more information about WasmPlugin, see:
|
418
|
+
|
419
|
+
* [API documentation](https://cloud.google.com/service-extensions/docs/reference/rest/v1/projects.locations.wasmPlugins)
|
420
|
+
* How-to Guides
|
421
|
+
* [Configure a route extension](https://cloud.google.com/service-extensions/docs/create-plugin)
|
422
|
+
|
423
|
+
## Example Usage
|
424
|
+
|
425
|
+
## Import
|
426
|
+
|
427
|
+
WasmPlugin can be imported using any of these accepted formats:
|
428
|
+
|
429
|
+
* `projects/{{project}}/locations/{{location}}/wasmPlugins/{{name}}`
|
430
|
+
|
431
|
+
* `{{project}}/{{location}}/{{name}}`
|
432
|
+
|
433
|
+
* `{{location}}/{{name}}`
|
434
|
+
|
435
|
+
When using the `pulumi import` command, WasmPlugin can be imported using one of the formats above. For example:
|
436
|
+
|
437
|
+
```sh
|
438
|
+
$ pulumi import gcp:networkservices/wasmPlugin:WasmPlugin default projects/{{project}}/locations/{{location}}/wasmPlugins/{{name}}
|
439
|
+
```
|
440
|
+
|
441
|
+
```sh
|
442
|
+
$ pulumi import gcp:networkservices/wasmPlugin:WasmPlugin default {{project}}/{{location}}/{{name}}
|
443
|
+
```
|
444
|
+
|
445
|
+
```sh
|
446
|
+
$ pulumi import gcp:networkservices/wasmPlugin:WasmPlugin default {{location}}/{{name}}
|
447
|
+
```
|
448
|
+
|
449
|
+
:param str resource_name: The name of the resource.
|
450
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
451
|
+
:param pulumi.Input[_builtins.str] description: Optional. A human-readable description of the resource.
|
452
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Optional. Set of labels associated with the WasmPlugin resource.
|
453
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
454
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
455
|
+
:param pulumi.Input[_builtins.str] location: The location of the traffic extension
|
456
|
+
:param pulumi.Input[Union['WasmPluginLogConfigArgs', 'WasmPluginLogConfigArgsDict']] log_config: Optional. Specifies the logging options for the activity performed by this plugin. If logging is enabled, plugin logs are exported to Cloud Logging.
|
457
|
+
Note that the settings relate to the logs generated by using logging statements in your Wasm code.
|
458
|
+
Structure is documented below.
|
459
|
+
:param pulumi.Input[_builtins.str] main_version_id: The ID of the WasmPluginVersion resource that is the currently serving one. The version referred to must be a child of this WasmPlugin resource and should be listed in the "versions" field.
|
460
|
+
:param pulumi.Input[_builtins.str] name: Identifier. Name of the WasmPlugin resource.
|
461
|
+
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
462
|
+
If it is not provided, the provider project is used.
|
463
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['WasmPluginVersionArgs', 'WasmPluginVersionArgsDict']]]] versions: All versions of this WasmPlugin resource in the key-value format. The key is the resource ID, and the value is the VersionDetails object.
|
464
|
+
Structure is documented below.
|
465
|
+
"""
|
466
|
+
...
|
467
|
+
@overload
|
468
|
+
def __init__(__self__,
|
469
|
+
resource_name: str,
|
470
|
+
args: WasmPluginArgs,
|
471
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
472
|
+
"""
|
473
|
+
WasmPlugin is a resource representing a service executing a customer-provided Wasm module.
|
474
|
+
|
475
|
+
To get more information about WasmPlugin, see:
|
476
|
+
|
477
|
+
* [API documentation](https://cloud.google.com/service-extensions/docs/reference/rest/v1/projects.locations.wasmPlugins)
|
478
|
+
* How-to Guides
|
479
|
+
* [Configure a route extension](https://cloud.google.com/service-extensions/docs/create-plugin)
|
480
|
+
|
481
|
+
## Example Usage
|
482
|
+
|
483
|
+
## Import
|
484
|
+
|
485
|
+
WasmPlugin can be imported using any of these accepted formats:
|
486
|
+
|
487
|
+
* `projects/{{project}}/locations/{{location}}/wasmPlugins/{{name}}`
|
488
|
+
|
489
|
+
* `{{project}}/{{location}}/{{name}}`
|
490
|
+
|
491
|
+
* `{{location}}/{{name}}`
|
492
|
+
|
493
|
+
When using the `pulumi import` command, WasmPlugin can be imported using one of the formats above. For example:
|
494
|
+
|
495
|
+
```sh
|
496
|
+
$ pulumi import gcp:networkservices/wasmPlugin:WasmPlugin default projects/{{project}}/locations/{{location}}/wasmPlugins/{{name}}
|
497
|
+
```
|
498
|
+
|
499
|
+
```sh
|
500
|
+
$ pulumi import gcp:networkservices/wasmPlugin:WasmPlugin default {{project}}/{{location}}/{{name}}
|
501
|
+
```
|
502
|
+
|
503
|
+
```sh
|
504
|
+
$ pulumi import gcp:networkservices/wasmPlugin:WasmPlugin default {{location}}/{{name}}
|
505
|
+
```
|
506
|
+
|
507
|
+
:param str resource_name: The name of the resource.
|
508
|
+
:param WasmPluginArgs args: The arguments to use to populate this resource's properties.
|
509
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
510
|
+
"""
|
511
|
+
...
|
512
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
513
|
+
resource_args, opts = _utilities.get_resource_args_opts(WasmPluginArgs, pulumi.ResourceOptions, *args, **kwargs)
|
514
|
+
if resource_args is not None:
|
515
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
516
|
+
else:
|
517
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
518
|
+
|
519
|
+
def _internal_init(__self__,
|
520
|
+
resource_name: str,
|
521
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
522
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
523
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
524
|
+
location: Optional[pulumi.Input[_builtins.str]] = None,
|
525
|
+
log_config: Optional[pulumi.Input[Union['WasmPluginLogConfigArgs', 'WasmPluginLogConfigArgsDict']]] = None,
|
526
|
+
main_version_id: Optional[pulumi.Input[_builtins.str]] = None,
|
527
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
528
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
529
|
+
versions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WasmPluginVersionArgs', 'WasmPluginVersionArgsDict']]]]] = None,
|
530
|
+
__props__=None):
|
531
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
532
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
533
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
534
|
+
if opts.id is None:
|
535
|
+
if __props__ is not None:
|
536
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
537
|
+
__props__ = WasmPluginArgs.__new__(WasmPluginArgs)
|
538
|
+
|
539
|
+
__props__.__dict__["description"] = description
|
540
|
+
__props__.__dict__["labels"] = labels
|
541
|
+
__props__.__dict__["location"] = location
|
542
|
+
__props__.__dict__["log_config"] = log_config
|
543
|
+
if main_version_id is None and not opts.urn:
|
544
|
+
raise TypeError("Missing required property 'main_version_id'")
|
545
|
+
__props__.__dict__["main_version_id"] = main_version_id
|
546
|
+
__props__.__dict__["name"] = name
|
547
|
+
__props__.__dict__["project"] = project
|
548
|
+
if versions is None and not opts.urn:
|
549
|
+
raise TypeError("Missing required property 'versions'")
|
550
|
+
__props__.__dict__["versions"] = versions
|
551
|
+
__props__.__dict__["create_time"] = None
|
552
|
+
__props__.__dict__["effective_labels"] = None
|
553
|
+
__props__.__dict__["pulumi_labels"] = None
|
554
|
+
__props__.__dict__["update_time"] = None
|
555
|
+
__props__.__dict__["used_bies"] = None
|
556
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
557
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
558
|
+
super(WasmPlugin, __self__).__init__(
|
559
|
+
'gcp:networkservices/wasmPlugin:WasmPlugin',
|
560
|
+
resource_name,
|
561
|
+
__props__,
|
562
|
+
opts)
|
563
|
+
|
564
|
+
@staticmethod
|
565
|
+
def get(resource_name: str,
|
566
|
+
id: pulumi.Input[str],
|
567
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
568
|
+
create_time: Optional[pulumi.Input[_builtins.str]] = None,
|
569
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
570
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
571
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
572
|
+
location: Optional[pulumi.Input[_builtins.str]] = None,
|
573
|
+
log_config: Optional[pulumi.Input[Union['WasmPluginLogConfigArgs', 'WasmPluginLogConfigArgsDict']]] = None,
|
574
|
+
main_version_id: Optional[pulumi.Input[_builtins.str]] = None,
|
575
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
576
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
577
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
578
|
+
update_time: Optional[pulumi.Input[_builtins.str]] = None,
|
579
|
+
used_bies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WasmPluginUsedByArgs', 'WasmPluginUsedByArgsDict']]]]] = None,
|
580
|
+
versions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WasmPluginVersionArgs', 'WasmPluginVersionArgsDict']]]]] = None) -> 'WasmPlugin':
|
581
|
+
"""
|
582
|
+
Get an existing WasmPlugin resource's state with the given name, id, and optional extra
|
583
|
+
properties used to qualify the lookup.
|
584
|
+
|
585
|
+
:param str resource_name: The unique name of the resulting resource.
|
586
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
587
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
588
|
+
:param pulumi.Input[_builtins.str] create_time: Output only. The timestamp when the resource was created.
|
589
|
+
:param pulumi.Input[_builtins.str] description: Optional. A human-readable description of the resource.
|
590
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.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.
|
591
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Optional. Set of labels associated with the WasmPlugin resource.
|
592
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
593
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
594
|
+
:param pulumi.Input[_builtins.str] location: The location of the traffic extension
|
595
|
+
:param pulumi.Input[Union['WasmPluginLogConfigArgs', 'WasmPluginLogConfigArgsDict']] log_config: Optional. Specifies the logging options for the activity performed by this plugin. If logging is enabled, plugin logs are exported to Cloud Logging.
|
596
|
+
Note that the settings relate to the logs generated by using logging statements in your Wasm code.
|
597
|
+
Structure is documented below.
|
598
|
+
:param pulumi.Input[_builtins.str] main_version_id: The ID of the WasmPluginVersion resource that is the currently serving one. The version referred to must be a child of this WasmPlugin resource and should be listed in the "versions" field.
|
599
|
+
:param pulumi.Input[_builtins.str] name: Identifier. Name of the WasmPlugin resource.
|
600
|
+
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
601
|
+
If it is not provided, the provider project is used.
|
602
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
|
603
|
+
and default labels configured on the provider.
|
604
|
+
:param pulumi.Input[_builtins.str] update_time: Output only. The timestamp when the resource was updated.
|
605
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['WasmPluginUsedByArgs', 'WasmPluginUsedByArgsDict']]]] used_bies: Output only. List of all extensions that use this WasmPlugin resource.
|
606
|
+
Structure is documented below.
|
607
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['WasmPluginVersionArgs', 'WasmPluginVersionArgsDict']]]] versions: All versions of this WasmPlugin resource in the key-value format. The key is the resource ID, and the value is the VersionDetails object.
|
608
|
+
Structure is documented below.
|
609
|
+
"""
|
610
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
611
|
+
|
612
|
+
__props__ = _WasmPluginState.__new__(_WasmPluginState)
|
613
|
+
|
614
|
+
__props__.__dict__["create_time"] = create_time
|
615
|
+
__props__.__dict__["description"] = description
|
616
|
+
__props__.__dict__["effective_labels"] = effective_labels
|
617
|
+
__props__.__dict__["labels"] = labels
|
618
|
+
__props__.__dict__["location"] = location
|
619
|
+
__props__.__dict__["log_config"] = log_config
|
620
|
+
__props__.__dict__["main_version_id"] = main_version_id
|
621
|
+
__props__.__dict__["name"] = name
|
622
|
+
__props__.__dict__["project"] = project
|
623
|
+
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
624
|
+
__props__.__dict__["update_time"] = update_time
|
625
|
+
__props__.__dict__["used_bies"] = used_bies
|
626
|
+
__props__.__dict__["versions"] = versions
|
627
|
+
return WasmPlugin(resource_name, opts=opts, __props__=__props__)
|
628
|
+
|
629
|
+
@_builtins.property
|
630
|
+
@pulumi.getter(name="createTime")
|
631
|
+
def create_time(self) -> pulumi.Output[_builtins.str]:
|
632
|
+
"""
|
633
|
+
Output only. The timestamp when the resource was created.
|
634
|
+
"""
|
635
|
+
return pulumi.get(self, "create_time")
|
636
|
+
|
637
|
+
@_builtins.property
|
638
|
+
@pulumi.getter
|
639
|
+
def description(self) -> pulumi.Output[Optional[_builtins.str]]:
|
640
|
+
"""
|
641
|
+
Optional. A human-readable description of the resource.
|
642
|
+
"""
|
643
|
+
return pulumi.get(self, "description")
|
644
|
+
|
645
|
+
@_builtins.property
|
646
|
+
@pulumi.getter(name="effectiveLabels")
|
647
|
+
def effective_labels(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
648
|
+
"""
|
649
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
650
|
+
"""
|
651
|
+
return pulumi.get(self, "effective_labels")
|
652
|
+
|
653
|
+
@_builtins.property
|
654
|
+
@pulumi.getter
|
655
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
656
|
+
"""
|
657
|
+
Optional. Set of labels associated with the WasmPlugin resource.
|
658
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
659
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
660
|
+
"""
|
661
|
+
return pulumi.get(self, "labels")
|
662
|
+
|
663
|
+
@_builtins.property
|
664
|
+
@pulumi.getter
|
665
|
+
def location(self) -> pulumi.Output[Optional[_builtins.str]]:
|
666
|
+
"""
|
667
|
+
The location of the traffic extension
|
668
|
+
"""
|
669
|
+
return pulumi.get(self, "location")
|
670
|
+
|
671
|
+
@_builtins.property
|
672
|
+
@pulumi.getter(name="logConfig")
|
673
|
+
def log_config(self) -> pulumi.Output[Optional['outputs.WasmPluginLogConfig']]:
|
674
|
+
"""
|
675
|
+
Optional. Specifies the logging options for the activity performed by this plugin. If logging is enabled, plugin logs are exported to Cloud Logging.
|
676
|
+
Note that the settings relate to the logs generated by using logging statements in your Wasm code.
|
677
|
+
Structure is documented below.
|
678
|
+
"""
|
679
|
+
return pulumi.get(self, "log_config")
|
680
|
+
|
681
|
+
@_builtins.property
|
682
|
+
@pulumi.getter(name="mainVersionId")
|
683
|
+
def main_version_id(self) -> pulumi.Output[_builtins.str]:
|
684
|
+
"""
|
685
|
+
The ID of the WasmPluginVersion resource that is the currently serving one. The version referred to must be a child of this WasmPlugin resource and should be listed in the "versions" field.
|
686
|
+
"""
|
687
|
+
return pulumi.get(self, "main_version_id")
|
688
|
+
|
689
|
+
@_builtins.property
|
690
|
+
@pulumi.getter
|
691
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
692
|
+
"""
|
693
|
+
Identifier. Name of the WasmPlugin resource.
|
694
|
+
"""
|
695
|
+
return pulumi.get(self, "name")
|
696
|
+
|
697
|
+
@_builtins.property
|
698
|
+
@pulumi.getter
|
699
|
+
def project(self) -> pulumi.Output[_builtins.str]:
|
700
|
+
"""
|
701
|
+
The ID of the project in which the resource belongs.
|
702
|
+
If it is not provided, the provider project is used.
|
703
|
+
"""
|
704
|
+
return pulumi.get(self, "project")
|
705
|
+
|
706
|
+
@_builtins.property
|
707
|
+
@pulumi.getter(name="pulumiLabels")
|
708
|
+
def pulumi_labels(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
709
|
+
"""
|
710
|
+
The combination of labels configured directly on the resource
|
711
|
+
and default labels configured on the provider.
|
712
|
+
"""
|
713
|
+
return pulumi.get(self, "pulumi_labels")
|
714
|
+
|
715
|
+
@_builtins.property
|
716
|
+
@pulumi.getter(name="updateTime")
|
717
|
+
def update_time(self) -> pulumi.Output[_builtins.str]:
|
718
|
+
"""
|
719
|
+
Output only. The timestamp when the resource was updated.
|
720
|
+
"""
|
721
|
+
return pulumi.get(self, "update_time")
|
722
|
+
|
723
|
+
@_builtins.property
|
724
|
+
@pulumi.getter(name="usedBies")
|
725
|
+
def used_bies(self) -> pulumi.Output[Sequence['outputs.WasmPluginUsedBy']]:
|
726
|
+
"""
|
727
|
+
Output only. List of all extensions that use this WasmPlugin resource.
|
728
|
+
Structure is documented below.
|
729
|
+
"""
|
730
|
+
return pulumi.get(self, "used_bies")
|
731
|
+
|
732
|
+
@_builtins.property
|
733
|
+
@pulumi.getter
|
734
|
+
def versions(self) -> pulumi.Output[Sequence['outputs.WasmPluginVersion']]:
|
735
|
+
"""
|
736
|
+
All versions of this WasmPlugin resource in the key-value format. The key is the resource ID, and the value is the VersionDetails object.
|
737
|
+
Structure is documented below.
|
738
|
+
"""
|
739
|
+
return pulumi.get(self, "versions")
|
740
|
+
|