pulumi-gcp 7.17.0a1712402830__py3-none-any.whl → 7.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 +27 -0
- pulumi_gcp/apphub/__init__.py +1 -0
- pulumi_gcp/apphub/get_application.py +220 -0
- pulumi_gcp/apphub/outputs.py +214 -0
- pulumi_gcp/applicationintegration/__init__.py +10 -0
- pulumi_gcp/applicationintegration/_inputs.py +119 -0
- pulumi_gcp/applicationintegration/client.py +574 -0
- pulumi_gcp/applicationintegration/outputs.py +122 -0
- pulumi_gcp/bigquery/_inputs.py +16 -0
- pulumi_gcp/bigquery/outputs.py +14 -0
- pulumi_gcp/bigquery/routine.py +98 -0
- pulumi_gcp/billing/project_info.py +4 -4
- pulumi_gcp/cloudquota/__init__.py +2 -0
- pulumi_gcp/cloudquota/_inputs.py +131 -0
- pulumi_gcp/cloudquota/outputs.py +118 -0
- pulumi_gcp/cloudquota/s_quota_preference.py +777 -0
- pulumi_gcp/cloudrunv2/_inputs.py +73 -0
- pulumi_gcp/cloudrunv2/outputs.py +126 -0
- pulumi_gcp/compute/interconnect_attachment.py +64 -0
- pulumi_gcp/compute/network_endpoint.py +8 -0
- pulumi_gcp/compute/network_endpoint_list.py +8 -0
- pulumi_gcp/compute/region_backend_service.py +28 -0
- pulumi_gcp/compute/target_instance.py +4 -4
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +17 -1
- pulumi_gcp/container/cluster.py +47 -0
- pulumi_gcp/container/get_cluster.py +11 -1
- pulumi_gcp/container/outputs.py +27 -2
- pulumi_gcp/databasemigrationservice/connection_profile.py +6 -6
- pulumi_gcp/dataflow/flex_template_job.py +84 -112
- pulumi_gcp/dataplex/task.py +16 -16
- pulumi_gcp/dataproc/_inputs.py +71 -0
- pulumi_gcp/dataproc/get_metastore_service.py +11 -1
- pulumi_gcp/dataproc/metastore_service.py +120 -0
- pulumi_gcp/dataproc/outputs.py +128 -0
- pulumi_gcp/firebase/app_check_service_config.py +2 -2
- pulumi_gcp/firestore/backup_schedule.py +23 -23
- pulumi_gcp/firestore/field.py +4 -4
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/gkeonprem/v_mware_cluster.py +49 -0
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/kms/_inputs.py +46 -0
- pulumi_gcp/kms/crypto_key.py +54 -0
- pulumi_gcp/kms/crypto_key_version.py +54 -0
- pulumi_gcp/kms/get_kms_crypto_key.py +11 -1
- pulumi_gcp/kms/outputs.py +54 -0
- pulumi_gcp/looker/instance.py +20 -30
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/subscription.py +4 -4
- pulumi_gcp/redis/cluster.py +91 -0
- pulumi_gcp/storage/bucket.py +28 -0
- pulumi_gcp/storage/get_bucket.py +17 -2
- pulumi_gcp/vertex/__init__.py +1 -0
- pulumi_gcp/vertex/_inputs.py +169 -0
- pulumi_gcp/vertex/ai_deployment_resource_pool.py +477 -0
- pulumi_gcp/vertex/outputs.py +194 -0
- pulumi_gcp/vpcaccess/connector.py +77 -28
- {pulumi_gcp-7.17.0a1712402830.dist-info → pulumi_gcp-7.18.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.17.0a1712402830.dist-info → pulumi_gcp-7.18.0.dist-info}/RECORD +66 -58
- {pulumi_gcp-7.17.0a1712402830.dist-info → pulumi_gcp-7.18.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.17.0a1712402830.dist-info → pulumi_gcp-7.18.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/provider.py
CHANGED
@@ -121,6 +121,7 @@ class ProviderArgs:
|
|
121
121
|
impersonate_service_account: Optional[pulumi.Input[str]] = None,
|
122
122
|
impersonate_service_account_delegates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
123
123
|
integration_connectors_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
124
|
+
integrations_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
124
125
|
kms_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
125
126
|
logging_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
126
127
|
looker_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
@@ -396,6 +397,8 @@ class ProviderArgs:
|
|
396
397
|
pulumi.set(__self__, "impersonate_service_account_delegates", impersonate_service_account_delegates)
|
397
398
|
if integration_connectors_custom_endpoint is not None:
|
398
399
|
pulumi.set(__self__, "integration_connectors_custom_endpoint", integration_connectors_custom_endpoint)
|
400
|
+
if integrations_custom_endpoint is not None:
|
401
|
+
pulumi.set(__self__, "integrations_custom_endpoint", integrations_custom_endpoint)
|
399
402
|
if kms_custom_endpoint is not None:
|
400
403
|
pulumi.set(__self__, "kms_custom_endpoint", kms_custom_endpoint)
|
401
404
|
if logging_custom_endpoint is not None:
|
@@ -1477,6 +1480,15 @@ class ProviderArgs:
|
|
1477
1480
|
def integration_connectors_custom_endpoint(self, value: Optional[pulumi.Input[str]]):
|
1478
1481
|
pulumi.set(self, "integration_connectors_custom_endpoint", value)
|
1479
1482
|
|
1483
|
+
@property
|
1484
|
+
@pulumi.getter(name="integrationsCustomEndpoint")
|
1485
|
+
def integrations_custom_endpoint(self) -> Optional[pulumi.Input[str]]:
|
1486
|
+
return pulumi.get(self, "integrations_custom_endpoint")
|
1487
|
+
|
1488
|
+
@integrations_custom_endpoint.setter
|
1489
|
+
def integrations_custom_endpoint(self, value: Optional[pulumi.Input[str]]):
|
1490
|
+
pulumi.set(self, "integrations_custom_endpoint", value)
|
1491
|
+
|
1480
1492
|
@property
|
1481
1493
|
@pulumi.getter(name="kmsCustomEndpoint")
|
1482
1494
|
def kms_custom_endpoint(self) -> Optional[pulumi.Input[str]]:
|
@@ -2129,6 +2141,7 @@ class Provider(pulumi.ProviderResource):
|
|
2129
2141
|
impersonate_service_account: Optional[pulumi.Input[str]] = None,
|
2130
2142
|
impersonate_service_account_delegates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
2131
2143
|
integration_connectors_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2144
|
+
integrations_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2132
2145
|
kms_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2133
2146
|
logging_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2134
2147
|
looker_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
@@ -2332,6 +2345,7 @@ class Provider(pulumi.ProviderResource):
|
|
2332
2345
|
impersonate_service_account: Optional[pulumi.Input[str]] = None,
|
2333
2346
|
impersonate_service_account_delegates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
2334
2347
|
integration_connectors_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2348
|
+
integrations_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2335
2349
|
kms_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2336
2350
|
logging_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2337
2351
|
looker_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
@@ -2507,6 +2521,7 @@ class Provider(pulumi.ProviderResource):
|
|
2507
2521
|
__props__.__dict__["impersonate_service_account"] = impersonate_service_account
|
2508
2522
|
__props__.__dict__["impersonate_service_account_delegates"] = pulumi.Output.from_input(impersonate_service_account_delegates).apply(pulumi.runtime.to_json) if impersonate_service_account_delegates is not None else None
|
2509
2523
|
__props__.__dict__["integration_connectors_custom_endpoint"] = integration_connectors_custom_endpoint
|
2524
|
+
__props__.__dict__["integrations_custom_endpoint"] = integrations_custom_endpoint
|
2510
2525
|
__props__.__dict__["kms_custom_endpoint"] = kms_custom_endpoint
|
2511
2526
|
__props__.__dict__["logging_custom_endpoint"] = logging_custom_endpoint
|
2512
2527
|
__props__.__dict__["looker_custom_endpoint"] = looker_custom_endpoint
|
@@ -3084,6 +3099,11 @@ class Provider(pulumi.ProviderResource):
|
|
3084
3099
|
def integration_connectors_custom_endpoint(self) -> pulumi.Output[Optional[str]]:
|
3085
3100
|
return pulumi.get(self, "integration_connectors_custom_endpoint")
|
3086
3101
|
|
3102
|
+
@property
|
3103
|
+
@pulumi.getter(name="integrationsCustomEndpoint")
|
3104
|
+
def integrations_custom_endpoint(self) -> pulumi.Output[Optional[str]]:
|
3105
|
+
return pulumi.get(self, "integrations_custom_endpoint")
|
3106
|
+
|
3087
3107
|
@property
|
3088
3108
|
@pulumi.getter(name="kmsCustomEndpoint")
|
3089
3109
|
def kms_custom_endpoint(self) -> pulumi.Output[Optional[str]]:
|
@@ -1051,7 +1051,7 @@ class Subscription(pulumi.CustomResource):
|
|
1051
1051
|
cloud_storage_config=gcp.pubsub.SubscriptionCloudStorageConfigArgs(
|
1052
1052
|
bucket=example.name,
|
1053
1053
|
filename_prefix="pre-",
|
1054
|
-
filename_suffix="-
|
1054
|
+
filename_suffix="-_2605",
|
1055
1055
|
max_bytes=1000,
|
1056
1056
|
max_duration="300s",
|
1057
1057
|
))
|
@@ -1080,7 +1080,7 @@ class Subscription(pulumi.CustomResource):
|
|
1080
1080
|
cloud_storage_config=gcp.pubsub.SubscriptionCloudStorageConfigArgs(
|
1081
1081
|
bucket=example.name,
|
1082
1082
|
filename_prefix="pre-",
|
1083
|
-
filename_suffix="-
|
1083
|
+
filename_suffix="-_34535",
|
1084
1084
|
max_bytes=1000,
|
1085
1085
|
max_duration="300s",
|
1086
1086
|
avro_config=gcp.pubsub.SubscriptionCloudStorageConfigAvroConfigArgs(
|
@@ -1392,7 +1392,7 @@ class Subscription(pulumi.CustomResource):
|
|
1392
1392
|
cloud_storage_config=gcp.pubsub.SubscriptionCloudStorageConfigArgs(
|
1393
1393
|
bucket=example.name,
|
1394
1394
|
filename_prefix="pre-",
|
1395
|
-
filename_suffix="-
|
1395
|
+
filename_suffix="-_2605",
|
1396
1396
|
max_bytes=1000,
|
1397
1397
|
max_duration="300s",
|
1398
1398
|
))
|
@@ -1421,7 +1421,7 @@ class Subscription(pulumi.CustomResource):
|
|
1421
1421
|
cloud_storage_config=gcp.pubsub.SubscriptionCloudStorageConfigArgs(
|
1422
1422
|
bucket=example.name,
|
1423
1423
|
filename_prefix="pre-",
|
1424
|
-
filename_suffix="-
|
1424
|
+
filename_suffix="-_34535",
|
1425
1425
|
max_bytes=1000,
|
1426
1426
|
max_duration="300s",
|
1427
1427
|
avro_config=gcp.pubsub.SubscriptionCloudStorageConfigAvroConfigArgs(
|
pulumi_gcp/redis/cluster.py
CHANGED
@@ -20,6 +20,7 @@ class ClusterArgs:
|
|
20
20
|
shard_count: pulumi.Input[int],
|
21
21
|
authorization_mode: Optional[pulumi.Input[str]] = None,
|
22
22
|
name: Optional[pulumi.Input[str]] = None,
|
23
|
+
node_type: Optional[pulumi.Input[str]] = None,
|
23
24
|
project: Optional[pulumi.Input[str]] = None,
|
24
25
|
region: Optional[pulumi.Input[str]] = None,
|
25
26
|
replica_count: Optional[pulumi.Input[int]] = None,
|
@@ -36,6 +37,9 @@ class ClusterArgs:
|
|
36
37
|
Possible values are: `AUTH_MODE_UNSPECIFIED`, `AUTH_MODE_IAM_AUTH`, `AUTH_MODE_DISABLED`.
|
37
38
|
:param pulumi.Input[str] name: Unique name of the resource in this scope including project and location using the form:
|
38
39
|
projects/{projectId}/locations/{locationId}/clusters/{clusterId}
|
40
|
+
:param pulumi.Input[str] node_type: The nodeType for the Redis cluster.
|
41
|
+
If not provided, REDIS_HIGHMEM_MEDIUM will be used as default
|
42
|
+
Possible values are: `REDIS_SHARED_CORE_NANO`, `REDIS_HIGHMEM_MEDIUM`, `REDIS_HIGHMEM_XLARGE`, `REDIS_STANDARD_SMALL`.
|
39
43
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
40
44
|
If it is not provided, the provider project is used.
|
41
45
|
:param pulumi.Input[str] region: The name of the region of the Redis cluster.
|
@@ -51,6 +55,8 @@ class ClusterArgs:
|
|
51
55
|
pulumi.set(__self__, "authorization_mode", authorization_mode)
|
52
56
|
if name is not None:
|
53
57
|
pulumi.set(__self__, "name", name)
|
58
|
+
if node_type is not None:
|
59
|
+
pulumi.set(__self__, "node_type", node_type)
|
54
60
|
if project is not None:
|
55
61
|
pulumi.set(__self__, "project", project)
|
56
62
|
if region is not None:
|
@@ -114,6 +120,20 @@ class ClusterArgs:
|
|
114
120
|
def name(self, value: Optional[pulumi.Input[str]]):
|
115
121
|
pulumi.set(self, "name", value)
|
116
122
|
|
123
|
+
@property
|
124
|
+
@pulumi.getter(name="nodeType")
|
125
|
+
def node_type(self) -> Optional[pulumi.Input[str]]:
|
126
|
+
"""
|
127
|
+
The nodeType for the Redis cluster.
|
128
|
+
If not provided, REDIS_HIGHMEM_MEDIUM will be used as default
|
129
|
+
Possible values are: `REDIS_SHARED_CORE_NANO`, `REDIS_HIGHMEM_MEDIUM`, `REDIS_HIGHMEM_XLARGE`, `REDIS_STANDARD_SMALL`.
|
130
|
+
"""
|
131
|
+
return pulumi.get(self, "node_type")
|
132
|
+
|
133
|
+
@node_type.setter
|
134
|
+
def node_type(self, value: Optional[pulumi.Input[str]]):
|
135
|
+
pulumi.set(self, "node_type", value)
|
136
|
+
|
117
137
|
@property
|
118
138
|
@pulumi.getter
|
119
139
|
def project(self) -> Optional[pulumi.Input[str]]:
|
@@ -174,6 +194,8 @@ class _ClusterState:
|
|
174
194
|
create_time: Optional[pulumi.Input[str]] = None,
|
175
195
|
discovery_endpoints: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterDiscoveryEndpointArgs']]]] = None,
|
176
196
|
name: Optional[pulumi.Input[str]] = None,
|
197
|
+
node_type: Optional[pulumi.Input[str]] = None,
|
198
|
+
precise_size_gb: Optional[pulumi.Input[float]] = None,
|
177
199
|
project: Optional[pulumi.Input[str]] = None,
|
178
200
|
psc_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterPscConfigArgs']]]] = None,
|
179
201
|
psc_connections: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterPscConnectionArgs']]]] = None,
|
@@ -199,6 +221,10 @@ class _ClusterState:
|
|
199
221
|
Structure is documented below.
|
200
222
|
:param pulumi.Input[str] name: Unique name of the resource in this scope including project and location using the form:
|
201
223
|
projects/{projectId}/locations/{locationId}/clusters/{clusterId}
|
224
|
+
:param pulumi.Input[str] node_type: The nodeType for the Redis cluster.
|
225
|
+
If not provided, REDIS_HIGHMEM_MEDIUM will be used as default
|
226
|
+
Possible values are: `REDIS_SHARED_CORE_NANO`, `REDIS_HIGHMEM_MEDIUM`, `REDIS_HIGHMEM_XLARGE`, `REDIS_STANDARD_SMALL`.
|
227
|
+
:param pulumi.Input[float] precise_size_gb: Output only. Redis memory precise size in GB for the entire cluster.
|
202
228
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
203
229
|
If it is not provided, the provider project is used.
|
204
230
|
:param pulumi.Input[Sequence[pulumi.Input['ClusterPscConfigArgs']]] psc_configs: Required. Each PscConfig configures the consumer network where two
|
@@ -228,6 +254,10 @@ class _ClusterState:
|
|
228
254
|
pulumi.set(__self__, "discovery_endpoints", discovery_endpoints)
|
229
255
|
if name is not None:
|
230
256
|
pulumi.set(__self__, "name", name)
|
257
|
+
if node_type is not None:
|
258
|
+
pulumi.set(__self__, "node_type", node_type)
|
259
|
+
if precise_size_gb is not None:
|
260
|
+
pulumi.set(__self__, "precise_size_gb", precise_size_gb)
|
231
261
|
if project is not None:
|
232
262
|
pulumi.set(__self__, "project", project)
|
233
263
|
if psc_configs is not None:
|
@@ -307,6 +337,32 @@ class _ClusterState:
|
|
307
337
|
def name(self, value: Optional[pulumi.Input[str]]):
|
308
338
|
pulumi.set(self, "name", value)
|
309
339
|
|
340
|
+
@property
|
341
|
+
@pulumi.getter(name="nodeType")
|
342
|
+
def node_type(self) -> Optional[pulumi.Input[str]]:
|
343
|
+
"""
|
344
|
+
The nodeType for the Redis cluster.
|
345
|
+
If not provided, REDIS_HIGHMEM_MEDIUM will be used as default
|
346
|
+
Possible values are: `REDIS_SHARED_CORE_NANO`, `REDIS_HIGHMEM_MEDIUM`, `REDIS_HIGHMEM_XLARGE`, `REDIS_STANDARD_SMALL`.
|
347
|
+
"""
|
348
|
+
return pulumi.get(self, "node_type")
|
349
|
+
|
350
|
+
@node_type.setter
|
351
|
+
def node_type(self, value: Optional[pulumi.Input[str]]):
|
352
|
+
pulumi.set(self, "node_type", value)
|
353
|
+
|
354
|
+
@property
|
355
|
+
@pulumi.getter(name="preciseSizeGb")
|
356
|
+
def precise_size_gb(self) -> Optional[pulumi.Input[float]]:
|
357
|
+
"""
|
358
|
+
Output only. Redis memory precise size in GB for the entire cluster.
|
359
|
+
"""
|
360
|
+
return pulumi.get(self, "precise_size_gb")
|
361
|
+
|
362
|
+
@precise_size_gb.setter
|
363
|
+
def precise_size_gb(self, value: Optional[pulumi.Input[float]]):
|
364
|
+
pulumi.set(self, "precise_size_gb", value)
|
365
|
+
|
310
366
|
@property
|
311
367
|
@pulumi.getter
|
312
368
|
def project(self) -> Optional[pulumi.Input[str]]:
|
@@ -456,6 +512,7 @@ class Cluster(pulumi.CustomResource):
|
|
456
512
|
opts: Optional[pulumi.ResourceOptions] = None,
|
457
513
|
authorization_mode: Optional[pulumi.Input[str]] = None,
|
458
514
|
name: Optional[pulumi.Input[str]] = None,
|
515
|
+
node_type: Optional[pulumi.Input[str]] = None,
|
459
516
|
project: Optional[pulumi.Input[str]] = None,
|
460
517
|
psc_configs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterPscConfigArgs']]]]] = None,
|
461
518
|
region: Optional[pulumi.Input[str]] = None,
|
@@ -492,6 +549,7 @@ class Cluster(pulumi.CustomResource):
|
|
492
549
|
)],
|
493
550
|
region="us-central1",
|
494
551
|
replica_count=1,
|
552
|
+
node_type="REDIS_SHARED_CORE_NANO",
|
495
553
|
transit_encryption_mode="TRANSIT_ENCRYPTION_MODE_DISABLED",
|
496
554
|
authorization_mode="AUTH_MODE_DISABLED")
|
497
555
|
producer_subnet = gcp.compute.Subnetwork("producer_subnet",
|
@@ -548,6 +606,9 @@ class Cluster(pulumi.CustomResource):
|
|
548
606
|
Possible values are: `AUTH_MODE_UNSPECIFIED`, `AUTH_MODE_IAM_AUTH`, `AUTH_MODE_DISABLED`.
|
549
607
|
:param pulumi.Input[str] name: Unique name of the resource in this scope including project and location using the form:
|
550
608
|
projects/{projectId}/locations/{locationId}/clusters/{clusterId}
|
609
|
+
:param pulumi.Input[str] node_type: The nodeType for the Redis cluster.
|
610
|
+
If not provided, REDIS_HIGHMEM_MEDIUM will be used as default
|
611
|
+
Possible values are: `REDIS_SHARED_CORE_NANO`, `REDIS_HIGHMEM_MEDIUM`, `REDIS_HIGHMEM_XLARGE`, `REDIS_STANDARD_SMALL`.
|
551
612
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
552
613
|
If it is not provided, the provider project is used.
|
553
614
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterPscConfigArgs']]]] psc_configs: Required. Each PscConfig configures the consumer network where two
|
@@ -597,6 +658,7 @@ class Cluster(pulumi.CustomResource):
|
|
597
658
|
)],
|
598
659
|
region="us-central1",
|
599
660
|
replica_count=1,
|
661
|
+
node_type="REDIS_SHARED_CORE_NANO",
|
600
662
|
transit_encryption_mode="TRANSIT_ENCRYPTION_MODE_DISABLED",
|
601
663
|
authorization_mode="AUTH_MODE_DISABLED")
|
602
664
|
producer_subnet = gcp.compute.Subnetwork("producer_subnet",
|
@@ -663,6 +725,7 @@ class Cluster(pulumi.CustomResource):
|
|
663
725
|
opts: Optional[pulumi.ResourceOptions] = None,
|
664
726
|
authorization_mode: Optional[pulumi.Input[str]] = None,
|
665
727
|
name: Optional[pulumi.Input[str]] = None,
|
728
|
+
node_type: Optional[pulumi.Input[str]] = None,
|
666
729
|
project: Optional[pulumi.Input[str]] = None,
|
667
730
|
psc_configs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterPscConfigArgs']]]]] = None,
|
668
731
|
region: Optional[pulumi.Input[str]] = None,
|
@@ -680,6 +743,7 @@ class Cluster(pulumi.CustomResource):
|
|
680
743
|
|
681
744
|
__props__.__dict__["authorization_mode"] = authorization_mode
|
682
745
|
__props__.__dict__["name"] = name
|
746
|
+
__props__.__dict__["node_type"] = node_type
|
683
747
|
__props__.__dict__["project"] = project
|
684
748
|
if psc_configs is None and not opts.urn:
|
685
749
|
raise TypeError("Missing required property 'psc_configs'")
|
@@ -692,6 +756,7 @@ class Cluster(pulumi.CustomResource):
|
|
692
756
|
__props__.__dict__["transit_encryption_mode"] = transit_encryption_mode
|
693
757
|
__props__.__dict__["create_time"] = None
|
694
758
|
__props__.__dict__["discovery_endpoints"] = None
|
759
|
+
__props__.__dict__["precise_size_gb"] = None
|
695
760
|
__props__.__dict__["psc_connections"] = None
|
696
761
|
__props__.__dict__["size_gb"] = None
|
697
762
|
__props__.__dict__["state"] = None
|
@@ -711,6 +776,8 @@ class Cluster(pulumi.CustomResource):
|
|
711
776
|
create_time: Optional[pulumi.Input[str]] = None,
|
712
777
|
discovery_endpoints: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterDiscoveryEndpointArgs']]]]] = None,
|
713
778
|
name: Optional[pulumi.Input[str]] = None,
|
779
|
+
node_type: Optional[pulumi.Input[str]] = None,
|
780
|
+
precise_size_gb: Optional[pulumi.Input[float]] = None,
|
714
781
|
project: Optional[pulumi.Input[str]] = None,
|
715
782
|
psc_configs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterPscConfigArgs']]]]] = None,
|
716
783
|
psc_connections: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterPscConnectionArgs']]]]] = None,
|
@@ -741,6 +808,10 @@ class Cluster(pulumi.CustomResource):
|
|
741
808
|
Structure is documented below.
|
742
809
|
:param pulumi.Input[str] name: Unique name of the resource in this scope including project and location using the form:
|
743
810
|
projects/{projectId}/locations/{locationId}/clusters/{clusterId}
|
811
|
+
:param pulumi.Input[str] node_type: The nodeType for the Redis cluster.
|
812
|
+
If not provided, REDIS_HIGHMEM_MEDIUM will be used as default
|
813
|
+
Possible values are: `REDIS_SHARED_CORE_NANO`, `REDIS_HIGHMEM_MEDIUM`, `REDIS_HIGHMEM_XLARGE`, `REDIS_STANDARD_SMALL`.
|
814
|
+
:param pulumi.Input[float] precise_size_gb: Output only. Redis memory precise size in GB for the entire cluster.
|
744
815
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
745
816
|
If it is not provided, the provider project is used.
|
746
817
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterPscConfigArgs']]]] psc_configs: Required. Each PscConfig configures the consumer network where two
|
@@ -770,6 +841,8 @@ class Cluster(pulumi.CustomResource):
|
|
770
841
|
__props__.__dict__["create_time"] = create_time
|
771
842
|
__props__.__dict__["discovery_endpoints"] = discovery_endpoints
|
772
843
|
__props__.__dict__["name"] = name
|
844
|
+
__props__.__dict__["node_type"] = node_type
|
845
|
+
__props__.__dict__["precise_size_gb"] = precise_size_gb
|
773
846
|
__props__.__dict__["project"] = project
|
774
847
|
__props__.__dict__["psc_configs"] = psc_configs
|
775
848
|
__props__.__dict__["psc_connections"] = psc_connections
|
@@ -823,6 +896,24 @@ class Cluster(pulumi.CustomResource):
|
|
823
896
|
"""
|
824
897
|
return pulumi.get(self, "name")
|
825
898
|
|
899
|
+
@property
|
900
|
+
@pulumi.getter(name="nodeType")
|
901
|
+
def node_type(self) -> pulumi.Output[str]:
|
902
|
+
"""
|
903
|
+
The nodeType for the Redis cluster.
|
904
|
+
If not provided, REDIS_HIGHMEM_MEDIUM will be used as default
|
905
|
+
Possible values are: `REDIS_SHARED_CORE_NANO`, `REDIS_HIGHMEM_MEDIUM`, `REDIS_HIGHMEM_XLARGE`, `REDIS_STANDARD_SMALL`.
|
906
|
+
"""
|
907
|
+
return pulumi.get(self, "node_type")
|
908
|
+
|
909
|
+
@property
|
910
|
+
@pulumi.getter(name="preciseSizeGb")
|
911
|
+
def precise_size_gb(self) -> pulumi.Output[float]:
|
912
|
+
"""
|
913
|
+
Output only. Redis memory precise size in GB for the entire cluster.
|
914
|
+
"""
|
915
|
+
return pulumi.get(self, "precise_size_gb")
|
916
|
+
|
826
917
|
@property
|
827
918
|
@pulumi.getter
|
828
919
|
def project(self) -> pulumi.Output[str]:
|
pulumi_gcp/storage/bucket.py
CHANGED
@@ -401,6 +401,7 @@ class _BucketState:
|
|
401
401
|
logging: Optional[pulumi.Input['BucketLoggingArgs']] = None,
|
402
402
|
name: Optional[pulumi.Input[str]] = None,
|
403
403
|
project: Optional[pulumi.Input[str]] = None,
|
404
|
+
project_number: Optional[pulumi.Input[int]] = None,
|
404
405
|
public_access_prevention: Optional[pulumi.Input[str]] = None,
|
405
406
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
406
407
|
requester_pays: Optional[pulumi.Input[bool]] = None,
|
@@ -435,6 +436,7 @@ class _BucketState:
|
|
435
436
|
:param pulumi.Input[str] name: The name of the bucket.
|
436
437
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it
|
437
438
|
is not provided, the provider project is used.
|
439
|
+
:param pulumi.Input[int] project_number: The project number of the project in which the resource belongs.
|
438
440
|
:param pulumi.Input[str] public_access_prevention: Prevents public access to a bucket. Acceptable values are "inherited" or "enforced". If "inherited", the bucket uses [public access prevention](https://cloud.google.com/storage/docs/public-access-prevention). only if the bucket is subject to the public access prevention organization policy constraint. Defaults to "inherited".
|
439
441
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource and default labels configured on the provider.
|
440
442
|
:param pulumi.Input[bool] requester_pays: Enables [Requester Pays](https://cloud.google.com/storage/docs/requester-pays) on a storage bucket.
|
@@ -477,6 +479,8 @@ class _BucketState:
|
|
477
479
|
pulumi.set(__self__, "name", name)
|
478
480
|
if project is not None:
|
479
481
|
pulumi.set(__self__, "project", project)
|
482
|
+
if project_number is not None:
|
483
|
+
pulumi.set(__self__, "project_number", project_number)
|
480
484
|
if public_access_prevention is not None:
|
481
485
|
pulumi.set(__self__, "public_access_prevention", public_access_prevention)
|
482
486
|
if pulumi_labels is not None:
|
@@ -676,6 +680,18 @@ class _BucketState:
|
|
676
680
|
def project(self, value: Optional[pulumi.Input[str]]):
|
677
681
|
pulumi.set(self, "project", value)
|
678
682
|
|
683
|
+
@property
|
684
|
+
@pulumi.getter(name="projectNumber")
|
685
|
+
def project_number(self) -> Optional[pulumi.Input[int]]:
|
686
|
+
"""
|
687
|
+
The project number of the project in which the resource belongs.
|
688
|
+
"""
|
689
|
+
return pulumi.get(self, "project_number")
|
690
|
+
|
691
|
+
@project_number.setter
|
692
|
+
def project_number(self, value: Optional[pulumi.Input[int]]):
|
693
|
+
pulumi.set(self, "project_number", value)
|
694
|
+
|
679
695
|
@property
|
680
696
|
@pulumi.getter(name="publicAccessPrevention")
|
681
697
|
def public_access_prevention(self) -> Optional[pulumi.Input[str]]:
|
@@ -1202,6 +1218,7 @@ class Bucket(pulumi.CustomResource):
|
|
1202
1218
|
__props__.__dict__["versioning"] = versioning
|
1203
1219
|
__props__.__dict__["website"] = website
|
1204
1220
|
__props__.__dict__["effective_labels"] = None
|
1221
|
+
__props__.__dict__["project_number"] = None
|
1205
1222
|
__props__.__dict__["pulumi_labels"] = None
|
1206
1223
|
__props__.__dict__["self_link"] = None
|
1207
1224
|
__props__.__dict__["url"] = None
|
@@ -1231,6 +1248,7 @@ class Bucket(pulumi.CustomResource):
|
|
1231
1248
|
logging: Optional[pulumi.Input[pulumi.InputType['BucketLoggingArgs']]] = None,
|
1232
1249
|
name: Optional[pulumi.Input[str]] = None,
|
1233
1250
|
project: Optional[pulumi.Input[str]] = None,
|
1251
|
+
project_number: Optional[pulumi.Input[int]] = None,
|
1234
1252
|
public_access_prevention: Optional[pulumi.Input[str]] = None,
|
1235
1253
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1236
1254
|
requester_pays: Optional[pulumi.Input[bool]] = None,
|
@@ -1270,6 +1288,7 @@ class Bucket(pulumi.CustomResource):
|
|
1270
1288
|
:param pulumi.Input[str] name: The name of the bucket.
|
1271
1289
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it
|
1272
1290
|
is not provided, the provider project is used.
|
1291
|
+
:param pulumi.Input[int] project_number: The project number of the project in which the resource belongs.
|
1273
1292
|
:param pulumi.Input[str] public_access_prevention: Prevents public access to a bucket. Acceptable values are "inherited" or "enforced". If "inherited", the bucket uses [public access prevention](https://cloud.google.com/storage/docs/public-access-prevention). only if the bucket is subject to the public access prevention organization policy constraint. Defaults to "inherited".
|
1274
1293
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource and default labels configured on the provider.
|
1275
1294
|
:param pulumi.Input[bool] requester_pays: Enables [Requester Pays](https://cloud.google.com/storage/docs/requester-pays) on a storage bucket.
|
@@ -1302,6 +1321,7 @@ class Bucket(pulumi.CustomResource):
|
|
1302
1321
|
__props__.__dict__["logging"] = logging
|
1303
1322
|
__props__.__dict__["name"] = name
|
1304
1323
|
__props__.__dict__["project"] = project
|
1324
|
+
__props__.__dict__["project_number"] = project_number
|
1305
1325
|
__props__.__dict__["public_access_prevention"] = public_access_prevention
|
1306
1326
|
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
1307
1327
|
__props__.__dict__["requester_pays"] = requester_pays
|
@@ -1434,6 +1454,14 @@ class Bucket(pulumi.CustomResource):
|
|
1434
1454
|
"""
|
1435
1455
|
return pulumi.get(self, "project")
|
1436
1456
|
|
1457
|
+
@property
|
1458
|
+
@pulumi.getter(name="projectNumber")
|
1459
|
+
def project_number(self) -> pulumi.Output[int]:
|
1460
|
+
"""
|
1461
|
+
The project number of the project in which the resource belongs.
|
1462
|
+
"""
|
1463
|
+
return pulumi.get(self, "project_number")
|
1464
|
+
|
1437
1465
|
@property
|
1438
1466
|
@pulumi.getter(name="publicAccessPrevention")
|
1439
1467
|
def public_access_prevention(self) -> pulumi.Output[str]:
|
pulumi_gcp/storage/get_bucket.py
CHANGED
@@ -22,7 +22,7 @@ class GetBucketResult:
|
|
22
22
|
"""
|
23
23
|
A collection of values returned by getBucket.
|
24
24
|
"""
|
25
|
-
def __init__(__self__, autoclasses=None, cors=None, custom_placement_configs=None, default_event_based_hold=None, effective_labels=None, enable_object_retention=None, encryptions=None, force_destroy=None, id=None, labels=None, lifecycle_rules=None, location=None, loggings=None, name=None, project=None, public_access_prevention=None, pulumi_labels=None, requester_pays=None, retention_policies=None, rpo=None, self_link=None, soft_delete_policies=None, storage_class=None, uniform_bucket_level_access=None, url=None, versionings=None, websites=None):
|
25
|
+
def __init__(__self__, autoclasses=None, cors=None, custom_placement_configs=None, default_event_based_hold=None, effective_labels=None, enable_object_retention=None, encryptions=None, force_destroy=None, id=None, labels=None, lifecycle_rules=None, location=None, loggings=None, name=None, project=None, project_number=None, public_access_prevention=None, pulumi_labels=None, requester_pays=None, retention_policies=None, rpo=None, self_link=None, soft_delete_policies=None, storage_class=None, uniform_bucket_level_access=None, url=None, versionings=None, websites=None):
|
26
26
|
if autoclasses and not isinstance(autoclasses, list):
|
27
27
|
raise TypeError("Expected argument 'autoclasses' to be a list")
|
28
28
|
pulumi.set(__self__, "autoclasses", autoclasses)
|
@@ -68,6 +68,9 @@ class GetBucketResult:
|
|
68
68
|
if project and not isinstance(project, str):
|
69
69
|
raise TypeError("Expected argument 'project' to be a str")
|
70
70
|
pulumi.set(__self__, "project", project)
|
71
|
+
if project_number and not isinstance(project_number, int):
|
72
|
+
raise TypeError("Expected argument 'project_number' to be a int")
|
73
|
+
pulumi.set(__self__, "project_number", project_number)
|
71
74
|
if public_access_prevention and not isinstance(public_access_prevention, str):
|
72
75
|
raise TypeError("Expected argument 'public_access_prevention' to be a str")
|
73
76
|
pulumi.set(__self__, "public_access_prevention", public_access_prevention)
|
@@ -180,9 +183,14 @@ class GetBucketResult:
|
|
180
183
|
|
181
184
|
@property
|
182
185
|
@pulumi.getter
|
183
|
-
def project(self) -> str:
|
186
|
+
def project(self) -> Optional[str]:
|
184
187
|
return pulumi.get(self, "project")
|
185
188
|
|
189
|
+
@property
|
190
|
+
@pulumi.getter(name="projectNumber")
|
191
|
+
def project_number(self) -> int:
|
192
|
+
return pulumi.get(self, "project_number")
|
193
|
+
|
186
194
|
@property
|
187
195
|
@pulumi.getter(name="publicAccessPrevention")
|
188
196
|
def public_access_prevention(self) -> str:
|
@@ -265,6 +273,7 @@ class AwaitableGetBucketResult(GetBucketResult):
|
|
265
273
|
loggings=self.loggings,
|
266
274
|
name=self.name,
|
267
275
|
project=self.project,
|
276
|
+
project_number=self.project_number,
|
268
277
|
public_access_prevention=self.public_access_prevention,
|
269
278
|
pulumi_labels=self.pulumi_labels,
|
270
279
|
requester_pays=self.requester_pays,
|
@@ -280,6 +289,7 @@ class AwaitableGetBucketResult(GetBucketResult):
|
|
280
289
|
|
281
290
|
|
282
291
|
def get_bucket(name: Optional[str] = None,
|
292
|
+
project: Optional[str] = None,
|
283
293
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBucketResult:
|
284
294
|
"""
|
285
295
|
Gets an existing bucket in Google Cloud Storage service (GCS).
|
@@ -300,9 +310,11 @@ def get_bucket(name: Optional[str] = None,
|
|
300
310
|
|
301
311
|
|
302
312
|
:param str name: The name of the bucket.
|
313
|
+
:param str project: The ID of the project in which the resource belongs. If it is not provided, the provider project is used. If no value is supplied in the configuration or through provider defaults then the data source will use the Compute API to find the project id that corresponds to the project number returned from the Storage API. Supplying a value for `project` doesn't influence retrieving data about the bucket but it can be used to prevent use of the Compute API. If you do provide a `project` value ensure that it is the correct value for that bucket; the data source will not check that the project id and project number match.
|
303
314
|
"""
|
304
315
|
__args__ = dict()
|
305
316
|
__args__['name'] = name
|
317
|
+
__args__['project'] = project
|
306
318
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
307
319
|
__ret__ = pulumi.runtime.invoke('gcp:storage/getBucket:getBucket', __args__, opts=opts, typ=GetBucketResult).value
|
308
320
|
|
@@ -322,6 +334,7 @@ def get_bucket(name: Optional[str] = None,
|
|
322
334
|
loggings=pulumi.get(__ret__, 'loggings'),
|
323
335
|
name=pulumi.get(__ret__, 'name'),
|
324
336
|
project=pulumi.get(__ret__, 'project'),
|
337
|
+
project_number=pulumi.get(__ret__, 'project_number'),
|
325
338
|
public_access_prevention=pulumi.get(__ret__, 'public_access_prevention'),
|
326
339
|
pulumi_labels=pulumi.get(__ret__, 'pulumi_labels'),
|
327
340
|
requester_pays=pulumi.get(__ret__, 'requester_pays'),
|
@@ -338,6 +351,7 @@ def get_bucket(name: Optional[str] = None,
|
|
338
351
|
|
339
352
|
@_utilities.lift_output_func(get_bucket)
|
340
353
|
def get_bucket_output(name: Optional[pulumi.Input[str]] = None,
|
354
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
341
355
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBucketResult]:
|
342
356
|
"""
|
343
357
|
Gets an existing bucket in Google Cloud Storage service (GCS).
|
@@ -358,5 +372,6 @@ def get_bucket_output(name: Optional[pulumi.Input[str]] = None,
|
|
358
372
|
|
359
373
|
|
360
374
|
:param str name: The name of the bucket.
|
375
|
+
:param str project: The ID of the project in which the resource belongs. If it is not provided, the provider project is used. If no value is supplied in the configuration or through provider defaults then the data source will use the Compute API to find the project id that corresponds to the project number returned from the Storage API. Supplying a value for `project` doesn't influence retrieving data about the bucket but it can be used to prevent use of the Compute API. If you do provide a `project` value ensure that it is the correct value for that bucket; the data source will not check that the project id and project number match.
|
361
376
|
"""
|
362
377
|
...
|
pulumi_gcp/vertex/__init__.py
CHANGED
@@ -6,6 +6,7 @@ from .. import _utilities
|
|
6
6
|
import typing
|
7
7
|
# Export this package's modules as members:
|
8
8
|
from .ai_dataset import *
|
9
|
+
from .ai_deployment_resource_pool import *
|
9
10
|
from .ai_endpoint import *
|
10
11
|
from .ai_endpoint_iam_binding import *
|
11
12
|
from .ai_endpoint_iam_member import *
|