pulumi-gcp 8.15.0a1737527599__py3-none-any.whl → 8.15.0a1737577694__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 +78 -0
- pulumi_gcp/accesscontextmanager/access_level_condition.py +28 -0
- pulumi_gcp/accesscontextmanager/egress_policy.py +28 -0
- pulumi_gcp/accesscontextmanager/ingress_policy.py +28 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +28 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +28 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +28 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +28 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +28 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +56 -0
- pulumi_gcp/apigee/__init__.py +1 -0
- pulumi_gcp/apigee/environment_addons_config.py +266 -0
- pulumi_gcp/artifactregistry/repository.py +32 -2
- pulumi_gcp/bigquery/connection.py +2 -2
- pulumi_gcp/bigquery/routine.py +2 -2
- pulumi_gcp/billing/project_info.py +4 -4
- pulumi_gcp/chronicle/__init__.py +3 -0
- pulumi_gcp/chronicle/_inputs.py +379 -0
- pulumi_gcp/chronicle/data_access_label.py +21 -21
- pulumi_gcp/chronicle/outputs.py +302 -0
- pulumi_gcp/chronicle/reference_list.py +788 -0
- pulumi_gcp/chronicle/rule.py +1308 -0
- pulumi_gcp/chronicle/rule_deployment.py +849 -0
- pulumi_gcp/colab/__init__.py +10 -0
- pulumi_gcp/colab/_inputs.py +359 -0
- pulumi_gcp/colab/outputs.py +344 -0
- pulumi_gcp/colab/runtime_template.py +1160 -0
- pulumi_gcp/compute/_inputs.py +9 -9
- pulumi_gcp/compute/interconnect_attachment.py +7 -7
- pulumi_gcp/compute/outputs.py +6 -6
- pulumi_gcp/compute/route.py +8 -16
- pulumi_gcp/compute/subnetwork.py +7 -7
- pulumi_gcp/compute/target_instance.py +4 -4
- pulumi_gcp/compute/url_map.py +4 -0
- pulumi_gcp/config/__init__.pyi +6 -0
- pulumi_gcp/config/vars.py +12 -0
- pulumi_gcp/databasemigrationservice/connection_profile.py +6 -6
- pulumi_gcp/dataplex/entry_type.py +2 -2
- pulumi_gcp/dataplex/task.py +16 -16
- pulumi_gcp/dataproc/batch.py +10 -10
- pulumi_gcp/discoveryengine/_inputs.py +54 -0
- pulumi_gcp/discoveryengine/data_store.py +94 -0
- pulumi_gcp/discoveryengine/outputs.py +51 -0
- pulumi_gcp/edgenetwork/__init__.py +1 -0
- pulumi_gcp/edgenetwork/interconnect_attachment.py +941 -0
- pulumi_gcp/firestore/field.py +4 -4
- pulumi_gcp/gemini/code_repository_index.py +47 -0
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/networkconnectivity/spoke.py +14 -14
- pulumi_gcp/networksecurity/authz_policy.py +0 -202
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/parametermanager/__init__.py +13 -0
- pulumi_gcp/parametermanager/_inputs.py +174 -0
- pulumi_gcp/parametermanager/get_regional_parameter.py +230 -0
- pulumi_gcp/parametermanager/outputs.py +191 -0
- pulumi_gcp/parametermanager/parameter.py +706 -0
- pulumi_gcp/parametermanager/regional_parameter.py +762 -0
- pulumi_gcp/parametermanager/regional_parameter_version.py +558 -0
- pulumi_gcp/provider.py +60 -0
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/sql/_inputs.py +54 -0
- pulumi_gcp/sql/database_instance.py +78 -16
- pulumi_gcp/sql/get_database_instance.py +12 -1
- pulumi_gcp/sql/outputs.py +122 -0
- pulumi_gcp/sql/source_representation_instance.py +7 -14
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- {pulumi_gcp-8.15.0a1737527599.dist-info → pulumi_gcp-8.15.0a1737577694.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.15.0a1737527599.dist-info → pulumi_gcp-8.15.0a1737577694.dist-info}/RECORD +77 -61
- {pulumi_gcp-8.15.0a1737527599.dist-info → pulumi_gcp-8.15.0a1737577694.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.15.0a1737527599.dist-info → pulumi_gcp-8.15.0a1737577694.dist-info}/top_level.txt +0 -0
@@ -88,11 +88,13 @@ class ServicePerimeterEgressPolicyArgs:
|
|
88
88
|
@pulumi.input_type
|
89
89
|
class _ServicePerimeterEgressPolicyState:
|
90
90
|
def __init__(__self__, *,
|
91
|
+
access_policy_id: Optional[pulumi.Input[str]] = None,
|
91
92
|
egress_from: Optional[pulumi.Input['ServicePerimeterEgressPolicyEgressFromArgs']] = None,
|
92
93
|
egress_to: Optional[pulumi.Input['ServicePerimeterEgressPolicyEgressToArgs']] = None,
|
93
94
|
perimeter: Optional[pulumi.Input[str]] = None):
|
94
95
|
"""
|
95
96
|
Input properties used for looking up and filtering ServicePerimeterEgressPolicy resources.
|
97
|
+
:param pulumi.Input[str] access_policy_id: The name of the Access Policy this resource belongs to.
|
96
98
|
:param pulumi.Input['ServicePerimeterEgressPolicyEgressFromArgs'] egress_from: Defines conditions on the source of a request causing this `EgressPolicy` to apply.
|
97
99
|
Structure is documented below.
|
98
100
|
:param pulumi.Input['ServicePerimeterEgressPolicyEgressToArgs'] egress_to: Defines the conditions on the `ApiOperation` and destination resources that
|
@@ -103,6 +105,8 @@ class _ServicePerimeterEgressPolicyState:
|
|
103
105
|
|
104
106
|
- - -
|
105
107
|
"""
|
108
|
+
if access_policy_id is not None:
|
109
|
+
pulumi.set(__self__, "access_policy_id", access_policy_id)
|
106
110
|
if egress_from is not None:
|
107
111
|
pulumi.set(__self__, "egress_from", egress_from)
|
108
112
|
if egress_to is not None:
|
@@ -110,6 +114,18 @@ class _ServicePerimeterEgressPolicyState:
|
|
110
114
|
if perimeter is not None:
|
111
115
|
pulumi.set(__self__, "perimeter", perimeter)
|
112
116
|
|
117
|
+
@property
|
118
|
+
@pulumi.getter(name="accessPolicyId")
|
119
|
+
def access_policy_id(self) -> Optional[pulumi.Input[str]]:
|
120
|
+
"""
|
121
|
+
The name of the Access Policy this resource belongs to.
|
122
|
+
"""
|
123
|
+
return pulumi.get(self, "access_policy_id")
|
124
|
+
|
125
|
+
@access_policy_id.setter
|
126
|
+
def access_policy_id(self, value: Optional[pulumi.Input[str]]):
|
127
|
+
pulumi.set(self, "access_policy_id", value)
|
128
|
+
|
113
129
|
@property
|
114
130
|
@pulumi.getter(name="egressFrom")
|
115
131
|
def egress_from(self) -> Optional[pulumi.Input['ServicePerimeterEgressPolicyEgressFromArgs']]:
|
@@ -262,6 +278,7 @@ class ServicePerimeterEgressPolicy(pulumi.CustomResource):
|
|
262
278
|
if perimeter is None and not opts.urn:
|
263
279
|
raise TypeError("Missing required property 'perimeter'")
|
264
280
|
__props__.__dict__["perimeter"] = perimeter
|
281
|
+
__props__.__dict__["access_policy_id"] = None
|
265
282
|
super(ServicePerimeterEgressPolicy, __self__).__init__(
|
266
283
|
'gcp:accesscontextmanager/servicePerimeterEgressPolicy:ServicePerimeterEgressPolicy',
|
267
284
|
resource_name,
|
@@ -272,6 +289,7 @@ class ServicePerimeterEgressPolicy(pulumi.CustomResource):
|
|
272
289
|
def get(resource_name: str,
|
273
290
|
id: pulumi.Input[str],
|
274
291
|
opts: Optional[pulumi.ResourceOptions] = None,
|
292
|
+
access_policy_id: Optional[pulumi.Input[str]] = None,
|
275
293
|
egress_from: Optional[pulumi.Input[Union['ServicePerimeterEgressPolicyEgressFromArgs', 'ServicePerimeterEgressPolicyEgressFromArgsDict']]] = None,
|
276
294
|
egress_to: Optional[pulumi.Input[Union['ServicePerimeterEgressPolicyEgressToArgs', 'ServicePerimeterEgressPolicyEgressToArgsDict']]] = None,
|
277
295
|
perimeter: Optional[pulumi.Input[str]] = None) -> 'ServicePerimeterEgressPolicy':
|
@@ -282,6 +300,7 @@ class ServicePerimeterEgressPolicy(pulumi.CustomResource):
|
|
282
300
|
:param str resource_name: The unique name of the resulting resource.
|
283
301
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
284
302
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
303
|
+
:param pulumi.Input[str] access_policy_id: The name of the Access Policy this resource belongs to.
|
285
304
|
:param pulumi.Input[Union['ServicePerimeterEgressPolicyEgressFromArgs', 'ServicePerimeterEgressPolicyEgressFromArgsDict']] egress_from: Defines conditions on the source of a request causing this `EgressPolicy` to apply.
|
286
305
|
Structure is documented below.
|
287
306
|
:param pulumi.Input[Union['ServicePerimeterEgressPolicyEgressToArgs', 'ServicePerimeterEgressPolicyEgressToArgsDict']] egress_to: Defines the conditions on the `ApiOperation` and destination resources that
|
@@ -296,11 +315,20 @@ class ServicePerimeterEgressPolicy(pulumi.CustomResource):
|
|
296
315
|
|
297
316
|
__props__ = _ServicePerimeterEgressPolicyState.__new__(_ServicePerimeterEgressPolicyState)
|
298
317
|
|
318
|
+
__props__.__dict__["access_policy_id"] = access_policy_id
|
299
319
|
__props__.__dict__["egress_from"] = egress_from
|
300
320
|
__props__.__dict__["egress_to"] = egress_to
|
301
321
|
__props__.__dict__["perimeter"] = perimeter
|
302
322
|
return ServicePerimeterEgressPolicy(resource_name, opts=opts, __props__=__props__)
|
303
323
|
|
324
|
+
@property
|
325
|
+
@pulumi.getter(name="accessPolicyId")
|
326
|
+
def access_policy_id(self) -> pulumi.Output[str]:
|
327
|
+
"""
|
328
|
+
The name of the Access Policy this resource belongs to.
|
329
|
+
"""
|
330
|
+
return pulumi.get(self, "access_policy_id")
|
331
|
+
|
304
332
|
@property
|
305
333
|
@pulumi.getter(name="egressFrom")
|
306
334
|
def egress_from(self) -> pulumi.Output[Optional['outputs.ServicePerimeterEgressPolicyEgressFrom']]:
|
@@ -90,11 +90,13 @@ class ServicePerimeterIngressPolicyArgs:
|
|
90
90
|
@pulumi.input_type
|
91
91
|
class _ServicePerimeterIngressPolicyState:
|
92
92
|
def __init__(__self__, *,
|
93
|
+
access_policy_id: Optional[pulumi.Input[str]] = None,
|
93
94
|
ingress_from: Optional[pulumi.Input['ServicePerimeterIngressPolicyIngressFromArgs']] = None,
|
94
95
|
ingress_to: Optional[pulumi.Input['ServicePerimeterIngressPolicyIngressToArgs']] = None,
|
95
96
|
perimeter: Optional[pulumi.Input[str]] = None):
|
96
97
|
"""
|
97
98
|
Input properties used for looking up and filtering ServicePerimeterIngressPolicy resources.
|
99
|
+
:param pulumi.Input[str] access_policy_id: The name of the Access Policy this resource belongs to.
|
98
100
|
:param pulumi.Input['ServicePerimeterIngressPolicyIngressFromArgs'] ingress_from: Defines the conditions on the source of a request causing this `IngressPolicy`
|
99
101
|
to apply.
|
100
102
|
Structure is documented below.
|
@@ -106,6 +108,8 @@ class _ServicePerimeterIngressPolicyState:
|
|
106
108
|
|
107
109
|
- - -
|
108
110
|
"""
|
111
|
+
if access_policy_id is not None:
|
112
|
+
pulumi.set(__self__, "access_policy_id", access_policy_id)
|
109
113
|
if ingress_from is not None:
|
110
114
|
pulumi.set(__self__, "ingress_from", ingress_from)
|
111
115
|
if ingress_to is not None:
|
@@ -113,6 +117,18 @@ class _ServicePerimeterIngressPolicyState:
|
|
113
117
|
if perimeter is not None:
|
114
118
|
pulumi.set(__self__, "perimeter", perimeter)
|
115
119
|
|
120
|
+
@property
|
121
|
+
@pulumi.getter(name="accessPolicyId")
|
122
|
+
def access_policy_id(self) -> Optional[pulumi.Input[str]]:
|
123
|
+
"""
|
124
|
+
The name of the Access Policy this resource belongs to.
|
125
|
+
"""
|
126
|
+
return pulumi.get(self, "access_policy_id")
|
127
|
+
|
128
|
+
@access_policy_id.setter
|
129
|
+
def access_policy_id(self, value: Optional[pulumi.Input[str]]):
|
130
|
+
pulumi.set(self, "access_policy_id", value)
|
131
|
+
|
116
132
|
@property
|
117
133
|
@pulumi.getter(name="ingressFrom")
|
118
134
|
def ingress_from(self) -> Optional[pulumi.Input['ServicePerimeterIngressPolicyIngressFromArgs']]:
|
@@ -269,6 +285,7 @@ class ServicePerimeterIngressPolicy(pulumi.CustomResource):
|
|
269
285
|
if perimeter is None and not opts.urn:
|
270
286
|
raise TypeError("Missing required property 'perimeter'")
|
271
287
|
__props__.__dict__["perimeter"] = perimeter
|
288
|
+
__props__.__dict__["access_policy_id"] = None
|
272
289
|
super(ServicePerimeterIngressPolicy, __self__).__init__(
|
273
290
|
'gcp:accesscontextmanager/servicePerimeterIngressPolicy:ServicePerimeterIngressPolicy',
|
274
291
|
resource_name,
|
@@ -279,6 +296,7 @@ class ServicePerimeterIngressPolicy(pulumi.CustomResource):
|
|
279
296
|
def get(resource_name: str,
|
280
297
|
id: pulumi.Input[str],
|
281
298
|
opts: Optional[pulumi.ResourceOptions] = None,
|
299
|
+
access_policy_id: Optional[pulumi.Input[str]] = None,
|
282
300
|
ingress_from: Optional[pulumi.Input[Union['ServicePerimeterIngressPolicyIngressFromArgs', 'ServicePerimeterIngressPolicyIngressFromArgsDict']]] = None,
|
283
301
|
ingress_to: Optional[pulumi.Input[Union['ServicePerimeterIngressPolicyIngressToArgs', 'ServicePerimeterIngressPolicyIngressToArgsDict']]] = None,
|
284
302
|
perimeter: Optional[pulumi.Input[str]] = None) -> 'ServicePerimeterIngressPolicy':
|
@@ -289,6 +307,7 @@ class ServicePerimeterIngressPolicy(pulumi.CustomResource):
|
|
289
307
|
:param str resource_name: The unique name of the resulting resource.
|
290
308
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
291
309
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
310
|
+
:param pulumi.Input[str] access_policy_id: The name of the Access Policy this resource belongs to.
|
292
311
|
:param pulumi.Input[Union['ServicePerimeterIngressPolicyIngressFromArgs', 'ServicePerimeterIngressPolicyIngressFromArgsDict']] ingress_from: Defines the conditions on the source of a request causing this `IngressPolicy`
|
293
312
|
to apply.
|
294
313
|
Structure is documented below.
|
@@ -304,11 +323,20 @@ class ServicePerimeterIngressPolicy(pulumi.CustomResource):
|
|
304
323
|
|
305
324
|
__props__ = _ServicePerimeterIngressPolicyState.__new__(_ServicePerimeterIngressPolicyState)
|
306
325
|
|
326
|
+
__props__.__dict__["access_policy_id"] = access_policy_id
|
307
327
|
__props__.__dict__["ingress_from"] = ingress_from
|
308
328
|
__props__.__dict__["ingress_to"] = ingress_to
|
309
329
|
__props__.__dict__["perimeter"] = perimeter
|
310
330
|
return ServicePerimeterIngressPolicy(resource_name, opts=opts, __props__=__props__)
|
311
331
|
|
332
|
+
@property
|
333
|
+
@pulumi.getter(name="accessPolicyId")
|
334
|
+
def access_policy_id(self) -> pulumi.Output[str]:
|
335
|
+
"""
|
336
|
+
The name of the Access Policy this resource belongs to.
|
337
|
+
"""
|
338
|
+
return pulumi.get(self, "access_policy_id")
|
339
|
+
|
312
340
|
@property
|
313
341
|
@pulumi.getter(name="ingressFrom")
|
314
342
|
def ingress_from(self) -> pulumi.Output[Optional['outputs.ServicePerimeterIngressPolicyIngressFrom']]:
|
@@ -67,10 +67,14 @@ class ServicePerimeterResourceArgs:
|
|
67
67
|
@pulumi.input_type
|
68
68
|
class _ServicePerimeterResourceState:
|
69
69
|
def __init__(__self__, *,
|
70
|
+
access_policy_id: Optional[pulumi.Input[str]] = None,
|
71
|
+
etag: Optional[pulumi.Input[str]] = None,
|
70
72
|
perimeter_name: Optional[pulumi.Input[str]] = None,
|
71
73
|
resource: Optional[pulumi.Input[str]] = None):
|
72
74
|
"""
|
73
75
|
Input properties used for looking up and filtering ServicePerimeterResource resources.
|
76
|
+
:param pulumi.Input[str] access_policy_id: The name of the Access Policy this resource belongs to.
|
77
|
+
:param pulumi.Input[str] etag: The perimeter etag is internally used to prevent overwriting the list of perimeter resources on PATCH calls. It is retrieved from the same GET perimeter API call that's used to get the current list of resources. The resource to add or remove is merged into that list and then this etag is sent with the PATCH call along with the updated resource list.
|
74
78
|
:param pulumi.Input[str] perimeter_name: The name of the Service Perimeter to add this resource to.
|
75
79
|
|
76
80
|
|
@@ -79,11 +83,39 @@ class _ServicePerimeterResourceState:
|
|
79
83
|
Currently only projects are allowed.
|
80
84
|
Format: projects/{project_number}
|
81
85
|
"""
|
86
|
+
if access_policy_id is not None:
|
87
|
+
pulumi.set(__self__, "access_policy_id", access_policy_id)
|
88
|
+
if etag is not None:
|
89
|
+
pulumi.set(__self__, "etag", etag)
|
82
90
|
if perimeter_name is not None:
|
83
91
|
pulumi.set(__self__, "perimeter_name", perimeter_name)
|
84
92
|
if resource is not None:
|
85
93
|
pulumi.set(__self__, "resource", resource)
|
86
94
|
|
95
|
+
@property
|
96
|
+
@pulumi.getter(name="accessPolicyId")
|
97
|
+
def access_policy_id(self) -> Optional[pulumi.Input[str]]:
|
98
|
+
"""
|
99
|
+
The name of the Access Policy this resource belongs to.
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "access_policy_id")
|
102
|
+
|
103
|
+
@access_policy_id.setter
|
104
|
+
def access_policy_id(self, value: Optional[pulumi.Input[str]]):
|
105
|
+
pulumi.set(self, "access_policy_id", value)
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter
|
109
|
+
def etag(self) -> Optional[pulumi.Input[str]]:
|
110
|
+
"""
|
111
|
+
The perimeter etag is internally used to prevent overwriting the list of perimeter resources on PATCH calls. It is retrieved from the same GET perimeter API call that's used to get the current list of resources. The resource to add or remove is merged into that list and then this etag is sent with the PATCH call along with the updated resource list.
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "etag")
|
114
|
+
|
115
|
+
@etag.setter
|
116
|
+
def etag(self, value: Optional[pulumi.Input[str]]):
|
117
|
+
pulumi.set(self, "etag", value)
|
118
|
+
|
87
119
|
@property
|
88
120
|
@pulumi.getter(name="perimeterName")
|
89
121
|
def perimeter_name(self) -> Optional[pulumi.Input[str]]:
|
@@ -286,6 +318,8 @@ class ServicePerimeterResource(pulumi.CustomResource):
|
|
286
318
|
if resource is None and not opts.urn:
|
287
319
|
raise TypeError("Missing required property 'resource'")
|
288
320
|
__props__.__dict__["resource"] = resource
|
321
|
+
__props__.__dict__["access_policy_id"] = None
|
322
|
+
__props__.__dict__["etag"] = None
|
289
323
|
super(ServicePerimeterResource, __self__).__init__(
|
290
324
|
'gcp:accesscontextmanager/servicePerimeterResource:ServicePerimeterResource',
|
291
325
|
resource_name,
|
@@ -296,6 +330,8 @@ class ServicePerimeterResource(pulumi.CustomResource):
|
|
296
330
|
def get(resource_name: str,
|
297
331
|
id: pulumi.Input[str],
|
298
332
|
opts: Optional[pulumi.ResourceOptions] = None,
|
333
|
+
access_policy_id: Optional[pulumi.Input[str]] = None,
|
334
|
+
etag: Optional[pulumi.Input[str]] = None,
|
299
335
|
perimeter_name: Optional[pulumi.Input[str]] = None,
|
300
336
|
resource: Optional[pulumi.Input[str]] = None) -> 'ServicePerimeterResource':
|
301
337
|
"""
|
@@ -305,6 +341,8 @@ class ServicePerimeterResource(pulumi.CustomResource):
|
|
305
341
|
:param str resource_name: The unique name of the resulting resource.
|
306
342
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
307
343
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
344
|
+
:param pulumi.Input[str] access_policy_id: The name of the Access Policy this resource belongs to.
|
345
|
+
:param pulumi.Input[str] etag: The perimeter etag is internally used to prevent overwriting the list of perimeter resources on PATCH calls. It is retrieved from the same GET perimeter API call that's used to get the current list of resources. The resource to add or remove is merged into that list and then this etag is sent with the PATCH call along with the updated resource list.
|
308
346
|
:param pulumi.Input[str] perimeter_name: The name of the Service Perimeter to add this resource to.
|
309
347
|
|
310
348
|
|
@@ -317,10 +355,28 @@ class ServicePerimeterResource(pulumi.CustomResource):
|
|
317
355
|
|
318
356
|
__props__ = _ServicePerimeterResourceState.__new__(_ServicePerimeterResourceState)
|
319
357
|
|
358
|
+
__props__.__dict__["access_policy_id"] = access_policy_id
|
359
|
+
__props__.__dict__["etag"] = etag
|
320
360
|
__props__.__dict__["perimeter_name"] = perimeter_name
|
321
361
|
__props__.__dict__["resource"] = resource
|
322
362
|
return ServicePerimeterResource(resource_name, opts=opts, __props__=__props__)
|
323
363
|
|
364
|
+
@property
|
365
|
+
@pulumi.getter(name="accessPolicyId")
|
366
|
+
def access_policy_id(self) -> pulumi.Output[str]:
|
367
|
+
"""
|
368
|
+
The name of the Access Policy this resource belongs to.
|
369
|
+
"""
|
370
|
+
return pulumi.get(self, "access_policy_id")
|
371
|
+
|
372
|
+
@property
|
373
|
+
@pulumi.getter
|
374
|
+
def etag(self) -> pulumi.Output[str]:
|
375
|
+
"""
|
376
|
+
The perimeter etag is internally used to prevent overwriting the list of perimeter resources on PATCH calls. It is retrieved from the same GET perimeter API call that's used to get the current list of resources. The resource to add or remove is merged into that list and then this etag is sent with the PATCH call along with the updated resource list.
|
377
|
+
"""
|
378
|
+
return pulumi.get(self, "etag")
|
379
|
+
|
324
380
|
@property
|
325
381
|
@pulumi.getter(name="perimeterName")
|
326
382
|
def perimeter_name(self) -> pulumi.Output[str]:
|
pulumi_gcp/apigee/__init__.py
CHANGED
@@ -15,6 +15,7 @@ from .env_group_attachment import *
|
|
15
15
|
from .env_keystore import *
|
16
16
|
from .env_references import *
|
17
17
|
from .environment import *
|
18
|
+
from .environment_addons_config import *
|
18
19
|
from .environment_iam_binding import *
|
19
20
|
from .environment_iam_member import *
|
20
21
|
from .environment_iam_policy import *
|
@@ -0,0 +1,266 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = ['EnvironmentAddonsConfigArgs', 'EnvironmentAddonsConfig']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class EnvironmentAddonsConfigArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
env_id: pulumi.Input[str],
|
23
|
+
analytics_enabled: Optional[pulumi.Input[bool]] = None):
|
24
|
+
"""
|
25
|
+
The set of arguments for constructing a EnvironmentAddonsConfig resource.
|
26
|
+
:param pulumi.Input[str] env_id: The Apigee environment group associated with the Apigee environment,
|
27
|
+
in the format `organizations/{{org_name}}/environments/{{env_name}}`.
|
28
|
+
|
29
|
+
|
30
|
+
- - -
|
31
|
+
:param pulumi.Input[bool] analytics_enabled: Flag to enable/disable Analytics.
|
32
|
+
"""
|
33
|
+
pulumi.set(__self__, "env_id", env_id)
|
34
|
+
if analytics_enabled is not None:
|
35
|
+
pulumi.set(__self__, "analytics_enabled", analytics_enabled)
|
36
|
+
|
37
|
+
@property
|
38
|
+
@pulumi.getter(name="envId")
|
39
|
+
def env_id(self) -> pulumi.Input[str]:
|
40
|
+
"""
|
41
|
+
The Apigee environment group associated with the Apigee environment,
|
42
|
+
in the format `organizations/{{org_name}}/environments/{{env_name}}`.
|
43
|
+
|
44
|
+
|
45
|
+
- - -
|
46
|
+
"""
|
47
|
+
return pulumi.get(self, "env_id")
|
48
|
+
|
49
|
+
@env_id.setter
|
50
|
+
def env_id(self, value: pulumi.Input[str]):
|
51
|
+
pulumi.set(self, "env_id", value)
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter(name="analyticsEnabled")
|
55
|
+
def analytics_enabled(self) -> Optional[pulumi.Input[bool]]:
|
56
|
+
"""
|
57
|
+
Flag to enable/disable Analytics.
|
58
|
+
"""
|
59
|
+
return pulumi.get(self, "analytics_enabled")
|
60
|
+
|
61
|
+
@analytics_enabled.setter
|
62
|
+
def analytics_enabled(self, value: Optional[pulumi.Input[bool]]):
|
63
|
+
pulumi.set(self, "analytics_enabled", value)
|
64
|
+
|
65
|
+
|
66
|
+
@pulumi.input_type
|
67
|
+
class _EnvironmentAddonsConfigState:
|
68
|
+
def __init__(__self__, *,
|
69
|
+
analytics_enabled: Optional[pulumi.Input[bool]] = None,
|
70
|
+
env_id: Optional[pulumi.Input[str]] = None):
|
71
|
+
"""
|
72
|
+
Input properties used for looking up and filtering EnvironmentAddonsConfig resources.
|
73
|
+
:param pulumi.Input[bool] analytics_enabled: Flag to enable/disable Analytics.
|
74
|
+
:param pulumi.Input[str] env_id: The Apigee environment group associated with the Apigee environment,
|
75
|
+
in the format `organizations/{{org_name}}/environments/{{env_name}}`.
|
76
|
+
|
77
|
+
|
78
|
+
- - -
|
79
|
+
"""
|
80
|
+
if analytics_enabled is not None:
|
81
|
+
pulumi.set(__self__, "analytics_enabled", analytics_enabled)
|
82
|
+
if env_id is not None:
|
83
|
+
pulumi.set(__self__, "env_id", env_id)
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter(name="analyticsEnabled")
|
87
|
+
def analytics_enabled(self) -> Optional[pulumi.Input[bool]]:
|
88
|
+
"""
|
89
|
+
Flag to enable/disable Analytics.
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "analytics_enabled")
|
92
|
+
|
93
|
+
@analytics_enabled.setter
|
94
|
+
def analytics_enabled(self, value: Optional[pulumi.Input[bool]]):
|
95
|
+
pulumi.set(self, "analytics_enabled", value)
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter(name="envId")
|
99
|
+
def env_id(self) -> Optional[pulumi.Input[str]]:
|
100
|
+
"""
|
101
|
+
The Apigee environment group associated with the Apigee environment,
|
102
|
+
in the format `organizations/{{org_name}}/environments/{{env_name}}`.
|
103
|
+
|
104
|
+
|
105
|
+
- - -
|
106
|
+
"""
|
107
|
+
return pulumi.get(self, "env_id")
|
108
|
+
|
109
|
+
@env_id.setter
|
110
|
+
def env_id(self, value: Optional[pulumi.Input[str]]):
|
111
|
+
pulumi.set(self, "env_id", value)
|
112
|
+
|
113
|
+
|
114
|
+
class EnvironmentAddonsConfig(pulumi.CustomResource):
|
115
|
+
@overload
|
116
|
+
def __init__(__self__,
|
117
|
+
resource_name: str,
|
118
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
119
|
+
analytics_enabled: Optional[pulumi.Input[bool]] = None,
|
120
|
+
env_id: Optional[pulumi.Input[str]] = None,
|
121
|
+
__props__=None):
|
122
|
+
"""
|
123
|
+
Enable/Disable add-ons for an Apigee environment.
|
124
|
+
|
125
|
+
To get more information about EnvironmentAddonsConfig, see:
|
126
|
+
|
127
|
+
* [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments.addonsConfig/setAddonEnablement)
|
128
|
+
* How-to Guides
|
129
|
+
* [Enable Analytics Add-On](https://cloud.google.com/apigee/docs/api-platform/reference/manage-analytics-add-on)
|
130
|
+
|
131
|
+
## Example Usage
|
132
|
+
|
133
|
+
## Import
|
134
|
+
|
135
|
+
EnvironmentAddonsConfig can be imported using any of these accepted formats:
|
136
|
+
|
137
|
+
* `{{env_id}}`
|
138
|
+
|
139
|
+
When using the `pulumi import` command, EnvironmentAddonsConfig can be imported using one of the formats above. For example:
|
140
|
+
|
141
|
+
```sh
|
142
|
+
$ pulumi import gcp:apigee/environmentAddonsConfig:EnvironmentAddonsConfig default {{env_id}}
|
143
|
+
```
|
144
|
+
|
145
|
+
:param str resource_name: The name of the resource.
|
146
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
147
|
+
:param pulumi.Input[bool] analytics_enabled: Flag to enable/disable Analytics.
|
148
|
+
:param pulumi.Input[str] env_id: The Apigee environment group associated with the Apigee environment,
|
149
|
+
in the format `organizations/{{org_name}}/environments/{{env_name}}`.
|
150
|
+
|
151
|
+
|
152
|
+
- - -
|
153
|
+
"""
|
154
|
+
...
|
155
|
+
@overload
|
156
|
+
def __init__(__self__,
|
157
|
+
resource_name: str,
|
158
|
+
args: EnvironmentAddonsConfigArgs,
|
159
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
160
|
+
"""
|
161
|
+
Enable/Disable add-ons for an Apigee environment.
|
162
|
+
|
163
|
+
To get more information about EnvironmentAddonsConfig, see:
|
164
|
+
|
165
|
+
* [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments.addonsConfig/setAddonEnablement)
|
166
|
+
* How-to Guides
|
167
|
+
* [Enable Analytics Add-On](https://cloud.google.com/apigee/docs/api-platform/reference/manage-analytics-add-on)
|
168
|
+
|
169
|
+
## Example Usage
|
170
|
+
|
171
|
+
## Import
|
172
|
+
|
173
|
+
EnvironmentAddonsConfig can be imported using any of these accepted formats:
|
174
|
+
|
175
|
+
* `{{env_id}}`
|
176
|
+
|
177
|
+
When using the `pulumi import` command, EnvironmentAddonsConfig can be imported using one of the formats above. For example:
|
178
|
+
|
179
|
+
```sh
|
180
|
+
$ pulumi import gcp:apigee/environmentAddonsConfig:EnvironmentAddonsConfig default {{env_id}}
|
181
|
+
```
|
182
|
+
|
183
|
+
:param str resource_name: The name of the resource.
|
184
|
+
:param EnvironmentAddonsConfigArgs args: The arguments to use to populate this resource's properties.
|
185
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
186
|
+
"""
|
187
|
+
...
|
188
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
189
|
+
resource_args, opts = _utilities.get_resource_args_opts(EnvironmentAddonsConfigArgs, pulumi.ResourceOptions, *args, **kwargs)
|
190
|
+
if resource_args is not None:
|
191
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
192
|
+
else:
|
193
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
194
|
+
|
195
|
+
def _internal_init(__self__,
|
196
|
+
resource_name: str,
|
197
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
198
|
+
analytics_enabled: Optional[pulumi.Input[bool]] = None,
|
199
|
+
env_id: Optional[pulumi.Input[str]] = None,
|
200
|
+
__props__=None):
|
201
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
202
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
203
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
204
|
+
if opts.id is None:
|
205
|
+
if __props__ is not None:
|
206
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
207
|
+
__props__ = EnvironmentAddonsConfigArgs.__new__(EnvironmentAddonsConfigArgs)
|
208
|
+
|
209
|
+
__props__.__dict__["analytics_enabled"] = analytics_enabled
|
210
|
+
if env_id is None and not opts.urn:
|
211
|
+
raise TypeError("Missing required property 'env_id'")
|
212
|
+
__props__.__dict__["env_id"] = env_id
|
213
|
+
super(EnvironmentAddonsConfig, __self__).__init__(
|
214
|
+
'gcp:apigee/environmentAddonsConfig:EnvironmentAddonsConfig',
|
215
|
+
resource_name,
|
216
|
+
__props__,
|
217
|
+
opts)
|
218
|
+
|
219
|
+
@staticmethod
|
220
|
+
def get(resource_name: str,
|
221
|
+
id: pulumi.Input[str],
|
222
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
223
|
+
analytics_enabled: Optional[pulumi.Input[bool]] = None,
|
224
|
+
env_id: Optional[pulumi.Input[str]] = None) -> 'EnvironmentAddonsConfig':
|
225
|
+
"""
|
226
|
+
Get an existing EnvironmentAddonsConfig resource's state with the given name, id, and optional extra
|
227
|
+
properties used to qualify the lookup.
|
228
|
+
|
229
|
+
:param str resource_name: The unique name of the resulting resource.
|
230
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
231
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
232
|
+
:param pulumi.Input[bool] analytics_enabled: Flag to enable/disable Analytics.
|
233
|
+
:param pulumi.Input[str] env_id: The Apigee environment group associated with the Apigee environment,
|
234
|
+
in the format `organizations/{{org_name}}/environments/{{env_name}}`.
|
235
|
+
|
236
|
+
|
237
|
+
- - -
|
238
|
+
"""
|
239
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
240
|
+
|
241
|
+
__props__ = _EnvironmentAddonsConfigState.__new__(_EnvironmentAddonsConfigState)
|
242
|
+
|
243
|
+
__props__.__dict__["analytics_enabled"] = analytics_enabled
|
244
|
+
__props__.__dict__["env_id"] = env_id
|
245
|
+
return EnvironmentAddonsConfig(resource_name, opts=opts, __props__=__props__)
|
246
|
+
|
247
|
+
@property
|
248
|
+
@pulumi.getter(name="analyticsEnabled")
|
249
|
+
def analytics_enabled(self) -> pulumi.Output[Optional[bool]]:
|
250
|
+
"""
|
251
|
+
Flag to enable/disable Analytics.
|
252
|
+
"""
|
253
|
+
return pulumi.get(self, "analytics_enabled")
|
254
|
+
|
255
|
+
@property
|
256
|
+
@pulumi.getter(name="envId")
|
257
|
+
def env_id(self) -> pulumi.Output[str]:
|
258
|
+
"""
|
259
|
+
The Apigee environment group associated with the Apigee environment,
|
260
|
+
in the format `organizations/{{org_name}}/environments/{{env_name}}`.
|
261
|
+
|
262
|
+
|
263
|
+
- - -
|
264
|
+
"""
|
265
|
+
return pulumi.get(self, "env_id")
|
266
|
+
|
@@ -947,6 +947,21 @@ class Repository(pulumi.CustomResource):
|
|
947
947
|
format="DOCKER",
|
948
948
|
cleanup_policy_dry_run=False,
|
949
949
|
cleanup_policies=[
|
950
|
+
{
|
951
|
+
"id": "delete-untagged",
|
952
|
+
"action": "DELETE",
|
953
|
+
"condition": {
|
954
|
+
"tag_state": "UNTAGGED",
|
955
|
+
},
|
956
|
+
},
|
957
|
+
{
|
958
|
+
"id": "keep-new-untagged",
|
959
|
+
"action": "KEEP",
|
960
|
+
"condition": {
|
961
|
+
"tag_state": "UNTAGGED",
|
962
|
+
"newer_than": "7d",
|
963
|
+
},
|
964
|
+
},
|
950
965
|
{
|
951
966
|
"id": "delete-prerelease",
|
952
967
|
"action": "DELETE",
|
@@ -956,7 +971,7 @@ class Repository(pulumi.CustomResource):
|
|
956
971
|
"alpha",
|
957
972
|
"v0",
|
958
973
|
],
|
959
|
-
"older_than": "
|
974
|
+
"older_than": "30d",
|
960
975
|
},
|
961
976
|
},
|
962
977
|
{
|
@@ -1560,6 +1575,21 @@ class Repository(pulumi.CustomResource):
|
|
1560
1575
|
format="DOCKER",
|
1561
1576
|
cleanup_policy_dry_run=False,
|
1562
1577
|
cleanup_policies=[
|
1578
|
+
{
|
1579
|
+
"id": "delete-untagged",
|
1580
|
+
"action": "DELETE",
|
1581
|
+
"condition": {
|
1582
|
+
"tag_state": "UNTAGGED",
|
1583
|
+
},
|
1584
|
+
},
|
1585
|
+
{
|
1586
|
+
"id": "keep-new-untagged",
|
1587
|
+
"action": "KEEP",
|
1588
|
+
"condition": {
|
1589
|
+
"tag_state": "UNTAGGED",
|
1590
|
+
"newer_than": "7d",
|
1591
|
+
},
|
1592
|
+
},
|
1563
1593
|
{
|
1564
1594
|
"id": "delete-prerelease",
|
1565
1595
|
"action": "DELETE",
|
@@ -1569,7 +1599,7 @@ class Repository(pulumi.CustomResource):
|
|
1569
1599
|
"alpha",
|
1570
1600
|
"v0",
|
1571
1601
|
],
|
1572
|
-
"older_than": "
|
1602
|
+
"older_than": "30d",
|
1573
1603
|
},
|
1574
1604
|
},
|
1575
1605
|
{
|
@@ -750,7 +750,7 @@ class Connection(pulumi.CustomResource):
|
|
750
750
|
user = gcp.sql.User("user",
|
751
751
|
name="user",
|
752
752
|
instance=instance.name,
|
753
|
-
password="tf-test-my-
|
753
|
+
password="tf-test-my-password_15222")
|
754
754
|
bq_sa = gcp.bigquery.get_default_service_account()
|
755
755
|
key_sa_user = gcp.kms.CryptoKeyIAMMember("key_sa_user",
|
756
756
|
crypto_key_id="projects/project/locations/us-central1/keyRings/us-central1/cryptoKeys/bq-key",
|
@@ -1056,7 +1056,7 @@ class Connection(pulumi.CustomResource):
|
|
1056
1056
|
user = gcp.sql.User("user",
|
1057
1057
|
name="user",
|
1058
1058
|
instance=instance.name,
|
1059
|
-
password="tf-test-my-
|
1059
|
+
password="tf-test-my-password_15222")
|
1060
1060
|
bq_sa = gcp.bigquery.get_default_service_account()
|
1061
1061
|
key_sa_user = gcp.kms.CryptoKeyIAMMember("key_sa_user",
|
1062
1062
|
crypto_key_id="projects/project/locations/us-central1/keyRings/us-central1/cryptoKeys/bq-key",
|
pulumi_gcp/bigquery/routine.py
CHANGED
@@ -845,7 +845,7 @@ class Routine(pulumi.CustomResource):
|
|
845
845
|
import pulumi
|
846
846
|
import pulumi_gcp as gcp
|
847
847
|
|
848
|
-
test = gcp.bigquery.Dataset("test", dataset_id="
|
848
|
+
test = gcp.bigquery.Dataset("test", dataset_id="tf_test_dataset_id_81126")
|
849
849
|
custom_masking_routine = gcp.bigquery.Routine("custom_masking_routine",
|
850
850
|
dataset_id=test.dataset_id,
|
851
851
|
routine_id="custom_masking_routine",
|
@@ -1140,7 +1140,7 @@ class Routine(pulumi.CustomResource):
|
|
1140
1140
|
import pulumi
|
1141
1141
|
import pulumi_gcp as gcp
|
1142
1142
|
|
1143
|
-
test = gcp.bigquery.Dataset("test", dataset_id="
|
1143
|
+
test = gcp.bigquery.Dataset("test", dataset_id="tf_test_dataset_id_81126")
|
1144
1144
|
custom_masking_routine = gcp.bigquery.Routine("custom_masking_routine",
|
1145
1145
|
dataset_id=test.dataset_id,
|
1146
1146
|
routine_id="custom_masking_routine",
|