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/cloudrunv2/outputs.py
CHANGED
@@ -3888,17 +3888,27 @@ class GetJobBinaryAuthorizationResult(dict):
|
|
3888
3888
|
def __init__(__self__, *,
|
3889
3889
|
breakglass_justification: str,
|
3890
3890
|
use_default: bool):
|
3891
|
+
"""
|
3892
|
+
:param str breakglass_justification: If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
|
3893
|
+
:param bool use_default: If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
|
3894
|
+
"""
|
3891
3895
|
pulumi.set(__self__, "breakglass_justification", breakglass_justification)
|
3892
3896
|
pulumi.set(__self__, "use_default", use_default)
|
3893
3897
|
|
3894
3898
|
@property
|
3895
3899
|
@pulumi.getter(name="breakglassJustification")
|
3896
3900
|
def breakglass_justification(self) -> str:
|
3901
|
+
"""
|
3902
|
+
If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
|
3903
|
+
"""
|
3897
3904
|
return pulumi.get(self, "breakglass_justification")
|
3898
3905
|
|
3899
3906
|
@property
|
3900
3907
|
@pulumi.getter(name="useDefault")
|
3901
3908
|
def use_default(self) -> bool:
|
3909
|
+
"""
|
3910
|
+
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
|
3911
|
+
"""
|
3902
3912
|
return pulumi.get(self, "use_default")
|
3903
3913
|
|
3904
3914
|
|
@@ -3913,6 +3923,18 @@ class GetJobConditionResult(dict):
|
|
3913
3923
|
severity: str,
|
3914
3924
|
state: str,
|
3915
3925
|
type: str):
|
3926
|
+
"""
|
3927
|
+
:param str execution_reason: A reason for the execution condition.
|
3928
|
+
:param str last_transition_time: Last time the condition transitioned from one status to another.
|
3929
|
+
|
3930
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
3931
|
+
:param str message: Human readable message indicating details about the current status.
|
3932
|
+
:param str reason: A common (service-level) reason for this condition.
|
3933
|
+
:param str revision_reason: A reason for the revision condition.
|
3934
|
+
:param str severity: How to interpret failures of this condition, one of Error, Warning, Info
|
3935
|
+
:param str state: State of the condition.
|
3936
|
+
:param str type: type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
|
3937
|
+
"""
|
3916
3938
|
pulumi.set(__self__, "execution_reason", execution_reason)
|
3917
3939
|
pulumi.set(__self__, "last_transition_time", last_transition_time)
|
3918
3940
|
pulumi.set(__self__, "message", message)
|
@@ -3925,41 +3947,67 @@ class GetJobConditionResult(dict):
|
|
3925
3947
|
@property
|
3926
3948
|
@pulumi.getter(name="executionReason")
|
3927
3949
|
def execution_reason(self) -> str:
|
3950
|
+
"""
|
3951
|
+
A reason for the execution condition.
|
3952
|
+
"""
|
3928
3953
|
return pulumi.get(self, "execution_reason")
|
3929
3954
|
|
3930
3955
|
@property
|
3931
3956
|
@pulumi.getter(name="lastTransitionTime")
|
3932
3957
|
def last_transition_time(self) -> str:
|
3958
|
+
"""
|
3959
|
+
Last time the condition transitioned from one status to another.
|
3960
|
+
|
3961
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
3962
|
+
"""
|
3933
3963
|
return pulumi.get(self, "last_transition_time")
|
3934
3964
|
|
3935
3965
|
@property
|
3936
3966
|
@pulumi.getter
|
3937
3967
|
def message(self) -> str:
|
3968
|
+
"""
|
3969
|
+
Human readable message indicating details about the current status.
|
3970
|
+
"""
|
3938
3971
|
return pulumi.get(self, "message")
|
3939
3972
|
|
3940
3973
|
@property
|
3941
3974
|
@pulumi.getter
|
3942
3975
|
def reason(self) -> str:
|
3976
|
+
"""
|
3977
|
+
A common (service-level) reason for this condition.
|
3978
|
+
"""
|
3943
3979
|
return pulumi.get(self, "reason")
|
3944
3980
|
|
3945
3981
|
@property
|
3946
3982
|
@pulumi.getter(name="revisionReason")
|
3947
3983
|
def revision_reason(self) -> str:
|
3984
|
+
"""
|
3985
|
+
A reason for the revision condition.
|
3986
|
+
"""
|
3948
3987
|
return pulumi.get(self, "revision_reason")
|
3949
3988
|
|
3950
3989
|
@property
|
3951
3990
|
@pulumi.getter
|
3952
3991
|
def severity(self) -> str:
|
3992
|
+
"""
|
3993
|
+
How to interpret failures of this condition, one of Error, Warning, Info
|
3994
|
+
"""
|
3953
3995
|
return pulumi.get(self, "severity")
|
3954
3996
|
|
3955
3997
|
@property
|
3956
3998
|
@pulumi.getter
|
3957
3999
|
def state(self) -> str:
|
4000
|
+
"""
|
4001
|
+
State of the condition.
|
4002
|
+
"""
|
3958
4003
|
return pulumi.get(self, "state")
|
3959
4004
|
|
3960
4005
|
@property
|
3961
4006
|
@pulumi.getter
|
3962
4007
|
def type(self) -> str:
|
4008
|
+
"""
|
4009
|
+
type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
|
4010
|
+
"""
|
3963
4011
|
return pulumi.get(self, "type")
|
3964
4012
|
|
3965
4013
|
|
@@ -3970,6 +4018,12 @@ class GetJobLatestCreatedExecutionResult(dict):
|
|
3970
4018
|
create_time: str,
|
3971
4019
|
name: str):
|
3972
4020
|
"""
|
4021
|
+
:param str completion_time: Completion timestamp of the execution.
|
4022
|
+
|
4023
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
4024
|
+
:param str create_time: Creation timestamp of the execution.
|
4025
|
+
|
4026
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
3973
4027
|
:param str name: The name of the Cloud Run v2 Job.
|
3974
4028
|
"""
|
3975
4029
|
pulumi.set(__self__, "completion_time", completion_time)
|
@@ -3979,11 +4033,21 @@ class GetJobLatestCreatedExecutionResult(dict):
|
|
3979
4033
|
@property
|
3980
4034
|
@pulumi.getter(name="completionTime")
|
3981
4035
|
def completion_time(self) -> str:
|
4036
|
+
"""
|
4037
|
+
Completion timestamp of the execution.
|
4038
|
+
|
4039
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
4040
|
+
"""
|
3982
4041
|
return pulumi.get(self, "completion_time")
|
3983
4042
|
|
3984
4043
|
@property
|
3985
4044
|
@pulumi.getter(name="createTime")
|
3986
4045
|
def create_time(self) -> str:
|
4046
|
+
"""
|
4047
|
+
Creation timestamp of the execution.
|
4048
|
+
|
4049
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
4050
|
+
"""
|
3987
4051
|
return pulumi.get(self, "create_time")
|
3988
4052
|
|
3989
4053
|
@property
|
@@ -4003,6 +4067,23 @@ class GetJobTemplateResult(dict):
|
|
4003
4067
|
parallelism: int,
|
4004
4068
|
task_count: int,
|
4005
4069
|
templates: Sequence['outputs.GetJobTemplateTemplateResult']):
|
4070
|
+
"""
|
4071
|
+
:param Mapping[str, str] annotations: Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
|
4072
|
+
|
4073
|
+
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected.
|
4074
|
+
All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate.
|
4075
|
+
|
4076
|
+
This field follows Kubernetes annotations' namespacing, limits, and rules.
|
4077
|
+
:param Mapping[str, str] labels: Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter,
|
4078
|
+
or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or
|
4079
|
+
https://cloud.google.com/run/docs/configuring/labels.
|
4080
|
+
|
4081
|
+
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected.
|
4082
|
+
All system labels in v1 now have a corresponding field in v2 ExecutionTemplate.
|
4083
|
+
:param int parallelism: Specifies the maximum desired number of tasks the execution should run at given time. Must be <= taskCount. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.
|
4084
|
+
:param int task_count: Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
4085
|
+
:param Sequence['GetJobTemplateTemplateArgs'] templates: Describes the task(s) that will be created when executing an execution
|
4086
|
+
"""
|
4006
4087
|
pulumi.set(__self__, "annotations", annotations)
|
4007
4088
|
pulumi.set(__self__, "labels", labels)
|
4008
4089
|
pulumi.set(__self__, "parallelism", parallelism)
|
@@ -4012,26 +4093,51 @@ class GetJobTemplateResult(dict):
|
|
4012
4093
|
@property
|
4013
4094
|
@pulumi.getter
|
4014
4095
|
def annotations(self) -> Mapping[str, str]:
|
4096
|
+
"""
|
4097
|
+
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
|
4098
|
+
|
4099
|
+
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected.
|
4100
|
+
All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate.
|
4101
|
+
|
4102
|
+
This field follows Kubernetes annotations' namespacing, limits, and rules.
|
4103
|
+
"""
|
4015
4104
|
return pulumi.get(self, "annotations")
|
4016
4105
|
|
4017
4106
|
@property
|
4018
4107
|
@pulumi.getter
|
4019
4108
|
def labels(self) -> Mapping[str, str]:
|
4109
|
+
"""
|
4110
|
+
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter,
|
4111
|
+
or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or
|
4112
|
+
https://cloud.google.com/run/docs/configuring/labels.
|
4113
|
+
|
4114
|
+
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected.
|
4115
|
+
All system labels in v1 now have a corresponding field in v2 ExecutionTemplate.
|
4116
|
+
"""
|
4020
4117
|
return pulumi.get(self, "labels")
|
4021
4118
|
|
4022
4119
|
@property
|
4023
4120
|
@pulumi.getter
|
4024
4121
|
def parallelism(self) -> int:
|
4122
|
+
"""
|
4123
|
+
Specifies the maximum desired number of tasks the execution should run at given time. Must be <= taskCount. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.
|
4124
|
+
"""
|
4025
4125
|
return pulumi.get(self, "parallelism")
|
4026
4126
|
|
4027
4127
|
@property
|
4028
4128
|
@pulumi.getter(name="taskCount")
|
4029
4129
|
def task_count(self) -> int:
|
4130
|
+
"""
|
4131
|
+
Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
4132
|
+
"""
|
4030
4133
|
return pulumi.get(self, "task_count")
|
4031
4134
|
|
4032
4135
|
@property
|
4033
4136
|
@pulumi.getter
|
4034
4137
|
def templates(self) -> Sequence['outputs.GetJobTemplateTemplateResult']:
|
4138
|
+
"""
|
4139
|
+
Describes the task(s) that will be created when executing an execution
|
4140
|
+
"""
|
4035
4141
|
return pulumi.get(self, "templates")
|
4036
4142
|
|
4037
4143
|
|
@@ -4046,6 +4152,18 @@ class GetJobTemplateTemplateResult(dict):
|
|
4046
4152
|
timeout: str,
|
4047
4153
|
volumes: Sequence['outputs.GetJobTemplateTemplateVolumeResult'],
|
4048
4154
|
vpc_accesses: Sequence['outputs.GetJobTemplateTemplateVpcAccessResult']):
|
4155
|
+
"""
|
4156
|
+
:param Sequence['GetJobTemplateTemplateContainerArgs'] containers: Holds the single container that defines the unit of execution for this task.
|
4157
|
+
:param str encryption_key: A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
|
4158
|
+
:param str execution_environment: The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
|
4159
|
+
:param int max_retries: Number of retries allowed per Task, before marking this Task failed.
|
4160
|
+
:param str service_account: Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
|
4161
|
+
:param str timeout: Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
|
4162
|
+
|
4163
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
4164
|
+
:param Sequence['GetJobTemplateTemplateVolumeArgs'] volumes: A list of Volumes to make available to containers.
|
4165
|
+
:param Sequence['GetJobTemplateTemplateVpcAccessArgs'] vpc_accesses: VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
|
4166
|
+
"""
|
4049
4167
|
pulumi.set(__self__, "containers", containers)
|
4050
4168
|
pulumi.set(__self__, "encryption_key", encryption_key)
|
4051
4169
|
pulumi.set(__self__, "execution_environment", execution_environment)
|
@@ -4058,41 +4176,67 @@ class GetJobTemplateTemplateResult(dict):
|
|
4058
4176
|
@property
|
4059
4177
|
@pulumi.getter
|
4060
4178
|
def containers(self) -> Sequence['outputs.GetJobTemplateTemplateContainerResult']:
|
4179
|
+
"""
|
4180
|
+
Holds the single container that defines the unit of execution for this task.
|
4181
|
+
"""
|
4061
4182
|
return pulumi.get(self, "containers")
|
4062
4183
|
|
4063
4184
|
@property
|
4064
4185
|
@pulumi.getter(name="encryptionKey")
|
4065
4186
|
def encryption_key(self) -> str:
|
4187
|
+
"""
|
4188
|
+
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
|
4189
|
+
"""
|
4066
4190
|
return pulumi.get(self, "encryption_key")
|
4067
4191
|
|
4068
4192
|
@property
|
4069
4193
|
@pulumi.getter(name="executionEnvironment")
|
4070
4194
|
def execution_environment(self) -> str:
|
4195
|
+
"""
|
4196
|
+
The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
|
4197
|
+
"""
|
4071
4198
|
return pulumi.get(self, "execution_environment")
|
4072
4199
|
|
4073
4200
|
@property
|
4074
4201
|
@pulumi.getter(name="maxRetries")
|
4075
4202
|
def max_retries(self) -> int:
|
4203
|
+
"""
|
4204
|
+
Number of retries allowed per Task, before marking this Task failed.
|
4205
|
+
"""
|
4076
4206
|
return pulumi.get(self, "max_retries")
|
4077
4207
|
|
4078
4208
|
@property
|
4079
4209
|
@pulumi.getter(name="serviceAccount")
|
4080
4210
|
def service_account(self) -> str:
|
4211
|
+
"""
|
4212
|
+
Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
|
4213
|
+
"""
|
4081
4214
|
return pulumi.get(self, "service_account")
|
4082
4215
|
|
4083
4216
|
@property
|
4084
4217
|
@pulumi.getter
|
4085
4218
|
def timeout(self) -> str:
|
4219
|
+
"""
|
4220
|
+
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
|
4221
|
+
|
4222
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
4223
|
+
"""
|
4086
4224
|
return pulumi.get(self, "timeout")
|
4087
4225
|
|
4088
4226
|
@property
|
4089
4227
|
@pulumi.getter
|
4090
4228
|
def volumes(self) -> Sequence['outputs.GetJobTemplateTemplateVolumeResult']:
|
4229
|
+
"""
|
4230
|
+
A list of Volumes to make available to containers.
|
4231
|
+
"""
|
4091
4232
|
return pulumi.get(self, "volumes")
|
4092
4233
|
|
4093
4234
|
@property
|
4094
4235
|
@pulumi.getter(name="vpcAccesses")
|
4095
4236
|
def vpc_accesses(self) -> Sequence['outputs.GetJobTemplateTemplateVpcAccessResult']:
|
4237
|
+
"""
|
4238
|
+
VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
|
4239
|
+
"""
|
4096
4240
|
return pulumi.get(self, "vpc_accesses")
|
4097
4241
|
|
4098
4242
|
|
@@ -4109,7 +4253,17 @@ class GetJobTemplateTemplateContainerResult(dict):
|
|
4109
4253
|
volume_mounts: Sequence['outputs.GetJobTemplateTemplateContainerVolumeMountResult'],
|
4110
4254
|
working_dir: str):
|
4111
4255
|
"""
|
4256
|
+
:param Sequence[str] args: Arguments to the entrypoint. The docker image's CMD 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
|
4257
|
+
: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
|
4258
|
+
:param Sequence['GetJobTemplateTemplateContainerEnvArgs'] envs: List of environment variables to set in the container.
|
4259
|
+
: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
|
4112
4260
|
:param str name: The name of the Cloud Run v2 Job.
|
4261
|
+
:param Sequence['GetJobTemplateTemplateContainerPortArgs'] ports: List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
|
4262
|
+
|
4263
|
+
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
|
4264
|
+
:param Sequence['GetJobTemplateTemplateContainerResourceArgs'] resources: Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
|
4265
|
+
:param Sequence['GetJobTemplateTemplateContainerVolumeMountArgs'] volume_mounts: Volume to mount into the container's filesystem.
|
4266
|
+
: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.
|
4113
4267
|
"""
|
4114
4268
|
pulumi.set(__self__, "args", args)
|
4115
4269
|
pulumi.set(__self__, "commands", commands)
|
@@ -4124,21 +4278,33 @@ class GetJobTemplateTemplateContainerResult(dict):
|
|
4124
4278
|
@property
|
4125
4279
|
@pulumi.getter
|
4126
4280
|
def args(self) -> Sequence[str]:
|
4281
|
+
"""
|
4282
|
+
Arguments to the entrypoint. The docker image's CMD 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
|
4283
|
+
"""
|
4127
4284
|
return pulumi.get(self, "args")
|
4128
4285
|
|
4129
4286
|
@property
|
4130
4287
|
@pulumi.getter
|
4131
4288
|
def commands(self) -> Sequence[str]:
|
4289
|
+
"""
|
4290
|
+
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
|
4291
|
+
"""
|
4132
4292
|
return pulumi.get(self, "commands")
|
4133
4293
|
|
4134
4294
|
@property
|
4135
4295
|
@pulumi.getter
|
4136
4296
|
def envs(self) -> Sequence['outputs.GetJobTemplateTemplateContainerEnvResult']:
|
4297
|
+
"""
|
4298
|
+
List of environment variables to set in the container.
|
4299
|
+
"""
|
4137
4300
|
return pulumi.get(self, "envs")
|
4138
4301
|
|
4139
4302
|
@property
|
4140
4303
|
@pulumi.getter
|
4141
4304
|
def image(self) -> str:
|
4305
|
+
"""
|
4306
|
+
URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
|
4307
|
+
"""
|
4142
4308
|
return pulumi.get(self, "image")
|
4143
4309
|
|
4144
4310
|
@property
|
@@ -4152,21 +4318,35 @@ class GetJobTemplateTemplateContainerResult(dict):
|
|
4152
4318
|
@property
|
4153
4319
|
@pulumi.getter
|
4154
4320
|
def ports(self) -> Sequence['outputs.GetJobTemplateTemplateContainerPortResult']:
|
4321
|
+
"""
|
4322
|
+
List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
|
4323
|
+
|
4324
|
+
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
|
4325
|
+
"""
|
4155
4326
|
return pulumi.get(self, "ports")
|
4156
4327
|
|
4157
4328
|
@property
|
4158
4329
|
@pulumi.getter
|
4159
4330
|
def resources(self) -> Sequence['outputs.GetJobTemplateTemplateContainerResourceResult']:
|
4331
|
+
"""
|
4332
|
+
Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
|
4333
|
+
"""
|
4160
4334
|
return pulumi.get(self, "resources")
|
4161
4335
|
|
4162
4336
|
@property
|
4163
4337
|
@pulumi.getter(name="volumeMounts")
|
4164
4338
|
def volume_mounts(self) -> Sequence['outputs.GetJobTemplateTemplateContainerVolumeMountResult']:
|
4339
|
+
"""
|
4340
|
+
Volume to mount into the container's filesystem.
|
4341
|
+
"""
|
4165
4342
|
return pulumi.get(self, "volume_mounts")
|
4166
4343
|
|
4167
4344
|
@property
|
4168
4345
|
@pulumi.getter(name="workingDir")
|
4169
4346
|
def working_dir(self) -> str:
|
4347
|
+
"""
|
4348
|
+
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
|
4349
|
+
"""
|
4170
4350
|
return pulumi.get(self, "working_dir")
|
4171
4351
|
|
4172
4352
|
|
@@ -4178,6 +4358,8 @@ class GetJobTemplateTemplateContainerEnvResult(dict):
|
|
4178
4358
|
value_sources: Sequence['outputs.GetJobTemplateTemplateContainerEnvValueSourceResult']):
|
4179
4359
|
"""
|
4180
4360
|
:param str name: The name of the Cloud Run v2 Job.
|
4361
|
+
:param str value: Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. 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. Defaults to "", and the maximum length is 32768 bytes
|
4362
|
+
:param Sequence['GetJobTemplateTemplateContainerEnvValueSourceArgs'] value_sources: Source for the environment variable's value.
|
4181
4363
|
"""
|
4182
4364
|
pulumi.set(__self__, "name", name)
|
4183
4365
|
pulumi.set(__self__, "value", value)
|
@@ -4194,11 +4376,17 @@ class GetJobTemplateTemplateContainerEnvResult(dict):
|
|
4194
4376
|
@property
|
4195
4377
|
@pulumi.getter
|
4196
4378
|
def value(self) -> str:
|
4379
|
+
"""
|
4380
|
+
Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. 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. Defaults to "", and the maximum length is 32768 bytes
|
4381
|
+
"""
|
4197
4382
|
return pulumi.get(self, "value")
|
4198
4383
|
|
4199
4384
|
@property
|
4200
4385
|
@pulumi.getter(name="valueSources")
|
4201
4386
|
def value_sources(self) -> Sequence['outputs.GetJobTemplateTemplateContainerEnvValueSourceResult']:
|
4387
|
+
"""
|
4388
|
+
Source for the environment variable's value.
|
4389
|
+
"""
|
4202
4390
|
return pulumi.get(self, "value_sources")
|
4203
4391
|
|
4204
4392
|
|
@@ -4206,11 +4394,17 @@ class GetJobTemplateTemplateContainerEnvResult(dict):
|
|
4206
4394
|
class GetJobTemplateTemplateContainerEnvValueSourceResult(dict):
|
4207
4395
|
def __init__(__self__, *,
|
4208
4396
|
secret_key_reves: Sequence['outputs.GetJobTemplateTemplateContainerEnvValueSourceSecretKeyRefResult']):
|
4397
|
+
"""
|
4398
|
+
:param Sequence['GetJobTemplateTemplateContainerEnvValueSourceSecretKeyRefArgs'] secret_key_reves: Selects a secret and a specific version from Cloud Secret Manager.
|
4399
|
+
"""
|
4209
4400
|
pulumi.set(__self__, "secret_key_reves", secret_key_reves)
|
4210
4401
|
|
4211
4402
|
@property
|
4212
4403
|
@pulumi.getter(name="secretKeyReves")
|
4213
4404
|
def secret_key_reves(self) -> Sequence['outputs.GetJobTemplateTemplateContainerEnvValueSourceSecretKeyRefResult']:
|
4405
|
+
"""
|
4406
|
+
Selects a secret and a specific version from Cloud Secret Manager.
|
4407
|
+
"""
|
4214
4408
|
return pulumi.get(self, "secret_key_reves")
|
4215
4409
|
|
4216
4410
|
|
@@ -4219,17 +4413,27 @@ class GetJobTemplateTemplateContainerEnvValueSourceSecretKeyRefResult(dict):
|
|
4219
4413
|
def __init__(__self__, *,
|
4220
4414
|
secret: str,
|
4221
4415
|
version: str):
|
4416
|
+
"""
|
4417
|
+
:param str secret: The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
|
4418
|
+
:param str version: The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
|
4419
|
+
"""
|
4222
4420
|
pulumi.set(__self__, "secret", secret)
|
4223
4421
|
pulumi.set(__self__, "version", version)
|
4224
4422
|
|
4225
4423
|
@property
|
4226
4424
|
@pulumi.getter
|
4227
4425
|
def secret(self) -> str:
|
4426
|
+
"""
|
4427
|
+
The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
|
4428
|
+
"""
|
4228
4429
|
return pulumi.get(self, "secret")
|
4229
4430
|
|
4230
4431
|
@property
|
4231
4432
|
@pulumi.getter
|
4232
4433
|
def version(self) -> str:
|
4434
|
+
"""
|
4435
|
+
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
|
4436
|
+
"""
|
4233
4437
|
return pulumi.get(self, "version")
|
4234
4438
|
|
4235
4439
|
|
@@ -4239,6 +4443,7 @@ class GetJobTemplateTemplateContainerPortResult(dict):
|
|
4239
4443
|
container_port: int,
|
4240
4444
|
name: str):
|
4241
4445
|
"""
|
4446
|
+
:param int container_port: Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
|
4242
4447
|
:param str name: The name of the Cloud Run v2 Job.
|
4243
4448
|
"""
|
4244
4449
|
pulumi.set(__self__, "container_port", container_port)
|
@@ -4247,6 +4452,9 @@ class GetJobTemplateTemplateContainerPortResult(dict):
|
|
4247
4452
|
@property
|
4248
4453
|
@pulumi.getter(name="containerPort")
|
4249
4454
|
def container_port(self) -> int:
|
4455
|
+
"""
|
4456
|
+
Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
|
4457
|
+
"""
|
4250
4458
|
return pulumi.get(self, "container_port")
|
4251
4459
|
|
4252
4460
|
@property
|
@@ -4262,11 +4470,17 @@ class GetJobTemplateTemplateContainerPortResult(dict):
|
|
4262
4470
|
class GetJobTemplateTemplateContainerResourceResult(dict):
|
4263
4471
|
def __init__(__self__, *,
|
4264
4472
|
limits: Mapping[str, str]):
|
4473
|
+
"""
|
4474
|
+
:param Mapping[str, str] limits: Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
|
4475
|
+
"""
|
4265
4476
|
pulumi.set(__self__, "limits", limits)
|
4266
4477
|
|
4267
4478
|
@property
|
4268
4479
|
@pulumi.getter
|
4269
4480
|
def limits(self) -> Mapping[str, str]:
|
4481
|
+
"""
|
4482
|
+
Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
|
4483
|
+
"""
|
4270
4484
|
return pulumi.get(self, "limits")
|
4271
4485
|
|
4272
4486
|
|
@@ -4276,6 +4490,7 @@ class GetJobTemplateTemplateContainerVolumeMountResult(dict):
|
|
4276
4490
|
mount_path: str,
|
4277
4491
|
name: str):
|
4278
4492
|
"""
|
4493
|
+
:param str mount_path: Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
|
4279
4494
|
:param str name: The name of the Cloud Run v2 Job.
|
4280
4495
|
"""
|
4281
4496
|
pulumi.set(__self__, "mount_path", mount_path)
|
@@ -4284,6 +4499,9 @@ class GetJobTemplateTemplateContainerVolumeMountResult(dict):
|
|
4284
4499
|
@property
|
4285
4500
|
@pulumi.getter(name="mountPath")
|
4286
4501
|
def mount_path(self) -> str:
|
4502
|
+
"""
|
4503
|
+
Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
|
4504
|
+
"""
|
4287
4505
|
return pulumi.get(self, "mount_path")
|
4288
4506
|
|
4289
4507
|
@property
|
@@ -4303,7 +4521,10 @@ class GetJobTemplateTemplateVolumeResult(dict):
|
|
4303
4521
|
name: str,
|
4304
4522
|
secrets: Sequence['outputs.GetJobTemplateTemplateVolumeSecretResult']):
|
4305
4523
|
"""
|
4524
|
+
:param Sequence['GetJobTemplateTemplateVolumeCloudSqlInstanceArgs'] cloud_sql_instances: For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
|
4525
|
+
:param Sequence['GetJobTemplateTemplateVolumeEmptyDirArgs'] empty_dirs: Ephemeral storage used as a shared volume.
|
4306
4526
|
:param str name: The name of the Cloud Run v2 Job.
|
4527
|
+
:param Sequence['GetJobTemplateTemplateVolumeSecretArgs'] secrets: Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
|
4307
4528
|
"""
|
4308
4529
|
pulumi.set(__self__, "cloud_sql_instances", cloud_sql_instances)
|
4309
4530
|
pulumi.set(__self__, "empty_dirs", empty_dirs)
|
@@ -4313,11 +4534,17 @@ class GetJobTemplateTemplateVolumeResult(dict):
|
|
4313
4534
|
@property
|
4314
4535
|
@pulumi.getter(name="cloudSqlInstances")
|
4315
4536
|
def cloud_sql_instances(self) -> Sequence['outputs.GetJobTemplateTemplateVolumeCloudSqlInstanceResult']:
|
4537
|
+
"""
|
4538
|
+
For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
|
4539
|
+
"""
|
4316
4540
|
return pulumi.get(self, "cloud_sql_instances")
|
4317
4541
|
|
4318
4542
|
@property
|
4319
4543
|
@pulumi.getter(name="emptyDirs")
|
4320
4544
|
def empty_dirs(self) -> Sequence['outputs.GetJobTemplateTemplateVolumeEmptyDirResult']:
|
4545
|
+
"""
|
4546
|
+
Ephemeral storage used as a shared volume.
|
4547
|
+
"""
|
4321
4548
|
return pulumi.get(self, "empty_dirs")
|
4322
4549
|
|
4323
4550
|
@property
|
@@ -4331,6 +4558,9 @@ class GetJobTemplateTemplateVolumeResult(dict):
|
|
4331
4558
|
@property
|
4332
4559
|
@pulumi.getter
|
4333
4560
|
def secrets(self) -> Sequence['outputs.GetJobTemplateTemplateVolumeSecretResult']:
|
4561
|
+
"""
|
4562
|
+
Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
|
4563
|
+
"""
|
4334
4564
|
return pulumi.get(self, "secrets")
|
4335
4565
|
|
4336
4566
|
|
@@ -4338,11 +4568,17 @@ class GetJobTemplateTemplateVolumeResult(dict):
|
|
4338
4568
|
class GetJobTemplateTemplateVolumeCloudSqlInstanceResult(dict):
|
4339
4569
|
def __init__(__self__, *,
|
4340
4570
|
instances: Sequence[str]):
|
4571
|
+
"""
|
4572
|
+
:param Sequence[str] instances: The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
|
4573
|
+
"""
|
4341
4574
|
pulumi.set(__self__, "instances", instances)
|
4342
4575
|
|
4343
4576
|
@property
|
4344
4577
|
@pulumi.getter
|
4345
4578
|
def instances(self) -> Sequence[str]:
|
4579
|
+
"""
|
4580
|
+
The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
|
4581
|
+
"""
|
4346
4582
|
return pulumi.get(self, "instances")
|
4347
4583
|
|
4348
4584
|
|
@@ -4351,17 +4587,27 @@ class GetJobTemplateTemplateVolumeEmptyDirResult(dict):
|
|
4351
4587
|
def __init__(__self__, *,
|
4352
4588
|
medium: str,
|
4353
4589
|
size_limit: str):
|
4590
|
+
"""
|
4591
|
+
:param str medium: The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
|
4592
|
+
: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.
|
4593
|
+
"""
|
4354
4594
|
pulumi.set(__self__, "medium", medium)
|
4355
4595
|
pulumi.set(__self__, "size_limit", size_limit)
|
4356
4596
|
|
4357
4597
|
@property
|
4358
4598
|
@pulumi.getter
|
4359
4599
|
def medium(self) -> str:
|
4600
|
+
"""
|
4601
|
+
The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
|
4602
|
+
"""
|
4360
4603
|
return pulumi.get(self, "medium")
|
4361
4604
|
|
4362
4605
|
@property
|
4363
4606
|
@pulumi.getter(name="sizeLimit")
|
4364
4607
|
def size_limit(self) -> str:
|
4608
|
+
"""
|
4609
|
+
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.
|
4610
|
+
"""
|
4365
4611
|
return pulumi.get(self, "size_limit")
|
4366
4612
|
|
4367
4613
|
|
@@ -4371,6 +4617,11 @@ class GetJobTemplateTemplateVolumeSecretResult(dict):
|
|
4371
4617
|
default_mode: int,
|
4372
4618
|
items: Sequence['outputs.GetJobTemplateTemplateVolumeSecretItemResult'],
|
4373
4619
|
secret: str):
|
4620
|
+
"""
|
4621
|
+
:param int default_mode: Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
|
4622
|
+
:param Sequence['GetJobTemplateTemplateVolumeSecretItemArgs'] items: If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
|
4623
|
+
:param str secret: The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
|
4624
|
+
"""
|
4374
4625
|
pulumi.set(__self__, "default_mode", default_mode)
|
4375
4626
|
pulumi.set(__self__, "items", items)
|
4376
4627
|
pulumi.set(__self__, "secret", secret)
|
@@ -4378,16 +4629,25 @@ class GetJobTemplateTemplateVolumeSecretResult(dict):
|
|
4378
4629
|
@property
|
4379
4630
|
@pulumi.getter(name="defaultMode")
|
4380
4631
|
def default_mode(self) -> int:
|
4632
|
+
"""
|
4633
|
+
Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
|
4634
|
+
"""
|
4381
4635
|
return pulumi.get(self, "default_mode")
|
4382
4636
|
|
4383
4637
|
@property
|
4384
4638
|
@pulumi.getter
|
4385
4639
|
def items(self) -> Sequence['outputs.GetJobTemplateTemplateVolumeSecretItemResult']:
|
4640
|
+
"""
|
4641
|
+
If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
|
4642
|
+
"""
|
4386
4643
|
return pulumi.get(self, "items")
|
4387
4644
|
|
4388
4645
|
@property
|
4389
4646
|
@pulumi.getter
|
4390
4647
|
def secret(self) -> str:
|
4648
|
+
"""
|
4649
|
+
The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
|
4650
|
+
"""
|
4391
4651
|
return pulumi.get(self, "secret")
|
4392
4652
|
|
4393
4653
|
|
@@ -4397,6 +4657,11 @@ class GetJobTemplateTemplateVolumeSecretItemResult(dict):
|
|
4397
4657
|
mode: int,
|
4398
4658
|
path: str,
|
4399
4659
|
version: str):
|
4660
|
+
"""
|
4661
|
+
:param int mode: Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
|
4662
|
+
:param str path: The relative path of the secret in the container.
|
4663
|
+
:param str version: The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
|
4664
|
+
"""
|
4400
4665
|
pulumi.set(__self__, "mode", mode)
|
4401
4666
|
pulumi.set(__self__, "path", path)
|
4402
4667
|
pulumi.set(__self__, "version", version)
|
@@ -4404,16 +4669,25 @@ class GetJobTemplateTemplateVolumeSecretItemResult(dict):
|
|
4404
4669
|
@property
|
4405
4670
|
@pulumi.getter
|
4406
4671
|
def mode(self) -> int:
|
4672
|
+
"""
|
4673
|
+
Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
|
4674
|
+
"""
|
4407
4675
|
return pulumi.get(self, "mode")
|
4408
4676
|
|
4409
4677
|
@property
|
4410
4678
|
@pulumi.getter
|
4411
4679
|
def path(self) -> str:
|
4680
|
+
"""
|
4681
|
+
The relative path of the secret in the container.
|
4682
|
+
"""
|
4412
4683
|
return pulumi.get(self, "path")
|
4413
4684
|
|
4414
4685
|
@property
|
4415
4686
|
@pulumi.getter
|
4416
4687
|
def version(self) -> str:
|
4688
|
+
"""
|
4689
|
+
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
|
4690
|
+
"""
|
4417
4691
|
return pulumi.get(self, "version")
|
4418
4692
|
|
4419
4693
|
|
@@ -4423,6 +4697,11 @@ class GetJobTemplateTemplateVpcAccessResult(dict):
|
|
4423
4697
|
connector: str,
|
4424
4698
|
egress: str,
|
4425
4699
|
network_interfaces: Sequence['outputs.GetJobTemplateTemplateVpcAccessNetworkInterfaceResult']):
|
4700
|
+
"""
|
4701
|
+
:param str connector: VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
|
4702
|
+
:param str egress: Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
|
4703
|
+
:param Sequence['GetJobTemplateTemplateVpcAccessNetworkInterfaceArgs'] network_interfaces: Direct VPC egress settings. Currently only single network interface is supported.
|
4704
|
+
"""
|
4426
4705
|
pulumi.set(__self__, "connector", connector)
|
4427
4706
|
pulumi.set(__self__, "egress", egress)
|
4428
4707
|
pulumi.set(__self__, "network_interfaces", network_interfaces)
|
@@ -4430,16 +4709,25 @@ class GetJobTemplateTemplateVpcAccessResult(dict):
|
|
4430
4709
|
@property
|
4431
4710
|
@pulumi.getter
|
4432
4711
|
def connector(self) -> str:
|
4712
|
+
"""
|
4713
|
+
VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
|
4714
|
+
"""
|
4433
4715
|
return pulumi.get(self, "connector")
|
4434
4716
|
|
4435
4717
|
@property
|
4436
4718
|
@pulumi.getter
|
4437
4719
|
def egress(self) -> str:
|
4720
|
+
"""
|
4721
|
+
Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
|
4722
|
+
"""
|
4438
4723
|
return pulumi.get(self, "egress")
|
4439
4724
|
|
4440
4725
|
@property
|
4441
4726
|
@pulumi.getter(name="networkInterfaces")
|
4442
4727
|
def network_interfaces(self) -> Sequence['outputs.GetJobTemplateTemplateVpcAccessNetworkInterfaceResult']:
|
4728
|
+
"""
|
4729
|
+
Direct VPC egress settings. Currently only single network interface is supported.
|
4730
|
+
"""
|
4443
4731
|
return pulumi.get(self, "network_interfaces")
|
4444
4732
|
|
4445
4733
|
|
@@ -4449,23 +4737,45 @@ class GetJobTemplateTemplateVpcAccessNetworkInterfaceResult(dict):
|
|
4449
4737
|
network: str,
|
4450
4738
|
subnetwork: str,
|
4451
4739
|
tags: Sequence[str]):
|
4452
|
-
|
4453
|
-
|
4454
|
-
|
4455
|
-
|
4456
|
-
|
4740
|
+
"""
|
4741
|
+
:param str network: The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both
|
4742
|
+
network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be
|
4743
|
+
looked up from the subnetwork.
|
4744
|
+
:param str subnetwork: The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both
|
4745
|
+
network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the
|
4746
|
+
subnetwork with the same name with the network will be used.
|
4747
|
+
:param Sequence[str] tags: Network tags applied to this Cloud Run job.
|
4748
|
+
"""
|
4749
|
+
pulumi.set(__self__, "network", network)
|
4750
|
+
pulumi.set(__self__, "subnetwork", subnetwork)
|
4751
|
+
pulumi.set(__self__, "tags", tags)
|
4752
|
+
|
4753
|
+
@property
|
4457
4754
|
@pulumi.getter
|
4458
4755
|
def network(self) -> str:
|
4756
|
+
"""
|
4757
|
+
The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both
|
4758
|
+
network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be
|
4759
|
+
looked up from the subnetwork.
|
4760
|
+
"""
|
4459
4761
|
return pulumi.get(self, "network")
|
4460
4762
|
|
4461
4763
|
@property
|
4462
4764
|
@pulumi.getter
|
4463
4765
|
def subnetwork(self) -> str:
|
4766
|
+
"""
|
4767
|
+
The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both
|
4768
|
+
network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the
|
4769
|
+
subnetwork with the same name with the network will be used.
|
4770
|
+
"""
|
4464
4771
|
return pulumi.get(self, "subnetwork")
|
4465
4772
|
|
4466
4773
|
@property
|
4467
4774
|
@pulumi.getter
|
4468
4775
|
def tags(self) -> Sequence[str]:
|
4776
|
+
"""
|
4777
|
+
Network tags applied to this Cloud Run job.
|
4778
|
+
"""
|
4469
4779
|
return pulumi.get(self, "tags")
|
4470
4780
|
|
4471
4781
|
|
@@ -4480,6 +4790,18 @@ class GetJobTerminalConditionResult(dict):
|
|
4480
4790
|
severity: str,
|
4481
4791
|
state: str,
|
4482
4792
|
type: str):
|
4793
|
+
"""
|
4794
|
+
:param str execution_reason: A reason for the execution condition.
|
4795
|
+
:param str last_transition_time: Last time the condition transitioned from one status to another.
|
4796
|
+
|
4797
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
4798
|
+
:param str message: Human readable message indicating details about the current status.
|
4799
|
+
:param str reason: A common (service-level) reason for this condition.
|
4800
|
+
:param str revision_reason: A reason for the revision condition.
|
4801
|
+
:param str severity: How to interpret failures of this condition, one of Error, Warning, Info
|
4802
|
+
:param str state: State of the condition.
|
4803
|
+
:param str type: type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
|
4804
|
+
"""
|
4483
4805
|
pulumi.set(__self__, "execution_reason", execution_reason)
|
4484
4806
|
pulumi.set(__self__, "last_transition_time", last_transition_time)
|
4485
4807
|
pulumi.set(__self__, "message", message)
|
@@ -4492,41 +4814,67 @@ class GetJobTerminalConditionResult(dict):
|
|
4492
4814
|
@property
|
4493
4815
|
@pulumi.getter(name="executionReason")
|
4494
4816
|
def execution_reason(self) -> str:
|
4817
|
+
"""
|
4818
|
+
A reason for the execution condition.
|
4819
|
+
"""
|
4495
4820
|
return pulumi.get(self, "execution_reason")
|
4496
4821
|
|
4497
4822
|
@property
|
4498
4823
|
@pulumi.getter(name="lastTransitionTime")
|
4499
4824
|
def last_transition_time(self) -> str:
|
4825
|
+
"""
|
4826
|
+
Last time the condition transitioned from one status to another.
|
4827
|
+
|
4828
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
4829
|
+
"""
|
4500
4830
|
return pulumi.get(self, "last_transition_time")
|
4501
4831
|
|
4502
4832
|
@property
|
4503
4833
|
@pulumi.getter
|
4504
4834
|
def message(self) -> str:
|
4835
|
+
"""
|
4836
|
+
Human readable message indicating details about the current status.
|
4837
|
+
"""
|
4505
4838
|
return pulumi.get(self, "message")
|
4506
4839
|
|
4507
4840
|
@property
|
4508
4841
|
@pulumi.getter
|
4509
4842
|
def reason(self) -> str:
|
4843
|
+
"""
|
4844
|
+
A common (service-level) reason for this condition.
|
4845
|
+
"""
|
4510
4846
|
return pulumi.get(self, "reason")
|
4511
4847
|
|
4512
4848
|
@property
|
4513
4849
|
@pulumi.getter(name="revisionReason")
|
4514
4850
|
def revision_reason(self) -> str:
|
4851
|
+
"""
|
4852
|
+
A reason for the revision condition.
|
4853
|
+
"""
|
4515
4854
|
return pulumi.get(self, "revision_reason")
|
4516
4855
|
|
4517
4856
|
@property
|
4518
4857
|
@pulumi.getter
|
4519
4858
|
def severity(self) -> str:
|
4859
|
+
"""
|
4860
|
+
How to interpret failures of this condition, one of Error, Warning, Info
|
4861
|
+
"""
|
4520
4862
|
return pulumi.get(self, "severity")
|
4521
4863
|
|
4522
4864
|
@property
|
4523
4865
|
@pulumi.getter
|
4524
4866
|
def state(self) -> str:
|
4867
|
+
"""
|
4868
|
+
State of the condition.
|
4869
|
+
"""
|
4525
4870
|
return pulumi.get(self, "state")
|
4526
4871
|
|
4527
4872
|
@property
|
4528
4873
|
@pulumi.getter
|
4529
4874
|
def type(self) -> str:
|
4875
|
+
"""
|
4876
|
+
type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
|
4877
|
+
"""
|
4530
4878
|
return pulumi.get(self, "type")
|
4531
4879
|
|
4532
4880
|
|
@@ -4535,17 +4883,27 @@ class GetServiceBinaryAuthorizationResult(dict):
|
|
4535
4883
|
def __init__(__self__, *,
|
4536
4884
|
breakglass_justification: str,
|
4537
4885
|
use_default: bool):
|
4886
|
+
"""
|
4887
|
+
:param str breakglass_justification: If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
|
4888
|
+
:param bool use_default: If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
|
4889
|
+
"""
|
4538
4890
|
pulumi.set(__self__, "breakglass_justification", breakglass_justification)
|
4539
4891
|
pulumi.set(__self__, "use_default", use_default)
|
4540
4892
|
|
4541
4893
|
@property
|
4542
4894
|
@pulumi.getter(name="breakglassJustification")
|
4543
4895
|
def breakglass_justification(self) -> str:
|
4896
|
+
"""
|
4897
|
+
If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
|
4898
|
+
"""
|
4544
4899
|
return pulumi.get(self, "breakglass_justification")
|
4545
4900
|
|
4546
4901
|
@property
|
4547
4902
|
@pulumi.getter(name="useDefault")
|
4548
4903
|
def use_default(self) -> bool:
|
4904
|
+
"""
|
4905
|
+
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
|
4906
|
+
"""
|
4549
4907
|
return pulumi.get(self, "use_default")
|
4550
4908
|
|
4551
4909
|
|
@@ -4560,6 +4918,18 @@ class GetServiceConditionResult(dict):
|
|
4560
4918
|
severity: str,
|
4561
4919
|
state: str,
|
4562
4920
|
type: str):
|
4921
|
+
"""
|
4922
|
+
:param str execution_reason: A reason for the execution condition.
|
4923
|
+
:param str last_transition_time: Last time the condition transitioned from one status to another.
|
4924
|
+
|
4925
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
4926
|
+
:param str message: Human readable message indicating details about the current status.
|
4927
|
+
:param str reason: A common (service-level) reason for this condition.
|
4928
|
+
:param str revision_reason: A reason for the revision condition.
|
4929
|
+
:param str severity: How to interpret failures of this condition, one of Error, Warning, Info
|
4930
|
+
:param str state: State of the condition.
|
4931
|
+
:param str type: type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
|
4932
|
+
"""
|
4563
4933
|
pulumi.set(__self__, "execution_reason", execution_reason)
|
4564
4934
|
pulumi.set(__self__, "last_transition_time", last_transition_time)
|
4565
4935
|
pulumi.set(__self__, "message", message)
|
@@ -4572,41 +4942,67 @@ class GetServiceConditionResult(dict):
|
|
4572
4942
|
@property
|
4573
4943
|
@pulumi.getter(name="executionReason")
|
4574
4944
|
def execution_reason(self) -> str:
|
4945
|
+
"""
|
4946
|
+
A reason for the execution condition.
|
4947
|
+
"""
|
4575
4948
|
return pulumi.get(self, "execution_reason")
|
4576
4949
|
|
4577
4950
|
@property
|
4578
4951
|
@pulumi.getter(name="lastTransitionTime")
|
4579
4952
|
def last_transition_time(self) -> str:
|
4953
|
+
"""
|
4954
|
+
Last time the condition transitioned from one status to another.
|
4955
|
+
|
4956
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
4957
|
+
"""
|
4580
4958
|
return pulumi.get(self, "last_transition_time")
|
4581
4959
|
|
4582
4960
|
@property
|
4583
4961
|
@pulumi.getter
|
4584
4962
|
def message(self) -> str:
|
4963
|
+
"""
|
4964
|
+
Human readable message indicating details about the current status.
|
4965
|
+
"""
|
4585
4966
|
return pulumi.get(self, "message")
|
4586
4967
|
|
4587
4968
|
@property
|
4588
4969
|
@pulumi.getter
|
4589
4970
|
def reason(self) -> str:
|
4971
|
+
"""
|
4972
|
+
A common (service-level) reason for this condition.
|
4973
|
+
"""
|
4590
4974
|
return pulumi.get(self, "reason")
|
4591
4975
|
|
4592
4976
|
@property
|
4593
4977
|
@pulumi.getter(name="revisionReason")
|
4594
4978
|
def revision_reason(self) -> str:
|
4979
|
+
"""
|
4980
|
+
A reason for the revision condition.
|
4981
|
+
"""
|
4595
4982
|
return pulumi.get(self, "revision_reason")
|
4596
4983
|
|
4597
4984
|
@property
|
4598
4985
|
@pulumi.getter
|
4599
4986
|
def severity(self) -> str:
|
4987
|
+
"""
|
4988
|
+
How to interpret failures of this condition, one of Error, Warning, Info
|
4989
|
+
"""
|
4600
4990
|
return pulumi.get(self, "severity")
|
4601
4991
|
|
4602
4992
|
@property
|
4603
4993
|
@pulumi.getter
|
4604
4994
|
def state(self) -> str:
|
4995
|
+
"""
|
4996
|
+
State of the condition.
|
4997
|
+
"""
|
4605
4998
|
return pulumi.get(self, "state")
|
4606
4999
|
|
4607
5000
|
@property
|
4608
5001
|
@pulumi.getter
|
4609
5002
|
def type(self) -> str:
|
5003
|
+
"""
|
5004
|
+
type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
|
5005
|
+
"""
|
4610
5006
|
return pulumi.get(self, "type")
|
4611
5007
|
|
4612
5008
|
|
@@ -4626,6 +5022,32 @@ class GetServiceTemplateResult(dict):
|
|
4626
5022
|
timeout: str,
|
4627
5023
|
volumes: Sequence['outputs.GetServiceTemplateVolumeResult'],
|
4628
5024
|
vpc_accesses: Sequence['outputs.GetServiceTemplateVpcAccessResult']):
|
5025
|
+
"""
|
5026
|
+
:param Mapping[str, str] annotations: Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
|
5027
|
+
|
5028
|
+
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected.
|
5029
|
+
All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.
|
5030
|
+
|
5031
|
+
This field follows Kubernetes annotations' namespacing, limits, and rules.
|
5032
|
+
:param Sequence['GetServiceTemplateContainerArgs'] containers: Holds the containers that define the unit of execution for this Service.
|
5033
|
+
:param str encryption_key: A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
|
5034
|
+
:param str execution_environment: The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
|
5035
|
+
:param Mapping[str, str] labels: Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc.
|
5036
|
+
For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
|
5037
|
+
|
5038
|
+
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected.
|
5039
|
+
All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
|
5040
|
+
:param int max_instance_request_concurrency: Sets the maximum number of requests that each serving instance can receive.
|
5041
|
+
:param str revision: The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
|
5042
|
+
:param Sequence['GetServiceTemplateScalingArgs'] scalings: Scaling settings for this Revision.
|
5043
|
+
:param str service_account: Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
|
5044
|
+
:param bool session_affinity: Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
|
5045
|
+
:param str timeout: Max allowed time for an instance to respond to a request.
|
5046
|
+
|
5047
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
5048
|
+
:param Sequence['GetServiceTemplateVolumeArgs'] volumes: A list of Volumes to make available to containers.
|
5049
|
+
:param Sequence['GetServiceTemplateVpcAccessArgs'] vpc_accesses: VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
|
5050
|
+
"""
|
4629
5051
|
pulumi.set(__self__, "annotations", annotations)
|
4630
5052
|
pulumi.set(__self__, "containers", containers)
|
4631
5053
|
pulumi.set(__self__, "encryption_key", encryption_key)
|
@@ -4643,66 +5065,116 @@ class GetServiceTemplateResult(dict):
|
|
4643
5065
|
@property
|
4644
5066
|
@pulumi.getter
|
4645
5067
|
def annotations(self) -> Mapping[str, str]:
|
5068
|
+
"""
|
5069
|
+
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
|
5070
|
+
|
5071
|
+
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected.
|
5072
|
+
All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.
|
5073
|
+
|
5074
|
+
This field follows Kubernetes annotations' namespacing, limits, and rules.
|
5075
|
+
"""
|
4646
5076
|
return pulumi.get(self, "annotations")
|
4647
5077
|
|
4648
5078
|
@property
|
4649
5079
|
@pulumi.getter
|
4650
5080
|
def containers(self) -> Sequence['outputs.GetServiceTemplateContainerResult']:
|
5081
|
+
"""
|
5082
|
+
Holds the containers that define the unit of execution for this Service.
|
5083
|
+
"""
|
4651
5084
|
return pulumi.get(self, "containers")
|
4652
5085
|
|
4653
5086
|
@property
|
4654
5087
|
@pulumi.getter(name="encryptionKey")
|
4655
5088
|
def encryption_key(self) -> str:
|
5089
|
+
"""
|
5090
|
+
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
|
5091
|
+
"""
|
4656
5092
|
return pulumi.get(self, "encryption_key")
|
4657
5093
|
|
4658
5094
|
@property
|
4659
5095
|
@pulumi.getter(name="executionEnvironment")
|
4660
5096
|
def execution_environment(self) -> str:
|
5097
|
+
"""
|
5098
|
+
The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
|
5099
|
+
"""
|
4661
5100
|
return pulumi.get(self, "execution_environment")
|
4662
5101
|
|
4663
5102
|
@property
|
4664
5103
|
@pulumi.getter
|
4665
5104
|
def labels(self) -> Mapping[str, str]:
|
5105
|
+
"""
|
5106
|
+
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc.
|
5107
|
+
For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
|
5108
|
+
|
5109
|
+
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected.
|
5110
|
+
All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
|
5111
|
+
"""
|
4666
5112
|
return pulumi.get(self, "labels")
|
4667
5113
|
|
4668
5114
|
@property
|
4669
5115
|
@pulumi.getter(name="maxInstanceRequestConcurrency")
|
4670
5116
|
def max_instance_request_concurrency(self) -> int:
|
5117
|
+
"""
|
5118
|
+
Sets the maximum number of requests that each serving instance can receive.
|
5119
|
+
"""
|
4671
5120
|
return pulumi.get(self, "max_instance_request_concurrency")
|
4672
5121
|
|
4673
5122
|
@property
|
4674
5123
|
@pulumi.getter
|
4675
5124
|
def revision(self) -> str:
|
5125
|
+
"""
|
5126
|
+
The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
|
5127
|
+
"""
|
4676
5128
|
return pulumi.get(self, "revision")
|
4677
5129
|
|
4678
5130
|
@property
|
4679
5131
|
@pulumi.getter
|
4680
5132
|
def scalings(self) -> Sequence['outputs.GetServiceTemplateScalingResult']:
|
5133
|
+
"""
|
5134
|
+
Scaling settings for this Revision.
|
5135
|
+
"""
|
4681
5136
|
return pulumi.get(self, "scalings")
|
4682
5137
|
|
4683
5138
|
@property
|
4684
5139
|
@pulumi.getter(name="serviceAccount")
|
4685
5140
|
def service_account(self) -> str:
|
5141
|
+
"""
|
5142
|
+
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
|
5143
|
+
"""
|
4686
5144
|
return pulumi.get(self, "service_account")
|
4687
5145
|
|
4688
5146
|
@property
|
4689
5147
|
@pulumi.getter(name="sessionAffinity")
|
4690
5148
|
def session_affinity(self) -> bool:
|
5149
|
+
"""
|
5150
|
+
Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
|
5151
|
+
"""
|
4691
5152
|
return pulumi.get(self, "session_affinity")
|
4692
5153
|
|
4693
5154
|
@property
|
4694
5155
|
@pulumi.getter
|
4695
5156
|
def timeout(self) -> str:
|
5157
|
+
"""
|
5158
|
+
Max allowed time for an instance to respond to a request.
|
5159
|
+
|
5160
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
5161
|
+
"""
|
4696
5162
|
return pulumi.get(self, "timeout")
|
4697
5163
|
|
4698
5164
|
@property
|
4699
5165
|
@pulumi.getter
|
4700
5166
|
def volumes(self) -> Sequence['outputs.GetServiceTemplateVolumeResult']:
|
5167
|
+
"""
|
5168
|
+
A list of Volumes to make available to containers.
|
5169
|
+
"""
|
4701
5170
|
return pulumi.get(self, "volumes")
|
4702
5171
|
|
4703
5172
|
@property
|
4704
5173
|
@pulumi.getter(name="vpcAccesses")
|
4705
5174
|
def vpc_accesses(self) -> Sequence['outputs.GetServiceTemplateVpcAccessResult']:
|
5175
|
+
"""
|
5176
|
+
VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
|
5177
|
+
"""
|
4706
5178
|
return pulumi.get(self, "vpc_accesses")
|
4707
5179
|
|
4708
5180
|
|
@@ -4722,7 +5194,20 @@ class GetServiceTemplateContainerResult(dict):
|
|
4722
5194
|
volume_mounts: Sequence['outputs.GetServiceTemplateContainerVolumeMountResult'],
|
4723
5195
|
working_dir: str):
|
4724
5196
|
"""
|
5197
|
+
:param Sequence[str] args: Arguments to the entrypoint. The docker image's CMD 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
|
5198
|
+
: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
|
5199
|
+
: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.
|
5200
|
+
:param Sequence['GetServiceTemplateContainerEnvArgs'] envs: List of environment variables to set in the container.
|
5201
|
+
: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
|
5202
|
+
:param Sequence['GetServiceTemplateContainerLivenessProbeArgs'] liveness_probes: Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
|
4725
5203
|
:param str name: The name of the Cloud Run v2 Service.
|
5204
|
+
:param Sequence['GetServiceTemplateContainerPortArgs'] ports: List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
|
5205
|
+
|
5206
|
+
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
|
5207
|
+
:param Sequence['GetServiceTemplateContainerResourceArgs'] resources: Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
|
5208
|
+
:param Sequence['GetServiceTemplateContainerStartupProbeArgs'] startup_probes: Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
|
5209
|
+
:param Sequence['GetServiceTemplateContainerVolumeMountArgs'] volume_mounts: Volume to mount into the container's filesystem.
|
5210
|
+
: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.
|
4726
5211
|
"""
|
4727
5212
|
pulumi.set(__self__, "args", args)
|
4728
5213
|
pulumi.set(__self__, "commands", commands)
|
@@ -4740,31 +5225,49 @@ class GetServiceTemplateContainerResult(dict):
|
|
4740
5225
|
@property
|
4741
5226
|
@pulumi.getter
|
4742
5227
|
def args(self) -> Sequence[str]:
|
5228
|
+
"""
|
5229
|
+
Arguments to the entrypoint. The docker image's CMD 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
|
5230
|
+
"""
|
4743
5231
|
return pulumi.get(self, "args")
|
4744
5232
|
|
4745
5233
|
@property
|
4746
5234
|
@pulumi.getter
|
4747
5235
|
def commands(self) -> Sequence[str]:
|
5236
|
+
"""
|
5237
|
+
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
|
5238
|
+
"""
|
4748
5239
|
return pulumi.get(self, "commands")
|
4749
5240
|
|
4750
5241
|
@property
|
4751
5242
|
@pulumi.getter(name="dependsOns")
|
4752
5243
|
def depends_ons(self) -> Sequence[str]:
|
5244
|
+
"""
|
5245
|
+
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.
|
5246
|
+
"""
|
4753
5247
|
return pulumi.get(self, "depends_ons")
|
4754
5248
|
|
4755
5249
|
@property
|
4756
5250
|
@pulumi.getter
|
4757
5251
|
def envs(self) -> Sequence['outputs.GetServiceTemplateContainerEnvResult']:
|
5252
|
+
"""
|
5253
|
+
List of environment variables to set in the container.
|
5254
|
+
"""
|
4758
5255
|
return pulumi.get(self, "envs")
|
4759
5256
|
|
4760
5257
|
@property
|
4761
5258
|
@pulumi.getter
|
4762
5259
|
def image(self) -> str:
|
5260
|
+
"""
|
5261
|
+
URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
|
5262
|
+
"""
|
4763
5263
|
return pulumi.get(self, "image")
|
4764
5264
|
|
4765
5265
|
@property
|
4766
5266
|
@pulumi.getter(name="livenessProbes")
|
4767
5267
|
def liveness_probes(self) -> Sequence['outputs.GetServiceTemplateContainerLivenessProbeResult']:
|
5268
|
+
"""
|
5269
|
+
Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
|
5270
|
+
"""
|
4768
5271
|
return pulumi.get(self, "liveness_probes")
|
4769
5272
|
|
4770
5273
|
@property
|
@@ -4778,26 +5281,43 @@ class GetServiceTemplateContainerResult(dict):
|
|
4778
5281
|
@property
|
4779
5282
|
@pulumi.getter
|
4780
5283
|
def ports(self) -> Sequence['outputs.GetServiceTemplateContainerPortResult']:
|
5284
|
+
"""
|
5285
|
+
List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
|
5286
|
+
|
5287
|
+
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
|
5288
|
+
"""
|
4781
5289
|
return pulumi.get(self, "ports")
|
4782
5290
|
|
4783
5291
|
@property
|
4784
5292
|
@pulumi.getter
|
4785
5293
|
def resources(self) -> Sequence['outputs.GetServiceTemplateContainerResourceResult']:
|
5294
|
+
"""
|
5295
|
+
Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
|
5296
|
+
"""
|
4786
5297
|
return pulumi.get(self, "resources")
|
4787
5298
|
|
4788
5299
|
@property
|
4789
5300
|
@pulumi.getter(name="startupProbes")
|
4790
5301
|
def startup_probes(self) -> Sequence['outputs.GetServiceTemplateContainerStartupProbeResult']:
|
5302
|
+
"""
|
5303
|
+
Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
|
5304
|
+
"""
|
4791
5305
|
return pulumi.get(self, "startup_probes")
|
4792
5306
|
|
4793
5307
|
@property
|
4794
5308
|
@pulumi.getter(name="volumeMounts")
|
4795
5309
|
def volume_mounts(self) -> Sequence['outputs.GetServiceTemplateContainerVolumeMountResult']:
|
5310
|
+
"""
|
5311
|
+
Volume to mount into the container's filesystem.
|
5312
|
+
"""
|
4796
5313
|
return pulumi.get(self, "volume_mounts")
|
4797
5314
|
|
4798
5315
|
@property
|
4799
5316
|
@pulumi.getter(name="workingDir")
|
4800
5317
|
def working_dir(self) -> str:
|
5318
|
+
"""
|
5319
|
+
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
|
5320
|
+
"""
|
4801
5321
|
return pulumi.get(self, "working_dir")
|
4802
5322
|
|
4803
5323
|
|
@@ -4809,6 +5329,8 @@ class GetServiceTemplateContainerEnvResult(dict):
|
|
4809
5329
|
value_sources: Sequence['outputs.GetServiceTemplateContainerEnvValueSourceResult']):
|
4810
5330
|
"""
|
4811
5331
|
:param str name: The name of the Cloud Run v2 Service.
|
5332
|
+
:param str value: Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. 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. Defaults to "", and the maximum length is 32768 bytes
|
5333
|
+
:param Sequence['GetServiceTemplateContainerEnvValueSourceArgs'] value_sources: Source for the environment variable's value.
|
4812
5334
|
"""
|
4813
5335
|
pulumi.set(__self__, "name", name)
|
4814
5336
|
pulumi.set(__self__, "value", value)
|
@@ -4825,11 +5347,17 @@ class GetServiceTemplateContainerEnvResult(dict):
|
|
4825
5347
|
@property
|
4826
5348
|
@pulumi.getter
|
4827
5349
|
def value(self) -> str:
|
5350
|
+
"""
|
5351
|
+
Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. 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. Defaults to "", and the maximum length is 32768 bytes
|
5352
|
+
"""
|
4828
5353
|
return pulumi.get(self, "value")
|
4829
5354
|
|
4830
5355
|
@property
|
4831
5356
|
@pulumi.getter(name="valueSources")
|
4832
5357
|
def value_sources(self) -> Sequence['outputs.GetServiceTemplateContainerEnvValueSourceResult']:
|
5358
|
+
"""
|
5359
|
+
Source for the environment variable's value.
|
5360
|
+
"""
|
4833
5361
|
return pulumi.get(self, "value_sources")
|
4834
5362
|
|
4835
5363
|
|
@@ -4837,11 +5365,17 @@ class GetServiceTemplateContainerEnvResult(dict):
|
|
4837
5365
|
class GetServiceTemplateContainerEnvValueSourceResult(dict):
|
4838
5366
|
def __init__(__self__, *,
|
4839
5367
|
secret_key_reves: Sequence['outputs.GetServiceTemplateContainerEnvValueSourceSecretKeyRefResult']):
|
5368
|
+
"""
|
5369
|
+
:param Sequence['GetServiceTemplateContainerEnvValueSourceSecretKeyRefArgs'] secret_key_reves: Selects a secret and a specific version from Cloud Secret Manager.
|
5370
|
+
"""
|
4840
5371
|
pulumi.set(__self__, "secret_key_reves", secret_key_reves)
|
4841
5372
|
|
4842
5373
|
@property
|
4843
5374
|
@pulumi.getter(name="secretKeyReves")
|
4844
5375
|
def secret_key_reves(self) -> Sequence['outputs.GetServiceTemplateContainerEnvValueSourceSecretKeyRefResult']:
|
5376
|
+
"""
|
5377
|
+
Selects a secret and a specific version from Cloud Secret Manager.
|
5378
|
+
"""
|
4845
5379
|
return pulumi.get(self, "secret_key_reves")
|
4846
5380
|
|
4847
5381
|
|
@@ -4850,17 +5384,27 @@ class GetServiceTemplateContainerEnvValueSourceSecretKeyRefResult(dict):
|
|
4850
5384
|
def __init__(__self__, *,
|
4851
5385
|
secret: str,
|
4852
5386
|
version: str):
|
5387
|
+
"""
|
5388
|
+
:param str secret: The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
|
5389
|
+
:param str version: The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
|
5390
|
+
"""
|
4853
5391
|
pulumi.set(__self__, "secret", secret)
|
4854
5392
|
pulumi.set(__self__, "version", version)
|
4855
5393
|
|
4856
5394
|
@property
|
4857
5395
|
@pulumi.getter
|
4858
5396
|
def secret(self) -> str:
|
5397
|
+
"""
|
5398
|
+
The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
|
5399
|
+
"""
|
4859
5400
|
return pulumi.get(self, "secret")
|
4860
5401
|
|
4861
5402
|
@property
|
4862
5403
|
@pulumi.getter
|
4863
5404
|
def version(self) -> str:
|
5405
|
+
"""
|
5406
|
+
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
|
5407
|
+
"""
|
4864
5408
|
return pulumi.get(self, "version")
|
4865
5409
|
|
4866
5410
|
|
@@ -4874,6 +5418,15 @@ class GetServiceTemplateContainerLivenessProbeResult(dict):
|
|
4874
5418
|
period_seconds: int,
|
4875
5419
|
tcp_sockets: Sequence['outputs.GetServiceTemplateContainerLivenessProbeTcpSocketResult'],
|
4876
5420
|
timeout_seconds: int):
|
5421
|
+
"""
|
5422
|
+
:param int failure_threshold: Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
|
5423
|
+
:param Sequence['GetServiceTemplateContainerLivenessProbeGrpcArgs'] grpcs: GRPC specifies an action involving a GRPC port.
|
5424
|
+
:param Sequence['GetServiceTemplateContainerLivenessProbeHttpGetArgs'] http_gets: HTTPGet specifies the http request to perform.
|
5425
|
+
:param int initial_delay_seconds: Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
|
5426
|
+
:param int period_seconds: How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
|
5427
|
+
:param Sequence['GetServiceTemplateContainerLivenessProbeTcpSocketArgs'] tcp_sockets: TCPSocketAction describes an action based on opening a socket
|
5428
|
+
:param int timeout_seconds: Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
|
5429
|
+
"""
|
4877
5430
|
pulumi.set(__self__, "failure_threshold", failure_threshold)
|
4878
5431
|
pulumi.set(__self__, "grpcs", grpcs)
|
4879
5432
|
pulumi.set(__self__, "http_gets", http_gets)
|
@@ -4885,36 +5438,57 @@ class GetServiceTemplateContainerLivenessProbeResult(dict):
|
|
4885
5438
|
@property
|
4886
5439
|
@pulumi.getter(name="failureThreshold")
|
4887
5440
|
def failure_threshold(self) -> int:
|
5441
|
+
"""
|
5442
|
+
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
|
5443
|
+
"""
|
4888
5444
|
return pulumi.get(self, "failure_threshold")
|
4889
5445
|
|
4890
5446
|
@property
|
4891
5447
|
@pulumi.getter
|
4892
5448
|
def grpcs(self) -> Sequence['outputs.GetServiceTemplateContainerLivenessProbeGrpcResult']:
|
5449
|
+
"""
|
5450
|
+
GRPC specifies an action involving a GRPC port.
|
5451
|
+
"""
|
4893
5452
|
return pulumi.get(self, "grpcs")
|
4894
5453
|
|
4895
5454
|
@property
|
4896
5455
|
@pulumi.getter(name="httpGets")
|
4897
5456
|
def http_gets(self) -> Sequence['outputs.GetServiceTemplateContainerLivenessProbeHttpGetResult']:
|
5457
|
+
"""
|
5458
|
+
HTTPGet specifies the http request to perform.
|
5459
|
+
"""
|
4898
5460
|
return pulumi.get(self, "http_gets")
|
4899
5461
|
|
4900
5462
|
@property
|
4901
5463
|
@pulumi.getter(name="initialDelaySeconds")
|
4902
5464
|
def initial_delay_seconds(self) -> int:
|
5465
|
+
"""
|
5466
|
+
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
|
5467
|
+
"""
|
4903
5468
|
return pulumi.get(self, "initial_delay_seconds")
|
4904
5469
|
|
4905
5470
|
@property
|
4906
5471
|
@pulumi.getter(name="periodSeconds")
|
4907
5472
|
def period_seconds(self) -> int:
|
5473
|
+
"""
|
5474
|
+
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
|
5475
|
+
"""
|
4908
5476
|
return pulumi.get(self, "period_seconds")
|
4909
5477
|
|
4910
5478
|
@property
|
4911
5479
|
@pulumi.getter(name="tcpSockets")
|
4912
5480
|
def tcp_sockets(self) -> Sequence['outputs.GetServiceTemplateContainerLivenessProbeTcpSocketResult']:
|
5481
|
+
"""
|
5482
|
+
TCPSocketAction describes an action based on opening a socket
|
5483
|
+
"""
|
4913
5484
|
return pulumi.get(self, "tcp_sockets")
|
4914
5485
|
|
4915
5486
|
@property
|
4916
5487
|
@pulumi.getter(name="timeoutSeconds")
|
4917
5488
|
def timeout_seconds(self) -> int:
|
5489
|
+
"""
|
5490
|
+
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
|
5491
|
+
"""
|
4918
5492
|
return pulumi.get(self, "timeout_seconds")
|
4919
5493
|
|
4920
5494
|
|
@@ -4923,17 +5497,33 @@ class GetServiceTemplateContainerLivenessProbeGrpcResult(dict):
|
|
4923
5497
|
def __init__(__self__, *,
|
4924
5498
|
port: int,
|
4925
5499
|
service: str):
|
5500
|
+
"""
|
5501
|
+
:param int port: Port number to access on the container. Number must be in the range 1 to 65535.
|
5502
|
+
If not specified, defaults to the same value as container.ports[0].containerPort.
|
5503
|
+
:param str service: The name of the service to place in the gRPC HealthCheckRequest
|
5504
|
+
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
5505
|
+
If this is not specified, the default behavior is defined by gRPC.
|
5506
|
+
"""
|
4926
5507
|
pulumi.set(__self__, "port", port)
|
4927
5508
|
pulumi.set(__self__, "service", service)
|
4928
5509
|
|
4929
5510
|
@property
|
4930
5511
|
@pulumi.getter
|
4931
5512
|
def port(self) -> int:
|
5513
|
+
"""
|
5514
|
+
Port number to access on the container. Number must be in the range 1 to 65535.
|
5515
|
+
If not specified, defaults to the same value as container.ports[0].containerPort.
|
5516
|
+
"""
|
4932
5517
|
return pulumi.get(self, "port")
|
4933
5518
|
|
4934
5519
|
@property
|
4935
5520
|
@pulumi.getter
|
4936
5521
|
def service(self) -> str:
|
5522
|
+
"""
|
5523
|
+
The name of the service to place in the gRPC HealthCheckRequest
|
5524
|
+
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
5525
|
+
If this is not specified, the default behavior is defined by gRPC.
|
5526
|
+
"""
|
4937
5527
|
return pulumi.get(self, "service")
|
4938
5528
|
|
4939
5529
|
|
@@ -4943,6 +5533,12 @@ class GetServiceTemplateContainerLivenessProbeHttpGetResult(dict):
|
|
4943
5533
|
http_headers: Sequence['outputs.GetServiceTemplateContainerLivenessProbeHttpGetHttpHeaderResult'],
|
4944
5534
|
path: str,
|
4945
5535
|
port: int):
|
5536
|
+
"""
|
5537
|
+
:param Sequence['GetServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArgs'] http_headers: Custom headers to set in the request. HTTP allows repeated headers.
|
5538
|
+
:param str path: Path to access on the HTTP server. Defaults to '/'.
|
5539
|
+
:param int port: Port number to access on the container. Number must be in the range 1 to 65535.
|
5540
|
+
If not specified, defaults to the same value as container.ports[0].containerPort.
|
5541
|
+
"""
|
4946
5542
|
pulumi.set(__self__, "http_headers", http_headers)
|
4947
5543
|
pulumi.set(__self__, "path", path)
|
4948
5544
|
pulumi.set(__self__, "port", port)
|
@@ -4950,16 +5546,26 @@ class GetServiceTemplateContainerLivenessProbeHttpGetResult(dict):
|
|
4950
5546
|
@property
|
4951
5547
|
@pulumi.getter(name="httpHeaders")
|
4952
5548
|
def http_headers(self) -> Sequence['outputs.GetServiceTemplateContainerLivenessProbeHttpGetHttpHeaderResult']:
|
5549
|
+
"""
|
5550
|
+
Custom headers to set in the request. HTTP allows repeated headers.
|
5551
|
+
"""
|
4953
5552
|
return pulumi.get(self, "http_headers")
|
4954
5553
|
|
4955
5554
|
@property
|
4956
5555
|
@pulumi.getter
|
4957
5556
|
def path(self) -> str:
|
5557
|
+
"""
|
5558
|
+
Path to access on the HTTP server. Defaults to '/'.
|
5559
|
+
"""
|
4958
5560
|
return pulumi.get(self, "path")
|
4959
5561
|
|
4960
5562
|
@property
|
4961
5563
|
@pulumi.getter
|
4962
5564
|
def port(self) -> int:
|
5565
|
+
"""
|
5566
|
+
Port number to access on the container. Number must be in the range 1 to 65535.
|
5567
|
+
If not specified, defaults to the same value as container.ports[0].containerPort.
|
5568
|
+
"""
|
4963
5569
|
return pulumi.get(self, "port")
|
4964
5570
|
|
4965
5571
|
|
@@ -4970,6 +5576,7 @@ class GetServiceTemplateContainerLivenessProbeHttpGetHttpHeaderResult(dict):
|
|
4970
5576
|
value: str):
|
4971
5577
|
"""
|
4972
5578
|
:param str name: The name of the Cloud Run v2 Service.
|
5579
|
+
:param str value: The header field value
|
4973
5580
|
"""
|
4974
5581
|
pulumi.set(__self__, "name", name)
|
4975
5582
|
pulumi.set(__self__, "value", value)
|
@@ -4985,6 +5592,9 @@ class GetServiceTemplateContainerLivenessProbeHttpGetHttpHeaderResult(dict):
|
|
4985
5592
|
@property
|
4986
5593
|
@pulumi.getter
|
4987
5594
|
def value(self) -> str:
|
5595
|
+
"""
|
5596
|
+
The header field value
|
5597
|
+
"""
|
4988
5598
|
return pulumi.get(self, "value")
|
4989
5599
|
|
4990
5600
|
|
@@ -4992,11 +5602,21 @@ class GetServiceTemplateContainerLivenessProbeHttpGetHttpHeaderResult(dict):
|
|
4992
5602
|
class GetServiceTemplateContainerLivenessProbeTcpSocketResult(dict):
|
4993
5603
|
def __init__(__self__, *,
|
4994
5604
|
port: int):
|
5605
|
+
"""
|
5606
|
+
:param int port: Port number to access on the container. Must be in the range 1 to 65535.
|
5607
|
+
If not specified, defaults to the exposed port of the container, which
|
5608
|
+
is the value of container.ports[0].containerPort.
|
5609
|
+
"""
|
4995
5610
|
pulumi.set(__self__, "port", port)
|
4996
5611
|
|
4997
5612
|
@property
|
4998
5613
|
@pulumi.getter
|
4999
5614
|
def port(self) -> int:
|
5615
|
+
"""
|
5616
|
+
Port number to access on the container. Must be in the range 1 to 65535.
|
5617
|
+
If not specified, defaults to the exposed port of the container, which
|
5618
|
+
is the value of container.ports[0].containerPort.
|
5619
|
+
"""
|
5000
5620
|
return pulumi.get(self, "port")
|
5001
5621
|
|
5002
5622
|
|
@@ -5006,6 +5626,7 @@ class GetServiceTemplateContainerPortResult(dict):
|
|
5006
5626
|
container_port: int,
|
5007
5627
|
name: str):
|
5008
5628
|
"""
|
5629
|
+
:param int container_port: Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
|
5009
5630
|
:param str name: The name of the Cloud Run v2 Service.
|
5010
5631
|
"""
|
5011
5632
|
pulumi.set(__self__, "container_port", container_port)
|
@@ -5014,6 +5635,9 @@ class GetServiceTemplateContainerPortResult(dict):
|
|
5014
5635
|
@property
|
5015
5636
|
@pulumi.getter(name="containerPort")
|
5016
5637
|
def container_port(self) -> int:
|
5638
|
+
"""
|
5639
|
+
Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
|
5640
|
+
"""
|
5017
5641
|
return pulumi.get(self, "container_port")
|
5018
5642
|
|
5019
5643
|
@property
|
@@ -5031,6 +5655,11 @@ class GetServiceTemplateContainerResourceResult(dict):
|
|
5031
5655
|
cpu_idle: bool,
|
5032
5656
|
limits: Mapping[str, str],
|
5033
5657
|
startup_cpu_boost: bool):
|
5658
|
+
"""
|
5659
|
+
:param bool cpu_idle: Determines whether CPU should be throttled or not outside of requests.
|
5660
|
+
:param Mapping[str, str] limits: Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
|
5661
|
+
:param bool startup_cpu_boost: Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
|
5662
|
+
"""
|
5034
5663
|
pulumi.set(__self__, "cpu_idle", cpu_idle)
|
5035
5664
|
pulumi.set(__self__, "limits", limits)
|
5036
5665
|
pulumi.set(__self__, "startup_cpu_boost", startup_cpu_boost)
|
@@ -5038,16 +5667,25 @@ class GetServiceTemplateContainerResourceResult(dict):
|
|
5038
5667
|
@property
|
5039
5668
|
@pulumi.getter(name="cpuIdle")
|
5040
5669
|
def cpu_idle(self) -> bool:
|
5670
|
+
"""
|
5671
|
+
Determines whether CPU should be throttled or not outside of requests.
|
5672
|
+
"""
|
5041
5673
|
return pulumi.get(self, "cpu_idle")
|
5042
5674
|
|
5043
5675
|
@property
|
5044
5676
|
@pulumi.getter
|
5045
5677
|
def limits(self) -> Mapping[str, str]:
|
5678
|
+
"""
|
5679
|
+
Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
|
5680
|
+
"""
|
5046
5681
|
return pulumi.get(self, "limits")
|
5047
5682
|
|
5048
5683
|
@property
|
5049
5684
|
@pulumi.getter(name="startupCpuBoost")
|
5050
5685
|
def startup_cpu_boost(self) -> bool:
|
5686
|
+
"""
|
5687
|
+
Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
|
5688
|
+
"""
|
5051
5689
|
return pulumi.get(self, "startup_cpu_boost")
|
5052
5690
|
|
5053
5691
|
|
@@ -5061,6 +5699,15 @@ class GetServiceTemplateContainerStartupProbeResult(dict):
|
|
5061
5699
|
period_seconds: int,
|
5062
5700
|
tcp_sockets: Sequence['outputs.GetServiceTemplateContainerStartupProbeTcpSocketResult'],
|
5063
5701
|
timeout_seconds: int):
|
5702
|
+
"""
|
5703
|
+
:param int failure_threshold: Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
|
5704
|
+
:param Sequence['GetServiceTemplateContainerStartupProbeGrpcArgs'] grpcs: GRPC specifies an action involving a GRPC port.
|
5705
|
+
:param Sequence['GetServiceTemplateContainerStartupProbeHttpGetArgs'] http_gets: HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
|
5706
|
+
:param int initial_delay_seconds: Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
|
5707
|
+
:param int period_seconds: How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
|
5708
|
+
:param Sequence['GetServiceTemplateContainerStartupProbeTcpSocketArgs'] tcp_sockets: TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
|
5709
|
+
:param int timeout_seconds: Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
|
5710
|
+
"""
|
5064
5711
|
pulumi.set(__self__, "failure_threshold", failure_threshold)
|
5065
5712
|
pulumi.set(__self__, "grpcs", grpcs)
|
5066
5713
|
pulumi.set(__self__, "http_gets", http_gets)
|
@@ -5072,36 +5719,57 @@ class GetServiceTemplateContainerStartupProbeResult(dict):
|
|
5072
5719
|
@property
|
5073
5720
|
@pulumi.getter(name="failureThreshold")
|
5074
5721
|
def failure_threshold(self) -> int:
|
5722
|
+
"""
|
5723
|
+
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
|
5724
|
+
"""
|
5075
5725
|
return pulumi.get(self, "failure_threshold")
|
5076
5726
|
|
5077
5727
|
@property
|
5078
5728
|
@pulumi.getter
|
5079
5729
|
def grpcs(self) -> Sequence['outputs.GetServiceTemplateContainerStartupProbeGrpcResult']:
|
5730
|
+
"""
|
5731
|
+
GRPC specifies an action involving a GRPC port.
|
5732
|
+
"""
|
5080
5733
|
return pulumi.get(self, "grpcs")
|
5081
5734
|
|
5082
5735
|
@property
|
5083
5736
|
@pulumi.getter(name="httpGets")
|
5084
5737
|
def http_gets(self) -> Sequence['outputs.GetServiceTemplateContainerStartupProbeHttpGetResult']:
|
5738
|
+
"""
|
5739
|
+
HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
|
5740
|
+
"""
|
5085
5741
|
return pulumi.get(self, "http_gets")
|
5086
5742
|
|
5087
5743
|
@property
|
5088
5744
|
@pulumi.getter(name="initialDelaySeconds")
|
5089
5745
|
def initial_delay_seconds(self) -> int:
|
5746
|
+
"""
|
5747
|
+
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
|
5748
|
+
"""
|
5090
5749
|
return pulumi.get(self, "initial_delay_seconds")
|
5091
5750
|
|
5092
5751
|
@property
|
5093
5752
|
@pulumi.getter(name="periodSeconds")
|
5094
5753
|
def period_seconds(self) -> int:
|
5754
|
+
"""
|
5755
|
+
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
|
5756
|
+
"""
|
5095
5757
|
return pulumi.get(self, "period_seconds")
|
5096
5758
|
|
5097
5759
|
@property
|
5098
5760
|
@pulumi.getter(name="tcpSockets")
|
5099
5761
|
def tcp_sockets(self) -> Sequence['outputs.GetServiceTemplateContainerStartupProbeTcpSocketResult']:
|
5762
|
+
"""
|
5763
|
+
TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
|
5764
|
+
"""
|
5100
5765
|
return pulumi.get(self, "tcp_sockets")
|
5101
5766
|
|
5102
5767
|
@property
|
5103
5768
|
@pulumi.getter(name="timeoutSeconds")
|
5104
5769
|
def timeout_seconds(self) -> int:
|
5770
|
+
"""
|
5771
|
+
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
|
5772
|
+
"""
|
5105
5773
|
return pulumi.get(self, "timeout_seconds")
|
5106
5774
|
|
5107
5775
|
|
@@ -5110,17 +5778,33 @@ class GetServiceTemplateContainerStartupProbeGrpcResult(dict):
|
|
5110
5778
|
def __init__(__self__, *,
|
5111
5779
|
port: int,
|
5112
5780
|
service: str):
|
5781
|
+
"""
|
5782
|
+
:param int port: Port number to access on the container. Number must be in the range 1 to 65535.
|
5783
|
+
If not specified, defaults to the same value as container.ports[0].containerPort.
|
5784
|
+
:param str service: The name of the service to place in the gRPC HealthCheckRequest
|
5785
|
+
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
5786
|
+
If this is not specified, the default behavior is defined by gRPC.
|
5787
|
+
"""
|
5113
5788
|
pulumi.set(__self__, "port", port)
|
5114
5789
|
pulumi.set(__self__, "service", service)
|
5115
5790
|
|
5116
5791
|
@property
|
5117
5792
|
@pulumi.getter
|
5118
5793
|
def port(self) -> int:
|
5794
|
+
"""
|
5795
|
+
Port number to access on the container. Number must be in the range 1 to 65535.
|
5796
|
+
If not specified, defaults to the same value as container.ports[0].containerPort.
|
5797
|
+
"""
|
5119
5798
|
return pulumi.get(self, "port")
|
5120
5799
|
|
5121
5800
|
@property
|
5122
5801
|
@pulumi.getter
|
5123
5802
|
def service(self) -> str:
|
5803
|
+
"""
|
5804
|
+
The name of the service to place in the gRPC HealthCheckRequest
|
5805
|
+
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
5806
|
+
If this is not specified, the default behavior is defined by gRPC.
|
5807
|
+
"""
|
5124
5808
|
return pulumi.get(self, "service")
|
5125
5809
|
|
5126
5810
|
|
@@ -5130,6 +5814,12 @@ class GetServiceTemplateContainerStartupProbeHttpGetResult(dict):
|
|
5130
5814
|
http_headers: Sequence['outputs.GetServiceTemplateContainerStartupProbeHttpGetHttpHeaderResult'],
|
5131
5815
|
path: str,
|
5132
5816
|
port: int):
|
5817
|
+
"""
|
5818
|
+
:param Sequence['GetServiceTemplateContainerStartupProbeHttpGetHttpHeaderArgs'] http_headers: Custom headers to set in the request. HTTP allows repeated headers.
|
5819
|
+
:param str path: Path to access on the HTTP server. Defaults to '/'.
|
5820
|
+
:param int port: Port number to access on the container. Must be in the range 1 to 65535.
|
5821
|
+
If not specified, defaults to the same value as container.ports[0].containerPort.
|
5822
|
+
"""
|
5133
5823
|
pulumi.set(__self__, "http_headers", http_headers)
|
5134
5824
|
pulumi.set(__self__, "path", path)
|
5135
5825
|
pulumi.set(__self__, "port", port)
|
@@ -5137,16 +5827,26 @@ class GetServiceTemplateContainerStartupProbeHttpGetResult(dict):
|
|
5137
5827
|
@property
|
5138
5828
|
@pulumi.getter(name="httpHeaders")
|
5139
5829
|
def http_headers(self) -> Sequence['outputs.GetServiceTemplateContainerStartupProbeHttpGetHttpHeaderResult']:
|
5830
|
+
"""
|
5831
|
+
Custom headers to set in the request. HTTP allows repeated headers.
|
5832
|
+
"""
|
5140
5833
|
return pulumi.get(self, "http_headers")
|
5141
5834
|
|
5142
5835
|
@property
|
5143
5836
|
@pulumi.getter
|
5144
5837
|
def path(self) -> str:
|
5838
|
+
"""
|
5839
|
+
Path to access on the HTTP server. Defaults to '/'.
|
5840
|
+
"""
|
5145
5841
|
return pulumi.get(self, "path")
|
5146
5842
|
|
5147
5843
|
@property
|
5148
5844
|
@pulumi.getter
|
5149
5845
|
def port(self) -> int:
|
5846
|
+
"""
|
5847
|
+
Port number to access on the container. Must be in the range 1 to 65535.
|
5848
|
+
If not specified, defaults to the same value as container.ports[0].containerPort.
|
5849
|
+
"""
|
5150
5850
|
return pulumi.get(self, "port")
|
5151
5851
|
|
5152
5852
|
|
@@ -5157,6 +5857,7 @@ class GetServiceTemplateContainerStartupProbeHttpGetHttpHeaderResult(dict):
|
|
5157
5857
|
value: str):
|
5158
5858
|
"""
|
5159
5859
|
:param str name: The name of the Cloud Run v2 Service.
|
5860
|
+
:param str value: The header field value
|
5160
5861
|
"""
|
5161
5862
|
pulumi.set(__self__, "name", name)
|
5162
5863
|
pulumi.set(__self__, "value", value)
|
@@ -5172,6 +5873,9 @@ class GetServiceTemplateContainerStartupProbeHttpGetHttpHeaderResult(dict):
|
|
5172
5873
|
@property
|
5173
5874
|
@pulumi.getter
|
5174
5875
|
def value(self) -> str:
|
5876
|
+
"""
|
5877
|
+
The header field value
|
5878
|
+
"""
|
5175
5879
|
return pulumi.get(self, "value")
|
5176
5880
|
|
5177
5881
|
|
@@ -5179,11 +5883,19 @@ class GetServiceTemplateContainerStartupProbeHttpGetHttpHeaderResult(dict):
|
|
5179
5883
|
class GetServiceTemplateContainerStartupProbeTcpSocketResult(dict):
|
5180
5884
|
def __init__(__self__, *,
|
5181
5885
|
port: int):
|
5886
|
+
"""
|
5887
|
+
:param int port: Port number to access on the container. Must be in the range 1 to 65535.
|
5888
|
+
If not specified, defaults to the same value as container.ports[0].containerPort.
|
5889
|
+
"""
|
5182
5890
|
pulumi.set(__self__, "port", port)
|
5183
5891
|
|
5184
5892
|
@property
|
5185
5893
|
@pulumi.getter
|
5186
5894
|
def port(self) -> int:
|
5895
|
+
"""
|
5896
|
+
Port number to access on the container. Must be in the range 1 to 65535.
|
5897
|
+
If not specified, defaults to the same value as container.ports[0].containerPort.
|
5898
|
+
"""
|
5187
5899
|
return pulumi.get(self, "port")
|
5188
5900
|
|
5189
5901
|
|
@@ -5193,6 +5905,7 @@ class GetServiceTemplateContainerVolumeMountResult(dict):
|
|
5193
5905
|
mount_path: str,
|
5194
5906
|
name: str):
|
5195
5907
|
"""
|
5908
|
+
:param str mount_path: Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
|
5196
5909
|
:param str name: The name of the Cloud Run v2 Service.
|
5197
5910
|
"""
|
5198
5911
|
pulumi.set(__self__, "mount_path", mount_path)
|
@@ -5201,6 +5914,9 @@ class GetServiceTemplateContainerVolumeMountResult(dict):
|
|
5201
5914
|
@property
|
5202
5915
|
@pulumi.getter(name="mountPath")
|
5203
5916
|
def mount_path(self) -> str:
|
5917
|
+
"""
|
5918
|
+
Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
|
5919
|
+
"""
|
5204
5920
|
return pulumi.get(self, "mount_path")
|
5205
5921
|
|
5206
5922
|
@property
|
@@ -5217,17 +5933,27 @@ class GetServiceTemplateScalingResult(dict):
|
|
5217
5933
|
def __init__(__self__, *,
|
5218
5934
|
max_instance_count: int,
|
5219
5935
|
min_instance_count: int):
|
5936
|
+
"""
|
5937
|
+
:param int max_instance_count: Maximum number of serving instances that this resource should have.
|
5938
|
+
:param int min_instance_count: Minimum number of serving instances that this resource should have.
|
5939
|
+
"""
|
5220
5940
|
pulumi.set(__self__, "max_instance_count", max_instance_count)
|
5221
5941
|
pulumi.set(__self__, "min_instance_count", min_instance_count)
|
5222
5942
|
|
5223
5943
|
@property
|
5224
5944
|
@pulumi.getter(name="maxInstanceCount")
|
5225
5945
|
def max_instance_count(self) -> int:
|
5946
|
+
"""
|
5947
|
+
Maximum number of serving instances that this resource should have.
|
5948
|
+
"""
|
5226
5949
|
return pulumi.get(self, "max_instance_count")
|
5227
5950
|
|
5228
5951
|
@property
|
5229
5952
|
@pulumi.getter(name="minInstanceCount")
|
5230
5953
|
def min_instance_count(self) -> int:
|
5954
|
+
"""
|
5955
|
+
Minimum number of serving instances that this resource should have.
|
5956
|
+
"""
|
5231
5957
|
return pulumi.get(self, "min_instance_count")
|
5232
5958
|
|
5233
5959
|
|
@@ -5241,7 +5967,12 @@ class GetServiceTemplateVolumeResult(dict):
|
|
5241
5967
|
nfs: Sequence['outputs.GetServiceTemplateVolumeNfResult'],
|
5242
5968
|
secrets: Sequence['outputs.GetServiceTemplateVolumeSecretResult']):
|
5243
5969
|
"""
|
5970
|
+
:param Sequence['GetServiceTemplateVolumeCloudSqlInstanceArgs'] cloud_sql_instances: For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
|
5971
|
+
:param Sequence['GetServiceTemplateVolumeEmptyDirArgs'] empty_dirs: Ephemeral storage used as a shared volume.
|
5972
|
+
:param Sequence['GetServiceTemplateVolumeGcArgs'] gcs: Represents a GCS Bucket mounted as a volume.
|
5244
5973
|
:param str name: The name of the Cloud Run v2 Service.
|
5974
|
+
:param Sequence['GetServiceTemplateVolumeNfArgs'] nfs: Represents an NFS mount.
|
5975
|
+
:param Sequence['GetServiceTemplateVolumeSecretArgs'] secrets: Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
|
5245
5976
|
"""
|
5246
5977
|
pulumi.set(__self__, "cloud_sql_instances", cloud_sql_instances)
|
5247
5978
|
pulumi.set(__self__, "empty_dirs", empty_dirs)
|
@@ -5253,16 +5984,25 @@ class GetServiceTemplateVolumeResult(dict):
|
|
5253
5984
|
@property
|
5254
5985
|
@pulumi.getter(name="cloudSqlInstances")
|
5255
5986
|
def cloud_sql_instances(self) -> Sequence['outputs.GetServiceTemplateVolumeCloudSqlInstanceResult']:
|
5987
|
+
"""
|
5988
|
+
For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
|
5989
|
+
"""
|
5256
5990
|
return pulumi.get(self, "cloud_sql_instances")
|
5257
5991
|
|
5258
5992
|
@property
|
5259
5993
|
@pulumi.getter(name="emptyDirs")
|
5260
5994
|
def empty_dirs(self) -> Sequence['outputs.GetServiceTemplateVolumeEmptyDirResult']:
|
5995
|
+
"""
|
5996
|
+
Ephemeral storage used as a shared volume.
|
5997
|
+
"""
|
5261
5998
|
return pulumi.get(self, "empty_dirs")
|
5262
5999
|
|
5263
6000
|
@property
|
5264
6001
|
@pulumi.getter
|
5265
6002
|
def gcs(self) -> Sequence['outputs.GetServiceTemplateVolumeGcResult']:
|
6003
|
+
"""
|
6004
|
+
Represents a GCS Bucket mounted as a volume.
|
6005
|
+
"""
|
5266
6006
|
return pulumi.get(self, "gcs")
|
5267
6007
|
|
5268
6008
|
@property
|
@@ -5276,11 +6016,17 @@ class GetServiceTemplateVolumeResult(dict):
|
|
5276
6016
|
@property
|
5277
6017
|
@pulumi.getter
|
5278
6018
|
def nfs(self) -> Sequence['outputs.GetServiceTemplateVolumeNfResult']:
|
6019
|
+
"""
|
6020
|
+
Represents an NFS mount.
|
6021
|
+
"""
|
5279
6022
|
return pulumi.get(self, "nfs")
|
5280
6023
|
|
5281
6024
|
@property
|
5282
6025
|
@pulumi.getter
|
5283
6026
|
def secrets(self) -> Sequence['outputs.GetServiceTemplateVolumeSecretResult']:
|
6027
|
+
"""
|
6028
|
+
Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
|
6029
|
+
"""
|
5284
6030
|
return pulumi.get(self, "secrets")
|
5285
6031
|
|
5286
6032
|
|
@@ -5288,11 +6034,17 @@ class GetServiceTemplateVolumeResult(dict):
|
|
5288
6034
|
class GetServiceTemplateVolumeCloudSqlInstanceResult(dict):
|
5289
6035
|
def __init__(__self__, *,
|
5290
6036
|
instances: Sequence[str]):
|
6037
|
+
"""
|
6038
|
+
:param Sequence[str] instances: The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
|
6039
|
+
"""
|
5291
6040
|
pulumi.set(__self__, "instances", instances)
|
5292
6041
|
|
5293
6042
|
@property
|
5294
6043
|
@pulumi.getter
|
5295
6044
|
def instances(self) -> Sequence[str]:
|
6045
|
+
"""
|
6046
|
+
The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
|
6047
|
+
"""
|
5296
6048
|
return pulumi.get(self, "instances")
|
5297
6049
|
|
5298
6050
|
|
@@ -5301,17 +6053,27 @@ class GetServiceTemplateVolumeEmptyDirResult(dict):
|
|
5301
6053
|
def __init__(__self__, *,
|
5302
6054
|
medium: str,
|
5303
6055
|
size_limit: str):
|
6056
|
+
"""
|
6057
|
+
:param str medium: The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
|
6058
|
+
: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.
|
6059
|
+
"""
|
5304
6060
|
pulumi.set(__self__, "medium", medium)
|
5305
6061
|
pulumi.set(__self__, "size_limit", size_limit)
|
5306
6062
|
|
5307
6063
|
@property
|
5308
6064
|
@pulumi.getter
|
5309
6065
|
def medium(self) -> str:
|
6066
|
+
"""
|
6067
|
+
The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
|
6068
|
+
"""
|
5310
6069
|
return pulumi.get(self, "medium")
|
5311
6070
|
|
5312
6071
|
@property
|
5313
6072
|
@pulumi.getter(name="sizeLimit")
|
5314
6073
|
def size_limit(self) -> str:
|
6074
|
+
"""
|
6075
|
+
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.
|
6076
|
+
"""
|
5315
6077
|
return pulumi.get(self, "size_limit")
|
5316
6078
|
|
5317
6079
|
|
@@ -5320,17 +6082,27 @@ class GetServiceTemplateVolumeGcResult(dict):
|
|
5320
6082
|
def __init__(__self__, *,
|
5321
6083
|
bucket: str,
|
5322
6084
|
read_only: bool):
|
6085
|
+
"""
|
6086
|
+
:param str bucket: GCS Bucket name
|
6087
|
+
:param bool read_only: If true, mount the GCS bucket as read-only
|
6088
|
+
"""
|
5323
6089
|
pulumi.set(__self__, "bucket", bucket)
|
5324
6090
|
pulumi.set(__self__, "read_only", read_only)
|
5325
6091
|
|
5326
6092
|
@property
|
5327
6093
|
@pulumi.getter
|
5328
6094
|
def bucket(self) -> str:
|
6095
|
+
"""
|
6096
|
+
GCS Bucket name
|
6097
|
+
"""
|
5329
6098
|
return pulumi.get(self, "bucket")
|
5330
6099
|
|
5331
6100
|
@property
|
5332
6101
|
@pulumi.getter(name="readOnly")
|
5333
6102
|
def read_only(self) -> bool:
|
6103
|
+
"""
|
6104
|
+
If true, mount the GCS bucket as read-only
|
6105
|
+
"""
|
5334
6106
|
return pulumi.get(self, "read_only")
|
5335
6107
|
|
5336
6108
|
|
@@ -5340,6 +6112,11 @@ class GetServiceTemplateVolumeNfResult(dict):
|
|
5340
6112
|
path: str,
|
5341
6113
|
read_only: bool,
|
5342
6114
|
server: str):
|
6115
|
+
"""
|
6116
|
+
:param str path: Path that is exported by the NFS server.
|
6117
|
+
:param bool read_only: If true, mount the NFS volume as read only
|
6118
|
+
:param str server: Hostname or IP address of the NFS server
|
6119
|
+
"""
|
5343
6120
|
pulumi.set(__self__, "path", path)
|
5344
6121
|
pulumi.set(__self__, "read_only", read_only)
|
5345
6122
|
pulumi.set(__self__, "server", server)
|
@@ -5347,16 +6124,25 @@ class GetServiceTemplateVolumeNfResult(dict):
|
|
5347
6124
|
@property
|
5348
6125
|
@pulumi.getter
|
5349
6126
|
def path(self) -> str:
|
6127
|
+
"""
|
6128
|
+
Path that is exported by the NFS server.
|
6129
|
+
"""
|
5350
6130
|
return pulumi.get(self, "path")
|
5351
6131
|
|
5352
6132
|
@property
|
5353
6133
|
@pulumi.getter(name="readOnly")
|
5354
6134
|
def read_only(self) -> bool:
|
6135
|
+
"""
|
6136
|
+
If true, mount the NFS volume as read only
|
6137
|
+
"""
|
5355
6138
|
return pulumi.get(self, "read_only")
|
5356
6139
|
|
5357
6140
|
@property
|
5358
6141
|
@pulumi.getter
|
5359
6142
|
def server(self) -> str:
|
6143
|
+
"""
|
6144
|
+
Hostname or IP address of the NFS server
|
6145
|
+
"""
|
5360
6146
|
return pulumi.get(self, "server")
|
5361
6147
|
|
5362
6148
|
|
@@ -5366,6 +6152,11 @@ class GetServiceTemplateVolumeSecretResult(dict):
|
|
5366
6152
|
default_mode: int,
|
5367
6153
|
items: Sequence['outputs.GetServiceTemplateVolumeSecretItemResult'],
|
5368
6154
|
secret: str):
|
6155
|
+
"""
|
6156
|
+
:param int default_mode: Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
|
6157
|
+
:param Sequence['GetServiceTemplateVolumeSecretItemArgs'] items: If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
|
6158
|
+
:param str secret: The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
|
6159
|
+
"""
|
5369
6160
|
pulumi.set(__self__, "default_mode", default_mode)
|
5370
6161
|
pulumi.set(__self__, "items", items)
|
5371
6162
|
pulumi.set(__self__, "secret", secret)
|
@@ -5373,16 +6164,25 @@ class GetServiceTemplateVolumeSecretResult(dict):
|
|
5373
6164
|
@property
|
5374
6165
|
@pulumi.getter(name="defaultMode")
|
5375
6166
|
def default_mode(self) -> int:
|
6167
|
+
"""
|
6168
|
+
Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
|
6169
|
+
"""
|
5376
6170
|
return pulumi.get(self, "default_mode")
|
5377
6171
|
|
5378
6172
|
@property
|
5379
6173
|
@pulumi.getter
|
5380
6174
|
def items(self) -> Sequence['outputs.GetServiceTemplateVolumeSecretItemResult']:
|
6175
|
+
"""
|
6176
|
+
If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
|
6177
|
+
"""
|
5381
6178
|
return pulumi.get(self, "items")
|
5382
6179
|
|
5383
6180
|
@property
|
5384
6181
|
@pulumi.getter
|
5385
6182
|
def secret(self) -> str:
|
6183
|
+
"""
|
6184
|
+
The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
|
6185
|
+
"""
|
5386
6186
|
return pulumi.get(self, "secret")
|
5387
6187
|
|
5388
6188
|
|
@@ -5392,6 +6192,11 @@ class GetServiceTemplateVolumeSecretItemResult(dict):
|
|
5392
6192
|
mode: int,
|
5393
6193
|
path: str,
|
5394
6194
|
version: str):
|
6195
|
+
"""
|
6196
|
+
:param int mode: Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
|
6197
|
+
:param str path: The relative path of the secret in the container.
|
6198
|
+
:param str version: The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
|
6199
|
+
"""
|
5395
6200
|
pulumi.set(__self__, "mode", mode)
|
5396
6201
|
pulumi.set(__self__, "path", path)
|
5397
6202
|
pulumi.set(__self__, "version", version)
|
@@ -5399,16 +6204,25 @@ class GetServiceTemplateVolumeSecretItemResult(dict):
|
|
5399
6204
|
@property
|
5400
6205
|
@pulumi.getter
|
5401
6206
|
def mode(self) -> int:
|
6207
|
+
"""
|
6208
|
+
Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
|
6209
|
+
"""
|
5402
6210
|
return pulumi.get(self, "mode")
|
5403
6211
|
|
5404
6212
|
@property
|
5405
6213
|
@pulumi.getter
|
5406
6214
|
def path(self) -> str:
|
6215
|
+
"""
|
6216
|
+
The relative path of the secret in the container.
|
6217
|
+
"""
|
5407
6218
|
return pulumi.get(self, "path")
|
5408
6219
|
|
5409
6220
|
@property
|
5410
6221
|
@pulumi.getter
|
5411
6222
|
def version(self) -> str:
|
6223
|
+
"""
|
6224
|
+
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
|
6225
|
+
"""
|
5412
6226
|
return pulumi.get(self, "version")
|
5413
6227
|
|
5414
6228
|
|
@@ -5418,6 +6232,11 @@ class GetServiceTemplateVpcAccessResult(dict):
|
|
5418
6232
|
connector: str,
|
5419
6233
|
egress: str,
|
5420
6234
|
network_interfaces: Sequence['outputs.GetServiceTemplateVpcAccessNetworkInterfaceResult']):
|
6235
|
+
"""
|
6236
|
+
:param str connector: VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
|
6237
|
+
:param str egress: Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
|
6238
|
+
:param Sequence['GetServiceTemplateVpcAccessNetworkInterfaceArgs'] network_interfaces: Direct VPC egress settings. Currently only single network interface is supported.
|
6239
|
+
"""
|
5421
6240
|
pulumi.set(__self__, "connector", connector)
|
5422
6241
|
pulumi.set(__self__, "egress", egress)
|
5423
6242
|
pulumi.set(__self__, "network_interfaces", network_interfaces)
|
@@ -5425,16 +6244,25 @@ class GetServiceTemplateVpcAccessResult(dict):
|
|
5425
6244
|
@property
|
5426
6245
|
@pulumi.getter
|
5427
6246
|
def connector(self) -> str:
|
6247
|
+
"""
|
6248
|
+
VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
|
6249
|
+
"""
|
5428
6250
|
return pulumi.get(self, "connector")
|
5429
6251
|
|
5430
6252
|
@property
|
5431
6253
|
@pulumi.getter
|
5432
6254
|
def egress(self) -> str:
|
6255
|
+
"""
|
6256
|
+
Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
|
6257
|
+
"""
|
5433
6258
|
return pulumi.get(self, "egress")
|
5434
6259
|
|
5435
6260
|
@property
|
5436
6261
|
@pulumi.getter(name="networkInterfaces")
|
5437
6262
|
def network_interfaces(self) -> Sequence['outputs.GetServiceTemplateVpcAccessNetworkInterfaceResult']:
|
6263
|
+
"""
|
6264
|
+
Direct VPC egress settings. Currently only single network interface is supported.
|
6265
|
+
"""
|
5438
6266
|
return pulumi.get(self, "network_interfaces")
|
5439
6267
|
|
5440
6268
|
|
@@ -5444,6 +6272,15 @@ class GetServiceTemplateVpcAccessNetworkInterfaceResult(dict):
|
|
5444
6272
|
network: str,
|
5445
6273
|
subnetwork: str,
|
5446
6274
|
tags: Sequence[str]):
|
6275
|
+
"""
|
6276
|
+
:param str network: The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both
|
6277
|
+
network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be
|
6278
|
+
looked up from the subnetwork.
|
6279
|
+
:param str subnetwork: The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both
|
6280
|
+
network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the
|
6281
|
+
subnetwork with the same name with the network will be used.
|
6282
|
+
:param Sequence[str] tags: Network tags applied to this Cloud Run service.
|
6283
|
+
"""
|
5447
6284
|
pulumi.set(__self__, "network", network)
|
5448
6285
|
pulumi.set(__self__, "subnetwork", subnetwork)
|
5449
6286
|
pulumi.set(__self__, "tags", tags)
|
@@ -5451,16 +6288,29 @@ class GetServiceTemplateVpcAccessNetworkInterfaceResult(dict):
|
|
5451
6288
|
@property
|
5452
6289
|
@pulumi.getter
|
5453
6290
|
def network(self) -> str:
|
6291
|
+
"""
|
6292
|
+
The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both
|
6293
|
+
network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be
|
6294
|
+
looked up from the subnetwork.
|
6295
|
+
"""
|
5454
6296
|
return pulumi.get(self, "network")
|
5455
6297
|
|
5456
6298
|
@property
|
5457
6299
|
@pulumi.getter
|
5458
6300
|
def subnetwork(self) -> str:
|
6301
|
+
"""
|
6302
|
+
The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both
|
6303
|
+
network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the
|
6304
|
+
subnetwork with the same name with the network will be used.
|
6305
|
+
"""
|
5459
6306
|
return pulumi.get(self, "subnetwork")
|
5460
6307
|
|
5461
6308
|
@property
|
5462
6309
|
@pulumi.getter
|
5463
6310
|
def tags(self) -> Sequence[str]:
|
6311
|
+
"""
|
6312
|
+
Network tags applied to this Cloud Run service.
|
6313
|
+
"""
|
5464
6314
|
return pulumi.get(self, "tags")
|
5465
6315
|
|
5466
6316
|
|
@@ -5475,6 +6325,16 @@ class GetServiceTerminalConditionResult(dict):
|
|
5475
6325
|
severity: str,
|
5476
6326
|
state: str,
|
5477
6327
|
type: str):
|
6328
|
+
"""
|
6329
|
+
:param str execution_reason: A reason for the execution condition.
|
6330
|
+
:param str last_transition_time: Last time the condition transitioned from one status to another.
|
6331
|
+
:param str message: Human readable message indicating details about the current status.
|
6332
|
+
:param str reason: A common (service-level) reason for this condition.
|
6333
|
+
:param str revision_reason: A reason for the revision condition.
|
6334
|
+
:param str severity: How to interpret failures of this condition, one of Error, Warning, Info
|
6335
|
+
:param str state: State of the condition.
|
6336
|
+
:param str type: type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
|
6337
|
+
"""
|
5478
6338
|
pulumi.set(__self__, "execution_reason", execution_reason)
|
5479
6339
|
pulumi.set(__self__, "last_transition_time", last_transition_time)
|
5480
6340
|
pulumi.set(__self__, "message", message)
|
@@ -5487,41 +6347,65 @@ class GetServiceTerminalConditionResult(dict):
|
|
5487
6347
|
@property
|
5488
6348
|
@pulumi.getter(name="executionReason")
|
5489
6349
|
def execution_reason(self) -> str:
|
6350
|
+
"""
|
6351
|
+
A reason for the execution condition.
|
6352
|
+
"""
|
5490
6353
|
return pulumi.get(self, "execution_reason")
|
5491
6354
|
|
5492
6355
|
@property
|
5493
6356
|
@pulumi.getter(name="lastTransitionTime")
|
5494
6357
|
def last_transition_time(self) -> str:
|
6358
|
+
"""
|
6359
|
+
Last time the condition transitioned from one status to another.
|
6360
|
+
"""
|
5495
6361
|
return pulumi.get(self, "last_transition_time")
|
5496
6362
|
|
5497
6363
|
@property
|
5498
6364
|
@pulumi.getter
|
5499
6365
|
def message(self) -> str:
|
6366
|
+
"""
|
6367
|
+
Human readable message indicating details about the current status.
|
6368
|
+
"""
|
5500
6369
|
return pulumi.get(self, "message")
|
5501
6370
|
|
5502
6371
|
@property
|
5503
6372
|
@pulumi.getter
|
5504
6373
|
def reason(self) -> str:
|
6374
|
+
"""
|
6375
|
+
A common (service-level) reason for this condition.
|
6376
|
+
"""
|
5505
6377
|
return pulumi.get(self, "reason")
|
5506
6378
|
|
5507
6379
|
@property
|
5508
6380
|
@pulumi.getter(name="revisionReason")
|
5509
6381
|
def revision_reason(self) -> str:
|
6382
|
+
"""
|
6383
|
+
A reason for the revision condition.
|
6384
|
+
"""
|
5510
6385
|
return pulumi.get(self, "revision_reason")
|
5511
6386
|
|
5512
6387
|
@property
|
5513
6388
|
@pulumi.getter
|
5514
6389
|
def severity(self) -> str:
|
6390
|
+
"""
|
6391
|
+
How to interpret failures of this condition, one of Error, Warning, Info
|
6392
|
+
"""
|
5515
6393
|
return pulumi.get(self, "severity")
|
5516
6394
|
|
5517
6395
|
@property
|
5518
6396
|
@pulumi.getter
|
5519
6397
|
def state(self) -> str:
|
6398
|
+
"""
|
6399
|
+
State of the condition.
|
6400
|
+
"""
|
5520
6401
|
return pulumi.get(self, "state")
|
5521
6402
|
|
5522
6403
|
@property
|
5523
6404
|
@pulumi.getter
|
5524
6405
|
def type(self) -> str:
|
6406
|
+
"""
|
6407
|
+
type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
|
6408
|
+
"""
|
5525
6409
|
return pulumi.get(self, "type")
|
5526
6410
|
|
5527
6411
|
|
@@ -5532,6 +6416,12 @@ class GetServiceTrafficResult(dict):
|
|
5532
6416
|
revision: str,
|
5533
6417
|
tag: str,
|
5534
6418
|
type: str):
|
6419
|
+
"""
|
6420
|
+
:param int percent: Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
|
6421
|
+
:param str revision: Revision to which to send this portion of traffic, if traffic allocation is by revision.
|
6422
|
+
:param str tag: Indicates a string to be part of the URI to exclusively reference this target.
|
6423
|
+
:param str type: The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
|
6424
|
+
"""
|
5535
6425
|
pulumi.set(__self__, "percent", percent)
|
5536
6426
|
pulumi.set(__self__, "revision", revision)
|
5537
6427
|
pulumi.set(__self__, "tag", tag)
|
@@ -5540,21 +6430,33 @@ class GetServiceTrafficResult(dict):
|
|
5540
6430
|
@property
|
5541
6431
|
@pulumi.getter
|
5542
6432
|
def percent(self) -> int:
|
6433
|
+
"""
|
6434
|
+
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
|
6435
|
+
"""
|
5543
6436
|
return pulumi.get(self, "percent")
|
5544
6437
|
|
5545
6438
|
@property
|
5546
6439
|
@pulumi.getter
|
5547
6440
|
def revision(self) -> str:
|
6441
|
+
"""
|
6442
|
+
Revision to which to send this portion of traffic, if traffic allocation is by revision.
|
6443
|
+
"""
|
5548
6444
|
return pulumi.get(self, "revision")
|
5549
6445
|
|
5550
6446
|
@property
|
5551
6447
|
@pulumi.getter
|
5552
6448
|
def tag(self) -> str:
|
6449
|
+
"""
|
6450
|
+
Indicates a string to be part of the URI to exclusively reference this target.
|
6451
|
+
"""
|
5553
6452
|
return pulumi.get(self, "tag")
|
5554
6453
|
|
5555
6454
|
@property
|
5556
6455
|
@pulumi.getter
|
5557
6456
|
def type(self) -> str:
|
6457
|
+
"""
|
6458
|
+
The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
|
6459
|
+
"""
|
5558
6460
|
return pulumi.get(self, "type")
|
5559
6461
|
|
5560
6462
|
|
@@ -5566,6 +6468,13 @@ class GetServiceTrafficStatusResult(dict):
|
|
5566
6468
|
tag: str,
|
5567
6469
|
type: str,
|
5568
6470
|
uri: str):
|
6471
|
+
"""
|
6472
|
+
:param int percent: Specifies percent of the traffic to this Revision.
|
6473
|
+
:param str revision: Revision to which this traffic is sent.
|
6474
|
+
:param str tag: Indicates the string used in the URI to exclusively reference this target.
|
6475
|
+
:param str type: The allocation type for this traffic target.
|
6476
|
+
:param str uri: Displays the target URI.
|
6477
|
+
"""
|
5569
6478
|
pulumi.set(__self__, "percent", percent)
|
5570
6479
|
pulumi.set(__self__, "revision", revision)
|
5571
6480
|
pulumi.set(__self__, "tag", tag)
|
@@ -5575,26 +6484,41 @@ class GetServiceTrafficStatusResult(dict):
|
|
5575
6484
|
@property
|
5576
6485
|
@pulumi.getter
|
5577
6486
|
def percent(self) -> int:
|
6487
|
+
"""
|
6488
|
+
Specifies percent of the traffic to this Revision.
|
6489
|
+
"""
|
5578
6490
|
return pulumi.get(self, "percent")
|
5579
6491
|
|
5580
6492
|
@property
|
5581
6493
|
@pulumi.getter
|
5582
6494
|
def revision(self) -> str:
|
6495
|
+
"""
|
6496
|
+
Revision to which this traffic is sent.
|
6497
|
+
"""
|
5583
6498
|
return pulumi.get(self, "revision")
|
5584
6499
|
|
5585
6500
|
@property
|
5586
6501
|
@pulumi.getter
|
5587
6502
|
def tag(self) -> str:
|
6503
|
+
"""
|
6504
|
+
Indicates the string used in the URI to exclusively reference this target.
|
6505
|
+
"""
|
5588
6506
|
return pulumi.get(self, "tag")
|
5589
6507
|
|
5590
6508
|
@property
|
5591
6509
|
@pulumi.getter
|
5592
6510
|
def type(self) -> str:
|
6511
|
+
"""
|
6512
|
+
The allocation type for this traffic target.
|
6513
|
+
"""
|
5593
6514
|
return pulumi.get(self, "type")
|
5594
6515
|
|
5595
6516
|
@property
|
5596
6517
|
@pulumi.getter
|
5597
6518
|
def uri(self) -> str:
|
6519
|
+
"""
|
6520
|
+
Displays the target URI.
|
6521
|
+
"""
|
5598
6522
|
return pulumi.get(self, "uri")
|
5599
6523
|
|
5600
6524
|
|