pulumi-gcp 7.8.0a1706805960__py3-none-any.whl → 7.8.0a1706829616__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/_utilities.py +6 -2
- pulumi_gcp/alloydb/outputs.py +16 -0
- pulumi_gcp/artifactregistry/outputs.py +204 -0
- pulumi_gcp/assuredworkloads/_inputs.py +34 -0
- pulumi_gcp/assuredworkloads/outputs.py +34 -0
- pulumi_gcp/backupdisasterrecovery/outputs.py +20 -0
- pulumi_gcp/beyondcorp/outputs.py +54 -0
- pulumi_gcp/bigquery/_inputs.py +18 -0
- pulumi_gcp/bigquery/outputs.py +172 -0
- pulumi_gcp/bigtable/_inputs.py +4 -0
- pulumi_gcp/bigtable/outputs.py +4 -0
- pulumi_gcp/certificateauthority/outputs.py +378 -0
- pulumi_gcp/certificatemanager/outputs.py +32 -0
- pulumi_gcp/cloudbuild/outputs.py +1009 -3
- pulumi_gcp/cloudbuildv2/_inputs.py +14 -0
- pulumi_gcp/cloudbuildv2/outputs.py +14 -0
- pulumi_gcp/clouddeploy/_inputs.py +36 -0
- pulumi_gcp/clouddeploy/outputs.py +36 -0
- pulumi_gcp/cloudfunctions/_inputs.py +4 -0
- pulumi_gcp/cloudfunctions/outputs.py +54 -0
- pulumi_gcp/cloudfunctionsv2/outputs.py +302 -0
- pulumi_gcp/cloudidentity/outputs.py +54 -0
- pulumi_gcp/cloudrun/outputs.py +704 -0
- pulumi_gcp/cloudrunv2/outputs.py +929 -5
- pulumi_gcp/composer/_inputs.py +430 -0
- pulumi_gcp/composer/outputs.py +860 -0
- pulumi_gcp/compute/_inputs.py +924 -0
- pulumi_gcp/compute/outputs.py +4091 -1
- pulumi_gcp/container/_inputs.py +542 -0
- pulumi_gcp/container/outputs.py +2137 -3
- pulumi_gcp/dataplex/_inputs.py +66 -0
- pulumi_gcp/dataplex/outputs.py +66 -0
- pulumi_gcp/dataproc/_inputs.py +174 -0
- pulumi_gcp/dataproc/outputs.py +174 -0
- pulumi_gcp/dns/_inputs.py +34 -0
- pulumi_gcp/dns/outputs.py +34 -0
- pulumi_gcp/filestore/outputs.py +88 -0
- pulumi_gcp/firebaserules/_inputs.py +6 -0
- pulumi_gcp/firebaserules/outputs.py +6 -0
- pulumi_gcp/folder/_inputs.py +4 -0
- pulumi_gcp/folder/iam_audit_config.py +2 -2
- pulumi_gcp/folder/iam_member.py +2 -2
- pulumi_gcp/folder/iam_policy.py +2 -2
- pulumi_gcp/folder/outputs.py +54 -0
- pulumi_gcp/gkehub/_inputs.py +8 -0
- pulumi_gcp/gkehub/outputs.py +8 -0
- pulumi_gcp/iam/outputs.py +92 -0
- pulumi_gcp/kms/outputs.py +16 -0
- pulumi_gcp/logging/_inputs.py +108 -0
- pulumi_gcp/logging/outputs.py +108 -0
- pulumi_gcp/monitoring/outputs.py +14 -0
- pulumi_gcp/networkconnectivity/_inputs.py +6 -0
- pulumi_gcp/networkconnectivity/outputs.py +6 -0
- pulumi_gcp/organizations/_inputs.py +4 -0
- pulumi_gcp/organizations/iam_audit_config.py +2 -2
- pulumi_gcp/organizations/iam_member.py +2 -2
- pulumi_gcp/organizations/iam_policy.py +2 -2
- pulumi_gcp/organizations/outputs.py +4 -0
- pulumi_gcp/projects/_inputs.py +4 -0
- pulumi_gcp/projects/iam_audit_config.py +2 -2
- pulumi_gcp/projects/iam_binding.py +2 -2
- pulumi_gcp/projects/iam_member.py +2 -2
- pulumi_gcp/projects/iam_policy.py +2 -2
- pulumi_gcp/projects/outputs.py +54 -0
- pulumi_gcp/pubsub/outputs.py +282 -0
- pulumi_gcp/redis/outputs.py +204 -0
- pulumi_gcp/secretmanager/outputs.py +88 -0
- pulumi_gcp/sourcerepo/outputs.py +20 -0
- pulumi_gcp/spanner/outputs.py +68 -0
- pulumi_gcp/sql/_inputs.py +50 -0
- pulumi_gcp/sql/outputs.py +904 -0
- pulumi_gcp/storage/outputs.py +188 -0
- pulumi_gcp/vertex/outputs.py +124 -0
- pulumi_gcp/vmwareengine/outputs.py +208 -0
- pulumi_gcp/vpcaccess/outputs.py +4 -0
- {pulumi_gcp-7.8.0a1706805960.dist-info → pulumi_gcp-7.8.0a1706829616.dist-info}/METADATA +2 -1
- {pulumi_gcp-7.8.0a1706805960.dist-info → pulumi_gcp-7.8.0a1706829616.dist-info}/RECORD +79 -79
- {pulumi_gcp-7.8.0a1706805960.dist-info → pulumi_gcp-7.8.0a1706829616.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.8.0a1706805960.dist-info → pulumi_gcp-7.8.0a1706829616.dist-info}/top_level.txt +0 -0
@@ -1095,6 +1095,21 @@ class GetFunctionBuildConfigResult(dict):
|
|
1095
1095
|
runtime: str,
|
1096
1096
|
sources: Sequence['outputs.GetFunctionBuildConfigSourceResult'],
|
1097
1097
|
worker_pool: str):
|
1098
|
+
"""
|
1099
|
+
:param str build: The Cloud Build name of the latest successful
|
1100
|
+
deployment of the function.
|
1101
|
+
:param str docker_repository: User managed repository created in Artifact Registry optionally with a customer managed encryption key.
|
1102
|
+
:param str entry_point: The name of the function (as defined in source code) that will be executed.
|
1103
|
+
Defaults to the resource name suffix, if not specified. For backward
|
1104
|
+
compatibility, if function with given name is not found, then the system
|
1105
|
+
will try to use function named "function". For Node.js this is name of a
|
1106
|
+
function exported by the module specified in source_location.
|
1107
|
+
:param Mapping[str, str] environment_variables: User-provided build-time environment variables for the function.
|
1108
|
+
:param str runtime: The runtime in which to run the function. Required when deploying a new
|
1109
|
+
function, optional when updating an existing function.
|
1110
|
+
:param Sequence['GetFunctionBuildConfigSourceArgs'] sources: The location of the function source code.
|
1111
|
+
:param str worker_pool: Name of the Cloud Build Custom Worker Pool that should be used to build the function.
|
1112
|
+
"""
|
1098
1113
|
pulumi.set(__self__, "build", build)
|
1099
1114
|
pulumi.set(__self__, "docker_repository", docker_repository)
|
1100
1115
|
pulumi.set(__self__, "entry_point", entry_point)
|
@@ -1106,36 +1121,63 @@ class GetFunctionBuildConfigResult(dict):
|
|
1106
1121
|
@property
|
1107
1122
|
@pulumi.getter
|
1108
1123
|
def build(self) -> str:
|
1124
|
+
"""
|
1125
|
+
The Cloud Build name of the latest successful
|
1126
|
+
deployment of the function.
|
1127
|
+
"""
|
1109
1128
|
return pulumi.get(self, "build")
|
1110
1129
|
|
1111
1130
|
@property
|
1112
1131
|
@pulumi.getter(name="dockerRepository")
|
1113
1132
|
def docker_repository(self) -> str:
|
1133
|
+
"""
|
1134
|
+
User managed repository created in Artifact Registry optionally with a customer managed encryption key.
|
1135
|
+
"""
|
1114
1136
|
return pulumi.get(self, "docker_repository")
|
1115
1137
|
|
1116
1138
|
@property
|
1117
1139
|
@pulumi.getter(name="entryPoint")
|
1118
1140
|
def entry_point(self) -> str:
|
1141
|
+
"""
|
1142
|
+
The name of the function (as defined in source code) that will be executed.
|
1143
|
+
Defaults to the resource name suffix, if not specified. For backward
|
1144
|
+
compatibility, if function with given name is not found, then the system
|
1145
|
+
will try to use function named "function". For Node.js this is name of a
|
1146
|
+
function exported by the module specified in source_location.
|
1147
|
+
"""
|
1119
1148
|
return pulumi.get(self, "entry_point")
|
1120
1149
|
|
1121
1150
|
@property
|
1122
1151
|
@pulumi.getter(name="environmentVariables")
|
1123
1152
|
def environment_variables(self) -> Mapping[str, str]:
|
1153
|
+
"""
|
1154
|
+
User-provided build-time environment variables for the function.
|
1155
|
+
"""
|
1124
1156
|
return pulumi.get(self, "environment_variables")
|
1125
1157
|
|
1126
1158
|
@property
|
1127
1159
|
@pulumi.getter
|
1128
1160
|
def runtime(self) -> str:
|
1161
|
+
"""
|
1162
|
+
The runtime in which to run the function. Required when deploying a new
|
1163
|
+
function, optional when updating an existing function.
|
1164
|
+
"""
|
1129
1165
|
return pulumi.get(self, "runtime")
|
1130
1166
|
|
1131
1167
|
@property
|
1132
1168
|
@pulumi.getter
|
1133
1169
|
def sources(self) -> Sequence['outputs.GetFunctionBuildConfigSourceResult']:
|
1170
|
+
"""
|
1171
|
+
The location of the function source code.
|
1172
|
+
"""
|
1134
1173
|
return pulumi.get(self, "sources")
|
1135
1174
|
|
1136
1175
|
@property
|
1137
1176
|
@pulumi.getter(name="workerPool")
|
1138
1177
|
def worker_pool(self) -> str:
|
1178
|
+
"""
|
1179
|
+
Name of the Cloud Build Custom Worker Pool that should be used to build the function.
|
1180
|
+
"""
|
1139
1181
|
return pulumi.get(self, "worker_pool")
|
1140
1182
|
|
1141
1183
|
|
@@ -1144,17 +1186,27 @@ class GetFunctionBuildConfigSourceResult(dict):
|
|
1144
1186
|
def __init__(__self__, *,
|
1145
1187
|
repo_sources: Sequence['outputs.GetFunctionBuildConfigSourceRepoSourceResult'],
|
1146
1188
|
storage_sources: Sequence['outputs.GetFunctionBuildConfigSourceStorageSourceResult']):
|
1189
|
+
"""
|
1190
|
+
:param Sequence['GetFunctionBuildConfigSourceRepoSourceArgs'] repo_sources: If provided, get the source from this location in a Cloud Source Repository.
|
1191
|
+
:param Sequence['GetFunctionBuildConfigSourceStorageSourceArgs'] storage_sources: If provided, get the source from this location in Google Cloud Storage.
|
1192
|
+
"""
|
1147
1193
|
pulumi.set(__self__, "repo_sources", repo_sources)
|
1148
1194
|
pulumi.set(__self__, "storage_sources", storage_sources)
|
1149
1195
|
|
1150
1196
|
@property
|
1151
1197
|
@pulumi.getter(name="repoSources")
|
1152
1198
|
def repo_sources(self) -> Sequence['outputs.GetFunctionBuildConfigSourceRepoSourceResult']:
|
1199
|
+
"""
|
1200
|
+
If provided, get the source from this location in a Cloud Source Repository.
|
1201
|
+
"""
|
1153
1202
|
return pulumi.get(self, "repo_sources")
|
1154
1203
|
|
1155
1204
|
@property
|
1156
1205
|
@pulumi.getter(name="storageSources")
|
1157
1206
|
def storage_sources(self) -> Sequence['outputs.GetFunctionBuildConfigSourceStorageSourceResult']:
|
1207
|
+
"""
|
1208
|
+
If provided, get the source from this location in Google Cloud Storage.
|
1209
|
+
"""
|
1158
1210
|
return pulumi.get(self, "storage_sources")
|
1159
1211
|
|
1160
1212
|
|
@@ -1168,6 +1220,17 @@ class GetFunctionBuildConfigSourceRepoSourceResult(dict):
|
|
1168
1220
|
project_id: str,
|
1169
1221
|
repo_name: str,
|
1170
1222
|
tag_name: str):
|
1223
|
+
"""
|
1224
|
+
:param str branch_name: Regex matching branches to build.
|
1225
|
+
:param str commit_sha: Regex matching tags to build.
|
1226
|
+
:param str dir: Directory, relative to the source root, in which to run the build.
|
1227
|
+
:param bool invert_regex: Only trigger a build if the revision regex does
|
1228
|
+
NOT match the revision regex.
|
1229
|
+
:param str project_id: ID of the project that owns the Cloud Source Repository. If omitted, the
|
1230
|
+
project ID requesting the build is assumed.
|
1231
|
+
:param str repo_name: Name of the Cloud Source Repository.
|
1232
|
+
:param str tag_name: Regex matching tags to build.
|
1233
|
+
"""
|
1171
1234
|
pulumi.set(__self__, "branch_name", branch_name)
|
1172
1235
|
pulumi.set(__self__, "commit_sha", commit_sha)
|
1173
1236
|
pulumi.set(__self__, "dir", dir)
|
@@ -1179,36 +1242,59 @@ class GetFunctionBuildConfigSourceRepoSourceResult(dict):
|
|
1179
1242
|
@property
|
1180
1243
|
@pulumi.getter(name="branchName")
|
1181
1244
|
def branch_name(self) -> str:
|
1245
|
+
"""
|
1246
|
+
Regex matching branches to build.
|
1247
|
+
"""
|
1182
1248
|
return pulumi.get(self, "branch_name")
|
1183
1249
|
|
1184
1250
|
@property
|
1185
1251
|
@pulumi.getter(name="commitSha")
|
1186
1252
|
def commit_sha(self) -> str:
|
1253
|
+
"""
|
1254
|
+
Regex matching tags to build.
|
1255
|
+
"""
|
1187
1256
|
return pulumi.get(self, "commit_sha")
|
1188
1257
|
|
1189
1258
|
@property
|
1190
1259
|
@pulumi.getter
|
1191
1260
|
def dir(self) -> str:
|
1261
|
+
"""
|
1262
|
+
Directory, relative to the source root, in which to run the build.
|
1263
|
+
"""
|
1192
1264
|
return pulumi.get(self, "dir")
|
1193
1265
|
|
1194
1266
|
@property
|
1195
1267
|
@pulumi.getter(name="invertRegex")
|
1196
1268
|
def invert_regex(self) -> bool:
|
1269
|
+
"""
|
1270
|
+
Only trigger a build if the revision regex does
|
1271
|
+
NOT match the revision regex.
|
1272
|
+
"""
|
1197
1273
|
return pulumi.get(self, "invert_regex")
|
1198
1274
|
|
1199
1275
|
@property
|
1200
1276
|
@pulumi.getter(name="projectId")
|
1201
1277
|
def project_id(self) -> str:
|
1278
|
+
"""
|
1279
|
+
ID of the project that owns the Cloud Source Repository. If omitted, the
|
1280
|
+
project ID requesting the build is assumed.
|
1281
|
+
"""
|
1202
1282
|
return pulumi.get(self, "project_id")
|
1203
1283
|
|
1204
1284
|
@property
|
1205
1285
|
@pulumi.getter(name="repoName")
|
1206
1286
|
def repo_name(self) -> str:
|
1287
|
+
"""
|
1288
|
+
Name of the Cloud Source Repository.
|
1289
|
+
"""
|
1207
1290
|
return pulumi.get(self, "repo_name")
|
1208
1291
|
|
1209
1292
|
@property
|
1210
1293
|
@pulumi.getter(name="tagName")
|
1211
1294
|
def tag_name(self) -> str:
|
1295
|
+
"""
|
1296
|
+
Regex matching tags to build.
|
1297
|
+
"""
|
1212
1298
|
return pulumi.get(self, "tag_name")
|
1213
1299
|
|
1214
1300
|
|
@@ -1218,6 +1304,12 @@ class GetFunctionBuildConfigSourceStorageSourceResult(dict):
|
|
1218
1304
|
bucket: str,
|
1219
1305
|
generation: int,
|
1220
1306
|
object: str):
|
1307
|
+
"""
|
1308
|
+
:param str bucket: Google Cloud Storage bucket containing the source
|
1309
|
+
:param int generation: Google Cloud Storage generation for the object. If the generation
|
1310
|
+
is omitted, the latest generation will be used.
|
1311
|
+
:param str object: Google Cloud Storage object containing the source.
|
1312
|
+
"""
|
1221
1313
|
pulumi.set(__self__, "bucket", bucket)
|
1222
1314
|
pulumi.set(__self__, "generation", generation)
|
1223
1315
|
pulumi.set(__self__, "object", object)
|
@@ -1225,16 +1317,26 @@ class GetFunctionBuildConfigSourceStorageSourceResult(dict):
|
|
1225
1317
|
@property
|
1226
1318
|
@pulumi.getter
|
1227
1319
|
def bucket(self) -> str:
|
1320
|
+
"""
|
1321
|
+
Google Cloud Storage bucket containing the source
|
1322
|
+
"""
|
1228
1323
|
return pulumi.get(self, "bucket")
|
1229
1324
|
|
1230
1325
|
@property
|
1231
1326
|
@pulumi.getter
|
1232
1327
|
def generation(self) -> int:
|
1328
|
+
"""
|
1329
|
+
Google Cloud Storage generation for the object. If the generation
|
1330
|
+
is omitted, the latest generation will be used.
|
1331
|
+
"""
|
1233
1332
|
return pulumi.get(self, "generation")
|
1234
1333
|
|
1235
1334
|
@property
|
1236
1335
|
@pulumi.getter
|
1237
1336
|
def object(self) -> str:
|
1337
|
+
"""
|
1338
|
+
Google Cloud Storage object containing the source.
|
1339
|
+
"""
|
1238
1340
|
return pulumi.get(self, "object")
|
1239
1341
|
|
1240
1342
|
|
@@ -1248,6 +1350,22 @@ class GetFunctionEventTriggerResult(dict):
|
|
1248
1350
|
service_account_email: str,
|
1249
1351
|
trigger: str,
|
1250
1352
|
trigger_region: str):
|
1353
|
+
"""
|
1354
|
+
:param Sequence['GetFunctionEventTriggerEventFilterArgs'] event_filters: Criteria used to filter events.
|
1355
|
+
:param str event_type: Required. The type of event to observe.
|
1356
|
+
:param str pubsub_topic: The name of a Pub/Sub topic in the same project that will be used
|
1357
|
+
as the transport topic for the event delivery.
|
1358
|
+
:param str retry_policy: Describes the retry policy in case of function's execution failure.
|
1359
|
+
Retried execution is charged as any other execution. Possible values: ["RETRY_POLICY_UNSPECIFIED", "RETRY_POLICY_DO_NOT_RETRY", "RETRY_POLICY_RETRY"]
|
1360
|
+
:param str service_account_email: Optional. The email of the trigger's service account. The service account
|
1361
|
+
must have permission to invoke Cloud Run services. If empty, defaults to the
|
1362
|
+
Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.
|
1363
|
+
:param str trigger: Output only. The resource name of the Eventarc trigger.
|
1364
|
+
:param str trigger_region: The region that the trigger will be in. The trigger will only receive
|
1365
|
+
events originating in this region. It can be the same
|
1366
|
+
region as the function, a different region or multi-region, or the global
|
1367
|
+
region. If not provided, defaults to the same region as the function.
|
1368
|
+
"""
|
1251
1369
|
pulumi.set(__self__, "event_filters", event_filters)
|
1252
1370
|
pulumi.set(__self__, "event_type", event_type)
|
1253
1371
|
pulumi.set(__self__, "pubsub_topic", pubsub_topic)
|
@@ -1259,36 +1377,64 @@ class GetFunctionEventTriggerResult(dict):
|
|
1259
1377
|
@property
|
1260
1378
|
@pulumi.getter(name="eventFilters")
|
1261
1379
|
def event_filters(self) -> Sequence['outputs.GetFunctionEventTriggerEventFilterResult']:
|
1380
|
+
"""
|
1381
|
+
Criteria used to filter events.
|
1382
|
+
"""
|
1262
1383
|
return pulumi.get(self, "event_filters")
|
1263
1384
|
|
1264
1385
|
@property
|
1265
1386
|
@pulumi.getter(name="eventType")
|
1266
1387
|
def event_type(self) -> str:
|
1388
|
+
"""
|
1389
|
+
Required. The type of event to observe.
|
1390
|
+
"""
|
1267
1391
|
return pulumi.get(self, "event_type")
|
1268
1392
|
|
1269
1393
|
@property
|
1270
1394
|
@pulumi.getter(name="pubsubTopic")
|
1271
1395
|
def pubsub_topic(self) -> str:
|
1396
|
+
"""
|
1397
|
+
The name of a Pub/Sub topic in the same project that will be used
|
1398
|
+
as the transport topic for the event delivery.
|
1399
|
+
"""
|
1272
1400
|
return pulumi.get(self, "pubsub_topic")
|
1273
1401
|
|
1274
1402
|
@property
|
1275
1403
|
@pulumi.getter(name="retryPolicy")
|
1276
1404
|
def retry_policy(self) -> str:
|
1405
|
+
"""
|
1406
|
+
Describes the retry policy in case of function's execution failure.
|
1407
|
+
Retried execution is charged as any other execution. Possible values: ["RETRY_POLICY_UNSPECIFIED", "RETRY_POLICY_DO_NOT_RETRY", "RETRY_POLICY_RETRY"]
|
1408
|
+
"""
|
1277
1409
|
return pulumi.get(self, "retry_policy")
|
1278
1410
|
|
1279
1411
|
@property
|
1280
1412
|
@pulumi.getter(name="serviceAccountEmail")
|
1281
1413
|
def service_account_email(self) -> str:
|
1414
|
+
"""
|
1415
|
+
Optional. The email of the trigger's service account. The service account
|
1416
|
+
must have permission to invoke Cloud Run services. If empty, defaults to the
|
1417
|
+
Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.
|
1418
|
+
"""
|
1282
1419
|
return pulumi.get(self, "service_account_email")
|
1283
1420
|
|
1284
1421
|
@property
|
1285
1422
|
@pulumi.getter
|
1286
1423
|
def trigger(self) -> str:
|
1424
|
+
"""
|
1425
|
+
Output only. The resource name of the Eventarc trigger.
|
1426
|
+
"""
|
1287
1427
|
return pulumi.get(self, "trigger")
|
1288
1428
|
|
1289
1429
|
@property
|
1290
1430
|
@pulumi.getter(name="triggerRegion")
|
1291
1431
|
def trigger_region(self) -> str:
|
1432
|
+
"""
|
1433
|
+
The region that the trigger will be in. The trigger will only receive
|
1434
|
+
events originating in this region. It can be the same
|
1435
|
+
region as the function, a different region or multi-region, or the global
|
1436
|
+
region. If not provided, defaults to the same region as the function.
|
1437
|
+
"""
|
1292
1438
|
return pulumi.get(self, "trigger_region")
|
1293
1439
|
|
1294
1440
|
|
@@ -1298,6 +1444,18 @@ class GetFunctionEventTriggerEventFilterResult(dict):
|
|
1298
1444
|
attribute: str,
|
1299
1445
|
operator: str,
|
1300
1446
|
value: str):
|
1447
|
+
"""
|
1448
|
+
:param str attribute: 'Required. The name of a CloudEvents attribute.
|
1449
|
+
Currently, only a subset of attributes are supported for filtering. Use the 'gcloud eventarc providers describe' command to learn more about events and their attributes.
|
1450
|
+
Do not filter for the 'type' attribute here, as this is already achieved by the resource's 'event_type' attribute.
|
1451
|
+
:param str operator: Optional. The operator used for matching the events with the value of
|
1452
|
+
the filter. If not specified, only events that have an exact key-value
|
1453
|
+
pair specified in the filter are matched.
|
1454
|
+
The only allowed value is 'match-path-pattern'.
|
1455
|
+
[See documentation on path patterns here](https://cloud.google.com/eventarc/docs/path-patterns)'
|
1456
|
+
:param str value: Required. The value for the attribute.
|
1457
|
+
If the operator field is set as 'match-path-pattern', this value can be a path pattern instead of an exact value.
|
1458
|
+
"""
|
1301
1459
|
pulumi.set(__self__, "attribute", attribute)
|
1302
1460
|
pulumi.set(__self__, "operator", operator)
|
1303
1461
|
pulumi.set(__self__, "value", value)
|
@@ -1305,16 +1463,32 @@ class GetFunctionEventTriggerEventFilterResult(dict):
|
|
1305
1463
|
@property
|
1306
1464
|
@pulumi.getter
|
1307
1465
|
def attribute(self) -> str:
|
1466
|
+
"""
|
1467
|
+
'Required. The name of a CloudEvents attribute.
|
1468
|
+
Currently, only a subset of attributes are supported for filtering. Use the 'gcloud eventarc providers describe' command to learn more about events and their attributes.
|
1469
|
+
Do not filter for the 'type' attribute here, as this is already achieved by the resource's 'event_type' attribute.
|
1470
|
+
"""
|
1308
1471
|
return pulumi.get(self, "attribute")
|
1309
1472
|
|
1310
1473
|
@property
|
1311
1474
|
@pulumi.getter
|
1312
1475
|
def operator(self) -> str:
|
1476
|
+
"""
|
1477
|
+
Optional. The operator used for matching the events with the value of
|
1478
|
+
the filter. If not specified, only events that have an exact key-value
|
1479
|
+
pair specified in the filter are matched.
|
1480
|
+
The only allowed value is 'match-path-pattern'.
|
1481
|
+
[See documentation on path patterns here](https://cloud.google.com/eventarc/docs/path-patterns)'
|
1482
|
+
"""
|
1313
1483
|
return pulumi.get(self, "operator")
|
1314
1484
|
|
1315
1485
|
@property
|
1316
1486
|
@pulumi.getter
|
1317
1487
|
def value(self) -> str:
|
1488
|
+
"""
|
1489
|
+
Required. The value for the attribute.
|
1490
|
+
If the operator field is set as 'match-path-pattern', this value can be a path pattern instead of an exact value.
|
1491
|
+
"""
|
1318
1492
|
return pulumi.get(self, "value")
|
1319
1493
|
|
1320
1494
|
|
@@ -1338,6 +1512,31 @@ class GetFunctionServiceConfigResult(dict):
|
|
1338
1512
|
uri: str,
|
1339
1513
|
vpc_connector: str,
|
1340
1514
|
vpc_connector_egress_settings: str):
|
1515
|
+
"""
|
1516
|
+
:param bool all_traffic_on_latest_revision: Whether 100% of traffic is routed to the latest revision. Defaults to true.
|
1517
|
+
:param str available_cpu: The number of CPUs used in a single container instance. Default value is calculated from available memory.
|
1518
|
+
:param str available_memory: The amount of memory available for a function.
|
1519
|
+
Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is
|
1520
|
+
supplied the value is interpreted as bytes.
|
1521
|
+
:param Mapping[str, str] environment_variables: Environment variables that shall be available during function execution.
|
1522
|
+
:param str gcf_uri: URIs of the Service deployed
|
1523
|
+
:param str ingress_settings: Available ingress settings. Defaults to "ALLOW_ALL" if unspecified. Default value: "ALLOW_ALL" Possible values: ["ALLOW_ALL", "ALLOW_INTERNAL_ONLY", "ALLOW_INTERNAL_AND_GCLB"]
|
1524
|
+
:param int max_instance_count: The limit on the maximum number of function instances that may coexist at a
|
1525
|
+
given time.
|
1526
|
+
:param int max_instance_request_concurrency: Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.
|
1527
|
+
:param int min_instance_count: The limit on the minimum number of function instances that may coexist at a
|
1528
|
+
given time.
|
1529
|
+
:param Sequence['GetFunctionServiceConfigSecretEnvironmentVariableArgs'] secret_environment_variables: Secret environment variables configuration.
|
1530
|
+
:param Sequence['GetFunctionServiceConfigSecretVolumeArgs'] secret_volumes: Secret volumes configuration.
|
1531
|
+
:param str service: Name of the service associated with a Function.
|
1532
|
+
:param str service_account_email: The email of the service account for this function.
|
1533
|
+
:param int timeout_seconds: The function execution timeout. Execution is considered failed and
|
1534
|
+
can be terminated if the function is not completed at the end of the
|
1535
|
+
timeout period. Defaults to 60 seconds.
|
1536
|
+
:param str uri: URI of the Service deployed.
|
1537
|
+
:param str vpc_connector: The Serverless VPC Access connector that this cloud function can connect to.
|
1538
|
+
:param str vpc_connector_egress_settings: Available egress settings. Possible values: ["VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED", "PRIVATE_RANGES_ONLY", "ALL_TRAFFIC"]
|
1539
|
+
"""
|
1341
1540
|
pulumi.set(__self__, "all_traffic_on_latest_revision", all_traffic_on_latest_revision)
|
1342
1541
|
pulumi.set(__self__, "available_cpu", available_cpu)
|
1343
1542
|
pulumi.set(__self__, "available_memory", available_memory)
|
@@ -1359,86 +1558,143 @@ class GetFunctionServiceConfigResult(dict):
|
|
1359
1558
|
@property
|
1360
1559
|
@pulumi.getter(name="allTrafficOnLatestRevision")
|
1361
1560
|
def all_traffic_on_latest_revision(self) -> bool:
|
1561
|
+
"""
|
1562
|
+
Whether 100% of traffic is routed to the latest revision. Defaults to true.
|
1563
|
+
"""
|
1362
1564
|
return pulumi.get(self, "all_traffic_on_latest_revision")
|
1363
1565
|
|
1364
1566
|
@property
|
1365
1567
|
@pulumi.getter(name="availableCpu")
|
1366
1568
|
def available_cpu(self) -> str:
|
1569
|
+
"""
|
1570
|
+
The number of CPUs used in a single container instance. Default value is calculated from available memory.
|
1571
|
+
"""
|
1367
1572
|
return pulumi.get(self, "available_cpu")
|
1368
1573
|
|
1369
1574
|
@property
|
1370
1575
|
@pulumi.getter(name="availableMemory")
|
1371
1576
|
def available_memory(self) -> str:
|
1577
|
+
"""
|
1578
|
+
The amount of memory available for a function.
|
1579
|
+
Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is
|
1580
|
+
supplied the value is interpreted as bytes.
|
1581
|
+
"""
|
1372
1582
|
return pulumi.get(self, "available_memory")
|
1373
1583
|
|
1374
1584
|
@property
|
1375
1585
|
@pulumi.getter(name="environmentVariables")
|
1376
1586
|
def environment_variables(self) -> Mapping[str, str]:
|
1587
|
+
"""
|
1588
|
+
Environment variables that shall be available during function execution.
|
1589
|
+
"""
|
1377
1590
|
return pulumi.get(self, "environment_variables")
|
1378
1591
|
|
1379
1592
|
@property
|
1380
1593
|
@pulumi.getter(name="gcfUri")
|
1381
1594
|
def gcf_uri(self) -> str:
|
1595
|
+
"""
|
1596
|
+
URIs of the Service deployed
|
1597
|
+
"""
|
1382
1598
|
return pulumi.get(self, "gcf_uri")
|
1383
1599
|
|
1384
1600
|
@property
|
1385
1601
|
@pulumi.getter(name="ingressSettings")
|
1386
1602
|
def ingress_settings(self) -> str:
|
1603
|
+
"""
|
1604
|
+
Available ingress settings. Defaults to "ALLOW_ALL" if unspecified. Default value: "ALLOW_ALL" Possible values: ["ALLOW_ALL", "ALLOW_INTERNAL_ONLY", "ALLOW_INTERNAL_AND_GCLB"]
|
1605
|
+
"""
|
1387
1606
|
return pulumi.get(self, "ingress_settings")
|
1388
1607
|
|
1389
1608
|
@property
|
1390
1609
|
@pulumi.getter(name="maxInstanceCount")
|
1391
1610
|
def max_instance_count(self) -> int:
|
1611
|
+
"""
|
1612
|
+
The limit on the maximum number of function instances that may coexist at a
|
1613
|
+
given time.
|
1614
|
+
"""
|
1392
1615
|
return pulumi.get(self, "max_instance_count")
|
1393
1616
|
|
1394
1617
|
@property
|
1395
1618
|
@pulumi.getter(name="maxInstanceRequestConcurrency")
|
1396
1619
|
def max_instance_request_concurrency(self) -> int:
|
1620
|
+
"""
|
1621
|
+
Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.
|
1622
|
+
"""
|
1397
1623
|
return pulumi.get(self, "max_instance_request_concurrency")
|
1398
1624
|
|
1399
1625
|
@property
|
1400
1626
|
@pulumi.getter(name="minInstanceCount")
|
1401
1627
|
def min_instance_count(self) -> int:
|
1628
|
+
"""
|
1629
|
+
The limit on the minimum number of function instances that may coexist at a
|
1630
|
+
given time.
|
1631
|
+
"""
|
1402
1632
|
return pulumi.get(self, "min_instance_count")
|
1403
1633
|
|
1404
1634
|
@property
|
1405
1635
|
@pulumi.getter(name="secretEnvironmentVariables")
|
1406
1636
|
def secret_environment_variables(self) -> Sequence['outputs.GetFunctionServiceConfigSecretEnvironmentVariableResult']:
|
1637
|
+
"""
|
1638
|
+
Secret environment variables configuration.
|
1639
|
+
"""
|
1407
1640
|
return pulumi.get(self, "secret_environment_variables")
|
1408
1641
|
|
1409
1642
|
@property
|
1410
1643
|
@pulumi.getter(name="secretVolumes")
|
1411
1644
|
def secret_volumes(self) -> Sequence['outputs.GetFunctionServiceConfigSecretVolumeResult']:
|
1645
|
+
"""
|
1646
|
+
Secret volumes configuration.
|
1647
|
+
"""
|
1412
1648
|
return pulumi.get(self, "secret_volumes")
|
1413
1649
|
|
1414
1650
|
@property
|
1415
1651
|
@pulumi.getter
|
1416
1652
|
def service(self) -> str:
|
1653
|
+
"""
|
1654
|
+
Name of the service associated with a Function.
|
1655
|
+
"""
|
1417
1656
|
return pulumi.get(self, "service")
|
1418
1657
|
|
1419
1658
|
@property
|
1420
1659
|
@pulumi.getter(name="serviceAccountEmail")
|
1421
1660
|
def service_account_email(self) -> str:
|
1661
|
+
"""
|
1662
|
+
The email of the service account for this function.
|
1663
|
+
"""
|
1422
1664
|
return pulumi.get(self, "service_account_email")
|
1423
1665
|
|
1424
1666
|
@property
|
1425
1667
|
@pulumi.getter(name="timeoutSeconds")
|
1426
1668
|
def timeout_seconds(self) -> int:
|
1669
|
+
"""
|
1670
|
+
The function execution timeout. Execution is considered failed and
|
1671
|
+
can be terminated if the function is not completed at the end of the
|
1672
|
+
timeout period. Defaults to 60 seconds.
|
1673
|
+
"""
|
1427
1674
|
return pulumi.get(self, "timeout_seconds")
|
1428
1675
|
|
1429
1676
|
@property
|
1430
1677
|
@pulumi.getter
|
1431
1678
|
def uri(self) -> str:
|
1679
|
+
"""
|
1680
|
+
URI of the Service deployed.
|
1681
|
+
"""
|
1432
1682
|
return pulumi.get(self, "uri")
|
1433
1683
|
|
1434
1684
|
@property
|
1435
1685
|
@pulumi.getter(name="vpcConnector")
|
1436
1686
|
def vpc_connector(self) -> str:
|
1687
|
+
"""
|
1688
|
+
The Serverless VPC Access connector that this cloud function can connect to.
|
1689
|
+
"""
|
1437
1690
|
return pulumi.get(self, "vpc_connector")
|
1438
1691
|
|
1439
1692
|
@property
|
1440
1693
|
@pulumi.getter(name="vpcConnectorEgressSettings")
|
1441
1694
|
def vpc_connector_egress_settings(self) -> str:
|
1695
|
+
"""
|
1696
|
+
Available egress settings. Possible values: ["VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED", "PRIVATE_RANGES_ONLY", "ALL_TRAFFIC"]
|
1697
|
+
"""
|
1442
1698
|
return pulumi.get(self, "vpc_connector_egress_settings")
|
1443
1699
|
|
1444
1700
|
|
@@ -1449,6 +1705,12 @@ class GetFunctionServiceConfigSecretEnvironmentVariableResult(dict):
|
|
1449
1705
|
project_id: str,
|
1450
1706
|
secret: str,
|
1451
1707
|
version: str):
|
1708
|
+
"""
|
1709
|
+
:param str key: Name of the environment variable.
|
1710
|
+
:param str project_id: Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
|
1711
|
+
:param str secret: Name of the secret in secret manager (not the full resource name).
|
1712
|
+
:param str version: Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.
|
1713
|
+
"""
|
1452
1714
|
pulumi.set(__self__, "key", key)
|
1453
1715
|
pulumi.set(__self__, "project_id", project_id)
|
1454
1716
|
pulumi.set(__self__, "secret", secret)
|
@@ -1457,21 +1719,33 @@ class GetFunctionServiceConfigSecretEnvironmentVariableResult(dict):
|
|
1457
1719
|
@property
|
1458
1720
|
@pulumi.getter
|
1459
1721
|
def key(self) -> str:
|
1722
|
+
"""
|
1723
|
+
Name of the environment variable.
|
1724
|
+
"""
|
1460
1725
|
return pulumi.get(self, "key")
|
1461
1726
|
|
1462
1727
|
@property
|
1463
1728
|
@pulumi.getter(name="projectId")
|
1464
1729
|
def project_id(self) -> str:
|
1730
|
+
"""
|
1731
|
+
Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
|
1732
|
+
"""
|
1465
1733
|
return pulumi.get(self, "project_id")
|
1466
1734
|
|
1467
1735
|
@property
|
1468
1736
|
@pulumi.getter
|
1469
1737
|
def secret(self) -> str:
|
1738
|
+
"""
|
1739
|
+
Name of the secret in secret manager (not the full resource name).
|
1740
|
+
"""
|
1470
1741
|
return pulumi.get(self, "secret")
|
1471
1742
|
|
1472
1743
|
@property
|
1473
1744
|
@pulumi.getter
|
1474
1745
|
def version(self) -> str:
|
1746
|
+
"""
|
1747
|
+
Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.
|
1748
|
+
"""
|
1475
1749
|
return pulumi.get(self, "version")
|
1476
1750
|
|
1477
1751
|
|
@@ -1482,6 +1756,12 @@ class GetFunctionServiceConfigSecretVolumeResult(dict):
|
|
1482
1756
|
project_id: str,
|
1483
1757
|
secret: str,
|
1484
1758
|
versions: Sequence['outputs.GetFunctionServiceConfigSecretVolumeVersionResult']):
|
1759
|
+
"""
|
1760
|
+
:param str mount_path: The path within the container to mount the secret volume. For example, setting the mountPath as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets
|
1761
|
+
:param str project_id: Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
|
1762
|
+
:param str secret: Name of the secret in secret manager (not the full resource name).
|
1763
|
+
:param Sequence['GetFunctionServiceConfigSecretVolumeVersionArgs'] versions: List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.'
|
1764
|
+
"""
|
1485
1765
|
pulumi.set(__self__, "mount_path", mount_path)
|
1486
1766
|
pulumi.set(__self__, "project_id", project_id)
|
1487
1767
|
pulumi.set(__self__, "secret", secret)
|
@@ -1490,21 +1770,33 @@ class GetFunctionServiceConfigSecretVolumeResult(dict):
|
|
1490
1770
|
@property
|
1491
1771
|
@pulumi.getter(name="mountPath")
|
1492
1772
|
def mount_path(self) -> str:
|
1773
|
+
"""
|
1774
|
+
The path within the container to mount the secret volume. For example, setting the mountPath as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets
|
1775
|
+
"""
|
1493
1776
|
return pulumi.get(self, "mount_path")
|
1494
1777
|
|
1495
1778
|
@property
|
1496
1779
|
@pulumi.getter(name="projectId")
|
1497
1780
|
def project_id(self) -> str:
|
1781
|
+
"""
|
1782
|
+
Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
|
1783
|
+
"""
|
1498
1784
|
return pulumi.get(self, "project_id")
|
1499
1785
|
|
1500
1786
|
@property
|
1501
1787
|
@pulumi.getter
|
1502
1788
|
def secret(self) -> str:
|
1789
|
+
"""
|
1790
|
+
Name of the secret in secret manager (not the full resource name).
|
1791
|
+
"""
|
1503
1792
|
return pulumi.get(self, "secret")
|
1504
1793
|
|
1505
1794
|
@property
|
1506
1795
|
@pulumi.getter
|
1507
1796
|
def versions(self) -> Sequence['outputs.GetFunctionServiceConfigSecretVolumeVersionResult']:
|
1797
|
+
"""
|
1798
|
+
List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.'
|
1799
|
+
"""
|
1508
1800
|
return pulumi.get(self, "versions")
|
1509
1801
|
|
1510
1802
|
|
@@ -1513,17 +1805,27 @@ class GetFunctionServiceConfigSecretVolumeVersionResult(dict):
|
|
1513
1805
|
def __init__(__self__, *,
|
1514
1806
|
path: str,
|
1515
1807
|
version: str):
|
1808
|
+
"""
|
1809
|
+
:param str path: Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mountPath as '/etc/secrets' and path as secret_foo would mount the secret value file at /etc/secrets/secret_foo.
|
1810
|
+
:param str version: Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.
|
1811
|
+
"""
|
1516
1812
|
pulumi.set(__self__, "path", path)
|
1517
1813
|
pulumi.set(__self__, "version", version)
|
1518
1814
|
|
1519
1815
|
@property
|
1520
1816
|
@pulumi.getter
|
1521
1817
|
def path(self) -> str:
|
1818
|
+
"""
|
1819
|
+
Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mountPath as '/etc/secrets' and path as secret_foo would mount the secret value file at /etc/secrets/secret_foo.
|
1820
|
+
"""
|
1522
1821
|
return pulumi.get(self, "path")
|
1523
1822
|
|
1524
1823
|
@property
|
1525
1824
|
@pulumi.getter
|
1526
1825
|
def version(self) -> str:
|
1826
|
+
"""
|
1827
|
+
Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.
|
1828
|
+
"""
|
1527
1829
|
return pulumi.get(self, "version")
|
1528
1830
|
|
1529
1831
|
|