pulumi-gcp 7.21.0__py3-none-any.whl → 7.21.0a1714149635__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 -40
- pulumi_gcp/alloydb/_inputs.py +0 -74
- pulumi_gcp/alloydb/backup.py +12 -0
- pulumi_gcp/alloydb/cluster.py +12 -0
- pulumi_gcp/alloydb/instance.py +81 -90
- pulumi_gcp/alloydb/outputs.py +0 -98
- pulumi_gcp/apigee/environment.py +0 -47
- pulumi_gcp/apigee/sharedflow.py +20 -0
- pulumi_gcp/appengine/flexible_app_version.py +20 -0
- pulumi_gcp/applicationintegration/__init__.py +0 -1
- pulumi_gcp/applicationintegration/_inputs.py +0 -843
- pulumi_gcp/applicationintegration/outputs.py +0 -891
- pulumi_gcp/bigquerydatapolicy/_inputs.py +4 -21
- pulumi_gcp/bigquerydatapolicy/data_policy.py +0 -78
- pulumi_gcp/bigquerydatapolicy/outputs.py +3 -16
- pulumi_gcp/certificateauthority/_inputs.py +12 -92
- pulumi_gcp/certificateauthority/authority.py +27 -117
- pulumi_gcp/certificateauthority/certificate.py +0 -176
- pulumi_gcp/certificateauthority/outputs.py +12 -144
- pulumi_gcp/cloudbuild/worker_pool.py +12 -0
- pulumi_gcp/cloudbuildv2/connection.py +12 -0
- pulumi_gcp/cloudbuildv2/repository.py +12 -0
- pulumi_gcp/clouddeploy/automation.py +12 -0
- pulumi_gcp/clouddeploy/custom_target_type.py +12 -0
- pulumi_gcp/clouddeploy/delivery_pipeline.py +12 -0
- pulumi_gcp/clouddeploy/target.py +12 -0
- pulumi_gcp/cloudrunv2/job.py +12 -0
- pulumi_gcp/cloudrunv2/service.py +12 -0
- pulumi_gcp/composer/__init__.py +0 -1
- pulumi_gcp/composer/environment.py +47 -35
- pulumi_gcp/compute/__init__.py +0 -1
- pulumi_gcp/compute/_inputs.py +58 -121
- pulumi_gcp/compute/forwarding_rule.py +13 -0
- pulumi_gcp/compute/global_address.py +12 -0
- pulumi_gcp/compute/global_forwarding_rule.py +282 -0
- pulumi_gcp/compute/instance_from_machine_image.py +46 -14
- pulumi_gcp/compute/instance_from_template.py +46 -14
- pulumi_gcp/compute/outputs.py +65 -120
- pulumi_gcp/compute/region_instance_template.py +13 -0
- pulumi_gcp/compute/region_target_https_proxy.py +0 -257
- pulumi_gcp/compute/region_url_map.py +470 -0
- pulumi_gcp/container/attached_cluster.py +12 -0
- pulumi_gcp/container/aws_cluster.py +12 -0
- pulumi_gcp/container/aws_node_pool.py +12 -0
- pulumi_gcp/container/azure_cluster.py +12 -0
- pulumi_gcp/container/azure_node_pool.py +12 -0
- pulumi_gcp/container/cluster.py +20 -0
- pulumi_gcp/dataflow/flex_template_job.py +39 -0
- pulumi_gcp/dataloss/__init__.py +0 -1
- pulumi_gcp/dataloss/_inputs.py +0 -1040
- pulumi_gcp/dataloss/outputs.py +0 -1123
- pulumi_gcp/dataproc/cluster.py +20 -0
- pulumi_gcp/dataproc/workflow_template.py +26 -21
- pulumi_gcp/deploymentmanager/deployment.py +34 -0
- pulumi_gcp/dns/_inputs.py +2 -2
- pulumi_gcp/dns/outputs.py +2 -2
- pulumi_gcp/dns/record_set.py +36 -2
- pulumi_gcp/filestore/get_instance.py +1 -11
- pulumi_gcp/filestore/instance.py +0 -101
- pulumi_gcp/firebase/_inputs.py +0 -16
- pulumi_gcp/firebase/android_app.py +27 -0
- pulumi_gcp/firebase/app_check_play_integrity_config.py +0 -20
- pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +0 -10
- pulumi_gcp/firebase/app_check_service_config.py +125 -0
- pulumi_gcp/firebase/apple_app.py +27 -0
- pulumi_gcp/firebase/hosting_custom_domain.py +27 -0
- pulumi_gcp/firebase/hosting_version.py +0 -44
- pulumi_gcp/firebase/outputs.py +0 -12
- pulumi_gcp/firebase/web_app.py +20 -0
- pulumi_gcp/firestore/database.py +68 -0
- pulumi_gcp/gkeonprem/bare_metal_admin_cluster.py +12 -0
- pulumi_gcp/gkeonprem/bare_metal_cluster.py +12 -0
- pulumi_gcp/gkeonprem/bare_metal_node_pool.py +12 -0
- pulumi_gcp/gkeonprem/v_mware_cluster.py +12 -0
- pulumi_gcp/gkeonprem/v_mware_node_pool.py +12 -0
- pulumi_gcp/logging/folder_sink.py +0 -54
- pulumi_gcp/logging/organization_sink.py +0 -54
- pulumi_gcp/monitoring/_inputs.py +2 -46
- pulumi_gcp/monitoring/outputs.py +2 -40
- pulumi_gcp/monitoring/uptime_check_config.py +0 -6
- pulumi_gcp/netapp/active_directory.py +20 -0
- pulumi_gcp/netapp/volume_replication.py +68 -0
- pulumi_gcp/networkconnectivity/__init__.py +0 -1
- pulumi_gcp/secretmanager/get_secret.py +3 -13
- pulumi_gcp/secretmanager/outputs.py +1 -20
- pulumi_gcp/secretmanager/secret.py +15 -90
- pulumi_gcp/servicenetworking/connection.py +20 -0
- pulumi_gcp/spanner/database.py +41 -0
- pulumi_gcp/spanner/instance.py +40 -0
- pulumi_gcp/storage/__init__.py +0 -1
- pulumi_gcp/storage/bucket.py +12 -0
- pulumi_gcp/storage/outputs.py +0 -63
- pulumi_gcp/workstations/workstation.py +12 -0
- pulumi_gcp/workstations/workstation_cluster.py +12 -0
- pulumi_gcp/workstations/workstation_config.py +12 -0
- {pulumi_gcp-7.21.0.dist-info → pulumi_gcp-7.21.0a1714149635.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.21.0.dist-info → pulumi_gcp-7.21.0a1714149635.dist-info}/RECORD +99 -105
- pulumi_gcp/applicationintegration/auth_config.py +0 -998
- pulumi_gcp/composer/user_workloads_secret.py +0 -441
- pulumi_gcp/compute/security_policy_rule.py +0 -850
- pulumi_gcp/dataloss/prevention_discovery_config.py +0 -737
- pulumi_gcp/networkconnectivity/internal_range.py +0 -1024
- pulumi_gcp/storage/get_bucket_objects.py +0 -153
- {pulumi_gcp-7.21.0.dist-info → pulumi_gcp-7.21.0a1714149635.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.21.0.dist-info → pulumi_gcp-7.21.0a1714149635.dist-info}/top_level.txt +0 -0
pulumi_gcp/__init__.py
CHANGED
@@ -929,14 +929,6 @@ _utilities.register(
|
|
929
929
|
"gcp:apphub/workload:Workload": "Workload"
|
930
930
|
}
|
931
931
|
},
|
932
|
-
{
|
933
|
-
"pkg": "gcp",
|
934
|
-
"mod": "applicationintegration/authConfig",
|
935
|
-
"fqn": "pulumi_gcp.applicationintegration",
|
936
|
-
"classes": {
|
937
|
-
"gcp:applicationintegration/authConfig:AuthConfig": "AuthConfig"
|
938
|
-
}
|
939
|
-
},
|
940
932
|
{
|
941
933
|
"pkg": "gcp",
|
942
934
|
"mod": "applicationintegration/client",
|
@@ -2057,14 +2049,6 @@ _utilities.register(
|
|
2057
2049
|
"gcp:composer/environment:Environment": "Environment"
|
2058
2050
|
}
|
2059
2051
|
},
|
2060
|
-
{
|
2061
|
-
"pkg": "gcp",
|
2062
|
-
"mod": "composer/userWorkloadsSecret",
|
2063
|
-
"fqn": "pulumi_gcp.composer",
|
2064
|
-
"classes": {
|
2065
|
-
"gcp:composer/userWorkloadsSecret:UserWorkloadsSecret": "UserWorkloadsSecret"
|
2066
|
-
}
|
2067
|
-
},
|
2068
2052
|
{
|
2069
2053
|
"pkg": "gcp",
|
2070
2054
|
"mod": "compute/address",
|
@@ -3009,14 +2993,6 @@ _utilities.register(
|
|
3009
2993
|
"gcp:compute/securityPolicy:SecurityPolicy": "SecurityPolicy"
|
3010
2994
|
}
|
3011
2995
|
},
|
3012
|
-
{
|
3013
|
-
"pkg": "gcp",
|
3014
|
-
"mod": "compute/securityPolicyRule",
|
3015
|
-
"fqn": "pulumi_gcp.compute",
|
3016
|
-
"classes": {
|
3017
|
-
"gcp:compute/securityPolicyRule:SecurityPolicyRule": "SecurityPolicyRule"
|
3018
|
-
}
|
3019
|
-
},
|
3020
2996
|
{
|
3021
2997
|
"pkg": "gcp",
|
3022
2998
|
"mod": "compute/securityScanConfig",
|
@@ -3553,14 +3529,6 @@ _utilities.register(
|
|
3553
3529
|
"gcp:dataloss/preventionDeidentifyTemplate:PreventionDeidentifyTemplate": "PreventionDeidentifyTemplate"
|
3554
3530
|
}
|
3555
3531
|
},
|
3556
|
-
{
|
3557
|
-
"pkg": "gcp",
|
3558
|
-
"mod": "dataloss/preventionDiscoveryConfig",
|
3559
|
-
"fqn": "pulumi_gcp.dataloss",
|
3560
|
-
"classes": {
|
3561
|
-
"gcp:dataloss/preventionDiscoveryConfig:PreventionDiscoveryConfig": "PreventionDiscoveryConfig"
|
3562
|
-
}
|
3563
|
-
},
|
3564
3532
|
{
|
3565
3533
|
"pkg": "gcp",
|
3566
3534
|
"mod": "dataloss/preventionInspectTemplate",
|
@@ -5825,14 +5793,6 @@ _utilities.register(
|
|
5825
5793
|
"gcp:networkconnectivity/hub:Hub": "Hub"
|
5826
5794
|
}
|
5827
5795
|
},
|
5828
|
-
{
|
5829
|
-
"pkg": "gcp",
|
5830
|
-
"mod": "networkconnectivity/internalRange",
|
5831
|
-
"fqn": "pulumi_gcp.networkconnectivity",
|
5832
|
-
"classes": {
|
5833
|
-
"gcp:networkconnectivity/internalRange:InternalRange": "InternalRange"
|
5834
|
-
}
|
5835
|
-
},
|
5836
5796
|
{
|
5837
5797
|
"pkg": "gcp",
|
5838
5798
|
"mod": "networkconnectivity/policyBasedRoute",
|
pulumi_gcp/alloydb/_inputs.py
CHANGED
@@ -35,8 +35,6 @@ __all__ = [
|
|
35
35
|
'InstanceClientConnectionConfigArgs',
|
36
36
|
'InstanceClientConnectionConfigSslConfigArgs',
|
37
37
|
'InstanceMachineConfigArgs',
|
38
|
-
'InstanceNetworkConfigArgs',
|
39
|
-
'InstanceNetworkConfigAuthorizedExternalNetworkArgs',
|
40
38
|
'InstanceQueryInsightsConfigArgs',
|
41
39
|
'InstanceReadPoolConfigArgs',
|
42
40
|
]
|
@@ -1086,78 +1084,6 @@ class InstanceMachineConfigArgs:
|
|
1086
1084
|
pulumi.set(self, "cpu_count", value)
|
1087
1085
|
|
1088
1086
|
|
1089
|
-
@pulumi.input_type
|
1090
|
-
class InstanceNetworkConfigArgs:
|
1091
|
-
def __init__(__self__, *,
|
1092
|
-
authorized_external_networks: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceNetworkConfigAuthorizedExternalNetworkArgs']]]] = None,
|
1093
|
-
enable_public_ip: Optional[pulumi.Input[bool]] = None):
|
1094
|
-
"""
|
1095
|
-
:param pulumi.Input[Sequence[pulumi.Input['InstanceNetworkConfigAuthorizedExternalNetworkArgs']]] authorized_external_networks: A list of external networks authorized to access this instance. This
|
1096
|
-
field is only allowed to be set when `enable_public_ip` is set to
|
1097
|
-
true.
|
1098
|
-
Structure is documented below.
|
1099
|
-
:param pulumi.Input[bool] enable_public_ip: Enabling public ip for the instance. If a user wishes to disable this,
|
1100
|
-
please also clear the list of the authorized external networks set on
|
1101
|
-
the same instance.
|
1102
|
-
"""
|
1103
|
-
if authorized_external_networks is not None:
|
1104
|
-
pulumi.set(__self__, "authorized_external_networks", authorized_external_networks)
|
1105
|
-
if enable_public_ip is not None:
|
1106
|
-
pulumi.set(__self__, "enable_public_ip", enable_public_ip)
|
1107
|
-
|
1108
|
-
@property
|
1109
|
-
@pulumi.getter(name="authorizedExternalNetworks")
|
1110
|
-
def authorized_external_networks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceNetworkConfigAuthorizedExternalNetworkArgs']]]]:
|
1111
|
-
"""
|
1112
|
-
A list of external networks authorized to access this instance. This
|
1113
|
-
field is only allowed to be set when `enable_public_ip` is set to
|
1114
|
-
true.
|
1115
|
-
Structure is documented below.
|
1116
|
-
"""
|
1117
|
-
return pulumi.get(self, "authorized_external_networks")
|
1118
|
-
|
1119
|
-
@authorized_external_networks.setter
|
1120
|
-
def authorized_external_networks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceNetworkConfigAuthorizedExternalNetworkArgs']]]]):
|
1121
|
-
pulumi.set(self, "authorized_external_networks", value)
|
1122
|
-
|
1123
|
-
@property
|
1124
|
-
@pulumi.getter(name="enablePublicIp")
|
1125
|
-
def enable_public_ip(self) -> Optional[pulumi.Input[bool]]:
|
1126
|
-
"""
|
1127
|
-
Enabling public ip for the instance. If a user wishes to disable this,
|
1128
|
-
please also clear the list of the authorized external networks set on
|
1129
|
-
the same instance.
|
1130
|
-
"""
|
1131
|
-
return pulumi.get(self, "enable_public_ip")
|
1132
|
-
|
1133
|
-
@enable_public_ip.setter
|
1134
|
-
def enable_public_ip(self, value: Optional[pulumi.Input[bool]]):
|
1135
|
-
pulumi.set(self, "enable_public_ip", value)
|
1136
|
-
|
1137
|
-
|
1138
|
-
@pulumi.input_type
|
1139
|
-
class InstanceNetworkConfigAuthorizedExternalNetworkArgs:
|
1140
|
-
def __init__(__self__, *,
|
1141
|
-
cidr_range: Optional[pulumi.Input[str]] = None):
|
1142
|
-
"""
|
1143
|
-
:param pulumi.Input[str] cidr_range: CIDR range for one authorized network of the instance.
|
1144
|
-
"""
|
1145
|
-
if cidr_range is not None:
|
1146
|
-
pulumi.set(__self__, "cidr_range", cidr_range)
|
1147
|
-
|
1148
|
-
@property
|
1149
|
-
@pulumi.getter(name="cidrRange")
|
1150
|
-
def cidr_range(self) -> Optional[pulumi.Input[str]]:
|
1151
|
-
"""
|
1152
|
-
CIDR range for one authorized network of the instance.
|
1153
|
-
"""
|
1154
|
-
return pulumi.get(self, "cidr_range")
|
1155
|
-
|
1156
|
-
@cidr_range.setter
|
1157
|
-
def cidr_range(self, value: Optional[pulumi.Input[str]]):
|
1158
|
-
pulumi.set(self, "cidr_range", value)
|
1159
|
-
|
1160
|
-
|
1161
1087
|
@pulumi.input_type
|
1162
1088
|
class InstanceQueryInsightsConfigArgs:
|
1163
1089
|
def __init__(__self__, *,
|
pulumi_gcp/alloydb/backup.py
CHANGED
@@ -249,6 +249,8 @@ class _BackupState:
|
|
249
249
|
Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
250
250
|
:param pulumi.Input[str] description: User-provided description of the backup.
|
251
251
|
:param pulumi.Input[str] display_name: User-settable and human-readable display name for the Backup.
|
252
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
|
253
|
+
Terraform, other clients and services.
|
252
254
|
: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.
|
253
255
|
:param pulumi.Input['BackupEncryptionConfigArgs'] encryption_config: EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
|
254
256
|
Structure is documented below.
|
@@ -441,6 +443,10 @@ class _BackupState:
|
|
441
443
|
@property
|
442
444
|
@pulumi.getter(name="effectiveAnnotations")
|
443
445
|
def effective_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
446
|
+
"""
|
447
|
+
All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
|
448
|
+
Terraform, other clients and services.
|
449
|
+
"""
|
444
450
|
return pulumi.get(self, "effective_annotations")
|
445
451
|
|
446
452
|
@effective_annotations.setter
|
@@ -1043,6 +1049,8 @@ class Backup(pulumi.CustomResource):
|
|
1043
1049
|
Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
1044
1050
|
:param pulumi.Input[str] description: User-provided description of the backup.
|
1045
1051
|
:param pulumi.Input[str] display_name: User-settable and human-readable display name for the Backup.
|
1052
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
|
1053
|
+
Terraform, other clients and services.
|
1046
1054
|
: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.
|
1047
1055
|
:param pulumi.Input[pulumi.InputType['BackupEncryptionConfigArgs']] encryption_config: EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
|
1048
1056
|
Structure is documented below.
|
@@ -1182,6 +1190,10 @@ class Backup(pulumi.CustomResource):
|
|
1182
1190
|
@property
|
1183
1191
|
@pulumi.getter(name="effectiveAnnotations")
|
1184
1192
|
def effective_annotations(self) -> pulumi.Output[Mapping[str, str]]:
|
1193
|
+
"""
|
1194
|
+
All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
|
1195
|
+
Terraform, other clients and services.
|
1196
|
+
"""
|
1185
1197
|
return pulumi.get(self, "effective_annotations")
|
1186
1198
|
|
1187
1199
|
@property
|
pulumi_gcp/alloydb/cluster.py
CHANGED
@@ -441,6 +441,8 @@ class _ClusterState:
|
|
441
441
|
Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
|
442
442
|
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.
|
443
443
|
:param pulumi.Input[str] display_name: User-settable and human-readable display name for the Cluster.
|
444
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
|
445
|
+
Terraform, other clients and services.
|
444
446
|
: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.
|
445
447
|
: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).
|
446
448
|
Structure is documented below.
|
@@ -683,6 +685,10 @@ class _ClusterState:
|
|
683
685
|
@property
|
684
686
|
@pulumi.getter(name="effectiveAnnotations")
|
685
687
|
def effective_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
688
|
+
"""
|
689
|
+
All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
|
690
|
+
Terraform, other clients and services.
|
691
|
+
"""
|
686
692
|
return pulumi.get(self, "effective_annotations")
|
687
693
|
|
688
694
|
@effective_annotations.setter
|
@@ -1566,6 +1572,8 @@ class Cluster(pulumi.CustomResource):
|
|
1566
1572
|
Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
|
1567
1573
|
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.
|
1568
1574
|
:param pulumi.Input[str] display_name: User-settable and human-readable display name for the Cluster.
|
1575
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
|
1576
|
+
Terraform, other clients and services.
|
1569
1577
|
: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.
|
1570
1578
|
:param pulumi.Input[pulumi.InputType['ClusterEncryptionConfigArgs']] encryption_config: EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
|
1571
1579
|
Structure is documented below.
|
@@ -1740,6 +1748,10 @@ class Cluster(pulumi.CustomResource):
|
|
1740
1748
|
@property
|
1741
1749
|
@pulumi.getter(name="effectiveAnnotations")
|
1742
1750
|
def effective_annotations(self) -> pulumi.Output[Mapping[str, str]]:
|
1751
|
+
"""
|
1752
|
+
All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
|
1753
|
+
Terraform, other clients and services.
|
1754
|
+
"""
|
1743
1755
|
return pulumi.get(self, "effective_annotations")
|
1744
1756
|
|
1745
1757
|
@property
|
pulumi_gcp/alloydb/instance.py
CHANGED
@@ -27,7 +27,6 @@ class InstanceArgs:
|
|
27
27
|
gce_zone: Optional[pulumi.Input[str]] = None,
|
28
28
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
29
29
|
machine_config: Optional[pulumi.Input['InstanceMachineConfigArgs']] = None,
|
30
|
-
network_config: Optional[pulumi.Input['InstanceNetworkConfigArgs']] = None,
|
31
30
|
query_insights_config: Optional[pulumi.Input['InstanceQueryInsightsConfigArgs']] = None,
|
32
31
|
read_pool_config: Optional[pulumi.Input['InstanceReadPoolConfigArgs']] = None):
|
33
32
|
"""
|
@@ -38,6 +37,15 @@ class InstanceArgs:
|
|
38
37
|
|
39
38
|
|
40
39
|
- - -
|
40
|
+
:param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
|
41
|
+
'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
|
42
|
+
secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
|
43
|
+
google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
|
44
|
+
type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
|
45
|
+
instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
|
46
|
+
the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
|
47
|
+
importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
|
48
|
+
"SECONDARY"]
|
41
49
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels.
|
42
50
|
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
43
51
|
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
@@ -58,8 +66,6 @@ class InstanceArgs:
|
|
58
66
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
59
67
|
:param pulumi.Input['InstanceMachineConfigArgs'] machine_config: Configurations for the machines that host the underlying database engine.
|
60
68
|
Structure is documented below.
|
61
|
-
:param pulumi.Input['InstanceNetworkConfigArgs'] network_config: Instance level network configuration.
|
62
|
-
Structure is documented below.
|
63
69
|
:param pulumi.Input['InstanceQueryInsightsConfigArgs'] query_insights_config: Configuration for query insights.
|
64
70
|
Structure is documented below.
|
65
71
|
:param pulumi.Input['InstanceReadPoolConfigArgs'] read_pool_config: Read pool specific config. If the instance type is READ_POOL, this configuration must be provided.
|
@@ -84,8 +90,6 @@ class InstanceArgs:
|
|
84
90
|
pulumi.set(__self__, "labels", labels)
|
85
91
|
if machine_config is not None:
|
86
92
|
pulumi.set(__self__, "machine_config", machine_config)
|
87
|
-
if network_config is not None:
|
88
|
-
pulumi.set(__self__, "network_config", network_config)
|
89
93
|
if query_insights_config is not None:
|
90
94
|
pulumi.set(__self__, "query_insights_config", query_insights_config)
|
91
95
|
if read_pool_config is not None:
|
@@ -122,6 +126,17 @@ class InstanceArgs:
|
|
122
126
|
@property
|
123
127
|
@pulumi.getter(name="instanceType")
|
124
128
|
def instance_type(self) -> pulumi.Input[str]:
|
129
|
+
"""
|
130
|
+
The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
|
131
|
+
'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
|
132
|
+
secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
|
133
|
+
google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
|
134
|
+
type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
|
135
|
+
instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
|
136
|
+
the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
|
137
|
+
importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
|
138
|
+
"SECONDARY"]
|
139
|
+
"""
|
125
140
|
return pulumi.get(self, "instance_type")
|
126
141
|
|
127
142
|
@instance_type.setter
|
@@ -236,19 +251,6 @@ class InstanceArgs:
|
|
236
251
|
def machine_config(self, value: Optional[pulumi.Input['InstanceMachineConfigArgs']]):
|
237
252
|
pulumi.set(self, "machine_config", value)
|
238
253
|
|
239
|
-
@property
|
240
|
-
@pulumi.getter(name="networkConfig")
|
241
|
-
def network_config(self) -> Optional[pulumi.Input['InstanceNetworkConfigArgs']]:
|
242
|
-
"""
|
243
|
-
Instance level network configuration.
|
244
|
-
Structure is documented below.
|
245
|
-
"""
|
246
|
-
return pulumi.get(self, "network_config")
|
247
|
-
|
248
|
-
@network_config.setter
|
249
|
-
def network_config(self, value: Optional[pulumi.Input['InstanceNetworkConfigArgs']]):
|
250
|
-
pulumi.set(self, "network_config", value)
|
251
|
-
|
252
254
|
@property
|
253
255
|
@pulumi.getter(name="queryInsightsConfig")
|
254
256
|
def query_insights_config(self) -> Optional[pulumi.Input['InstanceQueryInsightsConfigArgs']]:
|
@@ -295,8 +297,6 @@ class _InstanceState:
|
|
295
297
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
296
298
|
machine_config: Optional[pulumi.Input['InstanceMachineConfigArgs']] = None,
|
297
299
|
name: Optional[pulumi.Input[str]] = None,
|
298
|
-
network_config: Optional[pulumi.Input['InstanceNetworkConfigArgs']] = None,
|
299
|
-
public_ip_address: Optional[pulumi.Input[str]] = None,
|
300
300
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
301
301
|
query_insights_config: Optional[pulumi.Input['InstanceQueryInsightsConfigArgs']] = None,
|
302
302
|
read_pool_config: Optional[pulumi.Input['InstanceReadPoolConfigArgs']] = None,
|
@@ -323,12 +323,23 @@ class _InstanceState:
|
|
323
323
|
:param pulumi.Input[str] create_time: Time the Instance was created in UTC.
|
324
324
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] database_flags: Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary.
|
325
325
|
:param pulumi.Input[str] display_name: User-settable and human-readable display name for the Instance.
|
326
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
|
327
|
+
Terraform, other clients and services.
|
326
328
|
: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.
|
327
329
|
:param pulumi.Input[str] gce_zone: The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
|
328
330
|
:param pulumi.Input[str] instance_id: The ID of the alloydb instance.
|
329
331
|
|
330
332
|
|
331
333
|
- - -
|
334
|
+
:param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
|
335
|
+
'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
|
336
|
+
secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
|
337
|
+
google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
|
338
|
+
type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
|
339
|
+
instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
|
340
|
+
the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
|
341
|
+
importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
|
342
|
+
"SECONDARY"]
|
332
343
|
:param pulumi.Input[str] ip_address: The IP address for the Instance. This is the connection endpoint for an end-user application.
|
333
344
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for the alloydb instance.
|
334
345
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
@@ -336,11 +347,6 @@ class _InstanceState:
|
|
336
347
|
:param pulumi.Input['InstanceMachineConfigArgs'] machine_config: Configurations for the machines that host the underlying database engine.
|
337
348
|
Structure is documented below.
|
338
349
|
:param pulumi.Input[str] name: The name of the instance resource.
|
339
|
-
:param pulumi.Input['InstanceNetworkConfigArgs'] network_config: Instance level network configuration.
|
340
|
-
Structure is documented below.
|
341
|
-
:param pulumi.Input[str] public_ip_address: The public IP addresses for the Instance. This is available ONLY when
|
342
|
-
networkConfig.enablePublicIp is set to true. This is the connection
|
343
|
-
endpoint for an end-user application.
|
344
350
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
345
351
|
and default labels configured on the provider.
|
346
352
|
:param pulumi.Input['InstanceQueryInsightsConfigArgs'] query_insights_config: Configuration for query insights.
|
@@ -384,10 +390,6 @@ class _InstanceState:
|
|
384
390
|
pulumi.set(__self__, "machine_config", machine_config)
|
385
391
|
if name is not None:
|
386
392
|
pulumi.set(__self__, "name", name)
|
387
|
-
if network_config is not None:
|
388
|
-
pulumi.set(__self__, "network_config", network_config)
|
389
|
-
if public_ip_address is not None:
|
390
|
-
pulumi.set(__self__, "public_ip_address", public_ip_address)
|
391
393
|
if pulumi_labels is not None:
|
392
394
|
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
393
395
|
if query_insights_config is not None:
|
@@ -500,6 +502,10 @@ class _InstanceState:
|
|
500
502
|
@property
|
501
503
|
@pulumi.getter(name="effectiveAnnotations")
|
502
504
|
def effective_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
505
|
+
"""
|
506
|
+
All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
|
507
|
+
Terraform, other clients and services.
|
508
|
+
"""
|
503
509
|
return pulumi.get(self, "effective_annotations")
|
504
510
|
|
505
511
|
@effective_annotations.setter
|
@@ -548,6 +554,17 @@ class _InstanceState:
|
|
548
554
|
@property
|
549
555
|
@pulumi.getter(name="instanceType")
|
550
556
|
def instance_type(self) -> Optional[pulumi.Input[str]]:
|
557
|
+
"""
|
558
|
+
The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
|
559
|
+
'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
|
560
|
+
secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
|
561
|
+
google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
|
562
|
+
type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
|
563
|
+
instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
|
564
|
+
the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
|
565
|
+
importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
|
566
|
+
"SECONDARY"]
|
567
|
+
"""
|
551
568
|
return pulumi.get(self, "instance_type")
|
552
569
|
|
553
570
|
@instance_type.setter
|
@@ -605,33 +622,6 @@ class _InstanceState:
|
|
605
622
|
def name(self, value: Optional[pulumi.Input[str]]):
|
606
623
|
pulumi.set(self, "name", value)
|
607
624
|
|
608
|
-
@property
|
609
|
-
@pulumi.getter(name="networkConfig")
|
610
|
-
def network_config(self) -> Optional[pulumi.Input['InstanceNetworkConfigArgs']]:
|
611
|
-
"""
|
612
|
-
Instance level network configuration.
|
613
|
-
Structure is documented below.
|
614
|
-
"""
|
615
|
-
return pulumi.get(self, "network_config")
|
616
|
-
|
617
|
-
@network_config.setter
|
618
|
-
def network_config(self, value: Optional[pulumi.Input['InstanceNetworkConfigArgs']]):
|
619
|
-
pulumi.set(self, "network_config", value)
|
620
|
-
|
621
|
-
@property
|
622
|
-
@pulumi.getter(name="publicIpAddress")
|
623
|
-
def public_ip_address(self) -> Optional[pulumi.Input[str]]:
|
624
|
-
"""
|
625
|
-
The public IP addresses for the Instance. This is available ONLY when
|
626
|
-
networkConfig.enablePublicIp is set to true. This is the connection
|
627
|
-
endpoint for an end-user application.
|
628
|
-
"""
|
629
|
-
return pulumi.get(self, "public_ip_address")
|
630
|
-
|
631
|
-
@public_ip_address.setter
|
632
|
-
def public_ip_address(self, value: Optional[pulumi.Input[str]]):
|
633
|
-
pulumi.set(self, "public_ip_address", value)
|
634
|
-
|
635
625
|
@property
|
636
626
|
@pulumi.getter(name="pulumiLabels")
|
637
627
|
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -736,7 +726,6 @@ class Instance(pulumi.CustomResource):
|
|
736
726
|
instance_type: Optional[pulumi.Input[str]] = None,
|
737
727
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
738
728
|
machine_config: Optional[pulumi.Input[pulumi.InputType['InstanceMachineConfigArgs']]] = None,
|
739
|
-
network_config: Optional[pulumi.Input[pulumi.InputType['InstanceNetworkConfigArgs']]] = None,
|
740
729
|
query_insights_config: Optional[pulumi.Input[pulumi.InputType['InstanceQueryInsightsConfigArgs']]] = None,
|
741
730
|
read_pool_config: Optional[pulumi.Input[pulumi.InputType['InstanceReadPoolConfigArgs']]] = None,
|
742
731
|
__props__=None):
|
@@ -873,13 +862,20 @@ class Instance(pulumi.CustomResource):
|
|
873
862
|
|
874
863
|
|
875
864
|
- - -
|
865
|
+
:param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
|
866
|
+
'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
|
867
|
+
secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
|
868
|
+
google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
|
869
|
+
type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
|
870
|
+
instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
|
871
|
+
the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
|
872
|
+
importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
|
873
|
+
"SECONDARY"]
|
876
874
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for the alloydb instance.
|
877
875
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
878
876
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
879
877
|
:param pulumi.Input[pulumi.InputType['InstanceMachineConfigArgs']] machine_config: Configurations for the machines that host the underlying database engine.
|
880
878
|
Structure is documented below.
|
881
|
-
:param pulumi.Input[pulumi.InputType['InstanceNetworkConfigArgs']] network_config: Instance level network configuration.
|
882
|
-
Structure is documented below.
|
883
879
|
:param pulumi.Input[pulumi.InputType['InstanceQueryInsightsConfigArgs']] query_insights_config: Configuration for query insights.
|
884
880
|
Structure is documented below.
|
885
881
|
:param pulumi.Input[pulumi.InputType['InstanceReadPoolConfigArgs']] read_pool_config: Read pool specific config. If the instance type is READ_POOL, this configuration must be provided.
|
@@ -1027,7 +1023,6 @@ class Instance(pulumi.CustomResource):
|
|
1027
1023
|
instance_type: Optional[pulumi.Input[str]] = None,
|
1028
1024
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1029
1025
|
machine_config: Optional[pulumi.Input[pulumi.InputType['InstanceMachineConfigArgs']]] = None,
|
1030
|
-
network_config: Optional[pulumi.Input[pulumi.InputType['InstanceNetworkConfigArgs']]] = None,
|
1031
1026
|
query_insights_config: Optional[pulumi.Input[pulumi.InputType['InstanceQueryInsightsConfigArgs']]] = None,
|
1032
1027
|
read_pool_config: Optional[pulumi.Input[pulumi.InputType['InstanceReadPoolConfigArgs']]] = None,
|
1033
1028
|
__props__=None):
|
@@ -1056,7 +1051,6 @@ class Instance(pulumi.CustomResource):
|
|
1056
1051
|
__props__.__dict__["instance_type"] = instance_type
|
1057
1052
|
__props__.__dict__["labels"] = labels
|
1058
1053
|
__props__.__dict__["machine_config"] = machine_config
|
1059
|
-
__props__.__dict__["network_config"] = network_config
|
1060
1054
|
__props__.__dict__["query_insights_config"] = query_insights_config
|
1061
1055
|
__props__.__dict__["read_pool_config"] = read_pool_config
|
1062
1056
|
__props__.__dict__["create_time"] = None
|
@@ -1064,7 +1058,6 @@ class Instance(pulumi.CustomResource):
|
|
1064
1058
|
__props__.__dict__["effective_labels"] = None
|
1065
1059
|
__props__.__dict__["ip_address"] = None
|
1066
1060
|
__props__.__dict__["name"] = None
|
1067
|
-
__props__.__dict__["public_ip_address"] = None
|
1068
1061
|
__props__.__dict__["pulumi_labels"] = None
|
1069
1062
|
__props__.__dict__["reconciling"] = None
|
1070
1063
|
__props__.__dict__["state"] = None
|
@@ -1098,8 +1091,6 @@ class Instance(pulumi.CustomResource):
|
|
1098
1091
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1099
1092
|
machine_config: Optional[pulumi.Input[pulumi.InputType['InstanceMachineConfigArgs']]] = None,
|
1100
1093
|
name: Optional[pulumi.Input[str]] = None,
|
1101
|
-
network_config: Optional[pulumi.Input[pulumi.InputType['InstanceNetworkConfigArgs']]] = None,
|
1102
|
-
public_ip_address: Optional[pulumi.Input[str]] = None,
|
1103
1094
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1104
1095
|
query_insights_config: Optional[pulumi.Input[pulumi.InputType['InstanceQueryInsightsConfigArgs']]] = None,
|
1105
1096
|
read_pool_config: Optional[pulumi.Input[pulumi.InputType['InstanceReadPoolConfigArgs']]] = None,
|
@@ -1131,12 +1122,23 @@ class Instance(pulumi.CustomResource):
|
|
1131
1122
|
:param pulumi.Input[str] create_time: Time the Instance was created in UTC.
|
1132
1123
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] database_flags: Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary.
|
1133
1124
|
:param pulumi.Input[str] display_name: User-settable and human-readable display name for the Instance.
|
1125
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
|
1126
|
+
Terraform, other clients and services.
|
1134
1127
|
: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.
|
1135
1128
|
:param pulumi.Input[str] gce_zone: The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
|
1136
1129
|
:param pulumi.Input[str] instance_id: The ID of the alloydb instance.
|
1137
1130
|
|
1138
1131
|
|
1139
1132
|
- - -
|
1133
|
+
:param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
|
1134
|
+
'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
|
1135
|
+
secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
|
1136
|
+
google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
|
1137
|
+
type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
|
1138
|
+
instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
|
1139
|
+
the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
|
1140
|
+
importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
|
1141
|
+
"SECONDARY"]
|
1140
1142
|
:param pulumi.Input[str] ip_address: The IP address for the Instance. This is the connection endpoint for an end-user application.
|
1141
1143
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for the alloydb instance.
|
1142
1144
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
@@ -1144,11 +1146,6 @@ class Instance(pulumi.CustomResource):
|
|
1144
1146
|
:param pulumi.Input[pulumi.InputType['InstanceMachineConfigArgs']] machine_config: Configurations for the machines that host the underlying database engine.
|
1145
1147
|
Structure is documented below.
|
1146
1148
|
:param pulumi.Input[str] name: The name of the instance resource.
|
1147
|
-
:param pulumi.Input[pulumi.InputType['InstanceNetworkConfigArgs']] network_config: Instance level network configuration.
|
1148
|
-
Structure is documented below.
|
1149
|
-
:param pulumi.Input[str] public_ip_address: The public IP addresses for the Instance. This is available ONLY when
|
1150
|
-
networkConfig.enablePublicIp is set to true. This is the connection
|
1151
|
-
endpoint for an end-user application.
|
1152
1149
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
1153
1150
|
and default labels configured on the provider.
|
1154
1151
|
:param pulumi.Input[pulumi.InputType['InstanceQueryInsightsConfigArgs']] query_insights_config: Configuration for query insights.
|
@@ -1180,8 +1177,6 @@ class Instance(pulumi.CustomResource):
|
|
1180
1177
|
__props__.__dict__["labels"] = labels
|
1181
1178
|
__props__.__dict__["machine_config"] = machine_config
|
1182
1179
|
__props__.__dict__["name"] = name
|
1183
|
-
__props__.__dict__["network_config"] = network_config
|
1184
|
-
__props__.__dict__["public_ip_address"] = public_ip_address
|
1185
1180
|
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
1186
1181
|
__props__.__dict__["query_insights_config"] = query_insights_config
|
1187
1182
|
__props__.__dict__["read_pool_config"] = read_pool_config
|
@@ -1260,6 +1255,10 @@ class Instance(pulumi.CustomResource):
|
|
1260
1255
|
@property
|
1261
1256
|
@pulumi.getter(name="effectiveAnnotations")
|
1262
1257
|
def effective_annotations(self) -> pulumi.Output[Mapping[str, str]]:
|
1258
|
+
"""
|
1259
|
+
All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
|
1260
|
+
Terraform, other clients and services.
|
1261
|
+
"""
|
1263
1262
|
return pulumi.get(self, "effective_annotations")
|
1264
1263
|
|
1265
1264
|
@property
|
@@ -1292,6 +1291,17 @@ class Instance(pulumi.CustomResource):
|
|
1292
1291
|
@property
|
1293
1292
|
@pulumi.getter(name="instanceType")
|
1294
1293
|
def instance_type(self) -> pulumi.Output[str]:
|
1294
|
+
"""
|
1295
|
+
The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
|
1296
|
+
'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
|
1297
|
+
secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
|
1298
|
+
google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
|
1299
|
+
type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
|
1300
|
+
instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
|
1301
|
+
the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
|
1302
|
+
importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
|
1303
|
+
"SECONDARY"]
|
1304
|
+
"""
|
1295
1305
|
return pulumi.get(self, "instance_type")
|
1296
1306
|
|
1297
1307
|
@property
|
@@ -1329,25 +1339,6 @@ class Instance(pulumi.CustomResource):
|
|
1329
1339
|
"""
|
1330
1340
|
return pulumi.get(self, "name")
|
1331
1341
|
|
1332
|
-
@property
|
1333
|
-
@pulumi.getter(name="networkConfig")
|
1334
|
-
def network_config(self) -> pulumi.Output[Optional['outputs.InstanceNetworkConfig']]:
|
1335
|
-
"""
|
1336
|
-
Instance level network configuration.
|
1337
|
-
Structure is documented below.
|
1338
|
-
"""
|
1339
|
-
return pulumi.get(self, "network_config")
|
1340
|
-
|
1341
|
-
@property
|
1342
|
-
@pulumi.getter(name="publicIpAddress")
|
1343
|
-
def public_ip_address(self) -> pulumi.Output[str]:
|
1344
|
-
"""
|
1345
|
-
The public IP addresses for the Instance. This is available ONLY when
|
1346
|
-
networkConfig.enablePublicIp is set to true. This is the connection
|
1347
|
-
endpoint for an end-user application.
|
1348
|
-
"""
|
1349
|
-
return pulumi.get(self, "public_ip_address")
|
1350
|
-
|
1351
1342
|
@property
|
1352
1343
|
@pulumi.getter(name="pulumiLabels")
|
1353
1344
|
def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
|