pulumi-gcp 8.27.0a1744903336__py3-none-any.whl → 8.28.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 +88 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +399 -0
- pulumi_gcp/accesscontextmanager/gcp_user_access_binding.py +54 -0
- pulumi_gcp/accesscontextmanager/outputs.py +369 -0
- pulumi_gcp/alloydb/_inputs.py +47 -1
- pulumi_gcp/alloydb/outputs.py +61 -3
- pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +8 -2
- pulumi_gcp/applicationintegration/client.py +34 -12
- pulumi_gcp/artifactregistry/outputs.py +2 -2
- pulumi_gcp/certificateauthority/_inputs.py +32 -0
- pulumi_gcp/certificateauthority/ca_pool.py +2 -0
- pulumi_gcp/certificateauthority/outputs.py +22 -0
- pulumi_gcp/clouddeploy/_inputs.py +0 -6
- pulumi_gcp/clouddeploy/delivery_pipeline.py +84 -77
- pulumi_gcp/clouddeploy/outputs.py +0 -4
- pulumi_gcp/cloudrunv2/_inputs.py +3 -3
- pulumi_gcp/cloudrunv2/outputs.py +4 -4
- pulumi_gcp/colab/runtime_template.py +3 -3
- pulumi_gcp/compute/__init__.py +7 -0
- pulumi_gcp/compute/_inputs.py +809 -1
- pulumi_gcp/compute/backend_service.py +89 -0
- pulumi_gcp/compute/firewall_policy_with_rules.py +2 -2
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/get_storage_pool_iam_policy.py +183 -0
- pulumi_gcp/compute/get_storage_pool_types.py +268 -0
- pulumi_gcp/compute/outputs.py +743 -3
- pulumi_gcp/compute/resource_policy_attachment.py +476 -0
- pulumi_gcp/compute/storage_pool.py +1045 -0
- pulumi_gcp/compute/storage_pool_iam_binding.py +1088 -0
- pulumi_gcp/compute/storage_pool_iam_member.py +1088 -0
- pulumi_gcp/compute/storage_pool_iam_policy.py +907 -0
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +63 -3
- pulumi_gcp/container/outputs.py +70 -6
- pulumi_gcp/dataproc/get_metastore_service.py +12 -1
- pulumi_gcp/dataproc/metastore_service.py +61 -0
- pulumi_gcp/datastream/connection_profile.py +40 -0
- pulumi_gcp/discoveryengine/_inputs.py +38 -0
- pulumi_gcp/discoveryengine/chat_engine.py +6 -4
- pulumi_gcp/discoveryengine/outputs.py +26 -0
- pulumi_gcp/firebaserules/_inputs.py +6 -6
- pulumi_gcp/firebaserules/outputs.py +4 -4
- pulumi_gcp/gkebackup/__init__.py +2 -0
- pulumi_gcp/gkebackup/backup_channel.py +737 -0
- pulumi_gcp/gkebackup/restore_channel.py +737 -0
- pulumi_gcp/gkehub/_inputs.py +208 -0
- pulumi_gcp/gkehub/outputs.py +171 -1
- pulumi_gcp/healthcare/pipeline_job.py +2 -2
- pulumi_gcp/iap/__init__.py +4 -0
- pulumi_gcp/iap/_inputs.py +130 -0
- pulumi_gcp/iap/get_web_cloud_run_service_iam_policy.py +183 -0
- pulumi_gcp/iap/outputs.py +76 -0
- pulumi_gcp/iap/web_cloud_run_service_iam_binding.py +1089 -0
- pulumi_gcp/iap/web_cloud_run_service_iam_member.py +1089 -0
- pulumi_gcp/iap/web_cloud_run_service_iam_policy.py +908 -0
- pulumi_gcp/kms/key_ring_import_job.py +7 -7
- pulumi_gcp/managedkafka/connect_cluster.py +8 -4
- pulumi_gcp/managedkafka/connector.py +8 -4
- pulumi_gcp/monitoring/uptime_check_config.py +49 -0
- pulumi_gcp/networkconnectivity/internal_range.py +82 -0
- pulumi_gcp/projects/_inputs.py +0 -6
- pulumi_gcp/projects/api_key.py +28 -0
- pulumi_gcp/projects/outputs.py +0 -4
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/get_instance.py +12 -1
- pulumi_gcp/redis/instance.py +61 -0
- pulumi_gcp/secretmanager/secret.py +16 -17
- pulumi_gcp/sql/_inputs.py +86 -6
- pulumi_gcp/sql/outputs.py +156 -12
- pulumi_gcp/storage/__init__.py +1 -0
- pulumi_gcp/storage/_inputs.py +457 -0
- pulumi_gcp/storage/batch_operations_job.py +776 -0
- pulumi_gcp/storage/outputs.py +403 -0
- {pulumi_gcp-8.27.0a1744903336.dist-info → pulumi_gcp-8.28.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.27.0a1744903336.dist-info → pulumi_gcp-8.28.0.dist-info}/RECORD +79 -65
- {pulumi_gcp-8.27.0a1744903336.dist-info → pulumi_gcp-8.28.0.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.27.0a1744903336.dist-info → pulumi_gcp-8.28.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/projects/api_key.py
CHANGED
@@ -30,6 +30,10 @@ class ApiKeyArgs:
|
|
30
30
|
The set of arguments for constructing a ApiKey resource.
|
31
31
|
:param pulumi.Input[builtins.str] display_name: Human-readable display name of this API key. Modifiable by user.
|
32
32
|
:param pulumi.Input[builtins.str] name: The resource name of the key. The name must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. In another word, the name must match the regular expression: `a-z?`.
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
- - -
|
33
37
|
:param pulumi.Input[builtins.str] project: The project for the resource
|
34
38
|
:param pulumi.Input['ApiKeyRestrictionsArgs'] restrictions: Key restrictions.
|
35
39
|
"""
|
@@ -59,6 +63,10 @@ class ApiKeyArgs:
|
|
59
63
|
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
60
64
|
"""
|
61
65
|
The resource name of the key. The name must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. In another word, the name must match the regular expression: `a-z?`.
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
- - -
|
62
70
|
"""
|
63
71
|
return pulumi.get(self, "name")
|
64
72
|
|
@@ -105,6 +113,10 @@ class _ApiKeyState:
|
|
105
113
|
:param pulumi.Input[builtins.str] display_name: Human-readable display name of this API key. Modifiable by user.
|
106
114
|
:param pulumi.Input[builtins.str] key_string: Output only. An encrypted and signed value held by this key. This field can be accessed only through the `GetKeyString` method.
|
107
115
|
:param pulumi.Input[builtins.str] name: The resource name of the key. The name must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. In another word, the name must match the regular expression: `a-z?`.
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
- - -
|
108
120
|
:param pulumi.Input[builtins.str] project: The project for the resource
|
109
121
|
:param pulumi.Input['ApiKeyRestrictionsArgs'] restrictions: Key restrictions.
|
110
122
|
:param pulumi.Input[builtins.str] uid: Output only. Unique id in UUID4 format.
|
@@ -151,6 +163,10 @@ class _ApiKeyState:
|
|
151
163
|
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
152
164
|
"""
|
153
165
|
The resource name of the key. The name must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. In another word, the name must match the regular expression: `a-z?`.
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
- - -
|
154
170
|
"""
|
155
171
|
return pulumi.get(self, "name")
|
156
172
|
|
@@ -328,6 +344,10 @@ class ApiKey(pulumi.CustomResource):
|
|
328
344
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
329
345
|
:param pulumi.Input[builtins.str] display_name: Human-readable display name of this API key. Modifiable by user.
|
330
346
|
:param pulumi.Input[builtins.str] name: The resource name of the key. The name must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. In another word, the name must match the regular expression: `a-z?`.
|
347
|
+
|
348
|
+
|
349
|
+
|
350
|
+
- - -
|
331
351
|
:param pulumi.Input[builtins.str] project: The project for the resource
|
332
352
|
:param pulumi.Input[Union['ApiKeyRestrictionsArgs', 'ApiKeyRestrictionsArgsDict']] restrictions: Key restrictions.
|
333
353
|
"""
|
@@ -518,6 +538,10 @@ class ApiKey(pulumi.CustomResource):
|
|
518
538
|
:param pulumi.Input[builtins.str] display_name: Human-readable display name of this API key. Modifiable by user.
|
519
539
|
:param pulumi.Input[builtins.str] key_string: Output only. An encrypted and signed value held by this key. This field can be accessed only through the `GetKeyString` method.
|
520
540
|
:param pulumi.Input[builtins.str] name: The resource name of the key. The name must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. In another word, the name must match the regular expression: `a-z?`.
|
541
|
+
|
542
|
+
|
543
|
+
|
544
|
+
- - -
|
521
545
|
:param pulumi.Input[builtins.str] project: The project for the resource
|
522
546
|
:param pulumi.Input[Union['ApiKeyRestrictionsArgs', 'ApiKeyRestrictionsArgsDict']] restrictions: Key restrictions.
|
523
547
|
:param pulumi.Input[builtins.str] uid: Output only. Unique id in UUID4 format.
|
@@ -555,6 +579,10 @@ class ApiKey(pulumi.CustomResource):
|
|
555
579
|
def name(self) -> pulumi.Output[builtins.str]:
|
556
580
|
"""
|
557
581
|
The resource name of the key. The name must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. In another word, the name must match the regular expression: `a-z?`.
|
582
|
+
|
583
|
+
|
584
|
+
|
585
|
+
- - -
|
558
586
|
"""
|
559
587
|
return pulumi.get(self, "name")
|
560
588
|
|
pulumi_gcp/projects/outputs.py
CHANGED
@@ -274,8 +274,6 @@ class ApiKeyRestrictionsAndroidKeyRestrictionsAllowedApplication(dict):
|
|
274
274
|
"""
|
275
275
|
:param builtins.str package_name: The package name of the application.
|
276
276
|
:param builtins.str sha1_fingerprint: The SHA1 fingerprint of the application. For example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format is the latter.
|
277
|
-
|
278
|
-
- - -
|
279
277
|
"""
|
280
278
|
pulumi.set(__self__, "package_name", package_name)
|
281
279
|
pulumi.set(__self__, "sha1_fingerprint", sha1_fingerprint)
|
@@ -293,8 +291,6 @@ class ApiKeyRestrictionsAndroidKeyRestrictionsAllowedApplication(dict):
|
|
293
291
|
def sha1_fingerprint(self) -> builtins.str:
|
294
292
|
"""
|
295
293
|
The SHA1 fingerprint of the application. For example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format is the latter.
|
296
|
-
|
297
|
-
- - -
|
298
294
|
"""
|
299
295
|
return pulumi.get(self, "sha1_fingerprint")
|
300
296
|
|
pulumi_gcp/provider.py
CHANGED
@@ -194,6 +194,7 @@ class ProviderArgs:
|
|
194
194
|
source_repo_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
195
195
|
spanner_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
196
196
|
sql_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
197
|
+
storage_batch_operations_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
197
198
|
storage_control_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
198
199
|
storage_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
199
200
|
storage_insights_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -565,6 +566,8 @@ class ProviderArgs:
|
|
565
566
|
pulumi.set(__self__, "spanner_custom_endpoint", spanner_custom_endpoint)
|
566
567
|
if sql_custom_endpoint is not None:
|
567
568
|
pulumi.set(__self__, "sql_custom_endpoint", sql_custom_endpoint)
|
569
|
+
if storage_batch_operations_custom_endpoint is not None:
|
570
|
+
pulumi.set(__self__, "storage_batch_operations_custom_endpoint", storage_batch_operations_custom_endpoint)
|
568
571
|
if storage_control_custom_endpoint is not None:
|
569
572
|
pulumi.set(__self__, "storage_control_custom_endpoint", storage_control_custom_endpoint)
|
570
573
|
if storage_custom_endpoint is not None:
|
@@ -2161,6 +2164,15 @@ class ProviderArgs:
|
|
2161
2164
|
def sql_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]):
|
2162
2165
|
pulumi.set(self, "sql_custom_endpoint", value)
|
2163
2166
|
|
2167
|
+
@property
|
2168
|
+
@pulumi.getter(name="storageBatchOperationsCustomEndpoint")
|
2169
|
+
def storage_batch_operations_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]:
|
2170
|
+
return pulumi.get(self, "storage_batch_operations_custom_endpoint")
|
2171
|
+
|
2172
|
+
@storage_batch_operations_custom_endpoint.setter
|
2173
|
+
def storage_batch_operations_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]):
|
2174
|
+
pulumi.set(self, "storage_batch_operations_custom_endpoint", value)
|
2175
|
+
|
2164
2176
|
@property
|
2165
2177
|
@pulumi.getter(name="storageControlCustomEndpoint")
|
2166
2178
|
def storage_control_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -2502,6 +2514,7 @@ class Provider(pulumi.ProviderResource):
|
|
2502
2514
|
source_repo_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
2503
2515
|
spanner_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
2504
2516
|
sql_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
2517
|
+
storage_batch_operations_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
2505
2518
|
storage_control_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
2506
2519
|
storage_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
2507
2520
|
storage_insights_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -2730,6 +2743,7 @@ class Provider(pulumi.ProviderResource):
|
|
2730
2743
|
source_repo_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
2731
2744
|
spanner_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
2732
2745
|
sql_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
2746
|
+
storage_batch_operations_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
2733
2747
|
storage_control_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
2734
2748
|
storage_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
2735
2749
|
storage_insights_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -2934,6 +2948,7 @@ class Provider(pulumi.ProviderResource):
|
|
2934
2948
|
__props__.__dict__["source_repo_custom_endpoint"] = source_repo_custom_endpoint
|
2935
2949
|
__props__.__dict__["spanner_custom_endpoint"] = spanner_custom_endpoint
|
2936
2950
|
__props__.__dict__["sql_custom_endpoint"] = sql_custom_endpoint
|
2951
|
+
__props__.__dict__["storage_batch_operations_custom_endpoint"] = storage_batch_operations_custom_endpoint
|
2937
2952
|
__props__.__dict__["storage_control_custom_endpoint"] = storage_control_custom_endpoint
|
2938
2953
|
__props__.__dict__["storage_custom_endpoint"] = storage_custom_endpoint
|
2939
2954
|
__props__.__dict__["storage_insights_custom_endpoint"] = storage_insights_custom_endpoint
|
@@ -3792,6 +3807,11 @@ class Provider(pulumi.ProviderResource):
|
|
3792
3807
|
def sql_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]:
|
3793
3808
|
return pulumi.get(self, "sql_custom_endpoint")
|
3794
3809
|
|
3810
|
+
@property
|
3811
|
+
@pulumi.getter(name="storageBatchOperationsCustomEndpoint")
|
3812
|
+
def storage_batch_operations_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]:
|
3813
|
+
return pulumi.get(self, "storage_batch_operations_custom_endpoint")
|
3814
|
+
|
3795
3815
|
@property
|
3796
3816
|
@pulumi.getter(name="storageControlCustomEndpoint")
|
3797
3817
|
def storage_control_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]:
|
pulumi_gcp/pulumi-plugin.json
CHANGED
pulumi_gcp/redis/get_instance.py
CHANGED
@@ -28,7 +28,7 @@ class GetInstanceResult:
|
|
28
28
|
"""
|
29
29
|
A collection of values returned by getInstance.
|
30
30
|
"""
|
31
|
-
def __init__(__self__, alternative_location_id=None, auth_enabled=None, auth_string=None, authorized_network=None, connect_mode=None, create_time=None, current_location_id=None, customer_managed_key=None, display_name=None, effective_labels=None, host=None, id=None, labels=None, location_id=None, maintenance_policies=None, maintenance_schedules=None, maintenance_version=None, memory_size_gb=None, name=None, nodes=None, persistence_configs=None, persistence_iam_identity=None, port=None, project=None, pulumi_labels=None, read_endpoint=None, read_endpoint_port=None, read_replicas_mode=None, redis_configs=None, redis_version=None, region=None, replica_count=None, reserved_ip_range=None, secondary_ip_range=None, server_ca_certs=None, tier=None, transit_encryption_mode=None):
|
31
|
+
def __init__(__self__, alternative_location_id=None, auth_enabled=None, auth_string=None, authorized_network=None, connect_mode=None, create_time=None, current_location_id=None, customer_managed_key=None, display_name=None, effective_labels=None, host=None, id=None, labels=None, location_id=None, maintenance_policies=None, maintenance_schedules=None, maintenance_version=None, memory_size_gb=None, name=None, nodes=None, persistence_configs=None, persistence_iam_identity=None, port=None, project=None, pulumi_labels=None, read_endpoint=None, read_endpoint_port=None, read_replicas_mode=None, redis_configs=None, redis_version=None, region=None, replica_count=None, reserved_ip_range=None, secondary_ip_range=None, server_ca_certs=None, tags=None, tier=None, transit_encryption_mode=None):
|
32
32
|
if alternative_location_id and not isinstance(alternative_location_id, str):
|
33
33
|
raise TypeError("Expected argument 'alternative_location_id' to be a str")
|
34
34
|
pulumi.set(__self__, "alternative_location_id", alternative_location_id)
|
@@ -134,6 +134,9 @@ class GetInstanceResult:
|
|
134
134
|
if server_ca_certs and not isinstance(server_ca_certs, list):
|
135
135
|
raise TypeError("Expected argument 'server_ca_certs' to be a list")
|
136
136
|
pulumi.set(__self__, "server_ca_certs", server_ca_certs)
|
137
|
+
if tags and not isinstance(tags, dict):
|
138
|
+
raise TypeError("Expected argument 'tags' to be a dict")
|
139
|
+
pulumi.set(__self__, "tags", tags)
|
137
140
|
if tier and not isinstance(tier, str):
|
138
141
|
raise TypeError("Expected argument 'tier' to be a str")
|
139
142
|
pulumi.set(__self__, "tier", tier)
|
@@ -319,6 +322,11 @@ class GetInstanceResult:
|
|
319
322
|
def server_ca_certs(self) -> Sequence['outputs.GetInstanceServerCaCertResult']:
|
320
323
|
return pulumi.get(self, "server_ca_certs")
|
321
324
|
|
325
|
+
@property
|
326
|
+
@pulumi.getter
|
327
|
+
def tags(self) -> Mapping[str, builtins.str]:
|
328
|
+
return pulumi.get(self, "tags")
|
329
|
+
|
322
330
|
@property
|
323
331
|
@pulumi.getter
|
324
332
|
def tier(self) -> builtins.str:
|
@@ -371,6 +379,7 @@ class AwaitableGetInstanceResult(GetInstanceResult):
|
|
371
379
|
reserved_ip_range=self.reserved_ip_range,
|
372
380
|
secondary_ip_range=self.secondary_ip_range,
|
373
381
|
server_ca_certs=self.server_ca_certs,
|
382
|
+
tags=self.tags,
|
374
383
|
tier=self.tier,
|
375
384
|
transit_encryption_mode=self.transit_encryption_mode)
|
376
385
|
|
@@ -446,6 +455,7 @@ def get_instance(name: Optional[builtins.str] = None,
|
|
446
455
|
reserved_ip_range=pulumi.get(__ret__, 'reserved_ip_range'),
|
447
456
|
secondary_ip_range=pulumi.get(__ret__, 'secondary_ip_range'),
|
448
457
|
server_ca_certs=pulumi.get(__ret__, 'server_ca_certs'),
|
458
|
+
tags=pulumi.get(__ret__, 'tags'),
|
449
459
|
tier=pulumi.get(__ret__, 'tier'),
|
450
460
|
transit_encryption_mode=pulumi.get(__ret__, 'transit_encryption_mode'))
|
451
461
|
def get_instance_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -518,5 +528,6 @@ def get_instance_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
518
528
|
reserved_ip_range=pulumi.get(__response__, 'reserved_ip_range'),
|
519
529
|
secondary_ip_range=pulumi.get(__response__, 'secondary_ip_range'),
|
520
530
|
server_ca_certs=pulumi.get(__response__, 'server_ca_certs'),
|
531
|
+
tags=pulumi.get(__response__, 'tags'),
|
521
532
|
tier=pulumi.get(__response__, 'tier'),
|
522
533
|
transit_encryption_mode=pulumi.get(__response__, 'transit_encryption_mode')))
|
pulumi_gcp/redis/instance.py
CHANGED
@@ -43,6 +43,7 @@ class InstanceArgs:
|
|
43
43
|
replica_count: Optional[pulumi.Input[builtins.int]] = None,
|
44
44
|
reserved_ip_range: Optional[pulumi.Input[builtins.str]] = None,
|
45
45
|
secondary_ip_range: Optional[pulumi.Input[builtins.str]] = None,
|
46
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
46
47
|
tier: Optional[pulumi.Input[builtins.str]] = None,
|
47
48
|
transit_encryption_mode: Optional[pulumi.Input[builtins.str]] = None):
|
48
49
|
"""
|
@@ -110,6 +111,9 @@ class InstanceArgs:
|
|
110
111
|
an existing instance. For DIRECT_PEERING mode value must be a CIDR range of size /28, or
|
111
112
|
"auto". For PRIVATE_SERVICE_ACCESS mode value must be the name of an allocated address
|
112
113
|
range associated with the private service access connection, or "auto".
|
114
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: A map of resource manager tags.
|
115
|
+
Resource manager tag keys and values have the same definition as resource manager tags.
|
116
|
+
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_key_value}.
|
113
117
|
:param pulumi.Input[builtins.str] tier: The service tier of the instance. Must be one of these values:
|
114
118
|
- BASIC: standalone instance
|
115
119
|
- STANDARD_HA: highly available primary/replica instances
|
@@ -161,6 +165,8 @@ class InstanceArgs:
|
|
161
165
|
pulumi.set(__self__, "reserved_ip_range", reserved_ip_range)
|
162
166
|
if secondary_ip_range is not None:
|
163
167
|
pulumi.set(__self__, "secondary_ip_range", secondary_ip_range)
|
168
|
+
if tags is not None:
|
169
|
+
pulumi.set(__self__, "tags", tags)
|
164
170
|
if tier is not None:
|
165
171
|
pulumi.set(__self__, "tier", tier)
|
166
172
|
if transit_encryption_mode is not None:
|
@@ -460,6 +466,20 @@ class InstanceArgs:
|
|
460
466
|
def secondary_ip_range(self, value: Optional[pulumi.Input[builtins.str]]):
|
461
467
|
pulumi.set(self, "secondary_ip_range", value)
|
462
468
|
|
469
|
+
@property
|
470
|
+
@pulumi.getter
|
471
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
472
|
+
"""
|
473
|
+
A map of resource manager tags.
|
474
|
+
Resource manager tag keys and values have the same definition as resource manager tags.
|
475
|
+
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_key_value}.
|
476
|
+
"""
|
477
|
+
return pulumi.get(self, "tags")
|
478
|
+
|
479
|
+
@tags.setter
|
480
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
481
|
+
pulumi.set(self, "tags", value)
|
482
|
+
|
463
483
|
@property
|
464
484
|
@pulumi.getter
|
465
485
|
def tier(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -529,6 +549,7 @@ class _InstanceState:
|
|
529
549
|
reserved_ip_range: Optional[pulumi.Input[builtins.str]] = None,
|
530
550
|
secondary_ip_range: Optional[pulumi.Input[builtins.str]] = None,
|
531
551
|
server_ca_certs: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerCaCertArgs']]]] = None,
|
552
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
532
553
|
tier: Optional[pulumi.Input[builtins.str]] = None,
|
533
554
|
transit_encryption_mode: Optional[pulumi.Input[builtins.str]] = None):
|
534
555
|
"""
|
@@ -625,6 +646,9 @@ class _InstanceState:
|
|
625
646
|
range associated with the private service access connection, or "auto".
|
626
647
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerCaCertArgs']]] server_ca_certs: List of server CA certificates for the instance.
|
627
648
|
Structure is documented below.
|
649
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: A map of resource manager tags.
|
650
|
+
Resource manager tag keys and values have the same definition as resource manager tags.
|
651
|
+
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_key_value}.
|
628
652
|
:param pulumi.Input[builtins.str] tier: The service tier of the instance. Must be one of these values:
|
629
653
|
- BASIC: standalone instance
|
630
654
|
- STANDARD_HA: highly available primary/replica instances
|
@@ -703,6 +727,8 @@ class _InstanceState:
|
|
703
727
|
pulumi.set(__self__, "secondary_ip_range", secondary_ip_range)
|
704
728
|
if server_ca_certs is not None:
|
705
729
|
pulumi.set(__self__, "server_ca_certs", server_ca_certs)
|
730
|
+
if tags is not None:
|
731
|
+
pulumi.set(__self__, "tags", tags)
|
706
732
|
if tier is not None:
|
707
733
|
pulumi.set(__self__, "tier", tier)
|
708
734
|
if transit_encryption_mode is not None:
|
@@ -1174,6 +1200,20 @@ class _InstanceState:
|
|
1174
1200
|
def server_ca_certs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerCaCertArgs']]]]):
|
1175
1201
|
pulumi.set(self, "server_ca_certs", value)
|
1176
1202
|
|
1203
|
+
@property
|
1204
|
+
@pulumi.getter
|
1205
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
1206
|
+
"""
|
1207
|
+
A map of resource manager tags.
|
1208
|
+
Resource manager tag keys and values have the same definition as resource manager tags.
|
1209
|
+
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_key_value}.
|
1210
|
+
"""
|
1211
|
+
return pulumi.get(self, "tags")
|
1212
|
+
|
1213
|
+
@tags.setter
|
1214
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
1215
|
+
pulumi.set(self, "tags", value)
|
1216
|
+
|
1177
1217
|
@property
|
1178
1218
|
@pulumi.getter
|
1179
1219
|
def tier(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -1232,6 +1272,7 @@ class Instance(pulumi.CustomResource):
|
|
1232
1272
|
replica_count: Optional[pulumi.Input[builtins.int]] = None,
|
1233
1273
|
reserved_ip_range: Optional[pulumi.Input[builtins.str]] = None,
|
1234
1274
|
secondary_ip_range: Optional[pulumi.Input[builtins.str]] = None,
|
1275
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
1235
1276
|
tier: Optional[pulumi.Input[builtins.str]] = None,
|
1236
1277
|
transit_encryption_mode: Optional[pulumi.Input[builtins.str]] = None,
|
1237
1278
|
__props__=None):
|
@@ -1516,6 +1557,9 @@ class Instance(pulumi.CustomResource):
|
|
1516
1557
|
an existing instance. For DIRECT_PEERING mode value must be a CIDR range of size /28, or
|
1517
1558
|
"auto". For PRIVATE_SERVICE_ACCESS mode value must be the name of an allocated address
|
1518
1559
|
range associated with the private service access connection, or "auto".
|
1560
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: A map of resource manager tags.
|
1561
|
+
Resource manager tag keys and values have the same definition as resource manager tags.
|
1562
|
+
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_key_value}.
|
1519
1563
|
:param pulumi.Input[builtins.str] tier: The service tier of the instance. Must be one of these values:
|
1520
1564
|
- BASIC: standalone instance
|
1521
1565
|
- STANDARD_HA: highly available primary/replica instances
|
@@ -1784,6 +1828,7 @@ class Instance(pulumi.CustomResource):
|
|
1784
1828
|
replica_count: Optional[pulumi.Input[builtins.int]] = None,
|
1785
1829
|
reserved_ip_range: Optional[pulumi.Input[builtins.str]] = None,
|
1786
1830
|
secondary_ip_range: Optional[pulumi.Input[builtins.str]] = None,
|
1831
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
1787
1832
|
tier: Optional[pulumi.Input[builtins.str]] = None,
|
1788
1833
|
transit_encryption_mode: Optional[pulumi.Input[builtins.str]] = None,
|
1789
1834
|
__props__=None):
|
@@ -1818,6 +1863,7 @@ class Instance(pulumi.CustomResource):
|
|
1818
1863
|
__props__.__dict__["replica_count"] = replica_count
|
1819
1864
|
__props__.__dict__["reserved_ip_range"] = reserved_ip_range
|
1820
1865
|
__props__.__dict__["secondary_ip_range"] = secondary_ip_range
|
1866
|
+
__props__.__dict__["tags"] = tags
|
1821
1867
|
__props__.__dict__["tier"] = tier
|
1822
1868
|
__props__.__dict__["transit_encryption_mode"] = transit_encryption_mode
|
1823
1869
|
__props__.__dict__["auth_string"] = None
|
@@ -1879,6 +1925,7 @@ class Instance(pulumi.CustomResource):
|
|
1879
1925
|
reserved_ip_range: Optional[pulumi.Input[builtins.str]] = None,
|
1880
1926
|
secondary_ip_range: Optional[pulumi.Input[builtins.str]] = None,
|
1881
1927
|
server_ca_certs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerCaCertArgs', 'InstanceServerCaCertArgsDict']]]]] = None,
|
1928
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
1882
1929
|
tier: Optional[pulumi.Input[builtins.str]] = None,
|
1883
1930
|
transit_encryption_mode: Optional[pulumi.Input[builtins.str]] = None) -> 'Instance':
|
1884
1931
|
"""
|
@@ -1980,6 +2027,9 @@ class Instance(pulumi.CustomResource):
|
|
1980
2027
|
range associated with the private service access connection, or "auto".
|
1981
2028
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerCaCertArgs', 'InstanceServerCaCertArgsDict']]]] server_ca_certs: List of server CA certificates for the instance.
|
1982
2029
|
Structure is documented below.
|
2030
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: A map of resource manager tags.
|
2031
|
+
Resource manager tag keys and values have the same definition as resource manager tags.
|
2032
|
+
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_key_value}.
|
1983
2033
|
:param pulumi.Input[builtins.str] tier: The service tier of the instance. Must be one of these values:
|
1984
2034
|
- BASIC: standalone instance
|
1985
2035
|
- STANDARD_HA: highly available primary/replica instances
|
@@ -2028,6 +2078,7 @@ class Instance(pulumi.CustomResource):
|
|
2028
2078
|
__props__.__dict__["reserved_ip_range"] = reserved_ip_range
|
2029
2079
|
__props__.__dict__["secondary_ip_range"] = secondary_ip_range
|
2030
2080
|
__props__.__dict__["server_ca_certs"] = server_ca_certs
|
2081
|
+
__props__.__dict__["tags"] = tags
|
2031
2082
|
__props__.__dict__["tier"] = tier
|
2032
2083
|
__props__.__dict__["transit_encryption_mode"] = transit_encryption_mode
|
2033
2084
|
return Instance(resource_name, opts=opts, __props__=__props__)
|
@@ -2362,6 +2413,16 @@ class Instance(pulumi.CustomResource):
|
|
2362
2413
|
"""
|
2363
2414
|
return pulumi.get(self, "server_ca_certs")
|
2364
2415
|
|
2416
|
+
@property
|
2417
|
+
@pulumi.getter
|
2418
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
2419
|
+
"""
|
2420
|
+
A map of resource manager tags.
|
2421
|
+
Resource manager tag keys and values have the same definition as resource manager tags.
|
2422
|
+
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_key_value}.
|
2423
|
+
"""
|
2424
|
+
return pulumi.get(self, "tags")
|
2425
|
+
|
2365
2426
|
@property
|
2366
2427
|
@pulumi.getter
|
2367
2428
|
def tier(self) -> pulumi.Output[Optional[builtins.str]]:
|
@@ -23,12 +23,12 @@ __all__ = ['SecretArgs', 'Secret']
|
|
23
23
|
class SecretArgs:
|
24
24
|
def __init__(__self__, *,
|
25
25
|
replication: pulumi.Input['SecretReplicationArgs'],
|
26
|
-
secret_id: pulumi.Input[builtins.str],
|
27
26
|
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
28
27
|
expire_time: Optional[pulumi.Input[builtins.str]] = None,
|
29
28
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
30
29
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
31
30
|
rotation: Optional[pulumi.Input['SecretRotationArgs']] = None,
|
31
|
+
secret_id: Optional[pulumi.Input[builtins.str]] = None,
|
32
32
|
topics: Optional[pulumi.Input[Sequence[pulumi.Input['SecretTopicArgs']]]] = None,
|
33
33
|
ttl: Optional[pulumi.Input[builtins.str]] = None,
|
34
34
|
version_aliases: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
@@ -38,7 +38,6 @@ class SecretArgs:
|
|
38
38
|
:param pulumi.Input['SecretReplicationArgs'] replication: The replication policy of the secret data attached to the Secret. It cannot be changed
|
39
39
|
after the Secret has been created.
|
40
40
|
Structure is documented below.
|
41
|
-
:param pulumi.Input[builtins.str] secret_id: This must be unique within the project.
|
42
41
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] annotations: Custom metadata about the secret. Annotations are distinct from various forms of labels. Annotations exist to allow
|
43
42
|
client tools to store their own state information without requiring a database. Annotation keys must be between 1 and 63
|
44
43
|
characters long, have a UTF-8 encoding of maximum 128 bytes, begin and end with an alphanumeric character ([a-z0-9A-Z]),
|
@@ -60,6 +59,7 @@ class SecretArgs:
|
|
60
59
|
refer to the field 'effective_labels' for all of the labels present on the resource.
|
61
60
|
:param pulumi.Input['SecretRotationArgs'] rotation: The rotation time and period for a Secret. At 'next_rotation_time', Secret Manager will send a Pub/Sub notification to
|
62
61
|
the topics configured on the Secret. 'topics' must be set to configure rotation.
|
62
|
+
:param pulumi.Input[builtins.str] secret_id: This must be unique within the project.
|
63
63
|
:param pulumi.Input[Sequence[pulumi.Input['SecretTopicArgs']]] topics: A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret
|
64
64
|
or its versions.
|
65
65
|
:param pulumi.Input[builtins.str] ttl: The TTL for the Secret. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
@@ -73,7 +73,6 @@ class SecretArgs:
|
|
73
73
|
a disabled state and the actual destruction happens after this TTL expires.
|
74
74
|
"""
|
75
75
|
pulumi.set(__self__, "replication", replication)
|
76
|
-
pulumi.set(__self__, "secret_id", secret_id)
|
77
76
|
if annotations is not None:
|
78
77
|
pulumi.set(__self__, "annotations", annotations)
|
79
78
|
if expire_time is not None:
|
@@ -84,6 +83,8 @@ class SecretArgs:
|
|
84
83
|
pulumi.set(__self__, "project", project)
|
85
84
|
if rotation is not None:
|
86
85
|
pulumi.set(__self__, "rotation", rotation)
|
86
|
+
if secret_id is not None:
|
87
|
+
pulumi.set(__self__, "secret_id", secret_id)
|
87
88
|
if topics is not None:
|
88
89
|
pulumi.set(__self__, "topics", topics)
|
89
90
|
if ttl is not None:
|
@@ -107,18 +108,6 @@ class SecretArgs:
|
|
107
108
|
def replication(self, value: pulumi.Input['SecretReplicationArgs']):
|
108
109
|
pulumi.set(self, "replication", value)
|
109
110
|
|
110
|
-
@property
|
111
|
-
@pulumi.getter(name="secretId")
|
112
|
-
def secret_id(self) -> pulumi.Input[builtins.str]:
|
113
|
-
"""
|
114
|
-
This must be unique within the project.
|
115
|
-
"""
|
116
|
-
return pulumi.get(self, "secret_id")
|
117
|
-
|
118
|
-
@secret_id.setter
|
119
|
-
def secret_id(self, value: pulumi.Input[builtins.str]):
|
120
|
-
pulumi.set(self, "secret_id", value)
|
121
|
-
|
122
111
|
@property
|
123
112
|
@pulumi.getter
|
124
113
|
def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
@@ -193,6 +182,18 @@ class SecretArgs:
|
|
193
182
|
def rotation(self, value: Optional[pulumi.Input['SecretRotationArgs']]):
|
194
183
|
pulumi.set(self, "rotation", value)
|
195
184
|
|
185
|
+
@property
|
186
|
+
@pulumi.getter(name="secretId")
|
187
|
+
def secret_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
188
|
+
"""
|
189
|
+
This must be unique within the project.
|
190
|
+
"""
|
191
|
+
return pulumi.get(self, "secret_id")
|
192
|
+
|
193
|
+
@secret_id.setter
|
194
|
+
def secret_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
195
|
+
pulumi.set(self, "secret_id", value)
|
196
|
+
|
196
197
|
@property
|
197
198
|
@pulumi.getter
|
198
199
|
def topics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecretTopicArgs']]]]:
|
@@ -900,8 +901,6 @@ class Secret(pulumi.CustomResource):
|
|
900
901
|
raise TypeError("Missing required property 'replication'")
|
901
902
|
__props__.__dict__["replication"] = replication
|
902
903
|
__props__.__dict__["rotation"] = rotation
|
903
|
-
if secret_id is None and not opts.urn:
|
904
|
-
raise TypeError("Missing required property 'secret_id'")
|
905
904
|
__props__.__dict__["secret_id"] = secret_id
|
906
905
|
__props__.__dict__["topics"] = topics
|
907
906
|
__props__.__dict__["ttl"] = ttl
|