pulumi-gcp 8.17.0a1738274430__py3-none-any.whl → 8.18.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +115 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +28 -0
- pulumi_gcp/alloydb/cluster.py +75 -7
- pulumi_gcp/alloydb/user.py +10 -1
- pulumi_gcp/apigee/_inputs.py +91 -0
- pulumi_gcp/apigee/endpoint_attachment.py +0 -64
- pulumi_gcp/apigee/environment.py +54 -0
- pulumi_gcp/apigee/outputs.py +54 -0
- pulumi_gcp/apihub/__init__.py +10 -0
- pulumi_gcp/apihub/_inputs.py +154 -0
- pulumi_gcp/apihub/api_hub_instance.py +784 -0
- pulumi_gcp/apihub/outputs.py +124 -0
- pulumi_gcp/assuredworkloads/workload.py +7 -7
- pulumi_gcp/beyondcorp/__init__.py +4 -0
- pulumi_gcp/beyondcorp/_inputs.py +130 -0
- pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +180 -0
- pulumi_gcp/beyondcorp/outputs.py +76 -0
- pulumi_gcp/beyondcorp/security_gateway.py +52 -25
- pulumi_gcp/beyondcorp/security_gateway_iam_binding.py +1075 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_member.py +1075 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_policy.py +894 -0
- pulumi_gcp/bigquery/_inputs.py +33 -0
- pulumi_gcp/bigquery/dataset.py +7 -7
- pulumi_gcp/bigquery/outputs.py +36 -0
- pulumi_gcp/bigquery/table.py +61 -7
- pulumi_gcp/chronicle/__init__.py +1 -0
- pulumi_gcp/chronicle/_inputs.py +124 -0
- pulumi_gcp/chronicle/outputs.py +112 -0
- pulumi_gcp/chronicle/retrohunt.py +629 -0
- pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +23 -23
- pulumi_gcp/cloudrunv2/_inputs.py +197 -0
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/outputs.py +256 -0
- pulumi_gcp/cloudrunv2/service.py +159 -0
- pulumi_gcp/colab/__init__.py +5 -0
- pulumi_gcp/colab/_inputs.py +131 -0
- pulumi_gcp/colab/get_runtime_template_iam_policy.py +182 -0
- pulumi_gcp/colab/outputs.py +92 -0
- pulumi_gcp/colab/runtime.py +696 -0
- pulumi_gcp/colab/runtime_template_iam_binding.py +828 -0
- pulumi_gcp/colab/runtime_template_iam_member.py +828 -0
- pulumi_gcp/colab/runtime_template_iam_policy.py +667 -0
- pulumi_gcp/compute/__init__.py +4 -0
- pulumi_gcp/compute/_inputs.py +535 -9
- pulumi_gcp/compute/firewall_policy_rule.py +104 -22
- pulumi_gcp/compute/firewall_policy_with_rules.py +114 -42
- pulumi_gcp/compute/get_instance_template_iam_policy.py +159 -0
- pulumi_gcp/compute/get_network.py +3 -3
- pulumi_gcp/compute/instance_template_iam_binding.py +998 -0
- pulumi_gcp/compute/instance_template_iam_member.py +998 -0
- pulumi_gcp/compute/instance_template_iam_policy.py +817 -0
- pulumi_gcp/compute/interconnect_attachment.py +189 -2
- pulumi_gcp/compute/network.py +7 -7
- pulumi_gcp/compute/network_firewall_policy_rule.py +122 -10
- pulumi_gcp/compute/network_firewall_policy_with_rules.py +116 -44
- pulumi_gcp/compute/outputs.py +358 -6
- pulumi_gcp/compute/project_metadata_item.py +12 -0
- pulumi_gcp/compute/public_advertised_prefix.py +87 -0
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +130 -10
- pulumi_gcp/compute/region_network_firewall_policy_with_rules.py +104 -32
- pulumi_gcp/compute/router_peer.py +227 -3
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +79 -20
- pulumi_gcp/container/outputs.py +75 -12
- pulumi_gcp/dataproc/_inputs.py +34 -0
- pulumi_gcp/dataproc/outputs.py +37 -0
- pulumi_gcp/dataproc/workflow_template.py +47 -0
- pulumi_gcp/filestore/get_instance.py +12 -1
- pulumi_gcp/filestore/instance.py +75 -0
- pulumi_gcp/firestore/field.py +60 -0
- pulumi_gcp/gemini/code_repository_index.py +29 -33
- pulumi_gcp/gemini/get_repository_group_iam_policy.py +28 -2
- pulumi_gcp/gemini/repository_group.py +76 -26
- pulumi_gcp/gemini/repository_group_iam_binding.py +258 -0
- pulumi_gcp/gemini/repository_group_iam_member.py +258 -0
- pulumi_gcp/gemini/repository_group_iam_policy.py +258 -0
- pulumi_gcp/gkehub/_inputs.py +20 -0
- 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/outputs.py +26 -1
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/kms/__init__.py +1 -0
- pulumi_gcp/kms/get_key_handles.py +172 -0
- pulumi_gcp/kms/outputs.py +45 -0
- pulumi_gcp/netapp/storage_pool.py +1 -1
- pulumi_gcp/networkconnectivity/spoke.py +76 -14
- pulumi_gcp/networksecurity/_inputs.py +72 -0
- pulumi_gcp/networksecurity/outputs.py +76 -0
- pulumi_gcp/networksecurity/security_profile.py +233 -7
- pulumi_gcp/networksecurity/security_profile_group.py +218 -0
- pulumi_gcp/organizations/__init__.py +1 -0
- pulumi_gcp/organizations/get_s.py +128 -0
- pulumi_gcp/organizations/outputs.py +63 -0
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/parametermanager/__init__.py +6 -0
- pulumi_gcp/parametermanager/get_parameter.py +211 -0
- pulumi_gcp/parametermanager/get_parameter_version.py +216 -0
- pulumi_gcp/parametermanager/get_parameters.py +140 -0
- pulumi_gcp/parametermanager/get_regional_parameter_version.py +235 -0
- pulumi_gcp/parametermanager/get_regional_parameters.py +157 -0
- pulumi_gcp/parametermanager/outputs.py +366 -0
- pulumi_gcp/parametermanager/parameter_version.py +496 -0
- pulumi_gcp/parametermanager/regional_parameter_version.py +10 -38
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/_inputs.py +477 -1
- pulumi_gcp/pubsub/outputs.py +631 -2
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pubsub/topic.py +112 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/__init__.py +1 -0
- pulumi_gcp/redis/_inputs.py +342 -6
- pulumi_gcp/redis/cluster.py +223 -102
- pulumi_gcp/redis/cluster_user_created_connections.py +845 -0
- pulumi_gcp/redis/outputs.py +268 -4
- pulumi_gcp/resourcemanager/lien.py +12 -0
- pulumi_gcp/secretmanager/regional_secret.py +4 -0
- pulumi_gcp/secretmanager/regional_secret_version.py +12 -0
- pulumi_gcp/secretmanager/secret.py +4 -0
- pulumi_gcp/secretmanager/secret_version.py +12 -0
- pulumi_gcp/securityposture/posture.py +4 -0
- pulumi_gcp/securityposture/posture_deployment.py +4 -0
- pulumi_gcp/serviceaccount/get_s.py +98 -8
- pulumi_gcp/spanner/_inputs.py +68 -0
- pulumi_gcp/spanner/backup_schedule.py +70 -4
- pulumi_gcp/spanner/outputs.py +60 -0
- pulumi_gcp/storage/get_bucket_object_content.py +4 -4
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/workflows/workflow.py +175 -0
- {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0.dist-info}/RECORD +137 -110
- {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0.dist-info}/top_level.txt +0 -0
@@ -25,6 +25,7 @@ class WorkflowTemplateArgs:
|
|
25
25
|
location: pulumi.Input[str],
|
26
26
|
placement: pulumi.Input['WorkflowTemplatePlacementArgs'],
|
27
27
|
dag_timeout: Optional[pulumi.Input[str]] = None,
|
28
|
+
encryption_config: Optional[pulumi.Input['WorkflowTemplateEncryptionConfigArgs']] = None,
|
28
29
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
29
30
|
name: Optional[pulumi.Input[str]] = None,
|
30
31
|
parameters: Optional[pulumi.Input[Sequence[pulumi.Input['WorkflowTemplateParameterArgs']]]] = None,
|
@@ -42,6 +43,7 @@ class WorkflowTemplateArgs:
|
|
42
43
|
on a [managed
|
43
44
|
cluster](https://www.terraform.io/dataproc/docs/concepts/workflows/using-workflows#configuring_or_selecting_a_cluster),
|
44
45
|
the cluster is deleted.
|
46
|
+
:param pulumi.Input['WorkflowTemplateEncryptionConfigArgs'] encryption_config: Optional. The encryption configuration for the workflow template.
|
45
47
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. The labels to associate with this template. These labels will be propagated to all jobs and clusters created
|
46
48
|
by the workflow instance. Label **keys** must contain 1 to 63 characters, and must conform to [RFC
|
47
49
|
1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63
|
@@ -59,6 +61,8 @@ class WorkflowTemplateArgs:
|
|
59
61
|
pulumi.set(__self__, "placement", placement)
|
60
62
|
if dag_timeout is not None:
|
61
63
|
pulumi.set(__self__, "dag_timeout", dag_timeout)
|
64
|
+
if encryption_config is not None:
|
65
|
+
pulumi.set(__self__, "encryption_config", encryption_config)
|
62
66
|
if labels is not None:
|
63
67
|
pulumi.set(__self__, "labels", labels)
|
64
68
|
if name is not None:
|
@@ -127,6 +131,18 @@ class WorkflowTemplateArgs:
|
|
127
131
|
def dag_timeout(self, value: Optional[pulumi.Input[str]]):
|
128
132
|
pulumi.set(self, "dag_timeout", value)
|
129
133
|
|
134
|
+
@property
|
135
|
+
@pulumi.getter(name="encryptionConfig")
|
136
|
+
def encryption_config(self) -> Optional[pulumi.Input['WorkflowTemplateEncryptionConfigArgs']]:
|
137
|
+
"""
|
138
|
+
Optional. The encryption configuration for the workflow template.
|
139
|
+
"""
|
140
|
+
return pulumi.get(self, "encryption_config")
|
141
|
+
|
142
|
+
@encryption_config.setter
|
143
|
+
def encryption_config(self, value: Optional[pulumi.Input['WorkflowTemplateEncryptionConfigArgs']]):
|
144
|
+
pulumi.set(self, "encryption_config", value)
|
145
|
+
|
130
146
|
@property
|
131
147
|
@pulumi.getter
|
132
148
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -201,6 +217,7 @@ class _WorkflowTemplateState:
|
|
201
217
|
create_time: Optional[pulumi.Input[str]] = None,
|
202
218
|
dag_timeout: Optional[pulumi.Input[str]] = None,
|
203
219
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
220
|
+
encryption_config: Optional[pulumi.Input['WorkflowTemplateEncryptionConfigArgs']] = None,
|
204
221
|
jobs: Optional[pulumi.Input[Sequence[pulumi.Input['WorkflowTemplateJobArgs']]]] = None,
|
205
222
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
206
223
|
location: Optional[pulumi.Input[str]] = None,
|
@@ -221,6 +238,7 @@ class _WorkflowTemplateState:
|
|
221
238
|
on a [managed
|
222
239
|
cluster](https://www.terraform.io/dataproc/docs/concepts/workflows/using-workflows#configuring_or_selecting_a_cluster),
|
223
240
|
the cluster is deleted.
|
241
|
+
:param pulumi.Input['WorkflowTemplateEncryptionConfigArgs'] encryption_config: Optional. The encryption configuration for the workflow template.
|
224
242
|
:param pulumi.Input[Sequence[pulumi.Input['WorkflowTemplateJobArgs']]] jobs: Required. The Directed Acyclic Graph of Jobs to submit.
|
225
243
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. The labels to associate with this template. These labels will be propagated to all jobs and clusters created
|
226
244
|
by the workflow instance. Label **keys** must contain 1 to 63 characters, and must conform to [RFC
|
@@ -244,6 +262,8 @@ class _WorkflowTemplateState:
|
|
244
262
|
pulumi.set(__self__, "dag_timeout", dag_timeout)
|
245
263
|
if effective_labels is not None:
|
246
264
|
pulumi.set(__self__, "effective_labels", effective_labels)
|
265
|
+
if encryption_config is not None:
|
266
|
+
pulumi.set(__self__, "encryption_config", encryption_config)
|
247
267
|
if jobs is not None:
|
248
268
|
pulumi.set(__self__, "jobs", jobs)
|
249
269
|
if labels is not None:
|
@@ -307,6 +327,18 @@ class _WorkflowTemplateState:
|
|
307
327
|
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
308
328
|
pulumi.set(self, "effective_labels", value)
|
309
329
|
|
330
|
+
@property
|
331
|
+
@pulumi.getter(name="encryptionConfig")
|
332
|
+
def encryption_config(self) -> Optional[pulumi.Input['WorkflowTemplateEncryptionConfigArgs']]:
|
333
|
+
"""
|
334
|
+
Optional. The encryption configuration for the workflow template.
|
335
|
+
"""
|
336
|
+
return pulumi.get(self, "encryption_config")
|
337
|
+
|
338
|
+
@encryption_config.setter
|
339
|
+
def encryption_config(self, value: Optional[pulumi.Input['WorkflowTemplateEncryptionConfigArgs']]):
|
340
|
+
pulumi.set(self, "encryption_config", value)
|
341
|
+
|
310
342
|
@property
|
311
343
|
@pulumi.getter
|
312
344
|
def jobs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WorkflowTemplateJobArgs']]]]:
|
@@ -441,6 +473,7 @@ class WorkflowTemplate(pulumi.CustomResource):
|
|
441
473
|
resource_name: str,
|
442
474
|
opts: Optional[pulumi.ResourceOptions] = None,
|
443
475
|
dag_timeout: Optional[pulumi.Input[str]] = None,
|
476
|
+
encryption_config: Optional[pulumi.Input[Union['WorkflowTemplateEncryptionConfigArgs', 'WorkflowTemplateEncryptionConfigArgsDict']]] = None,
|
444
477
|
jobs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkflowTemplateJobArgs', 'WorkflowTemplateJobArgsDict']]]]] = None,
|
445
478
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
446
479
|
location: Optional[pulumi.Input[str]] = None,
|
@@ -548,6 +581,7 @@ class WorkflowTemplate(pulumi.CustomResource):
|
|
548
581
|
on a [managed
|
549
582
|
cluster](https://www.terraform.io/dataproc/docs/concepts/workflows/using-workflows#configuring_or_selecting_a_cluster),
|
550
583
|
the cluster is deleted.
|
584
|
+
:param pulumi.Input[Union['WorkflowTemplateEncryptionConfigArgs', 'WorkflowTemplateEncryptionConfigArgsDict']] encryption_config: Optional. The encryption configuration for the workflow template.
|
551
585
|
:param pulumi.Input[Sequence[pulumi.Input[Union['WorkflowTemplateJobArgs', 'WorkflowTemplateJobArgsDict']]]] jobs: Required. The Directed Acyclic Graph of Jobs to submit.
|
552
586
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. The labels to associate with this template. These labels will be propagated to all jobs and clusters created
|
553
587
|
by the workflow instance. Label **keys** must contain 1 to 63 characters, and must conform to [RFC
|
@@ -674,6 +708,7 @@ class WorkflowTemplate(pulumi.CustomResource):
|
|
674
708
|
resource_name: str,
|
675
709
|
opts: Optional[pulumi.ResourceOptions] = None,
|
676
710
|
dag_timeout: Optional[pulumi.Input[str]] = None,
|
711
|
+
encryption_config: Optional[pulumi.Input[Union['WorkflowTemplateEncryptionConfigArgs', 'WorkflowTemplateEncryptionConfigArgsDict']]] = None,
|
677
712
|
jobs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkflowTemplateJobArgs', 'WorkflowTemplateJobArgsDict']]]]] = None,
|
678
713
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
679
714
|
location: Optional[pulumi.Input[str]] = None,
|
@@ -692,6 +727,7 @@ class WorkflowTemplate(pulumi.CustomResource):
|
|
692
727
|
__props__ = WorkflowTemplateArgs.__new__(WorkflowTemplateArgs)
|
693
728
|
|
694
729
|
__props__.__dict__["dag_timeout"] = dag_timeout
|
730
|
+
__props__.__dict__["encryption_config"] = encryption_config
|
695
731
|
if jobs is None and not opts.urn:
|
696
732
|
raise TypeError("Missing required property 'jobs'")
|
697
733
|
__props__.__dict__["jobs"] = jobs
|
@@ -725,6 +761,7 @@ class WorkflowTemplate(pulumi.CustomResource):
|
|
725
761
|
create_time: Optional[pulumi.Input[str]] = None,
|
726
762
|
dag_timeout: Optional[pulumi.Input[str]] = None,
|
727
763
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
764
|
+
encryption_config: Optional[pulumi.Input[Union['WorkflowTemplateEncryptionConfigArgs', 'WorkflowTemplateEncryptionConfigArgsDict']]] = None,
|
728
765
|
jobs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkflowTemplateJobArgs', 'WorkflowTemplateJobArgsDict']]]]] = None,
|
729
766
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
730
767
|
location: Optional[pulumi.Input[str]] = None,
|
@@ -750,6 +787,7 @@ class WorkflowTemplate(pulumi.CustomResource):
|
|
750
787
|
on a [managed
|
751
788
|
cluster](https://www.terraform.io/dataproc/docs/concepts/workflows/using-workflows#configuring_or_selecting_a_cluster),
|
752
789
|
the cluster is deleted.
|
790
|
+
:param pulumi.Input[Union['WorkflowTemplateEncryptionConfigArgs', 'WorkflowTemplateEncryptionConfigArgsDict']] encryption_config: Optional. The encryption configuration for the workflow template.
|
753
791
|
:param pulumi.Input[Sequence[pulumi.Input[Union['WorkflowTemplateJobArgs', 'WorkflowTemplateJobArgsDict']]]] jobs: Required. The Directed Acyclic Graph of Jobs to submit.
|
754
792
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. The labels to associate with this template. These labels will be propagated to all jobs and clusters created
|
755
793
|
by the workflow instance. Label **keys** must contain 1 to 63 characters, and must conform to [RFC
|
@@ -774,6 +812,7 @@ class WorkflowTemplate(pulumi.CustomResource):
|
|
774
812
|
__props__.__dict__["create_time"] = create_time
|
775
813
|
__props__.__dict__["dag_timeout"] = dag_timeout
|
776
814
|
__props__.__dict__["effective_labels"] = effective_labels
|
815
|
+
__props__.__dict__["encryption_config"] = encryption_config
|
777
816
|
__props__.__dict__["jobs"] = jobs
|
778
817
|
__props__.__dict__["labels"] = labels
|
779
818
|
__props__.__dict__["location"] = location
|
@@ -813,6 +852,14 @@ class WorkflowTemplate(pulumi.CustomResource):
|
|
813
852
|
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
814
853
|
return pulumi.get(self, "effective_labels")
|
815
854
|
|
855
|
+
@property
|
856
|
+
@pulumi.getter(name="encryptionConfig")
|
857
|
+
def encryption_config(self) -> pulumi.Output[Optional['outputs.WorkflowTemplateEncryptionConfig']]:
|
858
|
+
"""
|
859
|
+
Optional. The encryption configuration for the workflow template.
|
860
|
+
"""
|
861
|
+
return pulumi.get(self, "encryption_config")
|
862
|
+
|
816
863
|
@property
|
817
864
|
@pulumi.getter
|
818
865
|
def jobs(self) -> pulumi.Output[Sequence['outputs.WorkflowTemplateJob']]:
|
@@ -27,7 +27,7 @@ class GetInstanceResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getInstance.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, create_time=None, deletion_protection_enabled=None, deletion_protection_reason=None, description=None, effective_labels=None, etag=None, file_shares=None, id=None, kms_key_name=None, labels=None, location=None, name=None, networks=None, performance_configs=None, project=None, protocol=None, pulumi_labels=None, tier=None, zone=None):
|
30
|
+
def __init__(__self__, create_time=None, deletion_protection_enabled=None, deletion_protection_reason=None, description=None, effective_labels=None, etag=None, file_shares=None, id=None, kms_key_name=None, labels=None, location=None, name=None, networks=None, performance_configs=None, project=None, protocol=None, pulumi_labels=None, tags=None, tier=None, zone=None):
|
31
31
|
if create_time and not isinstance(create_time, str):
|
32
32
|
raise TypeError("Expected argument 'create_time' to be a str")
|
33
33
|
pulumi.set(__self__, "create_time", create_time)
|
@@ -79,6 +79,9 @@ class GetInstanceResult:
|
|
79
79
|
if pulumi_labels and not isinstance(pulumi_labels, dict):
|
80
80
|
raise TypeError("Expected argument 'pulumi_labels' to be a dict")
|
81
81
|
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
82
|
+
if tags and not isinstance(tags, dict):
|
83
|
+
raise TypeError("Expected argument 'tags' to be a dict")
|
84
|
+
pulumi.set(__self__, "tags", tags)
|
82
85
|
if tier and not isinstance(tier, str):
|
83
86
|
raise TypeError("Expected argument 'tier' to be a str")
|
84
87
|
pulumi.set(__self__, "tier", tier)
|
@@ -174,6 +177,11 @@ class GetInstanceResult:
|
|
174
177
|
def pulumi_labels(self) -> Mapping[str, str]:
|
175
178
|
return pulumi.get(self, "pulumi_labels")
|
176
179
|
|
180
|
+
@property
|
181
|
+
@pulumi.getter
|
182
|
+
def tags(self) -> Mapping[str, str]:
|
183
|
+
return pulumi.get(self, "tags")
|
184
|
+
|
177
185
|
@property
|
178
186
|
@pulumi.getter
|
179
187
|
def tier(self) -> str:
|
@@ -208,6 +216,7 @@ class AwaitableGetInstanceResult(GetInstanceResult):
|
|
208
216
|
project=self.project,
|
209
217
|
protocol=self.protocol,
|
210
218
|
pulumi_labels=self.pulumi_labels,
|
219
|
+
tags=self.tags,
|
211
220
|
tier=self.tier,
|
212
221
|
zone=self.zone)
|
213
222
|
|
@@ -266,6 +275,7 @@ def get_instance(location: Optional[str] = None,
|
|
266
275
|
project=pulumi.get(__ret__, 'project'),
|
267
276
|
protocol=pulumi.get(__ret__, 'protocol'),
|
268
277
|
pulumi_labels=pulumi.get(__ret__, 'pulumi_labels'),
|
278
|
+
tags=pulumi.get(__ret__, 'tags'),
|
269
279
|
tier=pulumi.get(__ret__, 'tier'),
|
270
280
|
zone=pulumi.get(__ret__, 'zone'))
|
271
281
|
def get_instance_output(location: Optional[pulumi.Input[Optional[str]]] = None,
|
@@ -321,5 +331,6 @@ def get_instance_output(location: Optional[pulumi.Input[Optional[str]]] = None,
|
|
321
331
|
project=pulumi.get(__response__, 'project'),
|
322
332
|
protocol=pulumi.get(__response__, 'protocol'),
|
323
333
|
pulumi_labels=pulumi.get(__response__, 'pulumi_labels'),
|
334
|
+
tags=pulumi.get(__response__, 'tags'),
|
324
335
|
tier=pulumi.get(__response__, 'tier'),
|
325
336
|
zone=pulumi.get(__response__, 'zone')))
|
pulumi_gcp/filestore/instance.py
CHANGED
@@ -34,6 +34,7 @@ class InstanceArgs:
|
|
34
34
|
performance_config: Optional[pulumi.Input['InstancePerformanceConfigArgs']] = None,
|
35
35
|
project: Optional[pulumi.Input[str]] = None,
|
36
36
|
protocol: Optional[pulumi.Input[str]] = None,
|
37
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
37
38
|
zone: Optional[pulumi.Input[str]] = None):
|
38
39
|
"""
|
39
40
|
The set of arguments for constructing a Instance resource.
|
@@ -58,6 +59,11 @@ class InstanceArgs:
|
|
58
59
|
:param pulumi.Input[str] protocol: Either NFSv3, for using NFS version 3 as file sharing protocol, or NFSv4.1, for using NFS version 4.1 as file sharing
|
59
60
|
protocol. NFSv4.1 can be used with HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE. The default is NFSv3. Default value:
|
60
61
|
"NFS_V3" Possible values: ["NFS_V3", "NFS_V4_1"]
|
62
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags.
|
63
|
+
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored when
|
64
|
+
empty. The field is immutable and causes resource replacement when mutated. This field is only set at create time and
|
65
|
+
modifying this field after creation will trigger recreation. To apply tags to an existing resource, see the
|
66
|
+
'google_tags_tag_value' resource.
|
61
67
|
:param pulumi.Input[str] zone: The name of the Filestore zone of the instance.
|
62
68
|
"""
|
63
69
|
pulumi.set(__self__, "file_shares", file_shares)
|
@@ -83,6 +89,8 @@ class InstanceArgs:
|
|
83
89
|
pulumi.set(__self__, "project", project)
|
84
90
|
if protocol is not None:
|
85
91
|
pulumi.set(__self__, "protocol", protocol)
|
92
|
+
if tags is not None:
|
93
|
+
pulumi.set(__self__, "tags", tags)
|
86
94
|
if zone is not None:
|
87
95
|
warnings.warn("""`zone` is deprecated and will be removed in a future major release. Use `location` instead.""", DeprecationWarning)
|
88
96
|
pulumi.log.warn("""zone is deprecated: `zone` is deprecated and will be removed in a future major release. Use `location` instead.""")
|
@@ -251,6 +259,22 @@ class InstanceArgs:
|
|
251
259
|
def protocol(self, value: Optional[pulumi.Input[str]]):
|
252
260
|
pulumi.set(self, "protocol", value)
|
253
261
|
|
262
|
+
@property
|
263
|
+
@pulumi.getter
|
264
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
265
|
+
"""
|
266
|
+
A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags.
|
267
|
+
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored when
|
268
|
+
empty. The field is immutable and causes resource replacement when mutated. This field is only set at create time and
|
269
|
+
modifying this field after creation will trigger recreation. To apply tags to an existing resource, see the
|
270
|
+
'google_tags_tag_value' resource.
|
271
|
+
"""
|
272
|
+
return pulumi.get(self, "tags")
|
273
|
+
|
274
|
+
@tags.setter
|
275
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
276
|
+
pulumi.set(self, "tags", value)
|
277
|
+
|
254
278
|
@property
|
255
279
|
@pulumi.getter
|
256
280
|
@_utilities.deprecated("""`zone` is deprecated and will be removed in a future major release. Use `location` instead.""")
|
@@ -284,6 +308,7 @@ class _InstanceState:
|
|
284
308
|
project: Optional[pulumi.Input[str]] = None,
|
285
309
|
protocol: Optional[pulumi.Input[str]] = None,
|
286
310
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
311
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
287
312
|
tier: Optional[pulumi.Input[str]] = None,
|
288
313
|
zone: Optional[pulumi.Input[str]] = None):
|
289
314
|
"""
|
@@ -313,6 +338,11 @@ class _InstanceState:
|
|
313
338
|
"NFS_V3" Possible values: ["NFS_V3", "NFS_V4_1"]
|
314
339
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
315
340
|
and default labels configured on the provider.
|
341
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags.
|
342
|
+
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored when
|
343
|
+
empty. The field is immutable and causes resource replacement when mutated. This field is only set at create time and
|
344
|
+
modifying this field after creation will trigger recreation. To apply tags to an existing resource, see the
|
345
|
+
'google_tags_tag_value' resource.
|
316
346
|
:param pulumi.Input[str] tier: The service tier of the instance.
|
317
347
|
Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE
|
318
348
|
:param pulumi.Input[str] zone: The name of the Filestore zone of the instance.
|
@@ -349,6 +379,8 @@ class _InstanceState:
|
|
349
379
|
pulumi.set(__self__, "protocol", protocol)
|
350
380
|
if pulumi_labels is not None:
|
351
381
|
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
382
|
+
if tags is not None:
|
383
|
+
pulumi.set(__self__, "tags", tags)
|
352
384
|
if tier is not None:
|
353
385
|
pulumi.set(__self__, "tier", tier)
|
354
386
|
if zone is not None:
|
@@ -556,6 +588,22 @@ class _InstanceState:
|
|
556
588
|
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
557
589
|
pulumi.set(self, "pulumi_labels", value)
|
558
590
|
|
591
|
+
@property
|
592
|
+
@pulumi.getter
|
593
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
594
|
+
"""
|
595
|
+
A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags.
|
596
|
+
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored when
|
597
|
+
empty. The field is immutable and causes resource replacement when mutated. This field is only set at create time and
|
598
|
+
modifying this field after creation will trigger recreation. To apply tags to an existing resource, see the
|
599
|
+
'google_tags_tag_value' resource.
|
600
|
+
"""
|
601
|
+
return pulumi.get(self, "tags")
|
602
|
+
|
603
|
+
@tags.setter
|
604
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
605
|
+
pulumi.set(self, "tags", value)
|
606
|
+
|
559
607
|
@property
|
560
608
|
@pulumi.getter
|
561
609
|
def tier(self) -> Optional[pulumi.Input[str]]:
|
@@ -600,6 +648,7 @@ class Instance(pulumi.CustomResource):
|
|
600
648
|
performance_config: Optional[pulumi.Input[Union['InstancePerformanceConfigArgs', 'InstancePerformanceConfigArgsDict']]] = None,
|
601
649
|
project: Optional[pulumi.Input[str]] = None,
|
602
650
|
protocol: Optional[pulumi.Input[str]] = None,
|
651
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
603
652
|
tier: Optional[pulumi.Input[str]] = None,
|
604
653
|
zone: Optional[pulumi.Input[str]] = None,
|
605
654
|
__props__=None):
|
@@ -761,6 +810,11 @@ class Instance(pulumi.CustomResource):
|
|
761
810
|
:param pulumi.Input[str] protocol: Either NFSv3, for using NFS version 3 as file sharing protocol, or NFSv4.1, for using NFS version 4.1 as file sharing
|
762
811
|
protocol. NFSv4.1 can be used with HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE. The default is NFSv3. Default value:
|
763
812
|
"NFS_V3" Possible values: ["NFS_V3", "NFS_V4_1"]
|
813
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags.
|
814
|
+
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored when
|
815
|
+
empty. The field is immutable and causes resource replacement when mutated. This field is only set at create time and
|
816
|
+
modifying this field after creation will trigger recreation. To apply tags to an existing resource, see the
|
817
|
+
'google_tags_tag_value' resource.
|
764
818
|
:param pulumi.Input[str] tier: The service tier of the instance.
|
765
819
|
Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE
|
766
820
|
:param pulumi.Input[str] zone: The name of the Filestore zone of the instance.
|
@@ -935,6 +989,7 @@ class Instance(pulumi.CustomResource):
|
|
935
989
|
performance_config: Optional[pulumi.Input[Union['InstancePerformanceConfigArgs', 'InstancePerformanceConfigArgsDict']]] = None,
|
936
990
|
project: Optional[pulumi.Input[str]] = None,
|
937
991
|
protocol: Optional[pulumi.Input[str]] = None,
|
992
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
938
993
|
tier: Optional[pulumi.Input[str]] = None,
|
939
994
|
zone: Optional[pulumi.Input[str]] = None,
|
940
995
|
__props__=None):
|
@@ -962,6 +1017,7 @@ class Instance(pulumi.CustomResource):
|
|
962
1017
|
__props__.__dict__["performance_config"] = performance_config
|
963
1018
|
__props__.__dict__["project"] = project
|
964
1019
|
__props__.__dict__["protocol"] = protocol
|
1020
|
+
__props__.__dict__["tags"] = tags
|
965
1021
|
if tier is None and not opts.urn:
|
966
1022
|
raise TypeError("Missing required property 'tier'")
|
967
1023
|
__props__.__dict__["tier"] = tier
|
@@ -998,6 +1054,7 @@ class Instance(pulumi.CustomResource):
|
|
998
1054
|
project: Optional[pulumi.Input[str]] = None,
|
999
1055
|
protocol: Optional[pulumi.Input[str]] = None,
|
1000
1056
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1057
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1001
1058
|
tier: Optional[pulumi.Input[str]] = None,
|
1002
1059
|
zone: Optional[pulumi.Input[str]] = None) -> 'Instance':
|
1003
1060
|
"""
|
@@ -1032,6 +1089,11 @@ class Instance(pulumi.CustomResource):
|
|
1032
1089
|
"NFS_V3" Possible values: ["NFS_V3", "NFS_V4_1"]
|
1033
1090
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
1034
1091
|
and default labels configured on the provider.
|
1092
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags.
|
1093
|
+
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored when
|
1094
|
+
empty. The field is immutable and causes resource replacement when mutated. This field is only set at create time and
|
1095
|
+
modifying this field after creation will trigger recreation. To apply tags to an existing resource, see the
|
1096
|
+
'google_tags_tag_value' resource.
|
1035
1097
|
:param pulumi.Input[str] tier: The service tier of the instance.
|
1036
1098
|
Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE
|
1037
1099
|
:param pulumi.Input[str] zone: The name of the Filestore zone of the instance.
|
@@ -1056,6 +1118,7 @@ class Instance(pulumi.CustomResource):
|
|
1056
1118
|
__props__.__dict__["project"] = project
|
1057
1119
|
__props__.__dict__["protocol"] = protocol
|
1058
1120
|
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
1121
|
+
__props__.__dict__["tags"] = tags
|
1059
1122
|
__props__.__dict__["tier"] = tier
|
1060
1123
|
__props__.__dict__["zone"] = zone
|
1061
1124
|
return Instance(resource_name, opts=opts, __props__=__props__)
|
@@ -1195,6 +1258,18 @@ class Instance(pulumi.CustomResource):
|
|
1195
1258
|
"""
|
1196
1259
|
return pulumi.get(self, "pulumi_labels")
|
1197
1260
|
|
1261
|
+
@property
|
1262
|
+
@pulumi.getter
|
1263
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
1264
|
+
"""
|
1265
|
+
A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags.
|
1266
|
+
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored when
|
1267
|
+
empty. The field is immutable and causes resource replacement when mutated. This field is only set at create time and
|
1268
|
+
modifying this field after creation will trigger recreation. To apply tags to an existing resource, see the
|
1269
|
+
'google_tags_tag_value' resource.
|
1270
|
+
"""
|
1271
|
+
return pulumi.get(self, "tags")
|
1272
|
+
|
1198
1273
|
@property
|
1199
1274
|
@pulumi.getter
|
1200
1275
|
def tier(self) -> pulumi.Output[str]:
|
pulumi_gcp/firestore/field.py
CHANGED
@@ -391,6 +391,36 @@ class Field(pulumi.CustomResource):
|
|
391
391
|
],
|
392
392
|
})
|
393
393
|
```
|
394
|
+
### Firestore Field Wildcard
|
395
|
+
|
396
|
+
```python
|
397
|
+
import pulumi
|
398
|
+
import pulumi_gcp as gcp
|
399
|
+
|
400
|
+
database = gcp.firestore.Database("database",
|
401
|
+
project="my-project-name",
|
402
|
+
name="database-id",
|
403
|
+
location_id="nam5",
|
404
|
+
type="FIRESTORE_NATIVE",
|
405
|
+
delete_protection_state="DELETE_PROTECTION_ENABLED",
|
406
|
+
deletion_policy="DELETE")
|
407
|
+
wildcard = gcp.firestore.Field("wildcard",
|
408
|
+
project="my-project-name",
|
409
|
+
database=database.name,
|
410
|
+
collection="chatrooms__75223",
|
411
|
+
field="*",
|
412
|
+
index_config={
|
413
|
+
"indexes": [
|
414
|
+
{
|
415
|
+
"order": "ASCENDING",
|
416
|
+
"query_scope": "COLLECTION_GROUP",
|
417
|
+
},
|
418
|
+
{
|
419
|
+
"array_config": "CONTAINS",
|
420
|
+
},
|
421
|
+
],
|
422
|
+
})
|
423
|
+
```
|
394
424
|
|
395
425
|
## Import
|
396
426
|
|
@@ -529,6 +559,36 @@ class Field(pulumi.CustomResource):
|
|
529
559
|
],
|
530
560
|
})
|
531
561
|
```
|
562
|
+
### Firestore Field Wildcard
|
563
|
+
|
564
|
+
```python
|
565
|
+
import pulumi
|
566
|
+
import pulumi_gcp as gcp
|
567
|
+
|
568
|
+
database = gcp.firestore.Database("database",
|
569
|
+
project="my-project-name",
|
570
|
+
name="database-id",
|
571
|
+
location_id="nam5",
|
572
|
+
type="FIRESTORE_NATIVE",
|
573
|
+
delete_protection_state="DELETE_PROTECTION_ENABLED",
|
574
|
+
deletion_policy="DELETE")
|
575
|
+
wildcard = gcp.firestore.Field("wildcard",
|
576
|
+
project="my-project-name",
|
577
|
+
database=database.name,
|
578
|
+
collection="chatrooms__75223",
|
579
|
+
field="*",
|
580
|
+
index_config={
|
581
|
+
"indexes": [
|
582
|
+
{
|
583
|
+
"order": "ASCENDING",
|
584
|
+
"query_scope": "COLLECTION_GROUP",
|
585
|
+
},
|
586
|
+
{
|
587
|
+
"array_config": "CONTAINS",
|
588
|
+
},
|
589
|
+
],
|
590
|
+
})
|
591
|
+
```
|
532
592
|
|
533
593
|
## Import
|
534
594
|
|
@@ -34,7 +34,7 @@ class CodeRepositoryIndexArgs:
|
|
34
34
|
:param pulumi.Input[str] location: The location of the Code Repository Index, for example `us-central1`.
|
35
35
|
:param pulumi.Input[bool] force_destroy: If set to true, will allow deletion of the CodeRepositoryIndex even if there are existing RepositoryGroups for the resource. These RepositoryGroups will also be deleted.
|
36
36
|
:param pulumi.Input[str] kms_key: Optional. Immutable. Customer-managed encryption key name, in the format
|
37
|
-
projects/*/locations/*/keyRings/*/cryptoKeys
|
37
|
+
`projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
38
38
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs.
|
39
39
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
40
40
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
@@ -96,7 +96,7 @@ class CodeRepositoryIndexArgs:
|
|
96
96
|
def kms_key(self) -> Optional[pulumi.Input[str]]:
|
97
97
|
"""
|
98
98
|
Optional. Immutable. Customer-managed encryption key name, in the format
|
99
|
-
projects/*/locations/*/keyRings/*/cryptoKeys
|
99
|
+
`projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
100
100
|
"""
|
101
101
|
return pulumi.get(self, "kms_key")
|
102
102
|
|
@@ -157,7 +157,7 @@ class _CodeRepositoryIndexState:
|
|
157
157
|
:param pulumi.Input[Mapping[str, pulumi.Input[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.
|
158
158
|
:param pulumi.Input[bool] force_destroy: If set to true, will allow deletion of the CodeRepositoryIndex even if there are existing RepositoryGroups for the resource. These RepositoryGroups will also be deleted.
|
159
159
|
:param pulumi.Input[str] kms_key: Optional. Immutable. Customer-managed encryption key name, in the format
|
160
|
-
projects/*/locations/*/keyRings/*/cryptoKeys
|
160
|
+
`projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
161
161
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs.
|
162
162
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
163
163
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
@@ -168,12 +168,7 @@ class _CodeRepositoryIndexState:
|
|
168
168
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
169
169
|
and default labels configured on the provider.
|
170
170
|
:param pulumi.Input[str] state: Output only. Code Repository Index instance State.
|
171
|
-
Possible values:
|
172
|
-
STATE_UNSPECIFIED
|
173
|
-
CREATING
|
174
|
-
ACTIVE
|
175
|
-
DELETING
|
176
|
-
SUSPENDED
|
171
|
+
Possible values are: `STATE_UNSPECIFIED`, `CREATING`, `ACTIVE`, `DELETING`, `SUSPENDED`.
|
177
172
|
:param pulumi.Input[str] update_time: Output only. Update time stamp.
|
178
173
|
"""
|
179
174
|
if code_repository_index_id is not None:
|
@@ -257,7 +252,7 @@ class _CodeRepositoryIndexState:
|
|
257
252
|
def kms_key(self) -> Optional[pulumi.Input[str]]:
|
258
253
|
"""
|
259
254
|
Optional. Immutable. Customer-managed encryption key name, in the format
|
260
|
-
projects/*/locations/*/keyRings/*/cryptoKeys
|
255
|
+
`projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
261
256
|
"""
|
262
257
|
return pulumi.get(self, "kms_key")
|
263
258
|
|
@@ -334,12 +329,7 @@ class _CodeRepositoryIndexState:
|
|
334
329
|
def state(self) -> Optional[pulumi.Input[str]]:
|
335
330
|
"""
|
336
331
|
Output only. Code Repository Index instance State.
|
337
|
-
Possible values:
|
338
|
-
STATE_UNSPECIFIED
|
339
|
-
CREATING
|
340
|
-
ACTIVE
|
341
|
-
DELETING
|
342
|
-
SUSPENDED
|
332
|
+
Possible values are: `STATE_UNSPECIFIED`, `CREATING`, `ACTIVE`, `DELETING`, `SUSPENDED`.
|
343
333
|
"""
|
344
334
|
return pulumi.get(self, "state")
|
345
335
|
|
@@ -373,6 +363,14 @@ class CodeRepositoryIndex(pulumi.CustomResource):
|
|
373
363
|
project: Optional[pulumi.Input[str]] = None,
|
374
364
|
__props__=None):
|
375
365
|
"""
|
366
|
+
The resource for managing Code Repository Index for Gemini Code Assist.
|
367
|
+
|
368
|
+
To get more information about CodeRepositoryIndex, see:
|
369
|
+
|
370
|
+
* [API documentation](https://cloud.google.com/gemini/docs/api/reference/rest/v1/projects.locations.codeRepositoryIndexes)
|
371
|
+
* How-to Guides
|
372
|
+
* [Gemini Code Assist overview](https://cloud.google.com/gemini/docs/codeassist/overview)
|
373
|
+
|
376
374
|
## Example Usage
|
377
375
|
|
378
376
|
### Gemini Code Repository Index Basic
|
@@ -383,7 +381,7 @@ class CodeRepositoryIndex(pulumi.CustomResource):
|
|
383
381
|
|
384
382
|
example = gcp.gemini.CodeRepositoryIndex("example",
|
385
383
|
location="us-central1",
|
386
|
-
code_repository_index_id="",
|
384
|
+
code_repository_index_id="code-repository-index-example",
|
387
385
|
kms_key="projects/projectExample/locations/locationExample/keyRings/keyRingExample/cryptoKeys/cryptoKeyExample")
|
388
386
|
```
|
389
387
|
|
@@ -419,7 +417,7 @@ class CodeRepositoryIndex(pulumi.CustomResource):
|
|
419
417
|
- - -
|
420
418
|
:param pulumi.Input[bool] force_destroy: If set to true, will allow deletion of the CodeRepositoryIndex even if there are existing RepositoryGroups for the resource. These RepositoryGroups will also be deleted.
|
421
419
|
:param pulumi.Input[str] kms_key: Optional. Immutable. Customer-managed encryption key name, in the format
|
422
|
-
projects/*/locations/*/keyRings/*/cryptoKeys
|
420
|
+
`projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
423
421
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs.
|
424
422
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
425
423
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
@@ -434,6 +432,14 @@ class CodeRepositoryIndex(pulumi.CustomResource):
|
|
434
432
|
args: CodeRepositoryIndexArgs,
|
435
433
|
opts: Optional[pulumi.ResourceOptions] = None):
|
436
434
|
"""
|
435
|
+
The resource for managing Code Repository Index for Gemini Code Assist.
|
436
|
+
|
437
|
+
To get more information about CodeRepositoryIndex, see:
|
438
|
+
|
439
|
+
* [API documentation](https://cloud.google.com/gemini/docs/api/reference/rest/v1/projects.locations.codeRepositoryIndexes)
|
440
|
+
* How-to Guides
|
441
|
+
* [Gemini Code Assist overview](https://cloud.google.com/gemini/docs/codeassist/overview)
|
442
|
+
|
437
443
|
## Example Usage
|
438
444
|
|
439
445
|
### Gemini Code Repository Index Basic
|
@@ -444,7 +450,7 @@ class CodeRepositoryIndex(pulumi.CustomResource):
|
|
444
450
|
|
445
451
|
example = gcp.gemini.CodeRepositoryIndex("example",
|
446
452
|
location="us-central1",
|
447
|
-
code_repository_index_id="",
|
453
|
+
code_repository_index_id="code-repository-index-example",
|
448
454
|
kms_key="projects/projectExample/locations/locationExample/keyRings/keyRingExample/cryptoKeys/cryptoKeyExample")
|
449
455
|
```
|
450
456
|
|
@@ -557,7 +563,7 @@ class CodeRepositoryIndex(pulumi.CustomResource):
|
|
557
563
|
:param pulumi.Input[Mapping[str, pulumi.Input[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.
|
558
564
|
:param pulumi.Input[bool] force_destroy: If set to true, will allow deletion of the CodeRepositoryIndex even if there are existing RepositoryGroups for the resource. These RepositoryGroups will also be deleted.
|
559
565
|
:param pulumi.Input[str] kms_key: Optional. Immutable. Customer-managed encryption key name, in the format
|
560
|
-
projects/*/locations/*/keyRings/*/cryptoKeys
|
566
|
+
`projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
561
567
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs.
|
562
568
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
563
569
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
@@ -568,12 +574,7 @@ class CodeRepositoryIndex(pulumi.CustomResource):
|
|
568
574
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
569
575
|
and default labels configured on the provider.
|
570
576
|
:param pulumi.Input[str] state: Output only. Code Repository Index instance State.
|
571
|
-
Possible values:
|
572
|
-
STATE_UNSPECIFIED
|
573
|
-
CREATING
|
574
|
-
ACTIVE
|
575
|
-
DELETING
|
576
|
-
SUSPENDED
|
577
|
+
Possible values are: `STATE_UNSPECIFIED`, `CREATING`, `ACTIVE`, `DELETING`, `SUSPENDED`.
|
577
578
|
:param pulumi.Input[str] update_time: Output only. Update time stamp.
|
578
579
|
"""
|
579
580
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -634,7 +635,7 @@ class CodeRepositoryIndex(pulumi.CustomResource):
|
|
634
635
|
def kms_key(self) -> pulumi.Output[Optional[str]]:
|
635
636
|
"""
|
636
637
|
Optional. Immutable. Customer-managed encryption key name, in the format
|
637
|
-
projects/*/locations/*/keyRings/*/cryptoKeys
|
638
|
+
`projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
638
639
|
"""
|
639
640
|
return pulumi.get(self, "kms_key")
|
640
641
|
|
@@ -687,12 +688,7 @@ class CodeRepositoryIndex(pulumi.CustomResource):
|
|
687
688
|
def state(self) -> pulumi.Output[str]:
|
688
689
|
"""
|
689
690
|
Output only. Code Repository Index instance State.
|
690
|
-
Possible values:
|
691
|
-
STATE_UNSPECIFIED
|
692
|
-
CREATING
|
693
|
-
ACTIVE
|
694
|
-
DELETING
|
695
|
-
SUSPENDED
|
691
|
+
Possible values are: `STATE_UNSPECIFIED`, `CREATING`, `ACTIVE`, `DELETING`, `SUSPENDED`.
|
696
692
|
"""
|
697
693
|
return pulumi.get(self, "state")
|
698
694
|
|