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
pulumi_gcp/cloudrun/outputs.py
CHANGED
@@ -3151,6 +3151,27 @@ class GetServiceMetadataResult(dict):
|
|
3151
3151
|
resource_version: str,
|
3152
3152
|
self_link: str,
|
3153
3153
|
uid: str):
|
3154
|
+
"""
|
3155
|
+
:param int generation: A sequence number representing a specific generation of the desired state.
|
3156
|
+
:param Mapping[str, str] labels: Map of string keys and values that can be used to organize and categorize
|
3157
|
+
(scope and select) objects. May match selectors of replication controllers
|
3158
|
+
and routes.
|
3159
|
+
|
3160
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
3161
|
+
Please refer to the field 'effective_labels' for all of the labels present on the resource.
|
3162
|
+
:param str namespace: In Cloud Run the namespace must be equal to either the
|
3163
|
+
project ID or project number.
|
3164
|
+
:param Mapping[str, str] pulumi_labels: The combination of labels configured directly on the resource
|
3165
|
+
and default labels configured on the provider.
|
3166
|
+
:param str resource_version: An opaque value that represents the internal version of this object that
|
3167
|
+
can be used by clients to determine when objects have changed. May be used
|
3168
|
+
for optimistic concurrency, change detection, and the watch operation on a
|
3169
|
+
resource or set of resources. They may only be valid for a
|
3170
|
+
particular resource or set of resources.
|
3171
|
+
:param str self_link: SelfLink is a URL representing this object.
|
3172
|
+
:param str uid: UID is a unique id generated by the server on successful creation of a resource and is not
|
3173
|
+
allowed to change on PUT operations.
|
3174
|
+
"""
|
3154
3175
|
pulumi.set(__self__, "annotations", annotations)
|
3155
3176
|
pulumi.set(__self__, "effective_annotations", effective_annotations)
|
3156
3177
|
pulumi.set(__self__, "effective_labels", effective_labels)
|
@@ -3180,36 +3201,69 @@ class GetServiceMetadataResult(dict):
|
|
3180
3201
|
@property
|
3181
3202
|
@pulumi.getter
|
3182
3203
|
def generation(self) -> int:
|
3204
|
+
"""
|
3205
|
+
A sequence number representing a specific generation of the desired state.
|
3206
|
+
"""
|
3183
3207
|
return pulumi.get(self, "generation")
|
3184
3208
|
|
3185
3209
|
@property
|
3186
3210
|
@pulumi.getter
|
3187
3211
|
def labels(self) -> Mapping[str, str]:
|
3212
|
+
"""
|
3213
|
+
Map of string keys and values that can be used to organize and categorize
|
3214
|
+
(scope and select) objects. May match selectors of replication controllers
|
3215
|
+
and routes.
|
3216
|
+
|
3217
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
3218
|
+
Please refer to the field 'effective_labels' for all of the labels present on the resource.
|
3219
|
+
"""
|
3188
3220
|
return pulumi.get(self, "labels")
|
3189
3221
|
|
3190
3222
|
@property
|
3191
3223
|
@pulumi.getter
|
3192
3224
|
def namespace(self) -> str:
|
3225
|
+
"""
|
3226
|
+
In Cloud Run the namespace must be equal to either the
|
3227
|
+
project ID or project number.
|
3228
|
+
"""
|
3193
3229
|
return pulumi.get(self, "namespace")
|
3194
3230
|
|
3195
3231
|
@property
|
3196
3232
|
@pulumi.getter(name="pulumiLabels")
|
3197
3233
|
def pulumi_labels(self) -> Mapping[str, str]:
|
3234
|
+
"""
|
3235
|
+
The combination of labels configured directly on the resource
|
3236
|
+
and default labels configured on the provider.
|
3237
|
+
"""
|
3198
3238
|
return pulumi.get(self, "pulumi_labels")
|
3199
3239
|
|
3200
3240
|
@property
|
3201
3241
|
@pulumi.getter(name="resourceVersion")
|
3202
3242
|
def resource_version(self) -> str:
|
3243
|
+
"""
|
3244
|
+
An opaque value that represents the internal version of this object that
|
3245
|
+
can be used by clients to determine when objects have changed. May be used
|
3246
|
+
for optimistic concurrency, change detection, and the watch operation on a
|
3247
|
+
resource or set of resources. They may only be valid for a
|
3248
|
+
particular resource or set of resources.
|
3249
|
+
"""
|
3203
3250
|
return pulumi.get(self, "resource_version")
|
3204
3251
|
|
3205
3252
|
@property
|
3206
3253
|
@pulumi.getter(name="selfLink")
|
3207
3254
|
def self_link(self) -> str:
|
3255
|
+
"""
|
3256
|
+
SelfLink is a URL representing this object.
|
3257
|
+
"""
|
3208
3258
|
return pulumi.get(self, "self_link")
|
3209
3259
|
|
3210
3260
|
@property
|
3211
3261
|
@pulumi.getter
|
3212
3262
|
def uid(self) -> str:
|
3263
|
+
"""
|
3264
|
+
UID is a unique id generated by the server on successful creation of a resource and is not
|
3265
|
+
allowed to change on PUT operations.
|
3266
|
+
"""
|
3213
3267
|
return pulumi.get(self, "uid")
|
3214
3268
|
|
3215
3269
|
|
@@ -3222,6 +3276,25 @@ class GetServiceStatusResult(dict):
|
|
3222
3276
|
observed_generation: int,
|
3223
3277
|
traffics: Sequence['outputs.GetServiceStatusTrafficResult'],
|
3224
3278
|
url: str):
|
3279
|
+
"""
|
3280
|
+
:param Sequence['GetServiceStatusConditionArgs'] conditions: Array of observed Service Conditions, indicating the current ready state of the service.
|
3281
|
+
:param str latest_created_revision_name: From ConfigurationStatus. LatestCreatedRevisionName is the last revision that was created
|
3282
|
+
from this Service's Configuration. It might not be ready yet, for that use
|
3283
|
+
LatestReadyRevisionName.
|
3284
|
+
:param str latest_ready_revision_name: From ConfigurationStatus. LatestReadyRevisionName holds the name of the latest Revision
|
3285
|
+
stamped out from this Service's Configuration that has had its "Ready" condition become
|
3286
|
+
"True".
|
3287
|
+
:param int observed_generation: ObservedGeneration is the 'Generation' of the Route that was last processed by the
|
3288
|
+
controller.
|
3289
|
+
|
3290
|
+
Clients polling for completed reconciliation should poll until observedGeneration =
|
3291
|
+
metadata.generation and the Ready condition's status is True or False.
|
3292
|
+
:param Sequence['GetServiceStatusTrafficArgs'] traffics: Traffic specifies how to distribute traffic over a collection of Knative Revisions
|
3293
|
+
and Configurations
|
3294
|
+
:param str url: From RouteStatus. URL holds the url that will distribute traffic over the provided traffic
|
3295
|
+
targets. It generally has the form
|
3296
|
+
https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app
|
3297
|
+
"""
|
3225
3298
|
pulumi.set(__self__, "conditions", conditions)
|
3226
3299
|
pulumi.set(__self__, "latest_created_revision_name", latest_created_revision_name)
|
3227
3300
|
pulumi.set(__self__, "latest_ready_revision_name", latest_ready_revision_name)
|
@@ -3232,31 +3305,60 @@ class GetServiceStatusResult(dict):
|
|
3232
3305
|
@property
|
3233
3306
|
@pulumi.getter
|
3234
3307
|
def conditions(self) -> Sequence['outputs.GetServiceStatusConditionResult']:
|
3308
|
+
"""
|
3309
|
+
Array of observed Service Conditions, indicating the current ready state of the service.
|
3310
|
+
"""
|
3235
3311
|
return pulumi.get(self, "conditions")
|
3236
3312
|
|
3237
3313
|
@property
|
3238
3314
|
@pulumi.getter(name="latestCreatedRevisionName")
|
3239
3315
|
def latest_created_revision_name(self) -> str:
|
3316
|
+
"""
|
3317
|
+
From ConfigurationStatus. LatestCreatedRevisionName is the last revision that was created
|
3318
|
+
from this Service's Configuration. It might not be ready yet, for that use
|
3319
|
+
LatestReadyRevisionName.
|
3320
|
+
"""
|
3240
3321
|
return pulumi.get(self, "latest_created_revision_name")
|
3241
3322
|
|
3242
3323
|
@property
|
3243
3324
|
@pulumi.getter(name="latestReadyRevisionName")
|
3244
3325
|
def latest_ready_revision_name(self) -> str:
|
3326
|
+
"""
|
3327
|
+
From ConfigurationStatus. LatestReadyRevisionName holds the name of the latest Revision
|
3328
|
+
stamped out from this Service's Configuration that has had its "Ready" condition become
|
3329
|
+
"True".
|
3330
|
+
"""
|
3245
3331
|
return pulumi.get(self, "latest_ready_revision_name")
|
3246
3332
|
|
3247
3333
|
@property
|
3248
3334
|
@pulumi.getter(name="observedGeneration")
|
3249
3335
|
def observed_generation(self) -> int:
|
3336
|
+
"""
|
3337
|
+
ObservedGeneration is the 'Generation' of the Route that was last processed by the
|
3338
|
+
controller.
|
3339
|
+
|
3340
|
+
Clients polling for completed reconciliation should poll until observedGeneration =
|
3341
|
+
metadata.generation and the Ready condition's status is True or False.
|
3342
|
+
"""
|
3250
3343
|
return pulumi.get(self, "observed_generation")
|
3251
3344
|
|
3252
3345
|
@property
|
3253
3346
|
@pulumi.getter
|
3254
3347
|
def traffics(self) -> Sequence['outputs.GetServiceStatusTrafficResult']:
|
3348
|
+
"""
|
3349
|
+
Traffic specifies how to distribute traffic over a collection of Knative Revisions
|
3350
|
+
and Configurations
|
3351
|
+
"""
|
3255
3352
|
return pulumi.get(self, "traffics")
|
3256
3353
|
|
3257
3354
|
@property
|
3258
3355
|
@pulumi.getter
|
3259
3356
|
def url(self) -> str:
|
3357
|
+
"""
|
3358
|
+
From RouteStatus. URL holds the url that will distribute traffic over the provided traffic
|
3359
|
+
targets. It generally has the form
|
3360
|
+
https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app
|
3361
|
+
"""
|
3260
3362
|
return pulumi.get(self, "url")
|
3261
3363
|
|
3262
3364
|
|
@@ -3267,6 +3369,12 @@ class GetServiceStatusConditionResult(dict):
|
|
3267
3369
|
reason: str,
|
3268
3370
|
status: str,
|
3269
3371
|
type: str):
|
3372
|
+
"""
|
3373
|
+
:param str message: Human readable message indicating details about the current status.
|
3374
|
+
:param str reason: One-word CamelCase reason for the condition's current status.
|
3375
|
+
:param str status: Status of the condition, one of True, False, Unknown.
|
3376
|
+
:param str type: Type of domain mapping condition.
|
3377
|
+
"""
|
3270
3378
|
pulumi.set(__self__, "message", message)
|
3271
3379
|
pulumi.set(__self__, "reason", reason)
|
3272
3380
|
pulumi.set(__self__, "status", status)
|
@@ -3275,21 +3383,33 @@ class GetServiceStatusConditionResult(dict):
|
|
3275
3383
|
@property
|
3276
3384
|
@pulumi.getter
|
3277
3385
|
def message(self) -> str:
|
3386
|
+
"""
|
3387
|
+
Human readable message indicating details about the current status.
|
3388
|
+
"""
|
3278
3389
|
return pulumi.get(self, "message")
|
3279
3390
|
|
3280
3391
|
@property
|
3281
3392
|
@pulumi.getter
|
3282
3393
|
def reason(self) -> str:
|
3394
|
+
"""
|
3395
|
+
One-word CamelCase reason for the condition's current status.
|
3396
|
+
"""
|
3283
3397
|
return pulumi.get(self, "reason")
|
3284
3398
|
|
3285
3399
|
@property
|
3286
3400
|
@pulumi.getter
|
3287
3401
|
def status(self) -> str:
|
3402
|
+
"""
|
3403
|
+
Status of the condition, one of True, False, Unknown.
|
3404
|
+
"""
|
3288
3405
|
return pulumi.get(self, "status")
|
3289
3406
|
|
3290
3407
|
@property
|
3291
3408
|
@pulumi.getter
|
3292
3409
|
def type(self) -> str:
|
3410
|
+
"""
|
3411
|
+
Type of domain mapping condition.
|
3412
|
+
"""
|
3293
3413
|
return pulumi.get(self, "type")
|
3294
3414
|
|
3295
3415
|
|
@@ -3301,6 +3421,18 @@ class GetServiceStatusTrafficResult(dict):
|
|
3301
3421
|
revision_name: str,
|
3302
3422
|
tag: str,
|
3303
3423
|
url: str):
|
3424
|
+
"""
|
3425
|
+
:param bool latest_revision: LatestRevision may be optionally provided to indicate that the latest ready
|
3426
|
+
Revision of the Configuration should be used for this traffic target. When
|
3427
|
+
provided LatestRevision must be true if RevisionName is empty; it must be
|
3428
|
+
false when RevisionName is non-empty.
|
3429
|
+
:param int percent: Percent specifies percent of the traffic to this Revision or Configuration.
|
3430
|
+
:param str revision_name: RevisionName of a specific revision to which to send this portion of traffic.
|
3431
|
+
:param str tag: Tag is optionally used to expose a dedicated url for referencing this target exclusively.
|
3432
|
+
:param str url: URL displays the URL for accessing tagged traffic targets. URL is displayed in status,
|
3433
|
+
and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname,
|
3434
|
+
but may not contain anything else (e.g. basic auth, url path, etc.)
|
3435
|
+
"""
|
3304
3436
|
pulumi.set(__self__, "latest_revision", latest_revision)
|
3305
3437
|
pulumi.set(__self__, "percent", percent)
|
3306
3438
|
pulumi.set(__self__, "revision_name", revision_name)
|
@@ -3310,26 +3442,46 @@ class GetServiceStatusTrafficResult(dict):
|
|
3310
3442
|
@property
|
3311
3443
|
@pulumi.getter(name="latestRevision")
|
3312
3444
|
def latest_revision(self) -> bool:
|
3445
|
+
"""
|
3446
|
+
LatestRevision may be optionally provided to indicate that the latest ready
|
3447
|
+
Revision of the Configuration should be used for this traffic target. When
|
3448
|
+
provided LatestRevision must be true if RevisionName is empty; it must be
|
3449
|
+
false when RevisionName is non-empty.
|
3450
|
+
"""
|
3313
3451
|
return pulumi.get(self, "latest_revision")
|
3314
3452
|
|
3315
3453
|
@property
|
3316
3454
|
@pulumi.getter
|
3317
3455
|
def percent(self) -> int:
|
3456
|
+
"""
|
3457
|
+
Percent specifies percent of the traffic to this Revision or Configuration.
|
3458
|
+
"""
|
3318
3459
|
return pulumi.get(self, "percent")
|
3319
3460
|
|
3320
3461
|
@property
|
3321
3462
|
@pulumi.getter(name="revisionName")
|
3322
3463
|
def revision_name(self) -> str:
|
3464
|
+
"""
|
3465
|
+
RevisionName of a specific revision to which to send this portion of traffic.
|
3466
|
+
"""
|
3323
3467
|
return pulumi.get(self, "revision_name")
|
3324
3468
|
|
3325
3469
|
@property
|
3326
3470
|
@pulumi.getter
|
3327
3471
|
def tag(self) -> str:
|
3472
|
+
"""
|
3473
|
+
Tag is optionally used to expose a dedicated url for referencing this target exclusively.
|
3474
|
+
"""
|
3328
3475
|
return pulumi.get(self, "tag")
|
3329
3476
|
|
3330
3477
|
@property
|
3331
3478
|
@pulumi.getter
|
3332
3479
|
def url(self) -> str:
|
3480
|
+
"""
|
3481
|
+
URL displays the URL for accessing tagged traffic targets. URL is displayed in status,
|
3482
|
+
and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname,
|
3483
|
+
but may not contain anything else (e.g. basic auth, url path, etc.)
|
3484
|
+
"""
|
3333
3485
|
return pulumi.get(self, "url")
|
3334
3486
|
|
3335
3487
|
|
@@ -3338,17 +3490,39 @@ class GetServiceTemplateResult(dict):
|
|
3338
3490
|
def __init__(__self__, *,
|
3339
3491
|
metadatas: Sequence['outputs.GetServiceTemplateMetadataResult'],
|
3340
3492
|
specs: Sequence['outputs.GetServiceTemplateSpecResult']):
|
3493
|
+
"""
|
3494
|
+
:param Sequence['GetServiceTemplateMetadataArgs'] metadatas: Optional metadata for this Revision, including labels and annotations.
|
3495
|
+
Name will be generated by the Configuration. To set minimum instances
|
3496
|
+
for this revision, use the "autoscaling.knative.dev/minScale" annotation
|
3497
|
+
key. To set maximum instances for this revision, use the
|
3498
|
+
"autoscaling.knative.dev/maxScale" annotation key. To set Cloud SQL
|
3499
|
+
connections for the revision, use the "run.googleapis.com/cloudsql-instances"
|
3500
|
+
annotation key.
|
3501
|
+
:param Sequence['GetServiceTemplateSpecArgs'] specs: RevisionSpec holds the desired state of the Revision (from the client).
|
3502
|
+
"""
|
3341
3503
|
pulumi.set(__self__, "metadatas", metadatas)
|
3342
3504
|
pulumi.set(__self__, "specs", specs)
|
3343
3505
|
|
3344
3506
|
@property
|
3345
3507
|
@pulumi.getter
|
3346
3508
|
def metadatas(self) -> Sequence['outputs.GetServiceTemplateMetadataResult']:
|
3509
|
+
"""
|
3510
|
+
Optional metadata for this Revision, including labels and annotations.
|
3511
|
+
Name will be generated by the Configuration. To set minimum instances
|
3512
|
+
for this revision, use the "autoscaling.knative.dev/minScale" annotation
|
3513
|
+
key. To set maximum instances for this revision, use the
|
3514
|
+
"autoscaling.knative.dev/maxScale" annotation key. To set Cloud SQL
|
3515
|
+
connections for the revision, use the "run.googleapis.com/cloudsql-instances"
|
3516
|
+
annotation key.
|
3517
|
+
"""
|
3347
3518
|
return pulumi.get(self, "metadatas")
|
3348
3519
|
|
3349
3520
|
@property
|
3350
3521
|
@pulumi.getter
|
3351
3522
|
def specs(self) -> Sequence['outputs.GetServiceTemplateSpecResult']:
|
3523
|
+
"""
|
3524
|
+
RevisionSpec holds the desired state of the Revision (from the client).
|
3525
|
+
"""
|
3352
3526
|
return pulumi.get(self, "specs")
|
3353
3527
|
|
3354
3528
|
|
@@ -3364,7 +3538,20 @@ class GetServiceTemplateMetadataResult(dict):
|
|
3364
3538
|
self_link: str,
|
3365
3539
|
uid: str):
|
3366
3540
|
"""
|
3541
|
+
:param int generation: A sequence number representing a specific generation of the desired state.
|
3542
|
+
:param Mapping[str, str] labels: Map of string keys and values that can be used to organize and categorize
|
3543
|
+
(scope and select) objects.
|
3367
3544
|
:param str name: The name of the Cloud Run Service.
|
3545
|
+
:param str namespace: In Cloud Run the namespace must be equal to either the
|
3546
|
+
project ID or project number. It will default to the resource's project.
|
3547
|
+
:param str resource_version: An opaque value that represents the internal version of this object that
|
3548
|
+
can be used by clients to determine when objects have changed. May be used
|
3549
|
+
for optimistic concurrency, change detection, and the watch operation on a
|
3550
|
+
resource or set of resources. They may only be valid for a
|
3551
|
+
particular resource or set of resources.
|
3552
|
+
:param str self_link: SelfLink is a URL representing this object.
|
3553
|
+
:param str uid: UID is a unique id generated by the server on successful creation of a resource and is not
|
3554
|
+
allowed to change on PUT operations.
|
3368
3555
|
"""
|
3369
3556
|
pulumi.set(__self__, "annotations", annotations)
|
3370
3557
|
pulumi.set(__self__, "generation", generation)
|
@@ -3383,11 +3570,18 @@ class GetServiceTemplateMetadataResult(dict):
|
|
3383
3570
|
@property
|
3384
3571
|
@pulumi.getter
|
3385
3572
|
def generation(self) -> int:
|
3573
|
+
"""
|
3574
|
+
A sequence number representing a specific generation of the desired state.
|
3575
|
+
"""
|
3386
3576
|
return pulumi.get(self, "generation")
|
3387
3577
|
|
3388
3578
|
@property
|
3389
3579
|
@pulumi.getter
|
3390
3580
|
def labels(self) -> Mapping[str, str]:
|
3581
|
+
"""
|
3582
|
+
Map of string keys and values that can be used to organize and categorize
|
3583
|
+
(scope and select) objects.
|
3584
|
+
"""
|
3391
3585
|
return pulumi.get(self, "labels")
|
3392
3586
|
|
3393
3587
|
@property
|
@@ -3401,21 +3595,39 @@ class GetServiceTemplateMetadataResult(dict):
|
|
3401
3595
|
@property
|
3402
3596
|
@pulumi.getter
|
3403
3597
|
def namespace(self) -> str:
|
3598
|
+
"""
|
3599
|
+
In Cloud Run the namespace must be equal to either the
|
3600
|
+
project ID or project number. It will default to the resource's project.
|
3601
|
+
"""
|
3404
3602
|
return pulumi.get(self, "namespace")
|
3405
3603
|
|
3406
3604
|
@property
|
3407
3605
|
@pulumi.getter(name="resourceVersion")
|
3408
3606
|
def resource_version(self) -> str:
|
3607
|
+
"""
|
3608
|
+
An opaque value that represents the internal version of this object that
|
3609
|
+
can be used by clients to determine when objects have changed. May be used
|
3610
|
+
for optimistic concurrency, change detection, and the watch operation on a
|
3611
|
+
resource or set of resources. They may only be valid for a
|
3612
|
+
particular resource or set of resources.
|
3613
|
+
"""
|
3409
3614
|
return pulumi.get(self, "resource_version")
|
3410
3615
|
|
3411
3616
|
@property
|
3412
3617
|
@pulumi.getter(name="selfLink")
|
3413
3618
|
def self_link(self) -> str:
|
3619
|
+
"""
|
3620
|
+
SelfLink is a URL representing this object.
|
3621
|
+
"""
|
3414
3622
|
return pulumi.get(self, "self_link")
|
3415
3623
|
|
3416
3624
|
@property
|
3417
3625
|
@pulumi.getter
|
3418
3626
|
def uid(self) -> str:
|
3627
|
+
"""
|
3628
|
+
UID is a unique id generated by the server on successful creation of a resource and is not
|
3629
|
+
allowed to change on PUT operations.
|
3630
|
+
"""
|
3419
3631
|
return pulumi.get(self, "uid")
|
3420
3632
|
|
3421
3633
|
|
@@ -3428,6 +3640,25 @@ class GetServiceTemplateSpecResult(dict):
|
|
3428
3640
|
serving_state: str,
|
3429
3641
|
timeout_seconds: int,
|
3430
3642
|
volumes: Sequence['outputs.GetServiceTemplateSpecVolumeResult']):
|
3643
|
+
"""
|
3644
|
+
:param int container_concurrency: ContainerConcurrency specifies the maximum allowed in-flight (concurrent)
|
3645
|
+
requests per container of the Revision. Values are:
|
3646
|
+
- '0' thread-safe, the system should manage the max concurrency. This is
|
3647
|
+
the default value.
|
3648
|
+
- '1' not-thread-safe. Single concurrency
|
3649
|
+
- '2-N' thread-safe, max concurrency of N
|
3650
|
+
:param Sequence['GetServiceTemplateSpecContainerArgs'] containers: Containers defines the unit of execution for this Revision.
|
3651
|
+
:param str service_account_name: Email address of the IAM service account associated with the revision of the
|
3652
|
+
service. The service account represents the identity of the running revision,
|
3653
|
+
and determines what permissions the revision has. If not provided, the revision
|
3654
|
+
will use the project's default service account.
|
3655
|
+
:param str serving_state: ServingState holds a value describing the state the resources
|
3656
|
+
are in for this Revision.
|
3657
|
+
It is expected
|
3658
|
+
that the system will manipulate this based on routability and load.
|
3659
|
+
:param int timeout_seconds: TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
|
3660
|
+
:param Sequence['GetServiceTemplateSpecVolumeArgs'] volumes: Volume represents a named volume in a container.
|
3661
|
+
"""
|
3431
3662
|
pulumi.set(__self__, "container_concurrency", container_concurrency)
|
3432
3663
|
pulumi.set(__self__, "containers", containers)
|
3433
3664
|
pulumi.set(__self__, "service_account_name", service_account_name)
|
@@ -3438,31 +3669,60 @@ class GetServiceTemplateSpecResult(dict):
|
|
3438
3669
|
@property
|
3439
3670
|
@pulumi.getter(name="containerConcurrency")
|
3440
3671
|
def container_concurrency(self) -> int:
|
3672
|
+
"""
|
3673
|
+
ContainerConcurrency specifies the maximum allowed in-flight (concurrent)
|
3674
|
+
requests per container of the Revision. Values are:
|
3675
|
+
- '0' thread-safe, the system should manage the max concurrency. This is
|
3676
|
+
the default value.
|
3677
|
+
- '1' not-thread-safe. Single concurrency
|
3678
|
+
- '2-N' thread-safe, max concurrency of N
|
3679
|
+
"""
|
3441
3680
|
return pulumi.get(self, "container_concurrency")
|
3442
3681
|
|
3443
3682
|
@property
|
3444
3683
|
@pulumi.getter
|
3445
3684
|
def containers(self) -> Sequence['outputs.GetServiceTemplateSpecContainerResult']:
|
3685
|
+
"""
|
3686
|
+
Containers defines the unit of execution for this Revision.
|
3687
|
+
"""
|
3446
3688
|
return pulumi.get(self, "containers")
|
3447
3689
|
|
3448
3690
|
@property
|
3449
3691
|
@pulumi.getter(name="serviceAccountName")
|
3450
3692
|
def service_account_name(self) -> str:
|
3693
|
+
"""
|
3694
|
+
Email address of the IAM service account associated with the revision of the
|
3695
|
+
service. The service account represents the identity of the running revision,
|
3696
|
+
and determines what permissions the revision has. If not provided, the revision
|
3697
|
+
will use the project's default service account.
|
3698
|
+
"""
|
3451
3699
|
return pulumi.get(self, "service_account_name")
|
3452
3700
|
|
3453
3701
|
@property
|
3454
3702
|
@pulumi.getter(name="servingState")
|
3455
3703
|
def serving_state(self) -> str:
|
3704
|
+
"""
|
3705
|
+
ServingState holds a value describing the state the resources
|
3706
|
+
are in for this Revision.
|
3707
|
+
It is expected
|
3708
|
+
that the system will manipulate this based on routability and load.
|
3709
|
+
"""
|
3456
3710
|
return pulumi.get(self, "serving_state")
|
3457
3711
|
|
3458
3712
|
@property
|
3459
3713
|
@pulumi.getter(name="timeoutSeconds")
|
3460
3714
|
def timeout_seconds(self) -> int:
|
3715
|
+
"""
|
3716
|
+
TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
|
3717
|
+
"""
|
3461
3718
|
return pulumi.get(self, "timeout_seconds")
|
3462
3719
|
|
3463
3720
|
@property
|
3464
3721
|
@pulumi.getter
|
3465
3722
|
def volumes(self) -> Sequence['outputs.GetServiceTemplateSpecVolumeResult']:
|
3723
|
+
"""
|
3724
|
+
Volume represents a named volume in a container.
|
3725
|
+
"""
|
3466
3726
|
return pulumi.get(self, "volumes")
|
3467
3727
|
|
3468
3728
|
|
@@ -3482,7 +3742,30 @@ class GetServiceTemplateSpecContainerResult(dict):
|
|
3482
3742
|
volume_mounts: Sequence['outputs.GetServiceTemplateSpecContainerVolumeMountResult'],
|
3483
3743
|
working_dir: str):
|
3484
3744
|
"""
|
3745
|
+
:param Sequence[str] args: Arguments to the entrypoint.
|
3746
|
+
The docker image's CMD is used if this is not provided.
|
3747
|
+
:param Sequence[str] commands: Entrypoint array. Not executed within a shell.
|
3748
|
+
The docker image's ENTRYPOINT is used if this is not provided.
|
3749
|
+
:param Sequence['GetServiceTemplateSpecContainerEnvFromArgs'] env_froms: List of sources to populate environment variables in the container.
|
3750
|
+
All invalid keys will be reported as an event when the container is starting.
|
3751
|
+
When a key exists in multiple sources, the value associated with the last source will
|
3752
|
+
take precedence. Values defined by an Env with a duplicate key will take
|
3753
|
+
precedence.
|
3754
|
+
:param Sequence['GetServiceTemplateSpecContainerEnvArgs'] envs: List of environment variables to set in the container.
|
3755
|
+
:param str image: Docker image name. This is most often a reference to a container located
|
3756
|
+
in the container registry, such as gcr.io/cloudrun/hello
|
3757
|
+
:param Sequence['GetServiceTemplateSpecContainerLivenessProbeArgs'] liveness_probes: Periodic probe of container liveness. Container will be restarted if the probe fails.
|
3485
3758
|
:param str name: The name of the Cloud Run Service.
|
3759
|
+
:param Sequence['GetServiceTemplateSpecContainerPortArgs'] ports: List of open ports in the container.
|
3760
|
+
:param Sequence['GetServiceTemplateSpecContainerResourceArgs'] resources: Compute Resources required by this container. Used to set values such as max memory
|
3761
|
+
:param Sequence['GetServiceTemplateSpecContainerStartupProbeArgs'] startup_probes: Startup probe of application within the container.
|
3762
|
+
All other probes are disabled if a startup probe is provided, until it
|
3763
|
+
succeeds. Container will not be added to service endpoints if the probe fails.
|
3764
|
+
:param Sequence['GetServiceTemplateSpecContainerVolumeMountArgs'] volume_mounts: Volume to mount into the container's filesystem.
|
3765
|
+
Only supports SecretVolumeSources.
|
3766
|
+
:param str working_dir: Container's working directory.
|
3767
|
+
If not specified, the container runtime's default will be used, which
|
3768
|
+
might be configured in the container image.
|
3486
3769
|
"""
|
3487
3770
|
pulumi.set(__self__, "args", args)
|
3488
3771
|
pulumi.set(__self__, "commands", commands)
|
@@ -3500,31 +3783,56 @@ class GetServiceTemplateSpecContainerResult(dict):
|
|
3500
3783
|
@property
|
3501
3784
|
@pulumi.getter
|
3502
3785
|
def args(self) -> Sequence[str]:
|
3786
|
+
"""
|
3787
|
+
Arguments to the entrypoint.
|
3788
|
+
The docker image's CMD is used if this is not provided.
|
3789
|
+
"""
|
3503
3790
|
return pulumi.get(self, "args")
|
3504
3791
|
|
3505
3792
|
@property
|
3506
3793
|
@pulumi.getter
|
3507
3794
|
def commands(self) -> Sequence[str]:
|
3795
|
+
"""
|
3796
|
+
Entrypoint array. Not executed within a shell.
|
3797
|
+
The docker image's ENTRYPOINT is used if this is not provided.
|
3798
|
+
"""
|
3508
3799
|
return pulumi.get(self, "commands")
|
3509
3800
|
|
3510
3801
|
@property
|
3511
3802
|
@pulumi.getter(name="envFroms")
|
3512
3803
|
def env_froms(self) -> Sequence['outputs.GetServiceTemplateSpecContainerEnvFromResult']:
|
3804
|
+
"""
|
3805
|
+
List of sources to populate environment variables in the container.
|
3806
|
+
All invalid keys will be reported as an event when the container is starting.
|
3807
|
+
When a key exists in multiple sources, the value associated with the last source will
|
3808
|
+
take precedence. Values defined by an Env with a duplicate key will take
|
3809
|
+
precedence.
|
3810
|
+
"""
|
3513
3811
|
return pulumi.get(self, "env_froms")
|
3514
3812
|
|
3515
3813
|
@property
|
3516
3814
|
@pulumi.getter
|
3517
3815
|
def envs(self) -> Sequence['outputs.GetServiceTemplateSpecContainerEnvResult']:
|
3816
|
+
"""
|
3817
|
+
List of environment variables to set in the container.
|
3818
|
+
"""
|
3518
3819
|
return pulumi.get(self, "envs")
|
3519
3820
|
|
3520
3821
|
@property
|
3521
3822
|
@pulumi.getter
|
3522
3823
|
def image(self) -> str:
|
3824
|
+
"""
|
3825
|
+
Docker image name. This is most often a reference to a container located
|
3826
|
+
in the container registry, such as gcr.io/cloudrun/hello
|
3827
|
+
"""
|
3523
3828
|
return pulumi.get(self, "image")
|
3524
3829
|
|
3525
3830
|
@property
|
3526
3831
|
@pulumi.getter(name="livenessProbes")
|
3527
3832
|
def liveness_probes(self) -> Sequence['outputs.GetServiceTemplateSpecContainerLivenessProbeResult']:
|
3833
|
+
"""
|
3834
|
+
Periodic probe of container liveness. Container will be restarted if the probe fails.
|
3835
|
+
"""
|
3528
3836
|
return pulumi.get(self, "liveness_probes")
|
3529
3837
|
|
3530
3838
|
@property
|
@@ -3538,26 +3846,46 @@ class GetServiceTemplateSpecContainerResult(dict):
|
|
3538
3846
|
@property
|
3539
3847
|
@pulumi.getter
|
3540
3848
|
def ports(self) -> Sequence['outputs.GetServiceTemplateSpecContainerPortResult']:
|
3849
|
+
"""
|
3850
|
+
List of open ports in the container.
|
3851
|
+
"""
|
3541
3852
|
return pulumi.get(self, "ports")
|
3542
3853
|
|
3543
3854
|
@property
|
3544
3855
|
@pulumi.getter
|
3545
3856
|
def resources(self) -> Sequence['outputs.GetServiceTemplateSpecContainerResourceResult']:
|
3857
|
+
"""
|
3858
|
+
Compute Resources required by this container. Used to set values such as max memory
|
3859
|
+
"""
|
3546
3860
|
return pulumi.get(self, "resources")
|
3547
3861
|
|
3548
3862
|
@property
|
3549
3863
|
@pulumi.getter(name="startupProbes")
|
3550
3864
|
def startup_probes(self) -> Sequence['outputs.GetServiceTemplateSpecContainerStartupProbeResult']:
|
3865
|
+
"""
|
3866
|
+
Startup probe of application within the container.
|
3867
|
+
All other probes are disabled if a startup probe is provided, until it
|
3868
|
+
succeeds. Container will not be added to service endpoints if the probe fails.
|
3869
|
+
"""
|
3551
3870
|
return pulumi.get(self, "startup_probes")
|
3552
3871
|
|
3553
3872
|
@property
|
3554
3873
|
@pulumi.getter(name="volumeMounts")
|
3555
3874
|
def volume_mounts(self) -> Sequence['outputs.GetServiceTemplateSpecContainerVolumeMountResult']:
|
3875
|
+
"""
|
3876
|
+
Volume to mount into the container's filesystem.
|
3877
|
+
Only supports SecretVolumeSources.
|
3878
|
+
"""
|
3556
3879
|
return pulumi.get(self, "volume_mounts")
|
3557
3880
|
|
3558
3881
|
@property
|
3559
3882
|
@pulumi.getter(name="workingDir")
|
3560
3883
|
def working_dir(self) -> str:
|
3884
|
+
"""
|
3885
|
+
Container's working directory.
|
3886
|
+
If not specified, the container runtime's default will be used, which
|
3887
|
+
might be configured in the container image.
|
3888
|
+
"""
|
3561
3889
|
return pulumi.get(self, "working_dir")
|
3562
3890
|
|
3563
3891
|
|
@@ -3569,6 +3897,8 @@ class GetServiceTemplateSpecContainerEnvResult(dict):
|
|
3569
3897
|
value_froms: Sequence['outputs.GetServiceTemplateSpecContainerEnvValueFromResult']):
|
3570
3898
|
"""
|
3571
3899
|
:param str name: The name of the Cloud Run Service.
|
3900
|
+
:param str value: Defaults to "".
|
3901
|
+
:param Sequence['GetServiceTemplateSpecContainerEnvValueFromArgs'] value_froms: Source for the environment variable's value. Only supports secret_key_ref.
|
3572
3902
|
"""
|
3573
3903
|
pulumi.set(__self__, "name", name)
|
3574
3904
|
pulumi.set(__self__, "value", value)
|
@@ -3585,11 +3915,17 @@ class GetServiceTemplateSpecContainerEnvResult(dict):
|
|
3585
3915
|
@property
|
3586
3916
|
@pulumi.getter
|
3587
3917
|
def value(self) -> str:
|
3918
|
+
"""
|
3919
|
+
Defaults to "".
|
3920
|
+
"""
|
3588
3921
|
return pulumi.get(self, "value")
|
3589
3922
|
|
3590
3923
|
@property
|
3591
3924
|
@pulumi.getter(name="valueFroms")
|
3592
3925
|
def value_froms(self) -> Sequence['outputs.GetServiceTemplateSpecContainerEnvValueFromResult']:
|
3926
|
+
"""
|
3927
|
+
Source for the environment variable's value. Only supports secret_key_ref.
|
3928
|
+
"""
|
3593
3929
|
return pulumi.get(self, "value_froms")
|
3594
3930
|
|
3595
3931
|
|
@@ -3599,6 +3935,11 @@ class GetServiceTemplateSpecContainerEnvFromResult(dict):
|
|
3599
3935
|
config_map_reves: Sequence['outputs.GetServiceTemplateSpecContainerEnvFromConfigMapRefResult'],
|
3600
3936
|
prefix: str,
|
3601
3937
|
secret_reves: Sequence['outputs.GetServiceTemplateSpecContainerEnvFromSecretRefResult']):
|
3938
|
+
"""
|
3939
|
+
:param Sequence['GetServiceTemplateSpecContainerEnvFromConfigMapRefArgs'] config_map_reves: The ConfigMap to select from.
|
3940
|
+
:param str prefix: An optional identifier to prepend to each key in the ConfigMap.
|
3941
|
+
:param Sequence['GetServiceTemplateSpecContainerEnvFromSecretRefArgs'] secret_reves: The Secret to select from.
|
3942
|
+
"""
|
3602
3943
|
pulumi.set(__self__, "config_map_reves", config_map_reves)
|
3603
3944
|
pulumi.set(__self__, "prefix", prefix)
|
3604
3945
|
pulumi.set(__self__, "secret_reves", secret_reves)
|
@@ -3606,16 +3947,25 @@ class GetServiceTemplateSpecContainerEnvFromResult(dict):
|
|
3606
3947
|
@property
|
3607
3948
|
@pulumi.getter(name="configMapReves")
|
3608
3949
|
def config_map_reves(self) -> Sequence['outputs.GetServiceTemplateSpecContainerEnvFromConfigMapRefResult']:
|
3950
|
+
"""
|
3951
|
+
The ConfigMap to select from.
|
3952
|
+
"""
|
3609
3953
|
return pulumi.get(self, "config_map_reves")
|
3610
3954
|
|
3611
3955
|
@property
|
3612
3956
|
@pulumi.getter
|
3613
3957
|
def prefix(self) -> str:
|
3958
|
+
"""
|
3959
|
+
An optional identifier to prepend to each key in the ConfigMap.
|
3960
|
+
"""
|
3614
3961
|
return pulumi.get(self, "prefix")
|
3615
3962
|
|
3616
3963
|
@property
|
3617
3964
|
@pulumi.getter(name="secretReves")
|
3618
3965
|
def secret_reves(self) -> Sequence['outputs.GetServiceTemplateSpecContainerEnvFromSecretRefResult']:
|
3966
|
+
"""
|
3967
|
+
The Secret to select from.
|
3968
|
+
"""
|
3619
3969
|
return pulumi.get(self, "secret_reves")
|
3620
3970
|
|
3621
3971
|
|
@@ -3624,17 +3974,27 @@ class GetServiceTemplateSpecContainerEnvFromConfigMapRefResult(dict):
|
|
3624
3974
|
def __init__(__self__, *,
|
3625
3975
|
local_object_references: Sequence['outputs.GetServiceTemplateSpecContainerEnvFromConfigMapRefLocalObjectReferenceResult'],
|
3626
3976
|
optional: bool):
|
3977
|
+
"""
|
3978
|
+
:param Sequence['GetServiceTemplateSpecContainerEnvFromConfigMapRefLocalObjectReferenceArgs'] local_object_references: The ConfigMap to select from.
|
3979
|
+
:param bool optional: Specify whether the ConfigMap must be defined
|
3980
|
+
"""
|
3627
3981
|
pulumi.set(__self__, "local_object_references", local_object_references)
|
3628
3982
|
pulumi.set(__self__, "optional", optional)
|
3629
3983
|
|
3630
3984
|
@property
|
3631
3985
|
@pulumi.getter(name="localObjectReferences")
|
3632
3986
|
def local_object_references(self) -> Sequence['outputs.GetServiceTemplateSpecContainerEnvFromConfigMapRefLocalObjectReferenceResult']:
|
3987
|
+
"""
|
3988
|
+
The ConfigMap to select from.
|
3989
|
+
"""
|
3633
3990
|
return pulumi.get(self, "local_object_references")
|
3634
3991
|
|
3635
3992
|
@property
|
3636
3993
|
@pulumi.getter
|
3637
3994
|
def optional(self) -> bool:
|
3995
|
+
"""
|
3996
|
+
Specify whether the ConfigMap must be defined
|
3997
|
+
"""
|
3638
3998
|
return pulumi.get(self, "optional")
|
3639
3999
|
|
3640
4000
|
|
@@ -3661,17 +4021,27 @@ class GetServiceTemplateSpecContainerEnvFromSecretRefResult(dict):
|
|
3661
4021
|
def __init__(__self__, *,
|
3662
4022
|
local_object_references: Sequence['outputs.GetServiceTemplateSpecContainerEnvFromSecretRefLocalObjectReferenceResult'],
|
3663
4023
|
optional: bool):
|
4024
|
+
"""
|
4025
|
+
:param Sequence['GetServiceTemplateSpecContainerEnvFromSecretRefLocalObjectReferenceArgs'] local_object_references: The Secret to select from.
|
4026
|
+
:param bool optional: Specify whether the Secret must be defined
|
4027
|
+
"""
|
3664
4028
|
pulumi.set(__self__, "local_object_references", local_object_references)
|
3665
4029
|
pulumi.set(__self__, "optional", optional)
|
3666
4030
|
|
3667
4031
|
@property
|
3668
4032
|
@pulumi.getter(name="localObjectReferences")
|
3669
4033
|
def local_object_references(self) -> Sequence['outputs.GetServiceTemplateSpecContainerEnvFromSecretRefLocalObjectReferenceResult']:
|
4034
|
+
"""
|
4035
|
+
The Secret to select from.
|
4036
|
+
"""
|
3670
4037
|
return pulumi.get(self, "local_object_references")
|
3671
4038
|
|
3672
4039
|
@property
|
3673
4040
|
@pulumi.getter
|
3674
4041
|
def optional(self) -> bool:
|
4042
|
+
"""
|
4043
|
+
Specify whether the Secret must be defined
|
4044
|
+
"""
|
3675
4045
|
return pulumi.get(self, "optional")
|
3676
4046
|
|
3677
4047
|
|
@@ -3697,11 +4067,17 @@ class GetServiceTemplateSpecContainerEnvFromSecretRefLocalObjectReferenceResult(
|
|
3697
4067
|
class GetServiceTemplateSpecContainerEnvValueFromResult(dict):
|
3698
4068
|
def __init__(__self__, *,
|
3699
4069
|
secret_key_reves: Sequence['outputs.GetServiceTemplateSpecContainerEnvValueFromSecretKeyRefResult']):
|
4070
|
+
"""
|
4071
|
+
:param Sequence['GetServiceTemplateSpecContainerEnvValueFromSecretKeyRefArgs'] secret_key_reves: Selects a key (version) of a secret in Secret Manager.
|
4072
|
+
"""
|
3700
4073
|
pulumi.set(__self__, "secret_key_reves", secret_key_reves)
|
3701
4074
|
|
3702
4075
|
@property
|
3703
4076
|
@pulumi.getter(name="secretKeyReves")
|
3704
4077
|
def secret_key_reves(self) -> Sequence['outputs.GetServiceTemplateSpecContainerEnvValueFromSecretKeyRefResult']:
|
4078
|
+
"""
|
4079
|
+
Selects a key (version) of a secret in Secret Manager.
|
4080
|
+
"""
|
3705
4081
|
return pulumi.get(self, "secret_key_reves")
|
3706
4082
|
|
3707
4083
|
|
@@ -3711,6 +4087,8 @@ class GetServiceTemplateSpecContainerEnvValueFromSecretKeyRefResult(dict):
|
|
3711
4087
|
key: str,
|
3712
4088
|
name: str):
|
3713
4089
|
"""
|
4090
|
+
:param str key: A Cloud Secret Manager secret version. Must be 'latest' for the latest
|
4091
|
+
version or an integer for a specific version.
|
3714
4092
|
:param str name: The name of the Cloud Run Service.
|
3715
4093
|
"""
|
3716
4094
|
pulumi.set(__self__, "key", key)
|
@@ -3719,6 +4097,10 @@ class GetServiceTemplateSpecContainerEnvValueFromSecretKeyRefResult(dict):
|
|
3719
4097
|
@property
|
3720
4098
|
@pulumi.getter
|
3721
4099
|
def key(self) -> str:
|
4100
|
+
"""
|
4101
|
+
A Cloud Secret Manager secret version. Must be 'latest' for the latest
|
4102
|
+
version or an integer for a specific version.
|
4103
|
+
"""
|
3722
4104
|
return pulumi.get(self, "key")
|
3723
4105
|
|
3724
4106
|
@property
|
@@ -3739,6 +4121,20 @@ class GetServiceTemplateSpecContainerLivenessProbeResult(dict):
|
|
3739
4121
|
initial_delay_seconds: int,
|
3740
4122
|
period_seconds: int,
|
3741
4123
|
timeout_seconds: int):
|
4124
|
+
"""
|
4125
|
+
:param int failure_threshold: Minimum consecutive failures for the probe to be considered failed after
|
4126
|
+
having succeeded. Defaults to 3. Minimum value is 1.
|
4127
|
+
:param Sequence['GetServiceTemplateSpecContainerLivenessProbeGrpcArgs'] grpcs: GRPC specifies an action involving a GRPC port.
|
4128
|
+
:param Sequence['GetServiceTemplateSpecContainerLivenessProbeHttpGetArgs'] http_gets: HttpGet specifies the http request to perform.
|
4129
|
+
:param int initial_delay_seconds: Number of seconds after the container has started before the probe is
|
4130
|
+
initiated.
|
4131
|
+
Defaults to 0 seconds. Minimum value is 0. Maximum value is 3600.
|
4132
|
+
:param int period_seconds: How often (in seconds) to perform the probe.
|
4133
|
+
Default to 10 seconds. Minimum value is 1. Maximum value is 3600.
|
4134
|
+
:param int timeout_seconds: Number of seconds after which the probe times out.
|
4135
|
+
Defaults to 1 second. Minimum value is 1. Maximum value is 3600.
|
4136
|
+
Must be smaller than period_seconds.
|
4137
|
+
"""
|
3742
4138
|
pulumi.set(__self__, "failure_threshold", failure_threshold)
|
3743
4139
|
pulumi.set(__self__, "grpcs", grpcs)
|
3744
4140
|
pulumi.set(__self__, "http_gets", http_gets)
|
@@ -3749,31 +4145,55 @@ class GetServiceTemplateSpecContainerLivenessProbeResult(dict):
|
|
3749
4145
|
@property
|
3750
4146
|
@pulumi.getter(name="failureThreshold")
|
3751
4147
|
def failure_threshold(self) -> int:
|
4148
|
+
"""
|
4149
|
+
Minimum consecutive failures for the probe to be considered failed after
|
4150
|
+
having succeeded. Defaults to 3. Minimum value is 1.
|
4151
|
+
"""
|
3752
4152
|
return pulumi.get(self, "failure_threshold")
|
3753
4153
|
|
3754
4154
|
@property
|
3755
4155
|
@pulumi.getter
|
3756
4156
|
def grpcs(self) -> Sequence['outputs.GetServiceTemplateSpecContainerLivenessProbeGrpcResult']:
|
4157
|
+
"""
|
4158
|
+
GRPC specifies an action involving a GRPC port.
|
4159
|
+
"""
|
3757
4160
|
return pulumi.get(self, "grpcs")
|
3758
4161
|
|
3759
4162
|
@property
|
3760
4163
|
@pulumi.getter(name="httpGets")
|
3761
4164
|
def http_gets(self) -> Sequence['outputs.GetServiceTemplateSpecContainerLivenessProbeHttpGetResult']:
|
4165
|
+
"""
|
4166
|
+
HttpGet specifies the http request to perform.
|
4167
|
+
"""
|
3762
4168
|
return pulumi.get(self, "http_gets")
|
3763
4169
|
|
3764
4170
|
@property
|
3765
4171
|
@pulumi.getter(name="initialDelaySeconds")
|
3766
4172
|
def initial_delay_seconds(self) -> int:
|
4173
|
+
"""
|
4174
|
+
Number of seconds after the container has started before the probe is
|
4175
|
+
initiated.
|
4176
|
+
Defaults to 0 seconds. Minimum value is 0. Maximum value is 3600.
|
4177
|
+
"""
|
3767
4178
|
return pulumi.get(self, "initial_delay_seconds")
|
3768
4179
|
|
3769
4180
|
@property
|
3770
4181
|
@pulumi.getter(name="periodSeconds")
|
3771
4182
|
def period_seconds(self) -> int:
|
4183
|
+
"""
|
4184
|
+
How often (in seconds) to perform the probe.
|
4185
|
+
Default to 10 seconds. Minimum value is 1. Maximum value is 3600.
|
4186
|
+
"""
|
3772
4187
|
return pulumi.get(self, "period_seconds")
|
3773
4188
|
|
3774
4189
|
@property
|
3775
4190
|
@pulumi.getter(name="timeoutSeconds")
|
3776
4191
|
def timeout_seconds(self) -> int:
|
4192
|
+
"""
|
4193
|
+
Number of seconds after which the probe times out.
|
4194
|
+
Defaults to 1 second. Minimum value is 1. Maximum value is 3600.
|
4195
|
+
Must be smaller than period_seconds.
|
4196
|
+
"""
|
3777
4197
|
return pulumi.get(self, "timeout_seconds")
|
3778
4198
|
|
3779
4199
|
|
@@ -3782,17 +4202,33 @@ class GetServiceTemplateSpecContainerLivenessProbeGrpcResult(dict):
|
|
3782
4202
|
def __init__(__self__, *,
|
3783
4203
|
port: int,
|
3784
4204
|
service: str):
|
4205
|
+
"""
|
4206
|
+
:param int port: Port number to access on the container. Number must be in the range 1 to 65535.
|
4207
|
+
If not specified, defaults to the same value as container.ports[0].containerPort.
|
4208
|
+
:param str service: The name of the service to place in the gRPC HealthCheckRequest
|
4209
|
+
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
4210
|
+
If this is not specified, the default behavior is defined by gRPC.
|
4211
|
+
"""
|
3785
4212
|
pulumi.set(__self__, "port", port)
|
3786
4213
|
pulumi.set(__self__, "service", service)
|
3787
4214
|
|
3788
4215
|
@property
|
3789
4216
|
@pulumi.getter
|
3790
4217
|
def port(self) -> int:
|
4218
|
+
"""
|
4219
|
+
Port number to access on the container. Number must be in the range 1 to 65535.
|
4220
|
+
If not specified, defaults to the same value as container.ports[0].containerPort.
|
4221
|
+
"""
|
3791
4222
|
return pulumi.get(self, "port")
|
3792
4223
|
|
3793
4224
|
@property
|
3794
4225
|
@pulumi.getter
|
3795
4226
|
def service(self) -> str:
|
4227
|
+
"""
|
4228
|
+
The name of the service to place in the gRPC HealthCheckRequest
|
4229
|
+
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
4230
|
+
If this is not specified, the default behavior is defined by gRPC.
|
4231
|
+
"""
|
3796
4232
|
return pulumi.get(self, "service")
|
3797
4233
|
|
3798
4234
|
|
@@ -3802,6 +4238,12 @@ class GetServiceTemplateSpecContainerLivenessProbeHttpGetResult(dict):
|
|
3802
4238
|
http_headers: Sequence['outputs.GetServiceTemplateSpecContainerLivenessProbeHttpGetHttpHeaderResult'],
|
3803
4239
|
path: str,
|
3804
4240
|
port: int):
|
4241
|
+
"""
|
4242
|
+
:param Sequence['GetServiceTemplateSpecContainerLivenessProbeHttpGetHttpHeaderArgs'] http_headers: Custom headers to set in the request. HTTP allows repeated headers.
|
4243
|
+
:param str path: Path to access on the HTTP server. If set, it should not be empty string.
|
4244
|
+
:param int port: Port number to access on the container. Number must be in the range 1 to 65535.
|
4245
|
+
If not specified, defaults to the same value as container.ports[0].containerPort.
|
4246
|
+
"""
|
3805
4247
|
pulumi.set(__self__, "http_headers", http_headers)
|
3806
4248
|
pulumi.set(__self__, "path", path)
|
3807
4249
|
pulumi.set(__self__, "port", port)
|
@@ -3809,16 +4251,26 @@ class GetServiceTemplateSpecContainerLivenessProbeHttpGetResult(dict):
|
|
3809
4251
|
@property
|
3810
4252
|
@pulumi.getter(name="httpHeaders")
|
3811
4253
|
def http_headers(self) -> Sequence['outputs.GetServiceTemplateSpecContainerLivenessProbeHttpGetHttpHeaderResult']:
|
4254
|
+
"""
|
4255
|
+
Custom headers to set in the request. HTTP allows repeated headers.
|
4256
|
+
"""
|
3812
4257
|
return pulumi.get(self, "http_headers")
|
3813
4258
|
|
3814
4259
|
@property
|
3815
4260
|
@pulumi.getter
|
3816
4261
|
def path(self) -> str:
|
4262
|
+
"""
|
4263
|
+
Path to access on the HTTP server. If set, it should not be empty string.
|
4264
|
+
"""
|
3817
4265
|
return pulumi.get(self, "path")
|
3818
4266
|
|
3819
4267
|
@property
|
3820
4268
|
@pulumi.getter
|
3821
4269
|
def port(self) -> int:
|
4270
|
+
"""
|
4271
|
+
Port number to access on the container. Number must be in the range 1 to 65535.
|
4272
|
+
If not specified, defaults to the same value as container.ports[0].containerPort.
|
4273
|
+
"""
|
3822
4274
|
return pulumi.get(self, "port")
|
3823
4275
|
|
3824
4276
|
|
@@ -3829,6 +4281,7 @@ class GetServiceTemplateSpecContainerLivenessProbeHttpGetHttpHeaderResult(dict):
|
|
3829
4281
|
value: str):
|
3830
4282
|
"""
|
3831
4283
|
:param str name: The name of the Cloud Run Service.
|
4284
|
+
:param str value: The header field value.
|
3832
4285
|
"""
|
3833
4286
|
pulumi.set(__self__, "name", name)
|
3834
4287
|
pulumi.set(__self__, "value", value)
|
@@ -3844,6 +4297,9 @@ class GetServiceTemplateSpecContainerLivenessProbeHttpGetHttpHeaderResult(dict):
|
|
3844
4297
|
@property
|
3845
4298
|
@pulumi.getter
|
3846
4299
|
def value(self) -> str:
|
4300
|
+
"""
|
4301
|
+
The header field value.
|
4302
|
+
"""
|
3847
4303
|
return pulumi.get(self, "value")
|
3848
4304
|
|
3849
4305
|
|
@@ -3854,7 +4310,9 @@ class GetServiceTemplateSpecContainerPortResult(dict):
|
|
3854
4310
|
name: str,
|
3855
4311
|
protocol: str):
|
3856
4312
|
"""
|
4313
|
+
:param int container_port: Port number the container listens on. This must be a valid port number (between 1 and 65535). Defaults to "8080".
|
3857
4314
|
:param str name: The name of the Cloud Run Service.
|
4315
|
+
:param str protocol: Protocol for port. Must be "TCP". Defaults to "TCP".
|
3858
4316
|
"""
|
3859
4317
|
pulumi.set(__self__, "container_port", container_port)
|
3860
4318
|
pulumi.set(__self__, "name", name)
|
@@ -3863,6 +4321,9 @@ class GetServiceTemplateSpecContainerPortResult(dict):
|
|
3863
4321
|
@property
|
3864
4322
|
@pulumi.getter(name="containerPort")
|
3865
4323
|
def container_port(self) -> int:
|
4324
|
+
"""
|
4325
|
+
Port number the container listens on. This must be a valid port number (between 1 and 65535). Defaults to "8080".
|
4326
|
+
"""
|
3866
4327
|
return pulumi.get(self, "container_port")
|
3867
4328
|
|
3868
4329
|
@property
|
@@ -3876,6 +4337,9 @@ class GetServiceTemplateSpecContainerPortResult(dict):
|
|
3876
4337
|
@property
|
3877
4338
|
@pulumi.getter
|
3878
4339
|
def protocol(self) -> str:
|
4340
|
+
"""
|
4341
|
+
Protocol for port. Must be "TCP". Defaults to "TCP".
|
4342
|
+
"""
|
3879
4343
|
return pulumi.get(self, "protocol")
|
3880
4344
|
|
3881
4345
|
|
@@ -3884,17 +4348,39 @@ class GetServiceTemplateSpecContainerResourceResult(dict):
|
|
3884
4348
|
def __init__(__self__, *,
|
3885
4349
|
limits: Mapping[str, str],
|
3886
4350
|
requests: Mapping[str, str]):
|
4351
|
+
"""
|
4352
|
+
:param Mapping[str, str] limits: Limits describes the maximum amount of compute resources allowed.
|
4353
|
+
The values of the map is string form of the 'quantity' k8s type:
|
4354
|
+
https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
|
4355
|
+
:param Mapping[str, str] requests: Requests describes the minimum amount of compute resources required.
|
4356
|
+
If Requests is omitted for a container, it defaults to Limits if that is
|
4357
|
+
explicitly specified, otherwise to an implementation-defined value.
|
4358
|
+
The values of the map is string form of the 'quantity' k8s type:
|
4359
|
+
https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
|
4360
|
+
"""
|
3887
4361
|
pulumi.set(__self__, "limits", limits)
|
3888
4362
|
pulumi.set(__self__, "requests", requests)
|
3889
4363
|
|
3890
4364
|
@property
|
3891
4365
|
@pulumi.getter
|
3892
4366
|
def limits(self) -> Mapping[str, str]:
|
4367
|
+
"""
|
4368
|
+
Limits describes the maximum amount of compute resources allowed.
|
4369
|
+
The values of the map is string form of the 'quantity' k8s type:
|
4370
|
+
https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
|
4371
|
+
"""
|
3893
4372
|
return pulumi.get(self, "limits")
|
3894
4373
|
|
3895
4374
|
@property
|
3896
4375
|
@pulumi.getter
|
3897
4376
|
def requests(self) -> Mapping[str, str]:
|
4377
|
+
"""
|
4378
|
+
Requests describes the minimum amount of compute resources required.
|
4379
|
+
If Requests is omitted for a container, it defaults to Limits if that is
|
4380
|
+
explicitly specified, otherwise to an implementation-defined value.
|
4381
|
+
The values of the map is string form of the 'quantity' k8s type:
|
4382
|
+
https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
|
4383
|
+
"""
|
3898
4384
|
return pulumi.get(self, "requests")
|
3899
4385
|
|
3900
4386
|
|
@@ -3908,6 +4394,21 @@ class GetServiceTemplateSpecContainerStartupProbeResult(dict):
|
|
3908
4394
|
period_seconds: int,
|
3909
4395
|
tcp_sockets: Sequence['outputs.GetServiceTemplateSpecContainerStartupProbeTcpSocketResult'],
|
3910
4396
|
timeout_seconds: int):
|
4397
|
+
"""
|
4398
|
+
:param int failure_threshold: Minimum consecutive failures for the probe to be considered failed after
|
4399
|
+
having succeeded. Defaults to 3. Minimum value is 1.
|
4400
|
+
:param Sequence['GetServiceTemplateSpecContainerStartupProbeGrpcArgs'] grpcs: GRPC specifies an action involving a GRPC port.
|
4401
|
+
:param Sequence['GetServiceTemplateSpecContainerStartupProbeHttpGetArgs'] http_gets: HttpGet specifies the http request to perform.
|
4402
|
+
:param int initial_delay_seconds: Number of seconds after the container has started before the probe is
|
4403
|
+
initiated.
|
4404
|
+
Defaults to 0 seconds. Minimum value is 0. Maximum value is 240.
|
4405
|
+
:param int period_seconds: How often (in seconds) to perform the probe.
|
4406
|
+
Default to 10 seconds. Minimum value is 1. Maximum value is 240.
|
4407
|
+
:param Sequence['GetServiceTemplateSpecContainerStartupProbeTcpSocketArgs'] tcp_sockets: TcpSocket specifies an action involving a TCP port.
|
4408
|
+
:param int timeout_seconds: Number of seconds after which the probe times out.
|
4409
|
+
Defaults to 1 second. Minimum value is 1. Maximum value is 3600.
|
4410
|
+
Must be smaller than periodSeconds.
|
4411
|
+
"""
|
3911
4412
|
pulumi.set(__self__, "failure_threshold", failure_threshold)
|
3912
4413
|
pulumi.set(__self__, "grpcs", grpcs)
|
3913
4414
|
pulumi.set(__self__, "http_gets", http_gets)
|
@@ -3919,36 +4420,63 @@ class GetServiceTemplateSpecContainerStartupProbeResult(dict):
|
|
3919
4420
|
@property
|
3920
4421
|
@pulumi.getter(name="failureThreshold")
|
3921
4422
|
def failure_threshold(self) -> int:
|
4423
|
+
"""
|
4424
|
+
Minimum consecutive failures for the probe to be considered failed after
|
4425
|
+
having succeeded. Defaults to 3. Minimum value is 1.
|
4426
|
+
"""
|
3922
4427
|
return pulumi.get(self, "failure_threshold")
|
3923
4428
|
|
3924
4429
|
@property
|
3925
4430
|
@pulumi.getter
|
3926
4431
|
def grpcs(self) -> Sequence['outputs.GetServiceTemplateSpecContainerStartupProbeGrpcResult']:
|
4432
|
+
"""
|
4433
|
+
GRPC specifies an action involving a GRPC port.
|
4434
|
+
"""
|
3927
4435
|
return pulumi.get(self, "grpcs")
|
3928
4436
|
|
3929
4437
|
@property
|
3930
4438
|
@pulumi.getter(name="httpGets")
|
3931
4439
|
def http_gets(self) -> Sequence['outputs.GetServiceTemplateSpecContainerStartupProbeHttpGetResult']:
|
4440
|
+
"""
|
4441
|
+
HttpGet specifies the http request to perform.
|
4442
|
+
"""
|
3932
4443
|
return pulumi.get(self, "http_gets")
|
3933
4444
|
|
3934
4445
|
@property
|
3935
4446
|
@pulumi.getter(name="initialDelaySeconds")
|
3936
4447
|
def initial_delay_seconds(self) -> int:
|
4448
|
+
"""
|
4449
|
+
Number of seconds after the container has started before the probe is
|
4450
|
+
initiated.
|
4451
|
+
Defaults to 0 seconds. Minimum value is 0. Maximum value is 240.
|
4452
|
+
"""
|
3937
4453
|
return pulumi.get(self, "initial_delay_seconds")
|
3938
4454
|
|
3939
4455
|
@property
|
3940
4456
|
@pulumi.getter(name="periodSeconds")
|
3941
4457
|
def period_seconds(self) -> int:
|
4458
|
+
"""
|
4459
|
+
How often (in seconds) to perform the probe.
|
4460
|
+
Default to 10 seconds. Minimum value is 1. Maximum value is 240.
|
4461
|
+
"""
|
3942
4462
|
return pulumi.get(self, "period_seconds")
|
3943
4463
|
|
3944
4464
|
@property
|
3945
4465
|
@pulumi.getter(name="tcpSockets")
|
3946
4466
|
def tcp_sockets(self) -> Sequence['outputs.GetServiceTemplateSpecContainerStartupProbeTcpSocketResult']:
|
4467
|
+
"""
|
4468
|
+
TcpSocket specifies an action involving a TCP port.
|
4469
|
+
"""
|
3947
4470
|
return pulumi.get(self, "tcp_sockets")
|
3948
4471
|
|
3949
4472
|
@property
|
3950
4473
|
@pulumi.getter(name="timeoutSeconds")
|
3951
4474
|
def timeout_seconds(self) -> int:
|
4475
|
+
"""
|
4476
|
+
Number of seconds after which the probe times out.
|
4477
|
+
Defaults to 1 second. Minimum value is 1. Maximum value is 3600.
|
4478
|
+
Must be smaller than periodSeconds.
|
4479
|
+
"""
|
3952
4480
|
return pulumi.get(self, "timeout_seconds")
|
3953
4481
|
|
3954
4482
|
|
@@ -3957,17 +4485,33 @@ class GetServiceTemplateSpecContainerStartupProbeGrpcResult(dict):
|
|
3957
4485
|
def __init__(__self__, *,
|
3958
4486
|
port: int,
|
3959
4487
|
service: str):
|
4488
|
+
"""
|
4489
|
+
:param int port: Port number to access on the container. Number must be in the range 1 to 65535.
|
4490
|
+
If not specified, defaults to the same value as container.ports[0].containerPort.
|
4491
|
+
:param str service: The name of the service to place in the gRPC HealthCheckRequest
|
4492
|
+
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
4493
|
+
If this is not specified, the default behavior is defined by gRPC.
|
4494
|
+
"""
|
3960
4495
|
pulumi.set(__self__, "port", port)
|
3961
4496
|
pulumi.set(__self__, "service", service)
|
3962
4497
|
|
3963
4498
|
@property
|
3964
4499
|
@pulumi.getter
|
3965
4500
|
def port(self) -> int:
|
4501
|
+
"""
|
4502
|
+
Port number to access on the container. Number must be in the range 1 to 65535.
|
4503
|
+
If not specified, defaults to the same value as container.ports[0].containerPort.
|
4504
|
+
"""
|
3966
4505
|
return pulumi.get(self, "port")
|
3967
4506
|
|
3968
4507
|
@property
|
3969
4508
|
@pulumi.getter
|
3970
4509
|
def service(self) -> str:
|
4510
|
+
"""
|
4511
|
+
The name of the service to place in the gRPC HealthCheckRequest
|
4512
|
+
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
4513
|
+
If this is not specified, the default behavior is defined by gRPC.
|
4514
|
+
"""
|
3971
4515
|
return pulumi.get(self, "service")
|
3972
4516
|
|
3973
4517
|
|
@@ -3977,6 +4521,12 @@ class GetServiceTemplateSpecContainerStartupProbeHttpGetResult(dict):
|
|
3977
4521
|
http_headers: Sequence['outputs.GetServiceTemplateSpecContainerStartupProbeHttpGetHttpHeaderResult'],
|
3978
4522
|
path: str,
|
3979
4523
|
port: int):
|
4524
|
+
"""
|
4525
|
+
:param Sequence['GetServiceTemplateSpecContainerStartupProbeHttpGetHttpHeaderArgs'] http_headers: Custom headers to set in the request. HTTP allows repeated headers.
|
4526
|
+
:param str path: Path to access on the HTTP server. If set, it should not be empty string.
|
4527
|
+
:param int port: Port number to access on the container. Number must be in the range 1 to 65535.
|
4528
|
+
If not specified, defaults to the same value as container.ports[0].containerPort.
|
4529
|
+
"""
|
3980
4530
|
pulumi.set(__self__, "http_headers", http_headers)
|
3981
4531
|
pulumi.set(__self__, "path", path)
|
3982
4532
|
pulumi.set(__self__, "port", port)
|
@@ -3984,16 +4534,26 @@ class GetServiceTemplateSpecContainerStartupProbeHttpGetResult(dict):
|
|
3984
4534
|
@property
|
3985
4535
|
@pulumi.getter(name="httpHeaders")
|
3986
4536
|
def http_headers(self) -> Sequence['outputs.GetServiceTemplateSpecContainerStartupProbeHttpGetHttpHeaderResult']:
|
4537
|
+
"""
|
4538
|
+
Custom headers to set in the request. HTTP allows repeated headers.
|
4539
|
+
"""
|
3987
4540
|
return pulumi.get(self, "http_headers")
|
3988
4541
|
|
3989
4542
|
@property
|
3990
4543
|
@pulumi.getter
|
3991
4544
|
def path(self) -> str:
|
4545
|
+
"""
|
4546
|
+
Path to access on the HTTP server. If set, it should not be empty string.
|
4547
|
+
"""
|
3992
4548
|
return pulumi.get(self, "path")
|
3993
4549
|
|
3994
4550
|
@property
|
3995
4551
|
@pulumi.getter
|
3996
4552
|
def port(self) -> int:
|
4553
|
+
"""
|
4554
|
+
Port number to access on the container. Number must be in the range 1 to 65535.
|
4555
|
+
If not specified, defaults to the same value as container.ports[0].containerPort.
|
4556
|
+
"""
|
3997
4557
|
return pulumi.get(self, "port")
|
3998
4558
|
|
3999
4559
|
|
@@ -4004,6 +4564,7 @@ class GetServiceTemplateSpecContainerStartupProbeHttpGetHttpHeaderResult(dict):
|
|
4004
4564
|
value: str):
|
4005
4565
|
"""
|
4006
4566
|
:param str name: The name of the Cloud Run Service.
|
4567
|
+
:param str value: The header field value.
|
4007
4568
|
"""
|
4008
4569
|
pulumi.set(__self__, "name", name)
|
4009
4570
|
pulumi.set(__self__, "value", value)
|
@@ -4019,6 +4580,9 @@ class GetServiceTemplateSpecContainerStartupProbeHttpGetHttpHeaderResult(dict):
|
|
4019
4580
|
@property
|
4020
4581
|
@pulumi.getter
|
4021
4582
|
def value(self) -> str:
|
4583
|
+
"""
|
4584
|
+
The header field value.
|
4585
|
+
"""
|
4022
4586
|
return pulumi.get(self, "value")
|
4023
4587
|
|
4024
4588
|
|
@@ -4026,11 +4590,19 @@ class GetServiceTemplateSpecContainerStartupProbeHttpGetHttpHeaderResult(dict):
|
|
4026
4590
|
class GetServiceTemplateSpecContainerStartupProbeTcpSocketResult(dict):
|
4027
4591
|
def __init__(__self__, *,
|
4028
4592
|
port: int):
|
4593
|
+
"""
|
4594
|
+
:param int port: Port number to access on the container. Number must be in the range 1 to 65535.
|
4595
|
+
If not specified, defaults to the same value as container.ports[0].containerPort.
|
4596
|
+
"""
|
4029
4597
|
pulumi.set(__self__, "port", port)
|
4030
4598
|
|
4031
4599
|
@property
|
4032
4600
|
@pulumi.getter
|
4033
4601
|
def port(self) -> int:
|
4602
|
+
"""
|
4603
|
+
Port number to access on the container. Number must be in the range 1 to 65535.
|
4604
|
+
If not specified, defaults to the same value as container.ports[0].containerPort.
|
4605
|
+
"""
|
4034
4606
|
return pulumi.get(self, "port")
|
4035
4607
|
|
4036
4608
|
|
@@ -4040,6 +4612,8 @@ class GetServiceTemplateSpecContainerVolumeMountResult(dict):
|
|
4040
4612
|
mount_path: str,
|
4041
4613
|
name: str):
|
4042
4614
|
"""
|
4615
|
+
:param str mount_path: Path within the container at which the volume should be mounted. Must
|
4616
|
+
not contain ':'.
|
4043
4617
|
:param str name: The name of the Cloud Run Service.
|
4044
4618
|
"""
|
4045
4619
|
pulumi.set(__self__, "mount_path", mount_path)
|
@@ -4048,6 +4622,10 @@ class GetServiceTemplateSpecContainerVolumeMountResult(dict):
|
|
4048
4622
|
@property
|
4049
4623
|
@pulumi.getter(name="mountPath")
|
4050
4624
|
def mount_path(self) -> str:
|
4625
|
+
"""
|
4626
|
+
Path within the container at which the volume should be mounted. Must
|
4627
|
+
not contain ':'.
|
4628
|
+
"""
|
4051
4629
|
return pulumi.get(self, "mount_path")
|
4052
4630
|
|
4053
4631
|
@property
|
@@ -4066,7 +4644,11 @@ class GetServiceTemplateSpecVolumeResult(dict):
|
|
4066
4644
|
name: str,
|
4067
4645
|
secrets: Sequence['outputs.GetServiceTemplateSpecVolumeSecretResult']):
|
4068
4646
|
"""
|
4647
|
+
:param Sequence['GetServiceTemplateSpecVolumeEmptyDirArgs'] empty_dirs: Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
|
4069
4648
|
:param str name: The name of the Cloud Run Service.
|
4649
|
+
:param Sequence['GetServiceTemplateSpecVolumeSecretArgs'] secrets: The secret's value will be presented as the content of a file whose
|
4650
|
+
name is defined in the item path. If no items are defined, the name of
|
4651
|
+
the file is the secret_name.
|
4070
4652
|
"""
|
4071
4653
|
pulumi.set(__self__, "empty_dirs", empty_dirs)
|
4072
4654
|
pulumi.set(__self__, "name", name)
|
@@ -4075,6 +4657,9 @@ class GetServiceTemplateSpecVolumeResult(dict):
|
|
4075
4657
|
@property
|
4076
4658
|
@pulumi.getter(name="emptyDirs")
|
4077
4659
|
def empty_dirs(self) -> Sequence['outputs.GetServiceTemplateSpecVolumeEmptyDirResult']:
|
4660
|
+
"""
|
4661
|
+
Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
|
4662
|
+
"""
|
4078
4663
|
return pulumi.get(self, "empty_dirs")
|
4079
4664
|
|
4080
4665
|
@property
|
@@ -4088,6 +4673,11 @@ class GetServiceTemplateSpecVolumeResult(dict):
|
|
4088
4673
|
@property
|
4089
4674
|
@pulumi.getter
|
4090
4675
|
def secrets(self) -> Sequence['outputs.GetServiceTemplateSpecVolumeSecretResult']:
|
4676
|
+
"""
|
4677
|
+
The secret's value will be presented as the content of a file whose
|
4678
|
+
name is defined in the item path. If no items are defined, the name of
|
4679
|
+
the file is the secret_name.
|
4680
|
+
"""
|
4091
4681
|
return pulumi.get(self, "secrets")
|
4092
4682
|
|
4093
4683
|
|
@@ -4096,17 +4686,27 @@ class GetServiceTemplateSpecVolumeEmptyDirResult(dict):
|
|
4096
4686
|
def __init__(__self__, *,
|
4097
4687
|
medium: str,
|
4098
4688
|
size_limit: str):
|
4689
|
+
"""
|
4690
|
+
:param str medium: The medium on which the data is stored. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory.
|
4691
|
+
:param str size_limit: Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
|
4692
|
+
"""
|
4099
4693
|
pulumi.set(__self__, "medium", medium)
|
4100
4694
|
pulumi.set(__self__, "size_limit", size_limit)
|
4101
4695
|
|
4102
4696
|
@property
|
4103
4697
|
@pulumi.getter
|
4104
4698
|
def medium(self) -> str:
|
4699
|
+
"""
|
4700
|
+
The medium on which the data is stored. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory.
|
4701
|
+
"""
|
4105
4702
|
return pulumi.get(self, "medium")
|
4106
4703
|
|
4107
4704
|
@property
|
4108
4705
|
@pulumi.getter(name="sizeLimit")
|
4109
4706
|
def size_limit(self) -> str:
|
4707
|
+
"""
|
4708
|
+
Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
|
4709
|
+
"""
|
4110
4710
|
return pulumi.get(self, "size_limit")
|
4111
4711
|
|
4112
4712
|
|
@@ -4116,6 +4716,26 @@ class GetServiceTemplateSpecVolumeSecretResult(dict):
|
|
4116
4716
|
default_mode: int,
|
4117
4717
|
items: Sequence['outputs.GetServiceTemplateSpecVolumeSecretItemResult'],
|
4118
4718
|
secret_name: str):
|
4719
|
+
"""
|
4720
|
+
:param int default_mode: Mode bits to use on created files by default. Must be a value between 0000
|
4721
|
+
and 0777. Defaults to 0644. Directories within the path are not affected by
|
4722
|
+
this setting. This might be in conflict with other options that affect the
|
4723
|
+
file mode, like fsGroup, and the result can be other mode bits set.
|
4724
|
+
:param Sequence['GetServiceTemplateSpecVolumeSecretItemArgs'] items: If unspecified, the volume will expose a file whose name is the
|
4725
|
+
secret_name.
|
4726
|
+
If specified, the key will be used as the version to fetch from Cloud
|
4727
|
+
Secret Manager and the path will be the name of the file exposed in the
|
4728
|
+
volume. When items are defined, they must specify a key and a path.
|
4729
|
+
:param str secret_name: The name of the secret in Cloud Secret Manager. By default, the secret
|
4730
|
+
is assumed to be in the same project.
|
4731
|
+
If the secret is in another project, you must define an alias.
|
4732
|
+
An alias definition has the form:
|
4733
|
+
{alias}:projects/{project-id|project-number}/secrets/{secret-name}.
|
4734
|
+
If multiple alias definitions are needed, they must be separated by
|
4735
|
+
commas.
|
4736
|
+
The alias definitions must be set on the run.googleapis.com/secrets
|
4737
|
+
annotation.
|
4738
|
+
"""
|
4119
4739
|
pulumi.set(__self__, "default_mode", default_mode)
|
4120
4740
|
pulumi.set(__self__, "items", items)
|
4121
4741
|
pulumi.set(__self__, "secret_name", secret_name)
|
@@ -4123,16 +4743,40 @@ class GetServiceTemplateSpecVolumeSecretResult(dict):
|
|
4123
4743
|
@property
|
4124
4744
|
@pulumi.getter(name="defaultMode")
|
4125
4745
|
def default_mode(self) -> int:
|
4746
|
+
"""
|
4747
|
+
Mode bits to use on created files by default. Must be a value between 0000
|
4748
|
+
and 0777. Defaults to 0644. Directories within the path are not affected by
|
4749
|
+
this setting. This might be in conflict with other options that affect the
|
4750
|
+
file mode, like fsGroup, and the result can be other mode bits set.
|
4751
|
+
"""
|
4126
4752
|
return pulumi.get(self, "default_mode")
|
4127
4753
|
|
4128
4754
|
@property
|
4129
4755
|
@pulumi.getter
|
4130
4756
|
def items(self) -> Sequence['outputs.GetServiceTemplateSpecVolumeSecretItemResult']:
|
4757
|
+
"""
|
4758
|
+
If unspecified, the volume will expose a file whose name is the
|
4759
|
+
secret_name.
|
4760
|
+
If specified, the key will be used as the version to fetch from Cloud
|
4761
|
+
Secret Manager and the path will be the name of the file exposed in the
|
4762
|
+
volume. When items are defined, they must specify a key and a path.
|
4763
|
+
"""
|
4131
4764
|
return pulumi.get(self, "items")
|
4132
4765
|
|
4133
4766
|
@property
|
4134
4767
|
@pulumi.getter(name="secretName")
|
4135
4768
|
def secret_name(self) -> str:
|
4769
|
+
"""
|
4770
|
+
The name of the secret in Cloud Secret Manager. By default, the secret
|
4771
|
+
is assumed to be in the same project.
|
4772
|
+
If the secret is in another project, you must define an alias.
|
4773
|
+
An alias definition has the form:
|
4774
|
+
{alias}:projects/{project-id|project-number}/secrets/{secret-name}.
|
4775
|
+
If multiple alias definitions are needed, they must be separated by
|
4776
|
+
commas.
|
4777
|
+
The alias definitions must be set on the run.googleapis.com/secrets
|
4778
|
+
annotation.
|
4779
|
+
"""
|
4136
4780
|
return pulumi.get(self, "secret_name")
|
4137
4781
|
|
4138
4782
|
|
@@ -4142,6 +4786,18 @@ class GetServiceTemplateSpecVolumeSecretItemResult(dict):
|
|
4142
4786
|
key: str,
|
4143
4787
|
mode: int,
|
4144
4788
|
path: str):
|
4789
|
+
"""
|
4790
|
+
:param str key: The Cloud Secret Manager secret version.
|
4791
|
+
Can be 'latest' for the latest value or an integer for a specific version.
|
4792
|
+
:param int mode: Mode bits to use on this file, must be a value between 0000 and 0777. If
|
4793
|
+
not specified, the volume defaultMode will be used. This might be in
|
4794
|
+
conflict with other options that affect the file mode, like fsGroup, and
|
4795
|
+
the result can be other mode bits set.
|
4796
|
+
:param str path: The relative path of the file to map the key to.
|
4797
|
+
May not be an absolute path.
|
4798
|
+
May not contain the path element '..'.
|
4799
|
+
May not start with the string '..'.
|
4800
|
+
"""
|
4145
4801
|
pulumi.set(__self__, "key", key)
|
4146
4802
|
pulumi.set(__self__, "mode", mode)
|
4147
4803
|
pulumi.set(__self__, "path", path)
|
@@ -4149,16 +4805,32 @@ class GetServiceTemplateSpecVolumeSecretItemResult(dict):
|
|
4149
4805
|
@property
|
4150
4806
|
@pulumi.getter
|
4151
4807
|
def key(self) -> str:
|
4808
|
+
"""
|
4809
|
+
The Cloud Secret Manager secret version.
|
4810
|
+
Can be 'latest' for the latest value or an integer for a specific version.
|
4811
|
+
"""
|
4152
4812
|
return pulumi.get(self, "key")
|
4153
4813
|
|
4154
4814
|
@property
|
4155
4815
|
@pulumi.getter
|
4156
4816
|
def mode(self) -> int:
|
4817
|
+
"""
|
4818
|
+
Mode bits to use on this file, must be a value between 0000 and 0777. If
|
4819
|
+
not specified, the volume defaultMode will be used. This might be in
|
4820
|
+
conflict with other options that affect the file mode, like fsGroup, and
|
4821
|
+
the result can be other mode bits set.
|
4822
|
+
"""
|
4157
4823
|
return pulumi.get(self, "mode")
|
4158
4824
|
|
4159
4825
|
@property
|
4160
4826
|
@pulumi.getter
|
4161
4827
|
def path(self) -> str:
|
4828
|
+
"""
|
4829
|
+
The relative path of the file to map the key to.
|
4830
|
+
May not be an absolute path.
|
4831
|
+
May not contain the path element '..'.
|
4832
|
+
May not start with the string '..'.
|
4833
|
+
"""
|
4162
4834
|
return pulumi.get(self, "path")
|
4163
4835
|
|
4164
4836
|
|
@@ -4170,6 +4842,18 @@ class GetServiceTrafficResult(dict):
|
|
4170
4842
|
revision_name: str,
|
4171
4843
|
tag: str,
|
4172
4844
|
url: str):
|
4845
|
+
"""
|
4846
|
+
:param bool latest_revision: LatestRevision may be optionally provided to indicate that the latest ready
|
4847
|
+
Revision of the Configuration should be used for this traffic target. When
|
4848
|
+
provided LatestRevision must be true if RevisionName is empty; it must be
|
4849
|
+
false when RevisionName is non-empty.
|
4850
|
+
:param int percent: Percent specifies percent of the traffic to this Revision or Configuration.
|
4851
|
+
:param str revision_name: RevisionName of a specific revision to which to send this portion of traffic.
|
4852
|
+
:param str tag: Tag is optionally used to expose a dedicated url for referencing this target exclusively.
|
4853
|
+
:param str url: URL displays the URL for accessing tagged traffic targets. URL is displayed in status,
|
4854
|
+
and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname,
|
4855
|
+
but may not contain anything else (e.g. basic auth, url path, etc.)
|
4856
|
+
"""
|
4173
4857
|
pulumi.set(__self__, "latest_revision", latest_revision)
|
4174
4858
|
pulumi.set(__self__, "percent", percent)
|
4175
4859
|
pulumi.set(__self__, "revision_name", revision_name)
|
@@ -4179,26 +4863,46 @@ class GetServiceTrafficResult(dict):
|
|
4179
4863
|
@property
|
4180
4864
|
@pulumi.getter(name="latestRevision")
|
4181
4865
|
def latest_revision(self) -> bool:
|
4866
|
+
"""
|
4867
|
+
LatestRevision may be optionally provided to indicate that the latest ready
|
4868
|
+
Revision of the Configuration should be used for this traffic target. When
|
4869
|
+
provided LatestRevision must be true if RevisionName is empty; it must be
|
4870
|
+
false when RevisionName is non-empty.
|
4871
|
+
"""
|
4182
4872
|
return pulumi.get(self, "latest_revision")
|
4183
4873
|
|
4184
4874
|
@property
|
4185
4875
|
@pulumi.getter
|
4186
4876
|
def percent(self) -> int:
|
4877
|
+
"""
|
4878
|
+
Percent specifies percent of the traffic to this Revision or Configuration.
|
4879
|
+
"""
|
4187
4880
|
return pulumi.get(self, "percent")
|
4188
4881
|
|
4189
4882
|
@property
|
4190
4883
|
@pulumi.getter(name="revisionName")
|
4191
4884
|
def revision_name(self) -> str:
|
4885
|
+
"""
|
4886
|
+
RevisionName of a specific revision to which to send this portion of traffic.
|
4887
|
+
"""
|
4192
4888
|
return pulumi.get(self, "revision_name")
|
4193
4889
|
|
4194
4890
|
@property
|
4195
4891
|
@pulumi.getter
|
4196
4892
|
def tag(self) -> str:
|
4893
|
+
"""
|
4894
|
+
Tag is optionally used to expose a dedicated url for referencing this target exclusively.
|
4895
|
+
"""
|
4197
4896
|
return pulumi.get(self, "tag")
|
4198
4897
|
|
4199
4898
|
@property
|
4200
4899
|
@pulumi.getter
|
4201
4900
|
def url(self) -> str:
|
4901
|
+
"""
|
4902
|
+
URL displays the URL for accessing tagged traffic targets. URL is displayed in status,
|
4903
|
+
and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname,
|
4904
|
+
but may not contain anything else (e.g. basic auth, url path, etc.)
|
4905
|
+
"""
|
4202
4906
|
return pulumi.get(self, "url")
|
4203
4907
|
|
4204
4908
|
|