pulumi-gcp 8.0.0__py3-none-any.whl → 8.0.0a1__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/certificateauthority/get_authority.py +0 -20
- pulumi_gcp/certificatemanager/get_certificate_map.py +0 -14
- pulumi_gcp/cloudidentity/get_group_lookup.py +0 -18
- pulumi_gcp/cloudidentity/get_group_memberships.py +0 -14
- pulumi_gcp/cloudidentity/get_groups.py +0 -14
- pulumi_gcp/compute/disk_async_replication.py +0 -48
- pulumi_gcp/compute/get_backend_bucket.py +0 -14
- pulumi_gcp/compute/get_backend_service.py +0 -20
- pulumi_gcp/compute/get_certificate.py +0 -20
- pulumi_gcp/compute/get_forwarding_rule.py +0 -14
- pulumi_gcp/compute/get_forwarding_rules.py +0 -16
- pulumi_gcp/compute/get_global_forwarding_rule.py +0 -14
- pulumi_gcp/compute/get_hc_vpn_gateway.py +0 -14
- pulumi_gcp/compute/get_health_check.py +0 -14
- pulumi_gcp/compute/get_lbip_ranges.py +0 -32
- pulumi_gcp/compute/get_netblock_ip_ranges.py +0 -52
- pulumi_gcp/compute/get_network.py +0 -14
- pulumi_gcp/compute/get_networks.py +0 -14
- pulumi_gcp/compute/get_region_ssl_certificate.py +0 -20
- pulumi_gcp/compute/get_ssl_policy.py +0 -14
- pulumi_gcp/compute/get_vpn_gateway.py +0 -14
- pulumi_gcp/compute/instance_template.py +0 -56
- pulumi_gcp/container/get_cluster.py +0 -24
- pulumi_gcp/dataproc/get_metastore_service.py +0 -16
- pulumi_gcp/dns/get_record_set.py +0 -20
- pulumi_gcp/filestore/get_instance.py +0 -20
- pulumi_gcp/iam/get_workload_identity_pool.py +0 -14
- pulumi_gcp/iam/get_workload_identity_pool_provider.py +0 -16
- pulumi_gcp/iap/get_client.py +0 -18
- pulumi_gcp/monitoring/get_secret_version.py +2 -2
- pulumi_gcp/organizations/get_active_folder.py +0 -16
- pulumi_gcp/organizations/get_client_config.py +2 -14
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/get_instance.py +0 -20
- pulumi_gcp/secretmanager/get_secret_version.py +2 -2
- pulumi_gcp/spanner/get_instance.py +0 -14
- pulumi_gcp/tags/get_tag_key.py +0 -30
- pulumi_gcp/tags/get_tag_keys.py +0 -26
- pulumi_gcp/tags/get_tag_value.py +0 -16
- pulumi_gcp/tags/get_tag_values.py +0 -14
- {pulumi_gcp-8.0.0.dist-info → pulumi_gcp-8.0.0a1.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.0.0.dist-info → pulumi_gcp-8.0.0a1.dist-info}/RECORD +44 -44
- {pulumi_gcp-8.0.0.dist-info → pulumi_gcp-8.0.0a1.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.0.0.dist-info → pulumi_gcp-8.0.0a1.dist-info}/top_level.txt +0 -0
@@ -124,13 +124,6 @@ def get_vpn_gateway(name: Optional[str] = None,
|
|
124
124
|
|
125
125
|
## Example Usage
|
126
126
|
|
127
|
-
```python
|
128
|
-
import pulumi
|
129
|
-
import pulumi_gcp as gcp
|
130
|
-
|
131
|
-
my_vpn_gateway = gcp.compute.get_vpn_gateway(name="vpn-gateway-us-east1")
|
132
|
-
```
|
133
|
-
|
134
127
|
|
135
128
|
:param str name: The name of the VPN gateway.
|
136
129
|
|
@@ -168,13 +161,6 @@ def get_vpn_gateway_output(name: Optional[pulumi.Input[str]] = None,
|
|
168
161
|
|
169
162
|
## Example Usage
|
170
163
|
|
171
|
-
```python
|
172
|
-
import pulumi
|
173
|
-
import pulumi_gcp as gcp
|
174
|
-
|
175
|
-
my_vpn_gateway = gcp.compute.get_vpn_gateway(name="vpn-gateway-us-east1")
|
176
|
-
```
|
177
|
-
|
178
164
|
|
179
165
|
:param str name: The name of the VPN gateway.
|
180
166
|
|
@@ -1365,38 +1365,10 @@ class InstanceTemplate(pulumi.CustomResource):
|
|
1365
1365
|
data source, which will retrieve the latest image on every `pulumi apply`, and will update
|
1366
1366
|
the template to use that specific image:
|
1367
1367
|
|
1368
|
-
```python
|
1369
|
-
import pulumi
|
1370
|
-
import pulumi_gcp as gcp
|
1371
|
-
|
1372
|
-
my_image = gcp.compute.get_image(family="debian-11",
|
1373
|
-
project="debian-cloud")
|
1374
|
-
instance_template = gcp.compute.InstanceTemplate("instance_template",
|
1375
|
-
name_prefix="instance-template-",
|
1376
|
-
machine_type="e2-medium",
|
1377
|
-
region="us-central1",
|
1378
|
-
disks=[{
|
1379
|
-
"source_image": my_image.self_link,
|
1380
|
-
}])
|
1381
|
-
```
|
1382
|
-
|
1383
1368
|
To have instances update to the latest on every scaling event or instance re-creation,
|
1384
1369
|
use the family as the image for the disk, and it will use GCP's default behavior, setting
|
1385
1370
|
the image for the template to the family:
|
1386
1371
|
|
1387
|
-
```python
|
1388
|
-
import pulumi
|
1389
|
-
import pulumi_gcp as gcp
|
1390
|
-
|
1391
|
-
instance_template = gcp.compute.InstanceTemplate("instance_template",
|
1392
|
-
name_prefix="instance-template-",
|
1393
|
-
machine_type="e2-medium",
|
1394
|
-
region="us-central1",
|
1395
|
-
disks=[{
|
1396
|
-
"source_image": "debian-cloud/debian-11",
|
1397
|
-
}])
|
1398
|
-
```
|
1399
|
-
|
1400
1372
|
## Import
|
1401
1373
|
|
1402
1374
|
Instance templates can be imported using any of these accepted formats:
|
@@ -1666,38 +1638,10 @@ class InstanceTemplate(pulumi.CustomResource):
|
|
1666
1638
|
data source, which will retrieve the latest image on every `pulumi apply`, and will update
|
1667
1639
|
the template to use that specific image:
|
1668
1640
|
|
1669
|
-
```python
|
1670
|
-
import pulumi
|
1671
|
-
import pulumi_gcp as gcp
|
1672
|
-
|
1673
|
-
my_image = gcp.compute.get_image(family="debian-11",
|
1674
|
-
project="debian-cloud")
|
1675
|
-
instance_template = gcp.compute.InstanceTemplate("instance_template",
|
1676
|
-
name_prefix="instance-template-",
|
1677
|
-
machine_type="e2-medium",
|
1678
|
-
region="us-central1",
|
1679
|
-
disks=[{
|
1680
|
-
"source_image": my_image.self_link,
|
1681
|
-
}])
|
1682
|
-
```
|
1683
|
-
|
1684
1641
|
To have instances update to the latest on every scaling event or instance re-creation,
|
1685
1642
|
use the family as the image for the disk, and it will use GCP's default behavior, setting
|
1686
1643
|
the image for the template to the family:
|
1687
1644
|
|
1688
|
-
```python
|
1689
|
-
import pulumi
|
1690
|
-
import pulumi_gcp as gcp
|
1691
|
-
|
1692
|
-
instance_template = gcp.compute.InstanceTemplate("instance_template",
|
1693
|
-
name_prefix="instance-template-",
|
1694
|
-
machine_type="e2-medium",
|
1695
|
-
region="us-central1",
|
1696
|
-
disks=[{
|
1697
|
-
"source_image": "debian-cloud/debian-11",
|
1698
|
-
}])
|
1699
|
-
```
|
1700
|
-
|
1701
1645
|
## Import
|
1702
1646
|
|
1703
1647
|
Instance templates can be imported using any of these accepted formats:
|
@@ -770,18 +770,6 @@ def get_cluster(location: Optional[str] = None,
|
|
770
770
|
|
771
771
|
## Example Usage
|
772
772
|
|
773
|
-
```python
|
774
|
-
import pulumi
|
775
|
-
import pulumi_gcp as gcp
|
776
|
-
|
777
|
-
my_cluster = gcp.container.get_cluster(name="my-cluster",
|
778
|
-
location="us-east1-a")
|
779
|
-
pulumi.export("endpoint", my_cluster.endpoint)
|
780
|
-
pulumi.export("instanceGroupUrls", my_cluster.node_pools[0].instance_group_urls)
|
781
|
-
pulumi.export("nodeConfig", my_cluster.node_configs)
|
782
|
-
pulumi.export("nodePools", my_cluster.node_pools)
|
783
|
-
```
|
784
|
-
|
785
773
|
|
786
774
|
:param str location: The location (zone or region) this cluster has been
|
787
775
|
created in. One of `location`, `region`, `zone`, or a provider-level `zone` must
|
@@ -890,18 +878,6 @@ def get_cluster_output(location: Optional[pulumi.Input[Optional[str]]] = None,
|
|
890
878
|
|
891
879
|
## Example Usage
|
892
880
|
|
893
|
-
```python
|
894
|
-
import pulumi
|
895
|
-
import pulumi_gcp as gcp
|
896
|
-
|
897
|
-
my_cluster = gcp.container.get_cluster(name="my-cluster",
|
898
|
-
location="us-east1-a")
|
899
|
-
pulumi.export("endpoint", my_cluster.endpoint)
|
900
|
-
pulumi.export("instanceGroupUrls", my_cluster.node_pools[0].instance_group_urls)
|
901
|
-
pulumi.export("nodeConfig", my_cluster.node_configs)
|
902
|
-
pulumi.export("nodePools", my_cluster.node_pools)
|
903
|
-
```
|
904
|
-
|
905
881
|
|
906
882
|
:param str location: The location (zone or region) this cluster has been
|
907
883
|
created in. One of `location`, `region`, `zone`, or a provider-level `zone` must
|
@@ -284,14 +284,6 @@ def get_metastore_service(location: Optional[str] = None,
|
|
284
284
|
|
285
285
|
## Example Usage
|
286
286
|
|
287
|
-
```python
|
288
|
-
import pulumi
|
289
|
-
import pulumi_gcp as gcp
|
290
|
-
|
291
|
-
foo = gcp.dataproc.get_metastore_service(service_id="foo-bar",
|
292
|
-
location="global")
|
293
|
-
```
|
294
|
-
|
295
287
|
|
296
288
|
:param str location: The location where the metastore service resides.
|
297
289
|
|
@@ -346,14 +338,6 @@ def get_metastore_service_output(location: Optional[pulumi.Input[str]] = None,
|
|
346
338
|
|
347
339
|
## Example Usage
|
348
340
|
|
349
|
-
```python
|
350
|
-
import pulumi
|
351
|
-
import pulumi_gcp as gcp
|
352
|
-
|
353
|
-
foo = gcp.dataproc.get_metastore_service(service_id="foo-bar",
|
354
|
-
location="global")
|
355
|
-
```
|
356
|
-
|
357
341
|
|
358
342
|
:param str location: The location where the metastore service resides.
|
359
343
|
|
pulumi_gcp/dns/get_record_set.py
CHANGED
@@ -123,16 +123,6 @@ def get_record_set(managed_zone: Optional[str] = None,
|
|
123
123
|
|
124
124
|
## Example Usage
|
125
125
|
|
126
|
-
```python
|
127
|
-
import pulumi
|
128
|
-
import pulumi_gcp as gcp
|
129
|
-
|
130
|
-
sample = gcp.dns.get_managed_zone(name="sample-zone")
|
131
|
-
rs = gcp.dns.get_record_set(managed_zone=sample.name,
|
132
|
-
name=f"my-record.{sample.dns_name}",
|
133
|
-
type="A")
|
134
|
-
```
|
135
|
-
|
136
126
|
|
137
127
|
:param str managed_zone: The Name of the zone.
|
138
128
|
:param str name: The DNS name for the resource.
|
@@ -172,16 +162,6 @@ def get_record_set_output(managed_zone: Optional[pulumi.Input[str]] = None,
|
|
172
162
|
|
173
163
|
## Example Usage
|
174
164
|
|
175
|
-
```python
|
176
|
-
import pulumi
|
177
|
-
import pulumi_gcp as gcp
|
178
|
-
|
179
|
-
sample = gcp.dns.get_managed_zone(name="sample-zone")
|
180
|
-
rs = gcp.dns.get_record_set(managed_zone=sample.name,
|
181
|
-
name=f"my-record.{sample.dns_name}",
|
182
|
-
type="A")
|
183
|
-
```
|
184
|
-
|
185
165
|
|
186
166
|
:param str managed_zone: The Name of the zone.
|
187
167
|
:param str name: The DNS name for the resource.
|
@@ -194,16 +194,6 @@ def get_instance(location: Optional[str] = None,
|
|
194
194
|
|
195
195
|
## Example Usage
|
196
196
|
|
197
|
-
```python
|
198
|
-
import pulumi
|
199
|
-
import pulumi_gcp as gcp
|
200
|
-
|
201
|
-
my_instance = gcp.filestore.get_instance(name="my-filestore-instance")
|
202
|
-
pulumi.export("instanceIpAddresses", my_instance.networks.ip_addresses)
|
203
|
-
pulumi.export("instanceConnectMode", my_instance.networks.connect_mode)
|
204
|
-
pulumi.export("instanceFileShareName", my_instance.file_shares.name)
|
205
|
-
```
|
206
|
-
|
207
197
|
|
208
198
|
:param str location: The name of the location of the instance. This
|
209
199
|
can be a region for ENTERPRISE tier instances. If it is not provided,
|
@@ -250,16 +240,6 @@ def get_instance_output(location: Optional[pulumi.Input[Optional[str]]] = None,
|
|
250
240
|
|
251
241
|
## Example Usage
|
252
242
|
|
253
|
-
```python
|
254
|
-
import pulumi
|
255
|
-
import pulumi_gcp as gcp
|
256
|
-
|
257
|
-
my_instance = gcp.filestore.get_instance(name="my-filestore-instance")
|
258
|
-
pulumi.export("instanceIpAddresses", my_instance.networks.ip_addresses)
|
259
|
-
pulumi.export("instanceConnectMode", my_instance.networks.connect_mode)
|
260
|
-
pulumi.export("instanceFileShareName", my_instance.file_shares.name)
|
261
|
-
```
|
262
|
-
|
263
243
|
|
264
244
|
:param str location: The name of the location of the instance. This
|
265
245
|
can be a region for ENTERPRISE tier instances. If it is not provided,
|
@@ -120,13 +120,6 @@ def get_workload_identity_pool(project: Optional[str] = None,
|
|
120
120
|
> **Note:** The following resource requires the Beta IAM role `roles/iam.workloadIdentityPoolAdmin` in order to succeed. `OWNER` and `EDITOR` roles do not include the necessary permissions.
|
121
121
|
## Example Usage
|
122
122
|
|
123
|
-
```python
|
124
|
-
import pulumi
|
125
|
-
import pulumi_gcp as gcp
|
126
|
-
|
127
|
-
foo = gcp.iam.get_workload_identity_pool(workload_identity_pool_id="foo-pool")
|
128
|
-
```
|
129
|
-
|
130
123
|
|
131
124
|
:param str project: The project in which the resource belongs. If it
|
132
125
|
is not provided, the provider project is used.
|
@@ -161,13 +154,6 @@ def get_workload_identity_pool_output(project: Optional[pulumi.Input[Optional[st
|
|
161
154
|
> **Note:** The following resource requires the Beta IAM role `roles/iam.workloadIdentityPoolAdmin` in order to succeed. `OWNER` and `EDITOR` roles do not include the necessary permissions.
|
162
155
|
## Example Usage
|
163
156
|
|
164
|
-
```python
|
165
|
-
import pulumi
|
166
|
-
import pulumi_gcp as gcp
|
167
|
-
|
168
|
-
foo = gcp.iam.get_workload_identity_pool(workload_identity_pool_id="foo-pool")
|
169
|
-
```
|
170
|
-
|
171
157
|
|
172
158
|
:param str project: The project in which the resource belongs. If it
|
173
159
|
is not provided, the provider project is used.
|
@@ -176,14 +176,6 @@ def get_workload_identity_pool_provider(project: Optional[str] = None,
|
|
176
176
|
|
177
177
|
## Example Usage
|
178
178
|
|
179
|
-
```python
|
180
|
-
import pulumi
|
181
|
-
import pulumi_gcp as gcp
|
182
|
-
|
183
|
-
foo = gcp.iam.get_workload_identity_pool_provider(workload_identity_pool_id="foo-pool",
|
184
|
-
workload_identity_pool_provider_id="bar-provider")
|
185
|
-
```
|
186
|
-
|
187
179
|
|
188
180
|
:param str project: The project in which the resource belongs. If it
|
189
181
|
is not provided, the provider project is used.
|
@@ -228,14 +220,6 @@ def get_workload_identity_pool_provider_output(project: Optional[pulumi.Input[Op
|
|
228
220
|
|
229
221
|
## Example Usage
|
230
222
|
|
231
|
-
```python
|
232
|
-
import pulumi
|
233
|
-
import pulumi_gcp as gcp
|
234
|
-
|
235
|
-
foo = gcp.iam.get_workload_identity_pool_provider(workload_identity_pool_id="foo-pool",
|
236
|
-
workload_identity_pool_provider_id="bar-provider")
|
237
|
-
```
|
238
|
-
|
239
223
|
|
240
224
|
:param str project: The project in which the resource belongs. If it
|
241
225
|
is not provided, the provider project is used.
|
pulumi_gcp/iap/get_client.py
CHANGED
@@ -93,15 +93,6 @@ def get_client(brand: Optional[str] = None,
|
|
93
93
|
|
94
94
|
## Example Usage
|
95
95
|
|
96
|
-
```python
|
97
|
-
import pulumi
|
98
|
-
import pulumi_gcp as gcp
|
99
|
-
|
100
|
-
project = gcp.organizations.get_project(project_id="foobar")
|
101
|
-
project_client = gcp.iap.get_client(brand=f"projects/{project.number}/brands/[BRAND_NUMBER]",
|
102
|
-
client_id=apps["googleusercontent"]["com"])
|
103
|
-
```
|
104
|
-
|
105
96
|
|
106
97
|
:param str brand: The name of the brand.
|
107
98
|
:param str client_id: The client_id of the brand.
|
@@ -129,15 +120,6 @@ def get_client_output(brand: Optional[pulumi.Input[str]] = None,
|
|
129
120
|
|
130
121
|
## Example Usage
|
131
122
|
|
132
|
-
```python
|
133
|
-
import pulumi
|
134
|
-
import pulumi_gcp as gcp
|
135
|
-
|
136
|
-
project = gcp.organizations.get_project(project_id="foobar")
|
137
|
-
project_client = gcp.iap.get_client(brand=f"projects/{project.number}/brands/[BRAND_NUMBER]",
|
138
|
-
client_id=apps["googleusercontent"]["com"])
|
139
|
-
```
|
140
|
-
|
141
123
|
|
142
124
|
:param str brand: The name of the brand.
|
143
125
|
:param str client_id: The client_id of the brand.
|
@@ -144,7 +144,7 @@ def get_secret_version(project: Optional[str] = None,
|
|
144
144
|
version: Optional[str] = None,
|
145
145
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecretVersionResult:
|
146
146
|
"""
|
147
|
-
Get the value and metadata from a Secret Manager secret version. For more information see the
|
147
|
+
Get the value and metadata from a Secret Manager secret version. For more information see the official documentation datasource.
|
148
148
|
|
149
149
|
## Example Usage
|
150
150
|
|
@@ -188,7 +188,7 @@ def get_secret_version_output(project: Optional[pulumi.Input[Optional[str]]] = N
|
|
188
188
|
version: Optional[pulumi.Input[Optional[str]]] = None,
|
189
189
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecretVersionResult]:
|
190
190
|
"""
|
191
|
-
Get the value and metadata from a Secret Manager secret version. For more information see the
|
191
|
+
Get the value and metadata from a Secret Manager secret version. For more information see the official documentation datasource.
|
192
192
|
|
193
193
|
## Example Usage
|
194
194
|
|
@@ -97,14 +97,6 @@ def get_active_folder(api_method: Optional[str] = None,
|
|
97
97
|
|
98
98
|
## Example Usage
|
99
99
|
|
100
|
-
```python
|
101
|
-
import pulumi
|
102
|
-
import pulumi_gcp as gcp
|
103
|
-
|
104
|
-
department1 = gcp.organizations.get_active_folder(display_name="Department 1",
|
105
|
-
parent="organizations/1234567")
|
106
|
-
```
|
107
|
-
|
108
100
|
|
109
101
|
:param str api_method: The API method to use to search for the folder. Valid values are `LIST` and `SEARCH`. Default Value is `LIST`. `LIST` is [strongly consistent](https://cloud.google.com/resource-manager/reference/rest/v3/folders/list#:~:text=list()%20provides%20a-,strongly%20consistent,-view%20of%20the) and requires `resourcemanager.folders.list` on the parent folder, while `SEARCH` is [eventually consistent](https://cloud.google.com/resource-manager/reference/rest/v3/folders/search#:~:text=eventually%20consistent) and only returns folders that the user has `resourcemanager.folders.get` permission on.
|
110
102
|
:param str display_name: The folder's display name.
|
@@ -135,14 +127,6 @@ def get_active_folder_output(api_method: Optional[pulumi.Input[Optional[str]]] =
|
|
135
127
|
|
136
128
|
## Example Usage
|
137
129
|
|
138
|
-
```python
|
139
|
-
import pulumi
|
140
|
-
import pulumi_gcp as gcp
|
141
|
-
|
142
|
-
department1 = gcp.organizations.get_active_folder(display_name="Department 1",
|
143
|
-
parent="organizations/1234567")
|
144
|
-
```
|
145
|
-
|
146
130
|
|
147
131
|
:param str api_method: The API method to use to search for the folder. Valid values are `LIST` and `SEARCH`. Default Value is `LIST`. `LIST` is [strongly consistent](https://cloud.google.com/resource-manager/reference/rest/v3/folders/list#:~:text=list()%20provides%20a-,strongly%20consistent,-view%20of%20the) and requires `resourcemanager.folders.list` on the parent folder, while `SEARCH` is [eventually consistent](https://cloud.google.com/resource-manager/reference/rest/v3/folders/search#:~:text=eventually%20consistent) and only returns folders that the user has `resourcemanager.folders.get` permission on.
|
148
132
|
:param str display_name: The folder's display name.
|
@@ -110,13 +110,7 @@ def get_client_config(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableG
|
|
110
110
|
"""
|
111
111
|
## Example Usage
|
112
112
|
|
113
|
-
|
114
|
-
import pulumi
|
115
|
-
import pulumi_gcp as gcp
|
116
|
-
|
117
|
-
current = gcp.organizations.get_client_config()
|
118
|
-
pulumi.export("project", current.project)
|
119
|
-
```
|
113
|
+
### Configure Kubernetes Provider With OAuth2 Access Token
|
120
114
|
"""
|
121
115
|
__args__ = dict()
|
122
116
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
@@ -136,12 +130,6 @@ def get_client_config_output(opts: Optional[pulumi.InvokeOptions] = None) -> pul
|
|
136
130
|
"""
|
137
131
|
## Example Usage
|
138
132
|
|
139
|
-
|
140
|
-
import pulumi
|
141
|
-
import pulumi_gcp as gcp
|
142
|
-
|
143
|
-
current = gcp.organizations.get_client_config()
|
144
|
-
pulumi.export("project", current.project)
|
145
|
-
```
|
133
|
+
### Configure Kubernetes Provider With OAuth2 Access Token
|
146
134
|
"""
|
147
135
|
...
|
pulumi_gcp/pulumi-plugin.json
CHANGED
pulumi_gcp/redis/get_instance.py
CHANGED
@@ -383,16 +383,6 @@ def get_instance(name: Optional[str] = None,
|
|
383
383
|
|
384
384
|
## Example Usage
|
385
385
|
|
386
|
-
```python
|
387
|
-
import pulumi
|
388
|
-
import pulumi_gcp as gcp
|
389
|
-
|
390
|
-
my_instance = gcp.redis.get_instance(name="my-redis-instance")
|
391
|
-
pulumi.export("instanceMemorySizeGb", my_instance.memory_size_gb)
|
392
|
-
pulumi.export("instanceConnectMode", my_instance.connect_mode)
|
393
|
-
pulumi.export("instanceAuthorizedNetwork", my_instance.authorized_network)
|
394
|
-
```
|
395
|
-
|
396
386
|
|
397
387
|
:param str name: The name of a Redis instance.
|
398
388
|
|
@@ -459,16 +449,6 @@ def get_instance_output(name: Optional[pulumi.Input[str]] = None,
|
|
459
449
|
|
460
450
|
## Example Usage
|
461
451
|
|
462
|
-
```python
|
463
|
-
import pulumi
|
464
|
-
import pulumi_gcp as gcp
|
465
|
-
|
466
|
-
my_instance = gcp.redis.get_instance(name="my-redis-instance")
|
467
|
-
pulumi.export("instanceMemorySizeGb", my_instance.memory_size_gb)
|
468
|
-
pulumi.export("instanceConnectMode", my_instance.connect_mode)
|
469
|
-
pulumi.export("instanceAuthorizedNetwork", my_instance.authorized_network)
|
470
|
-
```
|
471
|
-
|
472
452
|
|
473
453
|
:param str name: The name of a Redis instance.
|
474
454
|
|
@@ -142,7 +142,7 @@ def get_secret_version(project: Optional[str] = None,
|
|
142
142
|
version: Optional[str] = None,
|
143
143
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecretVersionResult:
|
144
144
|
"""
|
145
|
-
Get the value and metadata from a Secret Manager secret version. For more information see the
|
145
|
+
Get the value and metadata from a Secret Manager secret version. For more information see the official documentation datasource.
|
146
146
|
|
147
147
|
## Example Usage
|
148
148
|
|
@@ -185,7 +185,7 @@ def get_secret_version_output(project: Optional[pulumi.Input[Optional[str]]] = N
|
|
185
185
|
version: Optional[pulumi.Input[Optional[str]]] = None,
|
186
186
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecretVersionResult]:
|
187
187
|
"""
|
188
|
-
Get the value and metadata from a Secret Manager secret version. For more information see the
|
188
|
+
Get the value and metadata from a Secret Manager secret version. For more information see the official documentation datasource.
|
189
189
|
|
190
190
|
## Example Usage
|
191
191
|
|
@@ -168,13 +168,6 @@ def get_instance(config: Optional[str] = None,
|
|
168
168
|
|
169
169
|
## Example Usage
|
170
170
|
|
171
|
-
```python
|
172
|
-
import pulumi
|
173
|
-
import pulumi_gcp as gcp
|
174
|
-
|
175
|
-
foo = gcp.spanner.get_instance(name="bar")
|
176
|
-
```
|
177
|
-
|
178
171
|
|
179
172
|
:param str name: The name of the spanner instance.
|
180
173
|
|
@@ -217,13 +210,6 @@ def get_instance_output(config: Optional[pulumi.Input[Optional[str]]] = None,
|
|
217
210
|
|
218
211
|
## Example Usage
|
219
212
|
|
220
|
-
```python
|
221
|
-
import pulumi
|
222
|
-
import pulumi_gcp as gcp
|
223
|
-
|
224
|
-
foo = gcp.spanner.get_instance(name="bar")
|
225
|
-
```
|
226
|
-
|
227
213
|
|
228
214
|
:param str name: The name of the spanner instance.
|
229
215
|
|
pulumi_gcp/tags/get_tag_key.py
CHANGED
@@ -134,21 +134,6 @@ def get_tag_key(parent: Optional[str] = None,
|
|
134
134
|
|
135
135
|
## Example Usage
|
136
136
|
|
137
|
-
```python
|
138
|
-
import pulumi
|
139
|
-
import pulumi_gcp as gcp
|
140
|
-
|
141
|
-
environment_tag_key = gcp.tags.get_tag_key(parent="organizations/12345",
|
142
|
-
short_name="environment")
|
143
|
-
```
|
144
|
-
```python
|
145
|
-
import pulumi
|
146
|
-
import pulumi_gcp as gcp
|
147
|
-
|
148
|
-
environment_tag_key = gcp.tags.get_tag_key(parent="projects/abc",
|
149
|
-
short_name="environment")
|
150
|
-
```
|
151
|
-
|
152
137
|
|
153
138
|
:param str parent: The resource name of the parent organization or project. It can be in format `organizations/{org_id}` or `projects/{project_id_or_number}`.
|
154
139
|
:param str short_name: The tag key's short_name.
|
@@ -179,21 +164,6 @@ def get_tag_key_output(parent: Optional[pulumi.Input[str]] = None,
|
|
179
164
|
|
180
165
|
## Example Usage
|
181
166
|
|
182
|
-
```python
|
183
|
-
import pulumi
|
184
|
-
import pulumi_gcp as gcp
|
185
|
-
|
186
|
-
environment_tag_key = gcp.tags.get_tag_key(parent="organizations/12345",
|
187
|
-
short_name="environment")
|
188
|
-
```
|
189
|
-
```python
|
190
|
-
import pulumi
|
191
|
-
import pulumi_gcp as gcp
|
192
|
-
|
193
|
-
environment_tag_key = gcp.tags.get_tag_key(parent="projects/abc",
|
194
|
-
short_name="environment")
|
195
|
-
```
|
196
|
-
|
197
167
|
|
198
168
|
:param str parent: The resource name of the parent organization or project. It can be in format `organizations/{org_id}` or `projects/{project_id_or_number}`.
|
199
169
|
:param str short_name: The tag key's short_name.
|
pulumi_gcp/tags/get_tag_keys.py
CHANGED
@@ -78,19 +78,6 @@ def get_tag_keys(parent: Optional[str] = None,
|
|
78
78
|
|
79
79
|
## Example Usage
|
80
80
|
|
81
|
-
```python
|
82
|
-
import pulumi
|
83
|
-
import pulumi_gcp as gcp
|
84
|
-
|
85
|
-
environment_tag_key = gcp.tags.get_tag_keys(parent="organizations/12345")
|
86
|
-
```
|
87
|
-
```python
|
88
|
-
import pulumi
|
89
|
-
import pulumi_gcp as gcp
|
90
|
-
|
91
|
-
environment_tag_key = gcp.tags.get_tag_keys(parent="projects/abc")
|
92
|
-
```
|
93
|
-
|
94
81
|
|
95
82
|
:param str parent: The resource name of the parent organization or project. It can be in format `organizations/{org_id}` or `projects/{project_id_or_number}`.
|
96
83
|
"""
|
@@ -113,19 +100,6 @@ def get_tag_keys_output(parent: Optional[pulumi.Input[str]] = None,
|
|
113
100
|
|
114
101
|
## Example Usage
|
115
102
|
|
116
|
-
```python
|
117
|
-
import pulumi
|
118
|
-
import pulumi_gcp as gcp
|
119
|
-
|
120
|
-
environment_tag_key = gcp.tags.get_tag_keys(parent="organizations/12345")
|
121
|
-
```
|
122
|
-
```python
|
123
|
-
import pulumi
|
124
|
-
import pulumi_gcp as gcp
|
125
|
-
|
126
|
-
environment_tag_key = gcp.tags.get_tag_keys(parent="projects/abc")
|
127
|
-
```
|
128
|
-
|
129
103
|
|
130
104
|
:param str parent: The resource name of the parent organization or project. It can be in format `organizations/{org_id}` or `projects/{project_id_or_number}`.
|
131
105
|
"""
|
pulumi_gcp/tags/get_tag_value.py
CHANGED
@@ -134,14 +134,6 @@ def get_tag_value(parent: Optional[str] = None,
|
|
134
134
|
|
135
135
|
## Example Usage
|
136
136
|
|
137
|
-
```python
|
138
|
-
import pulumi
|
139
|
-
import pulumi_gcp as gcp
|
140
|
-
|
141
|
-
environment_prod_tag_value = gcp.tags.get_tag_value(parent="tagKeys/56789",
|
142
|
-
short_name="production")
|
143
|
-
```
|
144
|
-
|
145
137
|
|
146
138
|
:param str parent: The resource name of the parent tagKey in format `tagKey/{name}`.
|
147
139
|
:param str short_name: The tag value's short_name.
|
@@ -172,14 +164,6 @@ def get_tag_value_output(parent: Optional[pulumi.Input[str]] = None,
|
|
172
164
|
|
173
165
|
## Example Usage
|
174
166
|
|
175
|
-
```python
|
176
|
-
import pulumi
|
177
|
-
import pulumi_gcp as gcp
|
178
|
-
|
179
|
-
environment_prod_tag_value = gcp.tags.get_tag_value(parent="tagKeys/56789",
|
180
|
-
short_name="production")
|
181
|
-
```
|
182
|
-
|
183
167
|
|
184
168
|
:param str parent: The resource name of the parent tagKey in format `tagKey/{name}`.
|
185
169
|
:param str short_name: The tag value's short_name.
|
@@ -78,13 +78,6 @@ def get_tag_values(parent: Optional[str] = None,
|
|
78
78
|
|
79
79
|
## Example Usage
|
80
80
|
|
81
|
-
```python
|
82
|
-
import pulumi
|
83
|
-
import pulumi_gcp as gcp
|
84
|
-
|
85
|
-
environment_tag_values = gcp.tags.get_tag_values(parent="tagKeys/56789")
|
86
|
-
```
|
87
|
-
|
88
81
|
|
89
82
|
:param str parent: The resource name of the parent tagKey in format `tagKey/{name}`.
|
90
83
|
"""
|
@@ -107,13 +100,6 @@ def get_tag_values_output(parent: Optional[pulumi.Input[str]] = None,
|
|
107
100
|
|
108
101
|
## Example Usage
|
109
102
|
|
110
|
-
```python
|
111
|
-
import pulumi
|
112
|
-
import pulumi_gcp as gcp
|
113
|
-
|
114
|
-
environment_tag_values = gcp.tags.get_tag_values(parent="tagKeys/56789")
|
115
|
-
```
|
116
|
-
|
117
103
|
|
118
104
|
:param str parent: The resource name of the parent tagKey in format `tagKey/{name}`.
|
119
105
|
"""
|