pulumi-gcp 7.5.0a1704347630__py3-none-any.whl → 7.6.0__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/__init__.py +99 -0
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +40 -0
- pulumi_gcp/bigqueryanalyticshub/listing.py +117 -3
- pulumi_gcp/bigqueryanalyticshub/outputs.py +49 -0
- pulumi_gcp/clouddeploy/__init__.py +1 -0
- pulumi_gcp/clouddeploy/_inputs.py +239 -0
- pulumi_gcp/clouddeploy/automation.py +1103 -0
- pulumi_gcp/clouddeploy/outputs.py +246 -0
- pulumi_gcp/clouddomains/__init__.py +10 -0
- pulumi_gcp/clouddomains/_inputs.py +1098 -0
- pulumi_gcp/clouddomains/outputs.py +1156 -0
- pulumi_gcp/clouddomains/registration.py +1068 -0
- pulumi_gcp/cloudrunv2/job.py +4 -4
- pulumi_gcp/composer/_inputs.py +79 -1
- pulumi_gcp/composer/outputs.py +131 -4
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +180 -0
- pulumi_gcp/compute/get_instance_template.py +11 -1
- pulumi_gcp/compute/get_region_instance_template.py +11 -1
- pulumi_gcp/compute/get_reservation.py +212 -0
- pulumi_gcp/compute/instance_template.py +47 -0
- pulumi_gcp/compute/network_firewall_policy.py +20 -22
- pulumi_gcp/compute/outputs.py +325 -0
- pulumi_gcp/compute/region_instance_template.py +47 -0
- pulumi_gcp/compute/region_network_firewall_policy.py +31 -35
- pulumi_gcp/compute/router_peer.py +54 -0
- pulumi_gcp/compute/vpn_tunnel.py +8 -4
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +23 -0
- pulumi_gcp/container/aws_node_pool.py +7 -7
- pulumi_gcp/container/cluster.py +68 -14
- pulumi_gcp/container/get_cluster.py +11 -1
- pulumi_gcp/container/outputs.py +49 -0
- pulumi_gcp/dataflow/pipeline.py +1 -1
- pulumi_gcp/dataproc/_inputs.py +413 -39
- pulumi_gcp/dataproc/metastore_service.py +63 -0
- pulumi_gcp/dataproc/outputs.py +461 -39
- pulumi_gcp/dns/__init__.py +1 -0
- pulumi_gcp/dns/_inputs.py +94 -0
- pulumi_gcp/dns/get_managed_zones.py +89 -0
- pulumi_gcp/dns/outputs.py +62 -0
- pulumi_gcp/edgecontainer/vpn_connection.py +10 -10
- pulumi_gcp/filestore/__init__.py +1 -0
- pulumi_gcp/filestore/get_instance.py +258 -0
- pulumi_gcp/filestore/instance.py +7 -7
- pulumi_gcp/filestore/outputs.py +126 -0
- pulumi_gcp/gkebackup/backup_plan.py +24 -8
- pulumi_gcp/gkebackup/restore_plan.py +36 -12
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +36 -12
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +36 -12
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +36 -12
- pulumi_gcp/gkehub/_inputs.py +502 -2
- pulumi_gcp/gkehub/feature.py +34 -0
- pulumi_gcp/gkehub/feature_membership.py +177 -0
- pulumi_gcp/gkehub/membership.py +18 -6
- pulumi_gcp/gkehub/outputs.py +502 -2
- pulumi_gcp/gkeonprem/_inputs.py +21 -25
- pulumi_gcp/gkeonprem/outputs.py +34 -25
- pulumi_gcp/gkeonprem/v_mware_node_pool.py +34 -0
- pulumi_gcp/integrationconnectors/__init__.py +1 -0
- pulumi_gcp/integrationconnectors/endpoint_attachment.py +669 -0
- pulumi_gcp/kms/_inputs.py +42 -0
- pulumi_gcp/kms/crypto_key.py +36 -0
- pulumi_gcp/kms/get_kms_crypto_key.py +11 -1
- pulumi_gcp/kms/outputs.py +62 -0
- pulumi_gcp/logging/__init__.py +2 -0
- pulumi_gcp/logging/folder_settings.py +490 -0
- pulumi_gcp/logging/folder_sink.py +21 -21
- pulumi_gcp/logging/organization_settings.py +484 -0
- pulumi_gcp/logging/organization_sink.py +21 -21
- pulumi_gcp/logging/project_sink.py +7 -14
- pulumi_gcp/netapp/__init__.py +3 -0
- pulumi_gcp/netapp/active_directory.py +1413 -0
- pulumi_gcp/netapp/backup_vault.py +593 -0
- pulumi_gcp/netapp/kmsconfig.py +649 -0
- pulumi_gcp/orgpolicy/policy.py +28 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/subscription.py +29 -37
- pulumi_gcp/serviceaccount/account.py +47 -0
- pulumi_gcp/servicenetworking/connection.py +55 -1
- pulumi_gcp/sql/database_instance.py +2 -2
- pulumi_gcp/sql/ssl_cert.py +1 -1
- pulumi_gcp/sql/user.py +7 -7
- pulumi_gcp/storage/transfer_job.py +24 -5
- pulumi_gcp/vertex/__init__.py +3 -0
- pulumi_gcp/vertex/_inputs.py +339 -0
- pulumi_gcp/vertex/ai_feature_group.py +710 -0
- pulumi_gcp/vertex/ai_feature_online_store.py +962 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +804 -0
- pulumi_gcp/vertex/outputs.py +406 -0
- pulumi_gcp/vmwareengine/__init__.py +2 -0
- pulumi_gcp/vmwareengine/_inputs.py +84 -0
- pulumi_gcp/vmwareengine/external_access_rule.py +947 -0
- pulumi_gcp/vmwareengine/get_external_access_rule.py +245 -0
- pulumi_gcp/vmwareengine/outputs.py +146 -0
- pulumi_gcp/workflows/workflow.py +7 -7
- {pulumi_gcp-7.5.0a1704347630.dist-info → pulumi_gcp-7.6.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.5.0a1704347630.dist-info → pulumi_gcp-7.6.0.dist-info}/RECORD +101 -82
- {pulumi_gcp-7.5.0a1704347630.dist-info → pulumi_gcp-7.6.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.5.0a1704347630.dist-info → pulumi_gcp-7.6.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,245 @@
|
|
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 pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
|
13
|
+
__all__ = [
|
14
|
+
'GetExternalAccessRuleResult',
|
15
|
+
'AwaitableGetExternalAccessRuleResult',
|
16
|
+
'get_external_access_rule',
|
17
|
+
'get_external_access_rule_output',
|
18
|
+
]
|
19
|
+
|
20
|
+
@pulumi.output_type
|
21
|
+
class GetExternalAccessRuleResult:
|
22
|
+
"""
|
23
|
+
A collection of values returned by getExternalAccessRule.
|
24
|
+
"""
|
25
|
+
def __init__(__self__, action=None, create_time=None, description=None, destination_ip_ranges=None, destination_ports=None, id=None, ip_protocol=None, name=None, parent=None, priority=None, source_ip_ranges=None, source_ports=None, state=None, uid=None, update_time=None):
|
26
|
+
if action and not isinstance(action, str):
|
27
|
+
raise TypeError("Expected argument 'action' to be a str")
|
28
|
+
pulumi.set(__self__, "action", action)
|
29
|
+
if create_time and not isinstance(create_time, str):
|
30
|
+
raise TypeError("Expected argument 'create_time' to be a str")
|
31
|
+
pulumi.set(__self__, "create_time", create_time)
|
32
|
+
if description and not isinstance(description, str):
|
33
|
+
raise TypeError("Expected argument 'description' to be a str")
|
34
|
+
pulumi.set(__self__, "description", description)
|
35
|
+
if destination_ip_ranges and not isinstance(destination_ip_ranges, list):
|
36
|
+
raise TypeError("Expected argument 'destination_ip_ranges' to be a list")
|
37
|
+
pulumi.set(__self__, "destination_ip_ranges", destination_ip_ranges)
|
38
|
+
if destination_ports and not isinstance(destination_ports, list):
|
39
|
+
raise TypeError("Expected argument 'destination_ports' to be a list")
|
40
|
+
pulumi.set(__self__, "destination_ports", destination_ports)
|
41
|
+
if id and not isinstance(id, str):
|
42
|
+
raise TypeError("Expected argument 'id' to be a str")
|
43
|
+
pulumi.set(__self__, "id", id)
|
44
|
+
if ip_protocol and not isinstance(ip_protocol, str):
|
45
|
+
raise TypeError("Expected argument 'ip_protocol' to be a str")
|
46
|
+
pulumi.set(__self__, "ip_protocol", ip_protocol)
|
47
|
+
if name and not isinstance(name, str):
|
48
|
+
raise TypeError("Expected argument 'name' to be a str")
|
49
|
+
pulumi.set(__self__, "name", name)
|
50
|
+
if parent and not isinstance(parent, str):
|
51
|
+
raise TypeError("Expected argument 'parent' to be a str")
|
52
|
+
pulumi.set(__self__, "parent", parent)
|
53
|
+
if priority and not isinstance(priority, int):
|
54
|
+
raise TypeError("Expected argument 'priority' to be a int")
|
55
|
+
pulumi.set(__self__, "priority", priority)
|
56
|
+
if source_ip_ranges and not isinstance(source_ip_ranges, list):
|
57
|
+
raise TypeError("Expected argument 'source_ip_ranges' to be a list")
|
58
|
+
pulumi.set(__self__, "source_ip_ranges", source_ip_ranges)
|
59
|
+
if source_ports and not isinstance(source_ports, list):
|
60
|
+
raise TypeError("Expected argument 'source_ports' to be a list")
|
61
|
+
pulumi.set(__self__, "source_ports", source_ports)
|
62
|
+
if state and not isinstance(state, str):
|
63
|
+
raise TypeError("Expected argument 'state' to be a str")
|
64
|
+
pulumi.set(__self__, "state", state)
|
65
|
+
if uid and not isinstance(uid, str):
|
66
|
+
raise TypeError("Expected argument 'uid' to be a str")
|
67
|
+
pulumi.set(__self__, "uid", uid)
|
68
|
+
if update_time and not isinstance(update_time, str):
|
69
|
+
raise TypeError("Expected argument 'update_time' to be a str")
|
70
|
+
pulumi.set(__self__, "update_time", update_time)
|
71
|
+
|
72
|
+
@property
|
73
|
+
@pulumi.getter
|
74
|
+
def action(self) -> str:
|
75
|
+
return pulumi.get(self, "action")
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter(name="createTime")
|
79
|
+
def create_time(self) -> str:
|
80
|
+
return pulumi.get(self, "create_time")
|
81
|
+
|
82
|
+
@property
|
83
|
+
@pulumi.getter
|
84
|
+
def description(self) -> str:
|
85
|
+
return pulumi.get(self, "description")
|
86
|
+
|
87
|
+
@property
|
88
|
+
@pulumi.getter(name="destinationIpRanges")
|
89
|
+
def destination_ip_ranges(self) -> Sequence['outputs.GetExternalAccessRuleDestinationIpRangeResult']:
|
90
|
+
return pulumi.get(self, "destination_ip_ranges")
|
91
|
+
|
92
|
+
@property
|
93
|
+
@pulumi.getter(name="destinationPorts")
|
94
|
+
def destination_ports(self) -> Sequence[str]:
|
95
|
+
return pulumi.get(self, "destination_ports")
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter
|
99
|
+
def id(self) -> str:
|
100
|
+
"""
|
101
|
+
The provider-assigned unique ID for this managed resource.
|
102
|
+
"""
|
103
|
+
return pulumi.get(self, "id")
|
104
|
+
|
105
|
+
@property
|
106
|
+
@pulumi.getter(name="ipProtocol")
|
107
|
+
def ip_protocol(self) -> str:
|
108
|
+
return pulumi.get(self, "ip_protocol")
|
109
|
+
|
110
|
+
@property
|
111
|
+
@pulumi.getter
|
112
|
+
def name(self) -> str:
|
113
|
+
return pulumi.get(self, "name")
|
114
|
+
|
115
|
+
@property
|
116
|
+
@pulumi.getter
|
117
|
+
def parent(self) -> str:
|
118
|
+
return pulumi.get(self, "parent")
|
119
|
+
|
120
|
+
@property
|
121
|
+
@pulumi.getter
|
122
|
+
def priority(self) -> int:
|
123
|
+
return pulumi.get(self, "priority")
|
124
|
+
|
125
|
+
@property
|
126
|
+
@pulumi.getter(name="sourceIpRanges")
|
127
|
+
def source_ip_ranges(self) -> Sequence['outputs.GetExternalAccessRuleSourceIpRangeResult']:
|
128
|
+
return pulumi.get(self, "source_ip_ranges")
|
129
|
+
|
130
|
+
@property
|
131
|
+
@pulumi.getter(name="sourcePorts")
|
132
|
+
def source_ports(self) -> Sequence[str]:
|
133
|
+
return pulumi.get(self, "source_ports")
|
134
|
+
|
135
|
+
@property
|
136
|
+
@pulumi.getter
|
137
|
+
def state(self) -> str:
|
138
|
+
return pulumi.get(self, "state")
|
139
|
+
|
140
|
+
@property
|
141
|
+
@pulumi.getter
|
142
|
+
def uid(self) -> str:
|
143
|
+
return pulumi.get(self, "uid")
|
144
|
+
|
145
|
+
@property
|
146
|
+
@pulumi.getter(name="updateTime")
|
147
|
+
def update_time(self) -> str:
|
148
|
+
return pulumi.get(self, "update_time")
|
149
|
+
|
150
|
+
|
151
|
+
class AwaitableGetExternalAccessRuleResult(GetExternalAccessRuleResult):
|
152
|
+
# pylint: disable=using-constant-test
|
153
|
+
def __await__(self):
|
154
|
+
if False:
|
155
|
+
yield self
|
156
|
+
return GetExternalAccessRuleResult(
|
157
|
+
action=self.action,
|
158
|
+
create_time=self.create_time,
|
159
|
+
description=self.description,
|
160
|
+
destination_ip_ranges=self.destination_ip_ranges,
|
161
|
+
destination_ports=self.destination_ports,
|
162
|
+
id=self.id,
|
163
|
+
ip_protocol=self.ip_protocol,
|
164
|
+
name=self.name,
|
165
|
+
parent=self.parent,
|
166
|
+
priority=self.priority,
|
167
|
+
source_ip_ranges=self.source_ip_ranges,
|
168
|
+
source_ports=self.source_ports,
|
169
|
+
state=self.state,
|
170
|
+
uid=self.uid,
|
171
|
+
update_time=self.update_time)
|
172
|
+
|
173
|
+
|
174
|
+
def get_external_access_rule(name: Optional[str] = None,
|
175
|
+
parent: Optional[str] = None,
|
176
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExternalAccessRuleResult:
|
177
|
+
"""
|
178
|
+
Use this data source to get details about a external access rule resource.
|
179
|
+
|
180
|
+
To get more information about external address, see:
|
181
|
+
* [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.networkPolicies.externalAccessRules)
|
182
|
+
|
183
|
+
## Example Usage
|
184
|
+
|
185
|
+
```python
|
186
|
+
import pulumi
|
187
|
+
import pulumi_gcp as gcp
|
188
|
+
|
189
|
+
my_external_access_rule = gcp.vmwareengine.get_external_access_rule(name="my-external-access-rule",
|
190
|
+
parent="project/my-project/locations/us-west1-a/networkPolicies/my-network-policy")
|
191
|
+
```
|
192
|
+
|
193
|
+
|
194
|
+
:param str name: Name of the resource.
|
195
|
+
:param str parent: The resource name of the network policy that this cluster belongs.
|
196
|
+
"""
|
197
|
+
__args__ = dict()
|
198
|
+
__args__['name'] = name
|
199
|
+
__args__['parent'] = parent
|
200
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
201
|
+
__ret__ = pulumi.runtime.invoke('gcp:vmwareengine/getExternalAccessRule:getExternalAccessRule', __args__, opts=opts, typ=GetExternalAccessRuleResult).value
|
202
|
+
|
203
|
+
return AwaitableGetExternalAccessRuleResult(
|
204
|
+
action=pulumi.get(__ret__, 'action'),
|
205
|
+
create_time=pulumi.get(__ret__, 'create_time'),
|
206
|
+
description=pulumi.get(__ret__, 'description'),
|
207
|
+
destination_ip_ranges=pulumi.get(__ret__, 'destination_ip_ranges'),
|
208
|
+
destination_ports=pulumi.get(__ret__, 'destination_ports'),
|
209
|
+
id=pulumi.get(__ret__, 'id'),
|
210
|
+
ip_protocol=pulumi.get(__ret__, 'ip_protocol'),
|
211
|
+
name=pulumi.get(__ret__, 'name'),
|
212
|
+
parent=pulumi.get(__ret__, 'parent'),
|
213
|
+
priority=pulumi.get(__ret__, 'priority'),
|
214
|
+
source_ip_ranges=pulumi.get(__ret__, 'source_ip_ranges'),
|
215
|
+
source_ports=pulumi.get(__ret__, 'source_ports'),
|
216
|
+
state=pulumi.get(__ret__, 'state'),
|
217
|
+
uid=pulumi.get(__ret__, 'uid'),
|
218
|
+
update_time=pulumi.get(__ret__, 'update_time'))
|
219
|
+
|
220
|
+
|
221
|
+
@_utilities.lift_output_func(get_external_access_rule)
|
222
|
+
def get_external_access_rule_output(name: Optional[pulumi.Input[str]] = None,
|
223
|
+
parent: Optional[pulumi.Input[str]] = None,
|
224
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetExternalAccessRuleResult]:
|
225
|
+
"""
|
226
|
+
Use this data source to get details about a external access rule resource.
|
227
|
+
|
228
|
+
To get more information about external address, see:
|
229
|
+
* [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.networkPolicies.externalAccessRules)
|
230
|
+
|
231
|
+
## Example Usage
|
232
|
+
|
233
|
+
```python
|
234
|
+
import pulumi
|
235
|
+
import pulumi_gcp as gcp
|
236
|
+
|
237
|
+
my_external_access_rule = gcp.vmwareengine.get_external_access_rule(name="my-external-access-rule",
|
238
|
+
parent="project/my-project/locations/us-west1-a/networkPolicies/my-network-policy")
|
239
|
+
```
|
240
|
+
|
241
|
+
|
242
|
+
:param str name: Name of the resource.
|
243
|
+
:param str parent: The resource name of the network policy that this cluster belongs.
|
244
|
+
"""
|
245
|
+
...
|
@@ -12,6 +12,8 @@ from . import outputs
|
|
12
12
|
|
13
13
|
__all__ = [
|
14
14
|
'ClusterNodeTypeConfig',
|
15
|
+
'ExternalAccessRuleDestinationIpRange',
|
16
|
+
'ExternalAccessRuleSourceIpRange',
|
15
17
|
'NetworkPolicyExternalIp',
|
16
18
|
'NetworkPolicyInternetAccess',
|
17
19
|
'NetworkVpcNetwork',
|
@@ -23,6 +25,8 @@ __all__ = [
|
|
23
25
|
'PrivateCloudVcenter',
|
24
26
|
'SubnetDhcpAddressRange',
|
25
27
|
'GetClusterNodeTypeConfigResult',
|
28
|
+
'GetExternalAccessRuleDestinationIpRangeResult',
|
29
|
+
'GetExternalAccessRuleSourceIpRangeResult',
|
26
30
|
'GetNetworkPolicyExternalIpResult',
|
27
31
|
'GetNetworkPolicyInternetAccessResult',
|
28
32
|
'GetNetworkVpcNetworkResult',
|
@@ -103,6 +107,110 @@ class ClusterNodeTypeConfig(dict):
|
|
103
107
|
return pulumi.get(self, "custom_core_count")
|
104
108
|
|
105
109
|
|
110
|
+
@pulumi.output_type
|
111
|
+
class ExternalAccessRuleDestinationIpRange(dict):
|
112
|
+
@staticmethod
|
113
|
+
def __key_warning(key: str):
|
114
|
+
suggest = None
|
115
|
+
if key == "externalAddress":
|
116
|
+
suggest = "external_address"
|
117
|
+
elif key == "ipAddressRange":
|
118
|
+
suggest = "ip_address_range"
|
119
|
+
|
120
|
+
if suggest:
|
121
|
+
pulumi.log.warn(f"Key '{key}' not found in ExternalAccessRuleDestinationIpRange. Access the value via the '{suggest}' property getter instead.")
|
122
|
+
|
123
|
+
def __getitem__(self, key: str) -> Any:
|
124
|
+
ExternalAccessRuleDestinationIpRange.__key_warning(key)
|
125
|
+
return super().__getitem__(key)
|
126
|
+
|
127
|
+
def get(self, key: str, default = None) -> Any:
|
128
|
+
ExternalAccessRuleDestinationIpRange.__key_warning(key)
|
129
|
+
return super().get(key, default)
|
130
|
+
|
131
|
+
def __init__(__self__, *,
|
132
|
+
external_address: Optional[str] = None,
|
133
|
+
ip_address_range: Optional[str] = None):
|
134
|
+
"""
|
135
|
+
:param str external_address: The name of an `ExternalAddress` resource.
|
136
|
+
|
137
|
+
- - -
|
138
|
+
:param str ip_address_range: An IP address range in the CIDR format.
|
139
|
+
"""
|
140
|
+
if external_address is not None:
|
141
|
+
pulumi.set(__self__, "external_address", external_address)
|
142
|
+
if ip_address_range is not None:
|
143
|
+
pulumi.set(__self__, "ip_address_range", ip_address_range)
|
144
|
+
|
145
|
+
@property
|
146
|
+
@pulumi.getter(name="externalAddress")
|
147
|
+
def external_address(self) -> Optional[str]:
|
148
|
+
"""
|
149
|
+
The name of an `ExternalAddress` resource.
|
150
|
+
|
151
|
+
- - -
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "external_address")
|
154
|
+
|
155
|
+
@property
|
156
|
+
@pulumi.getter(name="ipAddressRange")
|
157
|
+
def ip_address_range(self) -> Optional[str]:
|
158
|
+
"""
|
159
|
+
An IP address range in the CIDR format.
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "ip_address_range")
|
162
|
+
|
163
|
+
|
164
|
+
@pulumi.output_type
|
165
|
+
class ExternalAccessRuleSourceIpRange(dict):
|
166
|
+
@staticmethod
|
167
|
+
def __key_warning(key: str):
|
168
|
+
suggest = None
|
169
|
+
if key == "ipAddress":
|
170
|
+
suggest = "ip_address"
|
171
|
+
elif key == "ipAddressRange":
|
172
|
+
suggest = "ip_address_range"
|
173
|
+
|
174
|
+
if suggest:
|
175
|
+
pulumi.log.warn(f"Key '{key}' not found in ExternalAccessRuleSourceIpRange. Access the value via the '{suggest}' property getter instead.")
|
176
|
+
|
177
|
+
def __getitem__(self, key: str) -> Any:
|
178
|
+
ExternalAccessRuleSourceIpRange.__key_warning(key)
|
179
|
+
return super().__getitem__(key)
|
180
|
+
|
181
|
+
def get(self, key: str, default = None) -> Any:
|
182
|
+
ExternalAccessRuleSourceIpRange.__key_warning(key)
|
183
|
+
return super().get(key, default)
|
184
|
+
|
185
|
+
def __init__(__self__, *,
|
186
|
+
ip_address: Optional[str] = None,
|
187
|
+
ip_address_range: Optional[str] = None):
|
188
|
+
"""
|
189
|
+
:param str ip_address: A single IP address.
|
190
|
+
:param str ip_address_range: An IP address range in the CIDR format.
|
191
|
+
"""
|
192
|
+
if ip_address is not None:
|
193
|
+
pulumi.set(__self__, "ip_address", ip_address)
|
194
|
+
if ip_address_range is not None:
|
195
|
+
pulumi.set(__self__, "ip_address_range", ip_address_range)
|
196
|
+
|
197
|
+
@property
|
198
|
+
@pulumi.getter(name="ipAddress")
|
199
|
+
def ip_address(self) -> Optional[str]:
|
200
|
+
"""
|
201
|
+
A single IP address.
|
202
|
+
"""
|
203
|
+
return pulumi.get(self, "ip_address")
|
204
|
+
|
205
|
+
@property
|
206
|
+
@pulumi.getter(name="ipAddressRange")
|
207
|
+
def ip_address_range(self) -> Optional[str]:
|
208
|
+
"""
|
209
|
+
An IP address range in the CIDR format.
|
210
|
+
"""
|
211
|
+
return pulumi.get(self, "ip_address_range")
|
212
|
+
|
213
|
+
|
106
214
|
@pulumi.output_type
|
107
215
|
class NetworkPolicyExternalIp(dict):
|
108
216
|
def __init__(__self__, *,
|
@@ -756,6 +864,44 @@ class GetClusterNodeTypeConfigResult(dict):
|
|
756
864
|
return pulumi.get(self, "node_type_id")
|
757
865
|
|
758
866
|
|
867
|
+
@pulumi.output_type
|
868
|
+
class GetExternalAccessRuleDestinationIpRangeResult(dict):
|
869
|
+
def __init__(__self__, *,
|
870
|
+
external_address: str,
|
871
|
+
ip_address_range: str):
|
872
|
+
pulumi.set(__self__, "external_address", external_address)
|
873
|
+
pulumi.set(__self__, "ip_address_range", ip_address_range)
|
874
|
+
|
875
|
+
@property
|
876
|
+
@pulumi.getter(name="externalAddress")
|
877
|
+
def external_address(self) -> str:
|
878
|
+
return pulumi.get(self, "external_address")
|
879
|
+
|
880
|
+
@property
|
881
|
+
@pulumi.getter(name="ipAddressRange")
|
882
|
+
def ip_address_range(self) -> str:
|
883
|
+
return pulumi.get(self, "ip_address_range")
|
884
|
+
|
885
|
+
|
886
|
+
@pulumi.output_type
|
887
|
+
class GetExternalAccessRuleSourceIpRangeResult(dict):
|
888
|
+
def __init__(__self__, *,
|
889
|
+
ip_address: str,
|
890
|
+
ip_address_range: str):
|
891
|
+
pulumi.set(__self__, "ip_address", ip_address)
|
892
|
+
pulumi.set(__self__, "ip_address_range", ip_address_range)
|
893
|
+
|
894
|
+
@property
|
895
|
+
@pulumi.getter(name="ipAddress")
|
896
|
+
def ip_address(self) -> str:
|
897
|
+
return pulumi.get(self, "ip_address")
|
898
|
+
|
899
|
+
@property
|
900
|
+
@pulumi.getter(name="ipAddressRange")
|
901
|
+
def ip_address_range(self) -> str:
|
902
|
+
return pulumi.get(self, "ip_address_range")
|
903
|
+
|
904
|
+
|
759
905
|
@pulumi.output_type
|
760
906
|
class GetNetworkPolicyExternalIpResult(dict):
|
761
907
|
def __init__(__self__, *,
|
pulumi_gcp/workflows/workflow.py
CHANGED
@@ -47,7 +47,7 @@ class WorkflowArgs:
|
|
47
47
|
If not provided, workflow will use the project's default service account.
|
48
48
|
Modifying this field for an existing workflow results in a new workflow revision.
|
49
49
|
:param pulumi.Input[str] source_contents: Workflow code to be executed. The size limit is 32KB.
|
50
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_env_vars: User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to
|
50
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_env_vars: User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
|
51
51
|
"""
|
52
52
|
if crypto_key_name is not None:
|
53
53
|
pulumi.set(__self__, "crypto_key_name", crypto_key_name)
|
@@ -194,7 +194,7 @@ class WorkflowArgs:
|
|
194
194
|
@pulumi.getter(name="userEnvVars")
|
195
195
|
def user_env_vars(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
196
196
|
"""
|
197
|
-
User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to
|
197
|
+
User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
|
198
198
|
"""
|
199
199
|
return pulumi.get(self, "user_env_vars")
|
200
200
|
|
@@ -252,7 +252,7 @@ class _WorkflowState:
|
|
252
252
|
:param pulumi.Input[str] source_contents: Workflow code to be executed. The size limit is 32KB.
|
253
253
|
:param pulumi.Input[str] state: State of the workflow deployment.
|
254
254
|
:param pulumi.Input[str] update_time: The timestamp of when the workflow was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
255
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_env_vars: User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to
|
255
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_env_vars: User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
|
256
256
|
"""
|
257
257
|
if create_time is not None:
|
258
258
|
pulumi.set(__self__, "create_time", create_time)
|
@@ -484,7 +484,7 @@ class _WorkflowState:
|
|
484
484
|
@pulumi.getter(name="userEnvVars")
|
485
485
|
def user_env_vars(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
486
486
|
"""
|
487
|
-
User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to
|
487
|
+
User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
|
488
488
|
"""
|
489
489
|
return pulumi.get(self, "user_env_vars")
|
490
490
|
|
@@ -547,7 +547,7 @@ class Workflow(pulumi.CustomResource):
|
|
547
547
|
If not provided, workflow will use the project's default service account.
|
548
548
|
Modifying this field for an existing workflow results in a new workflow revision.
|
549
549
|
:param pulumi.Input[str] source_contents: Workflow code to be executed. The size limit is 32KB.
|
550
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_env_vars: User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to
|
550
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_env_vars: User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
|
551
551
|
"""
|
552
552
|
...
|
553
553
|
@overload
|
@@ -683,7 +683,7 @@ class Workflow(pulumi.CustomResource):
|
|
683
683
|
:param pulumi.Input[str] source_contents: Workflow code to be executed. The size limit is 32KB.
|
684
684
|
:param pulumi.Input[str] state: State of the workflow deployment.
|
685
685
|
:param pulumi.Input[str] update_time: The timestamp of when the workflow was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
686
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_env_vars: User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to
|
686
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_env_vars: User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
|
687
687
|
"""
|
688
688
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
689
689
|
|
@@ -844,7 +844,7 @@ class Workflow(pulumi.CustomResource):
|
|
844
844
|
@pulumi.getter(name="userEnvVars")
|
845
845
|
def user_env_vars(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
846
846
|
"""
|
847
|
-
User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to
|
847
|
+
User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
|
848
848
|
"""
|
849
849
|
return pulumi.get(self, "user_env_vars")
|
850
850
|
|