pulumi-gcp 8.17.0a1738090062__py3-none-any.whl → 8.17.0a1738349438__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 +91 -0
- pulumi_gcp/alloydb/cluster.py +75 -7
- pulumi_gcp/apigee/_inputs.py +91 -0
- pulumi_gcp/apigee/endpoint_attachment.py +0 -64
- pulumi_gcp/apigee/environment.py +54 -0
- pulumi_gcp/apigee/outputs.py +54 -0
- pulumi_gcp/apihub/__init__.py +10 -0
- pulumi_gcp/apihub/_inputs.py +154 -0
- pulumi_gcp/apihub/api_hub_instance.py +784 -0
- pulumi_gcp/apihub/outputs.py +124 -0
- pulumi_gcp/chronicle/__init__.py +1 -0
- pulumi_gcp/chronicle/_inputs.py +124 -0
- pulumi_gcp/chronicle/outputs.py +112 -0
- pulumi_gcp/chronicle/retrohunt.py +645 -0
- pulumi_gcp/cloudrunv2/_inputs.py +197 -0
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/outputs.py +256 -0
- pulumi_gcp/cloudrunv2/service.py +159 -0
- pulumi_gcp/colab/__init__.py +5 -0
- pulumi_gcp/colab/_inputs.py +131 -0
- pulumi_gcp/colab/get_runtime_template_iam_policy.py +182 -0
- pulumi_gcp/colab/outputs.py +92 -0
- pulumi_gcp/colab/runtime.py +696 -0
- pulumi_gcp/colab/runtime_template_iam_binding.py +828 -0
- pulumi_gcp/colab/runtime_template_iam_member.py +828 -0
- pulumi_gcp/colab/runtime_template_iam_policy.py +667 -0
- pulumi_gcp/compute/__init__.py +4 -0
- pulumi_gcp/compute/_inputs.py +526 -0
- pulumi_gcp/compute/firewall_policy_rule.py +104 -22
- pulumi_gcp/compute/firewall_policy_with_rules.py +114 -42
- pulumi_gcp/compute/get_instance_template_iam_policy.py +159 -0
- pulumi_gcp/compute/instance_template_iam_binding.py +998 -0
- pulumi_gcp/compute/instance_template_iam_member.py +998 -0
- pulumi_gcp/compute/instance_template_iam_policy.py +817 -0
- pulumi_gcp/compute/interconnect_attachment.py +189 -2
- pulumi_gcp/compute/network_firewall_policy_rule.py +122 -10
- pulumi_gcp/compute/network_firewall_policy_with_rules.py +116 -44
- pulumi_gcp/compute/outputs.py +352 -0
- pulumi_gcp/compute/project_metadata_item.py +12 -0
- pulumi_gcp/compute/public_advertised_prefix.py +87 -0
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +130 -10
- pulumi_gcp/compute/region_network_firewall_policy_with_rules.py +104 -32
- pulumi_gcp/compute/router_peer.py +115 -3
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/filestore/get_instance.py +12 -1
- pulumi_gcp/filestore/instance.py +75 -0
- pulumi_gcp/gemini/code_repository_index.py +29 -33
- pulumi_gcp/gemini/get_repository_group_iam_policy.py +28 -2
- pulumi_gcp/gemini/repository_group.py +76 -26
- pulumi_gcp/gemini/repository_group_iam_binding.py +258 -0
- pulumi_gcp/gemini/repository_group_iam_member.py +258 -0
- pulumi_gcp/gemini/repository_group_iam_policy.py +258 -0
- pulumi_gcp/kms/__init__.py +1 -0
- pulumi_gcp/kms/get_key_handles.py +172 -0
- pulumi_gcp/kms/outputs.py +45 -0
- pulumi_gcp/networksecurity/_inputs.py +72 -0
- pulumi_gcp/networksecurity/outputs.py +76 -0
- pulumi_gcp/networksecurity/security_profile.py +233 -7
- pulumi_gcp/networksecurity/security_profile_group.py +218 -0
- pulumi_gcp/organizations/__init__.py +1 -0
- pulumi_gcp/organizations/get_s.py +128 -0
- pulumi_gcp/organizations/outputs.py +63 -0
- pulumi_gcp/parametermanager/__init__.py +3 -0
- pulumi_gcp/parametermanager/get_parameter.py +211 -0
- pulumi_gcp/parametermanager/get_regional_parameters.py +157 -0
- pulumi_gcp/parametermanager/outputs.py +210 -0
- pulumi_gcp/parametermanager/parameter_version.py +496 -0
- pulumi_gcp/parametermanager/regional_parameter_version.py +10 -38
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/_inputs.py +213 -1
- pulumi_gcp/pubsub/outputs.py +278 -2
- pulumi_gcp/pubsub/topic.py +42 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/__init__.py +1 -0
- pulumi_gcp/redis/_inputs.py +342 -6
- pulumi_gcp/redis/cluster.py +223 -102
- pulumi_gcp/redis/cluster_user_created_connections.py +845 -0
- pulumi_gcp/redis/outputs.py +268 -4
- {pulumi_gcp-8.17.0a1738090062.dist-info → pulumi_gcp-8.17.0a1738349438.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.17.0a1738090062.dist-info → pulumi_gcp-8.17.0a1738349438.dist-info}/RECORD +83 -63
- {pulumi_gcp-8.17.0a1738090062.dist-info → pulumi_gcp-8.17.0a1738349438.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.17.0a1738090062.dist-info → pulumi_gcp-8.17.0a1738349438.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,211 @@
|
|
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
|
+
from . import outputs
|
17
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetParameterResult',
|
20
|
+
'AwaitableGetParameterResult',
|
21
|
+
'get_parameter',
|
22
|
+
'get_parameter_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetParameterResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getParameter.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, create_time=None, effective_labels=None, format=None, id=None, labels=None, name=None, parameter_id=None, policy_members=None, project=None, pulumi_labels=None, update_time=None):
|
31
|
+
if create_time and not isinstance(create_time, str):
|
32
|
+
raise TypeError("Expected argument 'create_time' to be a str")
|
33
|
+
pulumi.set(__self__, "create_time", create_time)
|
34
|
+
if effective_labels and not isinstance(effective_labels, dict):
|
35
|
+
raise TypeError("Expected argument 'effective_labels' to be a dict")
|
36
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
37
|
+
if format and not isinstance(format, str):
|
38
|
+
raise TypeError("Expected argument 'format' to be a str")
|
39
|
+
pulumi.set(__self__, "format", format)
|
40
|
+
if id and not isinstance(id, str):
|
41
|
+
raise TypeError("Expected argument 'id' to be a str")
|
42
|
+
pulumi.set(__self__, "id", id)
|
43
|
+
if labels and not isinstance(labels, dict):
|
44
|
+
raise TypeError("Expected argument 'labels' to be a dict")
|
45
|
+
pulumi.set(__self__, "labels", labels)
|
46
|
+
if name and not isinstance(name, str):
|
47
|
+
raise TypeError("Expected argument 'name' to be a str")
|
48
|
+
pulumi.set(__self__, "name", name)
|
49
|
+
if parameter_id and not isinstance(parameter_id, str):
|
50
|
+
raise TypeError("Expected argument 'parameter_id' to be a str")
|
51
|
+
pulumi.set(__self__, "parameter_id", parameter_id)
|
52
|
+
if policy_members and not isinstance(policy_members, list):
|
53
|
+
raise TypeError("Expected argument 'policy_members' to be a list")
|
54
|
+
pulumi.set(__self__, "policy_members", policy_members)
|
55
|
+
if project and not isinstance(project, str):
|
56
|
+
raise TypeError("Expected argument 'project' to be a str")
|
57
|
+
pulumi.set(__self__, "project", project)
|
58
|
+
if pulumi_labels and not isinstance(pulumi_labels, dict):
|
59
|
+
raise TypeError("Expected argument 'pulumi_labels' to be a dict")
|
60
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
61
|
+
if update_time and not isinstance(update_time, str):
|
62
|
+
raise TypeError("Expected argument 'update_time' to be a str")
|
63
|
+
pulumi.set(__self__, "update_time", update_time)
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="createTime")
|
67
|
+
def create_time(self) -> str:
|
68
|
+
return pulumi.get(self, "create_time")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="effectiveLabels")
|
72
|
+
def effective_labels(self) -> Mapping[str, str]:
|
73
|
+
return pulumi.get(self, "effective_labels")
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter
|
77
|
+
def format(self) -> str:
|
78
|
+
return pulumi.get(self, "format")
|
79
|
+
|
80
|
+
@property
|
81
|
+
@pulumi.getter
|
82
|
+
def id(self) -> str:
|
83
|
+
"""
|
84
|
+
The provider-assigned unique ID for this managed resource.
|
85
|
+
"""
|
86
|
+
return pulumi.get(self, "id")
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter
|
90
|
+
def labels(self) -> Mapping[str, str]:
|
91
|
+
return pulumi.get(self, "labels")
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter
|
95
|
+
def name(self) -> str:
|
96
|
+
return pulumi.get(self, "name")
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter(name="parameterId")
|
100
|
+
def parameter_id(self) -> str:
|
101
|
+
return pulumi.get(self, "parameter_id")
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter(name="policyMembers")
|
105
|
+
def policy_members(self) -> Sequence['outputs.GetParameterPolicyMemberResult']:
|
106
|
+
return pulumi.get(self, "policy_members")
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter
|
110
|
+
def project(self) -> Optional[str]:
|
111
|
+
return pulumi.get(self, "project")
|
112
|
+
|
113
|
+
@property
|
114
|
+
@pulumi.getter(name="pulumiLabels")
|
115
|
+
def pulumi_labels(self) -> Mapping[str, str]:
|
116
|
+
return pulumi.get(self, "pulumi_labels")
|
117
|
+
|
118
|
+
@property
|
119
|
+
@pulumi.getter(name="updateTime")
|
120
|
+
def update_time(self) -> str:
|
121
|
+
return pulumi.get(self, "update_time")
|
122
|
+
|
123
|
+
|
124
|
+
class AwaitableGetParameterResult(GetParameterResult):
|
125
|
+
# pylint: disable=using-constant-test
|
126
|
+
def __await__(self):
|
127
|
+
if False:
|
128
|
+
yield self
|
129
|
+
return GetParameterResult(
|
130
|
+
create_time=self.create_time,
|
131
|
+
effective_labels=self.effective_labels,
|
132
|
+
format=self.format,
|
133
|
+
id=self.id,
|
134
|
+
labels=self.labels,
|
135
|
+
name=self.name,
|
136
|
+
parameter_id=self.parameter_id,
|
137
|
+
policy_members=self.policy_members,
|
138
|
+
project=self.project,
|
139
|
+
pulumi_labels=self.pulumi_labels,
|
140
|
+
update_time=self.update_time)
|
141
|
+
|
142
|
+
|
143
|
+
def get_parameter(parameter_id: Optional[str] = None,
|
144
|
+
project: Optional[str] = None,
|
145
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetParameterResult:
|
146
|
+
"""
|
147
|
+
## Example Usage
|
148
|
+
|
149
|
+
```python
|
150
|
+
import pulumi
|
151
|
+
import pulumi_gcp as gcp
|
152
|
+
|
153
|
+
parameter_datasource = gcp.parametermanager.get_parameter(parameter_id="foobar")
|
154
|
+
```
|
155
|
+
|
156
|
+
|
157
|
+
:param str parameter_id: The name of the parameter.
|
158
|
+
:param str project: The ID of the project in which the resource belongs.
|
159
|
+
"""
|
160
|
+
__args__ = dict()
|
161
|
+
__args__['parameterId'] = parameter_id
|
162
|
+
__args__['project'] = project
|
163
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
164
|
+
__ret__ = pulumi.runtime.invoke('gcp:parametermanager/getParameter:getParameter', __args__, opts=opts, typ=GetParameterResult).value
|
165
|
+
|
166
|
+
return AwaitableGetParameterResult(
|
167
|
+
create_time=pulumi.get(__ret__, 'create_time'),
|
168
|
+
effective_labels=pulumi.get(__ret__, 'effective_labels'),
|
169
|
+
format=pulumi.get(__ret__, 'format'),
|
170
|
+
id=pulumi.get(__ret__, 'id'),
|
171
|
+
labels=pulumi.get(__ret__, 'labels'),
|
172
|
+
name=pulumi.get(__ret__, 'name'),
|
173
|
+
parameter_id=pulumi.get(__ret__, 'parameter_id'),
|
174
|
+
policy_members=pulumi.get(__ret__, 'policy_members'),
|
175
|
+
project=pulumi.get(__ret__, 'project'),
|
176
|
+
pulumi_labels=pulumi.get(__ret__, 'pulumi_labels'),
|
177
|
+
update_time=pulumi.get(__ret__, 'update_time'))
|
178
|
+
def get_parameter_output(parameter_id: Optional[pulumi.Input[str]] = None,
|
179
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
180
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetParameterResult]:
|
181
|
+
"""
|
182
|
+
## Example Usage
|
183
|
+
|
184
|
+
```python
|
185
|
+
import pulumi
|
186
|
+
import pulumi_gcp as gcp
|
187
|
+
|
188
|
+
parameter_datasource = gcp.parametermanager.get_parameter(parameter_id="foobar")
|
189
|
+
```
|
190
|
+
|
191
|
+
|
192
|
+
:param str parameter_id: The name of the parameter.
|
193
|
+
:param str project: The ID of the project in which the resource belongs.
|
194
|
+
"""
|
195
|
+
__args__ = dict()
|
196
|
+
__args__['parameterId'] = parameter_id
|
197
|
+
__args__['project'] = project
|
198
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
199
|
+
__ret__ = pulumi.runtime.invoke_output('gcp:parametermanager/getParameter:getParameter', __args__, opts=opts, typ=GetParameterResult)
|
200
|
+
return __ret__.apply(lambda __response__: GetParameterResult(
|
201
|
+
create_time=pulumi.get(__response__, 'create_time'),
|
202
|
+
effective_labels=pulumi.get(__response__, 'effective_labels'),
|
203
|
+
format=pulumi.get(__response__, 'format'),
|
204
|
+
id=pulumi.get(__response__, 'id'),
|
205
|
+
labels=pulumi.get(__response__, 'labels'),
|
206
|
+
name=pulumi.get(__response__, 'name'),
|
207
|
+
parameter_id=pulumi.get(__response__, 'parameter_id'),
|
208
|
+
policy_members=pulumi.get(__response__, 'policy_members'),
|
209
|
+
project=pulumi.get(__response__, 'project'),
|
210
|
+
pulumi_labels=pulumi.get(__response__, 'pulumi_labels'),
|
211
|
+
update_time=pulumi.get(__response__, 'update_time')))
|
@@ -0,0 +1,157 @@
|
|
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
|
+
from . import outputs
|
17
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetRegionalParametersResult',
|
20
|
+
'AwaitableGetRegionalParametersResult',
|
21
|
+
'get_regional_parameters',
|
22
|
+
'get_regional_parameters_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetRegionalParametersResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getRegionalParameters.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, filter=None, id=None, location=None, parameters=None, project=None):
|
31
|
+
if filter and not isinstance(filter, str):
|
32
|
+
raise TypeError("Expected argument 'filter' to be a str")
|
33
|
+
pulumi.set(__self__, "filter", filter)
|
34
|
+
if id and not isinstance(id, str):
|
35
|
+
raise TypeError("Expected argument 'id' to be a str")
|
36
|
+
pulumi.set(__self__, "id", id)
|
37
|
+
if location and not isinstance(location, str):
|
38
|
+
raise TypeError("Expected argument 'location' to be a str")
|
39
|
+
pulumi.set(__self__, "location", location)
|
40
|
+
if parameters and not isinstance(parameters, list):
|
41
|
+
raise TypeError("Expected argument 'parameters' to be a list")
|
42
|
+
pulumi.set(__self__, "parameters", parameters)
|
43
|
+
if project and not isinstance(project, str):
|
44
|
+
raise TypeError("Expected argument 'project' to be a str")
|
45
|
+
pulumi.set(__self__, "project", project)
|
46
|
+
|
47
|
+
@property
|
48
|
+
@pulumi.getter
|
49
|
+
def filter(self) -> Optional[str]:
|
50
|
+
return pulumi.get(self, "filter")
|
51
|
+
|
52
|
+
@property
|
53
|
+
@pulumi.getter
|
54
|
+
def id(self) -> str:
|
55
|
+
"""
|
56
|
+
The provider-assigned unique ID for this managed resource.
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "id")
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter
|
62
|
+
def location(self) -> str:
|
63
|
+
return pulumi.get(self, "location")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter
|
67
|
+
def parameters(self) -> Sequence['outputs.GetRegionalParametersParameterResult']:
|
68
|
+
"""
|
69
|
+
A list of regional parameters matching the filter. Structure is defined below.
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "parameters")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter
|
75
|
+
def project(self) -> str:
|
76
|
+
"""
|
77
|
+
The ID of the project in which the resource belongs.
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "project")
|
80
|
+
|
81
|
+
|
82
|
+
class AwaitableGetRegionalParametersResult(GetRegionalParametersResult):
|
83
|
+
# pylint: disable=using-constant-test
|
84
|
+
def __await__(self):
|
85
|
+
if False:
|
86
|
+
yield self
|
87
|
+
return GetRegionalParametersResult(
|
88
|
+
filter=self.filter,
|
89
|
+
id=self.id,
|
90
|
+
location=self.location,
|
91
|
+
parameters=self.parameters,
|
92
|
+
project=self.project)
|
93
|
+
|
94
|
+
|
95
|
+
def get_regional_parameters(filter: Optional[str] = None,
|
96
|
+
location: Optional[str] = None,
|
97
|
+
project: Optional[str] = None,
|
98
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegionalParametersResult:
|
99
|
+
"""
|
100
|
+
## Example Usage
|
101
|
+
|
102
|
+
```python
|
103
|
+
import pulumi
|
104
|
+
import pulumi_gcp as gcp
|
105
|
+
|
106
|
+
regional_parameters = gcp.parametermanager.get_regional_parameters(location="us-central1")
|
107
|
+
```
|
108
|
+
|
109
|
+
|
110
|
+
:param str filter: Filter string, adhering to the rules in List-operation filtering. List only parameters matching the filter. If filter is empty, all regional parameters are listed.
|
111
|
+
:param str location: The location of regional parameter.
|
112
|
+
:param str project: The ID of the project.
|
113
|
+
"""
|
114
|
+
__args__ = dict()
|
115
|
+
__args__['filter'] = filter
|
116
|
+
__args__['location'] = location
|
117
|
+
__args__['project'] = project
|
118
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
119
|
+
__ret__ = pulumi.runtime.invoke('gcp:parametermanager/getRegionalParameters:getRegionalParameters', __args__, opts=opts, typ=GetRegionalParametersResult).value
|
120
|
+
|
121
|
+
return AwaitableGetRegionalParametersResult(
|
122
|
+
filter=pulumi.get(__ret__, 'filter'),
|
123
|
+
id=pulumi.get(__ret__, 'id'),
|
124
|
+
location=pulumi.get(__ret__, 'location'),
|
125
|
+
parameters=pulumi.get(__ret__, 'parameters'),
|
126
|
+
project=pulumi.get(__ret__, 'project'))
|
127
|
+
def get_regional_parameters_output(filter: Optional[pulumi.Input[Optional[str]]] = None,
|
128
|
+
location: Optional[pulumi.Input[str]] = None,
|
129
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
130
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRegionalParametersResult]:
|
131
|
+
"""
|
132
|
+
## Example Usage
|
133
|
+
|
134
|
+
```python
|
135
|
+
import pulumi
|
136
|
+
import pulumi_gcp as gcp
|
137
|
+
|
138
|
+
regional_parameters = gcp.parametermanager.get_regional_parameters(location="us-central1")
|
139
|
+
```
|
140
|
+
|
141
|
+
|
142
|
+
:param str filter: Filter string, adhering to the rules in List-operation filtering. List only parameters matching the filter. If filter is empty, all regional parameters are listed.
|
143
|
+
:param str location: The location of regional parameter.
|
144
|
+
:param str project: The ID of the project.
|
145
|
+
"""
|
146
|
+
__args__ = dict()
|
147
|
+
__args__['filter'] = filter
|
148
|
+
__args__['location'] = location
|
149
|
+
__args__['project'] = project
|
150
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
151
|
+
__ret__ = pulumi.runtime.invoke_output('gcp:parametermanager/getRegionalParameters:getRegionalParameters', __args__, opts=opts, typ=GetRegionalParametersResult)
|
152
|
+
return __ret__.apply(lambda __response__: GetRegionalParametersResult(
|
153
|
+
filter=pulumi.get(__response__, 'filter'),
|
154
|
+
id=pulumi.get(__response__, 'id'),
|
155
|
+
location=pulumi.get(__response__, 'location'),
|
156
|
+
parameters=pulumi.get(__response__, 'parameters'),
|
157
|
+
project=pulumi.get(__response__, 'project')))
|
@@ -13,11 +13,15 @@ if sys.version_info >= (3, 11):
|
|
13
13
|
else:
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
15
|
from .. import _utilities
|
16
|
+
from . import outputs
|
16
17
|
|
17
18
|
__all__ = [
|
18
19
|
'ParameterPolicyMember',
|
19
20
|
'RegionalParameterPolicyMember',
|
21
|
+
'GetParameterPolicyMemberResult',
|
20
22
|
'GetRegionalParameterPolicyMemberResult',
|
23
|
+
'GetRegionalParametersParameterResult',
|
24
|
+
'GetRegionalParametersParameterPolicyMemberResult',
|
21
25
|
]
|
22
26
|
|
23
27
|
@pulumi.output_type
|
@@ -150,6 +154,47 @@ class RegionalParameterPolicyMember(dict):
|
|
150
154
|
return pulumi.get(self, "iam_policy_uid_principal")
|
151
155
|
|
152
156
|
|
157
|
+
@pulumi.output_type
|
158
|
+
class GetParameterPolicyMemberResult(dict):
|
159
|
+
def __init__(__self__, *,
|
160
|
+
iam_policy_name_principal: str,
|
161
|
+
iam_policy_uid_principal: str):
|
162
|
+
"""
|
163
|
+
:param str iam_policy_name_principal: IAM policy binding member referring to a Google Cloud resource by user-assigned name. If a
|
164
|
+
resource is deleted and recreated with the same name, the binding will be applicable to the
|
165
|
+
new resource. Format:
|
166
|
+
'principal://parametermanager.googleapis.com/projects/{{project}}/name/locations/global/parameters/{{parameter_id}}'
|
167
|
+
:param str iam_policy_uid_principal: IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier.
|
168
|
+
If a resource is deleted and recreated with the same name, the binding will not be applicable to the
|
169
|
+
new resource. Format:
|
170
|
+
'principal://parametermanager.googleapis.com/projects/{{project}}/uid/locations/global/parameters/{{uid}}'
|
171
|
+
"""
|
172
|
+
pulumi.set(__self__, "iam_policy_name_principal", iam_policy_name_principal)
|
173
|
+
pulumi.set(__self__, "iam_policy_uid_principal", iam_policy_uid_principal)
|
174
|
+
|
175
|
+
@property
|
176
|
+
@pulumi.getter(name="iamPolicyNamePrincipal")
|
177
|
+
def iam_policy_name_principal(self) -> str:
|
178
|
+
"""
|
179
|
+
IAM policy binding member referring to a Google Cloud resource by user-assigned name. If a
|
180
|
+
resource is deleted and recreated with the same name, the binding will be applicable to the
|
181
|
+
new resource. Format:
|
182
|
+
'principal://parametermanager.googleapis.com/projects/{{project}}/name/locations/global/parameters/{{parameter_id}}'
|
183
|
+
"""
|
184
|
+
return pulumi.get(self, "iam_policy_name_principal")
|
185
|
+
|
186
|
+
@property
|
187
|
+
@pulumi.getter(name="iamPolicyUidPrincipal")
|
188
|
+
def iam_policy_uid_principal(self) -> str:
|
189
|
+
"""
|
190
|
+
IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier.
|
191
|
+
If a resource is deleted and recreated with the same name, the binding will not be applicable to the
|
192
|
+
new resource. Format:
|
193
|
+
'principal://parametermanager.googleapis.com/projects/{{project}}/uid/locations/global/parameters/{{uid}}'
|
194
|
+
"""
|
195
|
+
return pulumi.get(self, "iam_policy_uid_principal")
|
196
|
+
|
197
|
+
|
153
198
|
@pulumi.output_type
|
154
199
|
class GetRegionalParameterPolicyMemberResult(dict):
|
155
200
|
def __init__(__self__, *,
|
@@ -189,3 +234,168 @@ class GetRegionalParameterPolicyMemberResult(dict):
|
|
189
234
|
return pulumi.get(self, "iam_policy_uid_principal")
|
190
235
|
|
191
236
|
|
237
|
+
@pulumi.output_type
|
238
|
+
class GetRegionalParametersParameterResult(dict):
|
239
|
+
def __init__(__self__, *,
|
240
|
+
create_time: str,
|
241
|
+
effective_labels: Mapping[str, str],
|
242
|
+
format: str,
|
243
|
+
labels: Mapping[str, str],
|
244
|
+
location: str,
|
245
|
+
name: str,
|
246
|
+
parameter_id: str,
|
247
|
+
policy_members: Sequence['outputs.GetRegionalParametersParameterPolicyMemberResult'],
|
248
|
+
project: str,
|
249
|
+
pulumi_labels: Mapping[str, str],
|
250
|
+
update_time: str):
|
251
|
+
"""
|
252
|
+
:param str create_time: The time at which the regional parameter was created.
|
253
|
+
:param str format: The format type of the regional parameter.
|
254
|
+
:param Mapping[str, str] labels: The labels assigned to the regional parameter.
|
255
|
+
:param str location: The location of regional parameter.
|
256
|
+
:param str name: The resource name of the regional parameter. Format: `projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}}`
|
257
|
+
:param str parameter_id: The unique name of the resource.
|
258
|
+
:param Sequence['GetRegionalParametersParameterPolicyMemberArgs'] policy_members: An object containing a unique resource identity tied to the regional parameter. Structure is documented below.
|
259
|
+
:param str project: The ID of the project.
|
260
|
+
:param Mapping[str, str] pulumi_labels: The combination of labels configured directly on the resource
|
261
|
+
and default labels configured on the provider.
|
262
|
+
:param str update_time: The time at which the regional parameter was updated.
|
263
|
+
"""
|
264
|
+
pulumi.set(__self__, "create_time", create_time)
|
265
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
266
|
+
pulumi.set(__self__, "format", format)
|
267
|
+
pulumi.set(__self__, "labels", labels)
|
268
|
+
pulumi.set(__self__, "location", location)
|
269
|
+
pulumi.set(__self__, "name", name)
|
270
|
+
pulumi.set(__self__, "parameter_id", parameter_id)
|
271
|
+
pulumi.set(__self__, "policy_members", policy_members)
|
272
|
+
pulumi.set(__self__, "project", project)
|
273
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
274
|
+
pulumi.set(__self__, "update_time", update_time)
|
275
|
+
|
276
|
+
@property
|
277
|
+
@pulumi.getter(name="createTime")
|
278
|
+
def create_time(self) -> str:
|
279
|
+
"""
|
280
|
+
The time at which the regional parameter was created.
|
281
|
+
"""
|
282
|
+
return pulumi.get(self, "create_time")
|
283
|
+
|
284
|
+
@property
|
285
|
+
@pulumi.getter(name="effectiveLabels")
|
286
|
+
def effective_labels(self) -> Mapping[str, str]:
|
287
|
+
return pulumi.get(self, "effective_labels")
|
288
|
+
|
289
|
+
@property
|
290
|
+
@pulumi.getter
|
291
|
+
def format(self) -> str:
|
292
|
+
"""
|
293
|
+
The format type of the regional parameter.
|
294
|
+
"""
|
295
|
+
return pulumi.get(self, "format")
|
296
|
+
|
297
|
+
@property
|
298
|
+
@pulumi.getter
|
299
|
+
def labels(self) -> Mapping[str, str]:
|
300
|
+
"""
|
301
|
+
The labels assigned to the regional parameter.
|
302
|
+
"""
|
303
|
+
return pulumi.get(self, "labels")
|
304
|
+
|
305
|
+
@property
|
306
|
+
@pulumi.getter
|
307
|
+
def location(self) -> str:
|
308
|
+
"""
|
309
|
+
The location of regional parameter.
|
310
|
+
"""
|
311
|
+
return pulumi.get(self, "location")
|
312
|
+
|
313
|
+
@property
|
314
|
+
@pulumi.getter
|
315
|
+
def name(self) -> str:
|
316
|
+
"""
|
317
|
+
The resource name of the regional parameter. Format: `projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}}`
|
318
|
+
"""
|
319
|
+
return pulumi.get(self, "name")
|
320
|
+
|
321
|
+
@property
|
322
|
+
@pulumi.getter(name="parameterId")
|
323
|
+
def parameter_id(self) -> str:
|
324
|
+
"""
|
325
|
+
The unique name of the resource.
|
326
|
+
"""
|
327
|
+
return pulumi.get(self, "parameter_id")
|
328
|
+
|
329
|
+
@property
|
330
|
+
@pulumi.getter(name="policyMembers")
|
331
|
+
def policy_members(self) -> Sequence['outputs.GetRegionalParametersParameterPolicyMemberResult']:
|
332
|
+
"""
|
333
|
+
An object containing a unique resource identity tied to the regional parameter. Structure is documented below.
|
334
|
+
"""
|
335
|
+
return pulumi.get(self, "policy_members")
|
336
|
+
|
337
|
+
@property
|
338
|
+
@pulumi.getter
|
339
|
+
def project(self) -> str:
|
340
|
+
"""
|
341
|
+
The ID of the project.
|
342
|
+
"""
|
343
|
+
return pulumi.get(self, "project")
|
344
|
+
|
345
|
+
@property
|
346
|
+
@pulumi.getter(name="pulumiLabels")
|
347
|
+
def pulumi_labels(self) -> Mapping[str, str]:
|
348
|
+
"""
|
349
|
+
The combination of labels configured directly on the resource
|
350
|
+
and default labels configured on the provider.
|
351
|
+
"""
|
352
|
+
return pulumi.get(self, "pulumi_labels")
|
353
|
+
|
354
|
+
@property
|
355
|
+
@pulumi.getter(name="updateTime")
|
356
|
+
def update_time(self) -> str:
|
357
|
+
"""
|
358
|
+
The time at which the regional parameter was updated.
|
359
|
+
"""
|
360
|
+
return pulumi.get(self, "update_time")
|
361
|
+
|
362
|
+
|
363
|
+
@pulumi.output_type
|
364
|
+
class GetRegionalParametersParameterPolicyMemberResult(dict):
|
365
|
+
def __init__(__self__, *,
|
366
|
+
iam_policy_name_principal: str,
|
367
|
+
iam_policy_uid_principal: str):
|
368
|
+
"""
|
369
|
+
:param str iam_policy_name_principal: AM policy binding member referring to a Google Cloud resource by user-assigned name. If a resource is deleted and recreated with the same name, the binding will be applicable to the
|
370
|
+
new resource. Format:
|
371
|
+
`principal://parametermanager.googleapis.com/projects/{{project}}/name/locations/{{location}}/parameters/{{parameter_id}}`
|
372
|
+
:param str iam_policy_uid_principal: IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier.
|
373
|
+
If a resource is deleted and recreated with the same name, the binding will not be applicable to the
|
374
|
+
new resource. Format:
|
375
|
+
`principal://parametermanager.googleapis.com/projects/{{project}}/uid/locations/{{location}}/parameters/{{uid}}`
|
376
|
+
"""
|
377
|
+
pulumi.set(__self__, "iam_policy_name_principal", iam_policy_name_principal)
|
378
|
+
pulumi.set(__self__, "iam_policy_uid_principal", iam_policy_uid_principal)
|
379
|
+
|
380
|
+
@property
|
381
|
+
@pulumi.getter(name="iamPolicyNamePrincipal")
|
382
|
+
def iam_policy_name_principal(self) -> str:
|
383
|
+
"""
|
384
|
+
AM policy binding member referring to a Google Cloud resource by user-assigned name. If a resource is deleted and recreated with the same name, the binding will be applicable to the
|
385
|
+
new resource. Format:
|
386
|
+
`principal://parametermanager.googleapis.com/projects/{{project}}/name/locations/{{location}}/parameters/{{parameter_id}}`
|
387
|
+
"""
|
388
|
+
return pulumi.get(self, "iam_policy_name_principal")
|
389
|
+
|
390
|
+
@property
|
391
|
+
@pulumi.getter(name="iamPolicyUidPrincipal")
|
392
|
+
def iam_policy_uid_principal(self) -> str:
|
393
|
+
"""
|
394
|
+
IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier.
|
395
|
+
If a resource is deleted and recreated with the same name, the binding will not be applicable to the
|
396
|
+
new resource. Format:
|
397
|
+
`principal://parametermanager.googleapis.com/projects/{{project}}/uid/locations/{{location}}/parameters/{{uid}}`
|
398
|
+
"""
|
399
|
+
return pulumi.get(self, "iam_policy_uid_principal")
|
400
|
+
|
401
|
+
|