pulumi-gcp 8.22.0a1741790977__py3-none-any.whl → 8.23.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 +64 -0
- pulumi_gcp/alloydb/_inputs.py +93 -1
- pulumi_gcp/alloydb/outputs.py +128 -2
- pulumi_gcp/applicationintegration/client.py +18 -24
- pulumi_gcp/backupdisasterrecovery/_inputs.py +3 -3
- pulumi_gcp/backupdisasterrecovery/outputs.py +4 -4
- pulumi_gcp/bigquery/_inputs.py +20 -0
- pulumi_gcp/bigquery/outputs.py +12 -0
- pulumi_gcp/bigquery/table.py +61 -0
- pulumi_gcp/bigtable/table.py +7 -7
- pulumi_gcp/certificatemanager/certificate.py +53 -7
- pulumi_gcp/certificatemanager/outputs.py +8 -2
- pulumi_gcp/clouddeploy/_inputs.py +20 -0
- pulumi_gcp/clouddeploy/outputs.py +15 -1
- pulumi_gcp/cloudfunctions/function.py +11 -11
- pulumi_gcp/cloudfunctionsv2/function.py +24 -24
- pulumi_gcp/cloudidentity/get_group_transitive_memberships.py +41 -2
- pulumi_gcp/cloudidentity/outputs.py +18 -38
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +600 -17
- pulumi_gcp/compute/backend_service.py +195 -7
- pulumi_gcp/compute/disk.py +108 -0
- pulumi_gcp/compute/firewall_policy.py +20 -0
- pulumi_gcp/compute/firewall_policy_association.py +28 -2
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/get_disk.py +23 -1
- pulumi_gcp/compute/get_region_disk.py +23 -1
- pulumi_gcp/compute/get_region_ssl_policy.py +203 -0
- pulumi_gcp/compute/outputs.py +623 -23
- pulumi_gcp/compute/region_backend_service.py +193 -7
- pulumi_gcp/compute/region_disk.py +114 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +2 -2
- pulumi_gcp/compute/shared_vpc_service_project.py +0 -4
- pulumi_gcp/compute/subnetwork.py +256 -1
- pulumi_gcp/compute/target_https_proxy.py +7 -7
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +6 -6
- pulumi_gcp/container/get_attached_versions.py +2 -2
- pulumi_gcp/container/outputs.py +8 -8
- pulumi_gcp/dataform/repository.py +49 -0
- pulumi_gcp/dataproc/get_metastore_service.py +26 -4
- pulumi_gcp/dataproc/metastore_federation.py +56 -0
- pulumi_gcp/dataproc/metastore_service.py +58 -2
- pulumi_gcp/datastream/_inputs.py +273 -0
- pulumi_gcp/datastream/connection_profile.py +54 -2
- pulumi_gcp/datastream/outputs.py +224 -0
- pulumi_gcp/eventarc/__init__.py +2 -0
- pulumi_gcp/eventarc/_inputs.py +1798 -0
- pulumi_gcp/eventarc/channel.py +85 -93
- pulumi_gcp/eventarc/google_api_source.py +997 -0
- pulumi_gcp/eventarc/outputs.py +1378 -0
- pulumi_gcp/eventarc/pipeline.py +1596 -0
- pulumi_gcp/firebase/__init__.py +1 -0
- pulumi_gcp/firebase/_inputs.py +154 -0
- pulumi_gcp/firebase/app_hosting_backend.py +1303 -0
- pulumi_gcp/firebase/data_connect_service.py +40 -2
- pulumi_gcp/firebase/hosting_version.py +2 -2
- pulumi_gcp/firebase/outputs.py +127 -0
- pulumi_gcp/iam/__init__.py +2 -0
- pulumi_gcp/iam/_inputs.py +51 -18
- pulumi_gcp/iam/folders_policy_binding.py +10 -26
- pulumi_gcp/iam/oauth_client.py +979 -0
- pulumi_gcp/iam/oauth_client_credential.py +641 -0
- pulumi_gcp/iam/organizations_policy_binding.py +8 -24
- pulumi_gcp/iam/outputs.py +34 -12
- pulumi_gcp/iam/principal_access_boundary_policy.py +58 -22
- pulumi_gcp/iam/projects_policy_binding.py +8 -24
- pulumi_gcp/kms/crypto_key_version.py +14 -7
- pulumi_gcp/kms/get_key_rings.py +39 -2
- pulumi_gcp/managedkafka/__init__.py +2 -0
- pulumi_gcp/managedkafka/_inputs.py +263 -0
- pulumi_gcp/managedkafka/connect_cluster.py +795 -0
- pulumi_gcp/managedkafka/connector.py +695 -0
- pulumi_gcp/managedkafka/outputs.py +248 -0
- pulumi_gcp/memorystore/instance.py +7 -7
- pulumi_gcp/monitoring/_inputs.py +15 -18
- pulumi_gcp/monitoring/alert_policy.py +46 -0
- pulumi_gcp/monitoring/outputs.py +10 -12
- pulumi_gcp/monitoring/uptime_check_config.py +2 -2
- pulumi_gcp/networksecurity/__init__.py +1 -0
- pulumi_gcp/networksecurity/_inputs.py +673 -18
- pulumi_gcp/networksecurity/backend_authentication_config.py +847 -0
- pulumi_gcp/networksecurity/gateway_security_policy.py +0 -7
- pulumi_gcp/networksecurity/intercept_deployment.py +178 -94
- pulumi_gcp/networksecurity/intercept_deployment_group.py +161 -77
- pulumi_gcp/networksecurity/intercept_endpoint_group.py +161 -66
- pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +137 -80
- pulumi_gcp/networksecurity/mirroring_deployment.py +200 -94
- pulumi_gcp/networksecurity/mirroring_deployment_group.py +181 -77
- pulumi_gcp/networksecurity/mirroring_endpoint_group.py +185 -80
- pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +165 -105
- pulumi_gcp/networksecurity/outputs.py +495 -12
- pulumi_gcp/networksecurity/tls_inspection_policy.py +14 -0
- pulumi_gcp/networkservices/endpoint_policy.py +12 -0
- pulumi_gcp/networkservices/gateway.py +242 -120
- pulumi_gcp/networkservices/grpc_route.py +12 -0
- pulumi_gcp/networkservices/http_route.py +16 -0
- pulumi_gcp/networkservices/mesh.py +16 -0
- pulumi_gcp/networkservices/service_binding.py +14 -0
- pulumi_gcp/networkservices/tcp_route.py +16 -0
- pulumi_gcp/networkservices/tls_route.py +12 -0
- pulumi_gcp/projects/__init__.py +2 -0
- pulumi_gcp/projects/get_iam_custom_role.py +198 -0
- pulumi_gcp/projects/get_iam_custom_roles.py +164 -0
- pulumi_gcp/projects/outputs.py +96 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/servicenetworking/peered_dns_domain.py +4 -0
- pulumi_gcp/sql/outputs.py +8 -8
- pulumi_gcp/storage/_inputs.py +14 -6
- pulumi_gcp/storage/insights_report_config.py +121 -20
- pulumi_gcp/storage/outputs.py +7 -4
- pulumi_gcp/tpu/_inputs.py +21 -1
- pulumi_gcp/tpu/outputs.py +13 -1
- pulumi_gcp/tpu/v2_vm.py +2 -0
- pulumi_gcp/vmwareengine/_inputs.py +6 -0
- pulumi_gcp/vmwareengine/outputs.py +8 -0
- pulumi_gcp/workflows/workflow.py +75 -7
- pulumi_gcp/workstations/workstation_cluster.py +137 -1
- {pulumi_gcp-8.22.0a1741790977.dist-info → pulumi_gcp-8.23.0.dist-info}/METADATA +2 -2
- {pulumi_gcp-8.22.0a1741790977.dist-info → pulumi_gcp-8.23.0.dist-info}/RECORD +124 -113
- {pulumi_gcp-8.22.0a1741790977.dist-info → pulumi_gcp-8.23.0.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.22.0a1741790977.dist-info → pulumi_gcp-8.23.0.dist-info}/top_level.txt +0 -0
@@ -260,7 +260,7 @@ class BackupPlanBackupRuleStandardSchedule(dict):
|
|
260
260
|
Structure is documented below.
|
261
261
|
:param Sequence[int] days_of_months: Specifies days of months like 1, 5, or 14 on which jobs will run.
|
262
262
|
:param Sequence[str] days_of_weeks: Specifies days of week like MONDAY or TUESDAY, on which jobs will run. This is required for `recurrence_type`, `WEEKLY` and is not applicable otherwise.
|
263
|
-
Each value may be one of: `DAY_OF_WEEK_UNSPECIFIED`, `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`.
|
263
|
+
Each value may be one of: `DAY_OF_WEEK_UNSPECIFIED`, `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`.
|
264
264
|
:param int hourly_frequency: Specifies frequency for hourly backups. An hourly frequency of 2 means jobs will run every 2 hours from start time till end time defined.
|
265
265
|
This is required for `recurrence_type`, `HOURLY` and is not applicable otherwise.
|
266
266
|
:param Sequence[str] months: Specifies values of months
|
@@ -323,7 +323,7 @@ class BackupPlanBackupRuleStandardSchedule(dict):
|
|
323
323
|
def days_of_weeks(self) -> Optional[Sequence[str]]:
|
324
324
|
"""
|
325
325
|
Specifies days of week like MONDAY or TUESDAY, on which jobs will run. This is required for `recurrence_type`, `WEEKLY` and is not applicable otherwise.
|
326
|
-
Each value may be one of: `DAY_OF_WEEK_UNSPECIFIED`, `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`.
|
326
|
+
Each value may be one of: `DAY_OF_WEEK_UNSPECIFIED`, `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`.
|
327
327
|
"""
|
328
328
|
return pulumi.get(self, "days_of_weeks")
|
329
329
|
|
@@ -751,7 +751,7 @@ class GetBackupPlanBackupRuleStandardScheduleResult(dict):
|
|
751
751
|
:param Sequence['GetBackupPlanBackupRuleStandardScheduleBackupWindowArgs'] backup_windows: A BackupWindow defines the window of the day during which backup jobs will run. Jobs are queued at the beginning of the window and will be marked as
|
752
752
|
'NOT_RUN' if they do not start by the end of the window.
|
753
753
|
:param Sequence[int] days_of_months: Specifies days of months like 1, 5, or 14 on which jobs will run.
|
754
|
-
:param Sequence[str] days_of_weeks: Specifies days of week like MONDAY or TUESDAY, on which jobs will run. This is required for 'recurrence_type', 'WEEKLY' and is not applicable otherwise. Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY"]
|
754
|
+
:param Sequence[str] days_of_weeks: Specifies days of week like MONDAY or TUESDAY, on which jobs will run. This is required for 'recurrence_type', 'WEEKLY' and is not applicable otherwise. Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
|
755
755
|
:param int hourly_frequency: Specifies frequency for hourly backups. An hourly frequency of 2 means jobs will run every 2 hours from start time till end time defined.
|
756
756
|
This is required for 'recurrence_type', 'HOURLY' and is not applicable otherwise.
|
757
757
|
:param Sequence[str] months: Specifies values of months Possible values: ["MONTH_UNSPECIFIED", "JANUARY", "FEBRUARY", "MARCH", "APRIL", "MAY", "JUNE", "JULY", "AUGUST", "SEPTEMBER", "OCTOBER", "NOVEMBER", "DECEMBER"]
|
@@ -789,7 +789,7 @@ class GetBackupPlanBackupRuleStandardScheduleResult(dict):
|
|
789
789
|
@pulumi.getter(name="daysOfWeeks")
|
790
790
|
def days_of_weeks(self) -> Sequence[str]:
|
791
791
|
"""
|
792
|
-
Specifies days of week like MONDAY or TUESDAY, on which jobs will run. This is required for 'recurrence_type', 'WEEKLY' and is not applicable otherwise. Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY"]
|
792
|
+
Specifies days of week like MONDAY or TUESDAY, on which jobs will run. This is required for 'recurrence_type', 'WEEKLY' and is not applicable otherwise. Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
|
793
793
|
"""
|
794
794
|
return pulumi.get(self, "days_of_weeks")
|
795
795
|
|
pulumi_gcp/bigquery/_inputs.py
CHANGED
@@ -4099,6 +4099,10 @@ if not MYPY:
|
|
4099
4099
|
Requires destinationTable to be set. For standard SQL queries, this flag is ignored and large results are always allowed.
|
4100
4100
|
However, you must still set destinationTable when result size exceeds the allowed maximum response size.
|
4101
4101
|
"""
|
4102
|
+
continuous: NotRequired[pulumi.Input[bool]]
|
4103
|
+
"""
|
4104
|
+
Whether to run the query as continuous or a regular query.
|
4105
|
+
"""
|
4102
4106
|
create_disposition: NotRequired[pulumi.Input[str]]
|
4103
4107
|
"""
|
4104
4108
|
Specifies whether the job is allowed to create new tables. The following values are supported:
|
@@ -4200,6 +4204,7 @@ class JobQueryArgs:
|
|
4200
4204
|
def __init__(__self__, *,
|
4201
4205
|
query: pulumi.Input[str],
|
4202
4206
|
allow_large_results: Optional[pulumi.Input[bool]] = None,
|
4207
|
+
continuous: Optional[pulumi.Input[bool]] = None,
|
4203
4208
|
create_disposition: Optional[pulumi.Input[str]] = None,
|
4204
4209
|
default_dataset: Optional[pulumi.Input['JobQueryDefaultDatasetArgs']] = None,
|
4205
4210
|
destination_encryption_configuration: Optional[pulumi.Input['JobQueryDestinationEncryptionConfigurationArgs']] = None,
|
@@ -4222,6 +4227,7 @@ class JobQueryArgs:
|
|
4222
4227
|
:param pulumi.Input[bool] allow_large_results: If true and query uses legacy SQL dialect, allows the query to produce arbitrarily large result tables at a slight cost in performance.
|
4223
4228
|
Requires destinationTable to be set. For standard SQL queries, this flag is ignored and large results are always allowed.
|
4224
4229
|
However, you must still set destinationTable when result size exceeds the allowed maximum response size.
|
4230
|
+
:param pulumi.Input[bool] continuous: Whether to run the query as continuous or a regular query.
|
4225
4231
|
:param pulumi.Input[str] create_disposition: Specifies whether the job is allowed to create new tables. The following values are supported:
|
4226
4232
|
CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table.
|
4227
4233
|
CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result.
|
@@ -4274,6 +4280,8 @@ class JobQueryArgs:
|
|
4274
4280
|
pulumi.set(__self__, "query", query)
|
4275
4281
|
if allow_large_results is not None:
|
4276
4282
|
pulumi.set(__self__, "allow_large_results", allow_large_results)
|
4283
|
+
if continuous is not None:
|
4284
|
+
pulumi.set(__self__, "continuous", continuous)
|
4277
4285
|
if create_disposition is not None:
|
4278
4286
|
pulumi.set(__self__, "create_disposition", create_disposition)
|
4279
4287
|
if default_dataset is not None:
|
@@ -4333,6 +4341,18 @@ class JobQueryArgs:
|
|
4333
4341
|
def allow_large_results(self, value: Optional[pulumi.Input[bool]]):
|
4334
4342
|
pulumi.set(self, "allow_large_results", value)
|
4335
4343
|
|
4344
|
+
@property
|
4345
|
+
@pulumi.getter
|
4346
|
+
def continuous(self) -> Optional[pulumi.Input[bool]]:
|
4347
|
+
"""
|
4348
|
+
Whether to run the query as continuous or a regular query.
|
4349
|
+
"""
|
4350
|
+
return pulumi.get(self, "continuous")
|
4351
|
+
|
4352
|
+
@continuous.setter
|
4353
|
+
def continuous(self, value: Optional[pulumi.Input[bool]]):
|
4354
|
+
pulumi.set(self, "continuous", value)
|
4355
|
+
|
4336
4356
|
@property
|
4337
4357
|
@pulumi.getter(name="createDisposition")
|
4338
4358
|
def create_disposition(self) -> Optional[pulumi.Input[str]]:
|
pulumi_gcp/bigquery/outputs.py
CHANGED
@@ -3274,6 +3274,7 @@ class JobQuery(dict):
|
|
3274
3274
|
def __init__(__self__, *,
|
3275
3275
|
query: str,
|
3276
3276
|
allow_large_results: Optional[bool] = None,
|
3277
|
+
continuous: Optional[bool] = None,
|
3277
3278
|
create_disposition: Optional[str] = None,
|
3278
3279
|
default_dataset: Optional['outputs.JobQueryDefaultDataset'] = None,
|
3279
3280
|
destination_encryption_configuration: Optional['outputs.JobQueryDestinationEncryptionConfiguration'] = None,
|
@@ -3296,6 +3297,7 @@ class JobQuery(dict):
|
|
3296
3297
|
:param bool allow_large_results: If true and query uses legacy SQL dialect, allows the query to produce arbitrarily large result tables at a slight cost in performance.
|
3297
3298
|
Requires destinationTable to be set. For standard SQL queries, this flag is ignored and large results are always allowed.
|
3298
3299
|
However, you must still set destinationTable when result size exceeds the allowed maximum response size.
|
3300
|
+
:param bool continuous: Whether to run the query as continuous or a regular query.
|
3299
3301
|
:param str create_disposition: Specifies whether the job is allowed to create new tables. The following values are supported:
|
3300
3302
|
CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table.
|
3301
3303
|
CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result.
|
@@ -3348,6 +3350,8 @@ class JobQuery(dict):
|
|
3348
3350
|
pulumi.set(__self__, "query", query)
|
3349
3351
|
if allow_large_results is not None:
|
3350
3352
|
pulumi.set(__self__, "allow_large_results", allow_large_results)
|
3353
|
+
if continuous is not None:
|
3354
|
+
pulumi.set(__self__, "continuous", continuous)
|
3351
3355
|
if create_disposition is not None:
|
3352
3356
|
pulumi.set(__self__, "create_disposition", create_disposition)
|
3353
3357
|
if default_dataset is not None:
|
@@ -3399,6 +3403,14 @@ class JobQuery(dict):
|
|
3399
3403
|
"""
|
3400
3404
|
return pulumi.get(self, "allow_large_results")
|
3401
3405
|
|
3406
|
+
@property
|
3407
|
+
@pulumi.getter
|
3408
|
+
def continuous(self) -> Optional[bool]:
|
3409
|
+
"""
|
3410
|
+
Whether to run the query as continuous or a regular query.
|
3411
|
+
"""
|
3412
|
+
return pulumi.get(self, "continuous")
|
3413
|
+
|
3402
3414
|
@property
|
3403
3415
|
@pulumi.getter(name="createDisposition")
|
3404
3416
|
def create_disposition(self) -> Optional[str]:
|
pulumi_gcp/bigquery/table.py
CHANGED
@@ -42,6 +42,7 @@ class TableArgs:
|
|
42
42
|
schema: Optional[pulumi.Input[str]] = None,
|
43
43
|
schema_foreign_type_info: Optional[pulumi.Input['TableSchemaForeignTypeInfoArgs']] = None,
|
44
44
|
table_constraints: Optional[pulumi.Input['TableTableConstraintsArgs']] = None,
|
45
|
+
table_metadata_view: Optional[pulumi.Input[str]] = None,
|
45
46
|
table_replication_info: Optional[pulumi.Input['TableTableReplicationInfoArgs']] = None,
|
46
47
|
time_partitioning: Optional[pulumi.Input['TableTimePartitioningArgs']] = None,
|
47
48
|
view: Optional[pulumi.Input['TableViewArgs']] = None):
|
@@ -98,6 +99,9 @@ class TableArgs:
|
|
98
99
|
:param pulumi.Input['TableSchemaForeignTypeInfoArgs'] schema_foreign_type_info: Specifies metadata of the foreign data type definition in field schema.
|
99
100
|
:param pulumi.Input['TableTableConstraintsArgs'] table_constraints: Defines the primary key and foreign keys.
|
100
101
|
Structure is documented below.
|
102
|
+
:param pulumi.Input[str] table_metadata_view: View sets the optional parameter "view": Specifies the view that determines which table information is returned. By
|
103
|
+
default, basic table information and storage statistics (STORAGE_STATS) are returned. Possible values:
|
104
|
+
TABLE_METADATA_VIEW_UNSPECIFIED, BASIC, STORAGE_STATS, FULL
|
101
105
|
:param pulumi.Input['TableTableReplicationInfoArgs'] table_replication_info: Replication info of a table created
|
102
106
|
using "AS REPLICA" DDL like:
|
103
107
|
`CREATE MATERIALIZED VIEW mv1 AS REPLICA OF src_mv`.
|
@@ -147,6 +151,8 @@ class TableArgs:
|
|
147
151
|
pulumi.set(__self__, "schema_foreign_type_info", schema_foreign_type_info)
|
148
152
|
if table_constraints is not None:
|
149
153
|
pulumi.set(__self__, "table_constraints", table_constraints)
|
154
|
+
if table_metadata_view is not None:
|
155
|
+
pulumi.set(__self__, "table_metadata_view", table_metadata_view)
|
150
156
|
if table_replication_info is not None:
|
151
157
|
pulumi.set(__self__, "table_replication_info", table_replication_info)
|
152
158
|
if time_partitioning is not None:
|
@@ -436,6 +442,20 @@ class TableArgs:
|
|
436
442
|
def table_constraints(self, value: Optional[pulumi.Input['TableTableConstraintsArgs']]):
|
437
443
|
pulumi.set(self, "table_constraints", value)
|
438
444
|
|
445
|
+
@property
|
446
|
+
@pulumi.getter(name="tableMetadataView")
|
447
|
+
def table_metadata_view(self) -> Optional[pulumi.Input[str]]:
|
448
|
+
"""
|
449
|
+
View sets the optional parameter "view": Specifies the view that determines which table information is returned. By
|
450
|
+
default, basic table information and storage statistics (STORAGE_STATS) are returned. Possible values:
|
451
|
+
TABLE_METADATA_VIEW_UNSPECIFIED, BASIC, STORAGE_STATS, FULL
|
452
|
+
"""
|
453
|
+
return pulumi.get(self, "table_metadata_view")
|
454
|
+
|
455
|
+
@table_metadata_view.setter
|
456
|
+
def table_metadata_view(self, value: Optional[pulumi.Input[str]]):
|
457
|
+
pulumi.set(self, "table_metadata_view", value)
|
458
|
+
|
439
459
|
@property
|
440
460
|
@pulumi.getter(name="tableReplicationInfo")
|
441
461
|
def table_replication_info(self) -> Optional[pulumi.Input['TableTableReplicationInfoArgs']]:
|
@@ -512,6 +532,7 @@ class _TableState:
|
|
512
532
|
self_link: Optional[pulumi.Input[str]] = None,
|
513
533
|
table_constraints: Optional[pulumi.Input['TableTableConstraintsArgs']] = None,
|
514
534
|
table_id: Optional[pulumi.Input[str]] = None,
|
535
|
+
table_metadata_view: Optional[pulumi.Input[str]] = None,
|
515
536
|
table_replication_info: Optional[pulumi.Input['TableTableReplicationInfoArgs']] = None,
|
516
537
|
time_partitioning: Optional[pulumi.Input['TableTimePartitioningArgs']] = None,
|
517
538
|
type: Optional[pulumi.Input[str]] = None,
|
@@ -594,6 +615,9 @@ class _TableState:
|
|
594
615
|
Structure is documented below.
|
595
616
|
:param pulumi.Input[str] table_id: A unique ID for the resource.
|
596
617
|
Changing this forces a new resource to be created.
|
618
|
+
:param pulumi.Input[str] table_metadata_view: View sets the optional parameter "view": Specifies the view that determines which table information is returned. By
|
619
|
+
default, basic table information and storage statistics (STORAGE_STATS) are returned. Possible values:
|
620
|
+
TABLE_METADATA_VIEW_UNSPECIFIED, BASIC, STORAGE_STATS, FULL
|
597
621
|
:param pulumi.Input['TableTableReplicationInfoArgs'] table_replication_info: Replication info of a table created
|
598
622
|
using "AS REPLICA" DDL like:
|
599
623
|
`CREATE MATERIALIZED VIEW mv1 AS REPLICA OF src_mv`.
|
@@ -666,6 +690,8 @@ class _TableState:
|
|
666
690
|
pulumi.set(__self__, "table_constraints", table_constraints)
|
667
691
|
if table_id is not None:
|
668
692
|
pulumi.set(__self__, "table_id", table_id)
|
693
|
+
if table_metadata_view is not None:
|
694
|
+
pulumi.set(__self__, "table_metadata_view", table_metadata_view)
|
669
695
|
if table_replication_info is not None:
|
670
696
|
pulumi.set(__self__, "table_replication_info", table_replication_info)
|
671
697
|
if time_partitioning is not None:
|
@@ -1092,6 +1118,20 @@ class _TableState:
|
|
1092
1118
|
def table_id(self, value: Optional[pulumi.Input[str]]):
|
1093
1119
|
pulumi.set(self, "table_id", value)
|
1094
1120
|
|
1121
|
+
@property
|
1122
|
+
@pulumi.getter(name="tableMetadataView")
|
1123
|
+
def table_metadata_view(self) -> Optional[pulumi.Input[str]]:
|
1124
|
+
"""
|
1125
|
+
View sets the optional parameter "view": Specifies the view that determines which table information is returned. By
|
1126
|
+
default, basic table information and storage statistics (STORAGE_STATS) are returned. Possible values:
|
1127
|
+
TABLE_METADATA_VIEW_UNSPECIFIED, BASIC, STORAGE_STATS, FULL
|
1128
|
+
"""
|
1129
|
+
return pulumi.get(self, "table_metadata_view")
|
1130
|
+
|
1131
|
+
@table_metadata_view.setter
|
1132
|
+
def table_metadata_view(self, value: Optional[pulumi.Input[str]]):
|
1133
|
+
pulumi.set(self, "table_metadata_view", value)
|
1134
|
+
|
1095
1135
|
@property
|
1096
1136
|
@pulumi.getter(name="tableReplicationInfo")
|
1097
1137
|
def table_replication_info(self) -> Optional[pulumi.Input['TableTableReplicationInfoArgs']]:
|
@@ -1172,6 +1212,7 @@ class Table(pulumi.CustomResource):
|
|
1172
1212
|
schema_foreign_type_info: Optional[pulumi.Input[Union['TableSchemaForeignTypeInfoArgs', 'TableSchemaForeignTypeInfoArgsDict']]] = None,
|
1173
1213
|
table_constraints: Optional[pulumi.Input[Union['TableTableConstraintsArgs', 'TableTableConstraintsArgsDict']]] = None,
|
1174
1214
|
table_id: Optional[pulumi.Input[str]] = None,
|
1215
|
+
table_metadata_view: Optional[pulumi.Input[str]] = None,
|
1175
1216
|
table_replication_info: Optional[pulumi.Input[Union['TableTableReplicationInfoArgs', 'TableTableReplicationInfoArgsDict']]] = None,
|
1176
1217
|
time_partitioning: Optional[pulumi.Input[Union['TableTimePartitioningArgs', 'TableTimePartitioningArgsDict']]] = None,
|
1177
1218
|
view: Optional[pulumi.Input[Union['TableViewArgs', 'TableViewArgsDict']]] = None,
|
@@ -1314,6 +1355,9 @@ class Table(pulumi.CustomResource):
|
|
1314
1355
|
Structure is documented below.
|
1315
1356
|
:param pulumi.Input[str] table_id: A unique ID for the resource.
|
1316
1357
|
Changing this forces a new resource to be created.
|
1358
|
+
:param pulumi.Input[str] table_metadata_view: View sets the optional parameter "view": Specifies the view that determines which table information is returned. By
|
1359
|
+
default, basic table information and storage statistics (STORAGE_STATS) are returned. Possible values:
|
1360
|
+
TABLE_METADATA_VIEW_UNSPECIFIED, BASIC, STORAGE_STATS, FULL
|
1317
1361
|
:param pulumi.Input[Union['TableTableReplicationInfoArgs', 'TableTableReplicationInfoArgsDict']] table_replication_info: Replication info of a table created
|
1318
1362
|
using "AS REPLICA" DDL like:
|
1319
1363
|
`CREATE MATERIALIZED VIEW mv1 AS REPLICA OF src_mv`.
|
@@ -1450,6 +1494,7 @@ class Table(pulumi.CustomResource):
|
|
1450
1494
|
schema_foreign_type_info: Optional[pulumi.Input[Union['TableSchemaForeignTypeInfoArgs', 'TableSchemaForeignTypeInfoArgsDict']]] = None,
|
1451
1495
|
table_constraints: Optional[pulumi.Input[Union['TableTableConstraintsArgs', 'TableTableConstraintsArgsDict']]] = None,
|
1452
1496
|
table_id: Optional[pulumi.Input[str]] = None,
|
1497
|
+
table_metadata_view: Optional[pulumi.Input[str]] = None,
|
1453
1498
|
table_replication_info: Optional[pulumi.Input[Union['TableTableReplicationInfoArgs', 'TableTableReplicationInfoArgsDict']]] = None,
|
1454
1499
|
time_partitioning: Optional[pulumi.Input[Union['TableTimePartitioningArgs', 'TableTimePartitioningArgsDict']]] = None,
|
1455
1500
|
view: Optional[pulumi.Input[Union['TableViewArgs', 'TableViewArgsDict']]] = None,
|
@@ -1487,6 +1532,7 @@ class Table(pulumi.CustomResource):
|
|
1487
1532
|
if table_id is None and not opts.urn:
|
1488
1533
|
raise TypeError("Missing required property 'table_id'")
|
1489
1534
|
__props__.__dict__["table_id"] = table_id
|
1535
|
+
__props__.__dict__["table_metadata_view"] = table_metadata_view
|
1490
1536
|
__props__.__dict__["table_replication_info"] = table_replication_info
|
1491
1537
|
__props__.__dict__["time_partitioning"] = time_partitioning
|
1492
1538
|
__props__.__dict__["view"] = view
|
@@ -1544,6 +1590,7 @@ class Table(pulumi.CustomResource):
|
|
1544
1590
|
self_link: Optional[pulumi.Input[str]] = None,
|
1545
1591
|
table_constraints: Optional[pulumi.Input[Union['TableTableConstraintsArgs', 'TableTableConstraintsArgsDict']]] = None,
|
1546
1592
|
table_id: Optional[pulumi.Input[str]] = None,
|
1593
|
+
table_metadata_view: Optional[pulumi.Input[str]] = None,
|
1547
1594
|
table_replication_info: Optional[pulumi.Input[Union['TableTableReplicationInfoArgs', 'TableTableReplicationInfoArgsDict']]] = None,
|
1548
1595
|
time_partitioning: Optional[pulumi.Input[Union['TableTimePartitioningArgs', 'TableTimePartitioningArgsDict']]] = None,
|
1549
1596
|
type: Optional[pulumi.Input[str]] = None,
|
@@ -1631,6 +1678,9 @@ class Table(pulumi.CustomResource):
|
|
1631
1678
|
Structure is documented below.
|
1632
1679
|
:param pulumi.Input[str] table_id: A unique ID for the resource.
|
1633
1680
|
Changing this forces a new resource to be created.
|
1681
|
+
:param pulumi.Input[str] table_metadata_view: View sets the optional parameter "view": Specifies the view that determines which table information is returned. By
|
1682
|
+
default, basic table information and storage statistics (STORAGE_STATS) are returned. Possible values:
|
1683
|
+
TABLE_METADATA_VIEW_UNSPECIFIED, BASIC, STORAGE_STATS, FULL
|
1634
1684
|
:param pulumi.Input[Union['TableTableReplicationInfoArgs', 'TableTableReplicationInfoArgsDict']] table_replication_info: Replication info of a table created
|
1635
1685
|
using "AS REPLICA" DDL like:
|
1636
1686
|
`CREATE MATERIALIZED VIEW mv1 AS REPLICA OF src_mv`.
|
@@ -1676,6 +1726,7 @@ class Table(pulumi.CustomResource):
|
|
1676
1726
|
__props__.__dict__["self_link"] = self_link
|
1677
1727
|
__props__.__dict__["table_constraints"] = table_constraints
|
1678
1728
|
__props__.__dict__["table_id"] = table_id
|
1729
|
+
__props__.__dict__["table_metadata_view"] = table_metadata_view
|
1679
1730
|
__props__.__dict__["table_replication_info"] = table_replication_info
|
1680
1731
|
__props__.__dict__["time_partitioning"] = time_partitioning
|
1681
1732
|
__props__.__dict__["type"] = type
|
@@ -1975,6 +2026,16 @@ class Table(pulumi.CustomResource):
|
|
1975
2026
|
"""
|
1976
2027
|
return pulumi.get(self, "table_id")
|
1977
2028
|
|
2029
|
+
@property
|
2030
|
+
@pulumi.getter(name="tableMetadataView")
|
2031
|
+
def table_metadata_view(self) -> pulumi.Output[Optional[str]]:
|
2032
|
+
"""
|
2033
|
+
View sets the optional parameter "view": Specifies the view that determines which table information is returned. By
|
2034
|
+
default, basic table information and storage statistics (STORAGE_STATS) are returned. Possible values:
|
2035
|
+
TABLE_METADATA_VIEW_UNSPECIFIED, BASIC, STORAGE_STATS, FULL
|
2036
|
+
"""
|
2037
|
+
return pulumi.get(self, "table_metadata_view")
|
2038
|
+
|
1978
2039
|
@property
|
1979
2040
|
@pulumi.getter(name="tableReplicationInfo")
|
1980
2041
|
def table_replication_info(self) -> pulumi.Output[Optional['outputs.TableTableReplicationInfo']]:
|
pulumi_gcp/bigtable/table.py
CHANGED
@@ -32,7 +32,7 @@ class TableArgs:
|
|
32
32
|
"""
|
33
33
|
The set of arguments for constructing a Table resource.
|
34
34
|
:param pulumi.Input[str] instance_name: The name of the Bigtable instance.
|
35
|
-
:param pulumi.Input['TableAutomatedBackupPolicyArgs'] automated_backup_policy: Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both Retention Period and Frequency to 0.
|
35
|
+
:param pulumi.Input['TableAutomatedBackupPolicyArgs'] automated_backup_policy: Defines an automated backup policy for a table, specified by Retention Period and Frequency. To _create_ a table with automated backup disabled, omit this argument. To disable automated backup on an _existing_ table that has automated backup enabled, set both Retention Period and Frequency to 0.
|
36
36
|
|
37
37
|
-----
|
38
38
|
:param pulumi.Input[str] change_stream_retention: Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days.
|
@@ -77,7 +77,7 @@ class TableArgs:
|
|
77
77
|
@pulumi.getter(name="automatedBackupPolicy")
|
78
78
|
def automated_backup_policy(self) -> Optional[pulumi.Input['TableAutomatedBackupPolicyArgs']]:
|
79
79
|
"""
|
80
|
-
Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both Retention Period and Frequency to 0.
|
80
|
+
Defines an automated backup policy for a table, specified by Retention Period and Frequency. To _create_ a table with automated backup disabled, omit this argument. To disable automated backup on an _existing_ table that has automated backup enabled, set both Retention Period and Frequency to 0.
|
81
81
|
|
82
82
|
-----
|
83
83
|
"""
|
@@ -176,7 +176,7 @@ class _TableState:
|
|
176
176
|
split_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
177
177
|
"""
|
178
178
|
Input properties used for looking up and filtering Table resources.
|
179
|
-
:param pulumi.Input['TableAutomatedBackupPolicyArgs'] automated_backup_policy: Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both Retention Period and Frequency to 0.
|
179
|
+
:param pulumi.Input['TableAutomatedBackupPolicyArgs'] automated_backup_policy: Defines an automated backup policy for a table, specified by Retention Period and Frequency. To _create_ a table with automated backup disabled, omit this argument. To disable automated backup on an _existing_ table that has automated backup enabled, set both Retention Period and Frequency to 0.
|
180
180
|
|
181
181
|
-----
|
182
182
|
:param pulumi.Input[str] change_stream_retention: Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days.
|
@@ -211,7 +211,7 @@ class _TableState:
|
|
211
211
|
@pulumi.getter(name="automatedBackupPolicy")
|
212
212
|
def automated_backup_policy(self) -> Optional[pulumi.Input['TableAutomatedBackupPolicyArgs']]:
|
213
213
|
"""
|
214
|
-
Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both Retention Period and Frequency to 0.
|
214
|
+
Defines an automated backup policy for a table, specified by Retention Period and Frequency. To _create_ a table with automated backup disabled, omit this argument. To disable automated backup on an _existing_ table that has automated backup enabled, set both Retention Period and Frequency to 0.
|
215
215
|
|
216
216
|
-----
|
217
217
|
"""
|
@@ -410,7 +410,7 @@ class Table(pulumi.CustomResource):
|
|
410
410
|
|
411
411
|
:param str resource_name: The name of the resource.
|
412
412
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
413
|
-
:param pulumi.Input[Union['TableAutomatedBackupPolicyArgs', 'TableAutomatedBackupPolicyArgsDict']] automated_backup_policy: Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both Retention Period and Frequency to 0.
|
413
|
+
:param pulumi.Input[Union['TableAutomatedBackupPolicyArgs', 'TableAutomatedBackupPolicyArgsDict']] automated_backup_policy: Defines an automated backup policy for a table, specified by Retention Period and Frequency. To _create_ a table with automated backup disabled, omit this argument. To disable automated backup on an _existing_ table that has automated backup enabled, set both Retention Period and Frequency to 0.
|
414
414
|
|
415
415
|
-----
|
416
416
|
:param pulumi.Input[str] change_stream_retention: Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days.
|
@@ -582,7 +582,7 @@ class Table(pulumi.CustomResource):
|
|
582
582
|
:param str resource_name: The unique name of the resulting resource.
|
583
583
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
584
584
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
585
|
-
:param pulumi.Input[Union['TableAutomatedBackupPolicyArgs', 'TableAutomatedBackupPolicyArgsDict']] automated_backup_policy: Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both Retention Period and Frequency to 0.
|
585
|
+
:param pulumi.Input[Union['TableAutomatedBackupPolicyArgs', 'TableAutomatedBackupPolicyArgsDict']] automated_backup_policy: Defines an automated backup policy for a table, specified by Retention Period and Frequency. To _create_ a table with automated backup disabled, omit this argument. To disable automated backup on an _existing_ table that has automated backup enabled, set both Retention Period and Frequency to 0.
|
586
586
|
|
587
587
|
-----
|
588
588
|
:param pulumi.Input[str] change_stream_retention: Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days.
|
@@ -614,7 +614,7 @@ class Table(pulumi.CustomResource):
|
|
614
614
|
@pulumi.getter(name="automatedBackupPolicy")
|
615
615
|
def automated_backup_policy(self) -> pulumi.Output[Optional['outputs.TableAutomatedBackupPolicy']]:
|
616
616
|
"""
|
617
|
-
Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both Retention Period and Frequency to 0.
|
617
|
+
Defines an automated backup policy for a table, specified by Retention Period and Frequency. To _create_ a table with automated backup disabled, omit this argument. To disable automated backup on an _existing_ table that has automated backup enabled, set both Retention Period and Frequency to 0.
|
618
618
|
|
619
619
|
-----
|
620
620
|
"""
|
@@ -54,7 +54,9 @@ class CertificateArgs:
|
|
54
54
|
EDGE_CACHE: Certificates with scope EDGE_CACHE are special-purposed certificates, served from Edge Points of Presence.
|
55
55
|
See https://cloud.google.com/vpc/docs/edge-locations.
|
56
56
|
ALL_REGIONS: Certificates with ALL_REGIONS scope are served from all GCP regions (You can only use ALL_REGIONS with global certs).
|
57
|
-
See https://cloud.google.com/compute/docs/regions-zones
|
57
|
+
See https://cloud.google.com/compute/docs/regions-zones.
|
58
|
+
CLIENT_AUTH: Certificates with CLIENT_AUTH scope are used by a load balancer (TLS client) to be presented to the backend (TLS server) when backend mTLS is configured.
|
59
|
+
See https://cloud.google.com/load-balancing/docs/backend-authenticated-tls-backend-mtls#client-certificate.
|
58
60
|
:param pulumi.Input['CertificateSelfManagedArgs'] self_managed: Certificate data for a SelfManaged Certificate.
|
59
61
|
SelfManaged Certificates are uploaded by the user. Updating such
|
60
62
|
certificates before they expire remains the user's responsibility.
|
@@ -170,7 +172,9 @@ class CertificateArgs:
|
|
170
172
|
EDGE_CACHE: Certificates with scope EDGE_CACHE are special-purposed certificates, served from Edge Points of Presence.
|
171
173
|
See https://cloud.google.com/vpc/docs/edge-locations.
|
172
174
|
ALL_REGIONS: Certificates with ALL_REGIONS scope are served from all GCP regions (You can only use ALL_REGIONS with global certs).
|
173
|
-
See https://cloud.google.com/compute/docs/regions-zones
|
175
|
+
See https://cloud.google.com/compute/docs/regions-zones.
|
176
|
+
CLIENT_AUTH: Certificates with CLIENT_AUTH scope are used by a load balancer (TLS client) to be presented to the backend (TLS server) when backend mTLS is configured.
|
177
|
+
See https://cloud.google.com/load-balancing/docs/backend-authenticated-tls-backend-mtls#client-certificate.
|
174
178
|
"""
|
175
179
|
return pulumi.get(self, "scope")
|
176
180
|
|
@@ -237,7 +241,9 @@ class _CertificateState:
|
|
237
241
|
EDGE_CACHE: Certificates with scope EDGE_CACHE are special-purposed certificates, served from Edge Points of Presence.
|
238
242
|
See https://cloud.google.com/vpc/docs/edge-locations.
|
239
243
|
ALL_REGIONS: Certificates with ALL_REGIONS scope are served from all GCP regions (You can only use ALL_REGIONS with global certs).
|
240
|
-
See https://cloud.google.com/compute/docs/regions-zones
|
244
|
+
See https://cloud.google.com/compute/docs/regions-zones.
|
245
|
+
CLIENT_AUTH: Certificates with CLIENT_AUTH scope are used by a load balancer (TLS client) to be presented to the backend (TLS server) when backend mTLS is configured.
|
246
|
+
See https://cloud.google.com/load-balancing/docs/backend-authenticated-tls-backend-mtls#client-certificate.
|
241
247
|
:param pulumi.Input['CertificateSelfManagedArgs'] self_managed: Certificate data for a SelfManaged Certificate.
|
242
248
|
SelfManaged Certificates are uploaded by the user. Updating such
|
243
249
|
certificates before they expire remains the user's responsibility.
|
@@ -396,7 +402,9 @@ class _CertificateState:
|
|
396
402
|
EDGE_CACHE: Certificates with scope EDGE_CACHE are special-purposed certificates, served from Edge Points of Presence.
|
397
403
|
See https://cloud.google.com/vpc/docs/edge-locations.
|
398
404
|
ALL_REGIONS: Certificates with ALL_REGIONS scope are served from all GCP regions (You can only use ALL_REGIONS with global certs).
|
399
|
-
See https://cloud.google.com/compute/docs/regions-zones
|
405
|
+
See https://cloud.google.com/compute/docs/regions-zones.
|
406
|
+
CLIENT_AUTH: Certificates with CLIENT_AUTH scope are used by a load balancer (TLS client) to be presented to the backend (TLS server) when backend mTLS is configured.
|
407
|
+
See https://cloud.google.com/load-balancing/docs/backend-authenticated-tls-backend-mtls#client-certificate.
|
400
408
|
"""
|
401
409
|
return pulumi.get(self, "scope")
|
402
410
|
|
@@ -699,6 +707,22 @@ class Certificate(pulumi.CustomResource):
|
|
699
707
|
"dns_authorizations": [instance.id],
|
700
708
|
})
|
701
709
|
```
|
710
|
+
### Certificate Manager Client Auth Certificate
|
711
|
+
|
712
|
+
```python
|
713
|
+
import pulumi
|
714
|
+
import pulumi_gcp as gcp
|
715
|
+
import pulumi_std as std
|
716
|
+
|
717
|
+
default = gcp.certificatemanager.Certificate("default",
|
718
|
+
name="client-auth-cert",
|
719
|
+
description="Global cert",
|
720
|
+
scope="CLIENT_AUTH",
|
721
|
+
self_managed={
|
722
|
+
"pem_certificate": std.file(input="test-fixtures/cert.pem").result,
|
723
|
+
"pem_private_key": std.file(input="test-fixtures/private-key.pem").result,
|
724
|
+
})
|
725
|
+
```
|
702
726
|
|
703
727
|
## Import
|
704
728
|
|
@@ -749,7 +773,9 @@ class Certificate(pulumi.CustomResource):
|
|
749
773
|
EDGE_CACHE: Certificates with scope EDGE_CACHE are special-purposed certificates, served from Edge Points of Presence.
|
750
774
|
See https://cloud.google.com/vpc/docs/edge-locations.
|
751
775
|
ALL_REGIONS: Certificates with ALL_REGIONS scope are served from all GCP regions (You can only use ALL_REGIONS with global certs).
|
752
|
-
See https://cloud.google.com/compute/docs/regions-zones
|
776
|
+
See https://cloud.google.com/compute/docs/regions-zones.
|
777
|
+
CLIENT_AUTH: Certificates with CLIENT_AUTH scope are used by a load balancer (TLS client) to be presented to the backend (TLS server) when backend mTLS is configured.
|
778
|
+
See https://cloud.google.com/load-balancing/docs/backend-authenticated-tls-backend-mtls#client-certificate.
|
753
779
|
:param pulumi.Input[Union['CertificateSelfManagedArgs', 'CertificateSelfManagedArgsDict']] self_managed: Certificate data for a SelfManaged Certificate.
|
754
780
|
SelfManaged Certificates are uploaded by the user. Updating such
|
755
781
|
certificates before they expire remains the user's responsibility.
|
@@ -1026,6 +1052,22 @@ class Certificate(pulumi.CustomResource):
|
|
1026
1052
|
"dns_authorizations": [instance.id],
|
1027
1053
|
})
|
1028
1054
|
```
|
1055
|
+
### Certificate Manager Client Auth Certificate
|
1056
|
+
|
1057
|
+
```python
|
1058
|
+
import pulumi
|
1059
|
+
import pulumi_gcp as gcp
|
1060
|
+
import pulumi_std as std
|
1061
|
+
|
1062
|
+
default = gcp.certificatemanager.Certificate("default",
|
1063
|
+
name="client-auth-cert",
|
1064
|
+
description="Global cert",
|
1065
|
+
scope="CLIENT_AUTH",
|
1066
|
+
self_managed={
|
1067
|
+
"pem_certificate": std.file(input="test-fixtures/cert.pem").result,
|
1068
|
+
"pem_private_key": std.file(input="test-fixtures/private-key.pem").result,
|
1069
|
+
})
|
1070
|
+
```
|
1029
1071
|
|
1030
1072
|
## Import
|
1031
1073
|
|
@@ -1151,7 +1193,9 @@ class Certificate(pulumi.CustomResource):
|
|
1151
1193
|
EDGE_CACHE: Certificates with scope EDGE_CACHE are special-purposed certificates, served from Edge Points of Presence.
|
1152
1194
|
See https://cloud.google.com/vpc/docs/edge-locations.
|
1153
1195
|
ALL_REGIONS: Certificates with ALL_REGIONS scope are served from all GCP regions (You can only use ALL_REGIONS with global certs).
|
1154
|
-
See https://cloud.google.com/compute/docs/regions-zones
|
1196
|
+
See https://cloud.google.com/compute/docs/regions-zones.
|
1197
|
+
CLIENT_AUTH: Certificates with CLIENT_AUTH scope are used by a load balancer (TLS client) to be presented to the backend (TLS server) when backend mTLS is configured.
|
1198
|
+
See https://cloud.google.com/load-balancing/docs/backend-authenticated-tls-backend-mtls#client-certificate.
|
1155
1199
|
:param pulumi.Input[Union['CertificateSelfManagedArgs', 'CertificateSelfManagedArgsDict']] self_managed: Certificate data for a SelfManaged Certificate.
|
1156
1200
|
SelfManaged Certificates are uploaded by the user. Updating such
|
1157
1201
|
certificates before they expire remains the user's responsibility.
|
@@ -1268,7 +1312,9 @@ class Certificate(pulumi.CustomResource):
|
|
1268
1312
|
EDGE_CACHE: Certificates with scope EDGE_CACHE are special-purposed certificates, served from Edge Points of Presence.
|
1269
1313
|
See https://cloud.google.com/vpc/docs/edge-locations.
|
1270
1314
|
ALL_REGIONS: Certificates with ALL_REGIONS scope are served from all GCP regions (You can only use ALL_REGIONS with global certs).
|
1271
|
-
See https://cloud.google.com/compute/docs/regions-zones
|
1315
|
+
See https://cloud.google.com/compute/docs/regions-zones.
|
1316
|
+
CLIENT_AUTH: Certificates with CLIENT_AUTH scope are used by a load balancer (TLS client) to be presented to the backend (TLS server) when backend mTLS is configured.
|
1317
|
+
See https://cloud.google.com/load-balancing/docs/backend-authenticated-tls-backend-mtls#client-certificate.
|
1272
1318
|
"""
|
1273
1319
|
return pulumi.get(self, "scope")
|
1274
1320
|
|
@@ -936,7 +936,10 @@ class GetCertificatesCertificateResult(dict):
|
|
936
936
|
See https://cloud.google.com/vpc/docs/edge-locations.
|
937
937
|
|
938
938
|
ALL_REGIONS: Certificates with ALL_REGIONS scope are served from all GCP regions (You can only use ALL_REGIONS with global certs).
|
939
|
-
See https://cloud.google.com/compute/docs/regions-zones
|
939
|
+
See https://cloud.google.com/compute/docs/regions-zones.
|
940
|
+
|
941
|
+
CLIENT_AUTH: Certificates with CLIENT_AUTH scope are used by a load balancer (TLS client) to be presented to the backend (TLS server) when backend mTLS is configured.
|
942
|
+
See https://cloud.google.com/load-balancing/docs/backend-authenticated-tls-backend-mtls#client-certificate.
|
940
943
|
"""
|
941
944
|
pulumi.set(__self__, "description", description)
|
942
945
|
pulumi.set(__self__, "effective_labels", effective_labels)
|
@@ -1040,7 +1043,10 @@ class GetCertificatesCertificateResult(dict):
|
|
1040
1043
|
See https://cloud.google.com/vpc/docs/edge-locations.
|
1041
1044
|
|
1042
1045
|
ALL_REGIONS: Certificates with ALL_REGIONS scope are served from all GCP regions (You can only use ALL_REGIONS with global certs).
|
1043
|
-
See https://cloud.google.com/compute/docs/regions-zones
|
1046
|
+
See https://cloud.google.com/compute/docs/regions-zones.
|
1047
|
+
|
1048
|
+
CLIENT_AUTH: Certificates with CLIENT_AUTH scope are used by a load balancer (TLS client) to be presented to the backend (TLS server) when backend mTLS is configured.
|
1049
|
+
See https://cloud.google.com/load-balancing/docs/backend-authenticated-tls-backend-mtls#client-certificate.
|
1044
1050
|
"""
|
1045
1051
|
return pulumi.get(self, "scope")
|
1046
1052
|
|
@@ -2917,6 +2917,10 @@ if not MYPY:
|
|
2917
2917
|
"""
|
2918
2918
|
Information specifying a GKE Cluster. Format is `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}.
|
2919
2919
|
"""
|
2920
|
+
dns_endpoint: NotRequired[pulumi.Input[bool]]
|
2921
|
+
"""
|
2922
|
+
Optional. If set, the cluster will be accessed using the DNS endpoint. Note that both `dns_endpoint` and `internal_ip` cannot be set to true.
|
2923
|
+
"""
|
2920
2924
|
internal_ip: NotRequired[pulumi.Input[bool]]
|
2921
2925
|
"""
|
2922
2926
|
Optional. If true, `cluster` is accessed using the private IP address of the control plane endpoint. Otherwise, the default IP address of the control plane endpoint is used. The default IP address is the private IP address for clusters with private control-plane endpoints and the public IP address otherwise. Only specify this option when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).
|
@@ -2932,15 +2936,19 @@ elif False:
|
|
2932
2936
|
class TargetGkeArgs:
|
2933
2937
|
def __init__(__self__, *,
|
2934
2938
|
cluster: Optional[pulumi.Input[str]] = None,
|
2939
|
+
dns_endpoint: Optional[pulumi.Input[bool]] = None,
|
2935
2940
|
internal_ip: Optional[pulumi.Input[bool]] = None,
|
2936
2941
|
proxy_url: Optional[pulumi.Input[str]] = None):
|
2937
2942
|
"""
|
2938
2943
|
:param pulumi.Input[str] cluster: Information specifying a GKE Cluster. Format is `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}.
|
2944
|
+
:param pulumi.Input[bool] dns_endpoint: Optional. If set, the cluster will be accessed using the DNS endpoint. Note that both `dns_endpoint` and `internal_ip` cannot be set to true.
|
2939
2945
|
:param pulumi.Input[bool] internal_ip: Optional. If true, `cluster` is accessed using the private IP address of the control plane endpoint. Otherwise, the default IP address of the control plane endpoint is used. The default IP address is the private IP address for clusters with private control-plane endpoints and the public IP address otherwise. Only specify this option when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).
|
2940
2946
|
:param pulumi.Input[str] proxy_url: Optional. If set, used to configure a [proxy](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#proxy) to the Kubernetes server.
|
2941
2947
|
"""
|
2942
2948
|
if cluster is not None:
|
2943
2949
|
pulumi.set(__self__, "cluster", cluster)
|
2950
|
+
if dns_endpoint is not None:
|
2951
|
+
pulumi.set(__self__, "dns_endpoint", dns_endpoint)
|
2944
2952
|
if internal_ip is not None:
|
2945
2953
|
pulumi.set(__self__, "internal_ip", internal_ip)
|
2946
2954
|
if proxy_url is not None:
|
@@ -2958,6 +2966,18 @@ class TargetGkeArgs:
|
|
2958
2966
|
def cluster(self, value: Optional[pulumi.Input[str]]):
|
2959
2967
|
pulumi.set(self, "cluster", value)
|
2960
2968
|
|
2969
|
+
@property
|
2970
|
+
@pulumi.getter(name="dnsEndpoint")
|
2971
|
+
def dns_endpoint(self) -> Optional[pulumi.Input[bool]]:
|
2972
|
+
"""
|
2973
|
+
Optional. If set, the cluster will be accessed using the DNS endpoint. Note that both `dns_endpoint` and `internal_ip` cannot be set to true.
|
2974
|
+
"""
|
2975
|
+
return pulumi.get(self, "dns_endpoint")
|
2976
|
+
|
2977
|
+
@dns_endpoint.setter
|
2978
|
+
def dns_endpoint(self, value: Optional[pulumi.Input[bool]]):
|
2979
|
+
pulumi.set(self, "dns_endpoint", value)
|
2980
|
+
|
2961
2981
|
@property
|
2962
2982
|
@pulumi.getter(name="internalIp")
|
2963
2983
|
def internal_ip(self) -> Optional[pulumi.Input[bool]]:
|
@@ -2191,7 +2191,9 @@ class TargetGke(dict):
|
|
2191
2191
|
@staticmethod
|
2192
2192
|
def __key_warning(key: str):
|
2193
2193
|
suggest = None
|
2194
|
-
if key == "
|
2194
|
+
if key == "dnsEndpoint":
|
2195
|
+
suggest = "dns_endpoint"
|
2196
|
+
elif key == "internalIp":
|
2195
2197
|
suggest = "internal_ip"
|
2196
2198
|
elif key == "proxyUrl":
|
2197
2199
|
suggest = "proxy_url"
|
@@ -2209,15 +2211,19 @@ class TargetGke(dict):
|
|
2209
2211
|
|
2210
2212
|
def __init__(__self__, *,
|
2211
2213
|
cluster: Optional[str] = None,
|
2214
|
+
dns_endpoint: Optional[bool] = None,
|
2212
2215
|
internal_ip: Optional[bool] = None,
|
2213
2216
|
proxy_url: Optional[str] = None):
|
2214
2217
|
"""
|
2215
2218
|
:param str cluster: Information specifying a GKE Cluster. Format is `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}.
|
2219
|
+
:param bool dns_endpoint: Optional. If set, the cluster will be accessed using the DNS endpoint. Note that both `dns_endpoint` and `internal_ip` cannot be set to true.
|
2216
2220
|
:param bool internal_ip: Optional. If true, `cluster` is accessed using the private IP address of the control plane endpoint. Otherwise, the default IP address of the control plane endpoint is used. The default IP address is the private IP address for clusters with private control-plane endpoints and the public IP address otherwise. Only specify this option when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).
|
2217
2221
|
:param str proxy_url: Optional. If set, used to configure a [proxy](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#proxy) to the Kubernetes server.
|
2218
2222
|
"""
|
2219
2223
|
if cluster is not None:
|
2220
2224
|
pulumi.set(__self__, "cluster", cluster)
|
2225
|
+
if dns_endpoint is not None:
|
2226
|
+
pulumi.set(__self__, "dns_endpoint", dns_endpoint)
|
2221
2227
|
if internal_ip is not None:
|
2222
2228
|
pulumi.set(__self__, "internal_ip", internal_ip)
|
2223
2229
|
if proxy_url is not None:
|
@@ -2231,6 +2237,14 @@ class TargetGke(dict):
|
|
2231
2237
|
"""
|
2232
2238
|
return pulumi.get(self, "cluster")
|
2233
2239
|
|
2240
|
+
@property
|
2241
|
+
@pulumi.getter(name="dnsEndpoint")
|
2242
|
+
def dns_endpoint(self) -> Optional[bool]:
|
2243
|
+
"""
|
2244
|
+
Optional. If set, the cluster will be accessed using the DNS endpoint. Note that both `dns_endpoint` and `internal_ip` cannot be set to true.
|
2245
|
+
"""
|
2246
|
+
return pulumi.get(self, "dns_endpoint")
|
2247
|
+
|
2234
2248
|
@property
|
2235
2249
|
@pulumi.getter(name="internalIp")
|
2236
2250
|
def internal_ip(self) -> Optional[bool]:
|