pulumi-gcp 8.40.0a1754636117__py3-none-any.whl → 8.40.0a1754951145__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 +128 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +24 -4
- pulumi_gcp/accesscontextmanager/outputs.py +15 -3
- pulumi_gcp/apigee/__init__.py +2 -0
- pulumi_gcp/apigee/_inputs.py +1435 -0
- pulumi_gcp/apigee/api_product.py +1698 -0
- pulumi_gcp/apigee/outputs.py +1081 -0
- pulumi_gcp/apigee/security_action.py +1010 -0
- pulumi_gcp/artifactregistry/__init__.py +1 -0
- pulumi_gcp/artifactregistry/get_docker_images.py +164 -0
- pulumi_gcp/artifactregistry/outputs.py +109 -2
- pulumi_gcp/artifactregistry/repository.py +6 -6
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +56 -0
- pulumi_gcp/backupdisasterrecovery/get_backup_vault.py +12 -1
- pulumi_gcp/bigquery/_inputs.py +6 -0
- pulumi_gcp/bigquery/get_table.py +23 -1
- pulumi_gcp/bigquery/outputs.py +4 -0
- pulumi_gcp/bigquery/table.py +62 -0
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +180 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +80 -0
- pulumi_gcp/bigqueryanalyticshub/listing.py +322 -2
- pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +32 -0
- pulumi_gcp/bigqueryanalyticshub/outputs.py +159 -0
- pulumi_gcp/bigtable/__init__.py +1 -0
- pulumi_gcp/bigtable/_inputs.py +33 -0
- pulumi_gcp/bigtable/outputs.py +36 -0
- pulumi_gcp/bigtable/schema_bundle.py +568 -0
- pulumi_gcp/cloudfunctions/_inputs.py +48 -0
- pulumi_gcp/cloudfunctions/function.py +94 -0
- pulumi_gcp/cloudfunctions/get_function.py +23 -1
- pulumi_gcp/cloudfunctions/outputs.py +70 -0
- pulumi_gcp/cloudrunv2/_inputs.py +20 -0
- pulumi_gcp/cloudrunv2/job.py +2 -0
- pulumi_gcp/cloudrunv2/outputs.py +25 -0
- pulumi_gcp/cloudrunv2/worker_pool.py +2 -0
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +713 -22
- pulumi_gcp/compute/firewall_policy_with_rules.py +66 -0
- pulumi_gcp/compute/forwarding_rule.py +0 -21
- pulumi_gcp/compute/get_router.py +12 -1
- pulumi_gcp/compute/outputs.py +562 -22
- pulumi_gcp/compute/preview_feature.py +396 -0
- pulumi_gcp/compute/region_url_map.py +392 -0
- pulumi_gcp/compute/reservation.py +4 -4
- pulumi_gcp/compute/router.py +54 -0
- pulumi_gcp/compute/storage_pool.py +154 -0
- pulumi_gcp/compute/subnetwork.py +54 -0
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +278 -8
- pulumi_gcp/container/cluster.py +61 -21
- pulumi_gcp/container/get_cluster.py +12 -1
- pulumi_gcp/container/outputs.py +352 -8
- pulumi_gcp/dataproc/_inputs.py +249 -14
- pulumi_gcp/dataproc/batch.py +6 -0
- pulumi_gcp/dataproc/cluster.py +2 -0
- pulumi_gcp/dataproc/outputs.py +215 -12
- pulumi_gcp/dataproc/session_template.py +14 -2
- pulumi_gcp/developerconnect/__init__.py +1 -0
- pulumi_gcp/developerconnect/_inputs.py +583 -0
- pulumi_gcp/developerconnect/insights_config.py +895 -0
- pulumi_gcp/developerconnect/outputs.py +442 -0
- pulumi_gcp/diagflow/__init__.py +1 -0
- pulumi_gcp/diagflow/_inputs.py +1165 -58
- pulumi_gcp/diagflow/cx_generator.py +636 -0
- pulumi_gcp/diagflow/cx_tool.py +2 -2
- pulumi_gcp/diagflow/cx_webhook.py +380 -36
- pulumi_gcp/diagflow/outputs.py +848 -25
- pulumi_gcp/discoveryengine/__init__.py +2 -0
- pulumi_gcp/discoveryengine/_inputs.py +465 -0
- pulumi_gcp/discoveryengine/cmek_config.py +707 -0
- pulumi_gcp/discoveryengine/outputs.py +412 -0
- pulumi_gcp/discoveryengine/recommendation_engine.py +813 -0
- pulumi_gcp/firestore/field.py +6 -6
- pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +107 -9
- pulumi_gcp/gemini/gemini_gcp_enablement_setting_binding.py +2 -2
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +8 -8
- pulumi_gcp/iam/__init__.py +4 -0
- pulumi_gcp/iam/_inputs.py +98 -0
- pulumi_gcp/iam/get_workforce_pool_iam_policy.py +161 -0
- pulumi_gcp/iam/outputs.py +56 -0
- pulumi_gcp/iam/workforce_pool_iam_binding.py +761 -0
- pulumi_gcp/iam/workforce_pool_iam_member.py +761 -0
- pulumi_gcp/iam/workforce_pool_iam_policy.py +600 -0
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/looker/instance.py +28 -7
- pulumi_gcp/managedkafka/_inputs.py +127 -0
- pulumi_gcp/managedkafka/cluster.py +131 -1
- pulumi_gcp/managedkafka/connect_cluster.py +4 -4
- pulumi_gcp/managedkafka/connector.py +4 -4
- pulumi_gcp/managedkafka/outputs.py +128 -0
- pulumi_gcp/memorystore/instance.py +8 -12
- pulumi_gcp/modelarmor/__init__.py +1 -0
- pulumi_gcp/modelarmor/_inputs.py +683 -0
- pulumi_gcp/modelarmor/floorsetting.py +736 -0
- pulumi_gcp/modelarmor/outputs.py +618 -0
- pulumi_gcp/networkconnectivity/_inputs.py +60 -0
- pulumi_gcp/networkconnectivity/internal_range.py +136 -0
- pulumi_gcp/networkconnectivity/outputs.py +55 -0
- pulumi_gcp/networkconnectivity/spoke.py +14 -14
- pulumi_gcp/oracledatabase/__init__.py +2 -0
- pulumi_gcp/oracledatabase/autonomous_database.py +262 -38
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +314 -50
- pulumi_gcp/oracledatabase/get_autonomous_database.py +23 -1
- pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +34 -1
- pulumi_gcp/oracledatabase/odb_network.py +721 -0
- pulumi_gcp/oracledatabase/odb_subnet.py +803 -0
- pulumi_gcp/oracledatabase/outputs.py +83 -0
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/parametermanager/parameter_version.py +62 -0
- pulumi_gcp/parametermanager/regional_parameter_version.py +64 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/subscription.py +46 -6
- pulumi_gcp/pubsub/topic.py +36 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +70 -0
- pulumi_gcp/redis/get_cluster.py +12 -1
- pulumi_gcp/redis/instance.py +8 -12
- pulumi_gcp/secretmanager/get_regional_secret.py +12 -1
- pulumi_gcp/secretmanager/get_secret.py +12 -1
- pulumi_gcp/secretmanager/outputs.py +30 -0
- pulumi_gcp/secretmanager/regional_secret.py +61 -0
- pulumi_gcp/secretmanager/secret.py +61 -0
- pulumi_gcp/securesourcemanager/branch_rule.py +16 -8
- pulumi_gcp/securesourcemanager/instance.py +112 -4
- pulumi_gcp/securesourcemanager/repository.py +112 -8
- pulumi_gcp/serviceaccount/get_account_key.py +1 -0
- pulumi_gcp/sql/_inputs.py +6 -6
- pulumi_gcp/sql/database.py +0 -12
- pulumi_gcp/sql/outputs.py +4 -4
- pulumi_gcp/storage/__init__.py +2 -0
- pulumi_gcp/storage/_inputs.py +451 -0
- pulumi_gcp/storage/bucket.py +7 -7
- pulumi_gcp/storage/bucket_object.py +34 -0
- pulumi_gcp/storage/get_bucket_object.py +12 -1
- pulumi_gcp/storage/get_bucket_object_content.py +12 -1
- pulumi_gcp/storage/get_insights_dataset_config.py +363 -0
- pulumi_gcp/storage/insights_dataset_config.py +1280 -0
- pulumi_gcp/storage/outputs.py +619 -0
- pulumi_gcp/vertex/__init__.py +1 -0
- pulumi_gcp/vertex/_inputs.py +3646 -3
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_endpoint_with_model_garden_deployment.py +940 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/outputs.py +2609 -2
- pulumi_gcp/vmwareengine/network_peering.py +7 -7
- pulumi_gcp/workbench/_inputs.py +118 -0
- pulumi_gcp/workbench/instance.py +171 -2
- pulumi_gcp/workbench/outputs.py +91 -0
- {pulumi_gcp-8.40.0a1754636117.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.40.0a1754636117.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/RECORD +157 -138
- {pulumi_gcp-8.40.0a1754636117.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.40.0a1754636117.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/top_level.txt +0 -0
@@ -4979,6 +4979,8 @@ class GetAutonomousDatabasesAutonomousDatabaseResult(dict):
|
|
4979
4979
|
location: _builtins.str,
|
4980
4980
|
name: _builtins.str,
|
4981
4981
|
network: _builtins.str,
|
4982
|
+
odb_network: _builtins.str,
|
4983
|
+
odb_subnet: _builtins.str,
|
4982
4984
|
project: _builtins.str,
|
4983
4985
|
properties: Sequence['outputs.GetAutonomousDatabasesAutonomousDatabasePropertyResult'],
|
4984
4986
|
pulumi_labels: Mapping[str, _builtins.str]):
|
@@ -5008,6 +5010,14 @@ class GetAutonomousDatabasesAutonomousDatabaseResult(dict):
|
|
5008
5010
|
projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
|
5009
5011
|
:param _builtins.str network: The name of the VPC network used by the Autonomous Database.
|
5010
5012
|
Format: projects/{project}/global/networks/{network}
|
5013
|
+
:param _builtins.str odb_network: The name of the OdbNetwork associated with the Autonomous Database.
|
5014
|
+
Format:
|
5015
|
+
projects/{project}/locations/{location}/odbNetworks/{odb_network}
|
5016
|
+
It is optional but if specified, this should match the parent ODBNetwork of
|
5017
|
+
the odb_subnet and backup_odb_subnet.
|
5018
|
+
:param _builtins.str odb_subnet: The name of the OdbSubnet associated with the Autonomous Database for
|
5019
|
+
IP allocation. Format:
|
5020
|
+
projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
|
5011
5021
|
:param _builtins.str project: The project to which the resource belongs. If it
|
5012
5022
|
is not provided, the provider project is used.
|
5013
5023
|
:param Sequence['GetAutonomousDatabasesAutonomousDatabasePropertyArgs'] properties: The properties of an Autonomous Database.
|
@@ -5027,6 +5037,8 @@ class GetAutonomousDatabasesAutonomousDatabaseResult(dict):
|
|
5027
5037
|
pulumi.set(__self__, "location", location)
|
5028
5038
|
pulumi.set(__self__, "name", name)
|
5029
5039
|
pulumi.set(__self__, "network", network)
|
5040
|
+
pulumi.set(__self__, "odb_network", odb_network)
|
5041
|
+
pulumi.set(__self__, "odb_subnet", odb_subnet)
|
5030
5042
|
pulumi.set(__self__, "project", project)
|
5031
5043
|
pulumi.set(__self__, "properties", properties)
|
5032
5044
|
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
@@ -5143,6 +5155,28 @@ class GetAutonomousDatabasesAutonomousDatabaseResult(dict):
|
|
5143
5155
|
"""
|
5144
5156
|
return pulumi.get(self, "network")
|
5145
5157
|
|
5158
|
+
@_builtins.property
|
5159
|
+
@pulumi.getter(name="odbNetwork")
|
5160
|
+
def odb_network(self) -> _builtins.str:
|
5161
|
+
"""
|
5162
|
+
The name of the OdbNetwork associated with the Autonomous Database.
|
5163
|
+
Format:
|
5164
|
+
projects/{project}/locations/{location}/odbNetworks/{odb_network}
|
5165
|
+
It is optional but if specified, this should match the parent ODBNetwork of
|
5166
|
+
the odb_subnet and backup_odb_subnet.
|
5167
|
+
"""
|
5168
|
+
return pulumi.get(self, "odb_network")
|
5169
|
+
|
5170
|
+
@_builtins.property
|
5171
|
+
@pulumi.getter(name="odbSubnet")
|
5172
|
+
def odb_subnet(self) -> _builtins.str:
|
5173
|
+
"""
|
5174
|
+
The name of the OdbSubnet associated with the Autonomous Database for
|
5175
|
+
IP allocation. Format:
|
5176
|
+
projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
|
5177
|
+
"""
|
5178
|
+
return pulumi.get(self, "odb_subnet")
|
5179
|
+
|
5146
5180
|
@_builtins.property
|
5147
5181
|
@pulumi.getter
|
5148
5182
|
def project(self) -> _builtins.str:
|
@@ -8398,6 +8432,7 @@ class GetCloudVmClusterPropertyTimeZoneResult(dict):
|
|
8398
8432
|
@pulumi.output_type
|
8399
8433
|
class GetCloudVmClustersCloudVmClusterResult(dict):
|
8400
8434
|
def __init__(__self__, *,
|
8435
|
+
backup_odb_subnet: _builtins.str,
|
8401
8436
|
backup_subnet_cidr: _builtins.str,
|
8402
8437
|
cidr: _builtins.str,
|
8403
8438
|
cloud_vm_cluster_id: _builtins.str,
|
@@ -8411,10 +8446,15 @@ class GetCloudVmClustersCloudVmClusterResult(dict):
|
|
8411
8446
|
location: _builtins.str,
|
8412
8447
|
name: _builtins.str,
|
8413
8448
|
network: _builtins.str,
|
8449
|
+
odb_network: _builtins.str,
|
8450
|
+
odb_subnet: _builtins.str,
|
8414
8451
|
project: _builtins.str,
|
8415
8452
|
properties: Sequence['outputs.GetCloudVmClustersCloudVmClusterPropertyResult'],
|
8416
8453
|
pulumi_labels: Mapping[str, _builtins.str]):
|
8417
8454
|
"""
|
8455
|
+
:param _builtins.str backup_odb_subnet: The name of the backup OdbSubnet associated with the VM Cluster.
|
8456
|
+
Format:
|
8457
|
+
projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
|
8418
8458
|
:param _builtins.str backup_subnet_cidr: CIDR range of the backup subnet.
|
8419
8459
|
:param _builtins.str cidr: Network settings. CIDR to use for cluster IP allocation.
|
8420
8460
|
:param _builtins.str cloud_vm_cluster_id: The ID of the VM Cluster to create. This value is restricted
|
@@ -8439,12 +8479,21 @@ class GetCloudVmClustersCloudVmClusterResult(dict):
|
|
8439
8479
|
projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}
|
8440
8480
|
:param _builtins.str network: The name of the VPC network.
|
8441
8481
|
Format: projects/{project}/global/networks/{network}
|
8482
|
+
:param _builtins.str odb_network: The name of the OdbNetwork associated with the VM Cluster.
|
8483
|
+
Format:
|
8484
|
+
projects/{project}/locations/{location}/odbNetworks/{odb_network}
|
8485
|
+
It is optional but if specified, this should match the parent ODBNetwork of
|
8486
|
+
the odb_subnet and backup_odb_subnet.
|
8487
|
+
:param _builtins.str odb_subnet: The name of the OdbSubnet associated with the VM Cluster for
|
8488
|
+
IP allocation. Format:
|
8489
|
+
projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
|
8442
8490
|
:param _builtins.str project: The project to which the resource belongs. If it
|
8443
8491
|
is not provided, the provider project is used.
|
8444
8492
|
:param Sequence['GetCloudVmClustersCloudVmClusterPropertyArgs'] properties: Various properties and settings associated with Exadata VM cluster.
|
8445
8493
|
:param Mapping[str, _builtins.str] pulumi_labels: The combination of labels configured directly on the resource
|
8446
8494
|
and default labels configured on the provider.
|
8447
8495
|
"""
|
8496
|
+
pulumi.set(__self__, "backup_odb_subnet", backup_odb_subnet)
|
8448
8497
|
pulumi.set(__self__, "backup_subnet_cidr", backup_subnet_cidr)
|
8449
8498
|
pulumi.set(__self__, "cidr", cidr)
|
8450
8499
|
pulumi.set(__self__, "cloud_vm_cluster_id", cloud_vm_cluster_id)
|
@@ -8458,10 +8507,22 @@ class GetCloudVmClustersCloudVmClusterResult(dict):
|
|
8458
8507
|
pulumi.set(__self__, "location", location)
|
8459
8508
|
pulumi.set(__self__, "name", name)
|
8460
8509
|
pulumi.set(__self__, "network", network)
|
8510
|
+
pulumi.set(__self__, "odb_network", odb_network)
|
8511
|
+
pulumi.set(__self__, "odb_subnet", odb_subnet)
|
8461
8512
|
pulumi.set(__self__, "project", project)
|
8462
8513
|
pulumi.set(__self__, "properties", properties)
|
8463
8514
|
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
8464
8515
|
|
8516
|
+
@_builtins.property
|
8517
|
+
@pulumi.getter(name="backupOdbSubnet")
|
8518
|
+
def backup_odb_subnet(self) -> _builtins.str:
|
8519
|
+
"""
|
8520
|
+
The name of the backup OdbSubnet associated with the VM Cluster.
|
8521
|
+
Format:
|
8522
|
+
projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
|
8523
|
+
"""
|
8524
|
+
return pulumi.get(self, "backup_odb_subnet")
|
8525
|
+
|
8465
8526
|
@_builtins.property
|
8466
8527
|
@pulumi.getter(name="backupSubnetCidr")
|
8467
8528
|
def backup_subnet_cidr(self) -> _builtins.str:
|
@@ -8573,6 +8634,28 @@ class GetCloudVmClustersCloudVmClusterResult(dict):
|
|
8573
8634
|
"""
|
8574
8635
|
return pulumi.get(self, "network")
|
8575
8636
|
|
8637
|
+
@_builtins.property
|
8638
|
+
@pulumi.getter(name="odbNetwork")
|
8639
|
+
def odb_network(self) -> _builtins.str:
|
8640
|
+
"""
|
8641
|
+
The name of the OdbNetwork associated with the VM Cluster.
|
8642
|
+
Format:
|
8643
|
+
projects/{project}/locations/{location}/odbNetworks/{odb_network}
|
8644
|
+
It is optional but if specified, this should match the parent ODBNetwork of
|
8645
|
+
the odb_subnet and backup_odb_subnet.
|
8646
|
+
"""
|
8647
|
+
return pulumi.get(self, "odb_network")
|
8648
|
+
|
8649
|
+
@_builtins.property
|
8650
|
+
@pulumi.getter(name="odbSubnet")
|
8651
|
+
def odb_subnet(self) -> _builtins.str:
|
8652
|
+
"""
|
8653
|
+
The name of the OdbSubnet associated with the VM Cluster for
|
8654
|
+
IP allocation. Format:
|
8655
|
+
projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
|
8656
|
+
"""
|
8657
|
+
return pulumi.get(self, "odb_subnet")
|
8658
|
+
|
8576
8659
|
@_builtins.property
|
8577
8660
|
@pulumi.getter
|
8578
8661
|
def project(self) -> _builtins.str:
|
pulumi_gcp/orgpolicy/policy.py
CHANGED
@@ -302,7 +302,7 @@ class Policy(pulumi.CustomResource):
|
|
302
302
|
import pulumi_gcp as gcp
|
303
303
|
|
304
304
|
constraint = gcp.orgpolicy.CustomConstraint("constraint",
|
305
|
-
name="custom.
|
305
|
+
name="custom.disableGkeAutoUpgrade_8647",
|
306
306
|
parent="organizations/123456789",
|
307
307
|
display_name="Disable GKE auto upgrade",
|
308
308
|
description="Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
|
@@ -488,7 +488,7 @@ class Policy(pulumi.CustomResource):
|
|
488
488
|
import pulumi_gcp as gcp
|
489
489
|
|
490
490
|
constraint = gcp.orgpolicy.CustomConstraint("constraint",
|
491
|
-
name="custom.
|
491
|
+
name="custom.disableGkeAutoUpgrade_8647",
|
492
492
|
parent="organizations/123456789",
|
493
493
|
display_name="Disable GKE auto upgrade",
|
494
494
|
description="Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
|
@@ -294,6 +294,37 @@ class ParameterVersion(pulumi.CustomResource):
|
|
294
294
|
parameter_version_id="parameter_version",
|
295
295
|
parameter_data="app-parameter-version-data")
|
296
296
|
```
|
297
|
+
### Parameter Version With Json Format With File
|
298
|
+
|
299
|
+
```python
|
300
|
+
import pulumi
|
301
|
+
import pulumi_gcp as gcp
|
302
|
+
import pulumi_std as std
|
303
|
+
|
304
|
+
parameter_basic = gcp.parametermanager.Parameter("parameter-basic",
|
305
|
+
parameter_id="parameter",
|
306
|
+
format="JSON")
|
307
|
+
parameter_version_with_json_format_with_file = gcp.parametermanager.ParameterVersion("parameter-version-with-json-format-with-file",
|
308
|
+
parameter=parameter_basic.id,
|
309
|
+
parameter_version_id="parameter_version",
|
310
|
+
parameter_data=std.file(input="parameter-json-data.json").result)
|
311
|
+
```
|
312
|
+
### Parameter Version With Yaml Format With File
|
313
|
+
|
314
|
+
```python
|
315
|
+
import pulumi
|
316
|
+
import pulumi_gcp as gcp
|
317
|
+
import pulumi_std as std
|
318
|
+
|
319
|
+
parameter_basic = gcp.parametermanager.Parameter("parameter-basic",
|
320
|
+
parameter_id="parameter",
|
321
|
+
format="YAML")
|
322
|
+
parameter_version_with_yaml_format_with_file = gcp.parametermanager.ParameterVersion("parameter-version-with-yaml-format-with-file",
|
323
|
+
parameter=parameter_basic.id,
|
324
|
+
parameter_version_id="parameter_version",
|
325
|
+
parameter_data=std.file(input="parameter-yaml-data.yaml").result)
|
326
|
+
```
|
327
|
+
|
297
328
|
## Import
|
298
329
|
|
299
330
|
ParameterVersion can be imported using any of these accepted formats:
|
@@ -374,6 +405,37 @@ class ParameterVersion(pulumi.CustomResource):
|
|
374
405
|
parameter_version_id="parameter_version",
|
375
406
|
parameter_data="app-parameter-version-data")
|
376
407
|
```
|
408
|
+
### Parameter Version With Json Format With File
|
409
|
+
|
410
|
+
```python
|
411
|
+
import pulumi
|
412
|
+
import pulumi_gcp as gcp
|
413
|
+
import pulumi_std as std
|
414
|
+
|
415
|
+
parameter_basic = gcp.parametermanager.Parameter("parameter-basic",
|
416
|
+
parameter_id="parameter",
|
417
|
+
format="JSON")
|
418
|
+
parameter_version_with_json_format_with_file = gcp.parametermanager.ParameterVersion("parameter-version-with-json-format-with-file",
|
419
|
+
parameter=parameter_basic.id,
|
420
|
+
parameter_version_id="parameter_version",
|
421
|
+
parameter_data=std.file(input="parameter-json-data.json").result)
|
422
|
+
```
|
423
|
+
### Parameter Version With Yaml Format With File
|
424
|
+
|
425
|
+
```python
|
426
|
+
import pulumi
|
427
|
+
import pulumi_gcp as gcp
|
428
|
+
import pulumi_std as std
|
429
|
+
|
430
|
+
parameter_basic = gcp.parametermanager.Parameter("parameter-basic",
|
431
|
+
parameter_id="parameter",
|
432
|
+
format="YAML")
|
433
|
+
parameter_version_with_yaml_format_with_file = gcp.parametermanager.ParameterVersion("parameter-version-with-yaml-format-with-file",
|
434
|
+
parameter=parameter_basic.id,
|
435
|
+
parameter_version_id="parameter_version",
|
436
|
+
parameter_data=std.file(input="parameter-yaml-data.yaml").result)
|
437
|
+
```
|
438
|
+
|
377
439
|
## Import
|
378
440
|
|
379
441
|
ParameterVersion can be imported using any of these accepted formats:
|
@@ -314,6 +314,38 @@ class RegionalParameterVersion(pulumi.CustomResource):
|
|
314
314
|
parameter_version_id="regional_parameter_version",
|
315
315
|
parameter_data="regional-parameter-version-data")
|
316
316
|
```
|
317
|
+
### Regional Parameter Version With Json Format With File
|
318
|
+
|
319
|
+
```python
|
320
|
+
import pulumi
|
321
|
+
import pulumi_gcp as gcp
|
322
|
+
import pulumi_std as std
|
323
|
+
|
324
|
+
regional_parameter_basic = gcp.parametermanager.RegionalParameter("regional-parameter-basic",
|
325
|
+
parameter_id="regional_parameter",
|
326
|
+
format="JSON",
|
327
|
+
location="us-central1")
|
328
|
+
regional_parameter_version_with_json_format_with_file = gcp.parametermanager.RegionalParameterVersion("regional-parameter-version-with-json-format-with-file",
|
329
|
+
parameter=regional_parameter_basic.id,
|
330
|
+
parameter_version_id="regional_parameter_version",
|
331
|
+
parameter_data=std.file(input="regional-parameter-json-data.json").result)
|
332
|
+
```
|
333
|
+
### Regional Parameter Version With Yaml Format With File
|
334
|
+
|
335
|
+
```python
|
336
|
+
import pulumi
|
337
|
+
import pulumi_gcp as gcp
|
338
|
+
import pulumi_std as std
|
339
|
+
|
340
|
+
regional_parameter_basic = gcp.parametermanager.RegionalParameter("regional-parameter-basic",
|
341
|
+
parameter_id="regional_parameter",
|
342
|
+
format="YAML",
|
343
|
+
location="us-central1")
|
344
|
+
regional_parameter_version_with_yaml_format_with_file = gcp.parametermanager.RegionalParameterVersion("regional-parameter-version-with-yaml-format-with-file",
|
345
|
+
parameter=regional_parameter_basic.id,
|
346
|
+
parameter_version_id="regional_parameter_version",
|
347
|
+
parameter_data=std.file(input="regional-parameter-yaml-data.yaml").result)
|
348
|
+
```
|
317
349
|
|
318
350
|
## Import
|
319
351
|
|
@@ -399,6 +431,38 @@ class RegionalParameterVersion(pulumi.CustomResource):
|
|
399
431
|
parameter_version_id="regional_parameter_version",
|
400
432
|
parameter_data="regional-parameter-version-data")
|
401
433
|
```
|
434
|
+
### Regional Parameter Version With Json Format With File
|
435
|
+
|
436
|
+
```python
|
437
|
+
import pulumi
|
438
|
+
import pulumi_gcp as gcp
|
439
|
+
import pulumi_std as std
|
440
|
+
|
441
|
+
regional_parameter_basic = gcp.parametermanager.RegionalParameter("regional-parameter-basic",
|
442
|
+
parameter_id="regional_parameter",
|
443
|
+
format="JSON",
|
444
|
+
location="us-central1")
|
445
|
+
regional_parameter_version_with_json_format_with_file = gcp.parametermanager.RegionalParameterVersion("regional-parameter-version-with-json-format-with-file",
|
446
|
+
parameter=regional_parameter_basic.id,
|
447
|
+
parameter_version_id="regional_parameter_version",
|
448
|
+
parameter_data=std.file(input="regional-parameter-json-data.json").result)
|
449
|
+
```
|
450
|
+
### Regional Parameter Version With Yaml Format With File
|
451
|
+
|
452
|
+
```python
|
453
|
+
import pulumi
|
454
|
+
import pulumi_gcp as gcp
|
455
|
+
import pulumi_std as std
|
456
|
+
|
457
|
+
regional_parameter_basic = gcp.parametermanager.RegionalParameter("regional-parameter-basic",
|
458
|
+
parameter_id="regional_parameter",
|
459
|
+
format="YAML",
|
460
|
+
location="us-central1")
|
461
|
+
regional_parameter_version_with_yaml_format_with_file = gcp.parametermanager.RegionalParameterVersion("regional-parameter-version-with-yaml-format-with-file",
|
462
|
+
parameter=regional_parameter_basic.id,
|
463
|
+
parameter_version_id="regional_parameter_version",
|
464
|
+
parameter_data=std.file(input="regional-parameter-yaml-data.yaml").result)
|
465
|
+
```
|
402
466
|
|
403
467
|
## Import
|
404
468
|
|
pulumi_gcp/provider.py
CHANGED
@@ -147,6 +147,7 @@ class ProviderArgs:
|
|
147
147
|
migration_center_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
148
148
|
ml_engine_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
149
149
|
model_armor_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
150
|
+
model_armor_global_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
150
151
|
monitoring_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
151
152
|
netapp_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
152
153
|
network_connectivity_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -472,6 +473,8 @@ class ProviderArgs:
|
|
472
473
|
pulumi.set(__self__, "ml_engine_custom_endpoint", ml_engine_custom_endpoint)
|
473
474
|
if model_armor_custom_endpoint is not None:
|
474
475
|
pulumi.set(__self__, "model_armor_custom_endpoint", model_armor_custom_endpoint)
|
476
|
+
if model_armor_global_custom_endpoint is not None:
|
477
|
+
pulumi.set(__self__, "model_armor_global_custom_endpoint", model_armor_global_custom_endpoint)
|
475
478
|
if monitoring_custom_endpoint is not None:
|
476
479
|
pulumi.set(__self__, "monitoring_custom_endpoint", monitoring_custom_endpoint)
|
477
480
|
if netapp_custom_endpoint is not None:
|
@@ -1758,6 +1761,15 @@ class ProviderArgs:
|
|
1758
1761
|
def model_armor_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
|
1759
1762
|
pulumi.set(self, "model_armor_custom_endpoint", value)
|
1760
1763
|
|
1764
|
+
@_builtins.property
|
1765
|
+
@pulumi.getter(name="modelArmorGlobalCustomEndpoint")
|
1766
|
+
def model_armor_global_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]:
|
1767
|
+
return pulumi.get(self, "model_armor_global_custom_endpoint")
|
1768
|
+
|
1769
|
+
@model_armor_global_custom_endpoint.setter
|
1770
|
+
def model_armor_global_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
|
1771
|
+
pulumi.set(self, "model_armor_global_custom_endpoint", value)
|
1772
|
+
|
1761
1773
|
@_builtins.property
|
1762
1774
|
@pulumi.getter(name="monitoringCustomEndpoint")
|
1763
1775
|
def monitoring_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -2504,6 +2516,7 @@ class Provider(pulumi.ProviderResource):
|
|
2504
2516
|
migration_center_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2505
2517
|
ml_engine_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2506
2518
|
model_armor_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2519
|
+
model_armor_global_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2507
2520
|
monitoring_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2508
2521
|
netapp_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2509
2522
|
network_connectivity_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -2736,6 +2749,7 @@ class Provider(pulumi.ProviderResource):
|
|
2736
2749
|
migration_center_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2737
2750
|
ml_engine_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2738
2751
|
model_armor_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2752
|
+
model_armor_global_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2739
2753
|
monitoring_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2740
2754
|
netapp_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
2741
2755
|
network_connectivity_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -2940,6 +2954,7 @@ class Provider(pulumi.ProviderResource):
|
|
2940
2954
|
__props__.__dict__["migration_center_custom_endpoint"] = migration_center_custom_endpoint
|
2941
2955
|
__props__.__dict__["ml_engine_custom_endpoint"] = ml_engine_custom_endpoint
|
2942
2956
|
__props__.__dict__["model_armor_custom_endpoint"] = model_armor_custom_endpoint
|
2957
|
+
__props__.__dict__["model_armor_global_custom_endpoint"] = model_armor_global_custom_endpoint
|
2943
2958
|
__props__.__dict__["monitoring_custom_endpoint"] = monitoring_custom_endpoint
|
2944
2959
|
__props__.__dict__["netapp_custom_endpoint"] = netapp_custom_endpoint
|
2945
2960
|
__props__.__dict__["network_connectivity_custom_endpoint"] = network_connectivity_custom_endpoint
|
@@ -3627,6 +3642,11 @@ class Provider(pulumi.ProviderResource):
|
|
3627
3642
|
def model_armor_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]:
|
3628
3643
|
return pulumi.get(self, "model_armor_custom_endpoint")
|
3629
3644
|
|
3645
|
+
@_builtins.property
|
3646
|
+
@pulumi.getter(name="modelArmorGlobalCustomEndpoint")
|
3647
|
+
def model_armor_global_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]:
|
3648
|
+
return pulumi.get(self, "model_armor_global_custom_endpoint")
|
3649
|
+
|
3630
3650
|
@_builtins.property
|
3631
3651
|
@pulumi.getter(name="monitoringCustomEndpoint")
|
3632
3652
|
def monitoring_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]:
|
@@ -1143,7 +1143,7 @@ class Subscription(pulumi.CustomResource):
|
|
1143
1143
|
cloud_storage_config={
|
1144
1144
|
"bucket": example.name,
|
1145
1145
|
"filename_prefix": "pre-",
|
1146
|
-
"filename_suffix": "-
|
1146
|
+
"filename_suffix": "-_50610",
|
1147
1147
|
"filename_datetime_format": "YYYY-MM-DD/hh_mm_ssZ",
|
1148
1148
|
"max_bytes": 1000,
|
1149
1149
|
"max_duration": "300s",
|
@@ -1176,7 +1176,7 @@ class Subscription(pulumi.CustomResource):
|
|
1176
1176
|
cloud_storage_config={
|
1177
1177
|
"bucket": example.name,
|
1178
1178
|
"filename_prefix": "pre-",
|
1179
|
-
"filename_suffix": "-
|
1179
|
+
"filename_suffix": "-_77124",
|
1180
1180
|
"filename_datetime_format": "YYYY-MM-DD/hh_mm_ssZ",
|
1181
1181
|
"max_bytes": 1000,
|
1182
1182
|
"max_duration": "300s",
|
@@ -1215,7 +1215,7 @@ class Subscription(pulumi.CustomResource):
|
|
1215
1215
|
cloud_storage_config={
|
1216
1216
|
"bucket": example.name,
|
1217
1217
|
"filename_prefix": "pre-",
|
1218
|
-
"filename_suffix": "-
|
1218
|
+
"filename_suffix": "-_15335",
|
1219
1219
|
"filename_datetime_format": "YYYY-MM-DD/hh_mm_ssZ",
|
1220
1220
|
"max_bytes": 1000,
|
1221
1221
|
"max_duration": "300s",
|
@@ -1228,7 +1228,27 @@ class Subscription(pulumi.CustomResource):
|
|
1228
1228
|
]))
|
1229
1229
|
project = gcp.organizations.get_project()
|
1230
1230
|
```
|
1231
|
+
### Pubsub Subscription Single Smt
|
1231
1232
|
|
1233
|
+
```python
|
1234
|
+
import pulumi
|
1235
|
+
import pulumi_gcp as gcp
|
1236
|
+
|
1237
|
+
example = gcp.pubsub.Topic("example", name="example-topic")
|
1238
|
+
example_subscription = gcp.pubsub.Subscription("example",
|
1239
|
+
name="example-subscription",
|
1240
|
+
topic=example.id,
|
1241
|
+
message_transforms=[{
|
1242
|
+
"javascript_udf": {
|
1243
|
+
"function_name": "isYearEven",
|
1244
|
+
"code": \"\"\"function isYearEven(message, metadata) {
|
1245
|
+
const data = JSON.parse(message.data);
|
1246
|
+
return message.year %2 === 0;
|
1247
|
+
}
|
1248
|
+
\"\"\",
|
1249
|
+
},
|
1250
|
+
}])
|
1251
|
+
```
|
1232
1252
|
## Import
|
1233
1253
|
|
1234
1254
|
Subscription can be imported using any of these accepted formats:
|
@@ -1583,7 +1603,7 @@ class Subscription(pulumi.CustomResource):
|
|
1583
1603
|
cloud_storage_config={
|
1584
1604
|
"bucket": example.name,
|
1585
1605
|
"filename_prefix": "pre-",
|
1586
|
-
"filename_suffix": "-
|
1606
|
+
"filename_suffix": "-_50610",
|
1587
1607
|
"filename_datetime_format": "YYYY-MM-DD/hh_mm_ssZ",
|
1588
1608
|
"max_bytes": 1000,
|
1589
1609
|
"max_duration": "300s",
|
@@ -1616,7 +1636,7 @@ class Subscription(pulumi.CustomResource):
|
|
1616
1636
|
cloud_storage_config={
|
1617
1637
|
"bucket": example.name,
|
1618
1638
|
"filename_prefix": "pre-",
|
1619
|
-
"filename_suffix": "-
|
1639
|
+
"filename_suffix": "-_77124",
|
1620
1640
|
"filename_datetime_format": "YYYY-MM-DD/hh_mm_ssZ",
|
1621
1641
|
"max_bytes": 1000,
|
1622
1642
|
"max_duration": "300s",
|
@@ -1655,7 +1675,7 @@ class Subscription(pulumi.CustomResource):
|
|
1655
1675
|
cloud_storage_config={
|
1656
1676
|
"bucket": example.name,
|
1657
1677
|
"filename_prefix": "pre-",
|
1658
|
-
"filename_suffix": "-
|
1678
|
+
"filename_suffix": "-_15335",
|
1659
1679
|
"filename_datetime_format": "YYYY-MM-DD/hh_mm_ssZ",
|
1660
1680
|
"max_bytes": 1000,
|
1661
1681
|
"max_duration": "300s",
|
@@ -1668,7 +1688,27 @@ class Subscription(pulumi.CustomResource):
|
|
1668
1688
|
]))
|
1669
1689
|
project = gcp.organizations.get_project()
|
1670
1690
|
```
|
1691
|
+
### Pubsub Subscription Single Smt
|
1671
1692
|
|
1693
|
+
```python
|
1694
|
+
import pulumi
|
1695
|
+
import pulumi_gcp as gcp
|
1696
|
+
|
1697
|
+
example = gcp.pubsub.Topic("example", name="example-topic")
|
1698
|
+
example_subscription = gcp.pubsub.Subscription("example",
|
1699
|
+
name="example-subscription",
|
1700
|
+
topic=example.id,
|
1701
|
+
message_transforms=[{
|
1702
|
+
"javascript_udf": {
|
1703
|
+
"function_name": "isYearEven",
|
1704
|
+
"code": \"\"\"function isYearEven(message, metadata) {
|
1705
|
+
const data = JSON.parse(message.data);
|
1706
|
+
return message.year %2 === 0;
|
1707
|
+
}
|
1708
|
+
\"\"\",
|
1709
|
+
},
|
1710
|
+
}])
|
1711
|
+
```
|
1672
1712
|
## Import
|
1673
1713
|
|
1674
1714
|
Subscription can be imported using any of these accepted formats:
|
pulumi_gcp/pubsub/topic.py
CHANGED
@@ -642,7 +642,25 @@ class Topic(pulumi.CustomResource):
|
|
642
642
|
},
|
643
643
|
})
|
644
644
|
```
|
645
|
+
### Pubsub Topic Single Smt
|
645
646
|
|
647
|
+
```python
|
648
|
+
import pulumi
|
649
|
+
import pulumi_gcp as gcp
|
650
|
+
|
651
|
+
example = gcp.pubsub.Topic("example",
|
652
|
+
name="example-topic",
|
653
|
+
message_transforms=[{
|
654
|
+
"javascript_udf": {
|
655
|
+
"function_name": "isYearEven",
|
656
|
+
"code": \"\"\"function isYearEven(message, metadata) {
|
657
|
+
const data = JSON.parse(message.data);
|
658
|
+
return message.year %2 === 0;
|
659
|
+
}
|
660
|
+
\"\"\",
|
661
|
+
},
|
662
|
+
}])
|
663
|
+
```
|
646
664
|
## Import
|
647
665
|
|
648
666
|
Topic can be imported using any of these accepted formats:
|
@@ -889,7 +907,25 @@ class Topic(pulumi.CustomResource):
|
|
889
907
|
},
|
890
908
|
})
|
891
909
|
```
|
910
|
+
### Pubsub Topic Single Smt
|
892
911
|
|
912
|
+
```python
|
913
|
+
import pulumi
|
914
|
+
import pulumi_gcp as gcp
|
915
|
+
|
916
|
+
example = gcp.pubsub.Topic("example",
|
917
|
+
name="example-topic",
|
918
|
+
message_transforms=[{
|
919
|
+
"javascript_udf": {
|
920
|
+
"function_name": "isYearEven",
|
921
|
+
"code": \"\"\"function isYearEven(message, metadata) {
|
922
|
+
const data = JSON.parse(message.data);
|
923
|
+
return message.year %2 === 0;
|
924
|
+
}
|
925
|
+
\"\"\",
|
926
|
+
},
|
927
|
+
}])
|
928
|
+
```
|
893
929
|
## Import
|
894
930
|
|
895
931
|
Topic can be imported using any of these accepted formats:
|
pulumi_gcp/pulumi-plugin.json
CHANGED