pulumi-gcp 8.28.0a1745598508__py3-none-any.whl → 8.29.0a1746076904__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 +88 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +399 -0
- pulumi_gcp/accesscontextmanager/gcp_user_access_binding.py +54 -0
- pulumi_gcp/accesscontextmanager/outputs.py +369 -0
- pulumi_gcp/alloydb/_inputs.py +47 -1
- pulumi_gcp/alloydb/outputs.py +61 -3
- pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +8 -2
- pulumi_gcp/applicationintegration/client.py +34 -12
- pulumi_gcp/artifactregistry/outputs.py +2 -2
- pulumi_gcp/certificateauthority/_inputs.py +32 -0
- pulumi_gcp/certificateauthority/ca_pool.py +2 -0
- pulumi_gcp/certificateauthority/outputs.py +22 -0
- pulumi_gcp/clouddeploy/_inputs.py +0 -6
- pulumi_gcp/clouddeploy/delivery_pipeline.py +84 -77
- pulumi_gcp/clouddeploy/outputs.py +0 -4
- pulumi_gcp/cloudrunv2/_inputs.py +3 -3
- pulumi_gcp/cloudrunv2/outputs.py +4 -4
- pulumi_gcp/colab/runtime_template.py +3 -3
- pulumi_gcp/compute/__init__.py +7 -0
- pulumi_gcp/compute/_inputs.py +809 -1
- pulumi_gcp/compute/backend_service.py +89 -0
- pulumi_gcp/compute/firewall_policy_with_rules.py +2 -2
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/get_storage_pool_iam_policy.py +183 -0
- pulumi_gcp/compute/get_storage_pool_types.py +268 -0
- pulumi_gcp/compute/outputs.py +743 -3
- pulumi_gcp/compute/resource_policy_attachment.py +476 -0
- pulumi_gcp/compute/storage_pool.py +1045 -0
- pulumi_gcp/compute/storage_pool_iam_binding.py +1088 -0
- pulumi_gcp/compute/storage_pool_iam_member.py +1088 -0
- pulumi_gcp/compute/storage_pool_iam_policy.py +907 -0
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +63 -3
- pulumi_gcp/container/outputs.py +70 -6
- pulumi_gcp/dataproc/get_metastore_service.py +12 -1
- pulumi_gcp/dataproc/metastore_service.py +61 -0
- pulumi_gcp/datastream/connection_profile.py +40 -0
- pulumi_gcp/discoveryengine/_inputs.py +38 -0
- pulumi_gcp/discoveryengine/chat_engine.py +6 -4
- pulumi_gcp/discoveryengine/outputs.py +26 -0
- pulumi_gcp/firebaserules/_inputs.py +6 -6
- pulumi_gcp/firebaserules/outputs.py +4 -4
- pulumi_gcp/gkebackup/__init__.py +2 -0
- pulumi_gcp/gkebackup/backup_channel.py +737 -0
- pulumi_gcp/gkebackup/restore_channel.py +737 -0
- pulumi_gcp/gkehub/_inputs.py +208 -0
- pulumi_gcp/gkehub/outputs.py +171 -1
- pulumi_gcp/healthcare/pipeline_job.py +2 -2
- pulumi_gcp/iap/__init__.py +4 -0
- pulumi_gcp/iap/_inputs.py +130 -0
- pulumi_gcp/iap/get_web_cloud_run_service_iam_policy.py +183 -0
- pulumi_gcp/iap/outputs.py +76 -0
- pulumi_gcp/iap/web_cloud_run_service_iam_binding.py +1089 -0
- pulumi_gcp/iap/web_cloud_run_service_iam_member.py +1089 -0
- pulumi_gcp/iap/web_cloud_run_service_iam_policy.py +908 -0
- pulumi_gcp/kms/key_ring_import_job.py +7 -7
- pulumi_gcp/managedkafka/connect_cluster.py +8 -4
- pulumi_gcp/managedkafka/connector.py +8 -4
- pulumi_gcp/monitoring/uptime_check_config.py +49 -0
- pulumi_gcp/networkconnectivity/internal_range.py +82 -0
- pulumi_gcp/projects/_inputs.py +0 -6
- pulumi_gcp/projects/api_key.py +28 -0
- pulumi_gcp/projects/outputs.py +0 -4
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/get_instance.py +12 -1
- pulumi_gcp/redis/instance.py +61 -0
- pulumi_gcp/sql/_inputs.py +86 -6
- pulumi_gcp/sql/outputs.py +156 -12
- pulumi_gcp/storage/__init__.py +1 -0
- pulumi_gcp/storage/_inputs.py +457 -0
- pulumi_gcp/storage/batch_operations_job.py +776 -0
- pulumi_gcp/storage/outputs.py +403 -0
- {pulumi_gcp-8.28.0a1745598508.dist-info → pulumi_gcp-8.29.0a1746076904.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.28.0a1745598508.dist-info → pulumi_gcp-8.29.0a1746076904.dist-info}/RECORD +78 -64
- {pulumi_gcp-8.28.0a1745598508.dist-info → pulumi_gcp-8.29.0a1746076904.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.28.0a1745598508.dist-info → pulumi_gcp-8.29.0a1746076904.dist-info}/top_level.txt +0 -0
pulumi_gcp/alloydb/outputs.py
CHANGED
@@ -1584,6 +1584,8 @@ class InstanceMachineConfig(dict):
|
|
1584
1584
|
suggest = None
|
1585
1585
|
if key == "cpuCount":
|
1586
1586
|
suggest = "cpu_count"
|
1587
|
+
elif key == "machineType":
|
1588
|
+
suggest = "machine_type"
|
1587
1589
|
|
1588
1590
|
if suggest:
|
1589
1591
|
pulumi.log.warn(f"Key '{key}' not found in InstanceMachineConfig. Access the value via the '{suggest}' property getter instead.")
|
@@ -1597,12 +1599,18 @@ class InstanceMachineConfig(dict):
|
|
1597
1599
|
return super().get(key, default)
|
1598
1600
|
|
1599
1601
|
def __init__(__self__, *,
|
1600
|
-
cpu_count: Optional[builtins.int] = None
|
1602
|
+
cpu_count: Optional[builtins.int] = None,
|
1603
|
+
machine_type: Optional[builtins.str] = None):
|
1601
1604
|
"""
|
1602
1605
|
:param builtins.int cpu_count: The number of CPU's in the VM instance.
|
1606
|
+
:param builtins.str machine_type: Machine type of the VM instance.
|
1607
|
+
E.g. "n2-highmem-4", "n2-highmem-8", "c4a-highmem-4-lssd".
|
1608
|
+
`cpu_count` must match the number of vCPUs in the machine type.
|
1603
1609
|
"""
|
1604
1610
|
if cpu_count is not None:
|
1605
1611
|
pulumi.set(__self__, "cpu_count", cpu_count)
|
1612
|
+
if machine_type is not None:
|
1613
|
+
pulumi.set(__self__, "machine_type", machine_type)
|
1606
1614
|
|
1607
1615
|
@property
|
1608
1616
|
@pulumi.getter(name="cpuCount")
|
@@ -1612,6 +1620,16 @@ class InstanceMachineConfig(dict):
|
|
1612
1620
|
"""
|
1613
1621
|
return pulumi.get(self, "cpu_count")
|
1614
1622
|
|
1623
|
+
@property
|
1624
|
+
@pulumi.getter(name="machineType")
|
1625
|
+
def machine_type(self) -> Optional[builtins.str]:
|
1626
|
+
"""
|
1627
|
+
Machine type of the VM instance.
|
1628
|
+
E.g. "n2-highmem-4", "n2-highmem-8", "c4a-highmem-4-lssd".
|
1629
|
+
`cpu_count` must match the number of vCPUs in the machine type.
|
1630
|
+
"""
|
1631
|
+
return pulumi.get(self, "machine_type")
|
1632
|
+
|
1615
1633
|
|
1616
1634
|
@pulumi.output_type
|
1617
1635
|
class InstanceNetworkConfig(dict):
|
@@ -1728,7 +1746,9 @@ class InstanceObservabilityConfig(dict):
|
|
1728
1746
|
@staticmethod
|
1729
1747
|
def __key_warning(key: str):
|
1730
1748
|
suggest = None
|
1731
|
-
if key == "
|
1749
|
+
if key == "assistiveExperiencesEnabled":
|
1750
|
+
suggest = "assistive_experiences_enabled"
|
1751
|
+
elif key == "maxQueryStringLength":
|
1732
1752
|
suggest = "max_query_string_length"
|
1733
1753
|
elif key == "preserveComments":
|
1734
1754
|
suggest = "preserve_comments"
|
@@ -1755,6 +1775,7 @@ class InstanceObservabilityConfig(dict):
|
|
1755
1775
|
return super().get(key, default)
|
1756
1776
|
|
1757
1777
|
def __init__(__self__, *,
|
1778
|
+
assistive_experiences_enabled: Optional[builtins.bool] = None,
|
1758
1779
|
enabled: Optional[builtins.bool] = None,
|
1759
1780
|
max_query_string_length: Optional[builtins.int] = None,
|
1760
1781
|
preserve_comments: Optional[builtins.bool] = None,
|
@@ -1764,6 +1785,7 @@ class InstanceObservabilityConfig(dict):
|
|
1764
1785
|
track_wait_event_types: Optional[builtins.bool] = None,
|
1765
1786
|
track_wait_events: Optional[builtins.bool] = None):
|
1766
1787
|
"""
|
1788
|
+
:param builtins.bool assistive_experiences_enabled: Whether assistive experiences are enabled for this AlloyDB instance.
|
1767
1789
|
:param builtins.bool enabled: Observability feature status for an instance.
|
1768
1790
|
:param builtins.int max_query_string_length: Query string length. The default value is 10240. Any integer between 1024 and 100000 is considered valid.
|
1769
1791
|
:param builtins.bool preserve_comments: Preserve comments in the query string.
|
@@ -1773,6 +1795,8 @@ class InstanceObservabilityConfig(dict):
|
|
1773
1795
|
:param builtins.bool track_wait_event_types: Record wait event types during query execution for an instance.
|
1774
1796
|
:param builtins.bool track_wait_events: Record wait events during query execution for an instance.
|
1775
1797
|
"""
|
1798
|
+
if assistive_experiences_enabled is not None:
|
1799
|
+
pulumi.set(__self__, "assistive_experiences_enabled", assistive_experiences_enabled)
|
1776
1800
|
if enabled is not None:
|
1777
1801
|
pulumi.set(__self__, "enabled", enabled)
|
1778
1802
|
if max_query_string_length is not None:
|
@@ -1790,6 +1814,14 @@ class InstanceObservabilityConfig(dict):
|
|
1790
1814
|
if track_wait_events is not None:
|
1791
1815
|
pulumi.set(__self__, "track_wait_events", track_wait_events)
|
1792
1816
|
|
1817
|
+
@property
|
1818
|
+
@pulumi.getter(name="assistiveExperiencesEnabled")
|
1819
|
+
def assistive_experiences_enabled(self) -> Optional[builtins.bool]:
|
1820
|
+
"""
|
1821
|
+
Whether assistive experiences are enabled for this AlloyDB instance.
|
1822
|
+
"""
|
1823
|
+
return pulumi.get(self, "assistive_experiences_enabled")
|
1824
|
+
|
1793
1825
|
@property
|
1794
1826
|
@pulumi.getter
|
1795
1827
|
def enabled(self) -> Optional[builtins.bool]:
|
@@ -2950,11 +2982,16 @@ class GetInstanceClientConnectionConfigSslConfigResult(dict):
|
|
2950
2982
|
@pulumi.output_type
|
2951
2983
|
class GetInstanceMachineConfigResult(dict):
|
2952
2984
|
def __init__(__self__, *,
|
2953
|
-
cpu_count: builtins.int
|
2985
|
+
cpu_count: builtins.int,
|
2986
|
+
machine_type: builtins.str):
|
2954
2987
|
"""
|
2955
2988
|
:param builtins.int cpu_count: The number of CPU's in the VM instance.
|
2989
|
+
:param builtins.str machine_type: Machine type of the VM instance.
|
2990
|
+
E.g. "n2-highmem-4", "n2-highmem-8", "c4a-highmem-4-lssd".
|
2991
|
+
'cpu_count' must match the number of vCPUs in the machine type.
|
2956
2992
|
"""
|
2957
2993
|
pulumi.set(__self__, "cpu_count", cpu_count)
|
2994
|
+
pulumi.set(__self__, "machine_type", machine_type)
|
2958
2995
|
|
2959
2996
|
@property
|
2960
2997
|
@pulumi.getter(name="cpuCount")
|
@@ -2964,6 +3001,16 @@ class GetInstanceMachineConfigResult(dict):
|
|
2964
3001
|
"""
|
2965
3002
|
return pulumi.get(self, "cpu_count")
|
2966
3003
|
|
3004
|
+
@property
|
3005
|
+
@pulumi.getter(name="machineType")
|
3006
|
+
def machine_type(self) -> builtins.str:
|
3007
|
+
"""
|
3008
|
+
Machine type of the VM instance.
|
3009
|
+
E.g. "n2-highmem-4", "n2-highmem-8", "c4a-highmem-4-lssd".
|
3010
|
+
'cpu_count' must match the number of vCPUs in the machine type.
|
3011
|
+
"""
|
3012
|
+
return pulumi.get(self, "machine_type")
|
3013
|
+
|
2967
3014
|
|
2968
3015
|
@pulumi.output_type
|
2969
3016
|
class GetInstanceNetworkConfigResult(dict):
|
@@ -3034,6 +3081,7 @@ class GetInstanceNetworkConfigAuthorizedExternalNetworkResult(dict):
|
|
3034
3081
|
@pulumi.output_type
|
3035
3082
|
class GetInstanceObservabilityConfigResult(dict):
|
3036
3083
|
def __init__(__self__, *,
|
3084
|
+
assistive_experiences_enabled: builtins.bool,
|
3037
3085
|
enabled: builtins.bool,
|
3038
3086
|
max_query_string_length: builtins.int,
|
3039
3087
|
preserve_comments: builtins.bool,
|
@@ -3043,6 +3091,7 @@ class GetInstanceObservabilityConfigResult(dict):
|
|
3043
3091
|
track_wait_event_types: builtins.bool,
|
3044
3092
|
track_wait_events: builtins.bool):
|
3045
3093
|
"""
|
3094
|
+
:param builtins.bool assistive_experiences_enabled: Whether assistive experiences are enabled for this AlloyDB instance.
|
3046
3095
|
:param builtins.bool enabled: Observability feature status for an instance.
|
3047
3096
|
:param builtins.int max_query_string_length: Query string length. The default value is 10240. Any integer between 1024 and 100000 is considered valid.
|
3048
3097
|
:param builtins.bool preserve_comments: Preserve comments in the query string.
|
@@ -3052,6 +3101,7 @@ class GetInstanceObservabilityConfigResult(dict):
|
|
3052
3101
|
:param builtins.bool track_wait_event_types: Record wait event types during query execution for an instance.
|
3053
3102
|
:param builtins.bool track_wait_events: Record wait events during query execution for an instance.
|
3054
3103
|
"""
|
3104
|
+
pulumi.set(__self__, "assistive_experiences_enabled", assistive_experiences_enabled)
|
3055
3105
|
pulumi.set(__self__, "enabled", enabled)
|
3056
3106
|
pulumi.set(__self__, "max_query_string_length", max_query_string_length)
|
3057
3107
|
pulumi.set(__self__, "preserve_comments", preserve_comments)
|
@@ -3061,6 +3111,14 @@ class GetInstanceObservabilityConfigResult(dict):
|
|
3061
3111
|
pulumi.set(__self__, "track_wait_event_types", track_wait_event_types)
|
3062
3112
|
pulumi.set(__self__, "track_wait_events", track_wait_events)
|
3063
3113
|
|
3114
|
+
@property
|
3115
|
+
@pulumi.getter(name="assistiveExperiencesEnabled")
|
3116
|
+
def assistive_experiences_enabled(self) -> builtins.bool:
|
3117
|
+
"""
|
3118
|
+
Whether assistive experiences are enabled for this AlloyDB instance.
|
3119
|
+
"""
|
3120
|
+
return pulumi.get(self, "assistive_experiences_enabled")
|
3121
|
+
|
3064
3122
|
@property
|
3065
3123
|
@pulumi.getter
|
3066
3124
|
def enabled(self) -> builtins.bool:
|
@@ -394,6 +394,7 @@ class KeystoresAliasesSelfSignedCert(pulumi.CustomResource):
|
|
394
394
|
```python
|
395
395
|
import pulumi
|
396
396
|
import pulumi_gcp as gcp
|
397
|
+
import pulumi_time as time
|
397
398
|
|
398
399
|
project = gcp.organizations.Project("project",
|
399
400
|
project_id="my-project",
|
@@ -412,10 +413,12 @@ class KeystoresAliasesSelfSignedCert(pulumi.CustomResource):
|
|
412
413
|
project=project.project_id,
|
413
414
|
service="compute.googleapis.com",
|
414
415
|
opts = pulumi.ResourceOptions(depends_on=[servicenetworking]))
|
416
|
+
wait120_seconds = time.index.Sleep("wait_120_seconds", create_duration=120s,
|
417
|
+
opts = pulumi.ResourceOptions(depends_on=[compute]))
|
415
418
|
apigee_network = gcp.compute.Network("apigee_network",
|
416
419
|
name="apigee-network",
|
417
420
|
project=project.project_id,
|
418
|
-
opts = pulumi.ResourceOptions(depends_on=[
|
421
|
+
opts = pulumi.ResourceOptions(depends_on=[wait120_seconds]))
|
419
422
|
apigee_range = gcp.compute.GlobalAddress("apigee_range",
|
420
423
|
name="apigee-range",
|
421
424
|
purpose="VPC_PEERING",
|
@@ -516,6 +519,7 @@ class KeystoresAliasesSelfSignedCert(pulumi.CustomResource):
|
|
516
519
|
```python
|
517
520
|
import pulumi
|
518
521
|
import pulumi_gcp as gcp
|
522
|
+
import pulumi_time as time
|
519
523
|
|
520
524
|
project = gcp.organizations.Project("project",
|
521
525
|
project_id="my-project",
|
@@ -534,10 +538,12 @@ class KeystoresAliasesSelfSignedCert(pulumi.CustomResource):
|
|
534
538
|
project=project.project_id,
|
535
539
|
service="compute.googleapis.com",
|
536
540
|
opts = pulumi.ResourceOptions(depends_on=[servicenetworking]))
|
541
|
+
wait120_seconds = time.index.Sleep("wait_120_seconds", create_duration=120s,
|
542
|
+
opts = pulumi.ResourceOptions(depends_on=[compute]))
|
537
543
|
apigee_network = gcp.compute.Network("apigee_network",
|
538
544
|
name="apigee-network",
|
539
545
|
project=project.project_id,
|
540
|
-
opts = pulumi.ResourceOptions(depends_on=[
|
546
|
+
opts = pulumi.ResourceOptions(depends_on=[wait120_seconds]))
|
541
547
|
apigee_range = gcp.compute.GlobalAddress("apigee_range",
|
542
548
|
name="apigee-range",
|
543
549
|
purpose="VPC_PEERING",
|
@@ -38,7 +38,10 @@ class ClientArgs:
|
|
38
38
|
:param pulumi.Input[builtins.bool] create_sample_integrations: Indicates if sample integrations should be created along with provisioning.
|
39
39
|
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
40
40
|
If it is not provided, the provider project is used.
|
41
|
-
:param pulumi.Input[builtins.str] run_as_service_account:
|
41
|
+
:param pulumi.Input[builtins.str] run_as_service_account: (Optional, Deprecated)
|
42
|
+
User input run-as service account, if empty, will bring up a new default service account.
|
43
|
+
|
44
|
+
> **Warning:** `run_as_service_account` is deprecated and will be removed in a future major release.
|
42
45
|
"""
|
43
46
|
pulumi.set(__self__, "location", location)
|
44
47
|
if cloud_kms_config is not None:
|
@@ -47,6 +50,9 @@ class ClientArgs:
|
|
47
50
|
pulumi.set(__self__, "create_sample_integrations", create_sample_integrations)
|
48
51
|
if project is not None:
|
49
52
|
pulumi.set(__self__, "project", project)
|
53
|
+
if run_as_service_account is not None:
|
54
|
+
warnings.warn("""`run_as_service_account` is deprecated and will be removed in a future major release.""", DeprecationWarning)
|
55
|
+
pulumi.log.warn("""run_as_service_account is deprecated: `run_as_service_account` is deprecated and will be removed in a future major release.""")
|
50
56
|
if run_as_service_account is not None:
|
51
57
|
pulumi.set(__self__, "run_as_service_account", run_as_service_account)
|
52
58
|
|
@@ -105,9 +111,13 @@ class ClientArgs:
|
|
105
111
|
|
106
112
|
@property
|
107
113
|
@pulumi.getter(name="runAsServiceAccount")
|
114
|
+
@_utilities.deprecated("""`run_as_service_account` is deprecated and will be removed in a future major release.""")
|
108
115
|
def run_as_service_account(self) -> Optional[pulumi.Input[builtins.str]]:
|
109
116
|
"""
|
117
|
+
(Optional, Deprecated)
|
110
118
|
User input run-as service account, if empty, will bring up a new default service account.
|
119
|
+
|
120
|
+
> **Warning:** `run_as_service_account` is deprecated and will be removed in a future major release.
|
111
121
|
"""
|
112
122
|
return pulumi.get(self, "run_as_service_account")
|
113
123
|
|
@@ -135,7 +145,10 @@ class _ClientState:
|
|
135
145
|
- - -
|
136
146
|
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
137
147
|
If it is not provided, the provider project is used.
|
138
|
-
:param pulumi.Input[builtins.str] run_as_service_account:
|
148
|
+
:param pulumi.Input[builtins.str] run_as_service_account: (Optional, Deprecated)
|
149
|
+
User input run-as service account, if empty, will bring up a new default service account.
|
150
|
+
|
151
|
+
> **Warning:** `run_as_service_account` is deprecated and will be removed in a future major release.
|
139
152
|
"""
|
140
153
|
if cloud_kms_config is not None:
|
141
154
|
pulumi.set(__self__, "cloud_kms_config", cloud_kms_config)
|
@@ -145,6 +158,9 @@ class _ClientState:
|
|
145
158
|
pulumi.set(__self__, "location", location)
|
146
159
|
if project is not None:
|
147
160
|
pulumi.set(__self__, "project", project)
|
161
|
+
if run_as_service_account is not None:
|
162
|
+
warnings.warn("""`run_as_service_account` is deprecated and will be removed in a future major release.""", DeprecationWarning)
|
163
|
+
pulumi.log.warn("""run_as_service_account is deprecated: `run_as_service_account` is deprecated and will be removed in a future major release.""")
|
148
164
|
if run_as_service_account is not None:
|
149
165
|
pulumi.set(__self__, "run_as_service_account", run_as_service_account)
|
150
166
|
|
@@ -203,9 +219,13 @@ class _ClientState:
|
|
203
219
|
|
204
220
|
@property
|
205
221
|
@pulumi.getter(name="runAsServiceAccount")
|
222
|
+
@_utilities.deprecated("""`run_as_service_account` is deprecated and will be removed in a future major release.""")
|
206
223
|
def run_as_service_account(self) -> Optional[pulumi.Input[builtins.str]]:
|
207
224
|
"""
|
225
|
+
(Optional, Deprecated)
|
208
226
|
User input run-as service account, if empty, will bring up a new default service account.
|
227
|
+
|
228
|
+
> **Warning:** `run_as_service_account` is deprecated and will be removed in a future major release.
|
209
229
|
"""
|
210
230
|
return pulumi.get(self, "run_as_service_account")
|
211
231
|
|
@@ -258,13 +278,9 @@ class Client(pulumi.CustomResource):
|
|
258
278
|
cryptokey = gcp.kms.get_kms_crypto_key(name="my-crypto-key",
|
259
279
|
key_ring=keyring.id)
|
260
280
|
test_key = gcp.kms.get_kms_crypto_key_version(crypto_key=cryptokey.id)
|
261
|
-
service_account = gcp.serviceaccount.Account("service_account",
|
262
|
-
account_id="service-acc",
|
263
|
-
display_name="Service Account")
|
264
281
|
example = gcp.applicationintegration.Client("example",
|
265
282
|
location="us-east1",
|
266
283
|
create_sample_integrations=True,
|
267
|
-
run_as_service_account=service_account.email,
|
268
284
|
cloud_kms_config={
|
269
285
|
"kms_location": "us-east1",
|
270
286
|
"kms_ring": std.basename(input=keyring.id).result,
|
@@ -309,7 +325,10 @@ class Client(pulumi.CustomResource):
|
|
309
325
|
- - -
|
310
326
|
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
311
327
|
If it is not provided, the provider project is used.
|
312
|
-
:param pulumi.Input[builtins.str] run_as_service_account:
|
328
|
+
:param pulumi.Input[builtins.str] run_as_service_account: (Optional, Deprecated)
|
329
|
+
User input run-as service account, if empty, will bring up a new default service account.
|
330
|
+
|
331
|
+
> **Warning:** `run_as_service_account` is deprecated and will be removed in a future major release.
|
313
332
|
"""
|
314
333
|
...
|
315
334
|
@overload
|
@@ -350,13 +369,9 @@ class Client(pulumi.CustomResource):
|
|
350
369
|
cryptokey = gcp.kms.get_kms_crypto_key(name="my-crypto-key",
|
351
370
|
key_ring=keyring.id)
|
352
371
|
test_key = gcp.kms.get_kms_crypto_key_version(crypto_key=cryptokey.id)
|
353
|
-
service_account = gcp.serviceaccount.Account("service_account",
|
354
|
-
account_id="service-acc",
|
355
|
-
display_name="Service Account")
|
356
372
|
example = gcp.applicationintegration.Client("example",
|
357
373
|
location="us-east1",
|
358
374
|
create_sample_integrations=True,
|
359
|
-
run_as_service_account=service_account.email,
|
360
375
|
cloud_kms_config={
|
361
376
|
"kms_location": "us-east1",
|
362
377
|
"kms_ring": std.basename(input=keyring.id).result,
|
@@ -457,7 +472,10 @@ class Client(pulumi.CustomResource):
|
|
457
472
|
- - -
|
458
473
|
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
459
474
|
If it is not provided, the provider project is used.
|
460
|
-
:param pulumi.Input[builtins.str] run_as_service_account:
|
475
|
+
:param pulumi.Input[builtins.str] run_as_service_account: (Optional, Deprecated)
|
476
|
+
User input run-as service account, if empty, will bring up a new default service account.
|
477
|
+
|
478
|
+
> **Warning:** `run_as_service_account` is deprecated and will be removed in a future major release.
|
461
479
|
"""
|
462
480
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
463
481
|
|
@@ -509,9 +527,13 @@ class Client(pulumi.CustomResource):
|
|
509
527
|
|
510
528
|
@property
|
511
529
|
@pulumi.getter(name="runAsServiceAccount")
|
530
|
+
@_utilities.deprecated("""`run_as_service_account` is deprecated and will be removed in a future major release.""")
|
512
531
|
def run_as_service_account(self) -> pulumi.Output[Optional[builtins.str]]:
|
513
532
|
"""
|
533
|
+
(Optional, Deprecated)
|
514
534
|
User input run-as service account, if empty, will bring up a new default service account.
|
535
|
+
|
536
|
+
> **Warning:** `run_as_service_account` is deprecated and will be removed in a future major release.
|
515
537
|
"""
|
516
538
|
return pulumi.get(self, "run_as_service_account")
|
517
539
|
|
@@ -1720,7 +1720,7 @@ class GetRepositoryRemoteRepositoryConfigAptRepositoryPublicRepositoryResult(dic
|
|
1720
1720
|
repository_base: builtins.str,
|
1721
1721
|
repository_path: builtins.str):
|
1722
1722
|
"""
|
1723
|
-
:param builtins.str repository_base: A common public repository base for Apt, e.g. '"debian/dists/buster"' Possible values: ["DEBIAN", "UBUNTU"]
|
1723
|
+
:param builtins.str repository_base: A common public repository base for Apt, e.g. '"debian/dists/buster"' Possible values: ["DEBIAN", "UBUNTU", "DEBIAN_SNAPSHOT"]
|
1724
1724
|
:param builtins.str repository_path: Specific repository from the base.
|
1725
1725
|
"""
|
1726
1726
|
pulumi.set(__self__, "repository_base", repository_base)
|
@@ -1730,7 +1730,7 @@ class GetRepositoryRemoteRepositoryConfigAptRepositoryPublicRepositoryResult(dic
|
|
1730
1730
|
@pulumi.getter(name="repositoryBase")
|
1731
1731
|
def repository_base(self) -> builtins.str:
|
1732
1732
|
"""
|
1733
|
-
A common public repository base for Apt, e.g. '"debian/dists/buster"' Possible values: ["DEBIAN", "UBUNTU"]
|
1733
|
+
A common public repository base for Apt, e.g. '"debian/dists/buster"' Possible values: ["DEBIAN", "UBUNTU", "DEBIAN_SNAPSHOT"]
|
1734
1734
|
"""
|
1735
1735
|
return pulumi.get(self, "repository_base")
|
1736
1736
|
|
@@ -2134,6 +2134,14 @@ if not MYPY:
|
|
2134
2134
|
Otherwise, any key may be used.
|
2135
2135
|
Structure is documented below.
|
2136
2136
|
"""
|
2137
|
+
backdate_duration: NotRequired[pulumi.Input[builtins.str]]
|
2138
|
+
"""
|
2139
|
+
The duration to backdate all certificates issued from this CaPool. If not set, the
|
2140
|
+
certificates will be issued with a not_before_time of the issuance time (i.e. the current
|
2141
|
+
time). If set, the certificates will be issued with a not_before_time of the issuance
|
2142
|
+
time minus the backdate_duration. The not_after_time will be adjusted to preserve the
|
2143
|
+
requested lifetime. The backdate_duration must be less than or equal to 48 hours.
|
2144
|
+
"""
|
2137
2145
|
baseline_values: NotRequired[pulumi.Input['CaPoolIssuancePolicyBaselineValuesArgsDict']]
|
2138
2146
|
"""
|
2139
2147
|
A set of X.509 values that will be applied to all certificates issued through this CaPool. If a certificate request
|
@@ -2161,6 +2169,7 @@ class CaPoolIssuancePolicyArgs:
|
|
2161
2169
|
def __init__(__self__, *,
|
2162
2170
|
allowed_issuance_modes: Optional[pulumi.Input['CaPoolIssuancePolicyAllowedIssuanceModesArgs']] = None,
|
2163
2171
|
allowed_key_types: Optional[pulumi.Input[Sequence[pulumi.Input['CaPoolIssuancePolicyAllowedKeyTypeArgs']]]] = None,
|
2172
|
+
backdate_duration: Optional[pulumi.Input[builtins.str]] = None,
|
2164
2173
|
baseline_values: Optional[pulumi.Input['CaPoolIssuancePolicyBaselineValuesArgs']] = None,
|
2165
2174
|
identity_constraints: Optional[pulumi.Input['CaPoolIssuancePolicyIdentityConstraintsArgs']] = None,
|
2166
2175
|
maximum_lifetime: Optional[pulumi.Input[builtins.str]] = None):
|
@@ -2170,6 +2179,11 @@ class CaPoolIssuancePolicyArgs:
|
|
2170
2179
|
:param pulumi.Input[Sequence[pulumi.Input['CaPoolIssuancePolicyAllowedKeyTypeArgs']]] allowed_key_types: If any AllowedKeyType is specified, then the certificate request's public key must match one of the key types listed here.
|
2171
2180
|
Otherwise, any key may be used.
|
2172
2181
|
Structure is documented below.
|
2182
|
+
:param pulumi.Input[builtins.str] backdate_duration: The duration to backdate all certificates issued from this CaPool. If not set, the
|
2183
|
+
certificates will be issued with a not_before_time of the issuance time (i.e. the current
|
2184
|
+
time). If set, the certificates will be issued with a not_before_time of the issuance
|
2185
|
+
time minus the backdate_duration. The not_after_time will be adjusted to preserve the
|
2186
|
+
requested lifetime. The backdate_duration must be less than or equal to 48 hours.
|
2173
2187
|
:param pulumi.Input['CaPoolIssuancePolicyBaselineValuesArgs'] baseline_values: A set of X.509 values that will be applied to all certificates issued through this CaPool. If a certificate request
|
2174
2188
|
includes conflicting values for the same properties, they will be overwritten by the values defined here. If a certificate
|
2175
2189
|
request uses a CertificateTemplate that defines conflicting predefinedValues for the same properties, the certificate
|
@@ -2185,6 +2199,8 @@ class CaPoolIssuancePolicyArgs:
|
|
2185
2199
|
pulumi.set(__self__, "allowed_issuance_modes", allowed_issuance_modes)
|
2186
2200
|
if allowed_key_types is not None:
|
2187
2201
|
pulumi.set(__self__, "allowed_key_types", allowed_key_types)
|
2202
|
+
if backdate_duration is not None:
|
2203
|
+
pulumi.set(__self__, "backdate_duration", backdate_duration)
|
2188
2204
|
if baseline_values is not None:
|
2189
2205
|
pulumi.set(__self__, "baseline_values", baseline_values)
|
2190
2206
|
if identity_constraints is not None:
|
@@ -2219,6 +2235,22 @@ class CaPoolIssuancePolicyArgs:
|
|
2219
2235
|
def allowed_key_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CaPoolIssuancePolicyAllowedKeyTypeArgs']]]]):
|
2220
2236
|
pulumi.set(self, "allowed_key_types", value)
|
2221
2237
|
|
2238
|
+
@property
|
2239
|
+
@pulumi.getter(name="backdateDuration")
|
2240
|
+
def backdate_duration(self) -> Optional[pulumi.Input[builtins.str]]:
|
2241
|
+
"""
|
2242
|
+
The duration to backdate all certificates issued from this CaPool. If not set, the
|
2243
|
+
certificates will be issued with a not_before_time of the issuance time (i.e. the current
|
2244
|
+
time). If set, the certificates will be issued with a not_before_time of the issuance
|
2245
|
+
time minus the backdate_duration. The not_after_time will be adjusted to preserve the
|
2246
|
+
requested lifetime. The backdate_duration must be less than or equal to 48 hours.
|
2247
|
+
"""
|
2248
|
+
return pulumi.get(self, "backdate_duration")
|
2249
|
+
|
2250
|
+
@backdate_duration.setter
|
2251
|
+
def backdate_duration(self, value: Optional[pulumi.Input[builtins.str]]):
|
2252
|
+
pulumi.set(self, "backdate_duration", value)
|
2253
|
+
|
2222
2254
|
@property
|
2223
2255
|
@pulumi.getter(name="baselineValues")
|
2224
2256
|
def baseline_values(self) -> Optional[pulumi.Input['CaPoolIssuancePolicyBaselineValuesArgs']]:
|
@@ -413,6 +413,7 @@ class CaPool(pulumi.CustomResource):
|
|
413
413
|
},
|
414
414
|
},
|
415
415
|
],
|
416
|
+
"backdate_duration": "3600s",
|
416
417
|
"maximum_lifetime": "50000s",
|
417
418
|
"allowed_issuance_modes": {
|
418
419
|
"allow_csr_based_issuance": True,
|
@@ -625,6 +626,7 @@ class CaPool(pulumi.CustomResource):
|
|
625
626
|
},
|
626
627
|
},
|
627
628
|
],
|
629
|
+
"backdate_duration": "3600s",
|
628
630
|
"maximum_lifetime": "50000s",
|
629
631
|
"allowed_issuance_modes": {
|
630
632
|
"allow_csr_based_issuance": True,
|
@@ -1711,6 +1711,8 @@ class CaPoolIssuancePolicy(dict):
|
|
1711
1711
|
suggest = "allowed_issuance_modes"
|
1712
1712
|
elif key == "allowedKeyTypes":
|
1713
1713
|
suggest = "allowed_key_types"
|
1714
|
+
elif key == "backdateDuration":
|
1715
|
+
suggest = "backdate_duration"
|
1714
1716
|
elif key == "baselineValues":
|
1715
1717
|
suggest = "baseline_values"
|
1716
1718
|
elif key == "identityConstraints":
|
@@ -1732,6 +1734,7 @@ class CaPoolIssuancePolicy(dict):
|
|
1732
1734
|
def __init__(__self__, *,
|
1733
1735
|
allowed_issuance_modes: Optional['outputs.CaPoolIssuancePolicyAllowedIssuanceModes'] = None,
|
1734
1736
|
allowed_key_types: Optional[Sequence['outputs.CaPoolIssuancePolicyAllowedKeyType']] = None,
|
1737
|
+
backdate_duration: Optional[builtins.str] = None,
|
1735
1738
|
baseline_values: Optional['outputs.CaPoolIssuancePolicyBaselineValues'] = None,
|
1736
1739
|
identity_constraints: Optional['outputs.CaPoolIssuancePolicyIdentityConstraints'] = None,
|
1737
1740
|
maximum_lifetime: Optional[builtins.str] = None):
|
@@ -1741,6 +1744,11 @@ class CaPoolIssuancePolicy(dict):
|
|
1741
1744
|
:param Sequence['CaPoolIssuancePolicyAllowedKeyTypeArgs'] allowed_key_types: If any AllowedKeyType is specified, then the certificate request's public key must match one of the key types listed here.
|
1742
1745
|
Otherwise, any key may be used.
|
1743
1746
|
Structure is documented below.
|
1747
|
+
:param builtins.str backdate_duration: The duration to backdate all certificates issued from this CaPool. If not set, the
|
1748
|
+
certificates will be issued with a not_before_time of the issuance time (i.e. the current
|
1749
|
+
time). If set, the certificates will be issued with a not_before_time of the issuance
|
1750
|
+
time minus the backdate_duration. The not_after_time will be adjusted to preserve the
|
1751
|
+
requested lifetime. The backdate_duration must be less than or equal to 48 hours.
|
1744
1752
|
:param 'CaPoolIssuancePolicyBaselineValuesArgs' baseline_values: A set of X.509 values that will be applied to all certificates issued through this CaPool. If a certificate request
|
1745
1753
|
includes conflicting values for the same properties, they will be overwritten by the values defined here. If a certificate
|
1746
1754
|
request uses a CertificateTemplate that defines conflicting predefinedValues for the same properties, the certificate
|
@@ -1756,6 +1764,8 @@ class CaPoolIssuancePolicy(dict):
|
|
1756
1764
|
pulumi.set(__self__, "allowed_issuance_modes", allowed_issuance_modes)
|
1757
1765
|
if allowed_key_types is not None:
|
1758
1766
|
pulumi.set(__self__, "allowed_key_types", allowed_key_types)
|
1767
|
+
if backdate_duration is not None:
|
1768
|
+
pulumi.set(__self__, "backdate_duration", backdate_duration)
|
1759
1769
|
if baseline_values is not None:
|
1760
1770
|
pulumi.set(__self__, "baseline_values", baseline_values)
|
1761
1771
|
if identity_constraints is not None:
|
@@ -1782,6 +1792,18 @@ class CaPoolIssuancePolicy(dict):
|
|
1782
1792
|
"""
|
1783
1793
|
return pulumi.get(self, "allowed_key_types")
|
1784
1794
|
|
1795
|
+
@property
|
1796
|
+
@pulumi.getter(name="backdateDuration")
|
1797
|
+
def backdate_duration(self) -> Optional[builtins.str]:
|
1798
|
+
"""
|
1799
|
+
The duration to backdate all certificates issued from this CaPool. If not set, the
|
1800
|
+
certificates will be issued with a not_before_time of the issuance time (i.e. the current
|
1801
|
+
time). If set, the certificates will be issued with a not_before_time of the issuance
|
1802
|
+
time minus the backdate_duration. The not_after_time will be adjusted to preserve the
|
1803
|
+
requested lifetime. The backdate_duration must be less than or equal to 48 hours.
|
1804
|
+
"""
|
1805
|
+
return pulumi.get(self, "backdate_duration")
|
1806
|
+
|
1785
1807
|
@property
|
1786
1808
|
@pulumi.getter(name="baselineValues")
|
1787
1809
|
def baseline_values(self) -> Optional['outputs.CaPoolIssuancePolicyBaselineValues']:
|
@@ -2223,8 +2223,6 @@ if not MYPY:
|
|
2223
2223
|
verify: NotRequired[pulumi.Input[builtins.bool]]
|
2224
2224
|
"""
|
2225
2225
|
Whether to run verify tests after the deployment.
|
2226
|
-
|
2227
|
-
- - -
|
2228
2226
|
"""
|
2229
2227
|
elif False:
|
2230
2228
|
DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentPhaseConfigArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -2245,8 +2243,6 @@ class DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentPha
|
|
2245
2243
|
:param pulumi.Input['DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentPhaseConfigPredeployArgs'] predeploy: Optional. Configuration for the predeploy job of this phase. If this is not configured, predeploy job will not be present for this phase.
|
2246
2244
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] profiles: Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the `DeliveryPipeline` stage.
|
2247
2245
|
:param pulumi.Input[builtins.bool] verify: Whether to run verify tests after the deployment.
|
2248
|
-
|
2249
|
-
- - -
|
2250
2246
|
"""
|
2251
2247
|
pulumi.set(__self__, "percentage", percentage)
|
2252
2248
|
pulumi.set(__self__, "phase_id", phase_id)
|
@@ -2324,8 +2320,6 @@ class DeliveryPipelineSerialPipelineStageStrategyCanaryCustomCanaryDeploymentPha
|
|
2324
2320
|
def verify(self) -> Optional[pulumi.Input[builtins.bool]]:
|
2325
2321
|
"""
|
2326
2322
|
Whether to run verify tests after the deployment.
|
2327
|
-
|
2328
|
-
- - -
|
2329
2323
|
"""
|
2330
2324
|
return pulumi.get(self, "verify")
|
2331
2325
|
|