pulumi-gcp 8.1.0__py3-none-any.whl → 8.1.0a1726293903__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +0 -24
- pulumi_gcp/alloydb/_inputs.py +0 -94
- pulumi_gcp/alloydb/cluster.py +1 -94
- pulumi_gcp/alloydb/outputs.py +0 -79
- pulumi_gcp/assuredworkloads/workload.py +16 -135
- pulumi_gcp/backupdisasterrecovery/__init__.py +0 -1
- pulumi_gcp/bigquery/_inputs.py +0 -33
- pulumi_gcp/bigquery/data_transfer_config.py +6 -134
- pulumi_gcp/bigquery/outputs.py +0 -36
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +7 -169
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +3 -96
- pulumi_gcp/bigqueryanalyticshub/listing.py +0 -114
- pulumi_gcp/bigqueryanalyticshub/outputs.py +5 -138
- pulumi_gcp/bigtable/_inputs.py +1 -21
- pulumi_gcp/bigtable/outputs.py +1 -13
- pulumi_gcp/bigtable/table.py +0 -34
- pulumi_gcp/certificateauthority/authority.py +7 -14
- pulumi_gcp/certificatemanager/__init__.py +0 -1
- pulumi_gcp/certificatemanager/certificate.py +0 -28
- pulumi_gcp/certificatemanager/outputs.py +0 -322
- pulumi_gcp/cloudbuild/_inputs.py +6 -6
- pulumi_gcp/cloudbuild/outputs.py +4 -4
- pulumi_gcp/cloudrun/_inputs.py +12 -6
- pulumi_gcp/cloudrun/outputs.py +16 -8
- pulumi_gcp/cloudrunv2/_inputs.py +15 -72
- pulumi_gcp/cloudrunv2/outputs.py +16 -82
- pulumi_gcp/cloudrunv2/service.py +4 -50
- pulumi_gcp/cloudtasks/_inputs.py +0 -630
- pulumi_gcp/cloudtasks/outputs.py +0 -479
- pulumi_gcp/cloudtasks/queue.py +0 -238
- pulumi_gcp/compute/_inputs.py +9 -129
- pulumi_gcp/compute/get_instance.py +1 -1
- pulumi_gcp/compute/health_check.py +0 -114
- pulumi_gcp/compute/instance.py +4 -86
- pulumi_gcp/compute/instance_template.py +0 -66
- pulumi_gcp/compute/interconnect.py +21 -28
- pulumi_gcp/compute/node_template.py +0 -93
- pulumi_gcp/compute/outputs.py +6 -108
- pulumi_gcp/compute/target_https_proxy.py +0 -28
- pulumi_gcp/container/_inputs.py +3 -140
- pulumi_gcp/container/attached_cluster.py +7 -7
- pulumi_gcp/container/outputs.py +2 -174
- pulumi_gcp/databasemigrationservice/_inputs.py +148 -176
- pulumi_gcp/databasemigrationservice/connection_profile.py +0 -206
- pulumi_gcp/databasemigrationservice/outputs.py +87 -109
- pulumi_gcp/dataloss/_inputs.py +1 -353
- pulumi_gcp/dataloss/outputs.py +3 -274
- pulumi_gcp/dataproc/_inputs.py +27 -27
- pulumi_gcp/dataproc/outputs.py +18 -18
- pulumi_gcp/datastream/_inputs.py +1 -69
- pulumi_gcp/datastream/outputs.py +2 -44
- pulumi_gcp/datastream/stream.py +7 -194
- pulumi_gcp/discoveryengine/_inputs.py +0 -188
- pulumi_gcp/discoveryengine/data_store.py +14 -14
- pulumi_gcp/discoveryengine/outputs.py +1 -153
- pulumi_gcp/firebase/database_instance.py +7 -7
- pulumi_gcp/gkehub/_inputs.py +1 -25
- pulumi_gcp/gkehub/feature_membership.py +6 -12
- pulumi_gcp/gkehub/outputs.py +1 -17
- pulumi_gcp/iam/_inputs.py +0 -196
- pulumi_gcp/iam/get_workload_identity_pool_provider.py +3 -13
- pulumi_gcp/iam/outputs.py +0 -295
- pulumi_gcp/iam/workload_identity_pool_provider.py +3 -164
- pulumi_gcp/kms/__init__.py +0 -2
- pulumi_gcp/kms/autokey_config.py +2 -10
- pulumi_gcp/kms/outputs.py +0 -164
- pulumi_gcp/netapp/active_directory.py +6 -6
- pulumi_gcp/netapp/backup.py +6 -6
- pulumi_gcp/netapp/backup_policy.py +6 -6
- pulumi_gcp/netapp/backup_vault.py +6 -6
- pulumi_gcp/netapp/storage_pool.py +4 -4
- pulumi_gcp/netapp/volume.py +0 -7
- pulumi_gcp/networkconnectivity/_inputs.py +1 -21
- pulumi_gcp/networkconnectivity/outputs.py +1 -15
- pulumi_gcp/networkconnectivity/spoke.py +0 -8
- pulumi_gcp/networksecurity/client_tls_policy.py +22 -24
- pulumi_gcp/networksecurity/server_tls_policy.py +32 -20
- pulumi_gcp/organizations/get_project.py +3 -13
- pulumi_gcp/organizations/project.py +3 -88
- pulumi_gcp/parallelstore/instance.py +121 -121
- pulumi_gcp/projects/iam_member_remove.py +0 -26
- pulumi_gcp/projects/usage_export_bucket.py +0 -38
- pulumi_gcp/pubsub/_inputs.py +0 -40
- pulumi_gcp/pubsub/outputs.py +1 -51
- pulumi_gcp/pubsub/subscription.py +0 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +0 -419
- pulumi_gcp/redis/cluster.py +0 -123
- pulumi_gcp/redis/outputs.py +0 -315
- pulumi_gcp/securitycenter/__init__.py +0 -2
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +4 -4
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/RECORD +95 -101
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/WHEEL +1 -1
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +0 -1203
- pulumi_gcp/certificatemanager/get_certificates.py +0 -150
- pulumi_gcp/kms/get_crypto_key_latest_version.py +0 -222
- pulumi_gcp/kms/get_crypto_key_versions.py +0 -175
- pulumi_gcp/securitycenter/v2_folder_scc_big_query_export.py +0 -857
- pulumi_gcp/securitycenter/v2_project_scc_big_query_export.py +0 -796
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/top_level.txt +0 -0
pulumi_gcp/__init__.py
CHANGED
@@ -1031,14 +1031,6 @@ _utilities.register(
|
|
1031
1031
|
"gcp:assuredworkloads/workload:Workload": "Workload"
|
1032
1032
|
}
|
1033
1033
|
},
|
1034
|
-
{
|
1035
|
-
"pkg": "gcp",
|
1036
|
-
"mod": "backupdisasterrecovery/backupVault",
|
1037
|
-
"fqn": "pulumi_gcp.backupdisasterrecovery",
|
1038
|
-
"classes": {
|
1039
|
-
"gcp:backupdisasterrecovery/backupVault:BackupVault": "BackupVault"
|
1040
|
-
}
|
1041
|
-
},
|
1042
1034
|
{
|
1043
1035
|
"pkg": "gcp",
|
1044
1036
|
"mod": "backupdisasterrecovery/managementServer",
|
@@ -7167,14 +7159,6 @@ _utilities.register(
|
|
7167
7159
|
"gcp:securitycenter/v2FolderNotificationConfig:V2FolderNotificationConfig": "V2FolderNotificationConfig"
|
7168
7160
|
}
|
7169
7161
|
},
|
7170
|
-
{
|
7171
|
-
"pkg": "gcp",
|
7172
|
-
"mod": "securitycenter/v2FolderSccBigQueryExport",
|
7173
|
-
"fqn": "pulumi_gcp.securitycenter",
|
7174
|
-
"classes": {
|
7175
|
-
"gcp:securitycenter/v2FolderSccBigQueryExport:V2FolderSccBigQueryExport": "V2FolderSccBigQueryExport"
|
7176
|
-
}
|
7177
|
-
},
|
7178
7162
|
{
|
7179
7163
|
"pkg": "gcp",
|
7180
7164
|
"mod": "securitycenter/v2OrganizationMuteConfig",
|
@@ -7247,14 +7231,6 @@ _utilities.register(
|
|
7247
7231
|
"gcp:securitycenter/v2ProjectNotificationConfig:V2ProjectNotificationConfig": "V2ProjectNotificationConfig"
|
7248
7232
|
}
|
7249
7233
|
},
|
7250
|
-
{
|
7251
|
-
"pkg": "gcp",
|
7252
|
-
"mod": "securitycenter/v2ProjectSccBigQueryExport",
|
7253
|
-
"fqn": "pulumi_gcp.securitycenter",
|
7254
|
-
"classes": {
|
7255
|
-
"gcp:securitycenter/v2ProjectSccBigQueryExport:V2ProjectSccBigQueryExport": "V2ProjectSccBigQueryExport"
|
7256
|
-
}
|
7257
|
-
},
|
7258
7234
|
{
|
7259
7235
|
"pkg": "gcp",
|
7260
7236
|
"mod": "securityposture/posture",
|
pulumi_gcp/alloydb/_inputs.py
CHANGED
@@ -67,8 +67,6 @@ __all__ = [
|
|
67
67
|
'ClusterRestoreContinuousBackupSourceArgsDict',
|
68
68
|
'ClusterSecondaryConfigArgs',
|
69
69
|
'ClusterSecondaryConfigArgsDict',
|
70
|
-
'ClusterTrialMetadataArgs',
|
71
|
-
'ClusterTrialMetadataArgsDict',
|
72
70
|
'InstanceClientConnectionConfigArgs',
|
73
71
|
'InstanceClientConnectionConfigArgsDict',
|
74
72
|
'InstanceClientConnectionConfigSslConfigArgs',
|
@@ -1587,98 +1585,6 @@ class ClusterSecondaryConfigArgs:
|
|
1587
1585
|
pulumi.set(self, "primary_cluster_name", value)
|
1588
1586
|
|
1589
1587
|
|
1590
|
-
if not MYPY:
|
1591
|
-
class ClusterTrialMetadataArgsDict(TypedDict):
|
1592
|
-
end_time: NotRequired[pulumi.Input[str]]
|
1593
|
-
"""
|
1594
|
-
End time of the trial cluster.
|
1595
|
-
"""
|
1596
|
-
grace_end_time: NotRequired[pulumi.Input[str]]
|
1597
|
-
"""
|
1598
|
-
Grace end time of the trial cluster.
|
1599
|
-
"""
|
1600
|
-
start_time: NotRequired[pulumi.Input[str]]
|
1601
|
-
"""
|
1602
|
-
Start time of the trial cluster.
|
1603
|
-
"""
|
1604
|
-
upgrade_time: NotRequired[pulumi.Input[str]]
|
1605
|
-
"""
|
1606
|
-
Upgrade time of the trial cluster to standard cluster.
|
1607
|
-
"""
|
1608
|
-
elif False:
|
1609
|
-
ClusterTrialMetadataArgsDict: TypeAlias = Mapping[str, Any]
|
1610
|
-
|
1611
|
-
@pulumi.input_type
|
1612
|
-
class ClusterTrialMetadataArgs:
|
1613
|
-
def __init__(__self__, *,
|
1614
|
-
end_time: Optional[pulumi.Input[str]] = None,
|
1615
|
-
grace_end_time: Optional[pulumi.Input[str]] = None,
|
1616
|
-
start_time: Optional[pulumi.Input[str]] = None,
|
1617
|
-
upgrade_time: Optional[pulumi.Input[str]] = None):
|
1618
|
-
"""
|
1619
|
-
:param pulumi.Input[str] end_time: End time of the trial cluster.
|
1620
|
-
:param pulumi.Input[str] grace_end_time: Grace end time of the trial cluster.
|
1621
|
-
:param pulumi.Input[str] start_time: Start time of the trial cluster.
|
1622
|
-
:param pulumi.Input[str] upgrade_time: Upgrade time of the trial cluster to standard cluster.
|
1623
|
-
"""
|
1624
|
-
if end_time is not None:
|
1625
|
-
pulumi.set(__self__, "end_time", end_time)
|
1626
|
-
if grace_end_time is not None:
|
1627
|
-
pulumi.set(__self__, "grace_end_time", grace_end_time)
|
1628
|
-
if start_time is not None:
|
1629
|
-
pulumi.set(__self__, "start_time", start_time)
|
1630
|
-
if upgrade_time is not None:
|
1631
|
-
pulumi.set(__self__, "upgrade_time", upgrade_time)
|
1632
|
-
|
1633
|
-
@property
|
1634
|
-
@pulumi.getter(name="endTime")
|
1635
|
-
def end_time(self) -> Optional[pulumi.Input[str]]:
|
1636
|
-
"""
|
1637
|
-
End time of the trial cluster.
|
1638
|
-
"""
|
1639
|
-
return pulumi.get(self, "end_time")
|
1640
|
-
|
1641
|
-
@end_time.setter
|
1642
|
-
def end_time(self, value: Optional[pulumi.Input[str]]):
|
1643
|
-
pulumi.set(self, "end_time", value)
|
1644
|
-
|
1645
|
-
@property
|
1646
|
-
@pulumi.getter(name="graceEndTime")
|
1647
|
-
def grace_end_time(self) -> Optional[pulumi.Input[str]]:
|
1648
|
-
"""
|
1649
|
-
Grace end time of the trial cluster.
|
1650
|
-
"""
|
1651
|
-
return pulumi.get(self, "grace_end_time")
|
1652
|
-
|
1653
|
-
@grace_end_time.setter
|
1654
|
-
def grace_end_time(self, value: Optional[pulumi.Input[str]]):
|
1655
|
-
pulumi.set(self, "grace_end_time", value)
|
1656
|
-
|
1657
|
-
@property
|
1658
|
-
@pulumi.getter(name="startTime")
|
1659
|
-
def start_time(self) -> Optional[pulumi.Input[str]]:
|
1660
|
-
"""
|
1661
|
-
Start time of the trial cluster.
|
1662
|
-
"""
|
1663
|
-
return pulumi.get(self, "start_time")
|
1664
|
-
|
1665
|
-
@start_time.setter
|
1666
|
-
def start_time(self, value: Optional[pulumi.Input[str]]):
|
1667
|
-
pulumi.set(self, "start_time", value)
|
1668
|
-
|
1669
|
-
@property
|
1670
|
-
@pulumi.getter(name="upgradeTime")
|
1671
|
-
def upgrade_time(self) -> Optional[pulumi.Input[str]]:
|
1672
|
-
"""
|
1673
|
-
Upgrade time of the trial cluster to standard cluster.
|
1674
|
-
"""
|
1675
|
-
return pulumi.get(self, "upgrade_time")
|
1676
|
-
|
1677
|
-
@upgrade_time.setter
|
1678
|
-
def upgrade_time(self, value: Optional[pulumi.Input[str]]):
|
1679
|
-
pulumi.set(self, "upgrade_time", value)
|
1680
|
-
|
1681
|
-
|
1682
1588
|
if not MYPY:
|
1683
1589
|
class InstanceClientConnectionConfigArgsDict(TypedDict):
|
1684
1590
|
require_connectors: NotRequired[pulumi.Input[bool]]
|
pulumi_gcp/alloydb/cluster.py
CHANGED
@@ -40,8 +40,7 @@ class ClusterArgs:
|
|
40
40
|
psc_config: Optional[pulumi.Input['ClusterPscConfigArgs']] = None,
|
41
41
|
restore_backup_source: Optional[pulumi.Input['ClusterRestoreBackupSourceArgs']] = None,
|
42
42
|
restore_continuous_backup_source: Optional[pulumi.Input['ClusterRestoreContinuousBackupSourceArgs']] = None,
|
43
|
-
secondary_config: Optional[pulumi.Input['ClusterSecondaryConfigArgs']] = None
|
44
|
-
subscription_type: Optional[pulumi.Input[str]] = None):
|
43
|
+
secondary_config: Optional[pulumi.Input['ClusterSecondaryConfigArgs']] = None):
|
45
44
|
"""
|
46
45
|
The set of arguments for constructing a Cluster resource.
|
47
46
|
:param pulumi.Input[str] cluster_id: The ID of the alloydb cluster.
|
@@ -66,7 +65,6 @@ class ClusterArgs:
|
|
66
65
|
:param pulumi.Input[str] deletion_policy: Policy to determine if the cluster should be deleted forcefully.
|
67
66
|
Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
|
68
67
|
Deleting a Secondary cluster with a secondary instance REQUIRES setting deletion_policy = "FORCE" otherwise an error is returned. This is needed as there is no support to delete just the secondary instance, and the only way to delete secondary instance is to delete the associated secondary cluster forcefully which also deletes the secondary instance.
|
69
|
-
Possible values: DEFAULT, FORCE
|
70
68
|
:param pulumi.Input[str] display_name: User-settable and human-readable display name for the Cluster.
|
71
69
|
:param pulumi.Input['ClusterEncryptionConfigArgs'] encryption_config: EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
|
72
70
|
Structure is documented below.
|
@@ -90,8 +88,6 @@ class ClusterArgs:
|
|
90
88
|
Structure is documented below.
|
91
89
|
:param pulumi.Input['ClusterSecondaryConfigArgs'] secondary_config: Configuration of the secondary cluster for Cross Region Replication. This should be set if and only if the cluster is of type SECONDARY.
|
92
90
|
Structure is documented below.
|
93
|
-
:param pulumi.Input[str] subscription_type: The subscrition type of cluster.
|
94
|
-
Possible values are: `TRIAL`, `STANDARD`.
|
95
91
|
"""
|
96
92
|
pulumi.set(__self__, "cluster_id", cluster_id)
|
97
93
|
pulumi.set(__self__, "location", location)
|
@@ -131,8 +127,6 @@ class ClusterArgs:
|
|
131
127
|
pulumi.set(__self__, "restore_continuous_backup_source", restore_continuous_backup_source)
|
132
128
|
if secondary_config is not None:
|
133
129
|
pulumi.set(__self__, "secondary_config", secondary_config)
|
134
|
-
if subscription_type is not None:
|
135
|
-
pulumi.set(__self__, "subscription_type", subscription_type)
|
136
130
|
|
137
131
|
@property
|
138
132
|
@pulumi.getter(name="clusterId")
|
@@ -237,7 +231,6 @@ class ClusterArgs:
|
|
237
231
|
Policy to determine if the cluster should be deleted forcefully.
|
238
232
|
Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
|
239
233
|
Deleting a Secondary cluster with a secondary instance REQUIRES setting deletion_policy = "FORCE" otherwise an error is returned. This is needed as there is no support to delete just the secondary instance, and the only way to delete secondary instance is to delete the associated secondary cluster forcefully which also deletes the secondary instance.
|
240
|
-
Possible values: DEFAULT, FORCE
|
241
234
|
"""
|
242
235
|
return pulumi.get(self, "deletion_policy")
|
243
236
|
|
@@ -400,19 +393,6 @@ class ClusterArgs:
|
|
400
393
|
def secondary_config(self, value: Optional[pulumi.Input['ClusterSecondaryConfigArgs']]):
|
401
394
|
pulumi.set(self, "secondary_config", value)
|
402
395
|
|
403
|
-
@property
|
404
|
-
@pulumi.getter(name="subscriptionType")
|
405
|
-
def subscription_type(self) -> Optional[pulumi.Input[str]]:
|
406
|
-
"""
|
407
|
-
The subscrition type of cluster.
|
408
|
-
Possible values are: `TRIAL`, `STANDARD`.
|
409
|
-
"""
|
410
|
-
return pulumi.get(self, "subscription_type")
|
411
|
-
|
412
|
-
@subscription_type.setter
|
413
|
-
def subscription_type(self, value: Optional[pulumi.Input[str]]):
|
414
|
-
pulumi.set(self, "subscription_type", value)
|
415
|
-
|
416
396
|
|
417
397
|
@pulumi.input_type
|
418
398
|
class _ClusterState:
|
@@ -447,8 +427,6 @@ class _ClusterState:
|
|
447
427
|
restore_continuous_backup_source: Optional[pulumi.Input['ClusterRestoreContinuousBackupSourceArgs']] = None,
|
448
428
|
secondary_config: Optional[pulumi.Input['ClusterSecondaryConfigArgs']] = None,
|
449
429
|
state: Optional[pulumi.Input[str]] = None,
|
450
|
-
subscription_type: Optional[pulumi.Input[str]] = None,
|
451
|
-
trial_metadatas: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTrialMetadataArgs']]]] = None,
|
452
430
|
uid: Optional[pulumi.Input[str]] = None):
|
453
431
|
"""
|
454
432
|
Input properties used for looking up and filtering Cluster resources.
|
@@ -474,7 +452,6 @@ class _ClusterState:
|
|
474
452
|
:param pulumi.Input[str] deletion_policy: Policy to determine if the cluster should be deleted forcefully.
|
475
453
|
Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
|
476
454
|
Deleting a Secondary cluster with a secondary instance REQUIRES setting deletion_policy = "FORCE" otherwise an error is returned. This is needed as there is no support to delete just the secondary instance, and the only way to delete secondary instance is to delete the associated secondary cluster forcefully which also deletes the secondary instance.
|
477
|
-
Possible values: DEFAULT, FORCE
|
478
455
|
:param pulumi.Input[str] display_name: User-settable and human-readable display name for the Cluster.
|
479
456
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
480
457
|
:param pulumi.Input['ClusterEncryptionConfigArgs'] encryption_config: EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
|
@@ -515,10 +492,6 @@ class _ClusterState:
|
|
515
492
|
:param pulumi.Input['ClusterSecondaryConfigArgs'] secondary_config: Configuration of the secondary cluster for Cross Region Replication. This should be set if and only if the cluster is of type SECONDARY.
|
516
493
|
Structure is documented below.
|
517
494
|
:param pulumi.Input[str] state: Output only. The current serving state of the cluster.
|
518
|
-
:param pulumi.Input[str] subscription_type: The subscrition type of cluster.
|
519
|
-
Possible values are: `TRIAL`, `STANDARD`.
|
520
|
-
:param pulumi.Input[Sequence[pulumi.Input['ClusterTrialMetadataArgs']]] trial_metadatas: Contains information and all metadata related to TRIAL clusters.
|
521
|
-
Structure is documented below.
|
522
495
|
:param pulumi.Input[str] uid: The system-generated UID of the resource.
|
523
496
|
"""
|
524
497
|
if annotations is not None:
|
@@ -581,10 +554,6 @@ class _ClusterState:
|
|
581
554
|
pulumi.set(__self__, "secondary_config", secondary_config)
|
582
555
|
if state is not None:
|
583
556
|
pulumi.set(__self__, "state", state)
|
584
|
-
if subscription_type is not None:
|
585
|
-
pulumi.set(__self__, "subscription_type", subscription_type)
|
586
|
-
if trial_metadatas is not None:
|
587
|
-
pulumi.set(__self__, "trial_metadatas", trial_metadatas)
|
588
557
|
if uid is not None:
|
589
558
|
pulumi.set(__self__, "uid", uid)
|
590
559
|
|
@@ -702,7 +671,6 @@ class _ClusterState:
|
|
702
671
|
Policy to determine if the cluster should be deleted forcefully.
|
703
672
|
Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
|
704
673
|
Deleting a Secondary cluster with a secondary instance REQUIRES setting deletion_policy = "FORCE" otherwise an error is returned. This is needed as there is no support to delete just the secondary instance, and the only way to delete secondary instance is to delete the associated secondary cluster forcefully which also deletes the secondary instance.
|
705
|
-
Possible values: DEFAULT, FORCE
|
706
674
|
"""
|
707
675
|
return pulumi.get(self, "deletion_policy")
|
708
676
|
|
@@ -979,32 +947,6 @@ class _ClusterState:
|
|
979
947
|
def state(self, value: Optional[pulumi.Input[str]]):
|
980
948
|
pulumi.set(self, "state", value)
|
981
949
|
|
982
|
-
@property
|
983
|
-
@pulumi.getter(name="subscriptionType")
|
984
|
-
def subscription_type(self) -> Optional[pulumi.Input[str]]:
|
985
|
-
"""
|
986
|
-
The subscrition type of cluster.
|
987
|
-
Possible values are: `TRIAL`, `STANDARD`.
|
988
|
-
"""
|
989
|
-
return pulumi.get(self, "subscription_type")
|
990
|
-
|
991
|
-
@subscription_type.setter
|
992
|
-
def subscription_type(self, value: Optional[pulumi.Input[str]]):
|
993
|
-
pulumi.set(self, "subscription_type", value)
|
994
|
-
|
995
|
-
@property
|
996
|
-
@pulumi.getter(name="trialMetadatas")
|
997
|
-
def trial_metadatas(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTrialMetadataArgs']]]]:
|
998
|
-
"""
|
999
|
-
Contains information and all metadata related to TRIAL clusters.
|
1000
|
-
Structure is documented below.
|
1001
|
-
"""
|
1002
|
-
return pulumi.get(self, "trial_metadatas")
|
1003
|
-
|
1004
|
-
@trial_metadatas.setter
|
1005
|
-
def trial_metadatas(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTrialMetadataArgs']]]]):
|
1006
|
-
pulumi.set(self, "trial_metadatas", value)
|
1007
|
-
|
1008
950
|
@property
|
1009
951
|
@pulumi.getter
|
1010
952
|
def uid(self) -> Optional[pulumi.Input[str]]:
|
@@ -1043,7 +985,6 @@ class Cluster(pulumi.CustomResource):
|
|
1043
985
|
restore_backup_source: Optional[pulumi.Input[Union['ClusterRestoreBackupSourceArgs', 'ClusterRestoreBackupSourceArgsDict']]] = None,
|
1044
986
|
restore_continuous_backup_source: Optional[pulumi.Input[Union['ClusterRestoreContinuousBackupSourceArgs', 'ClusterRestoreContinuousBackupSourceArgsDict']]] = None,
|
1045
987
|
secondary_config: Optional[pulumi.Input[Union['ClusterSecondaryConfigArgs', 'ClusterSecondaryConfigArgsDict']]] = None,
|
1046
|
-
subscription_type: Optional[pulumi.Input[str]] = None,
|
1047
988
|
__props__=None):
|
1048
989
|
"""
|
1049
990
|
## Example Usage
|
@@ -1208,7 +1149,6 @@ class Cluster(pulumi.CustomResource):
|
|
1208
1149
|
:param pulumi.Input[str] deletion_policy: Policy to determine if the cluster should be deleted forcefully.
|
1209
1150
|
Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
|
1210
1151
|
Deleting a Secondary cluster with a secondary instance REQUIRES setting deletion_policy = "FORCE" otherwise an error is returned. This is needed as there is no support to delete just the secondary instance, and the only way to delete secondary instance is to delete the associated secondary cluster forcefully which also deletes the secondary instance.
|
1211
|
-
Possible values: DEFAULT, FORCE
|
1212
1152
|
:param pulumi.Input[str] display_name: User-settable and human-readable display name for the Cluster.
|
1213
1153
|
:param pulumi.Input[Union['ClusterEncryptionConfigArgs', 'ClusterEncryptionConfigArgsDict']] encryption_config: EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
|
1214
1154
|
Structure is documented below.
|
@@ -1236,8 +1176,6 @@ class Cluster(pulumi.CustomResource):
|
|
1236
1176
|
Structure is documented below.
|
1237
1177
|
:param pulumi.Input[Union['ClusterSecondaryConfigArgs', 'ClusterSecondaryConfigArgsDict']] secondary_config: Configuration of the secondary cluster for Cross Region Replication. This should be set if and only if the cluster is of type SECONDARY.
|
1238
1178
|
Structure is documented below.
|
1239
|
-
:param pulumi.Input[str] subscription_type: The subscrition type of cluster.
|
1240
|
-
Possible values are: `TRIAL`, `STANDARD`.
|
1241
1179
|
"""
|
1242
1180
|
...
|
1243
1181
|
@overload
|
@@ -1423,7 +1361,6 @@ class Cluster(pulumi.CustomResource):
|
|
1423
1361
|
restore_backup_source: Optional[pulumi.Input[Union['ClusterRestoreBackupSourceArgs', 'ClusterRestoreBackupSourceArgsDict']]] = None,
|
1424
1362
|
restore_continuous_backup_source: Optional[pulumi.Input[Union['ClusterRestoreContinuousBackupSourceArgs', 'ClusterRestoreContinuousBackupSourceArgsDict']]] = None,
|
1425
1363
|
secondary_config: Optional[pulumi.Input[Union['ClusterSecondaryConfigArgs', 'ClusterSecondaryConfigArgsDict']]] = None,
|
1426
|
-
subscription_type: Optional[pulumi.Input[str]] = None,
|
1427
1364
|
__props__=None):
|
1428
1365
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
1429
1366
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -1457,7 +1394,6 @@ class Cluster(pulumi.CustomResource):
|
|
1457
1394
|
__props__.__dict__["restore_backup_source"] = restore_backup_source
|
1458
1395
|
__props__.__dict__["restore_continuous_backup_source"] = restore_continuous_backup_source
|
1459
1396
|
__props__.__dict__["secondary_config"] = secondary_config
|
1460
|
-
__props__.__dict__["subscription_type"] = subscription_type
|
1461
1397
|
__props__.__dict__["backup_sources"] = None
|
1462
1398
|
__props__.__dict__["continuous_backup_infos"] = None
|
1463
1399
|
__props__.__dict__["effective_annotations"] = None
|
@@ -1468,7 +1404,6 @@ class Cluster(pulumi.CustomResource):
|
|
1468
1404
|
__props__.__dict__["pulumi_labels"] = None
|
1469
1405
|
__props__.__dict__["reconciling"] = None
|
1470
1406
|
__props__.__dict__["state"] = None
|
1471
|
-
__props__.__dict__["trial_metadatas"] = None
|
1472
1407
|
__props__.__dict__["uid"] = None
|
1473
1408
|
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
1474
1409
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
@@ -1512,8 +1447,6 @@ class Cluster(pulumi.CustomResource):
|
|
1512
1447
|
restore_continuous_backup_source: Optional[pulumi.Input[Union['ClusterRestoreContinuousBackupSourceArgs', 'ClusterRestoreContinuousBackupSourceArgsDict']]] = None,
|
1513
1448
|
secondary_config: Optional[pulumi.Input[Union['ClusterSecondaryConfigArgs', 'ClusterSecondaryConfigArgsDict']]] = None,
|
1514
1449
|
state: Optional[pulumi.Input[str]] = None,
|
1515
|
-
subscription_type: Optional[pulumi.Input[str]] = None,
|
1516
|
-
trial_metadatas: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClusterTrialMetadataArgs', 'ClusterTrialMetadataArgsDict']]]]] = None,
|
1517
1450
|
uid: Optional[pulumi.Input[str]] = None) -> 'Cluster':
|
1518
1451
|
"""
|
1519
1452
|
Get an existing Cluster resource's state with the given name, id, and optional extra
|
@@ -1544,7 +1477,6 @@ class Cluster(pulumi.CustomResource):
|
|
1544
1477
|
:param pulumi.Input[str] deletion_policy: Policy to determine if the cluster should be deleted forcefully.
|
1545
1478
|
Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
|
1546
1479
|
Deleting a Secondary cluster with a secondary instance REQUIRES setting deletion_policy = "FORCE" otherwise an error is returned. This is needed as there is no support to delete just the secondary instance, and the only way to delete secondary instance is to delete the associated secondary cluster forcefully which also deletes the secondary instance.
|
1547
|
-
Possible values: DEFAULT, FORCE
|
1548
1480
|
:param pulumi.Input[str] display_name: User-settable and human-readable display name for the Cluster.
|
1549
1481
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
1550
1482
|
:param pulumi.Input[Union['ClusterEncryptionConfigArgs', 'ClusterEncryptionConfigArgsDict']] encryption_config: EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
|
@@ -1585,10 +1517,6 @@ class Cluster(pulumi.CustomResource):
|
|
1585
1517
|
:param pulumi.Input[Union['ClusterSecondaryConfigArgs', 'ClusterSecondaryConfigArgsDict']] secondary_config: Configuration of the secondary cluster for Cross Region Replication. This should be set if and only if the cluster is of type SECONDARY.
|
1586
1518
|
Structure is documented below.
|
1587
1519
|
:param pulumi.Input[str] state: Output only. The current serving state of the cluster.
|
1588
|
-
:param pulumi.Input[str] subscription_type: The subscrition type of cluster.
|
1589
|
-
Possible values are: `TRIAL`, `STANDARD`.
|
1590
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['ClusterTrialMetadataArgs', 'ClusterTrialMetadataArgsDict']]]] trial_metadatas: Contains information and all metadata related to TRIAL clusters.
|
1591
|
-
Structure is documented below.
|
1592
1520
|
:param pulumi.Input[str] uid: The system-generated UID of the resource.
|
1593
1521
|
"""
|
1594
1522
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -1625,8 +1553,6 @@ class Cluster(pulumi.CustomResource):
|
|
1625
1553
|
__props__.__dict__["restore_continuous_backup_source"] = restore_continuous_backup_source
|
1626
1554
|
__props__.__dict__["secondary_config"] = secondary_config
|
1627
1555
|
__props__.__dict__["state"] = state
|
1628
|
-
__props__.__dict__["subscription_type"] = subscription_type
|
1629
|
-
__props__.__dict__["trial_metadatas"] = trial_metadatas
|
1630
1556
|
__props__.__dict__["uid"] = uid
|
1631
1557
|
return Cluster(resource_name, opts=opts, __props__=__props__)
|
1632
1558
|
|
@@ -1712,7 +1638,6 @@ class Cluster(pulumi.CustomResource):
|
|
1712
1638
|
Policy to determine if the cluster should be deleted forcefully.
|
1713
1639
|
Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
|
1714
1640
|
Deleting a Secondary cluster with a secondary instance REQUIRES setting deletion_policy = "FORCE" otherwise an error is returned. This is needed as there is no support to delete just the secondary instance, and the only way to delete secondary instance is to delete the associated secondary cluster forcefully which also deletes the secondary instance.
|
1715
|
-
Possible values: DEFAULT, FORCE
|
1716
1641
|
"""
|
1717
1642
|
return pulumi.get(self, "deletion_policy")
|
1718
1643
|
|
@@ -1901,24 +1826,6 @@ class Cluster(pulumi.CustomResource):
|
|
1901
1826
|
"""
|
1902
1827
|
return pulumi.get(self, "state")
|
1903
1828
|
|
1904
|
-
@property
|
1905
|
-
@pulumi.getter(name="subscriptionType")
|
1906
|
-
def subscription_type(self) -> pulumi.Output[str]:
|
1907
|
-
"""
|
1908
|
-
The subscrition type of cluster.
|
1909
|
-
Possible values are: `TRIAL`, `STANDARD`.
|
1910
|
-
"""
|
1911
|
-
return pulumi.get(self, "subscription_type")
|
1912
|
-
|
1913
|
-
@property
|
1914
|
-
@pulumi.getter(name="trialMetadatas")
|
1915
|
-
def trial_metadatas(self) -> pulumi.Output[Sequence['outputs.ClusterTrialMetadata']]:
|
1916
|
-
"""
|
1917
|
-
Contains information and all metadata related to TRIAL clusters.
|
1918
|
-
Structure is documented below.
|
1919
|
-
"""
|
1920
|
-
return pulumi.get(self, "trial_metadatas")
|
1921
|
-
|
1922
1829
|
@property
|
1923
1830
|
@pulumi.getter
|
1924
1831
|
def uid(self) -> pulumi.Output[str]:
|
pulumi_gcp/alloydb/outputs.py
CHANGED
@@ -42,7 +42,6 @@ __all__ = [
|
|
42
42
|
'ClusterRestoreBackupSource',
|
43
43
|
'ClusterRestoreContinuousBackupSource',
|
44
44
|
'ClusterSecondaryConfig',
|
45
|
-
'ClusterTrialMetadata',
|
46
45
|
'InstanceClientConnectionConfig',
|
47
46
|
'InstanceClientConnectionConfigSslConfig',
|
48
47
|
'InstanceMachineConfig',
|
@@ -1355,84 +1354,6 @@ class ClusterSecondaryConfig(dict):
|
|
1355
1354
|
return pulumi.get(self, "primary_cluster_name")
|
1356
1355
|
|
1357
1356
|
|
1358
|
-
@pulumi.output_type
|
1359
|
-
class ClusterTrialMetadata(dict):
|
1360
|
-
@staticmethod
|
1361
|
-
def __key_warning(key: str):
|
1362
|
-
suggest = None
|
1363
|
-
if key == "endTime":
|
1364
|
-
suggest = "end_time"
|
1365
|
-
elif key == "graceEndTime":
|
1366
|
-
suggest = "grace_end_time"
|
1367
|
-
elif key == "startTime":
|
1368
|
-
suggest = "start_time"
|
1369
|
-
elif key == "upgradeTime":
|
1370
|
-
suggest = "upgrade_time"
|
1371
|
-
|
1372
|
-
if suggest:
|
1373
|
-
pulumi.log.warn(f"Key '{key}' not found in ClusterTrialMetadata. Access the value via the '{suggest}' property getter instead.")
|
1374
|
-
|
1375
|
-
def __getitem__(self, key: str) -> Any:
|
1376
|
-
ClusterTrialMetadata.__key_warning(key)
|
1377
|
-
return super().__getitem__(key)
|
1378
|
-
|
1379
|
-
def get(self, key: str, default = None) -> Any:
|
1380
|
-
ClusterTrialMetadata.__key_warning(key)
|
1381
|
-
return super().get(key, default)
|
1382
|
-
|
1383
|
-
def __init__(__self__, *,
|
1384
|
-
end_time: Optional[str] = None,
|
1385
|
-
grace_end_time: Optional[str] = None,
|
1386
|
-
start_time: Optional[str] = None,
|
1387
|
-
upgrade_time: Optional[str] = None):
|
1388
|
-
"""
|
1389
|
-
:param str end_time: End time of the trial cluster.
|
1390
|
-
:param str grace_end_time: Grace end time of the trial cluster.
|
1391
|
-
:param str start_time: Start time of the trial cluster.
|
1392
|
-
:param str upgrade_time: Upgrade time of the trial cluster to standard cluster.
|
1393
|
-
"""
|
1394
|
-
if end_time is not None:
|
1395
|
-
pulumi.set(__self__, "end_time", end_time)
|
1396
|
-
if grace_end_time is not None:
|
1397
|
-
pulumi.set(__self__, "grace_end_time", grace_end_time)
|
1398
|
-
if start_time is not None:
|
1399
|
-
pulumi.set(__self__, "start_time", start_time)
|
1400
|
-
if upgrade_time is not None:
|
1401
|
-
pulumi.set(__self__, "upgrade_time", upgrade_time)
|
1402
|
-
|
1403
|
-
@property
|
1404
|
-
@pulumi.getter(name="endTime")
|
1405
|
-
def end_time(self) -> Optional[str]:
|
1406
|
-
"""
|
1407
|
-
End time of the trial cluster.
|
1408
|
-
"""
|
1409
|
-
return pulumi.get(self, "end_time")
|
1410
|
-
|
1411
|
-
@property
|
1412
|
-
@pulumi.getter(name="graceEndTime")
|
1413
|
-
def grace_end_time(self) -> Optional[str]:
|
1414
|
-
"""
|
1415
|
-
Grace end time of the trial cluster.
|
1416
|
-
"""
|
1417
|
-
return pulumi.get(self, "grace_end_time")
|
1418
|
-
|
1419
|
-
@property
|
1420
|
-
@pulumi.getter(name="startTime")
|
1421
|
-
def start_time(self) -> Optional[str]:
|
1422
|
-
"""
|
1423
|
-
Start time of the trial cluster.
|
1424
|
-
"""
|
1425
|
-
return pulumi.get(self, "start_time")
|
1426
|
-
|
1427
|
-
@property
|
1428
|
-
@pulumi.getter(name="upgradeTime")
|
1429
|
-
def upgrade_time(self) -> Optional[str]:
|
1430
|
-
"""
|
1431
|
-
Upgrade time of the trial cluster to standard cluster.
|
1432
|
-
"""
|
1433
|
-
return pulumi.get(self, "upgrade_time")
|
1434
|
-
|
1435
|
-
|
1436
1357
|
@pulumi.output_type
|
1437
1358
|
class InstanceClientConnectionConfig(dict):
|
1438
1359
|
@staticmethod
|