pulumi-gcp 8.19.0a1739290509__py3-none-any.whl → 8.19.1a1739444689__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +80 -0
- pulumi_gcp/_utilities.py +8 -4
- pulumi_gcp/accesscontextmanager/_inputs.py +288 -78
- pulumi_gcp/accesscontextmanager/outputs.py +186 -54
- pulumi_gcp/appengine/_inputs.py +3 -0
- pulumi_gcp/appengine/outputs.py +2 -0
- pulumi_gcp/beyondcorp/__init__.py +5 -0
- pulumi_gcp/beyondcorp/_inputs.py +189 -0
- pulumi_gcp/beyondcorp/application.py +604 -0
- pulumi_gcp/beyondcorp/application_iam_binding.py +1049 -0
- pulumi_gcp/beyondcorp/application_iam_member.py +1049 -0
- pulumi_gcp/beyondcorp/application_iam_policy.py +868 -0
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +174 -0
- pulumi_gcp/beyondcorp/outputs.py +111 -0
- pulumi_gcp/bigqueryanalyticshub/__init__.py +1 -0
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +318 -0
- pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +808 -0
- pulumi_gcp/bigqueryanalyticshub/outputs.py +263 -0
- pulumi_gcp/certificateauthority/_inputs.py +54 -0
- pulumi_gcp/certificateauthority/authority.py +149 -3
- pulumi_gcp/certificateauthority/get_authority.py +15 -4
- pulumi_gcp/certificateauthority/outputs.py +81 -0
- pulumi_gcp/cloudrunv2/_inputs.py +112 -0
- pulumi_gcp/cloudrunv2/outputs.py +144 -1
- pulumi_gcp/cloudrunv2/service.py +2 -0
- pulumi_gcp/colab/__init__.py +2 -0
- pulumi_gcp/colab/_inputs.py +655 -0
- pulumi_gcp/colab/notebook_execution.py +1259 -0
- pulumi_gcp/colab/outputs.py +512 -0
- pulumi_gcp/colab/runtime.py +266 -2
- pulumi_gcp/colab/runtime_template.py +79 -3
- pulumi_gcp/colab/schedule.py +1318 -0
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +204 -0
- pulumi_gcp/compute/firewall_policy.py +54 -43
- pulumi_gcp/compute/forwarding_rule.py +103 -0
- pulumi_gcp/compute/get_forwarding_rule.py +12 -1
- pulumi_gcp/compute/interconnect_attachment.py +12 -0
- pulumi_gcp/compute/network_firewall_policy_packet_mirroring_rule.py +1011 -0
- pulumi_gcp/compute/outputs.py +187 -0
- pulumi_gcp/compute/public_advertised_prefix.py +35 -7
- pulumi_gcp/compute/public_delegated_prefix.py +171 -7
- pulumi_gcp/compute/region_resize_request.py +21 -22
- pulumi_gcp/compute/resize_request.py +22 -23
- pulumi_gcp/compute/subnetwork.py +14 -7
- pulumi_gcp/container/_inputs.py +54 -1
- pulumi_gcp/container/outputs.py +79 -1
- pulumi_gcp/datastream/connection_profile.py +120 -46
- pulumi_gcp/discoveryengine/chat_engine.py +7 -7
- pulumi_gcp/filestore/_inputs.py +222 -0
- pulumi_gcp/filestore/get_instance.py +23 -1
- pulumi_gcp/filestore/instance.py +86 -0
- pulumi_gcp/filestore/outputs.py +282 -0
- pulumi_gcp/gemini/__init__.py +2 -0
- pulumi_gcp/gemini/logging_setting.py +671 -0
- pulumi_gcp/gemini/release_channel_setting.py +639 -0
- pulumi_gcp/memorystore/_inputs.py +296 -0
- pulumi_gcp/memorystore/instance.py +32 -28
- pulumi_gcp/memorystore/outputs.py +224 -0
- pulumi_gcp/monitoring/_inputs.py +12 -9
- pulumi_gcp/monitoring/outputs.py +8 -6
- pulumi_gcp/networkservices/_inputs.py +89 -0
- pulumi_gcp/networkservices/outputs.py +75 -0
- pulumi_gcp/parametermanager/__init__.py +2 -0
- pulumi_gcp/parametermanager/get_parameter_version_render.py +199 -0
- pulumi_gcp/parametermanager/get_regional_parameter_version_render.py +220 -0
- pulumi_gcp/privilegedaccessmanager/entitlement.py +14 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securesourcemanager/branch_rule.py +4 -0
- pulumi_gcp/securesourcemanager/repository.py +4 -0
- pulumi_gcp/storage/bucket_object.py +8 -0
- pulumi_gcp/workbench/instance.py +70 -2
- {pulumi_gcp-8.19.0a1739290509.dist-info → pulumi_gcp-8.19.1a1739444689.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.19.0a1739290509.dist-info → pulumi_gcp-8.19.1a1739444689.dist-info}/RECORD +76 -63
- {pulumi_gcp-8.19.0a1739290509.dist-info → pulumi_gcp-8.19.1a1739444689.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.19.0a1739290509.dist-info → pulumi_gcp-8.19.1a1739444689.dist-info}/top_level.txt +0 -0
@@ -35,6 +35,7 @@ __all__ = [
|
|
35
35
|
'AuthorityKeySpec',
|
36
36
|
'AuthoritySubordinateConfig',
|
37
37
|
'AuthoritySubordinateConfigPemIssuerChain',
|
38
|
+
'AuthorityUserDefinedAccessUrls',
|
38
39
|
'CaPoolIamBindingCondition',
|
39
40
|
'CaPoolIamMemberCondition',
|
40
41
|
'CaPoolIssuancePolicy',
|
@@ -126,6 +127,7 @@ __all__ = [
|
|
126
127
|
'GetAuthorityKeySpecResult',
|
127
128
|
'GetAuthoritySubordinateConfigResult',
|
128
129
|
'GetAuthoritySubordinateConfigPemIssuerChainResult',
|
130
|
+
'GetAuthorityUserDefinedAccessUrlResult',
|
129
131
|
]
|
130
132
|
|
131
133
|
@pulumi.output_type
|
@@ -1575,6 +1577,56 @@ class AuthoritySubordinateConfigPemIssuerChain(dict):
|
|
1575
1577
|
return pulumi.get(self, "pem_certificates")
|
1576
1578
|
|
1577
1579
|
|
1580
|
+
@pulumi.output_type
|
1581
|
+
class AuthorityUserDefinedAccessUrls(dict):
|
1582
|
+
@staticmethod
|
1583
|
+
def __key_warning(key: str):
|
1584
|
+
suggest = None
|
1585
|
+
if key == "aiaIssuingCertificateUrls":
|
1586
|
+
suggest = "aia_issuing_certificate_urls"
|
1587
|
+
elif key == "crlAccessUrls":
|
1588
|
+
suggest = "crl_access_urls"
|
1589
|
+
|
1590
|
+
if suggest:
|
1591
|
+
pulumi.log.warn(f"Key '{key}' not found in AuthorityUserDefinedAccessUrls. Access the value via the '{suggest}' property getter instead.")
|
1592
|
+
|
1593
|
+
def __getitem__(self, key: str) -> Any:
|
1594
|
+
AuthorityUserDefinedAccessUrls.__key_warning(key)
|
1595
|
+
return super().__getitem__(key)
|
1596
|
+
|
1597
|
+
def get(self, key: str, default = None) -> Any:
|
1598
|
+
AuthorityUserDefinedAccessUrls.__key_warning(key)
|
1599
|
+
return super().get(key, default)
|
1600
|
+
|
1601
|
+
def __init__(__self__, *,
|
1602
|
+
aia_issuing_certificate_urls: Optional[Sequence[str]] = None,
|
1603
|
+
crl_access_urls: Optional[Sequence[str]] = None):
|
1604
|
+
"""
|
1605
|
+
:param Sequence[str] aia_issuing_certificate_urls: A list of URLs where this CertificateAuthority's CA certificate is published that is specified by users.
|
1606
|
+
:param Sequence[str] crl_access_urls: A list of URLs where this CertificateAuthority's CRLs are published that is specified by users.
|
1607
|
+
"""
|
1608
|
+
if aia_issuing_certificate_urls is not None:
|
1609
|
+
pulumi.set(__self__, "aia_issuing_certificate_urls", aia_issuing_certificate_urls)
|
1610
|
+
if crl_access_urls is not None:
|
1611
|
+
pulumi.set(__self__, "crl_access_urls", crl_access_urls)
|
1612
|
+
|
1613
|
+
@property
|
1614
|
+
@pulumi.getter(name="aiaIssuingCertificateUrls")
|
1615
|
+
def aia_issuing_certificate_urls(self) -> Optional[Sequence[str]]:
|
1616
|
+
"""
|
1617
|
+
A list of URLs where this CertificateAuthority's CA certificate is published that is specified by users.
|
1618
|
+
"""
|
1619
|
+
return pulumi.get(self, "aia_issuing_certificate_urls")
|
1620
|
+
|
1621
|
+
@property
|
1622
|
+
@pulumi.getter(name="crlAccessUrls")
|
1623
|
+
def crl_access_urls(self) -> Optional[Sequence[str]]:
|
1624
|
+
"""
|
1625
|
+
A list of URLs where this CertificateAuthority's CRLs are published that is specified by users.
|
1626
|
+
"""
|
1627
|
+
return pulumi.get(self, "crl_access_urls")
|
1628
|
+
|
1629
|
+
|
1578
1630
|
@pulumi.output_type
|
1579
1631
|
class CaPoolIamBindingCondition(dict):
|
1580
1632
|
def __init__(__self__, *,
|
@@ -7902,3 +7954,32 @@ class GetAuthoritySubordinateConfigPemIssuerChainResult(dict):
|
|
7902
7954
|
return pulumi.get(self, "pem_certificates")
|
7903
7955
|
|
7904
7956
|
|
7957
|
+
@pulumi.output_type
|
7958
|
+
class GetAuthorityUserDefinedAccessUrlResult(dict):
|
7959
|
+
def __init__(__self__, *,
|
7960
|
+
aia_issuing_certificate_urls: Sequence[str],
|
7961
|
+
crl_access_urls: Sequence[str]):
|
7962
|
+
"""
|
7963
|
+
:param Sequence[str] aia_issuing_certificate_urls: A list of URLs where this CertificateAuthority's CA certificate is published that is specified by users.
|
7964
|
+
:param Sequence[str] crl_access_urls: A list of URLs where this CertificateAuthority's CRLs are published that is specified by users.
|
7965
|
+
"""
|
7966
|
+
pulumi.set(__self__, "aia_issuing_certificate_urls", aia_issuing_certificate_urls)
|
7967
|
+
pulumi.set(__self__, "crl_access_urls", crl_access_urls)
|
7968
|
+
|
7969
|
+
@property
|
7970
|
+
@pulumi.getter(name="aiaIssuingCertificateUrls")
|
7971
|
+
def aia_issuing_certificate_urls(self) -> Sequence[str]:
|
7972
|
+
"""
|
7973
|
+
A list of URLs where this CertificateAuthority's CA certificate is published that is specified by users.
|
7974
|
+
"""
|
7975
|
+
return pulumi.get(self, "aia_issuing_certificate_urls")
|
7976
|
+
|
7977
|
+
@property
|
7978
|
+
@pulumi.getter(name="crlAccessUrls")
|
7979
|
+
def crl_access_urls(self) -> Sequence[str]:
|
7980
|
+
"""
|
7981
|
+
A list of URLs where this CertificateAuthority's CRLs are published that is specified by users.
|
7982
|
+
"""
|
7983
|
+
return pulumi.get(self, "crl_access_urls")
|
7984
|
+
|
7985
|
+
|
pulumi_gcp/cloudrunv2/_inputs.py
CHANGED
@@ -79,6 +79,8 @@ __all__ = [
|
|
79
79
|
'ServiceTemplateArgsDict',
|
80
80
|
'ServiceTemplateContainerArgs',
|
81
81
|
'ServiceTemplateContainerArgsDict',
|
82
|
+
'ServiceTemplateContainerBuildInfoArgs',
|
83
|
+
'ServiceTemplateContainerBuildInfoArgsDict',
|
82
84
|
'ServiceTemplateContainerEnvArgs',
|
83
85
|
'ServiceTemplateContainerEnvArgsDict',
|
84
86
|
'ServiceTemplateContainerEnvValueSourceArgs',
|
@@ -3266,6 +3268,16 @@ if not MYPY:
|
|
3266
3268
|
"""
|
3267
3269
|
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
|
3268
3270
|
"""
|
3271
|
+
base_image_uri: NotRequired[pulumi.Input[str]]
|
3272
|
+
"""
|
3273
|
+
Base image for this container. If set, it indicates that the service is enrolled into automatic base image update.
|
3274
|
+
"""
|
3275
|
+
build_infos: NotRequired[pulumi.Input[Sequence[pulumi.Input['ServiceTemplateContainerBuildInfoArgsDict']]]]
|
3276
|
+
"""
|
3277
|
+
(Output)
|
3278
|
+
The build info of the container image.
|
3279
|
+
Structure is documented below.
|
3280
|
+
"""
|
3269
3281
|
commands: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
3270
3282
|
"""
|
3271
3283
|
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
|
@@ -3321,6 +3333,8 @@ class ServiceTemplateContainerArgs:
|
|
3321
3333
|
def __init__(__self__, *,
|
3322
3334
|
image: pulumi.Input[str],
|
3323
3335
|
args: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
3336
|
+
base_image_uri: Optional[pulumi.Input[str]] = None,
|
3337
|
+
build_infos: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceTemplateContainerBuildInfoArgs']]]] = None,
|
3324
3338
|
commands: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
3325
3339
|
depends_ons: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
3326
3340
|
envs: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceTemplateContainerEnvArgs']]]] = None,
|
@@ -3334,6 +3348,10 @@ class ServiceTemplateContainerArgs:
|
|
3334
3348
|
"""
|
3335
3349
|
:param pulumi.Input[str] image: URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
|
3336
3350
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] args: Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
|
3351
|
+
:param pulumi.Input[str] base_image_uri: Base image for this container. If set, it indicates that the service is enrolled into automatic base image update.
|
3352
|
+
:param pulumi.Input[Sequence[pulumi.Input['ServiceTemplateContainerBuildInfoArgs']]] build_infos: (Output)
|
3353
|
+
The build info of the container image.
|
3354
|
+
Structure is documented below.
|
3337
3355
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] commands: Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
|
3338
3356
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] depends_ons: Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
|
3339
3357
|
:param pulumi.Input[Sequence[pulumi.Input['ServiceTemplateContainerEnvArgs']]] envs: List of environment variables to set in the container.
|
@@ -3355,6 +3373,10 @@ class ServiceTemplateContainerArgs:
|
|
3355
3373
|
pulumi.set(__self__, "image", image)
|
3356
3374
|
if args is not None:
|
3357
3375
|
pulumi.set(__self__, "args", args)
|
3376
|
+
if base_image_uri is not None:
|
3377
|
+
pulumi.set(__self__, "base_image_uri", base_image_uri)
|
3378
|
+
if build_infos is not None:
|
3379
|
+
pulumi.set(__self__, "build_infos", build_infos)
|
3358
3380
|
if commands is not None:
|
3359
3381
|
pulumi.set(__self__, "commands", commands)
|
3360
3382
|
if depends_ons is not None:
|
@@ -3400,6 +3422,32 @@ class ServiceTemplateContainerArgs:
|
|
3400
3422
|
def args(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
3401
3423
|
pulumi.set(self, "args", value)
|
3402
3424
|
|
3425
|
+
@property
|
3426
|
+
@pulumi.getter(name="baseImageUri")
|
3427
|
+
def base_image_uri(self) -> Optional[pulumi.Input[str]]:
|
3428
|
+
"""
|
3429
|
+
Base image for this container. If set, it indicates that the service is enrolled into automatic base image update.
|
3430
|
+
"""
|
3431
|
+
return pulumi.get(self, "base_image_uri")
|
3432
|
+
|
3433
|
+
@base_image_uri.setter
|
3434
|
+
def base_image_uri(self, value: Optional[pulumi.Input[str]]):
|
3435
|
+
pulumi.set(self, "base_image_uri", value)
|
3436
|
+
|
3437
|
+
@property
|
3438
|
+
@pulumi.getter(name="buildInfos")
|
3439
|
+
def build_infos(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ServiceTemplateContainerBuildInfoArgs']]]]:
|
3440
|
+
"""
|
3441
|
+
(Output)
|
3442
|
+
The build info of the container image.
|
3443
|
+
Structure is documented below.
|
3444
|
+
"""
|
3445
|
+
return pulumi.get(self, "build_infos")
|
3446
|
+
|
3447
|
+
@build_infos.setter
|
3448
|
+
def build_infos(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceTemplateContainerBuildInfoArgs']]]]):
|
3449
|
+
pulumi.set(self, "build_infos", value)
|
3450
|
+
|
3403
3451
|
@property
|
3404
3452
|
@pulumi.getter
|
3405
3453
|
def commands(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
@@ -3528,6 +3576,58 @@ class ServiceTemplateContainerArgs:
|
|
3528
3576
|
pulumi.set(self, "working_dir", value)
|
3529
3577
|
|
3530
3578
|
|
3579
|
+
if not MYPY:
|
3580
|
+
class ServiceTemplateContainerBuildInfoArgsDict(TypedDict):
|
3581
|
+
function_target: NotRequired[pulumi.Input[str]]
|
3582
|
+
"""
|
3583
|
+
Entry point of the function when the image is a Cloud Run function.
|
3584
|
+
"""
|
3585
|
+
source_location: NotRequired[pulumi.Input[str]]
|
3586
|
+
"""
|
3587
|
+
Source code location of the image.
|
3588
|
+
"""
|
3589
|
+
elif False:
|
3590
|
+
ServiceTemplateContainerBuildInfoArgsDict: TypeAlias = Mapping[str, Any]
|
3591
|
+
|
3592
|
+
@pulumi.input_type
|
3593
|
+
class ServiceTemplateContainerBuildInfoArgs:
|
3594
|
+
def __init__(__self__, *,
|
3595
|
+
function_target: Optional[pulumi.Input[str]] = None,
|
3596
|
+
source_location: Optional[pulumi.Input[str]] = None):
|
3597
|
+
"""
|
3598
|
+
:param pulumi.Input[str] function_target: Entry point of the function when the image is a Cloud Run function.
|
3599
|
+
:param pulumi.Input[str] source_location: Source code location of the image.
|
3600
|
+
"""
|
3601
|
+
if function_target is not None:
|
3602
|
+
pulumi.set(__self__, "function_target", function_target)
|
3603
|
+
if source_location is not None:
|
3604
|
+
pulumi.set(__self__, "source_location", source_location)
|
3605
|
+
|
3606
|
+
@property
|
3607
|
+
@pulumi.getter(name="functionTarget")
|
3608
|
+
def function_target(self) -> Optional[pulumi.Input[str]]:
|
3609
|
+
"""
|
3610
|
+
Entry point of the function when the image is a Cloud Run function.
|
3611
|
+
"""
|
3612
|
+
return pulumi.get(self, "function_target")
|
3613
|
+
|
3614
|
+
@function_target.setter
|
3615
|
+
def function_target(self, value: Optional[pulumi.Input[str]]):
|
3616
|
+
pulumi.set(self, "function_target", value)
|
3617
|
+
|
3618
|
+
@property
|
3619
|
+
@pulumi.getter(name="sourceLocation")
|
3620
|
+
def source_location(self) -> Optional[pulumi.Input[str]]:
|
3621
|
+
"""
|
3622
|
+
Source code location of the image.
|
3623
|
+
"""
|
3624
|
+
return pulumi.get(self, "source_location")
|
3625
|
+
|
3626
|
+
@source_location.setter
|
3627
|
+
def source_location(self, value: Optional[pulumi.Input[str]]):
|
3628
|
+
pulumi.set(self, "source_location", value)
|
3629
|
+
|
3630
|
+
|
3531
3631
|
if not MYPY:
|
3532
3632
|
class ServiceTemplateContainerEnvArgsDict(TypedDict):
|
3533
3633
|
name: pulumi.Input[str]
|
@@ -3861,6 +3961,8 @@ if not MYPY:
|
|
3861
3961
|
The name of the service to place in the gRPC HealthCheckRequest
|
3862
3962
|
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
3863
3963
|
If this is not specified, the default behavior is defined by gRPC.
|
3964
|
+
|
3965
|
+
<a name="nested_template_containers_containers_build_info"></a>The `build_info` block contains:
|
3864
3966
|
"""
|
3865
3967
|
elif False:
|
3866
3968
|
ServiceTemplateContainerLivenessProbeGrpcArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -3876,6 +3978,8 @@ class ServiceTemplateContainerLivenessProbeGrpcArgs:
|
|
3876
3978
|
:param pulumi.Input[str] service: The name of the service to place in the gRPC HealthCheckRequest
|
3877
3979
|
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
3878
3980
|
If this is not specified, the default behavior is defined by gRPC.
|
3981
|
+
|
3982
|
+
<a name="nested_template_containers_containers_build_info"></a>The `build_info` block contains:
|
3879
3983
|
"""
|
3880
3984
|
if port is not None:
|
3881
3985
|
pulumi.set(__self__, "port", port)
|
@@ -3902,6 +4006,8 @@ class ServiceTemplateContainerLivenessProbeGrpcArgs:
|
|
3902
4006
|
The name of the service to place in the gRPC HealthCheckRequest
|
3903
4007
|
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
3904
4008
|
If this is not specified, the default behavior is defined by gRPC.
|
4009
|
+
|
4010
|
+
<a name="nested_template_containers_containers_build_info"></a>The `build_info` block contains:
|
3905
4011
|
"""
|
3906
4012
|
return pulumi.get(self, "service")
|
3907
4013
|
|
@@ -4373,6 +4479,8 @@ if not MYPY:
|
|
4373
4479
|
The name of the service to place in the gRPC HealthCheckRequest
|
4374
4480
|
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
4375
4481
|
If this is not specified, the default behavior is defined by gRPC.
|
4482
|
+
|
4483
|
+
<a name="nested_template_containers_containers_build_info"></a>The `build_info` block contains:
|
4376
4484
|
"""
|
4377
4485
|
elif False:
|
4378
4486
|
ServiceTemplateContainerStartupProbeGrpcArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -4388,6 +4496,8 @@ class ServiceTemplateContainerStartupProbeGrpcArgs:
|
|
4388
4496
|
:param pulumi.Input[str] service: The name of the service to place in the gRPC HealthCheckRequest
|
4389
4497
|
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
4390
4498
|
If this is not specified, the default behavior is defined by gRPC.
|
4499
|
+
|
4500
|
+
<a name="nested_template_containers_containers_build_info"></a>The `build_info` block contains:
|
4391
4501
|
"""
|
4392
4502
|
if port is not None:
|
4393
4503
|
pulumi.set(__self__, "port", port)
|
@@ -4414,6 +4524,8 @@ class ServiceTemplateContainerStartupProbeGrpcArgs:
|
|
4414
4524
|
The name of the service to place in the gRPC HealthCheckRequest
|
4415
4525
|
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
4416
4526
|
If this is not specified, the default behavior is defined by gRPC.
|
4527
|
+
|
4528
|
+
<a name="nested_template_containers_containers_build_info"></a>The `build_info` block contains:
|
4417
4529
|
"""
|
4418
4530
|
return pulumi.get(self, "service")
|
4419
4531
|
|
pulumi_gcp/cloudrunv2/outputs.py
CHANGED
@@ -48,6 +48,7 @@ __all__ = [
|
|
48
48
|
'ServiceScaling',
|
49
49
|
'ServiceTemplate',
|
50
50
|
'ServiceTemplateContainer',
|
51
|
+
'ServiceTemplateContainerBuildInfo',
|
51
52
|
'ServiceTemplateContainerEnv',
|
52
53
|
'ServiceTemplateContainerEnvValueSource',
|
53
54
|
'ServiceTemplateContainerEnvValueSourceSecretKeyRef',
|
@@ -107,6 +108,7 @@ __all__ = [
|
|
107
108
|
'GetServiceScalingResult',
|
108
109
|
'GetServiceTemplateResult',
|
109
110
|
'GetServiceTemplateContainerResult',
|
111
|
+
'GetServiceTemplateContainerBuildInfoResult',
|
110
112
|
'GetServiceTemplateContainerEnvResult',
|
111
113
|
'GetServiceTemplateContainerEnvValueSourceResult',
|
112
114
|
'GetServiceTemplateContainerEnvValueSourceSecretKeyRefResult',
|
@@ -2447,7 +2449,11 @@ class ServiceTemplateContainer(dict):
|
|
2447
2449
|
@staticmethod
|
2448
2450
|
def __key_warning(key: str):
|
2449
2451
|
suggest = None
|
2450
|
-
if key == "
|
2452
|
+
if key == "baseImageUri":
|
2453
|
+
suggest = "base_image_uri"
|
2454
|
+
elif key == "buildInfos":
|
2455
|
+
suggest = "build_infos"
|
2456
|
+
elif key == "dependsOns":
|
2451
2457
|
suggest = "depends_ons"
|
2452
2458
|
elif key == "livenessProbe":
|
2453
2459
|
suggest = "liveness_probe"
|
@@ -2472,6 +2478,8 @@ class ServiceTemplateContainer(dict):
|
|
2472
2478
|
def __init__(__self__, *,
|
2473
2479
|
image: str,
|
2474
2480
|
args: Optional[Sequence[str]] = None,
|
2481
|
+
base_image_uri: Optional[str] = None,
|
2482
|
+
build_infos: Optional[Sequence['outputs.ServiceTemplateContainerBuildInfo']] = None,
|
2475
2483
|
commands: Optional[Sequence[str]] = None,
|
2476
2484
|
depends_ons: Optional[Sequence[str]] = None,
|
2477
2485
|
envs: Optional[Sequence['outputs.ServiceTemplateContainerEnv']] = None,
|
@@ -2485,6 +2493,10 @@ class ServiceTemplateContainer(dict):
|
|
2485
2493
|
"""
|
2486
2494
|
:param str image: URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
|
2487
2495
|
:param Sequence[str] args: Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
|
2496
|
+
:param str base_image_uri: Base image for this container. If set, it indicates that the service is enrolled into automatic base image update.
|
2497
|
+
:param Sequence['ServiceTemplateContainerBuildInfoArgs'] build_infos: (Output)
|
2498
|
+
The build info of the container image.
|
2499
|
+
Structure is documented below.
|
2488
2500
|
:param Sequence[str] commands: Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
|
2489
2501
|
:param Sequence[str] depends_ons: Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
|
2490
2502
|
:param Sequence['ServiceTemplateContainerEnvArgs'] envs: List of environment variables to set in the container.
|
@@ -2506,6 +2518,10 @@ class ServiceTemplateContainer(dict):
|
|
2506
2518
|
pulumi.set(__self__, "image", image)
|
2507
2519
|
if args is not None:
|
2508
2520
|
pulumi.set(__self__, "args", args)
|
2521
|
+
if base_image_uri is not None:
|
2522
|
+
pulumi.set(__self__, "base_image_uri", base_image_uri)
|
2523
|
+
if build_infos is not None:
|
2524
|
+
pulumi.set(__self__, "build_infos", build_infos)
|
2509
2525
|
if commands is not None:
|
2510
2526
|
pulumi.set(__self__, "commands", commands)
|
2511
2527
|
if depends_ons is not None:
|
@@ -2543,6 +2559,24 @@ class ServiceTemplateContainer(dict):
|
|
2543
2559
|
"""
|
2544
2560
|
return pulumi.get(self, "args")
|
2545
2561
|
|
2562
|
+
@property
|
2563
|
+
@pulumi.getter(name="baseImageUri")
|
2564
|
+
def base_image_uri(self) -> Optional[str]:
|
2565
|
+
"""
|
2566
|
+
Base image for this container. If set, it indicates that the service is enrolled into automatic base image update.
|
2567
|
+
"""
|
2568
|
+
return pulumi.get(self, "base_image_uri")
|
2569
|
+
|
2570
|
+
@property
|
2571
|
+
@pulumi.getter(name="buildInfos")
|
2572
|
+
def build_infos(self) -> Optional[Sequence['outputs.ServiceTemplateContainerBuildInfo']]:
|
2573
|
+
"""
|
2574
|
+
(Output)
|
2575
|
+
The build info of the container image.
|
2576
|
+
Structure is documented below.
|
2577
|
+
"""
|
2578
|
+
return pulumi.get(self, "build_infos")
|
2579
|
+
|
2546
2580
|
@property
|
2547
2581
|
@pulumi.getter
|
2548
2582
|
def commands(self) -> Optional[Sequence[str]]:
|
@@ -2631,6 +2665,56 @@ class ServiceTemplateContainer(dict):
|
|
2631
2665
|
return pulumi.get(self, "working_dir")
|
2632
2666
|
|
2633
2667
|
|
2668
|
+
@pulumi.output_type
|
2669
|
+
class ServiceTemplateContainerBuildInfo(dict):
|
2670
|
+
@staticmethod
|
2671
|
+
def __key_warning(key: str):
|
2672
|
+
suggest = None
|
2673
|
+
if key == "functionTarget":
|
2674
|
+
suggest = "function_target"
|
2675
|
+
elif key == "sourceLocation":
|
2676
|
+
suggest = "source_location"
|
2677
|
+
|
2678
|
+
if suggest:
|
2679
|
+
pulumi.log.warn(f"Key '{key}' not found in ServiceTemplateContainerBuildInfo. Access the value via the '{suggest}' property getter instead.")
|
2680
|
+
|
2681
|
+
def __getitem__(self, key: str) -> Any:
|
2682
|
+
ServiceTemplateContainerBuildInfo.__key_warning(key)
|
2683
|
+
return super().__getitem__(key)
|
2684
|
+
|
2685
|
+
def get(self, key: str, default = None) -> Any:
|
2686
|
+
ServiceTemplateContainerBuildInfo.__key_warning(key)
|
2687
|
+
return super().get(key, default)
|
2688
|
+
|
2689
|
+
def __init__(__self__, *,
|
2690
|
+
function_target: Optional[str] = None,
|
2691
|
+
source_location: Optional[str] = None):
|
2692
|
+
"""
|
2693
|
+
:param str function_target: Entry point of the function when the image is a Cloud Run function.
|
2694
|
+
:param str source_location: Source code location of the image.
|
2695
|
+
"""
|
2696
|
+
if function_target is not None:
|
2697
|
+
pulumi.set(__self__, "function_target", function_target)
|
2698
|
+
if source_location is not None:
|
2699
|
+
pulumi.set(__self__, "source_location", source_location)
|
2700
|
+
|
2701
|
+
@property
|
2702
|
+
@pulumi.getter(name="functionTarget")
|
2703
|
+
def function_target(self) -> Optional[str]:
|
2704
|
+
"""
|
2705
|
+
Entry point of the function when the image is a Cloud Run function.
|
2706
|
+
"""
|
2707
|
+
return pulumi.get(self, "function_target")
|
2708
|
+
|
2709
|
+
@property
|
2710
|
+
@pulumi.getter(name="sourceLocation")
|
2711
|
+
def source_location(self) -> Optional[str]:
|
2712
|
+
"""
|
2713
|
+
Source code location of the image.
|
2714
|
+
"""
|
2715
|
+
return pulumi.get(self, "source_location")
|
2716
|
+
|
2717
|
+
|
2634
2718
|
@pulumi.output_type
|
2635
2719
|
class ServiceTemplateContainerEnv(dict):
|
2636
2720
|
@staticmethod
|
@@ -2895,6 +2979,8 @@ class ServiceTemplateContainerLivenessProbeGrpc(dict):
|
|
2895
2979
|
:param str service: The name of the service to place in the gRPC HealthCheckRequest
|
2896
2980
|
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
2897
2981
|
If this is not specified, the default behavior is defined by gRPC.
|
2982
|
+
|
2983
|
+
<a name="nested_template_containers_containers_build_info"></a>The `build_info` block contains:
|
2898
2984
|
"""
|
2899
2985
|
if port is not None:
|
2900
2986
|
pulumi.set(__self__, "port", port)
|
@@ -2917,6 +3003,8 @@ class ServiceTemplateContainerLivenessProbeGrpc(dict):
|
|
2917
3003
|
The name of the service to place in the gRPC HealthCheckRequest
|
2918
3004
|
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
2919
3005
|
If this is not specified, the default behavior is defined by gRPC.
|
3006
|
+
|
3007
|
+
<a name="nested_template_containers_containers_build_info"></a>The `build_info` block contains:
|
2920
3008
|
"""
|
2921
3009
|
return pulumi.get(self, "service")
|
2922
3010
|
|
@@ -3282,6 +3370,8 @@ class ServiceTemplateContainerStartupProbeGrpc(dict):
|
|
3282
3370
|
:param str service: The name of the service to place in the gRPC HealthCheckRequest
|
3283
3371
|
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
3284
3372
|
If this is not specified, the default behavior is defined by gRPC.
|
3373
|
+
|
3374
|
+
<a name="nested_template_containers_containers_build_info"></a>The `build_info` block contains:
|
3285
3375
|
"""
|
3286
3376
|
if port is not None:
|
3287
3377
|
pulumi.set(__self__, "port", port)
|
@@ -3304,6 +3394,8 @@ class ServiceTemplateContainerStartupProbeGrpc(dict):
|
|
3304
3394
|
The name of the service to place in the gRPC HealthCheckRequest
|
3305
3395
|
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
3306
3396
|
If this is not specified, the default behavior is defined by gRPC.
|
3397
|
+
|
3398
|
+
<a name="nested_template_containers_containers_build_info"></a>The `build_info` block contains:
|
3307
3399
|
"""
|
3308
3400
|
return pulumi.get(self, "service")
|
3309
3401
|
|
@@ -5928,6 +6020,8 @@ class GetServiceTemplateResult(dict):
|
|
5928
6020
|
class GetServiceTemplateContainerResult(dict):
|
5929
6021
|
def __init__(__self__, *,
|
5930
6022
|
args: Sequence[str],
|
6023
|
+
base_image_uri: str,
|
6024
|
+
build_infos: Sequence['outputs.GetServiceTemplateContainerBuildInfoResult'],
|
5931
6025
|
commands: Sequence[str],
|
5932
6026
|
depends_ons: Sequence[str],
|
5933
6027
|
envs: Sequence['outputs.GetServiceTemplateContainerEnvResult'],
|
@@ -5941,6 +6035,8 @@ class GetServiceTemplateContainerResult(dict):
|
|
5941
6035
|
working_dir: str):
|
5942
6036
|
"""
|
5943
6037
|
:param Sequence[str] args: Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
|
6038
|
+
:param str base_image_uri: Base image for this container. If set, it indicates that the service is enrolled into automatic base image update.
|
6039
|
+
:param Sequence['GetServiceTemplateContainerBuildInfoArgs'] build_infos: The build info of the container image.
|
5944
6040
|
:param Sequence[str] commands: Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
|
5945
6041
|
:param Sequence[str] depends_ons: Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
|
5946
6042
|
:param Sequence['GetServiceTemplateContainerEnvArgs'] envs: List of environment variables to set in the container.
|
@@ -5956,6 +6052,8 @@ class GetServiceTemplateContainerResult(dict):
|
|
5956
6052
|
:param str working_dir: Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
|
5957
6053
|
"""
|
5958
6054
|
pulumi.set(__self__, "args", args)
|
6055
|
+
pulumi.set(__self__, "base_image_uri", base_image_uri)
|
6056
|
+
pulumi.set(__self__, "build_infos", build_infos)
|
5959
6057
|
pulumi.set(__self__, "commands", commands)
|
5960
6058
|
pulumi.set(__self__, "depends_ons", depends_ons)
|
5961
6059
|
pulumi.set(__self__, "envs", envs)
|
@@ -5976,6 +6074,22 @@ class GetServiceTemplateContainerResult(dict):
|
|
5976
6074
|
"""
|
5977
6075
|
return pulumi.get(self, "args")
|
5978
6076
|
|
6077
|
+
@property
|
6078
|
+
@pulumi.getter(name="baseImageUri")
|
6079
|
+
def base_image_uri(self) -> str:
|
6080
|
+
"""
|
6081
|
+
Base image for this container. If set, it indicates that the service is enrolled into automatic base image update.
|
6082
|
+
"""
|
6083
|
+
return pulumi.get(self, "base_image_uri")
|
6084
|
+
|
6085
|
+
@property
|
6086
|
+
@pulumi.getter(name="buildInfos")
|
6087
|
+
def build_infos(self) -> Sequence['outputs.GetServiceTemplateContainerBuildInfoResult']:
|
6088
|
+
"""
|
6089
|
+
The build info of the container image.
|
6090
|
+
"""
|
6091
|
+
return pulumi.get(self, "build_infos")
|
6092
|
+
|
5979
6093
|
@property
|
5980
6094
|
@pulumi.getter
|
5981
6095
|
def commands(self) -> Sequence[str]:
|
@@ -6067,6 +6181,35 @@ class GetServiceTemplateContainerResult(dict):
|
|
6067
6181
|
return pulumi.get(self, "working_dir")
|
6068
6182
|
|
6069
6183
|
|
6184
|
+
@pulumi.output_type
|
6185
|
+
class GetServiceTemplateContainerBuildInfoResult(dict):
|
6186
|
+
def __init__(__self__, *,
|
6187
|
+
function_target: str,
|
6188
|
+
source_location: str):
|
6189
|
+
"""
|
6190
|
+
:param str function_target: Entry point of the function when the image is a Cloud Run function.
|
6191
|
+
:param str source_location: Source code location of the image.
|
6192
|
+
"""
|
6193
|
+
pulumi.set(__self__, "function_target", function_target)
|
6194
|
+
pulumi.set(__self__, "source_location", source_location)
|
6195
|
+
|
6196
|
+
@property
|
6197
|
+
@pulumi.getter(name="functionTarget")
|
6198
|
+
def function_target(self) -> str:
|
6199
|
+
"""
|
6200
|
+
Entry point of the function when the image is a Cloud Run function.
|
6201
|
+
"""
|
6202
|
+
return pulumi.get(self, "function_target")
|
6203
|
+
|
6204
|
+
@property
|
6205
|
+
@pulumi.getter(name="sourceLocation")
|
6206
|
+
def source_location(self) -> str:
|
6207
|
+
"""
|
6208
|
+
Source code location of the image.
|
6209
|
+
"""
|
6210
|
+
return pulumi.get(self, "source_location")
|
6211
|
+
|
6212
|
+
|
6070
6213
|
@pulumi.output_type
|
6071
6214
|
class GetServiceTemplateContainerEnvResult(dict):
|
6072
6215
|
def __init__(__self__, *,
|
pulumi_gcp/cloudrunv2/service.py
CHANGED
@@ -1597,6 +1597,7 @@ class Service(pulumi.CustomResource):
|
|
1597
1597
|
template={
|
1598
1598
|
"containers": [{
|
1599
1599
|
"image": "us-docker.pkg.dev/cloudrun/container/hello",
|
1600
|
+
"base_image_uri": "us-central1-docker.pkg.dev/serverless-runtimes/google-22-full/runtimes/nodejs22",
|
1600
1601
|
}],
|
1601
1602
|
},
|
1602
1603
|
build_config={
|
@@ -2197,6 +2198,7 @@ class Service(pulumi.CustomResource):
|
|
2197
2198
|
template={
|
2198
2199
|
"containers": [{
|
2199
2200
|
"image": "us-docker.pkg.dev/cloudrun/container/hello",
|
2201
|
+
"base_image_uri": "us-central1-docker.pkg.dev/serverless-runtimes/google-22-full/runtimes/nodejs22",
|
2200
2202
|
}],
|
2201
2203
|
},
|
2202
2204
|
build_config={
|
pulumi_gcp/colab/__init__.py
CHANGED
@@ -6,10 +6,12 @@ from .. import _utilities
|
|
6
6
|
import typing
|
7
7
|
# Export this package's modules as members:
|
8
8
|
from .get_runtime_template_iam_policy import *
|
9
|
+
from .notebook_execution import *
|
9
10
|
from .runtime import *
|
10
11
|
from .runtime_template import *
|
11
12
|
from .runtime_template_iam_binding import *
|
12
13
|
from .runtime_template_iam_member import *
|
13
14
|
from .runtime_template_iam_policy import *
|
15
|
+
from .schedule import *
|
14
16
|
from ._inputs import *
|
15
17
|
from . import outputs
|