pulumi-gcp 7.36.0a1723456487__py3-none-any.whl → 7.37.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +72 -0
- pulumi_gcp/accesscontextmanager/__init__.py +2 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +780 -0
- pulumi_gcp/accesscontextmanager/outputs.py +601 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +323 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +332 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +2 -24
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +2 -24
- pulumi_gcp/applicationintegration/client.py +2 -2
- pulumi_gcp/clouddeploy/_inputs.py +21 -1
- pulumi_gcp/clouddeploy/outputs.py +15 -1
- pulumi_gcp/cloudrunv2/_inputs.py +40 -0
- pulumi_gcp/cloudrunv2/outputs.py +46 -0
- pulumi_gcp/compute/region_target_https_proxy.py +28 -0
- pulumi_gcp/container/_inputs.py +26 -0
- pulumi_gcp/container/outputs.py +29 -0
- pulumi_gcp/dataform/repository.py +80 -2
- pulumi_gcp/discoveryengine/data_store.py +93 -2
- pulumi_gcp/gkehub/_inputs.py +63 -0
- pulumi_gcp/gkehub/outputs.py +38 -0
- pulumi_gcp/logging/get_log_view_iam_policy.py +28 -2
- pulumi_gcp/logging/log_view_iam_binding.py +512 -0
- pulumi_gcp/logging/log_view_iam_member.py +512 -0
- pulumi_gcp/logging/log_view_iam_policy.py +512 -0
- pulumi_gcp/netapp/_inputs.py +6 -6
- pulumi_gcp/netapp/outputs.py +4 -4
- pulumi_gcp/networkconnectivity/regional_endpoint.py +6 -6
- pulumi_gcp/organizations/get_project.py +11 -1
- pulumi_gcp/organizations/project.py +76 -21
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securitycenter/__init__.py +8 -0
- pulumi_gcp/securitycenter/_inputs.py +191 -0
- pulumi_gcp/securitycenter/get_v2_organization_source_iam_policy.py +146 -0
- pulumi_gcp/securitycenter/outputs.py +115 -0
- pulumi_gcp/securitycenter/v2_folder_mute_config.py +679 -0
- pulumi_gcp/securitycenter/v2_organization_source.py +416 -0
- pulumi_gcp/securitycenter/v2_organization_source_iam_binding.py +722 -0
- pulumi_gcp/securitycenter/v2_organization_source_iam_member.py +722 -0
- pulumi_gcp/securitycenter/v2_organization_source_iam_policy.py +561 -0
- pulumi_gcp/securitycenter/v2_project_mute_config.py +684 -0
- pulumi_gcp/securitycenter/v2_project_notification_config.py +559 -0
- pulumi_gcp/spanner/instance.py +0 -7
- pulumi_gcp/sql/_inputs.py +3 -3
- pulumi_gcp/sql/outputs.py +6 -6
- pulumi_gcp/storage/bucket_object.py +28 -0
- pulumi_gcp/storage/get_bucket_object.py +14 -1
- pulumi_gcp/storage/get_bucket_object_content.py +11 -1
- pulumi_gcp/storage/managed_folder.py +72 -2
- pulumi_gcp/vmwareengine/network_policy.py +6 -6
- {pulumi_gcp-7.36.0a1723456487.dist-info → pulumi_gcp-7.37.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.36.0a1723456487.dist-info → pulumi_gcp-7.37.0.dist-info}/RECORD +53 -43
- {pulumi_gcp-7.36.0a1723456487.dist-info → pulumi_gcp-7.37.0.dist-info}/WHEEL +1 -1
- {pulumi_gcp-7.36.0a1723456487.dist-info → pulumi_gcp-7.37.0.dist-info}/top_level.txt +0 -0
@@ -163,6 +163,7 @@ class ServicePerimeterEgressPolicy(pulumi.CustomResource):
|
|
163
163
|
perimeter: Optional[pulumi.Input[str]] = None,
|
164
164
|
__props__=None):
|
165
165
|
"""
|
166
|
+
Manage a single EgressPolicy in the status (enforced) configuration for a service perimeter.
|
166
167
|
EgressPolicies match requests based on egressFrom and egressTo stanzas.
|
167
168
|
For an EgressPolicy to match, both egressFrom and egressTo stanzas must be matched.
|
168
169
|
If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter
|
@@ -181,18 +182,6 @@ class ServicePerimeterEgressPolicy(pulumi.CustomResource):
|
|
181
182
|
|
182
183
|
## Example Usage
|
183
184
|
|
184
|
-
## Import
|
185
|
-
|
186
|
-
ServicePerimeterEgressPolicy can be imported using any of these accepted formats:
|
187
|
-
|
188
|
-
* `{{perimeter}}`
|
189
|
-
|
190
|
-
When using the `pulumi import` command, ServicePerimeterEgressPolicy can be imported using one of the formats above. For example:
|
191
|
-
|
192
|
-
```sh
|
193
|
-
$ pulumi import gcp:accesscontextmanager/servicePerimeterEgressPolicy:ServicePerimeterEgressPolicy default {{perimeter}}
|
194
|
-
```
|
195
|
-
|
196
185
|
:param str resource_name: The name of the resource.
|
197
186
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
198
187
|
:param pulumi.Input[Union['ServicePerimeterEgressPolicyEgressFromArgs', 'ServicePerimeterEgressPolicyEgressFromArgsDict']] egress_from: Defines conditions on the source of a request causing this `EgressPolicy` to apply.
|
@@ -212,6 +201,7 @@ class ServicePerimeterEgressPolicy(pulumi.CustomResource):
|
|
212
201
|
args: ServicePerimeterEgressPolicyArgs,
|
213
202
|
opts: Optional[pulumi.ResourceOptions] = None):
|
214
203
|
"""
|
204
|
+
Manage a single EgressPolicy in the status (enforced) configuration for a service perimeter.
|
215
205
|
EgressPolicies match requests based on egressFrom and egressTo stanzas.
|
216
206
|
For an EgressPolicy to match, both egressFrom and egressTo stanzas must be matched.
|
217
207
|
If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter
|
@@ -230,18 +220,6 @@ class ServicePerimeterEgressPolicy(pulumi.CustomResource):
|
|
230
220
|
|
231
221
|
## Example Usage
|
232
222
|
|
233
|
-
## Import
|
234
|
-
|
235
|
-
ServicePerimeterEgressPolicy can be imported using any of these accepted formats:
|
236
|
-
|
237
|
-
* `{{perimeter}}`
|
238
|
-
|
239
|
-
When using the `pulumi import` command, ServicePerimeterEgressPolicy can be imported using one of the formats above. For example:
|
240
|
-
|
241
|
-
```sh
|
242
|
-
$ pulumi import gcp:accesscontextmanager/servicePerimeterEgressPolicy:ServicePerimeterEgressPolicy default {{perimeter}}
|
243
|
-
```
|
244
|
-
|
245
223
|
:param str resource_name: The name of the resource.
|
246
224
|
:param ServicePerimeterEgressPolicyArgs args: The arguments to use to populate this resource's properties.
|
247
225
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
@@ -167,6 +167,7 @@ class ServicePerimeterIngressPolicy(pulumi.CustomResource):
|
|
167
167
|
perimeter: Optional[pulumi.Input[str]] = None,
|
168
168
|
__props__=None):
|
169
169
|
"""
|
170
|
+
Manage a single IngressPolicy in the status (enforced) configuration for a service perimeter.
|
170
171
|
IngressPolicies match requests based on ingressFrom and ingressTo stanzas. For an ingress policy to match,
|
171
172
|
both the ingressFrom and ingressTo stanzas must be matched. If an IngressPolicy matches a request,
|
172
173
|
the request is allowed through the perimeter boundary from outside the perimeter.
|
@@ -186,18 +187,6 @@ class ServicePerimeterIngressPolicy(pulumi.CustomResource):
|
|
186
187
|
|
187
188
|
## Example Usage
|
188
189
|
|
189
|
-
## Import
|
190
|
-
|
191
|
-
ServicePerimeterIngressPolicy can be imported using any of these accepted formats:
|
192
|
-
|
193
|
-
* `{{perimeter}}`
|
194
|
-
|
195
|
-
When using the `pulumi import` command, ServicePerimeterIngressPolicy can be imported using one of the formats above. For example:
|
196
|
-
|
197
|
-
```sh
|
198
|
-
$ pulumi import gcp:accesscontextmanager/servicePerimeterIngressPolicy:ServicePerimeterIngressPolicy default {{perimeter}}
|
199
|
-
```
|
200
|
-
|
201
190
|
:param str resource_name: The name of the resource.
|
202
191
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
203
192
|
:param pulumi.Input[Union['ServicePerimeterIngressPolicyIngressFromArgs', 'ServicePerimeterIngressPolicyIngressFromArgsDict']] ingress_from: Defines the conditions on the source of a request causing this `IngressPolicy`
|
@@ -218,6 +207,7 @@ class ServicePerimeterIngressPolicy(pulumi.CustomResource):
|
|
218
207
|
args: ServicePerimeterIngressPolicyArgs,
|
219
208
|
opts: Optional[pulumi.ResourceOptions] = None):
|
220
209
|
"""
|
210
|
+
Manage a single IngressPolicy in the status (enforced) configuration for a service perimeter.
|
221
211
|
IngressPolicies match requests based on ingressFrom and ingressTo stanzas. For an ingress policy to match,
|
222
212
|
both the ingressFrom and ingressTo stanzas must be matched. If an IngressPolicy matches a request,
|
223
213
|
the request is allowed through the perimeter boundary from outside the perimeter.
|
@@ -237,18 +227,6 @@ class ServicePerimeterIngressPolicy(pulumi.CustomResource):
|
|
237
227
|
|
238
228
|
## Example Usage
|
239
229
|
|
240
|
-
## Import
|
241
|
-
|
242
|
-
ServicePerimeterIngressPolicy can be imported using any of these accepted formats:
|
243
|
-
|
244
|
-
* `{{perimeter}}`
|
245
|
-
|
246
|
-
When using the `pulumi import` command, ServicePerimeterIngressPolicy can be imported using one of the formats above. For example:
|
247
|
-
|
248
|
-
```sh
|
249
|
-
$ pulumi import gcp:accesscontextmanager/servicePerimeterIngressPolicy:ServicePerimeterIngressPolicy default {{perimeter}}
|
250
|
-
```
|
251
|
-
|
252
230
|
:param str resource_name: The name of the resource.
|
253
231
|
:param ServicePerimeterIngressPolicyArgs args: The arguments to use to populate this resource's properties.
|
254
232
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
@@ -366,7 +366,7 @@ class Client(pulumi.CustomResource):
|
|
366
366
|
rotation_period="7776000s")
|
367
367
|
test_key = gcp.kms.CryptoKeyVersion("test_key", crypto_key=cryptokey.id)
|
368
368
|
service_account = gcp.serviceaccount.Account("service_account",
|
369
|
-
account_id="service-
|
369
|
+
account_id="my-service-acc",
|
370
370
|
display_name="Service Account")
|
371
371
|
example = gcp.applicationintegration.Client("example",
|
372
372
|
location="us-east1",
|
@@ -468,7 +468,7 @@ class Client(pulumi.CustomResource):
|
|
468
468
|
rotation_period="7776000s")
|
469
469
|
test_key = gcp.kms.CryptoKeyVersion("test_key", crypto_key=cryptokey.id)
|
470
470
|
service_account = gcp.serviceaccount.Account("service_account",
|
471
|
-
account_id="service-
|
471
|
+
account_id="my-service-acc",
|
472
472
|
display_name="Service Account")
|
473
473
|
example = gcp.applicationintegration.Client("example",
|
474
474
|
location="us-east1",
|
@@ -2627,6 +2627,10 @@ if not MYPY:
|
|
2627
2627
|
"""
|
2628
2628
|
Optional. If true, `cluster` is accessed using the private IP address of the control plane endpoint. Otherwise, the default IP address of the control plane endpoint is used. The default IP address is the private IP address for clusters with private control-plane endpoints and the public IP address otherwise. Only specify this option when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).
|
2629
2629
|
"""
|
2630
|
+
proxy_url: NotRequired[pulumi.Input[str]]
|
2631
|
+
"""
|
2632
|
+
Optional. If set, used to configure a [proxy](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#proxy) to the Kubernetes server.
|
2633
|
+
"""
|
2630
2634
|
elif False:
|
2631
2635
|
TargetGkeArgsDict: TypeAlias = Mapping[str, Any]
|
2632
2636
|
|
@@ -2634,15 +2638,19 @@ elif False:
|
|
2634
2638
|
class TargetGkeArgs:
|
2635
2639
|
def __init__(__self__, *,
|
2636
2640
|
cluster: Optional[pulumi.Input[str]] = None,
|
2637
|
-
internal_ip: Optional[pulumi.Input[bool]] = None
|
2641
|
+
internal_ip: Optional[pulumi.Input[bool]] = None,
|
2642
|
+
proxy_url: Optional[pulumi.Input[str]] = None):
|
2638
2643
|
"""
|
2639
2644
|
:param pulumi.Input[str] cluster: Information specifying a GKE Cluster. Format is `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}.
|
2640
2645
|
:param pulumi.Input[bool] internal_ip: Optional. If true, `cluster` is accessed using the private IP address of the control plane endpoint. Otherwise, the default IP address of the control plane endpoint is used. The default IP address is the private IP address for clusters with private control-plane endpoints and the public IP address otherwise. Only specify this option when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).
|
2646
|
+
:param pulumi.Input[str] proxy_url: Optional. If set, used to configure a [proxy](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#proxy) to the Kubernetes server.
|
2641
2647
|
"""
|
2642
2648
|
if cluster is not None:
|
2643
2649
|
pulumi.set(__self__, "cluster", cluster)
|
2644
2650
|
if internal_ip is not None:
|
2645
2651
|
pulumi.set(__self__, "internal_ip", internal_ip)
|
2652
|
+
if proxy_url is not None:
|
2653
|
+
pulumi.set(__self__, "proxy_url", proxy_url)
|
2646
2654
|
|
2647
2655
|
@property
|
2648
2656
|
@pulumi.getter
|
@@ -2668,6 +2676,18 @@ class TargetGkeArgs:
|
|
2668
2676
|
def internal_ip(self, value: Optional[pulumi.Input[bool]]):
|
2669
2677
|
pulumi.set(self, "internal_ip", value)
|
2670
2678
|
|
2679
|
+
@property
|
2680
|
+
@pulumi.getter(name="proxyUrl")
|
2681
|
+
def proxy_url(self) -> Optional[pulumi.Input[str]]:
|
2682
|
+
"""
|
2683
|
+
Optional. If set, used to configure a [proxy](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#proxy) to the Kubernetes server.
|
2684
|
+
"""
|
2685
|
+
return pulumi.get(self, "proxy_url")
|
2686
|
+
|
2687
|
+
@proxy_url.setter
|
2688
|
+
def proxy_url(self, value: Optional[pulumi.Input[str]]):
|
2689
|
+
pulumi.set(self, "proxy_url", value)
|
2690
|
+
|
2671
2691
|
|
2672
2692
|
if not MYPY:
|
2673
2693
|
class TargetIamBindingConditionArgsDict(TypedDict):
|
@@ -1954,6 +1954,8 @@ class TargetGke(dict):
|
|
1954
1954
|
suggest = None
|
1955
1955
|
if key == "internalIp":
|
1956
1956
|
suggest = "internal_ip"
|
1957
|
+
elif key == "proxyUrl":
|
1958
|
+
suggest = "proxy_url"
|
1957
1959
|
|
1958
1960
|
if suggest:
|
1959
1961
|
pulumi.log.warn(f"Key '{key}' not found in TargetGke. Access the value via the '{suggest}' property getter instead.")
|
@@ -1968,15 +1970,19 @@ class TargetGke(dict):
|
|
1968
1970
|
|
1969
1971
|
def __init__(__self__, *,
|
1970
1972
|
cluster: Optional[str] = None,
|
1971
|
-
internal_ip: Optional[bool] = None
|
1973
|
+
internal_ip: Optional[bool] = None,
|
1974
|
+
proxy_url: Optional[str] = None):
|
1972
1975
|
"""
|
1973
1976
|
:param str cluster: Information specifying a GKE Cluster. Format is `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}.
|
1974
1977
|
:param bool internal_ip: Optional. If true, `cluster` is accessed using the private IP address of the control plane endpoint. Otherwise, the default IP address of the control plane endpoint is used. The default IP address is the private IP address for clusters with private control-plane endpoints and the public IP address otherwise. Only specify this option when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).
|
1978
|
+
:param str proxy_url: Optional. If set, used to configure a [proxy](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#proxy) to the Kubernetes server.
|
1975
1979
|
"""
|
1976
1980
|
if cluster is not None:
|
1977
1981
|
pulumi.set(__self__, "cluster", cluster)
|
1978
1982
|
if internal_ip is not None:
|
1979
1983
|
pulumi.set(__self__, "internal_ip", internal_ip)
|
1984
|
+
if proxy_url is not None:
|
1985
|
+
pulumi.set(__self__, "proxy_url", proxy_url)
|
1980
1986
|
|
1981
1987
|
@property
|
1982
1988
|
@pulumi.getter
|
@@ -1994,6 +2000,14 @@ class TargetGke(dict):
|
|
1994
2000
|
"""
|
1995
2001
|
return pulumi.get(self, "internal_ip")
|
1996
2002
|
|
2003
|
+
@property
|
2004
|
+
@pulumi.getter(name="proxyUrl")
|
2005
|
+
def proxy_url(self) -> Optional[str]:
|
2006
|
+
"""
|
2007
|
+
Optional. If set, used to configure a [proxy](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#proxy) to the Kubernetes server.
|
2008
|
+
"""
|
2009
|
+
return pulumi.get(self, "proxy_url")
|
2010
|
+
|
1997
2011
|
|
1998
2012
|
@pulumi.output_type
|
1999
2013
|
class TargetIamBindingCondition(dict):
|
pulumi_gcp/cloudrunv2/_inputs.py
CHANGED
@@ -145,6 +145,10 @@ if not MYPY:
|
|
145
145
|
"""
|
146
146
|
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
|
147
147
|
"""
|
148
|
+
policy: NotRequired[pulumi.Input[str]]
|
149
|
+
"""
|
150
|
+
The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
|
151
|
+
"""
|
148
152
|
use_default: NotRequired[pulumi.Input[bool]]
|
149
153
|
"""
|
150
154
|
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
|
@@ -156,13 +160,17 @@ elif False:
|
|
156
160
|
class JobBinaryAuthorizationArgs:
|
157
161
|
def __init__(__self__, *,
|
158
162
|
breakglass_justification: Optional[pulumi.Input[str]] = None,
|
163
|
+
policy: Optional[pulumi.Input[str]] = None,
|
159
164
|
use_default: Optional[pulumi.Input[bool]] = None):
|
160
165
|
"""
|
161
166
|
:param pulumi.Input[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
|
167
|
+
:param pulumi.Input[str] policy: The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
|
162
168
|
:param pulumi.Input[bool] use_default: If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
|
163
169
|
"""
|
164
170
|
if breakglass_justification is not None:
|
165
171
|
pulumi.set(__self__, "breakglass_justification", breakglass_justification)
|
172
|
+
if policy is not None:
|
173
|
+
pulumi.set(__self__, "policy", policy)
|
166
174
|
if use_default is not None:
|
167
175
|
pulumi.set(__self__, "use_default", use_default)
|
168
176
|
|
@@ -178,6 +186,18 @@ class JobBinaryAuthorizationArgs:
|
|
178
186
|
def breakglass_justification(self, value: Optional[pulumi.Input[str]]):
|
179
187
|
pulumi.set(self, "breakglass_justification", value)
|
180
188
|
|
189
|
+
@property
|
190
|
+
@pulumi.getter
|
191
|
+
def policy(self) -> Optional[pulumi.Input[str]]:
|
192
|
+
"""
|
193
|
+
The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
|
194
|
+
"""
|
195
|
+
return pulumi.get(self, "policy")
|
196
|
+
|
197
|
+
@policy.setter
|
198
|
+
def policy(self, value: Optional[pulumi.Input[str]]):
|
199
|
+
pulumi.set(self, "policy", value)
|
200
|
+
|
181
201
|
@property
|
182
202
|
@pulumi.getter(name="useDefault")
|
183
203
|
def use_default(self) -> Optional[pulumi.Input[bool]]:
|
@@ -2264,6 +2284,10 @@ if not MYPY:
|
|
2264
2284
|
"""
|
2265
2285
|
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
|
2266
2286
|
"""
|
2287
|
+
policy: NotRequired[pulumi.Input[str]]
|
2288
|
+
"""
|
2289
|
+
The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
|
2290
|
+
"""
|
2267
2291
|
use_default: NotRequired[pulumi.Input[bool]]
|
2268
2292
|
"""
|
2269
2293
|
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
|
@@ -2275,13 +2299,17 @@ elif False:
|
|
2275
2299
|
class ServiceBinaryAuthorizationArgs:
|
2276
2300
|
def __init__(__self__, *,
|
2277
2301
|
breakglass_justification: Optional[pulumi.Input[str]] = None,
|
2302
|
+
policy: Optional[pulumi.Input[str]] = None,
|
2278
2303
|
use_default: Optional[pulumi.Input[bool]] = None):
|
2279
2304
|
"""
|
2280
2305
|
:param pulumi.Input[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
|
2306
|
+
:param pulumi.Input[str] policy: The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
|
2281
2307
|
:param pulumi.Input[bool] use_default: If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
|
2282
2308
|
"""
|
2283
2309
|
if breakglass_justification is not None:
|
2284
2310
|
pulumi.set(__self__, "breakglass_justification", breakglass_justification)
|
2311
|
+
if policy is not None:
|
2312
|
+
pulumi.set(__self__, "policy", policy)
|
2285
2313
|
if use_default is not None:
|
2286
2314
|
pulumi.set(__self__, "use_default", use_default)
|
2287
2315
|
|
@@ -2297,6 +2325,18 @@ class ServiceBinaryAuthorizationArgs:
|
|
2297
2325
|
def breakglass_justification(self, value: Optional[pulumi.Input[str]]):
|
2298
2326
|
pulumi.set(self, "breakglass_justification", value)
|
2299
2327
|
|
2328
|
+
@property
|
2329
|
+
@pulumi.getter
|
2330
|
+
def policy(self) -> Optional[pulumi.Input[str]]:
|
2331
|
+
"""
|
2332
|
+
The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
|
2333
|
+
"""
|
2334
|
+
return pulumi.get(self, "policy")
|
2335
|
+
|
2336
|
+
@policy.setter
|
2337
|
+
def policy(self, value: Optional[pulumi.Input[str]]):
|
2338
|
+
pulumi.set(self, "policy", value)
|
2339
|
+
|
2300
2340
|
@property
|
2301
2341
|
@pulumi.getter(name="useDefault")
|
2302
2342
|
def use_default(self) -> Optional[pulumi.Input[bool]]:
|
pulumi_gcp/cloudrunv2/outputs.py
CHANGED
@@ -157,13 +157,17 @@ class JobBinaryAuthorization(dict):
|
|
157
157
|
|
158
158
|
def __init__(__self__, *,
|
159
159
|
breakglass_justification: Optional[str] = None,
|
160
|
+
policy: Optional[str] = None,
|
160
161
|
use_default: Optional[bool] = None):
|
161
162
|
"""
|
162
163
|
: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
|
164
|
+
:param str policy: The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
|
163
165
|
:param bool use_default: If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
|
164
166
|
"""
|
165
167
|
if breakglass_justification is not None:
|
166
168
|
pulumi.set(__self__, "breakglass_justification", breakglass_justification)
|
169
|
+
if policy is not None:
|
170
|
+
pulumi.set(__self__, "policy", policy)
|
167
171
|
if use_default is not None:
|
168
172
|
pulumi.set(__self__, "use_default", use_default)
|
169
173
|
|
@@ -175,6 +179,14 @@ class JobBinaryAuthorization(dict):
|
|
175
179
|
"""
|
176
180
|
return pulumi.get(self, "breakglass_justification")
|
177
181
|
|
182
|
+
@property
|
183
|
+
@pulumi.getter
|
184
|
+
def policy(self) -> Optional[str]:
|
185
|
+
"""
|
186
|
+
The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
|
187
|
+
"""
|
188
|
+
return pulumi.get(self, "policy")
|
189
|
+
|
178
190
|
@property
|
179
191
|
@pulumi.getter(name="useDefault")
|
180
192
|
def use_default(self) -> Optional[bool]:
|
@@ -1741,13 +1753,17 @@ class ServiceBinaryAuthorization(dict):
|
|
1741
1753
|
|
1742
1754
|
def __init__(__self__, *,
|
1743
1755
|
breakglass_justification: Optional[str] = None,
|
1756
|
+
policy: Optional[str] = None,
|
1744
1757
|
use_default: Optional[bool] = None):
|
1745
1758
|
"""
|
1746
1759
|
: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
|
1760
|
+
:param str policy: The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
|
1747
1761
|
:param bool use_default: If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
|
1748
1762
|
"""
|
1749
1763
|
if breakglass_justification is not None:
|
1750
1764
|
pulumi.set(__self__, "breakglass_justification", breakglass_justification)
|
1765
|
+
if policy is not None:
|
1766
|
+
pulumi.set(__self__, "policy", policy)
|
1751
1767
|
if use_default is not None:
|
1752
1768
|
pulumi.set(__self__, "use_default", use_default)
|
1753
1769
|
|
@@ -1759,6 +1775,14 @@ class ServiceBinaryAuthorization(dict):
|
|
1759
1775
|
"""
|
1760
1776
|
return pulumi.get(self, "breakglass_justification")
|
1761
1777
|
|
1778
|
+
@property
|
1779
|
+
@pulumi.getter
|
1780
|
+
def policy(self) -> Optional[str]:
|
1781
|
+
"""
|
1782
|
+
The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
|
1783
|
+
"""
|
1784
|
+
return pulumi.get(self, "policy")
|
1785
|
+
|
1762
1786
|
@property
|
1763
1787
|
@pulumi.getter(name="useDefault")
|
1764
1788
|
def use_default(self) -> Optional[bool]:
|
@@ -4078,12 +4102,15 @@ class ServiceTrafficStatus(dict):
|
|
4078
4102
|
class GetJobBinaryAuthorizationResult(dict):
|
4079
4103
|
def __init__(__self__, *,
|
4080
4104
|
breakglass_justification: str,
|
4105
|
+
policy: str,
|
4081
4106
|
use_default: bool):
|
4082
4107
|
"""
|
4083
4108
|
: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
|
4109
|
+
:param str policy: The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
|
4084
4110
|
:param bool use_default: If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
|
4085
4111
|
"""
|
4086
4112
|
pulumi.set(__self__, "breakglass_justification", breakglass_justification)
|
4113
|
+
pulumi.set(__self__, "policy", policy)
|
4087
4114
|
pulumi.set(__self__, "use_default", use_default)
|
4088
4115
|
|
4089
4116
|
@property
|
@@ -4094,6 +4121,14 @@ class GetJobBinaryAuthorizationResult(dict):
|
|
4094
4121
|
"""
|
4095
4122
|
return pulumi.get(self, "breakglass_justification")
|
4096
4123
|
|
4124
|
+
@property
|
4125
|
+
@pulumi.getter
|
4126
|
+
def policy(self) -> str:
|
4127
|
+
"""
|
4128
|
+
The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
|
4129
|
+
"""
|
4130
|
+
return pulumi.get(self, "policy")
|
4131
|
+
|
4097
4132
|
@property
|
4098
4133
|
@pulumi.getter(name="useDefault")
|
4099
4134
|
def use_default(self) -> bool:
|
@@ -5164,12 +5199,15 @@ class GetJobTerminalConditionResult(dict):
|
|
5164
5199
|
class GetServiceBinaryAuthorizationResult(dict):
|
5165
5200
|
def __init__(__self__, *,
|
5166
5201
|
breakglass_justification: str,
|
5202
|
+
policy: str,
|
5167
5203
|
use_default: bool):
|
5168
5204
|
"""
|
5169
5205
|
: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
|
5206
|
+
:param str policy: The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
|
5170
5207
|
:param bool use_default: If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
|
5171
5208
|
"""
|
5172
5209
|
pulumi.set(__self__, "breakglass_justification", breakglass_justification)
|
5210
|
+
pulumi.set(__self__, "policy", policy)
|
5173
5211
|
pulumi.set(__self__, "use_default", use_default)
|
5174
5212
|
|
5175
5213
|
@property
|
@@ -5180,6 +5218,14 @@ class GetServiceBinaryAuthorizationResult(dict):
|
|
5180
5218
|
"""
|
5181
5219
|
return pulumi.get(self, "breakglass_justification")
|
5182
5220
|
|
5221
|
+
@property
|
5222
|
+
@pulumi.getter
|
5223
|
+
def policy(self) -> str:
|
5224
|
+
"""
|
5225
|
+
The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
|
5226
|
+
"""
|
5227
|
+
return pulumi.get(self, "policy")
|
5228
|
+
|
5183
5229
|
@property
|
5184
5230
|
@pulumi.getter(name="useDefault")
|
5185
5231
|
def use_default(self) -> bool:
|
@@ -59,6 +59,10 @@ class RegionTargetHttpsProxyArgs:
|
|
59
59
|
INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED
|
60
60
|
loadBalancingScheme consult ServerTlsPolicy documentation.
|
61
61
|
If left blank, communications are not encrypted.
|
62
|
+
If you remove this field from your configuration at the same time as
|
63
|
+
deleting or recreating a referenced ServerTlsPolicy resource, you will
|
64
|
+
receive a resourceInUseByAnotherResource error. Use lifecycle.create_before_destroy
|
65
|
+
within the ServerTlsPolicy resource to avoid this.
|
62
66
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ssl_certificates: URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer.
|
63
67
|
At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.
|
64
68
|
sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
|
@@ -183,6 +187,10 @@ class RegionTargetHttpsProxyArgs:
|
|
183
187
|
INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED
|
184
188
|
loadBalancingScheme consult ServerTlsPolicy documentation.
|
185
189
|
If left blank, communications are not encrypted.
|
190
|
+
If you remove this field from your configuration at the same time as
|
191
|
+
deleting or recreating a referenced ServerTlsPolicy resource, you will
|
192
|
+
receive a resourceInUseByAnotherResource error. Use lifecycle.create_before_destroy
|
193
|
+
within the ServerTlsPolicy resource to avoid this.
|
186
194
|
"""
|
187
195
|
return pulumi.get(self, "server_tls_policy")
|
188
196
|
|
@@ -263,6 +271,10 @@ class _RegionTargetHttpsProxyState:
|
|
263
271
|
INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED
|
264
272
|
loadBalancingScheme consult ServerTlsPolicy documentation.
|
265
273
|
If left blank, communications are not encrypted.
|
274
|
+
If you remove this field from your configuration at the same time as
|
275
|
+
deleting or recreating a referenced ServerTlsPolicy resource, you will
|
276
|
+
receive a resourceInUseByAnotherResource error. Use lifecycle.create_before_destroy
|
277
|
+
within the ServerTlsPolicy resource to avoid this.
|
266
278
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ssl_certificates: URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer.
|
267
279
|
At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.
|
268
280
|
sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
|
@@ -419,6 +431,10 @@ class _RegionTargetHttpsProxyState:
|
|
419
431
|
INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED
|
420
432
|
loadBalancingScheme consult ServerTlsPolicy documentation.
|
421
433
|
If left blank, communications are not encrypted.
|
434
|
+
If you remove this field from your configuration at the same time as
|
435
|
+
deleting or recreating a referenced ServerTlsPolicy resource, you will
|
436
|
+
receive a resourceInUseByAnotherResource error. Use lifecycle.create_before_destroy
|
437
|
+
within the ServerTlsPolicy resource to avoid this.
|
422
438
|
"""
|
423
439
|
return pulumi.get(self, "server_tls_policy")
|
424
440
|
|
@@ -709,6 +725,10 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
709
725
|
INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED
|
710
726
|
loadBalancingScheme consult ServerTlsPolicy documentation.
|
711
727
|
If left blank, communications are not encrypted.
|
728
|
+
If you remove this field from your configuration at the same time as
|
729
|
+
deleting or recreating a referenced ServerTlsPolicy resource, you will
|
730
|
+
receive a resourceInUseByAnotherResource error. Use lifecycle.create_before_destroy
|
731
|
+
within the ServerTlsPolicy resource to avoid this.
|
712
732
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ssl_certificates: URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer.
|
713
733
|
At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.
|
714
734
|
sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
|
@@ -1027,6 +1047,10 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
1027
1047
|
INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED
|
1028
1048
|
loadBalancingScheme consult ServerTlsPolicy documentation.
|
1029
1049
|
If left blank, communications are not encrypted.
|
1050
|
+
If you remove this field from your configuration at the same time as
|
1051
|
+
deleting or recreating a referenced ServerTlsPolicy resource, you will
|
1052
|
+
receive a resourceInUseByAnotherResource error. Use lifecycle.create_before_destroy
|
1053
|
+
within the ServerTlsPolicy resource to avoid this.
|
1030
1054
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ssl_certificates: URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer.
|
1031
1055
|
At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.
|
1032
1056
|
sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
|
@@ -1144,6 +1168,10 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
1144
1168
|
INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED
|
1145
1169
|
loadBalancingScheme consult ServerTlsPolicy documentation.
|
1146
1170
|
If left blank, communications are not encrypted.
|
1171
|
+
If you remove this field from your configuration at the same time as
|
1172
|
+
deleting or recreating a referenced ServerTlsPolicy resource, you will
|
1173
|
+
receive a resourceInUseByAnotherResource error. Use lifecycle.create_before_destroy
|
1174
|
+
within the ServerTlsPolicy resource to avoid this.
|
1147
1175
|
"""
|
1148
1176
|
return pulumi.get(self, "server_tls_policy")
|
1149
1177
|
|
pulumi_gcp/container/_inputs.py
CHANGED
@@ -5424,6 +5424,12 @@ if not MYPY:
|
|
5424
5424
|
GKE Autopilot clusters.
|
5425
5425
|
Structure is documented below.
|
5426
5426
|
"""
|
5427
|
+
auto_provisioning_locations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
5428
|
+
"""
|
5429
|
+
The list of Google Compute Engine
|
5430
|
+
[zones](https://cloud.google.com/compute/docs/zones#available) in which the
|
5431
|
+
NodePool's nodes can be created by NAP.
|
5432
|
+
"""
|
5427
5433
|
autoscaling_profile: NotRequired[pulumi.Input[str]]
|
5428
5434
|
"""
|
5429
5435
|
Configuration
|
@@ -5450,6 +5456,7 @@ elif False:
|
|
5450
5456
|
class ClusterClusterAutoscalingArgs:
|
5451
5457
|
def __init__(__self__, *,
|
5452
5458
|
auto_provisioning_defaults: Optional[pulumi.Input['ClusterClusterAutoscalingAutoProvisioningDefaultsArgs']] = None,
|
5459
|
+
auto_provisioning_locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
5453
5460
|
autoscaling_profile: Optional[pulumi.Input[str]] = None,
|
5454
5461
|
enabled: Optional[pulumi.Input[bool]] = None,
|
5455
5462
|
resource_limits: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterClusterAutoscalingResourceLimitArgs']]]] = None):
|
@@ -5457,6 +5464,9 @@ class ClusterClusterAutoscalingArgs:
|
|
5457
5464
|
:param pulumi.Input['ClusterClusterAutoscalingAutoProvisioningDefaultsArgs'] auto_provisioning_defaults: Contains defaults for a node pool created by NAP. A subset of fields also apply to
|
5458
5465
|
GKE Autopilot clusters.
|
5459
5466
|
Structure is documented below.
|
5467
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] auto_provisioning_locations: The list of Google Compute Engine
|
5468
|
+
[zones](https://cloud.google.com/compute/docs/zones#available) in which the
|
5469
|
+
NodePool's nodes can be created by NAP.
|
5460
5470
|
:param pulumi.Input[str] autoscaling_profile: Configuration
|
5461
5471
|
options for the [Autoscaling profile](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-autoscaler#autoscaling_profiles)
|
5462
5472
|
feature, which lets you choose whether the cluster autoscaler should optimize for resource utilization or resource availability
|
@@ -5470,6 +5480,8 @@ class ClusterClusterAutoscalingArgs:
|
|
5470
5480
|
"""
|
5471
5481
|
if auto_provisioning_defaults is not None:
|
5472
5482
|
pulumi.set(__self__, "auto_provisioning_defaults", auto_provisioning_defaults)
|
5483
|
+
if auto_provisioning_locations is not None:
|
5484
|
+
pulumi.set(__self__, "auto_provisioning_locations", auto_provisioning_locations)
|
5473
5485
|
if autoscaling_profile is not None:
|
5474
5486
|
pulumi.set(__self__, "autoscaling_profile", autoscaling_profile)
|
5475
5487
|
if enabled is not None:
|
@@ -5491,6 +5503,20 @@ class ClusterClusterAutoscalingArgs:
|
|
5491
5503
|
def auto_provisioning_defaults(self, value: Optional[pulumi.Input['ClusterClusterAutoscalingAutoProvisioningDefaultsArgs']]):
|
5492
5504
|
pulumi.set(self, "auto_provisioning_defaults", value)
|
5493
5505
|
|
5506
|
+
@property
|
5507
|
+
@pulumi.getter(name="autoProvisioningLocations")
|
5508
|
+
def auto_provisioning_locations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
5509
|
+
"""
|
5510
|
+
The list of Google Compute Engine
|
5511
|
+
[zones](https://cloud.google.com/compute/docs/zones#available) in which the
|
5512
|
+
NodePool's nodes can be created by NAP.
|
5513
|
+
"""
|
5514
|
+
return pulumi.get(self, "auto_provisioning_locations")
|
5515
|
+
|
5516
|
+
@auto_provisioning_locations.setter
|
5517
|
+
def auto_provisioning_locations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
5518
|
+
pulumi.set(self, "auto_provisioning_locations", value)
|
5519
|
+
|
5494
5520
|
@property
|
5495
5521
|
@pulumi.getter(name="autoscalingProfile")
|
5496
5522
|
def autoscaling_profile(self) -> Optional[pulumi.Input[str]]:
|