pulumi-gcp 8.17.0a1738274430__py3-none-any.whl → 8.18.0a1738391833__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 +91 -0
- pulumi_gcp/alloydb/cluster.py +75 -7
- pulumi_gcp/apigee/_inputs.py +91 -0
- pulumi_gcp/apigee/endpoint_attachment.py +0 -64
- pulumi_gcp/apigee/environment.py +54 -0
- pulumi_gcp/apigee/outputs.py +54 -0
- pulumi_gcp/apihub/__init__.py +10 -0
- pulumi_gcp/apihub/_inputs.py +154 -0
- pulumi_gcp/apihub/api_hub_instance.py +784 -0
- pulumi_gcp/apihub/outputs.py +124 -0
- pulumi_gcp/chronicle/__init__.py +1 -0
- pulumi_gcp/chronicle/_inputs.py +124 -0
- pulumi_gcp/chronicle/outputs.py +112 -0
- pulumi_gcp/chronicle/retrohunt.py +645 -0
- pulumi_gcp/cloudrunv2/_inputs.py +197 -0
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/outputs.py +256 -0
- pulumi_gcp/cloudrunv2/service.py +159 -0
- pulumi_gcp/colab/__init__.py +5 -0
- pulumi_gcp/colab/_inputs.py +131 -0
- pulumi_gcp/colab/get_runtime_template_iam_policy.py +182 -0
- pulumi_gcp/colab/outputs.py +92 -0
- pulumi_gcp/colab/runtime.py +696 -0
- pulumi_gcp/colab/runtime_template_iam_binding.py +828 -0
- pulumi_gcp/colab/runtime_template_iam_member.py +828 -0
- pulumi_gcp/colab/runtime_template_iam_policy.py +667 -0
- pulumi_gcp/compute/__init__.py +4 -0
- pulumi_gcp/compute/_inputs.py +526 -0
- pulumi_gcp/compute/firewall_policy_rule.py +104 -22
- pulumi_gcp/compute/firewall_policy_with_rules.py +114 -42
- pulumi_gcp/compute/get_instance_template_iam_policy.py +159 -0
- pulumi_gcp/compute/instance_template_iam_binding.py +998 -0
- pulumi_gcp/compute/instance_template_iam_member.py +998 -0
- pulumi_gcp/compute/instance_template_iam_policy.py +817 -0
- pulumi_gcp/compute/interconnect_attachment.py +189 -2
- pulumi_gcp/compute/network_firewall_policy_rule.py +122 -10
- pulumi_gcp/compute/network_firewall_policy_with_rules.py +116 -44
- pulumi_gcp/compute/outputs.py +352 -0
- pulumi_gcp/compute/project_metadata_item.py +12 -0
- pulumi_gcp/compute/public_advertised_prefix.py +87 -0
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +130 -10
- pulumi_gcp/compute/region_network_firewall_policy_with_rules.py +104 -32
- pulumi_gcp/compute/router_peer.py +115 -3
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/filestore/get_instance.py +12 -1
- pulumi_gcp/filestore/instance.py +75 -0
- pulumi_gcp/gemini/code_repository_index.py +29 -33
- pulumi_gcp/gemini/get_repository_group_iam_policy.py +28 -2
- pulumi_gcp/gemini/repository_group.py +76 -26
- pulumi_gcp/gemini/repository_group_iam_binding.py +258 -0
- pulumi_gcp/gemini/repository_group_iam_member.py +258 -0
- pulumi_gcp/gemini/repository_group_iam_policy.py +258 -0
- pulumi_gcp/kms/__init__.py +1 -0
- pulumi_gcp/kms/get_key_handles.py +172 -0
- pulumi_gcp/kms/outputs.py +45 -0
- pulumi_gcp/networksecurity/_inputs.py +72 -0
- pulumi_gcp/networksecurity/outputs.py +76 -0
- pulumi_gcp/networksecurity/security_profile.py +233 -7
- pulumi_gcp/networksecurity/security_profile_group.py +218 -0
- pulumi_gcp/organizations/__init__.py +1 -0
- pulumi_gcp/organizations/get_s.py +128 -0
- pulumi_gcp/organizations/outputs.py +63 -0
- pulumi_gcp/parametermanager/__init__.py +3 -0
- pulumi_gcp/parametermanager/get_parameter.py +211 -0
- pulumi_gcp/parametermanager/get_regional_parameters.py +157 -0
- pulumi_gcp/parametermanager/outputs.py +210 -0
- pulumi_gcp/parametermanager/parameter_version.py +496 -0
- pulumi_gcp/parametermanager/regional_parameter_version.py +10 -38
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/_inputs.py +213 -1
- pulumi_gcp/pubsub/outputs.py +278 -2
- pulumi_gcp/pubsub/topic.py +42 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/__init__.py +1 -0
- pulumi_gcp/redis/_inputs.py +342 -6
- pulumi_gcp/redis/cluster.py +223 -102
- pulumi_gcp/redis/cluster_user_created_connections.py +845 -0
- pulumi_gcp/redis/outputs.py +268 -4
- {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0a1738391833.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0a1738391833.dist-info}/RECORD +83 -63
- {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0a1738391833.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0a1738391833.dist-info}/top_level.txt +0 -0
pulumi_gcp/__init__.py
CHANGED
@@ -22,6 +22,8 @@ if typing.TYPE_CHECKING:
|
|
22
22
|
apigateway = __apigateway
|
23
23
|
import pulumi_gcp.apigee as __apigee
|
24
24
|
apigee = __apigee
|
25
|
+
import pulumi_gcp.apihub as __apihub
|
26
|
+
apihub = __apihub
|
25
27
|
import pulumi_gcp.appengine as __appengine
|
26
28
|
appengine = __appengine
|
27
29
|
import pulumi_gcp.apphub as __apphub
|
@@ -273,6 +275,7 @@ else:
|
|
273
275
|
alloydb = _utilities.lazy_import('pulumi_gcp.alloydb')
|
274
276
|
apigateway = _utilities.lazy_import('pulumi_gcp.apigateway')
|
275
277
|
apigee = _utilities.lazy_import('pulumi_gcp.apigee')
|
278
|
+
apihub = _utilities.lazy_import('pulumi_gcp.apihub')
|
276
279
|
appengine = _utilities.lazy_import('pulumi_gcp.appengine')
|
277
280
|
apphub = _utilities.lazy_import('pulumi_gcp.apphub')
|
278
281
|
applicationintegration = _utilities.lazy_import('pulumi_gcp.applicationintegration')
|
@@ -927,6 +930,14 @@ _utilities.register(
|
|
927
930
|
"gcp:apigee/targetServer:TargetServer": "TargetServer"
|
928
931
|
}
|
929
932
|
},
|
933
|
+
{
|
934
|
+
"pkg": "gcp",
|
935
|
+
"mod": "apihub/apiHubInstance",
|
936
|
+
"fqn": "pulumi_gcp.apihub",
|
937
|
+
"classes": {
|
938
|
+
"gcp:apihub/apiHubInstance:ApiHubInstance": "ApiHubInstance"
|
939
|
+
}
|
940
|
+
},
|
930
941
|
{
|
931
942
|
"pkg": "gcp",
|
932
943
|
"mod": "appengine/application",
|
@@ -1767,6 +1778,14 @@ _utilities.register(
|
|
1767
1778
|
"gcp:chronicle/referenceList:ReferenceList": "ReferenceList"
|
1768
1779
|
}
|
1769
1780
|
},
|
1781
|
+
{
|
1782
|
+
"pkg": "gcp",
|
1783
|
+
"mod": "chronicle/retrohunt",
|
1784
|
+
"fqn": "pulumi_gcp.chronicle",
|
1785
|
+
"classes": {
|
1786
|
+
"gcp:chronicle/retrohunt:Retrohunt": "Retrohunt"
|
1787
|
+
}
|
1788
|
+
},
|
1770
1789
|
{
|
1771
1790
|
"pkg": "gcp",
|
1772
1791
|
"mod": "chronicle/rule",
|
@@ -2239,6 +2258,14 @@ _utilities.register(
|
|
2239
2258
|
"gcp:cloudtasks/queueIamPolicy:QueueIamPolicy": "QueueIamPolicy"
|
2240
2259
|
}
|
2241
2260
|
},
|
2261
|
+
{
|
2262
|
+
"pkg": "gcp",
|
2263
|
+
"mod": "colab/runtime",
|
2264
|
+
"fqn": "pulumi_gcp.colab",
|
2265
|
+
"classes": {
|
2266
|
+
"gcp:colab/runtime:Runtime": "Runtime"
|
2267
|
+
}
|
2268
|
+
},
|
2242
2269
|
{
|
2243
2270
|
"pkg": "gcp",
|
2244
2271
|
"mod": "colab/runtimeTemplate",
|
@@ -2247,6 +2274,30 @@ _utilities.register(
|
|
2247
2274
|
"gcp:colab/runtimeTemplate:RuntimeTemplate": "RuntimeTemplate"
|
2248
2275
|
}
|
2249
2276
|
},
|
2277
|
+
{
|
2278
|
+
"pkg": "gcp",
|
2279
|
+
"mod": "colab/runtimeTemplateIamBinding",
|
2280
|
+
"fqn": "pulumi_gcp.colab",
|
2281
|
+
"classes": {
|
2282
|
+
"gcp:colab/runtimeTemplateIamBinding:RuntimeTemplateIamBinding": "RuntimeTemplateIamBinding"
|
2283
|
+
}
|
2284
|
+
},
|
2285
|
+
{
|
2286
|
+
"pkg": "gcp",
|
2287
|
+
"mod": "colab/runtimeTemplateIamMember",
|
2288
|
+
"fqn": "pulumi_gcp.colab",
|
2289
|
+
"classes": {
|
2290
|
+
"gcp:colab/runtimeTemplateIamMember:RuntimeTemplateIamMember": "RuntimeTemplateIamMember"
|
2291
|
+
}
|
2292
|
+
},
|
2293
|
+
{
|
2294
|
+
"pkg": "gcp",
|
2295
|
+
"mod": "colab/runtimeTemplateIamPolicy",
|
2296
|
+
"fqn": "pulumi_gcp.colab",
|
2297
|
+
"classes": {
|
2298
|
+
"gcp:colab/runtimeTemplateIamPolicy:RuntimeTemplateIamPolicy": "RuntimeTemplateIamPolicy"
|
2299
|
+
}
|
2300
|
+
},
|
2250
2301
|
{
|
2251
2302
|
"pkg": "gcp",
|
2252
2303
|
"mod": "composer/environment",
|
@@ -2679,6 +2730,30 @@ _utilities.register(
|
|
2679
2730
|
"gcp:compute/instanceTemplate:InstanceTemplate": "InstanceTemplate"
|
2680
2731
|
}
|
2681
2732
|
},
|
2733
|
+
{
|
2734
|
+
"pkg": "gcp",
|
2735
|
+
"mod": "compute/instanceTemplateIamBinding",
|
2736
|
+
"fqn": "pulumi_gcp.compute",
|
2737
|
+
"classes": {
|
2738
|
+
"gcp:compute/instanceTemplateIamBinding:InstanceTemplateIamBinding": "InstanceTemplateIamBinding"
|
2739
|
+
}
|
2740
|
+
},
|
2741
|
+
{
|
2742
|
+
"pkg": "gcp",
|
2743
|
+
"mod": "compute/instanceTemplateIamMember",
|
2744
|
+
"fqn": "pulumi_gcp.compute",
|
2745
|
+
"classes": {
|
2746
|
+
"gcp:compute/instanceTemplateIamMember:InstanceTemplateIamMember": "InstanceTemplateIamMember"
|
2747
|
+
}
|
2748
|
+
},
|
2749
|
+
{
|
2750
|
+
"pkg": "gcp",
|
2751
|
+
"mod": "compute/instanceTemplateIamPolicy",
|
2752
|
+
"fqn": "pulumi_gcp.compute",
|
2753
|
+
"classes": {
|
2754
|
+
"gcp:compute/instanceTemplateIamPolicy:InstanceTemplateIamPolicy": "InstanceTemplateIamPolicy"
|
2755
|
+
}
|
2756
|
+
},
|
2682
2757
|
{
|
2683
2758
|
"pkg": "gcp",
|
2684
2759
|
"mod": "compute/interconnect",
|
@@ -7095,6 +7170,14 @@ _utilities.register(
|
|
7095
7170
|
"gcp:parametermanager/parameter:Parameter": "Parameter"
|
7096
7171
|
}
|
7097
7172
|
},
|
7173
|
+
{
|
7174
|
+
"pkg": "gcp",
|
7175
|
+
"mod": "parametermanager/parameterVersion",
|
7176
|
+
"fqn": "pulumi_gcp.parametermanager",
|
7177
|
+
"classes": {
|
7178
|
+
"gcp:parametermanager/parameterVersion:ParameterVersion": "ParameterVersion"
|
7179
|
+
}
|
7180
|
+
},
|
7098
7181
|
{
|
7099
7182
|
"pkg": "gcp",
|
7100
7183
|
"mod": "parametermanager/regionalParameter",
|
@@ -7359,6 +7442,14 @@ _utilities.register(
|
|
7359
7442
|
"gcp:redis/cluster:Cluster": "Cluster"
|
7360
7443
|
}
|
7361
7444
|
},
|
7445
|
+
{
|
7446
|
+
"pkg": "gcp",
|
7447
|
+
"mod": "redis/clusterUserCreatedConnections",
|
7448
|
+
"fqn": "pulumi_gcp.redis",
|
7449
|
+
"classes": {
|
7450
|
+
"gcp:redis/clusterUserCreatedConnections:ClusterUserCreatedConnections": "ClusterUserCreatedConnections"
|
7451
|
+
}
|
7452
|
+
},
|
7362
7453
|
{
|
7363
7454
|
"pkg": "gcp",
|
7364
7455
|
"mod": "redis/instance",
|
pulumi_gcp/alloydb/cluster.py
CHANGED
@@ -41,6 +41,7 @@ class ClusterArgs:
|
|
41
41
|
restore_backup_source: Optional[pulumi.Input['ClusterRestoreBackupSourceArgs']] = None,
|
42
42
|
restore_continuous_backup_source: Optional[pulumi.Input['ClusterRestoreContinuousBackupSourceArgs']] = None,
|
43
43
|
secondary_config: Optional[pulumi.Input['ClusterSecondaryConfigArgs']] = None,
|
44
|
+
skip_await_major_version_upgrade: Optional[pulumi.Input[bool]] = None,
|
44
45
|
subscription_type: Optional[pulumi.Input[str]] = None):
|
45
46
|
"""
|
46
47
|
The set of arguments for constructing a Cluster resource.
|
@@ -62,7 +63,8 @@ class ClusterArgs:
|
|
62
63
|
:param pulumi.Input['ClusterContinuousBackupConfigArgs'] continuous_backup_config: The continuous backup config for this cluster.
|
63
64
|
If no policy is provided then the default policy will be used. The default policy takes one backup a day and retains backups for 14 days.
|
64
65
|
Structure is documented below.
|
65
|
-
:param pulumi.Input[str] database_version: The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
66
|
+
:param pulumi.Input[str] database_version: The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
67
|
+
Note: Changing this field to a higer version results in upgrading the AlloyDB cluster which is an irreversible change.
|
66
68
|
:param pulumi.Input[str] deletion_policy: Policy to determine if the cluster should be deleted forcefully.
|
67
69
|
Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
|
68
70
|
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.
|
@@ -90,6 +92,9 @@ class ClusterArgs:
|
|
90
92
|
Structure is documented below.
|
91
93
|
: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
94
|
Structure is documented below.
|
95
|
+
:param pulumi.Input[bool] skip_await_major_version_upgrade: Set to true to skip awaiting on the major version upgrade of the cluster.
|
96
|
+
Possible values: true, false
|
97
|
+
Default value: "true"
|
93
98
|
:param pulumi.Input[str] subscription_type: The subscrition type of cluster.
|
94
99
|
Possible values are: `TRIAL`, `STANDARD`.
|
95
100
|
"""
|
@@ -131,6 +136,8 @@ class ClusterArgs:
|
|
131
136
|
pulumi.set(__self__, "restore_continuous_backup_source", restore_continuous_backup_source)
|
132
137
|
if secondary_config is not None:
|
133
138
|
pulumi.set(__self__, "secondary_config", secondary_config)
|
139
|
+
if skip_await_major_version_upgrade is not None:
|
140
|
+
pulumi.set(__self__, "skip_await_major_version_upgrade", skip_await_major_version_upgrade)
|
134
141
|
if subscription_type is not None:
|
135
142
|
pulumi.set(__self__, "subscription_type", subscription_type)
|
136
143
|
|
@@ -222,7 +229,8 @@ class ClusterArgs:
|
|
222
229
|
@pulumi.getter(name="databaseVersion")
|
223
230
|
def database_version(self) -> Optional[pulumi.Input[str]]:
|
224
231
|
"""
|
225
|
-
The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
232
|
+
The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
233
|
+
Note: Changing this field to a higer version results in upgrading the AlloyDB cluster which is an irreversible change.
|
226
234
|
"""
|
227
235
|
return pulumi.get(self, "database_version")
|
228
236
|
|
@@ -400,6 +408,20 @@ class ClusterArgs:
|
|
400
408
|
def secondary_config(self, value: Optional[pulumi.Input['ClusterSecondaryConfigArgs']]):
|
401
409
|
pulumi.set(self, "secondary_config", value)
|
402
410
|
|
411
|
+
@property
|
412
|
+
@pulumi.getter(name="skipAwaitMajorVersionUpgrade")
|
413
|
+
def skip_await_major_version_upgrade(self) -> Optional[pulumi.Input[bool]]:
|
414
|
+
"""
|
415
|
+
Set to true to skip awaiting on the major version upgrade of the cluster.
|
416
|
+
Possible values: true, false
|
417
|
+
Default value: "true"
|
418
|
+
"""
|
419
|
+
return pulumi.get(self, "skip_await_major_version_upgrade")
|
420
|
+
|
421
|
+
@skip_await_major_version_upgrade.setter
|
422
|
+
def skip_await_major_version_upgrade(self, value: Optional[pulumi.Input[bool]]):
|
423
|
+
pulumi.set(self, "skip_await_major_version_upgrade", value)
|
424
|
+
|
403
425
|
@property
|
404
426
|
@pulumi.getter(name="subscriptionType")
|
405
427
|
def subscription_type(self) -> Optional[pulumi.Input[str]]:
|
@@ -446,6 +468,7 @@ class _ClusterState:
|
|
446
468
|
restore_backup_source: Optional[pulumi.Input['ClusterRestoreBackupSourceArgs']] = None,
|
447
469
|
restore_continuous_backup_source: Optional[pulumi.Input['ClusterRestoreContinuousBackupSourceArgs']] = None,
|
448
470
|
secondary_config: Optional[pulumi.Input['ClusterSecondaryConfigArgs']] = None,
|
471
|
+
skip_await_major_version_upgrade: Optional[pulumi.Input[bool]] = None,
|
449
472
|
state: Optional[pulumi.Input[str]] = None,
|
450
473
|
subscription_type: Optional[pulumi.Input[str]] = None,
|
451
474
|
trial_metadatas: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTrialMetadataArgs']]]] = None,
|
@@ -470,7 +493,8 @@ class _ClusterState:
|
|
470
493
|
Structure is documented below.
|
471
494
|
:param pulumi.Input[Sequence[pulumi.Input['ClusterContinuousBackupInfoArgs']]] continuous_backup_infos: ContinuousBackupInfo describes the continuous backup properties of a cluster.
|
472
495
|
Structure is documented below.
|
473
|
-
:param pulumi.Input[str] database_version: The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
496
|
+
:param pulumi.Input[str] database_version: The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
497
|
+
Note: Changing this field to a higer version results in upgrading the AlloyDB cluster which is an irreversible change.
|
474
498
|
:param pulumi.Input[str] deletion_policy: Policy to determine if the cluster should be deleted forcefully.
|
475
499
|
Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
|
476
500
|
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.
|
@@ -514,6 +538,9 @@ class _ClusterState:
|
|
514
538
|
Structure is documented below.
|
515
539
|
: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
540
|
Structure is documented below.
|
541
|
+
:param pulumi.Input[bool] skip_await_major_version_upgrade: Set to true to skip awaiting on the major version upgrade of the cluster.
|
542
|
+
Possible values: true, false
|
543
|
+
Default value: "true"
|
517
544
|
:param pulumi.Input[str] state: Output only. The current serving state of the cluster.
|
518
545
|
:param pulumi.Input[str] subscription_type: The subscrition type of cluster.
|
519
546
|
Possible values are: `TRIAL`, `STANDARD`.
|
@@ -579,6 +606,8 @@ class _ClusterState:
|
|
579
606
|
pulumi.set(__self__, "restore_continuous_backup_source", restore_continuous_backup_source)
|
580
607
|
if secondary_config is not None:
|
581
608
|
pulumi.set(__self__, "secondary_config", secondary_config)
|
609
|
+
if skip_await_major_version_upgrade is not None:
|
610
|
+
pulumi.set(__self__, "skip_await_major_version_upgrade", skip_await_major_version_upgrade)
|
582
611
|
if state is not None:
|
583
612
|
pulumi.set(__self__, "state", state)
|
584
613
|
if subscription_type is not None:
|
@@ -687,7 +716,8 @@ class _ClusterState:
|
|
687
716
|
@pulumi.getter(name="databaseVersion")
|
688
717
|
def database_version(self) -> Optional[pulumi.Input[str]]:
|
689
718
|
"""
|
690
|
-
The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
719
|
+
The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
720
|
+
Note: Changing this field to a higer version results in upgrading the AlloyDB cluster which is an irreversible change.
|
691
721
|
"""
|
692
722
|
return pulumi.get(self, "database_version")
|
693
723
|
|
@@ -967,6 +997,20 @@ class _ClusterState:
|
|
967
997
|
def secondary_config(self, value: Optional[pulumi.Input['ClusterSecondaryConfigArgs']]):
|
968
998
|
pulumi.set(self, "secondary_config", value)
|
969
999
|
|
1000
|
+
@property
|
1001
|
+
@pulumi.getter(name="skipAwaitMajorVersionUpgrade")
|
1002
|
+
def skip_await_major_version_upgrade(self) -> Optional[pulumi.Input[bool]]:
|
1003
|
+
"""
|
1004
|
+
Set to true to skip awaiting on the major version upgrade of the cluster.
|
1005
|
+
Possible values: true, false
|
1006
|
+
Default value: "true"
|
1007
|
+
"""
|
1008
|
+
return pulumi.get(self, "skip_await_major_version_upgrade")
|
1009
|
+
|
1010
|
+
@skip_await_major_version_upgrade.setter
|
1011
|
+
def skip_await_major_version_upgrade(self, value: Optional[pulumi.Input[bool]]):
|
1012
|
+
pulumi.set(self, "skip_await_major_version_upgrade", value)
|
1013
|
+
|
970
1014
|
@property
|
971
1015
|
@pulumi.getter
|
972
1016
|
def state(self) -> Optional[pulumi.Input[str]]:
|
@@ -1043,6 +1087,7 @@ class Cluster(pulumi.CustomResource):
|
|
1043
1087
|
restore_backup_source: Optional[pulumi.Input[Union['ClusterRestoreBackupSourceArgs', 'ClusterRestoreBackupSourceArgsDict']]] = None,
|
1044
1088
|
restore_continuous_backup_source: Optional[pulumi.Input[Union['ClusterRestoreContinuousBackupSourceArgs', 'ClusterRestoreContinuousBackupSourceArgsDict']]] = None,
|
1045
1089
|
secondary_config: Optional[pulumi.Input[Union['ClusterSecondaryConfigArgs', 'ClusterSecondaryConfigArgsDict']]] = None,
|
1090
|
+
skip_await_major_version_upgrade: Optional[pulumi.Input[bool]] = None,
|
1046
1091
|
subscription_type: Optional[pulumi.Input[str]] = None,
|
1047
1092
|
__props__=None):
|
1048
1093
|
"""
|
@@ -1204,7 +1249,8 @@ class Cluster(pulumi.CustomResource):
|
|
1204
1249
|
:param pulumi.Input[Union['ClusterContinuousBackupConfigArgs', 'ClusterContinuousBackupConfigArgsDict']] continuous_backup_config: The continuous backup config for this cluster.
|
1205
1250
|
If no policy is provided then the default policy will be used. The default policy takes one backup a day and retains backups for 14 days.
|
1206
1251
|
Structure is documented below.
|
1207
|
-
:param pulumi.Input[str] database_version: The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
1252
|
+
:param pulumi.Input[str] database_version: The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
1253
|
+
Note: Changing this field to a higer version results in upgrading the AlloyDB cluster which is an irreversible change.
|
1208
1254
|
:param pulumi.Input[str] deletion_policy: Policy to determine if the cluster should be deleted forcefully.
|
1209
1255
|
Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
|
1210
1256
|
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.
|
@@ -1236,6 +1282,9 @@ class Cluster(pulumi.CustomResource):
|
|
1236
1282
|
Structure is documented below.
|
1237
1283
|
: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
1284
|
Structure is documented below.
|
1285
|
+
:param pulumi.Input[bool] skip_await_major_version_upgrade: Set to true to skip awaiting on the major version upgrade of the cluster.
|
1286
|
+
Possible values: true, false
|
1287
|
+
Default value: "true"
|
1239
1288
|
:param pulumi.Input[str] subscription_type: The subscrition type of cluster.
|
1240
1289
|
Possible values are: `TRIAL`, `STANDARD`.
|
1241
1290
|
"""
|
@@ -1423,6 +1472,7 @@ class Cluster(pulumi.CustomResource):
|
|
1423
1472
|
restore_backup_source: Optional[pulumi.Input[Union['ClusterRestoreBackupSourceArgs', 'ClusterRestoreBackupSourceArgsDict']]] = None,
|
1424
1473
|
restore_continuous_backup_source: Optional[pulumi.Input[Union['ClusterRestoreContinuousBackupSourceArgs', 'ClusterRestoreContinuousBackupSourceArgsDict']]] = None,
|
1425
1474
|
secondary_config: Optional[pulumi.Input[Union['ClusterSecondaryConfigArgs', 'ClusterSecondaryConfigArgsDict']]] = None,
|
1475
|
+
skip_await_major_version_upgrade: Optional[pulumi.Input[bool]] = None,
|
1426
1476
|
subscription_type: Optional[pulumi.Input[str]] = None,
|
1427
1477
|
__props__=None):
|
1428
1478
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -1457,6 +1507,7 @@ class Cluster(pulumi.CustomResource):
|
|
1457
1507
|
__props__.__dict__["restore_backup_source"] = restore_backup_source
|
1458
1508
|
__props__.__dict__["restore_continuous_backup_source"] = restore_continuous_backup_source
|
1459
1509
|
__props__.__dict__["secondary_config"] = secondary_config
|
1510
|
+
__props__.__dict__["skip_await_major_version_upgrade"] = skip_await_major_version_upgrade
|
1460
1511
|
__props__.__dict__["subscription_type"] = subscription_type
|
1461
1512
|
__props__.__dict__["backup_sources"] = None
|
1462
1513
|
__props__.__dict__["continuous_backup_infos"] = None
|
@@ -1511,6 +1562,7 @@ class Cluster(pulumi.CustomResource):
|
|
1511
1562
|
restore_backup_source: Optional[pulumi.Input[Union['ClusterRestoreBackupSourceArgs', 'ClusterRestoreBackupSourceArgsDict']]] = None,
|
1512
1563
|
restore_continuous_backup_source: Optional[pulumi.Input[Union['ClusterRestoreContinuousBackupSourceArgs', 'ClusterRestoreContinuousBackupSourceArgsDict']]] = None,
|
1513
1564
|
secondary_config: Optional[pulumi.Input[Union['ClusterSecondaryConfigArgs', 'ClusterSecondaryConfigArgsDict']]] = None,
|
1565
|
+
skip_await_major_version_upgrade: Optional[pulumi.Input[bool]] = None,
|
1514
1566
|
state: Optional[pulumi.Input[str]] = None,
|
1515
1567
|
subscription_type: Optional[pulumi.Input[str]] = None,
|
1516
1568
|
trial_metadatas: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClusterTrialMetadataArgs', 'ClusterTrialMetadataArgsDict']]]]] = None,
|
@@ -1540,7 +1592,8 @@ class Cluster(pulumi.CustomResource):
|
|
1540
1592
|
Structure is documented below.
|
1541
1593
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ClusterContinuousBackupInfoArgs', 'ClusterContinuousBackupInfoArgsDict']]]] continuous_backup_infos: ContinuousBackupInfo describes the continuous backup properties of a cluster.
|
1542
1594
|
Structure is documented below.
|
1543
|
-
:param pulumi.Input[str] database_version: The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
1595
|
+
:param pulumi.Input[str] database_version: The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
1596
|
+
Note: Changing this field to a higer version results in upgrading the AlloyDB cluster which is an irreversible change.
|
1544
1597
|
:param pulumi.Input[str] deletion_policy: Policy to determine if the cluster should be deleted forcefully.
|
1545
1598
|
Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
|
1546
1599
|
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.
|
@@ -1584,6 +1637,9 @@ class Cluster(pulumi.CustomResource):
|
|
1584
1637
|
Structure is documented below.
|
1585
1638
|
: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
1639
|
Structure is documented below.
|
1640
|
+
:param pulumi.Input[bool] skip_await_major_version_upgrade: Set to true to skip awaiting on the major version upgrade of the cluster.
|
1641
|
+
Possible values: true, false
|
1642
|
+
Default value: "true"
|
1587
1643
|
:param pulumi.Input[str] state: Output only. The current serving state of the cluster.
|
1588
1644
|
:param pulumi.Input[str] subscription_type: The subscrition type of cluster.
|
1589
1645
|
Possible values are: `TRIAL`, `STANDARD`.
|
@@ -1624,6 +1680,7 @@ class Cluster(pulumi.CustomResource):
|
|
1624
1680
|
__props__.__dict__["restore_backup_source"] = restore_backup_source
|
1625
1681
|
__props__.__dict__["restore_continuous_backup_source"] = restore_continuous_backup_source
|
1626
1682
|
__props__.__dict__["secondary_config"] = secondary_config
|
1683
|
+
__props__.__dict__["skip_await_major_version_upgrade"] = skip_await_major_version_upgrade
|
1627
1684
|
__props__.__dict__["state"] = state
|
1628
1685
|
__props__.__dict__["subscription_type"] = subscription_type
|
1629
1686
|
__props__.__dict__["trial_metadatas"] = trial_metadatas
|
@@ -1701,7 +1758,8 @@ class Cluster(pulumi.CustomResource):
|
|
1701
1758
|
@pulumi.getter(name="databaseVersion")
|
1702
1759
|
def database_version(self) -> pulumi.Output[str]:
|
1703
1760
|
"""
|
1704
|
-
The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
1761
|
+
The database engine major version. This is an optional field and it's populated at the Cluster creation time.
|
1762
|
+
Note: Changing this field to a higer version results in upgrading the AlloyDB cluster which is an irreversible change.
|
1705
1763
|
"""
|
1706
1764
|
return pulumi.get(self, "database_version")
|
1707
1765
|
|
@@ -1893,6 +1951,16 @@ class Cluster(pulumi.CustomResource):
|
|
1893
1951
|
"""
|
1894
1952
|
return pulumi.get(self, "secondary_config")
|
1895
1953
|
|
1954
|
+
@property
|
1955
|
+
@pulumi.getter(name="skipAwaitMajorVersionUpgrade")
|
1956
|
+
def skip_await_major_version_upgrade(self) -> pulumi.Output[Optional[bool]]:
|
1957
|
+
"""
|
1958
|
+
Set to true to skip awaiting on the major version upgrade of the cluster.
|
1959
|
+
Possible values: true, false
|
1960
|
+
Default value: "true"
|
1961
|
+
"""
|
1962
|
+
return pulumi.get(self, "skip_await_major_version_upgrade")
|
1963
|
+
|
1896
1964
|
@property
|
1897
1965
|
@pulumi.getter
|
1898
1966
|
def state(self) -> pulumi.Output[str]:
|
pulumi_gcp/apigee/_inputs.py
CHANGED
@@ -39,6 +39,10 @@ __all__ = [
|
|
39
39
|
'EnvironmentIamMemberConditionArgsDict',
|
40
40
|
'EnvironmentNodeConfigArgs',
|
41
41
|
'EnvironmentNodeConfigArgsDict',
|
42
|
+
'EnvironmentPropertiesArgs',
|
43
|
+
'EnvironmentPropertiesArgsDict',
|
44
|
+
'EnvironmentPropertiesPropertyArgs',
|
45
|
+
'EnvironmentPropertiesPropertyArgsDict',
|
42
46
|
'KeystoresAliasesKeyCertFileCertsInfoArgs',
|
43
47
|
'KeystoresAliasesKeyCertFileCertsInfoArgsDict',
|
44
48
|
'KeystoresAliasesKeyCertFileCertsInfoCertInfoArgs',
|
@@ -762,6 +766,93 @@ class EnvironmentNodeConfigArgs:
|
|
762
766
|
pulumi.set(self, "min_node_count", value)
|
763
767
|
|
764
768
|
|
769
|
+
if not MYPY:
|
770
|
+
class EnvironmentPropertiesArgsDict(TypedDict):
|
771
|
+
properties: NotRequired[pulumi.Input[Sequence[pulumi.Input['EnvironmentPropertiesPropertyArgsDict']]]]
|
772
|
+
"""
|
773
|
+
List of all properties in the object.
|
774
|
+
Structure is documented below.
|
775
|
+
"""
|
776
|
+
elif False:
|
777
|
+
EnvironmentPropertiesArgsDict: TypeAlias = Mapping[str, Any]
|
778
|
+
|
779
|
+
@pulumi.input_type
|
780
|
+
class EnvironmentPropertiesArgs:
|
781
|
+
def __init__(__self__, *,
|
782
|
+
properties: Optional[pulumi.Input[Sequence[pulumi.Input['EnvironmentPropertiesPropertyArgs']]]] = None):
|
783
|
+
"""
|
784
|
+
:param pulumi.Input[Sequence[pulumi.Input['EnvironmentPropertiesPropertyArgs']]] properties: List of all properties in the object.
|
785
|
+
Structure is documented below.
|
786
|
+
"""
|
787
|
+
if properties is not None:
|
788
|
+
pulumi.set(__self__, "properties", properties)
|
789
|
+
|
790
|
+
@property
|
791
|
+
@pulumi.getter
|
792
|
+
def properties(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EnvironmentPropertiesPropertyArgs']]]]:
|
793
|
+
"""
|
794
|
+
List of all properties in the object.
|
795
|
+
Structure is documented below.
|
796
|
+
"""
|
797
|
+
return pulumi.get(self, "properties")
|
798
|
+
|
799
|
+
@properties.setter
|
800
|
+
def properties(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['EnvironmentPropertiesPropertyArgs']]]]):
|
801
|
+
pulumi.set(self, "properties", value)
|
802
|
+
|
803
|
+
|
804
|
+
if not MYPY:
|
805
|
+
class EnvironmentPropertiesPropertyArgsDict(TypedDict):
|
806
|
+
name: NotRequired[pulumi.Input[str]]
|
807
|
+
"""
|
808
|
+
The property key.
|
809
|
+
"""
|
810
|
+
value: NotRequired[pulumi.Input[str]]
|
811
|
+
"""
|
812
|
+
The property value.
|
813
|
+
"""
|
814
|
+
elif False:
|
815
|
+
EnvironmentPropertiesPropertyArgsDict: TypeAlias = Mapping[str, Any]
|
816
|
+
|
817
|
+
@pulumi.input_type
|
818
|
+
class EnvironmentPropertiesPropertyArgs:
|
819
|
+
def __init__(__self__, *,
|
820
|
+
name: Optional[pulumi.Input[str]] = None,
|
821
|
+
value: Optional[pulumi.Input[str]] = None):
|
822
|
+
"""
|
823
|
+
:param pulumi.Input[str] name: The property key.
|
824
|
+
:param pulumi.Input[str] value: The property value.
|
825
|
+
"""
|
826
|
+
if name is not None:
|
827
|
+
pulumi.set(__self__, "name", name)
|
828
|
+
if value is not None:
|
829
|
+
pulumi.set(__self__, "value", value)
|
830
|
+
|
831
|
+
@property
|
832
|
+
@pulumi.getter
|
833
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
834
|
+
"""
|
835
|
+
The property key.
|
836
|
+
"""
|
837
|
+
return pulumi.get(self, "name")
|
838
|
+
|
839
|
+
@name.setter
|
840
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
841
|
+
pulumi.set(self, "name", value)
|
842
|
+
|
843
|
+
@property
|
844
|
+
@pulumi.getter
|
845
|
+
def value(self) -> Optional[pulumi.Input[str]]:
|
846
|
+
"""
|
847
|
+
The property value.
|
848
|
+
"""
|
849
|
+
return pulumi.get(self, "value")
|
850
|
+
|
851
|
+
@value.setter
|
852
|
+
def value(self, value: Optional[pulumi.Input[str]]):
|
853
|
+
pulumi.set(self, "value", value)
|
854
|
+
|
855
|
+
|
765
856
|
if not MYPY:
|
766
857
|
class KeystoresAliasesKeyCertFileCertsInfoArgsDict(TypedDict):
|
767
858
|
cert_infos: NotRequired[pulumi.Input[Sequence[pulumi.Input['KeystoresAliasesKeyCertFileCertsInfoCertInfoArgsDict']]]]
|
@@ -241,38 +241,6 @@ class EndpointAttachment(pulumi.CustomResource):
|
|
241
241
|
* How-to Guides
|
242
242
|
* [Creating an environment](https://cloud.google.com/apigee/docs/api-platform/get-started/create-environment)
|
243
243
|
|
244
|
-
## Example Usage
|
245
|
-
|
246
|
-
### Apigee Endpoint Attachment Basic
|
247
|
-
|
248
|
-
```python
|
249
|
-
import pulumi
|
250
|
-
import pulumi_gcp as gcp
|
251
|
-
|
252
|
-
current = gcp.organizations.get_client_config()
|
253
|
-
apigee_network = gcp.compute.Network("apigee_network", name="apigee-network")
|
254
|
-
apigee_range = gcp.compute.GlobalAddress("apigee_range",
|
255
|
-
name="apigee-range",
|
256
|
-
purpose="VPC_PEERING",
|
257
|
-
address_type="INTERNAL",
|
258
|
-
prefix_length=16,
|
259
|
-
network=apigee_network.id)
|
260
|
-
apigee_vpc_connection = gcp.servicenetworking.Connection("apigee_vpc_connection",
|
261
|
-
network=apigee_network.id,
|
262
|
-
service="servicenetworking.googleapis.com",
|
263
|
-
reserved_peering_ranges=[apigee_range.name])
|
264
|
-
apigee_org = gcp.apigee.Organization("apigee_org",
|
265
|
-
analytics_region="us-central1",
|
266
|
-
project_id=current.project,
|
267
|
-
authorized_network=apigee_network.id,
|
268
|
-
opts = pulumi.ResourceOptions(depends_on=[apigee_vpc_connection]))
|
269
|
-
apigee_endpoint_attachment = gcp.apigee.EndpointAttachment("apigee_endpoint_attachment",
|
270
|
-
org_id=apigee_org.id,
|
271
|
-
endpoint_attachment_id="test1",
|
272
|
-
location="{google_compute_service_attachment location}",
|
273
|
-
service_attachment="{google_compute_service_attachment id}")
|
274
|
-
```
|
275
|
-
|
276
244
|
## Import
|
277
245
|
|
278
246
|
EndpointAttachment can be imported using any of these accepted formats:
|
@@ -317,38 +285,6 @@ class EndpointAttachment(pulumi.CustomResource):
|
|
317
285
|
* How-to Guides
|
318
286
|
* [Creating an environment](https://cloud.google.com/apigee/docs/api-platform/get-started/create-environment)
|
319
287
|
|
320
|
-
## Example Usage
|
321
|
-
|
322
|
-
### Apigee Endpoint Attachment Basic
|
323
|
-
|
324
|
-
```python
|
325
|
-
import pulumi
|
326
|
-
import pulumi_gcp as gcp
|
327
|
-
|
328
|
-
current = gcp.organizations.get_client_config()
|
329
|
-
apigee_network = gcp.compute.Network("apigee_network", name="apigee-network")
|
330
|
-
apigee_range = gcp.compute.GlobalAddress("apigee_range",
|
331
|
-
name="apigee-range",
|
332
|
-
purpose="VPC_PEERING",
|
333
|
-
address_type="INTERNAL",
|
334
|
-
prefix_length=16,
|
335
|
-
network=apigee_network.id)
|
336
|
-
apigee_vpc_connection = gcp.servicenetworking.Connection("apigee_vpc_connection",
|
337
|
-
network=apigee_network.id,
|
338
|
-
service="servicenetworking.googleapis.com",
|
339
|
-
reserved_peering_ranges=[apigee_range.name])
|
340
|
-
apigee_org = gcp.apigee.Organization("apigee_org",
|
341
|
-
analytics_region="us-central1",
|
342
|
-
project_id=current.project,
|
343
|
-
authorized_network=apigee_network.id,
|
344
|
-
opts = pulumi.ResourceOptions(depends_on=[apigee_vpc_connection]))
|
345
|
-
apigee_endpoint_attachment = gcp.apigee.EndpointAttachment("apigee_endpoint_attachment",
|
346
|
-
org_id=apigee_org.id,
|
347
|
-
endpoint_attachment_id="test1",
|
348
|
-
location="{google_compute_service_attachment location}",
|
349
|
-
service_attachment="{google_compute_service_attachment id}")
|
350
|
-
```
|
351
|
-
|
352
288
|
## Import
|
353
289
|
|
354
290
|
EndpointAttachment can be imported using any of these accepted formats:
|