pulumi-gcp 9.0.0a1__py3-none-any.whl → 9.0.0a1758219982__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 +48 -0
- pulumi_gcp/activedirectory/peering.py +16 -0
- pulumi_gcp/apigateway/api_config_iam_binding.py +4 -4
- pulumi_gcp/apigateway/api_config_iam_member.py +4 -4
- pulumi_gcp/apigateway/api_config_iam_policy.py +4 -4
- pulumi_gcp/apigateway/api_iam_binding.py +4 -4
- pulumi_gcp/apigateway/api_iam_member.py +4 -4
- pulumi_gcp/apigateway/api_iam_policy.py +4 -4
- pulumi_gcp/apigateway/gateway_iam_binding.py +4 -4
- pulumi_gcp/apigateway/gateway_iam_member.py +4 -4
- pulumi_gcp/apigateway/gateway_iam_policy.py +4 -4
- pulumi_gcp/artifactregistry/__init__.py +1 -0
- pulumi_gcp/artifactregistry/get_python_package.py +237 -0
- pulumi_gcp/artifactregistry/get_repository.py +12 -1
- pulumi_gcp/artifactregistry/repository.py +28 -0
- pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
- pulumi_gcp/backupdisasterrecovery/backup_plan.py +4 -4
- pulumi_gcp/backupdisasterrecovery/get_backup.py +12 -1
- pulumi_gcp/backupdisasterrecovery/get_backup_plan_association.py +4 -0
- pulumi_gcp/backupdisasterrecovery/get_data_source_references.py +135 -0
- pulumi_gcp/backupdisasterrecovery/get_management_server.py +4 -0
- pulumi_gcp/backupdisasterrecovery/outputs.py +103 -0
- pulumi_gcp/bigquery/app_profile.py +14 -49
- pulumi_gcp/bigquery/dataset_access.py +4 -8
- pulumi_gcp/bigquery/table.py +7 -21
- pulumi_gcp/bigqueryanalyticshub/data_exchange_subscription.py +20 -0
- pulumi_gcp/bigtable/app_profile.py +14 -49
- pulumi_gcp/bigtable/table.py +42 -42
- pulumi_gcp/certificatemanager/certificate_map_entry.py +7 -7
- pulumi_gcp/chronicle/_inputs.py +6 -5
- pulumi_gcp/chronicle/outputs.py +4 -3
- pulumi_gcp/chronicle/reference_list.py +53 -5
- pulumi_gcp/cloudasset/get_resources_search_all.py +8 -0
- pulumi_gcp/cloudbuild/_inputs.py +20 -0
- pulumi_gcp/cloudbuild/outputs.py +14 -0
- pulumi_gcp/cloudbuild/trigger.py +4 -2
- pulumi_gcp/cloudbuild/worker_pool.py +28 -21
- pulumi_gcp/cloudfunctions/function.py +4 -8
- pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +16 -0
- pulumi_gcp/cloudrunv2/_inputs.py +57 -0
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/outputs.py +81 -0
- pulumi_gcp/cloudrunv2/service.py +54 -0
- pulumi_gcp/cloudrunv2/worker_pool.py +2 -2
- pulumi_gcp/composer/environment.py +28 -49
- pulumi_gcp/compute/_inputs.py +804 -24
- pulumi_gcp/compute/backend_bucket.py +14 -0
- pulumi_gcp/compute/backend_bucket_iam_binding.py +236 -0
- pulumi_gcp/compute/backend_bucket_iam_member.py +236 -0
- pulumi_gcp/compute/backend_bucket_iam_policy.py +236 -0
- pulumi_gcp/compute/backend_service_iam_binding.py +464 -0
- pulumi_gcp/compute/backend_service_iam_member.py +464 -0
- pulumi_gcp/compute/backend_service_iam_policy.py +464 -0
- pulumi_gcp/compute/cross_site_network.py +16 -0
- pulumi_gcp/compute/future_reservation.py +32 -0
- pulumi_gcp/compute/get_region_backend_service.py +12 -1
- pulumi_gcp/compute/get_resource_policy.py +2 -20
- pulumi_gcp/compute/instance_from_machine_image.py +75 -110
- pulumi_gcp/compute/instance_from_template.py +75 -110
- pulumi_gcp/compute/instance_group_manager.py +7 -14
- pulumi_gcp/compute/instance_template.py +7 -14
- pulumi_gcp/compute/interconnect.py +4 -8
- pulumi_gcp/compute/machine_image_iam_binding.py +8 -4
- pulumi_gcp/compute/machine_image_iam_member.py +8 -4
- pulumi_gcp/compute/machine_image_iam_policy.py +8 -4
- pulumi_gcp/compute/network_edge_security_service.py +16 -0
- pulumi_gcp/compute/network_firewall_policy_packet_mirroring_rule.py +12 -0
- pulumi_gcp/compute/outputs.py +671 -16
- pulumi_gcp/compute/preview_feature.py +16 -0
- pulumi_gcp/compute/public_delegated_prefix.py +42 -0
- pulumi_gcp/compute/region_backend_service.py +54 -0
- pulumi_gcp/compute/region_backend_service_iam_binding.py +488 -0
- pulumi_gcp/compute/region_backend_service_iam_member.py +488 -0
- pulumi_gcp/compute/region_backend_service_iam_policy.py +488 -0
- pulumi_gcp/compute/region_instance_group_manager.py +7 -14
- pulumi_gcp/compute/region_network_endpoint_group.py +1 -3
- pulumi_gcp/compute/region_resize_request.py +24 -0
- pulumi_gcp/compute/region_url_map.py +75 -0
- pulumi_gcp/compute/wire_group.py +16 -0
- pulumi_gcp/container/_inputs.py +446 -18
- pulumi_gcp/container/aws_cluster.py +28 -42
- pulumi_gcp/container/aws_node_pool.py +28 -42
- pulumi_gcp/container/azure_cluster.py +35 -70
- pulumi_gcp/container/azure_node_pool.py +28 -42
- pulumi_gcp/container/cluster.py +16 -7
- pulumi_gcp/container/outputs.py +423 -15
- pulumi_gcp/dataflow/flex_template_job.py +10 -0
- pulumi_gcp/dataform/repository.py +16 -0
- pulumi_gcp/dataform/repository_release_config.py +16 -0
- pulumi_gcp/dataform/repository_workflow_config.py +16 -0
- pulumi_gcp/dataplex/asset.py +28 -21
- pulumi_gcp/dataplex/zone.py +28 -21
- pulumi_gcp/dataproc/cluster.py +21 -14
- pulumi_gcp/dataproc/workflow_template.py +42 -105
- pulumi_gcp/discoveryengine/__init__.py +1 -0
- pulumi_gcp/discoveryengine/_inputs.py +94 -0
- pulumi_gcp/discoveryengine/acl_config.py +393 -0
- pulumi_gcp/discoveryengine/outputs.py +92 -0
- pulumi_gcp/firebase/android_app.py +16 -0
- pulumi_gcp/firebase/apple_app.py +16 -0
- pulumi_gcp/firebase/database_instance.py +16 -0
- pulumi_gcp/firebase/extensions_instance.py +12 -0
- pulumi_gcp/firebase/get_android_app.py +4 -2
- pulumi_gcp/firebase/get_apple_app.py +4 -2
- pulumi_gcp/firebase/get_apple_app_config.py +16 -2
- pulumi_gcp/firebase/get_hosting_channel.py +4 -2
- pulumi_gcp/firebase/hosting_channel.py +20 -0
- pulumi_gcp/firebase/hosting_custom_domain.py +20 -0
- pulumi_gcp/firebase/hosting_release.py +16 -0
- pulumi_gcp/firebase/hosting_site.py +16 -0
- pulumi_gcp/firebase/hosting_version.py +16 -0
- pulumi_gcp/firebase/storage_bucket.py +18 -0
- pulumi_gcp/firestore/index.py +118 -3
- pulumi_gcp/folder/service_identity.py +26 -0
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +16 -0
- pulumi_gcp/healthcare/_inputs.py +205 -0
- pulumi_gcp/healthcare/fhir_store.py +128 -0
- pulumi_gcp/healthcare/outputs.py +163 -0
- pulumi_gcp/iam/workload_identity_pool_iam_binding.py +464 -0
- pulumi_gcp/iam/workload_identity_pool_iam_member.py +464 -0
- pulumi_gcp/iam/workload_identity_pool_iam_policy.py +464 -0
- pulumi_gcp/iam/workload_identity_pool_managed_identity.py +18 -0
- pulumi_gcp/iam/workload_identity_pool_namespace.py +20 -0
- pulumi_gcp/iap/__init__.py +4 -0
- pulumi_gcp/iap/_inputs.py +130 -0
- pulumi_gcp/iap/get_web_forwarding_rule_service_iam_policy.py +159 -0
- pulumi_gcp/iap/outputs.py +76 -0
- pulumi_gcp/iap/web_forwarding_rule_service_iam_binding.py +1002 -0
- pulumi_gcp/iap/web_forwarding_rule_service_iam_member.py +1002 -0
- pulumi_gcp/iap/web_forwarding_rule_service_iam_policy.py +821 -0
- pulumi_gcp/kms/get_kms_secret_asymmetric.py +22 -0
- pulumi_gcp/logging/billing_account_bucket_config.py +7 -21
- pulumi_gcp/logging/folder_bucket_config.py +7 -21
- pulumi_gcp/logging/organization_bucket_config.py +7 -21
- pulumi_gcp/logging/organization_sink.py +7 -7
- pulumi_gcp/managedkafka/connect_cluster.py +4 -0
- pulumi_gcp/managedkafka/connector.py +4 -0
- pulumi_gcp/memorystore/instance.py +14 -14
- pulumi_gcp/monitoring/dashboard.py +7 -14
- pulumi_gcp/netapp/storage_pool.py +91 -2
- pulumi_gcp/netapp/volume.py +47 -0
- pulumi_gcp/networkmanagement/__init__.py +1 -0
- pulumi_gcp/networkmanagement/organization_vpc_flow_logs_config.py +1028 -0
- pulumi_gcp/networksecurity/authorization_policy.py +12 -0
- pulumi_gcp/networkservices/gateway.py +7 -7
- pulumi_gcp/networkservices/service_lb_policies.py +12 -0
- pulumi_gcp/oracledatabase/autonomous_database.py +2 -2
- pulumi_gcp/organizations/project.py +7 -21
- pulumi_gcp/projects/service.py +0 -7
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/resourcemanager/capability.py +16 -0
- pulumi_gcp/runtimeconfig/config.py +16 -0
- pulumi_gcp/runtimeconfig/config_iam_binding.py +236 -0
- pulumi_gcp/runtimeconfig/config_iam_member.py +236 -0
- pulumi_gcp/runtimeconfig/config_iam_policy.py +236 -0
- pulumi_gcp/runtimeconfig/variable.py +10 -0
- pulumi_gcp/saasruntime/__init__.py +1 -0
- pulumi_gcp/saasruntime/_inputs.py +458 -0
- pulumi_gcp/saasruntime/outputs.py +392 -0
- pulumi_gcp/saasruntime/saa_s.py +4 -0
- pulumi_gcp/saasruntime/unit_kind.py +1024 -0
- pulumi_gcp/securesourcemanager/instance.py +7 -7
- pulumi_gcp/securesourcemanager/repository.py +7 -7
- pulumi_gcp/servicedirectory/namespace_iam_binding.py +4 -4
- pulumi_gcp/servicedirectory/namespace_iam_member.py +4 -4
- pulumi_gcp/servicedirectory/namespace_iam_policy.py +4 -4
- pulumi_gcp/servicedirectory/service_iam_binding.py +4 -4
- pulumi_gcp/servicedirectory/service_iam_member.py +4 -4
- pulumi_gcp/servicedirectory/service_iam_policy.py +4 -4
- pulumi_gcp/sql/_inputs.py +135 -1
- pulumi_gcp/sql/database_instance.py +54 -14
- pulumi_gcp/sql/get_database_instance.py +12 -1
- pulumi_gcp/sql/outputs.py +265 -3
- pulumi_gcp/storage/_inputs.py +246 -0
- pulumi_gcp/storage/bucket.py +7 -14
- pulumi_gcp/storage/bucket_object.py +0 -9
- pulumi_gcp/storage/outputs.py +191 -1
- pulumi_gcp/storage/transfer_job.py +47 -0
- pulumi_gcp/tpu/v2_queued_resource.py +16 -0
- pulumi_gcp/tpu/v2_vm.py +16 -0
- pulumi_gcp/vertex/ai_feature_group_iam_binding.py +236 -0
- pulumi_gcp/vertex/ai_feature_group_iam_member.py +236 -0
- pulumi_gcp/vertex/ai_feature_group_iam_policy.py +236 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_binding.py +248 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_member.py +248 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_policy.py +248 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_binding.py +236 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_member.py +236 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_policy.py +236 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_binding.py +238 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_member.py +238 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_policy.py +238 -0
- pulumi_gcp/vertex/ai_feature_store_iam_binding.py +248 -0
- pulumi_gcp/vertex/ai_feature_store_iam_member.py +248 -0
- pulumi_gcp/vertex/ai_feature_store_iam_policy.py +248 -0
- pulumi_gcp/vertex/ai_metadata_store.py +16 -0
- pulumi_gcp/workstations/workstation.py +16 -0
- pulumi_gcp/workstations/workstation_cluster.py +16 -0
- pulumi_gcp/workstations/workstation_config.py +16 -0
- pulumi_gcp/workstations/workstation_config_iam_binding.py +260 -0
- pulumi_gcp/workstations/workstation_config_iam_member.py +260 -0
- pulumi_gcp/workstations/workstation_config_iam_policy.py +260 -0
- pulumi_gcp/workstations/workstation_iam_binding.py +272 -0
- pulumi_gcp/workstations/workstation_iam_member.py +272 -0
- pulumi_gcp/workstations/workstation_iam_policy.py +272 -0
- {pulumi_gcp-9.0.0a1.dist-info → pulumi_gcp-9.0.0a1758219982.dist-info}/METADATA +1 -1
- {pulumi_gcp-9.0.0a1.dist-info → pulumi_gcp-9.0.0a1758219982.dist-info}/RECORD +209 -200
- {pulumi_gcp-9.0.0a1.dist-info → pulumi_gcp-9.0.0a1758219982.dist-info}/WHEEL +0 -0
- {pulumi_gcp-9.0.0a1.dist-info → pulumi_gcp-9.0.0a1758219982.dist-info}/top_level.txt +0 -0
@@ -202,6 +202,130 @@ class AiFeatureStoreIamPolicy(pulumi.CustomResource):
|
|
202
202
|
region: Optional[pulumi.Input[_builtins.str]] = None,
|
203
203
|
__props__=None):
|
204
204
|
"""
|
205
|
+
Three different resources help you manage your IAM policy for Vertex AI Featurestore. Each of these resources serves a different use case:
|
206
|
+
|
207
|
+
* `vertex.AiFeatureStoreIamPolicy`: Authoritative. Sets the IAM policy for the featurestore and replaces any existing policy already attached.
|
208
|
+
* `vertex.AiFeatureStoreIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the featurestore are preserved.
|
209
|
+
* `vertex.AiFeatureStoreIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the featurestore are preserved.
|
210
|
+
|
211
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
212
|
+
|
213
|
+
* `vertex.AiFeatureStoreIamPolicy`: Retrieves the IAM policy for the featurestore
|
214
|
+
|
215
|
+
> **Note:** `vertex.AiFeatureStoreIamPolicy` **cannot** be used in conjunction with `vertex.AiFeatureStoreIamBinding` and `vertex.AiFeatureStoreIamMember` or they will fight over what your policy should be.
|
216
|
+
|
217
|
+
> **Note:** `vertex.AiFeatureStoreIamBinding` resources **can be** used in conjunction with `vertex.AiFeatureStoreIamMember` resources **only if** they do not grant privilege to the same role.
|
218
|
+
|
219
|
+
## vertex.AiFeatureStoreIamPolicy
|
220
|
+
|
221
|
+
```python
|
222
|
+
import pulumi
|
223
|
+
import pulumi_gcp as gcp
|
224
|
+
|
225
|
+
admin = gcp.organizations.get_iam_policy(bindings=[{
|
226
|
+
"role": "roles/viewer",
|
227
|
+
"members": ["user:jane@example.com"],
|
228
|
+
}])
|
229
|
+
policy = gcp.vertex.AiFeatureStoreIamPolicy("policy",
|
230
|
+
project=featurestore["project"],
|
231
|
+
region=featurestore["region"],
|
232
|
+
featurestore=featurestore["name"],
|
233
|
+
policy_data=admin.policy_data)
|
234
|
+
```
|
235
|
+
|
236
|
+
## vertex.AiFeatureStoreIamBinding
|
237
|
+
|
238
|
+
```python
|
239
|
+
import pulumi
|
240
|
+
import pulumi_gcp as gcp
|
241
|
+
|
242
|
+
binding = gcp.vertex.AiFeatureStoreIamBinding("binding",
|
243
|
+
project=featurestore["project"],
|
244
|
+
region=featurestore["region"],
|
245
|
+
featurestore=featurestore["name"],
|
246
|
+
role="roles/viewer",
|
247
|
+
members=["user:jane@example.com"])
|
248
|
+
```
|
249
|
+
|
250
|
+
## vertex.AiFeatureStoreIamMember
|
251
|
+
|
252
|
+
```python
|
253
|
+
import pulumi
|
254
|
+
import pulumi_gcp as gcp
|
255
|
+
|
256
|
+
member = gcp.vertex.AiFeatureStoreIamMember("member",
|
257
|
+
project=featurestore["project"],
|
258
|
+
region=featurestore["region"],
|
259
|
+
featurestore=featurestore["name"],
|
260
|
+
role="roles/viewer",
|
261
|
+
member="user:jane@example.com")
|
262
|
+
```
|
263
|
+
|
264
|
+
## This resource supports User Project Overrides.
|
265
|
+
|
266
|
+
-
|
267
|
+
|
268
|
+
# IAM policy for Vertex AI Featurestore
|
269
|
+
|
270
|
+
Three different resources help you manage your IAM policy for Vertex AI Featurestore. Each of these resources serves a different use case:
|
271
|
+
|
272
|
+
* `vertex.AiFeatureStoreIamPolicy`: Authoritative. Sets the IAM policy for the featurestore and replaces any existing policy already attached.
|
273
|
+
* `vertex.AiFeatureStoreIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the featurestore are preserved.
|
274
|
+
* `vertex.AiFeatureStoreIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the featurestore are preserved.
|
275
|
+
|
276
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
277
|
+
|
278
|
+
* `vertex.AiFeatureStoreIamPolicy`: Retrieves the IAM policy for the featurestore
|
279
|
+
|
280
|
+
> **Note:** `vertex.AiFeatureStoreIamPolicy` **cannot** be used in conjunction with `vertex.AiFeatureStoreIamBinding` and `vertex.AiFeatureStoreIamMember` or they will fight over what your policy should be.
|
281
|
+
|
282
|
+
> **Note:** `vertex.AiFeatureStoreIamBinding` resources **can be** used in conjunction with `vertex.AiFeatureStoreIamMember` resources **only if** they do not grant privilege to the same role.
|
283
|
+
|
284
|
+
## vertex.AiFeatureStoreIamPolicy
|
285
|
+
|
286
|
+
```python
|
287
|
+
import pulumi
|
288
|
+
import pulumi_gcp as gcp
|
289
|
+
|
290
|
+
admin = gcp.organizations.get_iam_policy(bindings=[{
|
291
|
+
"role": "roles/viewer",
|
292
|
+
"members": ["user:jane@example.com"],
|
293
|
+
}])
|
294
|
+
policy = gcp.vertex.AiFeatureStoreIamPolicy("policy",
|
295
|
+
project=featurestore["project"],
|
296
|
+
region=featurestore["region"],
|
297
|
+
featurestore=featurestore["name"],
|
298
|
+
policy_data=admin.policy_data)
|
299
|
+
```
|
300
|
+
|
301
|
+
## vertex.AiFeatureStoreIamBinding
|
302
|
+
|
303
|
+
```python
|
304
|
+
import pulumi
|
305
|
+
import pulumi_gcp as gcp
|
306
|
+
|
307
|
+
binding = gcp.vertex.AiFeatureStoreIamBinding("binding",
|
308
|
+
project=featurestore["project"],
|
309
|
+
region=featurestore["region"],
|
310
|
+
featurestore=featurestore["name"],
|
311
|
+
role="roles/viewer",
|
312
|
+
members=["user:jane@example.com"])
|
313
|
+
```
|
314
|
+
|
315
|
+
## vertex.AiFeatureStoreIamMember
|
316
|
+
|
317
|
+
```python
|
318
|
+
import pulumi
|
319
|
+
import pulumi_gcp as gcp
|
320
|
+
|
321
|
+
member = gcp.vertex.AiFeatureStoreIamMember("member",
|
322
|
+
project=featurestore["project"],
|
323
|
+
region=featurestore["region"],
|
324
|
+
featurestore=featurestore["name"],
|
325
|
+
role="roles/viewer",
|
326
|
+
member="user:jane@example.com")
|
327
|
+
```
|
328
|
+
|
205
329
|
## Import
|
206
330
|
|
207
331
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
@@ -258,6 +382,130 @@ class AiFeatureStoreIamPolicy(pulumi.CustomResource):
|
|
258
382
|
args: AiFeatureStoreIamPolicyArgs,
|
259
383
|
opts: Optional[pulumi.ResourceOptions] = None):
|
260
384
|
"""
|
385
|
+
Three different resources help you manage your IAM policy for Vertex AI Featurestore. Each of these resources serves a different use case:
|
386
|
+
|
387
|
+
* `vertex.AiFeatureStoreIamPolicy`: Authoritative. Sets the IAM policy for the featurestore and replaces any existing policy already attached.
|
388
|
+
* `vertex.AiFeatureStoreIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the featurestore are preserved.
|
389
|
+
* `vertex.AiFeatureStoreIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the featurestore are preserved.
|
390
|
+
|
391
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
392
|
+
|
393
|
+
* `vertex.AiFeatureStoreIamPolicy`: Retrieves the IAM policy for the featurestore
|
394
|
+
|
395
|
+
> **Note:** `vertex.AiFeatureStoreIamPolicy` **cannot** be used in conjunction with `vertex.AiFeatureStoreIamBinding` and `vertex.AiFeatureStoreIamMember` or they will fight over what your policy should be.
|
396
|
+
|
397
|
+
> **Note:** `vertex.AiFeatureStoreIamBinding` resources **can be** used in conjunction with `vertex.AiFeatureStoreIamMember` resources **only if** they do not grant privilege to the same role.
|
398
|
+
|
399
|
+
## vertex.AiFeatureStoreIamPolicy
|
400
|
+
|
401
|
+
```python
|
402
|
+
import pulumi
|
403
|
+
import pulumi_gcp as gcp
|
404
|
+
|
405
|
+
admin = gcp.organizations.get_iam_policy(bindings=[{
|
406
|
+
"role": "roles/viewer",
|
407
|
+
"members": ["user:jane@example.com"],
|
408
|
+
}])
|
409
|
+
policy = gcp.vertex.AiFeatureStoreIamPolicy("policy",
|
410
|
+
project=featurestore["project"],
|
411
|
+
region=featurestore["region"],
|
412
|
+
featurestore=featurestore["name"],
|
413
|
+
policy_data=admin.policy_data)
|
414
|
+
```
|
415
|
+
|
416
|
+
## vertex.AiFeatureStoreIamBinding
|
417
|
+
|
418
|
+
```python
|
419
|
+
import pulumi
|
420
|
+
import pulumi_gcp as gcp
|
421
|
+
|
422
|
+
binding = gcp.vertex.AiFeatureStoreIamBinding("binding",
|
423
|
+
project=featurestore["project"],
|
424
|
+
region=featurestore["region"],
|
425
|
+
featurestore=featurestore["name"],
|
426
|
+
role="roles/viewer",
|
427
|
+
members=["user:jane@example.com"])
|
428
|
+
```
|
429
|
+
|
430
|
+
## vertex.AiFeatureStoreIamMember
|
431
|
+
|
432
|
+
```python
|
433
|
+
import pulumi
|
434
|
+
import pulumi_gcp as gcp
|
435
|
+
|
436
|
+
member = gcp.vertex.AiFeatureStoreIamMember("member",
|
437
|
+
project=featurestore["project"],
|
438
|
+
region=featurestore["region"],
|
439
|
+
featurestore=featurestore["name"],
|
440
|
+
role="roles/viewer",
|
441
|
+
member="user:jane@example.com")
|
442
|
+
```
|
443
|
+
|
444
|
+
## This resource supports User Project Overrides.
|
445
|
+
|
446
|
+
-
|
447
|
+
|
448
|
+
# IAM policy for Vertex AI Featurestore
|
449
|
+
|
450
|
+
Three different resources help you manage your IAM policy for Vertex AI Featurestore. Each of these resources serves a different use case:
|
451
|
+
|
452
|
+
* `vertex.AiFeatureStoreIamPolicy`: Authoritative. Sets the IAM policy for the featurestore and replaces any existing policy already attached.
|
453
|
+
* `vertex.AiFeatureStoreIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the featurestore are preserved.
|
454
|
+
* `vertex.AiFeatureStoreIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the featurestore are preserved.
|
455
|
+
|
456
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
457
|
+
|
458
|
+
* `vertex.AiFeatureStoreIamPolicy`: Retrieves the IAM policy for the featurestore
|
459
|
+
|
460
|
+
> **Note:** `vertex.AiFeatureStoreIamPolicy` **cannot** be used in conjunction with `vertex.AiFeatureStoreIamBinding` and `vertex.AiFeatureStoreIamMember` or they will fight over what your policy should be.
|
461
|
+
|
462
|
+
> **Note:** `vertex.AiFeatureStoreIamBinding` resources **can be** used in conjunction with `vertex.AiFeatureStoreIamMember` resources **only if** they do not grant privilege to the same role.
|
463
|
+
|
464
|
+
## vertex.AiFeatureStoreIamPolicy
|
465
|
+
|
466
|
+
```python
|
467
|
+
import pulumi
|
468
|
+
import pulumi_gcp as gcp
|
469
|
+
|
470
|
+
admin = gcp.organizations.get_iam_policy(bindings=[{
|
471
|
+
"role": "roles/viewer",
|
472
|
+
"members": ["user:jane@example.com"],
|
473
|
+
}])
|
474
|
+
policy = gcp.vertex.AiFeatureStoreIamPolicy("policy",
|
475
|
+
project=featurestore["project"],
|
476
|
+
region=featurestore["region"],
|
477
|
+
featurestore=featurestore["name"],
|
478
|
+
policy_data=admin.policy_data)
|
479
|
+
```
|
480
|
+
|
481
|
+
## vertex.AiFeatureStoreIamBinding
|
482
|
+
|
483
|
+
```python
|
484
|
+
import pulumi
|
485
|
+
import pulumi_gcp as gcp
|
486
|
+
|
487
|
+
binding = gcp.vertex.AiFeatureStoreIamBinding("binding",
|
488
|
+
project=featurestore["project"],
|
489
|
+
region=featurestore["region"],
|
490
|
+
featurestore=featurestore["name"],
|
491
|
+
role="roles/viewer",
|
492
|
+
members=["user:jane@example.com"])
|
493
|
+
```
|
494
|
+
|
495
|
+
## vertex.AiFeatureStoreIamMember
|
496
|
+
|
497
|
+
```python
|
498
|
+
import pulumi
|
499
|
+
import pulumi_gcp as gcp
|
500
|
+
|
501
|
+
member = gcp.vertex.AiFeatureStoreIamMember("member",
|
502
|
+
project=featurestore["project"],
|
503
|
+
region=featurestore["region"],
|
504
|
+
featurestore=featurestore["name"],
|
505
|
+
role="roles/viewer",
|
506
|
+
member="user:jane@example.com")
|
507
|
+
```
|
508
|
+
|
261
509
|
## Import
|
262
510
|
|
263
511
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
@@ -265,6 +265,14 @@ class AiMetadataStore(pulumi.CustomResource):
|
|
265
265
|
region: Optional[pulumi.Input[_builtins.str]] = None,
|
266
266
|
__props__=None):
|
267
267
|
"""
|
268
|
+
Instance of a metadata store. Contains a set of metadata that can be queried.
|
269
|
+
|
270
|
+
To get more information about MetadataStore, see:
|
271
|
+
|
272
|
+
* [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.metadataStores)
|
273
|
+
* How-to Guides
|
274
|
+
* [Official Documentation](https://cloud.google.com/vertex-ai/docs)
|
275
|
+
|
268
276
|
## Example Usage
|
269
277
|
|
270
278
|
### Vertex Ai Metadata Store
|
@@ -326,6 +334,14 @@ class AiMetadataStore(pulumi.CustomResource):
|
|
326
334
|
args: Optional[AiMetadataStoreArgs] = None,
|
327
335
|
opts: Optional[pulumi.ResourceOptions] = None):
|
328
336
|
"""
|
337
|
+
Instance of a metadata store. Contains a set of metadata that can be queried.
|
338
|
+
|
339
|
+
To get more information about MetadataStore, see:
|
340
|
+
|
341
|
+
* [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.metadataStores)
|
342
|
+
* How-to Guides
|
343
|
+
* [Official Documentation](https://cloud.google.com/vertex-ai/docs)
|
344
|
+
|
329
345
|
## Example Usage
|
330
346
|
|
331
347
|
### Vertex Ai Metadata Store
|
@@ -520,6 +520,14 @@ class Workstation(pulumi.CustomResource):
|
|
520
520
|
workstation_id: Optional[pulumi.Input[_builtins.str]] = None,
|
521
521
|
__props__=None):
|
522
522
|
"""
|
523
|
+
A single instance of a developer workstation with its own persistent storage.
|
524
|
+
|
525
|
+
To get more information about Workstation, see:
|
526
|
+
|
527
|
+
* [API documentation](https://cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs.workstations)
|
528
|
+
* How-to Guides
|
529
|
+
* [Workstations](https://cloud.google.com/workstations/docs/)
|
530
|
+
|
523
531
|
## Example Usage
|
524
532
|
|
525
533
|
### Workstation Basic
|
@@ -624,6 +632,14 @@ class Workstation(pulumi.CustomResource):
|
|
624
632
|
args: WorkstationArgs,
|
625
633
|
opts: Optional[pulumi.ResourceOptions] = None):
|
626
634
|
"""
|
635
|
+
A single instance of a developer workstation with its own persistent storage.
|
636
|
+
|
637
|
+
To get more information about Workstation, see:
|
638
|
+
|
639
|
+
* [API documentation](https://cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs.workstations)
|
640
|
+
* How-to Guides
|
641
|
+
* [Workstations](https://cloud.google.com/workstations/docs/)
|
642
|
+
|
627
643
|
## Example Usage
|
628
644
|
|
629
645
|
### Workstation Basic
|
@@ -616,6 +616,14 @@ class WorkstationCluster(pulumi.CustomResource):
|
|
616
616
|
workstation_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
617
617
|
__props__=None):
|
618
618
|
"""
|
619
|
+
A grouping of workstation configurations and the associated workstations in that region.
|
620
|
+
|
621
|
+
To get more information about WorkstationCluster, see:
|
622
|
+
|
623
|
+
* [API documentation](https://cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters/create)
|
624
|
+
* How-to Guides
|
625
|
+
* [Workstations](https://cloud.google.com/workstations/docs/)
|
626
|
+
|
619
627
|
## Example Usage
|
620
628
|
|
621
629
|
### Workstation Cluster Basic
|
@@ -800,6 +808,14 @@ class WorkstationCluster(pulumi.CustomResource):
|
|
800
808
|
args: WorkstationClusterArgs,
|
801
809
|
opts: Optional[pulumi.ResourceOptions] = None):
|
802
810
|
"""
|
811
|
+
A grouping of workstation configurations and the associated workstations in that region.
|
812
|
+
|
813
|
+
To get more information about WorkstationCluster, see:
|
814
|
+
|
815
|
+
* [API documentation](https://cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters/create)
|
816
|
+
* How-to Guides
|
817
|
+
* [Workstations](https://cloud.google.com/workstations/docs/)
|
818
|
+
|
803
819
|
## Example Usage
|
804
820
|
|
805
821
|
### Workstation Cluster Basic
|
@@ -917,6 +917,14 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
917
917
|
workstation_config_id: Optional[pulumi.Input[_builtins.str]] = None,
|
918
918
|
__props__=None):
|
919
919
|
"""
|
920
|
+
A set of configuration options describing how a workstation will be run. Workstation configurations are intended to be shared across multiple workstations.
|
921
|
+
|
922
|
+
To get more information about WorkstationConfig, see:
|
923
|
+
|
924
|
+
* [API documentation](https://cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs/create)
|
925
|
+
* How-to Guides
|
926
|
+
* [Workstations](https://cloud.google.com/workstations/docs/)
|
927
|
+
|
920
928
|
## Example Usage
|
921
929
|
|
922
930
|
### Workstation Config Basic
|
@@ -1432,6 +1440,14 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1432
1440
|
args: WorkstationConfigArgs,
|
1433
1441
|
opts: Optional[pulumi.ResourceOptions] = None):
|
1434
1442
|
"""
|
1443
|
+
A set of configuration options describing how a workstation will be run. Workstation configurations are intended to be shared across multiple workstations.
|
1444
|
+
|
1445
|
+
To get more information about WorkstationConfig, see:
|
1446
|
+
|
1447
|
+
* [API documentation](https://cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs/create)
|
1448
|
+
* How-to Guides
|
1449
|
+
* [Workstations](https://cloud.google.com/workstations/docs/)
|
1450
|
+
|
1435
1451
|
## Example Usage
|
1436
1452
|
|
1437
1453
|
### Workstation Config Basic
|
@@ -345,6 +345,136 @@ class WorkstationConfigIamBinding(pulumi.CustomResource):
|
|
345
345
|
workstation_config_id: Optional[pulumi.Input[_builtins.str]] = None,
|
346
346
|
__props__=None):
|
347
347
|
"""
|
348
|
+
Three different resources help you manage your IAM policy for Cloud Workstations WorkstationConfig. Each of these resources serves a different use case:
|
349
|
+
|
350
|
+
* `workstations.WorkstationConfigIamPolicy`: Authoritative. Sets the IAM policy for the workstationconfig and replaces any existing policy already attached.
|
351
|
+
* `workstations.WorkstationConfigIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the workstationconfig are preserved.
|
352
|
+
* `workstations.WorkstationConfigIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the workstationconfig are preserved.
|
353
|
+
|
354
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
355
|
+
|
356
|
+
* `workstations.WorkstationConfigIamPolicy`: Retrieves the IAM policy for the workstationconfig
|
357
|
+
|
358
|
+
> **Note:** `workstations.WorkstationConfigIamPolicy` **cannot** be used in conjunction with `workstations.WorkstationConfigIamBinding` and `workstations.WorkstationConfigIamMember` or they will fight over what your policy should be.
|
359
|
+
|
360
|
+
> **Note:** `workstations.WorkstationConfigIamBinding` resources **can be** used in conjunction with `workstations.WorkstationConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
361
|
+
|
362
|
+
## workstations.WorkstationConfigIamPolicy
|
363
|
+
|
364
|
+
```python
|
365
|
+
import pulumi
|
366
|
+
import pulumi_gcp as gcp
|
367
|
+
|
368
|
+
admin = gcp.organizations.get_iam_policy(bindings=[{
|
369
|
+
"role": "roles/viewer",
|
370
|
+
"members": ["user:jane@example.com"],
|
371
|
+
}])
|
372
|
+
policy = gcp.workstations.WorkstationConfigIamPolicy("policy",
|
373
|
+
project=default["project"],
|
374
|
+
location=default["location"],
|
375
|
+
workstation_cluster_id=default["workstationClusterId"],
|
376
|
+
workstation_config_id=default["workstationConfigId"],
|
377
|
+
policy_data=admin.policy_data)
|
378
|
+
```
|
379
|
+
|
380
|
+
## workstations.WorkstationConfigIamBinding
|
381
|
+
|
382
|
+
```python
|
383
|
+
import pulumi
|
384
|
+
import pulumi_gcp as gcp
|
385
|
+
|
386
|
+
binding = gcp.workstations.WorkstationConfigIamBinding("binding",
|
387
|
+
project=default["project"],
|
388
|
+
location=default["location"],
|
389
|
+
workstation_cluster_id=default["workstationClusterId"],
|
390
|
+
workstation_config_id=default["workstationConfigId"],
|
391
|
+
role="roles/viewer",
|
392
|
+
members=["user:jane@example.com"])
|
393
|
+
```
|
394
|
+
|
395
|
+
## workstations.WorkstationConfigIamMember
|
396
|
+
|
397
|
+
```python
|
398
|
+
import pulumi
|
399
|
+
import pulumi_gcp as gcp
|
400
|
+
|
401
|
+
member = gcp.workstations.WorkstationConfigIamMember("member",
|
402
|
+
project=default["project"],
|
403
|
+
location=default["location"],
|
404
|
+
workstation_cluster_id=default["workstationClusterId"],
|
405
|
+
workstation_config_id=default["workstationConfigId"],
|
406
|
+
role="roles/viewer",
|
407
|
+
member="user:jane@example.com")
|
408
|
+
```
|
409
|
+
|
410
|
+
## This resource supports User Project Overrides.
|
411
|
+
|
412
|
+
-
|
413
|
+
|
414
|
+
# IAM policy for Cloud Workstations WorkstationConfig
|
415
|
+
|
416
|
+
Three different resources help you manage your IAM policy for Cloud Workstations WorkstationConfig. Each of these resources serves a different use case:
|
417
|
+
|
418
|
+
* `workstations.WorkstationConfigIamPolicy`: Authoritative. Sets the IAM policy for the workstationconfig and replaces any existing policy already attached.
|
419
|
+
* `workstations.WorkstationConfigIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the workstationconfig are preserved.
|
420
|
+
* `workstations.WorkstationConfigIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the workstationconfig are preserved.
|
421
|
+
|
422
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
423
|
+
|
424
|
+
* `workstations.WorkstationConfigIamPolicy`: Retrieves the IAM policy for the workstationconfig
|
425
|
+
|
426
|
+
> **Note:** `workstations.WorkstationConfigIamPolicy` **cannot** be used in conjunction with `workstations.WorkstationConfigIamBinding` and `workstations.WorkstationConfigIamMember` or they will fight over what your policy should be.
|
427
|
+
|
428
|
+
> **Note:** `workstations.WorkstationConfigIamBinding` resources **can be** used in conjunction with `workstations.WorkstationConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
429
|
+
|
430
|
+
## workstations.WorkstationConfigIamPolicy
|
431
|
+
|
432
|
+
```python
|
433
|
+
import pulumi
|
434
|
+
import pulumi_gcp as gcp
|
435
|
+
|
436
|
+
admin = gcp.organizations.get_iam_policy(bindings=[{
|
437
|
+
"role": "roles/viewer",
|
438
|
+
"members": ["user:jane@example.com"],
|
439
|
+
}])
|
440
|
+
policy = gcp.workstations.WorkstationConfigIamPolicy("policy",
|
441
|
+
project=default["project"],
|
442
|
+
location=default["location"],
|
443
|
+
workstation_cluster_id=default["workstationClusterId"],
|
444
|
+
workstation_config_id=default["workstationConfigId"],
|
445
|
+
policy_data=admin.policy_data)
|
446
|
+
```
|
447
|
+
|
448
|
+
## workstations.WorkstationConfigIamBinding
|
449
|
+
|
450
|
+
```python
|
451
|
+
import pulumi
|
452
|
+
import pulumi_gcp as gcp
|
453
|
+
|
454
|
+
binding = gcp.workstations.WorkstationConfigIamBinding("binding",
|
455
|
+
project=default["project"],
|
456
|
+
location=default["location"],
|
457
|
+
workstation_cluster_id=default["workstationClusterId"],
|
458
|
+
workstation_config_id=default["workstationConfigId"],
|
459
|
+
role="roles/viewer",
|
460
|
+
members=["user:jane@example.com"])
|
461
|
+
```
|
462
|
+
|
463
|
+
## workstations.WorkstationConfigIamMember
|
464
|
+
|
465
|
+
```python
|
466
|
+
import pulumi
|
467
|
+
import pulumi_gcp as gcp
|
468
|
+
|
469
|
+
member = gcp.workstations.WorkstationConfigIamMember("member",
|
470
|
+
project=default["project"],
|
471
|
+
location=default["location"],
|
472
|
+
workstation_cluster_id=default["workstationClusterId"],
|
473
|
+
workstation_config_id=default["workstationConfigId"],
|
474
|
+
role="roles/viewer",
|
475
|
+
member="user:jane@example.com")
|
476
|
+
```
|
477
|
+
|
348
478
|
## Import
|
349
479
|
|
350
480
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
@@ -416,6 +546,136 @@ class WorkstationConfigIamBinding(pulumi.CustomResource):
|
|
416
546
|
args: WorkstationConfigIamBindingArgs,
|
417
547
|
opts: Optional[pulumi.ResourceOptions] = None):
|
418
548
|
"""
|
549
|
+
Three different resources help you manage your IAM policy for Cloud Workstations WorkstationConfig. Each of these resources serves a different use case:
|
550
|
+
|
551
|
+
* `workstations.WorkstationConfigIamPolicy`: Authoritative. Sets the IAM policy for the workstationconfig and replaces any existing policy already attached.
|
552
|
+
* `workstations.WorkstationConfigIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the workstationconfig are preserved.
|
553
|
+
* `workstations.WorkstationConfigIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the workstationconfig are preserved.
|
554
|
+
|
555
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
556
|
+
|
557
|
+
* `workstations.WorkstationConfigIamPolicy`: Retrieves the IAM policy for the workstationconfig
|
558
|
+
|
559
|
+
> **Note:** `workstations.WorkstationConfigIamPolicy` **cannot** be used in conjunction with `workstations.WorkstationConfigIamBinding` and `workstations.WorkstationConfigIamMember` or they will fight over what your policy should be.
|
560
|
+
|
561
|
+
> **Note:** `workstations.WorkstationConfigIamBinding` resources **can be** used in conjunction with `workstations.WorkstationConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
562
|
+
|
563
|
+
## workstations.WorkstationConfigIamPolicy
|
564
|
+
|
565
|
+
```python
|
566
|
+
import pulumi
|
567
|
+
import pulumi_gcp as gcp
|
568
|
+
|
569
|
+
admin = gcp.organizations.get_iam_policy(bindings=[{
|
570
|
+
"role": "roles/viewer",
|
571
|
+
"members": ["user:jane@example.com"],
|
572
|
+
}])
|
573
|
+
policy = gcp.workstations.WorkstationConfigIamPolicy("policy",
|
574
|
+
project=default["project"],
|
575
|
+
location=default["location"],
|
576
|
+
workstation_cluster_id=default["workstationClusterId"],
|
577
|
+
workstation_config_id=default["workstationConfigId"],
|
578
|
+
policy_data=admin.policy_data)
|
579
|
+
```
|
580
|
+
|
581
|
+
## workstations.WorkstationConfigIamBinding
|
582
|
+
|
583
|
+
```python
|
584
|
+
import pulumi
|
585
|
+
import pulumi_gcp as gcp
|
586
|
+
|
587
|
+
binding = gcp.workstations.WorkstationConfigIamBinding("binding",
|
588
|
+
project=default["project"],
|
589
|
+
location=default["location"],
|
590
|
+
workstation_cluster_id=default["workstationClusterId"],
|
591
|
+
workstation_config_id=default["workstationConfigId"],
|
592
|
+
role="roles/viewer",
|
593
|
+
members=["user:jane@example.com"])
|
594
|
+
```
|
595
|
+
|
596
|
+
## workstations.WorkstationConfigIamMember
|
597
|
+
|
598
|
+
```python
|
599
|
+
import pulumi
|
600
|
+
import pulumi_gcp as gcp
|
601
|
+
|
602
|
+
member = gcp.workstations.WorkstationConfigIamMember("member",
|
603
|
+
project=default["project"],
|
604
|
+
location=default["location"],
|
605
|
+
workstation_cluster_id=default["workstationClusterId"],
|
606
|
+
workstation_config_id=default["workstationConfigId"],
|
607
|
+
role="roles/viewer",
|
608
|
+
member="user:jane@example.com")
|
609
|
+
```
|
610
|
+
|
611
|
+
## This resource supports User Project Overrides.
|
612
|
+
|
613
|
+
-
|
614
|
+
|
615
|
+
# IAM policy for Cloud Workstations WorkstationConfig
|
616
|
+
|
617
|
+
Three different resources help you manage your IAM policy for Cloud Workstations WorkstationConfig. Each of these resources serves a different use case:
|
618
|
+
|
619
|
+
* `workstations.WorkstationConfigIamPolicy`: Authoritative. Sets the IAM policy for the workstationconfig and replaces any existing policy already attached.
|
620
|
+
* `workstations.WorkstationConfigIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the workstationconfig are preserved.
|
621
|
+
* `workstations.WorkstationConfigIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the workstationconfig are preserved.
|
622
|
+
|
623
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
624
|
+
|
625
|
+
* `workstations.WorkstationConfigIamPolicy`: Retrieves the IAM policy for the workstationconfig
|
626
|
+
|
627
|
+
> **Note:** `workstations.WorkstationConfigIamPolicy` **cannot** be used in conjunction with `workstations.WorkstationConfigIamBinding` and `workstations.WorkstationConfigIamMember` or they will fight over what your policy should be.
|
628
|
+
|
629
|
+
> **Note:** `workstations.WorkstationConfigIamBinding` resources **can be** used in conjunction with `workstations.WorkstationConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
630
|
+
|
631
|
+
## workstations.WorkstationConfigIamPolicy
|
632
|
+
|
633
|
+
```python
|
634
|
+
import pulumi
|
635
|
+
import pulumi_gcp as gcp
|
636
|
+
|
637
|
+
admin = gcp.organizations.get_iam_policy(bindings=[{
|
638
|
+
"role": "roles/viewer",
|
639
|
+
"members": ["user:jane@example.com"],
|
640
|
+
}])
|
641
|
+
policy = gcp.workstations.WorkstationConfigIamPolicy("policy",
|
642
|
+
project=default["project"],
|
643
|
+
location=default["location"],
|
644
|
+
workstation_cluster_id=default["workstationClusterId"],
|
645
|
+
workstation_config_id=default["workstationConfigId"],
|
646
|
+
policy_data=admin.policy_data)
|
647
|
+
```
|
648
|
+
|
649
|
+
## workstations.WorkstationConfigIamBinding
|
650
|
+
|
651
|
+
```python
|
652
|
+
import pulumi
|
653
|
+
import pulumi_gcp as gcp
|
654
|
+
|
655
|
+
binding = gcp.workstations.WorkstationConfigIamBinding("binding",
|
656
|
+
project=default["project"],
|
657
|
+
location=default["location"],
|
658
|
+
workstation_cluster_id=default["workstationClusterId"],
|
659
|
+
workstation_config_id=default["workstationConfigId"],
|
660
|
+
role="roles/viewer",
|
661
|
+
members=["user:jane@example.com"])
|
662
|
+
```
|
663
|
+
|
664
|
+
## workstations.WorkstationConfigIamMember
|
665
|
+
|
666
|
+
```python
|
667
|
+
import pulumi
|
668
|
+
import pulumi_gcp as gcp
|
669
|
+
|
670
|
+
member = gcp.workstations.WorkstationConfigIamMember("member",
|
671
|
+
project=default["project"],
|
672
|
+
location=default["location"],
|
673
|
+
workstation_cluster_id=default["workstationClusterId"],
|
674
|
+
workstation_config_id=default["workstationConfigId"],
|
675
|
+
role="roles/viewer",
|
676
|
+
member="user:jane@example.com")
|
677
|
+
```
|
678
|
+
|
419
679
|
## Import
|
420
680
|
|
421
681
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|