pulumi-gcp 7.30.0__py3-none-any.whl → 7.30.0a1719513455__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 -32
- pulumi_gcp/artifactregistry/get_docker_image.py +2 -2
- pulumi_gcp/bigtable/gc_policy.py +14 -68
- pulumi_gcp/cloudfunctionsv2/_inputs.py +0 -97
- pulumi_gcp/cloudfunctionsv2/function.py +0 -232
- pulumi_gcp/cloudfunctionsv2/outputs.py +1 -129
- pulumi_gcp/compute/_inputs.py +0 -622
- pulumi_gcp/compute/address.py +7 -0
- pulumi_gcp/compute/backend_service.py +14 -0
- pulumi_gcp/compute/forwarding_rule.py +21 -0
- pulumi_gcp/compute/global_forwarding_rule.py +21 -0
- pulumi_gcp/compute/managed_ssl_certificate.py +7 -0
- pulumi_gcp/compute/manged_ssl_certificate.py +7 -0
- pulumi_gcp/compute/network_attachment.py +0 -16
- pulumi_gcp/compute/outputs.py +8 -504
- pulumi_gcp/compute/region_backend_service.py +14 -0
- pulumi_gcp/compute/region_disk_iam_binding.py +95 -122
- pulumi_gcp/compute/region_disk_iam_member.py +95 -122
- pulumi_gcp/compute/region_disk_iam_policy.py +88 -115
- pulumi_gcp/compute/region_ssl_certificate.py +7 -0
- pulumi_gcp/compute/ssl_certificate.py +7 -0
- pulumi_gcp/compute/target_https_proxy.py +1 -76
- pulumi_gcp/compute/url_map.py +0 -255
- pulumi_gcp/container/aws_cluster.py +2 -2
- pulumi_gcp/container/aws_node_pool.py +2 -2
- pulumi_gcp/container/azure_client.py +2 -2
- pulumi_gcp/container/azure_cluster.py +2 -2
- pulumi_gcp/container/azure_node_pool.py +2 -2
- pulumi_gcp/datafusion/_inputs.py +11 -163
- pulumi_gcp/datafusion/instance.py +0 -64
- pulumi_gcp/datafusion/outputs.py +7 -127
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +953 -328
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +953 -328
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +953 -238
- pulumi_gcp/healthcare/_inputs.py +0 -43
- pulumi_gcp/healthcare/dataset.py +0 -110
- pulumi_gcp/healthcare/outputs.py +0 -43
- pulumi_gcp/identityplatform/config.py +1 -1
- pulumi_gcp/logging/billing_account_bucket_config.py +1 -1
- pulumi_gcp/logging/folder_bucket_config.py +1 -1
- pulumi_gcp/logging/organization_bucket_config.py +1 -1
- pulumi_gcp/monitoring/_inputs.py +0 -77
- pulumi_gcp/monitoring/outputs.py +0 -63
- pulumi_gcp/networksecurity/address_group_iam_binding.py +2 -289
- pulumi_gcp/networksecurity/address_group_iam_member.py +2 -289
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securitycenter/instance_iam_binding.py +0 -64
- pulumi_gcp/securitycenter/instance_iam_member.py +0 -64
- pulumi_gcp/securitycenter/instance_iam_policy.py +0 -64
- pulumi_gcp/sourcerepo/repository_iam_binding.py +83 -92
- pulumi_gcp/sourcerepo/repository_iam_member.py +83 -92
- pulumi_gcp/sourcerepo/repository_iam_policy.py +76 -85
- pulumi_gcp/storage/__init__.py +0 -5
- pulumi_gcp/storage/_inputs.py +0 -130
- pulumi_gcp/storage/outputs.py +0 -76
- pulumi_gcp/vertex/_inputs.py +3 -3
- pulumi_gcp/vertex/ai_feature_online_store.py +9 -9
- pulumi_gcp/vertex/outputs.py +2 -2
- {pulumi_gcp-7.30.0.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.30.0.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/RECORD +62 -67
- {pulumi_gcp-7.30.0.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/WHEEL +1 -1
- pulumi_gcp/storage/get_managed_folder_iam_policy.py +0 -115
- pulumi_gcp/storage/managed_folder.py +0 -440
- pulumi_gcp/storage/managed_folder_iam_binding.py +0 -947
- pulumi_gcp/storage/managed_folder_iam_member.py +0 -947
- pulumi_gcp/storage/managed_folder_iam_policy.py +0 -766
- {pulumi_gcp-7.30.0.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/top_level.txt +0 -0
@@ -1122,122 +1122,6 @@ class Function(pulumi.CustomResource):
|
|
1122
1122
|
},
|
1123
1123
|
opts = pulumi.ResourceOptions(depends_on=[gcf_cmek_keyuser]))
|
1124
1124
|
```
|
1125
|
-
### Cloudfunctions2 Abiu
|
1126
|
-
|
1127
|
-
```python
|
1128
|
-
import pulumi
|
1129
|
-
import pulumi_gcp as gcp
|
1130
|
-
|
1131
|
-
project = "my-project-name"
|
1132
|
-
account = gcp.serviceaccount.Account("account",
|
1133
|
-
account_id="gcf-sa",
|
1134
|
-
display_name="Test Service Account")
|
1135
|
-
topic = gcp.pubsub.Topic("topic", name="functions2-topic")
|
1136
|
-
bucket = gcp.storage.Bucket("bucket",
|
1137
|
-
name=f"{project}-gcf-source",
|
1138
|
-
location="US",
|
1139
|
-
uniform_bucket_level_access=True)
|
1140
|
-
object = gcp.storage.BucketObject("object",
|
1141
|
-
name="function-source.zip",
|
1142
|
-
bucket=bucket.name,
|
1143
|
-
source=pulumi.FileAsset("function-source.zip"))
|
1144
|
-
function = gcp.cloudfunctionsv2.Function("function",
|
1145
|
-
name="gcf-function",
|
1146
|
-
location="europe-west6",
|
1147
|
-
description="a new function",
|
1148
|
-
build_config={
|
1149
|
-
"runtime": "nodejs16",
|
1150
|
-
"entryPoint": "helloPubSub",
|
1151
|
-
"environmentVariables": {
|
1152
|
-
"BUILD_CONFIG_TEST": "build_test",
|
1153
|
-
},
|
1154
|
-
"source": {
|
1155
|
-
"storageSource": {
|
1156
|
-
"bucket": bucket.name,
|
1157
|
-
"object": object.name,
|
1158
|
-
},
|
1159
|
-
},
|
1160
|
-
"automaticUpdatePolicy": {},
|
1161
|
-
},
|
1162
|
-
service_config={
|
1163
|
-
"maxInstanceCount": 3,
|
1164
|
-
"minInstanceCount": 1,
|
1165
|
-
"availableMemory": "4Gi",
|
1166
|
-
"timeoutSeconds": 60,
|
1167
|
-
"maxInstanceRequestConcurrency": 80,
|
1168
|
-
"availableCpu": "4",
|
1169
|
-
"environmentVariables": {
|
1170
|
-
"SERVICE_CONFIG_TEST": "config_test",
|
1171
|
-
},
|
1172
|
-
"ingressSettings": "ALLOW_INTERNAL_ONLY",
|
1173
|
-
"allTrafficOnLatestRevision": True,
|
1174
|
-
"serviceAccountEmail": account.email,
|
1175
|
-
},
|
1176
|
-
event_trigger={
|
1177
|
-
"triggerRegion": "us-central1",
|
1178
|
-
"eventType": "google.cloud.pubsub.topic.v1.messagePublished",
|
1179
|
-
"pubsubTopic": topic.id,
|
1180
|
-
"retryPolicy": "RETRY_POLICY_RETRY",
|
1181
|
-
})
|
1182
|
-
```
|
1183
|
-
### Cloudfunctions2 Abiu On Deploy
|
1184
|
-
|
1185
|
-
```python
|
1186
|
-
import pulumi
|
1187
|
-
import pulumi_gcp as gcp
|
1188
|
-
|
1189
|
-
project = "my-project-name"
|
1190
|
-
account = gcp.serviceaccount.Account("account",
|
1191
|
-
account_id="gcf-sa",
|
1192
|
-
display_name="Test Service Account")
|
1193
|
-
topic = gcp.pubsub.Topic("topic", name="functions2-topic")
|
1194
|
-
bucket = gcp.storage.Bucket("bucket",
|
1195
|
-
name=f"{project}-gcf-source",
|
1196
|
-
location="US",
|
1197
|
-
uniform_bucket_level_access=True)
|
1198
|
-
object = gcp.storage.BucketObject("object",
|
1199
|
-
name="function-source.zip",
|
1200
|
-
bucket=bucket.name,
|
1201
|
-
source=pulumi.FileAsset("function-source.zip"))
|
1202
|
-
function = gcp.cloudfunctionsv2.Function("function",
|
1203
|
-
name="gcf-function",
|
1204
|
-
location="europe-west6",
|
1205
|
-
description="a new function",
|
1206
|
-
build_config={
|
1207
|
-
"runtime": "nodejs16",
|
1208
|
-
"entryPoint": "helloPubSub",
|
1209
|
-
"environmentVariables": {
|
1210
|
-
"BUILD_CONFIG_TEST": "build_test",
|
1211
|
-
},
|
1212
|
-
"source": {
|
1213
|
-
"storageSource": {
|
1214
|
-
"bucket": bucket.name,
|
1215
|
-
"object": object.name,
|
1216
|
-
},
|
1217
|
-
},
|
1218
|
-
"onDeployUpdatePolicy": {},
|
1219
|
-
},
|
1220
|
-
service_config={
|
1221
|
-
"maxInstanceCount": 3,
|
1222
|
-
"minInstanceCount": 1,
|
1223
|
-
"availableMemory": "4Gi",
|
1224
|
-
"timeoutSeconds": 60,
|
1225
|
-
"maxInstanceRequestConcurrency": 80,
|
1226
|
-
"availableCpu": "4",
|
1227
|
-
"environmentVariables": {
|
1228
|
-
"SERVICE_CONFIG_TEST": "config_test",
|
1229
|
-
},
|
1230
|
-
"ingressSettings": "ALLOW_INTERNAL_ONLY",
|
1231
|
-
"allTrafficOnLatestRevision": True,
|
1232
|
-
"serviceAccountEmail": account.email,
|
1233
|
-
},
|
1234
|
-
event_trigger={
|
1235
|
-
"triggerRegion": "us-central1",
|
1236
|
-
"eventType": "google.cloud.pubsub.topic.v1.messagePublished",
|
1237
|
-
"pubsubTopic": topic.id,
|
1238
|
-
"retryPolicy": "RETRY_POLICY_RETRY",
|
1239
|
-
})
|
1240
|
-
```
|
1241
1125
|
|
1242
1126
|
## Import
|
1243
1127
|
|
@@ -1927,122 +1811,6 @@ class Function(pulumi.CustomResource):
|
|
1927
1811
|
},
|
1928
1812
|
opts = pulumi.ResourceOptions(depends_on=[gcf_cmek_keyuser]))
|
1929
1813
|
```
|
1930
|
-
### Cloudfunctions2 Abiu
|
1931
|
-
|
1932
|
-
```python
|
1933
|
-
import pulumi
|
1934
|
-
import pulumi_gcp as gcp
|
1935
|
-
|
1936
|
-
project = "my-project-name"
|
1937
|
-
account = gcp.serviceaccount.Account("account",
|
1938
|
-
account_id="gcf-sa",
|
1939
|
-
display_name="Test Service Account")
|
1940
|
-
topic = gcp.pubsub.Topic("topic", name="functions2-topic")
|
1941
|
-
bucket = gcp.storage.Bucket("bucket",
|
1942
|
-
name=f"{project}-gcf-source",
|
1943
|
-
location="US",
|
1944
|
-
uniform_bucket_level_access=True)
|
1945
|
-
object = gcp.storage.BucketObject("object",
|
1946
|
-
name="function-source.zip",
|
1947
|
-
bucket=bucket.name,
|
1948
|
-
source=pulumi.FileAsset("function-source.zip"))
|
1949
|
-
function = gcp.cloudfunctionsv2.Function("function",
|
1950
|
-
name="gcf-function",
|
1951
|
-
location="europe-west6",
|
1952
|
-
description="a new function",
|
1953
|
-
build_config={
|
1954
|
-
"runtime": "nodejs16",
|
1955
|
-
"entryPoint": "helloPubSub",
|
1956
|
-
"environmentVariables": {
|
1957
|
-
"BUILD_CONFIG_TEST": "build_test",
|
1958
|
-
},
|
1959
|
-
"source": {
|
1960
|
-
"storageSource": {
|
1961
|
-
"bucket": bucket.name,
|
1962
|
-
"object": object.name,
|
1963
|
-
},
|
1964
|
-
},
|
1965
|
-
"automaticUpdatePolicy": {},
|
1966
|
-
},
|
1967
|
-
service_config={
|
1968
|
-
"maxInstanceCount": 3,
|
1969
|
-
"minInstanceCount": 1,
|
1970
|
-
"availableMemory": "4Gi",
|
1971
|
-
"timeoutSeconds": 60,
|
1972
|
-
"maxInstanceRequestConcurrency": 80,
|
1973
|
-
"availableCpu": "4",
|
1974
|
-
"environmentVariables": {
|
1975
|
-
"SERVICE_CONFIG_TEST": "config_test",
|
1976
|
-
},
|
1977
|
-
"ingressSettings": "ALLOW_INTERNAL_ONLY",
|
1978
|
-
"allTrafficOnLatestRevision": True,
|
1979
|
-
"serviceAccountEmail": account.email,
|
1980
|
-
},
|
1981
|
-
event_trigger={
|
1982
|
-
"triggerRegion": "us-central1",
|
1983
|
-
"eventType": "google.cloud.pubsub.topic.v1.messagePublished",
|
1984
|
-
"pubsubTopic": topic.id,
|
1985
|
-
"retryPolicy": "RETRY_POLICY_RETRY",
|
1986
|
-
})
|
1987
|
-
```
|
1988
|
-
### Cloudfunctions2 Abiu On Deploy
|
1989
|
-
|
1990
|
-
```python
|
1991
|
-
import pulumi
|
1992
|
-
import pulumi_gcp as gcp
|
1993
|
-
|
1994
|
-
project = "my-project-name"
|
1995
|
-
account = gcp.serviceaccount.Account("account",
|
1996
|
-
account_id="gcf-sa",
|
1997
|
-
display_name="Test Service Account")
|
1998
|
-
topic = gcp.pubsub.Topic("topic", name="functions2-topic")
|
1999
|
-
bucket = gcp.storage.Bucket("bucket",
|
2000
|
-
name=f"{project}-gcf-source",
|
2001
|
-
location="US",
|
2002
|
-
uniform_bucket_level_access=True)
|
2003
|
-
object = gcp.storage.BucketObject("object",
|
2004
|
-
name="function-source.zip",
|
2005
|
-
bucket=bucket.name,
|
2006
|
-
source=pulumi.FileAsset("function-source.zip"))
|
2007
|
-
function = gcp.cloudfunctionsv2.Function("function",
|
2008
|
-
name="gcf-function",
|
2009
|
-
location="europe-west6",
|
2010
|
-
description="a new function",
|
2011
|
-
build_config={
|
2012
|
-
"runtime": "nodejs16",
|
2013
|
-
"entryPoint": "helloPubSub",
|
2014
|
-
"environmentVariables": {
|
2015
|
-
"BUILD_CONFIG_TEST": "build_test",
|
2016
|
-
},
|
2017
|
-
"source": {
|
2018
|
-
"storageSource": {
|
2019
|
-
"bucket": bucket.name,
|
2020
|
-
"object": object.name,
|
2021
|
-
},
|
2022
|
-
},
|
2023
|
-
"onDeployUpdatePolicy": {},
|
2024
|
-
},
|
2025
|
-
service_config={
|
2026
|
-
"maxInstanceCount": 3,
|
2027
|
-
"minInstanceCount": 1,
|
2028
|
-
"availableMemory": "4Gi",
|
2029
|
-
"timeoutSeconds": 60,
|
2030
|
-
"maxInstanceRequestConcurrency": 80,
|
2031
|
-
"availableCpu": "4",
|
2032
|
-
"environmentVariables": {
|
2033
|
-
"SERVICE_CONFIG_TEST": "config_test",
|
2034
|
-
},
|
2035
|
-
"ingressSettings": "ALLOW_INTERNAL_ONLY",
|
2036
|
-
"allTrafficOnLatestRevision": True,
|
2037
|
-
"serviceAccountEmail": account.email,
|
2038
|
-
},
|
2039
|
-
event_trigger={
|
2040
|
-
"triggerRegion": "us-central1",
|
2041
|
-
"eventType": "google.cloud.pubsub.topic.v1.messagePublished",
|
2042
|
-
"pubsubTopic": topic.id,
|
2043
|
-
"retryPolicy": "RETRY_POLICY_RETRY",
|
2044
|
-
})
|
2045
|
-
```
|
2046
1814
|
|
2047
1815
|
## Import
|
2048
1816
|
|
@@ -17,8 +17,6 @@ from . import outputs
|
|
17
17
|
|
18
18
|
__all__ = [
|
19
19
|
'FunctionBuildConfig',
|
20
|
-
'FunctionBuildConfigAutomaticUpdatePolicy',
|
21
|
-
'FunctionBuildConfigOnDeployUpdatePolicy',
|
22
20
|
'FunctionBuildConfigSource',
|
23
21
|
'FunctionBuildConfigSourceRepoSource',
|
24
22
|
'FunctionBuildConfigSourceStorageSource',
|
@@ -31,8 +29,6 @@ __all__ = [
|
|
31
29
|
'FunctionServiceConfigSecretVolume',
|
32
30
|
'FunctionServiceConfigSecretVolumeVersion',
|
33
31
|
'GetFunctionBuildConfigResult',
|
34
|
-
'GetFunctionBuildConfigAutomaticUpdatePolicyResult',
|
35
|
-
'GetFunctionBuildConfigOnDeployUpdatePolicyResult',
|
36
32
|
'GetFunctionBuildConfigSourceResult',
|
37
33
|
'GetFunctionBuildConfigSourceRepoSourceResult',
|
38
34
|
'GetFunctionBuildConfigSourceStorageSourceResult',
|
@@ -49,16 +45,12 @@ class FunctionBuildConfig(dict):
|
|
49
45
|
@staticmethod
|
50
46
|
def __key_warning(key: str):
|
51
47
|
suggest = None
|
52
|
-
if key == "
|
53
|
-
suggest = "automatic_update_policy"
|
54
|
-
elif key == "dockerRepository":
|
48
|
+
if key == "dockerRepository":
|
55
49
|
suggest = "docker_repository"
|
56
50
|
elif key == "entryPoint":
|
57
51
|
suggest = "entry_point"
|
58
52
|
elif key == "environmentVariables":
|
59
53
|
suggest = "environment_variables"
|
60
|
-
elif key == "onDeployUpdatePolicy":
|
61
|
-
suggest = "on_deploy_update_policy"
|
62
54
|
elif key == "serviceAccount":
|
63
55
|
suggest = "service_account"
|
64
56
|
elif key == "workerPool":
|
@@ -76,19 +68,15 @@ class FunctionBuildConfig(dict):
|
|
76
68
|
return super().get(key, default)
|
77
69
|
|
78
70
|
def __init__(__self__, *,
|
79
|
-
automatic_update_policy: Optional['outputs.FunctionBuildConfigAutomaticUpdatePolicy'] = None,
|
80
71
|
build: Optional[str] = None,
|
81
72
|
docker_repository: Optional[str] = None,
|
82
73
|
entry_point: Optional[str] = None,
|
83
74
|
environment_variables: Optional[Mapping[str, str]] = None,
|
84
|
-
on_deploy_update_policy: Optional['outputs.FunctionBuildConfigOnDeployUpdatePolicy'] = None,
|
85
75
|
runtime: Optional[str] = None,
|
86
76
|
service_account: Optional[str] = None,
|
87
77
|
source: Optional['outputs.FunctionBuildConfigSource'] = None,
|
88
78
|
worker_pool: Optional[str] = None):
|
89
79
|
"""
|
90
|
-
:param 'FunctionBuildConfigAutomaticUpdatePolicyArgs' automatic_update_policy: Security patches are applied automatically to the runtime without requiring
|
91
|
-
the function to be redeployed.
|
92
80
|
:param str build: (Output)
|
93
81
|
The Cloud Build name of the latest successful
|
94
82
|
deployment of the function.
|
@@ -99,8 +87,6 @@ class FunctionBuildConfig(dict):
|
|
99
87
|
will try to use function named "function". For Node.js this is name of a
|
100
88
|
function exported by the module specified in source_location.
|
101
89
|
:param Mapping[str, str] environment_variables: User-provided build-time environment variables for the function.
|
102
|
-
:param 'FunctionBuildConfigOnDeployUpdatePolicyArgs' on_deploy_update_policy: Security patches are only applied when a function is redeployed.
|
103
|
-
Structure is documented below.
|
104
90
|
:param str runtime: The runtime in which to run the function. Required when deploying a new
|
105
91
|
function, optional when updating an existing function.
|
106
92
|
:param str service_account: The fully-qualified name of the service account to be used for building the container.
|
@@ -108,8 +94,6 @@ class FunctionBuildConfig(dict):
|
|
108
94
|
Structure is documented below.
|
109
95
|
:param str worker_pool: Name of the Cloud Build Custom Worker Pool that should be used to build the function.
|
110
96
|
"""
|
111
|
-
if automatic_update_policy is not None:
|
112
|
-
pulumi.set(__self__, "automatic_update_policy", automatic_update_policy)
|
113
97
|
if build is not None:
|
114
98
|
pulumi.set(__self__, "build", build)
|
115
99
|
if docker_repository is not None:
|
@@ -118,8 +102,6 @@ class FunctionBuildConfig(dict):
|
|
118
102
|
pulumi.set(__self__, "entry_point", entry_point)
|
119
103
|
if environment_variables is not None:
|
120
104
|
pulumi.set(__self__, "environment_variables", environment_variables)
|
121
|
-
if on_deploy_update_policy is not None:
|
122
|
-
pulumi.set(__self__, "on_deploy_update_policy", on_deploy_update_policy)
|
123
105
|
if runtime is not None:
|
124
106
|
pulumi.set(__self__, "runtime", runtime)
|
125
107
|
if service_account is not None:
|
@@ -129,15 +111,6 @@ class FunctionBuildConfig(dict):
|
|
129
111
|
if worker_pool is not None:
|
130
112
|
pulumi.set(__self__, "worker_pool", worker_pool)
|
131
113
|
|
132
|
-
@property
|
133
|
-
@pulumi.getter(name="automaticUpdatePolicy")
|
134
|
-
def automatic_update_policy(self) -> Optional['outputs.FunctionBuildConfigAutomaticUpdatePolicy']:
|
135
|
-
"""
|
136
|
-
Security patches are applied automatically to the runtime without requiring
|
137
|
-
the function to be redeployed.
|
138
|
-
"""
|
139
|
-
return pulumi.get(self, "automatic_update_policy")
|
140
|
-
|
141
114
|
@property
|
142
115
|
@pulumi.getter
|
143
116
|
def build(self) -> Optional[str]:
|
@@ -176,15 +149,6 @@ class FunctionBuildConfig(dict):
|
|
176
149
|
"""
|
177
150
|
return pulumi.get(self, "environment_variables")
|
178
151
|
|
179
|
-
@property
|
180
|
-
@pulumi.getter(name="onDeployUpdatePolicy")
|
181
|
-
def on_deploy_update_policy(self) -> Optional['outputs.FunctionBuildConfigOnDeployUpdatePolicy']:
|
182
|
-
"""
|
183
|
-
Security patches are only applied when a function is redeployed.
|
184
|
-
Structure is documented below.
|
185
|
-
"""
|
186
|
-
return pulumi.get(self, "on_deploy_update_policy")
|
187
|
-
|
188
152
|
@property
|
189
153
|
@pulumi.getter
|
190
154
|
def runtime(self) -> Optional[str]:
|
@@ -220,50 +184,6 @@ class FunctionBuildConfig(dict):
|
|
220
184
|
return pulumi.get(self, "worker_pool")
|
221
185
|
|
222
186
|
|
223
|
-
@pulumi.output_type
|
224
|
-
class FunctionBuildConfigAutomaticUpdatePolicy(dict):
|
225
|
-
def __init__(__self__):
|
226
|
-
pass
|
227
|
-
|
228
|
-
|
229
|
-
@pulumi.output_type
|
230
|
-
class FunctionBuildConfigOnDeployUpdatePolicy(dict):
|
231
|
-
@staticmethod
|
232
|
-
def __key_warning(key: str):
|
233
|
-
suggest = None
|
234
|
-
if key == "runtimeVersion":
|
235
|
-
suggest = "runtime_version"
|
236
|
-
|
237
|
-
if suggest:
|
238
|
-
pulumi.log.warn(f"Key '{key}' not found in FunctionBuildConfigOnDeployUpdatePolicy. Access the value via the '{suggest}' property getter instead.")
|
239
|
-
|
240
|
-
def __getitem__(self, key: str) -> Any:
|
241
|
-
FunctionBuildConfigOnDeployUpdatePolicy.__key_warning(key)
|
242
|
-
return super().__getitem__(key)
|
243
|
-
|
244
|
-
def get(self, key: str, default = None) -> Any:
|
245
|
-
FunctionBuildConfigOnDeployUpdatePolicy.__key_warning(key)
|
246
|
-
return super().get(key, default)
|
247
|
-
|
248
|
-
def __init__(__self__, *,
|
249
|
-
runtime_version: Optional[str] = None):
|
250
|
-
"""
|
251
|
-
:param str runtime_version: (Output)
|
252
|
-
The runtime version which was used during latest function deployment.
|
253
|
-
"""
|
254
|
-
if runtime_version is not None:
|
255
|
-
pulumi.set(__self__, "runtime_version", runtime_version)
|
256
|
-
|
257
|
-
@property
|
258
|
-
@pulumi.getter(name="runtimeVersion")
|
259
|
-
def runtime_version(self) -> Optional[str]:
|
260
|
-
"""
|
261
|
-
(Output)
|
262
|
-
The runtime version which was used during latest function deployment.
|
263
|
-
"""
|
264
|
-
return pulumi.get(self, "runtime_version")
|
265
|
-
|
266
|
-
|
267
187
|
@pulumi.output_type
|
268
188
|
class FunctionBuildConfigSource(dict):
|
269
189
|
@staticmethod
|
@@ -1187,19 +1107,15 @@ class FunctionServiceConfigSecretVolumeVersion(dict):
|
|
1187
1107
|
@pulumi.output_type
|
1188
1108
|
class GetFunctionBuildConfigResult(dict):
|
1189
1109
|
def __init__(__self__, *,
|
1190
|
-
automatic_update_policies: Sequence['outputs.GetFunctionBuildConfigAutomaticUpdatePolicyResult'],
|
1191
1110
|
build: str,
|
1192
1111
|
docker_repository: str,
|
1193
1112
|
entry_point: str,
|
1194
1113
|
environment_variables: Mapping[str, str],
|
1195
|
-
on_deploy_update_policies: Sequence['outputs.GetFunctionBuildConfigOnDeployUpdatePolicyResult'],
|
1196
1114
|
runtime: str,
|
1197
1115
|
service_account: str,
|
1198
1116
|
sources: Sequence['outputs.GetFunctionBuildConfigSourceResult'],
|
1199
1117
|
worker_pool: str):
|
1200
1118
|
"""
|
1201
|
-
:param Sequence['GetFunctionBuildConfigAutomaticUpdatePolicyArgs'] automatic_update_policies: Security patches are applied automatically to the runtime without requiring
|
1202
|
-
the function to be redeployed.
|
1203
1119
|
:param str build: The Cloud Build name of the latest successful
|
1204
1120
|
deployment of the function.
|
1205
1121
|
:param str docker_repository: User managed repository created in Artifact Registry optionally with a customer managed encryption key.
|
@@ -1209,33 +1125,21 @@ class GetFunctionBuildConfigResult(dict):
|
|
1209
1125
|
will try to use function named "function". For Node.js this is name of a
|
1210
1126
|
function exported by the module specified in source_location.
|
1211
1127
|
:param Mapping[str, str] environment_variables: User-provided build-time environment variables for the function.
|
1212
|
-
:param Sequence['GetFunctionBuildConfigOnDeployUpdatePolicyArgs'] on_deploy_update_policies: Security patches are only applied when a function is redeployed.
|
1213
1128
|
:param str runtime: The runtime in which to run the function. Required when deploying a new
|
1214
1129
|
function, optional when updating an existing function.
|
1215
1130
|
:param str service_account: The fully-qualified name of the service account to be used for building the container.
|
1216
1131
|
:param Sequence['GetFunctionBuildConfigSourceArgs'] sources: The location of the function source code.
|
1217
1132
|
:param str worker_pool: Name of the Cloud Build Custom Worker Pool that should be used to build the function.
|
1218
1133
|
"""
|
1219
|
-
pulumi.set(__self__, "automatic_update_policies", automatic_update_policies)
|
1220
1134
|
pulumi.set(__self__, "build", build)
|
1221
1135
|
pulumi.set(__self__, "docker_repository", docker_repository)
|
1222
1136
|
pulumi.set(__self__, "entry_point", entry_point)
|
1223
1137
|
pulumi.set(__self__, "environment_variables", environment_variables)
|
1224
|
-
pulumi.set(__self__, "on_deploy_update_policies", on_deploy_update_policies)
|
1225
1138
|
pulumi.set(__self__, "runtime", runtime)
|
1226
1139
|
pulumi.set(__self__, "service_account", service_account)
|
1227
1140
|
pulumi.set(__self__, "sources", sources)
|
1228
1141
|
pulumi.set(__self__, "worker_pool", worker_pool)
|
1229
1142
|
|
1230
|
-
@property
|
1231
|
-
@pulumi.getter(name="automaticUpdatePolicies")
|
1232
|
-
def automatic_update_policies(self) -> Sequence['outputs.GetFunctionBuildConfigAutomaticUpdatePolicyResult']:
|
1233
|
-
"""
|
1234
|
-
Security patches are applied automatically to the runtime without requiring
|
1235
|
-
the function to be redeployed.
|
1236
|
-
"""
|
1237
|
-
return pulumi.get(self, "automatic_update_policies")
|
1238
|
-
|
1239
1143
|
@property
|
1240
1144
|
@pulumi.getter
|
1241
1145
|
def build(self) -> str:
|
@@ -1273,14 +1177,6 @@ class GetFunctionBuildConfigResult(dict):
|
|
1273
1177
|
"""
|
1274
1178
|
return pulumi.get(self, "environment_variables")
|
1275
1179
|
|
1276
|
-
@property
|
1277
|
-
@pulumi.getter(name="onDeployUpdatePolicies")
|
1278
|
-
def on_deploy_update_policies(self) -> Sequence['outputs.GetFunctionBuildConfigOnDeployUpdatePolicyResult']:
|
1279
|
-
"""
|
1280
|
-
Security patches are only applied when a function is redeployed.
|
1281
|
-
"""
|
1282
|
-
return pulumi.get(self, "on_deploy_update_policies")
|
1283
|
-
|
1284
1180
|
@property
|
1285
1181
|
@pulumi.getter
|
1286
1182
|
def runtime(self) -> str:
|
@@ -1315,30 +1211,6 @@ class GetFunctionBuildConfigResult(dict):
|
|
1315
1211
|
return pulumi.get(self, "worker_pool")
|
1316
1212
|
|
1317
1213
|
|
1318
|
-
@pulumi.output_type
|
1319
|
-
class GetFunctionBuildConfigAutomaticUpdatePolicyResult(dict):
|
1320
|
-
def __init__(__self__):
|
1321
|
-
pass
|
1322
|
-
|
1323
|
-
|
1324
|
-
@pulumi.output_type
|
1325
|
-
class GetFunctionBuildConfigOnDeployUpdatePolicyResult(dict):
|
1326
|
-
def __init__(__self__, *,
|
1327
|
-
runtime_version: str):
|
1328
|
-
"""
|
1329
|
-
:param str runtime_version: The runtime version which was used during latest function deployment.
|
1330
|
-
"""
|
1331
|
-
pulumi.set(__self__, "runtime_version", runtime_version)
|
1332
|
-
|
1333
|
-
@property
|
1334
|
-
@pulumi.getter(name="runtimeVersion")
|
1335
|
-
def runtime_version(self) -> str:
|
1336
|
-
"""
|
1337
|
-
The runtime version which was used during latest function deployment.
|
1338
|
-
"""
|
1339
|
-
return pulumi.get(self, "runtime_version")
|
1340
|
-
|
1341
|
-
|
1342
1214
|
@pulumi.output_type
|
1343
1215
|
class GetFunctionBuildConfigSourceResult(dict):
|
1344
1216
|
def __init__(__self__, *,
|