pulumi-gcp 7.29.0__py3-none-any.whl → 7.29.0a1719247035__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 +0 -8
- pulumi_gcp/_utilities.py +0 -35
- pulumi_gcp/activedirectory/domain.py +14 -14
- pulumi_gcp/activedirectory/domain_trust.py +14 -14
- pulumi_gcp/alloydb/backup.py +8 -8
- pulumi_gcp/alloydb/cluster.py +17 -11
- pulumi_gcp/alloydb/instance.py +8 -8
- pulumi_gcp/alloydb/user.py +8 -8
- pulumi_gcp/apigee/addons_config.py +4 -4
- pulumi_gcp/apigee/endpoint_attachment.py +2 -2
- pulumi_gcp/apigee/env_group.py +2 -2
- pulumi_gcp/apigee/environment.py +2 -2
- pulumi_gcp/apigee/instance.py +8 -8
- pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +10 -10
- pulumi_gcp/apigee/nat_address.py +2 -2
- pulumi_gcp/apigee/organization.py +6 -6
- pulumi_gcp/apigee/sync_authorization.py +4 -4
- pulumi_gcp/apigee/target_server.py +10 -10
- pulumi_gcp/apphub/service.py +20 -20
- pulumi_gcp/apphub/service_project_attachment.py +8 -8
- pulumi_gcp/applicationintegration/auth_config.py +2 -2
- pulumi_gcp/applicationintegration/client.py +18 -6
- pulumi_gcp/artifactregistry/__init__.py +0 -1
- pulumi_gcp/artifactregistry/_inputs.py +4 -4
- pulumi_gcp/artifactregistry/outputs.py +6 -6
- pulumi_gcp/artifactregistry/repository.py +10 -10
- pulumi_gcp/backupdisasterrecovery/management_server.py +2 -2
- pulumi_gcp/bigquery/_inputs.py +6 -2
- pulumi_gcp/bigquery/data_transfer_config.py +4 -4
- pulumi_gcp/bigquery/dataset.py +0 -75
- pulumi_gcp/bigquery/get_dataset.py +1 -11
- pulumi_gcp/bigquery/job.py +6 -6
- pulumi_gcp/bigquery/outputs.py +6 -2
- pulumi_gcp/bigtable/_inputs.py +3 -1
- pulumi_gcp/bigtable/instance.py +9 -3
- pulumi_gcp/bigtable/outputs.py +3 -1
- pulumi_gcp/billing/_inputs.py +0 -22
- pulumi_gcp/billing/budget.py +0 -50
- pulumi_gcp/billing/outputs.py +0 -20
- pulumi_gcp/certificateauthority/authority.py +2 -2
- pulumi_gcp/certificateauthority/certificate.py +4 -4
- pulumi_gcp/certificatemanager/_inputs.py +6 -2
- pulumi_gcp/certificatemanager/certificate.py +4 -4
- pulumi_gcp/certificatemanager/certificate_issuance_config.py +2 -2
- pulumi_gcp/certificatemanager/outputs.py +6 -2
- pulumi_gcp/cloudbuild/bitbucket_server_config.py +6 -6
- pulumi_gcp/cloudbuild/trigger.py +2 -2
- pulumi_gcp/cloudbuild/worker_pool.py +6 -6
- pulumi_gcp/cloudbuildv2/connection.py +2 -2
- pulumi_gcp/cloudbuildv2/repository.py +2 -2
- pulumi_gcp/cloudfunctionsv2/function.py +28 -28
- pulumi_gcp/cloudids/endpoint.py +2 -2
- pulumi_gcp/cloudrun/_inputs.py +9 -3
- pulumi_gcp/cloudrun/outputs.py +9 -3
- pulumi_gcp/cloudrunv2/get_job.py +1 -21
- pulumi_gcp/cloudrunv2/job.py +19 -163
- pulumi_gcp/cloudrunv2/service.py +8 -8
- pulumi_gcp/compute/_inputs.py +0 -83
- pulumi_gcp/compute/disk.py +9 -3
- pulumi_gcp/compute/firewall.py +9 -3
- pulumi_gcp/compute/forwarding_rule.py +22 -22
- pulumi_gcp/compute/outputs.py +1 -166
- pulumi_gcp/compute/packet_mirroring.py +2 -2
- pulumi_gcp/compute/project_cloud_armor_tier.py +2 -2
- pulumi_gcp/compute/region_disk.py +9 -3
- pulumi_gcp/compute/region_security_policy_rule.py +2 -2
- pulumi_gcp/compute/route.py +2 -2
- pulumi_gcp/compute/subnetwork.py +6 -2
- pulumi_gcp/compute/target_instance.py +2 -2
- pulumi_gcp/compute/vpn_gateway.py +2 -2
- pulumi_gcp/compute/vpn_tunnel.py +2 -2
- pulumi_gcp/container/_inputs.py +6 -2
- pulumi_gcp/container/outputs.py +6 -2
- pulumi_gcp/databasemigrationservice/connection_profile.py +16 -16
- pulumi_gcp/datacatalog/policy_tag.py +2 -2
- pulumi_gcp/datafusion/instance.py +8 -4
- pulumi_gcp/dataplex/asset.py +2 -2
- pulumi_gcp/dataplex/datascan.py +2 -2
- pulumi_gcp/dataproc/_inputs.py +0 -100
- pulumi_gcp/dataproc/metastore_service.py +0 -172
- pulumi_gcp/dataproc/outputs.py +1 -192
- pulumi_gcp/dataproc/workflow_template.py +9 -3
- pulumi_gcp/datastore/data_store_index.py +2 -2
- pulumi_gcp/datastream/stream.py +6 -6
- pulumi_gcp/diagflow/entity_type.py +2 -2
- pulumi_gcp/diagflow/fulfillment.py +2 -2
- pulumi_gcp/diagflow/intent.py +4 -4
- pulumi_gcp/edgecontainer/node_pool.py +2 -2
- pulumi_gcp/edgecontainer/vpn_connection.py +2 -2
- pulumi_gcp/eventarc/channel.py +2 -2
- pulumi_gcp/eventarc/google_channel_config.py +2 -2
- pulumi_gcp/filestore/instance.py +9 -3
- pulumi_gcp/firebase/app_check_app_attest_config.py +8 -8
- pulumi_gcp/firebase/app_check_debug_token.py +4 -4
- pulumi_gcp/firebase/app_check_device_check_config.py +4 -4
- pulumi_gcp/firebase/app_check_play_integrity_config.py +8 -8
- pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +4 -4
- pulumi_gcp/firebase/app_check_recaptcha_v3_config.py +4 -4
- pulumi_gcp/firebase/app_check_service_config.py +6 -6
- pulumi_gcp/firebase/database_instance.py +2 -2
- pulumi_gcp/firestore/database.py +4 -4
- pulumi_gcp/firestore/document.py +12 -12
- pulumi_gcp/folder/access_approval_settings.py +2 -2
- pulumi_gcp/gkehub/_inputs.py +8 -4
- pulumi_gcp/gkehub/membership.py +9 -3
- pulumi_gcp/gkehub/membership_binding.py +4 -4
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +2 -2
- pulumi_gcp/gkehub/outputs.py +8 -4
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +2 -2
- pulumi_gcp/healthcare/fhir_store.py +9 -3
- pulumi_gcp/healthcare/hl7_store.py +9 -3
- pulumi_gcp/integrationconnectors/connection.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +6 -6
- pulumi_gcp/kms/_inputs.py +3 -1
- pulumi_gcp/kms/autokey_config.py +16 -16
- pulumi_gcp/kms/key_handle.py +22 -22
- pulumi_gcp/kms/outputs.py +3 -1
- pulumi_gcp/logging/folder_settings.py +2 -2
- pulumi_gcp/logging/linked_dataset.py +2 -2
- pulumi_gcp/logging/organization_settings.py +2 -2
- pulumi_gcp/logging/project_bucket_config.py +2 -2
- pulumi_gcp/looker/instance.py +2 -2
- pulumi_gcp/netapp/volume_replication.py +2 -2
- pulumi_gcp/netapp/volume_snapshot.py +2 -2
- pulumi_gcp/networkconnectivity/internal_range.py +2 -2
- pulumi_gcp/networksecurity/gateway_security_policy.py +4 -4
- pulumi_gcp/networksecurity/tls_inspection_policy.py +4 -4
- pulumi_gcp/networkservices/gateway.py +6 -6
- pulumi_gcp/organizations/access_approval_settings.py +2 -2
- pulumi_gcp/parallelstore/instance.py +2 -2
- pulumi_gcp/projects/access_approval_settings.py +11 -5
- pulumi_gcp/pubsub/_inputs.py +0 -40
- pulumi_gcp/pubsub/outputs.py +0 -66
- pulumi_gcp/pubsub/schema.py +2 -2
- pulumi_gcp/pubsub/subscription.py +8 -174
- pulumi_gcp/pubsub/topic.py +2 -2
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +4 -4
- pulumi_gcp/redis/get_instance.py +1 -11
- pulumi_gcp/redis/instance.py +2 -49
- pulumi_gcp/secretmanager/secret.py +2 -2
- pulumi_gcp/securesourcemanager/instance.py +6 -6
- pulumi_gcp/securitycenter/instance_iam_binding.py +2 -2
- pulumi_gcp/securitycenter/instance_iam_member.py +2 -2
- pulumi_gcp/securitycenter/instance_iam_policy.py +2 -2
- pulumi_gcp/servicenetworking/__init__.py +0 -1
- pulumi_gcp/sql/_inputs.py +3 -1
- pulumi_gcp/sql/database_instance.py +2 -2
- pulumi_gcp/sql/outputs.py +3 -1
- pulumi_gcp/sql/user.py +7 -21
- pulumi_gcp/storage/get_project_service_account.py +2 -2
- pulumi_gcp/storage/insights_report_config.py +2 -2
- pulumi_gcp/storage/notification.py +2 -2
- pulumi_gcp/storage/transfer_agent_pool.py +2 -2
- pulumi_gcp/storage/transfer_job.py +4 -4
- pulumi_gcp/tpu/v2_vm.py +4 -4
- pulumi_gcp/vertex/_inputs.py +3 -1
- pulumi_gcp/vertex/ai_endpoint.py +2 -2
- pulumi_gcp/vertex/ai_feature_online_store.py +9 -3
- pulumi_gcp/vertex/ai_index_endpoint.py +2 -2
- pulumi_gcp/vertex/ai_tensorboard.py +2 -2
- pulumi_gcp/vertex/outputs.py +3 -1
- pulumi_gcp/vmwareengine/external_address.py +2 -2
- pulumi_gcp/vmwareengine/network.py +4 -4
- pulumi_gcp/vpcaccess/connector.py +8 -2
- {pulumi_gcp-7.29.0.dist-info → pulumi_gcp-7.29.0a1719247035.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.29.0.dist-info → pulumi_gcp-7.29.0a1719247035.dist-info}/RECORD +170 -172
- {pulumi_gcp-7.29.0.dist-info → pulumi_gcp-7.29.0a1719247035.dist-info}/WHEEL +1 -1
- pulumi_gcp/artifactregistry/get_docker_image.py +0 -244
- pulumi_gcp/servicenetworking/vpc_service_controls.py +0 -511
- {pulumi_gcp-7.29.0.dist-info → pulumi_gcp-7.29.0a1719247035.dist-info}/top_level.txt +0 -0
pulumi_gcp/cloudrunv2/job.py
CHANGED
@@ -25,9 +25,7 @@ class JobArgs:
|
|
25
25
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
26
26
|
launch_stage: Optional[pulumi.Input[str]] = None,
|
27
27
|
name: Optional[pulumi.Input[str]] = None,
|
28
|
-
project: Optional[pulumi.Input[str]] = None
|
29
|
-
run_execution_token: Optional[pulumi.Input[str]] = None,
|
30
|
-
start_execution_token: Optional[pulumi.Input[str]] = None):
|
28
|
+
project: Optional[pulumi.Input[str]] = None):
|
31
29
|
"""
|
32
30
|
The set of arguments for constructing a Job resource.
|
33
31
|
:param pulumi.Input[str] location: The location of the cloud run job
|
@@ -58,10 +56,6 @@ class JobArgs:
|
|
58
56
|
input, but only BETA and GA-level features are used, this field will be BETA on output. Possible values:
|
59
57
|
["UNIMPLEMENTED", "PRELAUNCH", "EARLY_ACCESS", "ALPHA", "BETA", "GA", "DEPRECATED"]
|
60
58
|
:param pulumi.Input[str] name: Name of the Job.
|
61
|
-
:param pulumi.Input[str] run_execution_token: A unique string used as a suffix creating a new execution upon job create or update. The Job will become ready when the
|
62
|
-
execution is successfully completed. The sum of job name and token length must be fewer than 63 characters.
|
63
|
-
:param pulumi.Input[str] start_execution_token: A unique string used as a suffix creating a new execution upon job create or update. The Job will become ready when the
|
64
|
-
execution is successfully started. The sum of job name and token length must be fewer than 63 characters.
|
65
59
|
"""
|
66
60
|
pulumi.set(__self__, "location", location)
|
67
61
|
pulumi.set(__self__, "template", template)
|
@@ -81,10 +75,6 @@ class JobArgs:
|
|
81
75
|
pulumi.set(__self__, "name", name)
|
82
76
|
if project is not None:
|
83
77
|
pulumi.set(__self__, "project", project)
|
84
|
-
if run_execution_token is not None:
|
85
|
-
pulumi.set(__self__, "run_execution_token", run_execution_token)
|
86
|
-
if start_execution_token is not None:
|
87
|
-
pulumi.set(__self__, "start_execution_token", start_execution_token)
|
88
78
|
|
89
79
|
@property
|
90
80
|
@pulumi.getter
|
@@ -222,32 +212,6 @@ class JobArgs:
|
|
222
212
|
def project(self, value: Optional[pulumi.Input[str]]):
|
223
213
|
pulumi.set(self, "project", value)
|
224
214
|
|
225
|
-
@property
|
226
|
-
@pulumi.getter(name="runExecutionToken")
|
227
|
-
def run_execution_token(self) -> Optional[pulumi.Input[str]]:
|
228
|
-
"""
|
229
|
-
A unique string used as a suffix creating a new execution upon job create or update. The Job will become ready when the
|
230
|
-
execution is successfully completed. The sum of job name and token length must be fewer than 63 characters.
|
231
|
-
"""
|
232
|
-
return pulumi.get(self, "run_execution_token")
|
233
|
-
|
234
|
-
@run_execution_token.setter
|
235
|
-
def run_execution_token(self, value: Optional[pulumi.Input[str]]):
|
236
|
-
pulumi.set(self, "run_execution_token", value)
|
237
|
-
|
238
|
-
@property
|
239
|
-
@pulumi.getter(name="startExecutionToken")
|
240
|
-
def start_execution_token(self) -> Optional[pulumi.Input[str]]:
|
241
|
-
"""
|
242
|
-
A unique string used as a suffix creating a new execution upon job create or update. The Job will become ready when the
|
243
|
-
execution is successfully started. The sum of job name and token length must be fewer than 63 characters.
|
244
|
-
"""
|
245
|
-
return pulumi.get(self, "start_execution_token")
|
246
|
-
|
247
|
-
@start_execution_token.setter
|
248
|
-
def start_execution_token(self, value: Optional[pulumi.Input[str]]):
|
249
|
-
pulumi.set(self, "start_execution_token", value)
|
250
|
-
|
251
215
|
|
252
216
|
@pulumi.input_type
|
253
217
|
class _JobState:
|
@@ -276,8 +240,6 @@ class _JobState:
|
|
276
240
|
project: Optional[pulumi.Input[str]] = None,
|
277
241
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
278
242
|
reconciling: Optional[pulumi.Input[bool]] = None,
|
279
|
-
run_execution_token: Optional[pulumi.Input[str]] = None,
|
280
|
-
start_execution_token: Optional[pulumi.Input[str]] = None,
|
281
243
|
template: Optional[pulumi.Input['JobTemplateArgs']] = None,
|
282
244
|
terminal_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['JobTerminalConditionArgs']]]] = None,
|
283
245
|
uid: Optional[pulumi.Input[str]] = None,
|
@@ -332,10 +294,6 @@ class _JobState:
|
|
332
294
|
When a new Job is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Job to the desired state. This process is called reconciliation. While reconciliation is in process, observedGeneration and latest_succeeded_execution, will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the state matches the Job, or there was an error, and reconciliation failed. This state can be found in terminalCondition.state.
|
333
295
|
If reconciliation succeeded, the following fields will match: observedGeneration and generation, latest_succeeded_execution and latestCreatedExecution.
|
334
296
|
If reconciliation failed, observedGeneration and latest_succeeded_execution will have the state of the last succeeded execution or empty for newly created Job. Additional information on the failure can be found in terminalCondition and conditions
|
335
|
-
:param pulumi.Input[str] run_execution_token: A unique string used as a suffix creating a new execution upon job create or update. The Job will become ready when the
|
336
|
-
execution is successfully completed. The sum of job name and token length must be fewer than 63 characters.
|
337
|
-
:param pulumi.Input[str] start_execution_token: A unique string used as a suffix creating a new execution upon job create or update. The Job will become ready when the
|
338
|
-
execution is successfully started. The sum of job name and token length must be fewer than 63 characters.
|
339
297
|
:param pulumi.Input['JobTemplateArgs'] template: The template used to create executions for this Job.
|
340
298
|
Structure is documented below.
|
341
299
|
:param pulumi.Input[Sequence[pulumi.Input['JobTerminalConditionArgs']]] terminal_conditions: The Condition of this Job, containing its readiness status, and detailed error information in case it did not reach the desired state
|
@@ -391,10 +349,6 @@ class _JobState:
|
|
391
349
|
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
392
350
|
if reconciling is not None:
|
393
351
|
pulumi.set(__self__, "reconciling", reconciling)
|
394
|
-
if run_execution_token is not None:
|
395
|
-
pulumi.set(__self__, "run_execution_token", run_execution_token)
|
396
|
-
if start_execution_token is not None:
|
397
|
-
pulumi.set(__self__, "start_execution_token", start_execution_token)
|
398
352
|
if template is not None:
|
399
353
|
pulumi.set(__self__, "template", template)
|
400
354
|
if terminal_conditions is not None:
|
@@ -712,32 +666,6 @@ class _JobState:
|
|
712
666
|
def reconciling(self, value: Optional[pulumi.Input[bool]]):
|
713
667
|
pulumi.set(self, "reconciling", value)
|
714
668
|
|
715
|
-
@property
|
716
|
-
@pulumi.getter(name="runExecutionToken")
|
717
|
-
def run_execution_token(self) -> Optional[pulumi.Input[str]]:
|
718
|
-
"""
|
719
|
-
A unique string used as a suffix creating a new execution upon job create or update. The Job will become ready when the
|
720
|
-
execution is successfully completed. The sum of job name and token length must be fewer than 63 characters.
|
721
|
-
"""
|
722
|
-
return pulumi.get(self, "run_execution_token")
|
723
|
-
|
724
|
-
@run_execution_token.setter
|
725
|
-
def run_execution_token(self, value: Optional[pulumi.Input[str]]):
|
726
|
-
pulumi.set(self, "run_execution_token", value)
|
727
|
-
|
728
|
-
@property
|
729
|
-
@pulumi.getter(name="startExecutionToken")
|
730
|
-
def start_execution_token(self) -> Optional[pulumi.Input[str]]:
|
731
|
-
"""
|
732
|
-
A unique string used as a suffix creating a new execution upon job create or update. The Job will become ready when the
|
733
|
-
execution is successfully started. The sum of job name and token length must be fewer than 63 characters.
|
734
|
-
"""
|
735
|
-
return pulumi.get(self, "start_execution_token")
|
736
|
-
|
737
|
-
@start_execution_token.setter
|
738
|
-
def start_execution_token(self, value: Optional[pulumi.Input[str]]):
|
739
|
-
pulumi.set(self, "start_execution_token", value)
|
740
|
-
|
741
669
|
@property
|
742
670
|
@pulumi.getter
|
743
671
|
def template(self) -> Optional[pulumi.Input['JobTemplateArgs']]:
|
@@ -803,8 +731,6 @@ class Job(pulumi.CustomResource):
|
|
803
731
|
location: Optional[pulumi.Input[str]] = None,
|
804
732
|
name: Optional[pulumi.Input[str]] = None,
|
805
733
|
project: Optional[pulumi.Input[str]] = None,
|
806
|
-
run_execution_token: Optional[pulumi.Input[str]] = None,
|
807
|
-
start_execution_token: Optional[pulumi.Input[str]] = None,
|
808
734
|
template: Optional[pulumi.Input[pulumi.InputType['JobTemplateArgs']]] = None,
|
809
735
|
__props__=None):
|
810
736
|
"""
|
@@ -830,7 +756,7 @@ class Job(pulumi.CustomResource):
|
|
830
756
|
template=gcp.cloudrunv2.JobTemplateArgs(
|
831
757
|
template=gcp.cloudrunv2.JobTemplateTemplateArgs(
|
832
758
|
containers=[gcp.cloudrunv2.JobTemplateTemplateContainerArgs(
|
833
|
-
image="us-docker.pkg.dev/cloudrun/container/
|
759
|
+
image="us-docker.pkg.dev/cloudrun/container/hello",
|
834
760
|
)],
|
835
761
|
),
|
836
762
|
))
|
@@ -847,7 +773,7 @@ class Job(pulumi.CustomResource):
|
|
847
773
|
template=gcp.cloudrunv2.JobTemplateArgs(
|
848
774
|
template=gcp.cloudrunv2.JobTemplateTemplateArgs(
|
849
775
|
containers=[gcp.cloudrunv2.JobTemplateTemplateContainerArgs(
|
850
|
-
image="us-docker.pkg.dev/cloudrun/container/
|
776
|
+
image="us-docker.pkg.dev/cloudrun/container/hello",
|
851
777
|
resources=gcp.cloudrunv2.JobTemplateTemplateContainerResourcesArgs(
|
852
778
|
limits={
|
853
779
|
"cpu": "2",
|
@@ -889,7 +815,7 @@ class Job(pulumi.CustomResource):
|
|
889
815
|
),
|
890
816
|
)],
|
891
817
|
containers=[gcp.cloudrunv2.JobTemplateTemplateContainerArgs(
|
892
|
-
image="us-docker.pkg.dev/cloudrun/container/
|
818
|
+
image="us-docker.pkg.dev/cloudrun/container/hello",
|
893
819
|
envs=[
|
894
820
|
gcp.cloudrunv2.JobTemplateTemplateContainerEnvArgs(
|
895
821
|
name="FOO",
|
@@ -920,7 +846,7 @@ class Job(pulumi.CustomResource):
|
|
920
846
|
secret_id=secret.id,
|
921
847
|
role="roles/secretmanager.secretAccessor",
|
922
848
|
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com",
|
923
|
-
opts
|
849
|
+
opts=pulumi.ResourceOptions(depends_on=[secret]))
|
924
850
|
```
|
925
851
|
### Cloudrunv2 Job Vpcaccess
|
926
852
|
|
@@ -951,7 +877,7 @@ class Job(pulumi.CustomResource):
|
|
951
877
|
template=gcp.cloudrunv2.JobTemplateArgs(
|
952
878
|
template=gcp.cloudrunv2.JobTemplateTemplateArgs(
|
953
879
|
containers=[gcp.cloudrunv2.JobTemplateTemplateContainerArgs(
|
954
|
-
image="us-docker.pkg.dev/cloudrun/container/
|
880
|
+
image="us-docker.pkg.dev/cloudrun/container/hello",
|
955
881
|
)],
|
956
882
|
vpc_access=gcp.cloudrunv2.JobTemplateTemplateVpcAccessArgs(
|
957
883
|
connector=connector.id,
|
@@ -1008,7 +934,7 @@ class Job(pulumi.CustomResource):
|
|
1008
934
|
secret_id=secret.id,
|
1009
935
|
role="roles/secretmanager.secretAccessor",
|
1010
936
|
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com",
|
1011
|
-
opts
|
937
|
+
opts=pulumi.ResourceOptions(depends_on=[secret]))
|
1012
938
|
default = gcp.cloudrunv2.Job("default",
|
1013
939
|
name="cloudrun-job",
|
1014
940
|
location="us-central1",
|
@@ -1027,7 +953,7 @@ class Job(pulumi.CustomResource):
|
|
1027
953
|
),
|
1028
954
|
)],
|
1029
955
|
containers=[gcp.cloudrunv2.JobTemplateTemplateContainerArgs(
|
1030
|
-
image="us-docker.pkg.dev/cloudrun/container/
|
956
|
+
image="us-docker.pkg.dev/cloudrun/container/hello",
|
1031
957
|
volume_mounts=[gcp.cloudrunv2.JobTemplateTemplateContainerVolumeMountArgs(
|
1032
958
|
name="a-volume",
|
1033
959
|
mount_path="/secrets",
|
@@ -1035,7 +961,7 @@ class Job(pulumi.CustomResource):
|
|
1035
961
|
)],
|
1036
962
|
),
|
1037
963
|
),
|
1038
|
-
opts
|
964
|
+
opts=pulumi.ResourceOptions(depends_on=[
|
1039
965
|
secret_version_data,
|
1040
966
|
secret_access,
|
1041
967
|
]))
|
@@ -1053,7 +979,7 @@ class Job(pulumi.CustomResource):
|
|
1053
979
|
template=gcp.cloudrunv2.JobTemplateArgs(
|
1054
980
|
template=gcp.cloudrunv2.JobTemplateTemplateArgs(
|
1055
981
|
containers=[gcp.cloudrunv2.JobTemplateTemplateContainerArgs(
|
1056
|
-
image="us-docker.pkg.dev/cloudrun/container/
|
982
|
+
image="us-docker.pkg.dev/cloudrun/container/hello",
|
1057
983
|
volume_mounts=[gcp.cloudrunv2.JobTemplateTemplateContainerVolumeMountArgs(
|
1058
984
|
name="empty-dir-volume",
|
1059
985
|
mount_path="/mnt",
|
@@ -1069,24 +995,6 @@ class Job(pulumi.CustomResource):
|
|
1069
995
|
),
|
1070
996
|
))
|
1071
997
|
```
|
1072
|
-
### Cloudrunv2 Job Run Job
|
1073
|
-
|
1074
|
-
```python
|
1075
|
-
import pulumi
|
1076
|
-
import pulumi_gcp as gcp
|
1077
|
-
|
1078
|
-
default = gcp.cloudrunv2.Job("default",
|
1079
|
-
name="cloudrun-job",
|
1080
|
-
location="us-central1",
|
1081
|
-
start_execution_token="start-once-created",
|
1082
|
-
template=gcp.cloudrunv2.JobTemplateArgs(
|
1083
|
-
template=gcp.cloudrunv2.JobTemplateTemplateArgs(
|
1084
|
-
containers=[gcp.cloudrunv2.JobTemplateTemplateContainerArgs(
|
1085
|
-
image="us-docker.pkg.dev/cloudrun/container/job",
|
1086
|
-
)],
|
1087
|
-
),
|
1088
|
-
))
|
1089
|
-
```
|
1090
998
|
|
1091
999
|
## Import
|
1092
1000
|
|
@@ -1140,10 +1048,6 @@ class Job(pulumi.CustomResource):
|
|
1140
1048
|
["UNIMPLEMENTED", "PRELAUNCH", "EARLY_ACCESS", "ALPHA", "BETA", "GA", "DEPRECATED"]
|
1141
1049
|
:param pulumi.Input[str] location: The location of the cloud run job
|
1142
1050
|
:param pulumi.Input[str] name: Name of the Job.
|
1143
|
-
:param pulumi.Input[str] run_execution_token: A unique string used as a suffix creating a new execution upon job create or update. The Job will become ready when the
|
1144
|
-
execution is successfully completed. The sum of job name and token length must be fewer than 63 characters.
|
1145
|
-
:param pulumi.Input[str] start_execution_token: A unique string used as a suffix creating a new execution upon job create or update. The Job will become ready when the
|
1146
|
-
execution is successfully started. The sum of job name and token length must be fewer than 63 characters.
|
1147
1051
|
:param pulumi.Input[pulumi.InputType['JobTemplateArgs']] template: The template used to create executions for this Job.
|
1148
1052
|
Structure is documented below.
|
1149
1053
|
"""
|
@@ -1176,7 +1080,7 @@ class Job(pulumi.CustomResource):
|
|
1176
1080
|
template=gcp.cloudrunv2.JobTemplateArgs(
|
1177
1081
|
template=gcp.cloudrunv2.JobTemplateTemplateArgs(
|
1178
1082
|
containers=[gcp.cloudrunv2.JobTemplateTemplateContainerArgs(
|
1179
|
-
image="us-docker.pkg.dev/cloudrun/container/
|
1083
|
+
image="us-docker.pkg.dev/cloudrun/container/hello",
|
1180
1084
|
)],
|
1181
1085
|
),
|
1182
1086
|
))
|
@@ -1193,7 +1097,7 @@ class Job(pulumi.CustomResource):
|
|
1193
1097
|
template=gcp.cloudrunv2.JobTemplateArgs(
|
1194
1098
|
template=gcp.cloudrunv2.JobTemplateTemplateArgs(
|
1195
1099
|
containers=[gcp.cloudrunv2.JobTemplateTemplateContainerArgs(
|
1196
|
-
image="us-docker.pkg.dev/cloudrun/container/
|
1100
|
+
image="us-docker.pkg.dev/cloudrun/container/hello",
|
1197
1101
|
resources=gcp.cloudrunv2.JobTemplateTemplateContainerResourcesArgs(
|
1198
1102
|
limits={
|
1199
1103
|
"cpu": "2",
|
@@ -1235,7 +1139,7 @@ class Job(pulumi.CustomResource):
|
|
1235
1139
|
),
|
1236
1140
|
)],
|
1237
1141
|
containers=[gcp.cloudrunv2.JobTemplateTemplateContainerArgs(
|
1238
|
-
image="us-docker.pkg.dev/cloudrun/container/
|
1142
|
+
image="us-docker.pkg.dev/cloudrun/container/hello",
|
1239
1143
|
envs=[
|
1240
1144
|
gcp.cloudrunv2.JobTemplateTemplateContainerEnvArgs(
|
1241
1145
|
name="FOO",
|
@@ -1266,7 +1170,7 @@ class Job(pulumi.CustomResource):
|
|
1266
1170
|
secret_id=secret.id,
|
1267
1171
|
role="roles/secretmanager.secretAccessor",
|
1268
1172
|
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com",
|
1269
|
-
opts
|
1173
|
+
opts=pulumi.ResourceOptions(depends_on=[secret]))
|
1270
1174
|
```
|
1271
1175
|
### Cloudrunv2 Job Vpcaccess
|
1272
1176
|
|
@@ -1297,7 +1201,7 @@ class Job(pulumi.CustomResource):
|
|
1297
1201
|
template=gcp.cloudrunv2.JobTemplateArgs(
|
1298
1202
|
template=gcp.cloudrunv2.JobTemplateTemplateArgs(
|
1299
1203
|
containers=[gcp.cloudrunv2.JobTemplateTemplateContainerArgs(
|
1300
|
-
image="us-docker.pkg.dev/cloudrun/container/
|
1204
|
+
image="us-docker.pkg.dev/cloudrun/container/hello",
|
1301
1205
|
)],
|
1302
1206
|
vpc_access=gcp.cloudrunv2.JobTemplateTemplateVpcAccessArgs(
|
1303
1207
|
connector=connector.id,
|
@@ -1354,7 +1258,7 @@ class Job(pulumi.CustomResource):
|
|
1354
1258
|
secret_id=secret.id,
|
1355
1259
|
role="roles/secretmanager.secretAccessor",
|
1356
1260
|
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com",
|
1357
|
-
opts
|
1261
|
+
opts=pulumi.ResourceOptions(depends_on=[secret]))
|
1358
1262
|
default = gcp.cloudrunv2.Job("default",
|
1359
1263
|
name="cloudrun-job",
|
1360
1264
|
location="us-central1",
|
@@ -1373,7 +1277,7 @@ class Job(pulumi.CustomResource):
|
|
1373
1277
|
),
|
1374
1278
|
)],
|
1375
1279
|
containers=[gcp.cloudrunv2.JobTemplateTemplateContainerArgs(
|
1376
|
-
image="us-docker.pkg.dev/cloudrun/container/
|
1280
|
+
image="us-docker.pkg.dev/cloudrun/container/hello",
|
1377
1281
|
volume_mounts=[gcp.cloudrunv2.JobTemplateTemplateContainerVolumeMountArgs(
|
1378
1282
|
name="a-volume",
|
1379
1283
|
mount_path="/secrets",
|
@@ -1381,7 +1285,7 @@ class Job(pulumi.CustomResource):
|
|
1381
1285
|
)],
|
1382
1286
|
),
|
1383
1287
|
),
|
1384
|
-
opts
|
1288
|
+
opts=pulumi.ResourceOptions(depends_on=[
|
1385
1289
|
secret_version_data,
|
1386
1290
|
secret_access,
|
1387
1291
|
]))
|
@@ -1399,7 +1303,7 @@ class Job(pulumi.CustomResource):
|
|
1399
1303
|
template=gcp.cloudrunv2.JobTemplateArgs(
|
1400
1304
|
template=gcp.cloudrunv2.JobTemplateTemplateArgs(
|
1401
1305
|
containers=[gcp.cloudrunv2.JobTemplateTemplateContainerArgs(
|
1402
|
-
image="us-docker.pkg.dev/cloudrun/container/
|
1306
|
+
image="us-docker.pkg.dev/cloudrun/container/hello",
|
1403
1307
|
volume_mounts=[gcp.cloudrunv2.JobTemplateTemplateContainerVolumeMountArgs(
|
1404
1308
|
name="empty-dir-volume",
|
1405
1309
|
mount_path="/mnt",
|
@@ -1415,24 +1319,6 @@ class Job(pulumi.CustomResource):
|
|
1415
1319
|
),
|
1416
1320
|
))
|
1417
1321
|
```
|
1418
|
-
### Cloudrunv2 Job Run Job
|
1419
|
-
|
1420
|
-
```python
|
1421
|
-
import pulumi
|
1422
|
-
import pulumi_gcp as gcp
|
1423
|
-
|
1424
|
-
default = gcp.cloudrunv2.Job("default",
|
1425
|
-
name="cloudrun-job",
|
1426
|
-
location="us-central1",
|
1427
|
-
start_execution_token="start-once-created",
|
1428
|
-
template=gcp.cloudrunv2.JobTemplateArgs(
|
1429
|
-
template=gcp.cloudrunv2.JobTemplateTemplateArgs(
|
1430
|
-
containers=[gcp.cloudrunv2.JobTemplateTemplateContainerArgs(
|
1431
|
-
image="us-docker.pkg.dev/cloudrun/container/job",
|
1432
|
-
)],
|
1433
|
-
),
|
1434
|
-
))
|
1435
|
-
```
|
1436
1322
|
|
1437
1323
|
## Import
|
1438
1324
|
|
@@ -1482,8 +1368,6 @@ class Job(pulumi.CustomResource):
|
|
1482
1368
|
location: Optional[pulumi.Input[str]] = None,
|
1483
1369
|
name: Optional[pulumi.Input[str]] = None,
|
1484
1370
|
project: Optional[pulumi.Input[str]] = None,
|
1485
|
-
run_execution_token: Optional[pulumi.Input[str]] = None,
|
1486
|
-
start_execution_token: Optional[pulumi.Input[str]] = None,
|
1487
1371
|
template: Optional[pulumi.Input[pulumi.InputType['JobTemplateArgs']]] = None,
|
1488
1372
|
__props__=None):
|
1489
1373
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -1505,8 +1389,6 @@ class Job(pulumi.CustomResource):
|
|
1505
1389
|
__props__.__dict__["location"] = location
|
1506
1390
|
__props__.__dict__["name"] = name
|
1507
1391
|
__props__.__dict__["project"] = project
|
1508
|
-
__props__.__dict__["run_execution_token"] = run_execution_token
|
1509
|
-
__props__.__dict__["start_execution_token"] = start_execution_token
|
1510
1392
|
if template is None and not opts.urn:
|
1511
1393
|
raise TypeError("Missing required property 'template'")
|
1512
1394
|
__props__.__dict__["template"] = template
|
@@ -1564,8 +1446,6 @@ class Job(pulumi.CustomResource):
|
|
1564
1446
|
project: Optional[pulumi.Input[str]] = None,
|
1565
1447
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1566
1448
|
reconciling: Optional[pulumi.Input[bool]] = None,
|
1567
|
-
run_execution_token: Optional[pulumi.Input[str]] = None,
|
1568
|
-
start_execution_token: Optional[pulumi.Input[str]] = None,
|
1569
1449
|
template: Optional[pulumi.Input[pulumi.InputType['JobTemplateArgs']]] = None,
|
1570
1450
|
terminal_conditions: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['JobTerminalConditionArgs']]]]] = None,
|
1571
1451
|
uid: Optional[pulumi.Input[str]] = None,
|
@@ -1625,10 +1505,6 @@ class Job(pulumi.CustomResource):
|
|
1625
1505
|
When a new Job is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Job to the desired state. This process is called reconciliation. While reconciliation is in process, observedGeneration and latest_succeeded_execution, will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the state matches the Job, or there was an error, and reconciliation failed. This state can be found in terminalCondition.state.
|
1626
1506
|
If reconciliation succeeded, the following fields will match: observedGeneration and generation, latest_succeeded_execution and latestCreatedExecution.
|
1627
1507
|
If reconciliation failed, observedGeneration and latest_succeeded_execution will have the state of the last succeeded execution or empty for newly created Job. Additional information on the failure can be found in terminalCondition and conditions
|
1628
|
-
:param pulumi.Input[str] run_execution_token: A unique string used as a suffix creating a new execution upon job create or update. The Job will become ready when the
|
1629
|
-
execution is successfully completed. The sum of job name and token length must be fewer than 63 characters.
|
1630
|
-
:param pulumi.Input[str] start_execution_token: A unique string used as a suffix creating a new execution upon job create or update. The Job will become ready when the
|
1631
|
-
execution is successfully started. The sum of job name and token length must be fewer than 63 characters.
|
1632
1508
|
:param pulumi.Input[pulumi.InputType['JobTemplateArgs']] template: The template used to create executions for this Job.
|
1633
1509
|
Structure is documented below.
|
1634
1510
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['JobTerminalConditionArgs']]]] terminal_conditions: The Condition of this Job, containing its readiness status, and detailed error information in case it did not reach the desired state
|
@@ -1664,8 +1540,6 @@ class Job(pulumi.CustomResource):
|
|
1664
1540
|
__props__.__dict__["project"] = project
|
1665
1541
|
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
1666
1542
|
__props__.__dict__["reconciling"] = reconciling
|
1667
|
-
__props__.__dict__["run_execution_token"] = run_execution_token
|
1668
|
-
__props__.__dict__["start_execution_token"] = start_execution_token
|
1669
1543
|
__props__.__dict__["template"] = template
|
1670
1544
|
__props__.__dict__["terminal_conditions"] = terminal_conditions
|
1671
1545
|
__props__.__dict__["uid"] = uid
|
@@ -1884,24 +1758,6 @@ class Job(pulumi.CustomResource):
|
|
1884
1758
|
"""
|
1885
1759
|
return pulumi.get(self, "reconciling")
|
1886
1760
|
|
1887
|
-
@property
|
1888
|
-
@pulumi.getter(name="runExecutionToken")
|
1889
|
-
def run_execution_token(self) -> pulumi.Output[Optional[str]]:
|
1890
|
-
"""
|
1891
|
-
A unique string used as a suffix creating a new execution upon job create or update. The Job will become ready when the
|
1892
|
-
execution is successfully completed. The sum of job name and token length must be fewer than 63 characters.
|
1893
|
-
"""
|
1894
|
-
return pulumi.get(self, "run_execution_token")
|
1895
|
-
|
1896
|
-
@property
|
1897
|
-
@pulumi.getter(name="startExecutionToken")
|
1898
|
-
def start_execution_token(self) -> pulumi.Output[Optional[str]]:
|
1899
|
-
"""
|
1900
|
-
A unique string used as a suffix creating a new execution upon job create or update. The Job will become ready when the
|
1901
|
-
execution is successfully started. The sum of job name and token length must be fewer than 63 characters.
|
1902
|
-
"""
|
1903
|
-
return pulumi.get(self, "start_execution_token")
|
1904
|
-
|
1905
1761
|
@property
|
1906
1762
|
@pulumi.getter
|
1907
1763
|
def template(self) -> pulumi.Output['outputs.JobTemplate']:
|
pulumi_gcp/cloudrunv2/service.py
CHANGED
@@ -1093,13 +1093,13 @@ class Service(pulumi.CustomResource):
|
|
1093
1093
|
type="TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST",
|
1094
1094
|
percent=100,
|
1095
1095
|
)],
|
1096
|
-
opts
|
1096
|
+
opts=pulumi.ResourceOptions(depends_on=[secret_version_data]))
|
1097
1097
|
project = gcp.organizations.get_project()
|
1098
1098
|
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1099
1099
|
secret_id=secret.id,
|
1100
1100
|
role="roles/secretmanager.secretAccessor",
|
1101
1101
|
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com",
|
1102
|
-
opts
|
1102
|
+
opts=pulumi.ResourceOptions(depends_on=[secret]))
|
1103
1103
|
```
|
1104
1104
|
### Cloudrunv2 Service Vpcaccess
|
1105
1105
|
|
@@ -1231,13 +1231,13 @@ class Service(pulumi.CustomResource):
|
|
1231
1231
|
)],
|
1232
1232
|
)],
|
1233
1233
|
),
|
1234
|
-
opts
|
1234
|
+
opts=pulumi.ResourceOptions(depends_on=[secret_version_data]))
|
1235
1235
|
project = gcp.organizations.get_project()
|
1236
1236
|
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1237
1237
|
secret_id=secret.id,
|
1238
1238
|
role="roles/secretmanager.secretAccessor",
|
1239
1239
|
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com",
|
1240
|
-
opts
|
1240
|
+
opts=pulumi.ResourceOptions(depends_on=[secret]))
|
1241
1241
|
```
|
1242
1242
|
### Cloudrunv2 Service Multicontainer
|
1243
1243
|
|
@@ -1551,13 +1551,13 @@ class Service(pulumi.CustomResource):
|
|
1551
1551
|
type="TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST",
|
1552
1552
|
percent=100,
|
1553
1553
|
)],
|
1554
|
-
opts
|
1554
|
+
opts=pulumi.ResourceOptions(depends_on=[secret_version_data]))
|
1555
1555
|
project = gcp.organizations.get_project()
|
1556
1556
|
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1557
1557
|
secret_id=secret.id,
|
1558
1558
|
role="roles/secretmanager.secretAccessor",
|
1559
1559
|
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com",
|
1560
|
-
opts
|
1560
|
+
opts=pulumi.ResourceOptions(depends_on=[secret]))
|
1561
1561
|
```
|
1562
1562
|
### Cloudrunv2 Service Vpcaccess
|
1563
1563
|
|
@@ -1689,13 +1689,13 @@ class Service(pulumi.CustomResource):
|
|
1689
1689
|
)],
|
1690
1690
|
)],
|
1691
1691
|
),
|
1692
|
-
opts
|
1692
|
+
opts=pulumi.ResourceOptions(depends_on=[secret_version_data]))
|
1693
1693
|
project = gcp.organizations.get_project()
|
1694
1694
|
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1695
1695
|
secret_id=secret.id,
|
1696
1696
|
role="roles/secretmanager.secretAccessor",
|
1697
1697
|
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com",
|
1698
|
-
opts
|
1698
|
+
opts=pulumi.ResourceOptions(depends_on=[secret]))
|
1699
1699
|
```
|
1700
1700
|
### Cloudrunv2 Service Multicontainer
|
1701
1701
|
|
pulumi_gcp/compute/_inputs.py
CHANGED
@@ -437,8 +437,6 @@ __all__ = [
|
|
437
437
|
'SecurityPolicyRuleMatchArgs',
|
438
438
|
'SecurityPolicyRuleMatchConfigArgs',
|
439
439
|
'SecurityPolicyRuleMatchExprArgs',
|
440
|
-
'SecurityPolicyRuleMatchExprOptionsArgs',
|
441
|
-
'SecurityPolicyRuleMatchExprOptionsRecaptchaOptionsArgs',
|
442
440
|
'SecurityPolicyRulePreconfiguredWafConfigArgs',
|
443
441
|
'SecurityPolicyRulePreconfiguredWafConfigExclusionArgs',
|
444
442
|
'SecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookyArgs',
|
@@ -30831,7 +30829,6 @@ class SecurityPolicyRuleMatchArgs:
|
|
30831
30829
|
def __init__(__self__, *,
|
30832
30830
|
config: Optional[pulumi.Input['SecurityPolicyRuleMatchConfigArgs']] = None,
|
30833
30831
|
expr: Optional[pulumi.Input['SecurityPolicyRuleMatchExprArgs']] = None,
|
30834
|
-
expr_options: Optional[pulumi.Input['SecurityPolicyRuleMatchExprOptionsArgs']] = None,
|
30835
30832
|
versioned_expr: Optional[pulumi.Input[str]] = None):
|
30836
30833
|
"""
|
30837
30834
|
:param pulumi.Input['SecurityPolicyRuleMatchConfigArgs'] config: The configuration options available when specifying versionedExpr.
|
@@ -30839,8 +30836,6 @@ class SecurityPolicyRuleMatchArgs:
|
|
30839
30836
|
Structure is documented below.
|
30840
30837
|
:param pulumi.Input['SecurityPolicyRuleMatchExprArgs'] expr: User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.
|
30841
30838
|
Structure is documented below.
|
30842
|
-
:param pulumi.Input['SecurityPolicyRuleMatchExprOptionsArgs'] expr_options: The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
|
30843
|
-
Structure is documented below.
|
30844
30839
|
:param pulumi.Input[str] versioned_expr: Preconfigured versioned expression. If this field is specified, config must also be specified.
|
30845
30840
|
Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding srcIpRange field in config.
|
30846
30841
|
Possible values are: `SRC_IPS_V1`.
|
@@ -30849,8 +30844,6 @@ class SecurityPolicyRuleMatchArgs:
|
|
30849
30844
|
pulumi.set(__self__, "config", config)
|
30850
30845
|
if expr is not None:
|
30851
30846
|
pulumi.set(__self__, "expr", expr)
|
30852
|
-
if expr_options is not None:
|
30853
|
-
pulumi.set(__self__, "expr_options", expr_options)
|
30854
30847
|
if versioned_expr is not None:
|
30855
30848
|
pulumi.set(__self__, "versioned_expr", versioned_expr)
|
30856
30849
|
|
@@ -30881,19 +30874,6 @@ class SecurityPolicyRuleMatchArgs:
|
|
30881
30874
|
def expr(self, value: Optional[pulumi.Input['SecurityPolicyRuleMatchExprArgs']]):
|
30882
30875
|
pulumi.set(self, "expr", value)
|
30883
30876
|
|
30884
|
-
@property
|
30885
|
-
@pulumi.getter(name="exprOptions")
|
30886
|
-
def expr_options(self) -> Optional[pulumi.Input['SecurityPolicyRuleMatchExprOptionsArgs']]:
|
30887
|
-
"""
|
30888
|
-
The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
|
30889
|
-
Structure is documented below.
|
30890
|
-
"""
|
30891
|
-
return pulumi.get(self, "expr_options")
|
30892
|
-
|
30893
|
-
@expr_options.setter
|
30894
|
-
def expr_options(self, value: Optional[pulumi.Input['SecurityPolicyRuleMatchExprOptionsArgs']]):
|
30895
|
-
pulumi.set(self, "expr_options", value)
|
30896
|
-
|
30897
30877
|
@property
|
30898
30878
|
@pulumi.getter(name="versionedExpr")
|
30899
30879
|
def versioned_expr(self) -> Optional[pulumi.Input[str]]:
|
@@ -30954,69 +30934,6 @@ class SecurityPolicyRuleMatchExprArgs:
|
|
30954
30934
|
pulumi.set(self, "expression", value)
|
30955
30935
|
|
30956
30936
|
|
30957
|
-
@pulumi.input_type
|
30958
|
-
class SecurityPolicyRuleMatchExprOptionsArgs:
|
30959
|
-
def __init__(__self__, *,
|
30960
|
-
recaptcha_options: pulumi.Input['SecurityPolicyRuleMatchExprOptionsRecaptchaOptionsArgs']):
|
30961
|
-
"""
|
30962
|
-
:param pulumi.Input['SecurityPolicyRuleMatchExprOptionsRecaptchaOptionsArgs'] recaptcha_options: reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field has no effect.
|
30963
|
-
Structure is documented below.
|
30964
|
-
"""
|
30965
|
-
pulumi.set(__self__, "recaptcha_options", recaptcha_options)
|
30966
|
-
|
30967
|
-
@property
|
30968
|
-
@pulumi.getter(name="recaptchaOptions")
|
30969
|
-
def recaptcha_options(self) -> pulumi.Input['SecurityPolicyRuleMatchExprOptionsRecaptchaOptionsArgs']:
|
30970
|
-
"""
|
30971
|
-
reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field has no effect.
|
30972
|
-
Structure is documented below.
|
30973
|
-
"""
|
30974
|
-
return pulumi.get(self, "recaptcha_options")
|
30975
|
-
|
30976
|
-
@recaptcha_options.setter
|
30977
|
-
def recaptcha_options(self, value: pulumi.Input['SecurityPolicyRuleMatchExprOptionsRecaptchaOptionsArgs']):
|
30978
|
-
pulumi.set(self, "recaptcha_options", value)
|
30979
|
-
|
30980
|
-
|
30981
|
-
@pulumi.input_type
|
30982
|
-
class SecurityPolicyRuleMatchExprOptionsRecaptchaOptionsArgs:
|
30983
|
-
def __init__(__self__, *,
|
30984
|
-
action_token_site_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
30985
|
-
session_token_site_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
30986
|
-
"""
|
30987
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] action_token_site_keys: A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
|
30988
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] session_token_site_keys: A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
|
30989
|
-
"""
|
30990
|
-
if action_token_site_keys is not None:
|
30991
|
-
pulumi.set(__self__, "action_token_site_keys", action_token_site_keys)
|
30992
|
-
if session_token_site_keys is not None:
|
30993
|
-
pulumi.set(__self__, "session_token_site_keys", session_token_site_keys)
|
30994
|
-
|
30995
|
-
@property
|
30996
|
-
@pulumi.getter(name="actionTokenSiteKeys")
|
30997
|
-
def action_token_site_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
30998
|
-
"""
|
30999
|
-
A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
|
31000
|
-
"""
|
31001
|
-
return pulumi.get(self, "action_token_site_keys")
|
31002
|
-
|
31003
|
-
@action_token_site_keys.setter
|
31004
|
-
def action_token_site_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
31005
|
-
pulumi.set(self, "action_token_site_keys", value)
|
31006
|
-
|
31007
|
-
@property
|
31008
|
-
@pulumi.getter(name="sessionTokenSiteKeys")
|
31009
|
-
def session_token_site_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
31010
|
-
"""
|
31011
|
-
A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
|
31012
|
-
"""
|
31013
|
-
return pulumi.get(self, "session_token_site_keys")
|
31014
|
-
|
31015
|
-
@session_token_site_keys.setter
|
31016
|
-
def session_token_site_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
31017
|
-
pulumi.set(self, "session_token_site_keys", value)
|
31018
|
-
|
31019
|
-
|
31020
30937
|
@pulumi.input_type
|
31021
30938
|
class SecurityPolicyRulePreconfiguredWafConfigArgs:
|
31022
30939
|
def __init__(__self__, *,
|