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
@@ -366,6 +366,12 @@ class AuthorizationPolicy(pulumi.CustomResource):
|
|
366
366
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AuthorizationPolicyRuleArgs', 'AuthorizationPolicyRuleArgsDict']]]]] = None,
|
367
367
|
__props__=None):
|
368
368
|
"""
|
369
|
+
AuthorizationPolicy is a resource that specifies how a server should authorize incoming connections. This resource in itself does not change the configuration unless it's attached to a target https proxy or endpoint config selector resource.
|
370
|
+
|
371
|
+
To get more information about AuthorizationPolicy, see:
|
372
|
+
|
373
|
+
* [API documentation](https://cloud.google.com/traffic-director/docs/reference/network-security/rest/v1beta1/projects.locations.authorizationPolicies)
|
374
|
+
|
369
375
|
## Example Usage
|
370
376
|
|
371
377
|
### Network Security Authorization Policy Basic
|
@@ -466,6 +472,12 @@ class AuthorizationPolicy(pulumi.CustomResource):
|
|
466
472
|
args: AuthorizationPolicyArgs,
|
467
473
|
opts: Optional[pulumi.ResourceOptions] = None):
|
468
474
|
"""
|
475
|
+
AuthorizationPolicy is a resource that specifies how a server should authorize incoming connections. This resource in itself does not change the configuration unless it's attached to a target https proxy or endpoint config selector resource.
|
476
|
+
|
477
|
+
To get more information about AuthorizationPolicy, see:
|
478
|
+
|
479
|
+
* [API documentation](https://cloud.google.com/traffic-director/docs/reference/network-security/rest/v1beta1/projects.locations.authorizationPolicies)
|
480
|
+
|
469
481
|
## Example Usage
|
470
482
|
|
471
483
|
### Network Security Authorization Policy Basic
|
@@ -75,7 +75,7 @@ class GatewayArgs:
|
|
75
75
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
76
76
|
If it is not provided, the provider project is used.
|
77
77
|
:param pulumi.Input[_builtins.str] routing_mode: The routing mode of the Gateway. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY.
|
78
|
-
Possible values are: `NEXT_HOP_ROUTING_MODE`.
|
78
|
+
Possible values are: `NEXT_HOP_ROUTING_MODE`, `EXPLICIT_ROUTING_MODE`.
|
79
79
|
:param pulumi.Input[_builtins.str] scope: Immutable. Scope determines how configuration across multiple Gateway instances are merged.
|
80
80
|
The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer.
|
81
81
|
Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.
|
@@ -313,7 +313,7 @@ class GatewayArgs:
|
|
313
313
|
def routing_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
314
314
|
"""
|
315
315
|
The routing mode of the Gateway. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY.
|
316
|
-
Possible values are: `NEXT_HOP_ROUTING_MODE`.
|
316
|
+
Possible values are: `NEXT_HOP_ROUTING_MODE`, `EXPLICIT_ROUTING_MODE`.
|
317
317
|
"""
|
318
318
|
return pulumi.get(self, "routing_mode")
|
319
319
|
|
@@ -428,7 +428,7 @@ class _GatewayState:
|
|
428
428
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
|
429
429
|
and default labels configured on the provider.
|
430
430
|
:param pulumi.Input[_builtins.str] routing_mode: The routing mode of the Gateway. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY.
|
431
|
-
Possible values are: `NEXT_HOP_ROUTING_MODE`.
|
431
|
+
Possible values are: `NEXT_HOP_ROUTING_MODE`, `EXPLICIT_ROUTING_MODE`.
|
432
432
|
:param pulumi.Input[_builtins.str] scope: Immutable. Scope determines how configuration across multiple Gateway instances are merged.
|
433
433
|
The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer.
|
434
434
|
Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.
|
@@ -706,7 +706,7 @@ class _GatewayState:
|
|
706
706
|
def routing_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
707
707
|
"""
|
708
708
|
The routing mode of the Gateway. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY.
|
709
|
-
Possible values are: `NEXT_HOP_ROUTING_MODE`.
|
709
|
+
Possible values are: `NEXT_HOP_ROUTING_MODE`, `EXPLICIT_ROUTING_MODE`.
|
710
710
|
"""
|
711
711
|
return pulumi.get(self, "routing_mode")
|
712
712
|
|
@@ -1045,7 +1045,7 @@ class Gateway(pulumi.CustomResource):
|
|
1045
1045
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
1046
1046
|
If it is not provided, the provider project is used.
|
1047
1047
|
:param pulumi.Input[_builtins.str] routing_mode: The routing mode of the Gateway. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY.
|
1048
|
-
Possible values are: `NEXT_HOP_ROUTING_MODE`.
|
1048
|
+
Possible values are: `NEXT_HOP_ROUTING_MODE`, `EXPLICIT_ROUTING_MODE`.
|
1049
1049
|
:param pulumi.Input[_builtins.str] scope: Immutable. Scope determines how configuration across multiple Gateway instances are merged.
|
1050
1050
|
The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer.
|
1051
1051
|
Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.
|
@@ -1403,7 +1403,7 @@ class Gateway(pulumi.CustomResource):
|
|
1403
1403
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
|
1404
1404
|
and default labels configured on the provider.
|
1405
1405
|
:param pulumi.Input[_builtins.str] routing_mode: The routing mode of the Gateway. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY.
|
1406
|
-
Possible values are: `NEXT_HOP_ROUTING_MODE`.
|
1406
|
+
Possible values are: `NEXT_HOP_ROUTING_MODE`, `EXPLICIT_ROUTING_MODE`.
|
1407
1407
|
:param pulumi.Input[_builtins.str] scope: Immutable. Scope determines how configuration across multiple Gateway instances are merged.
|
1408
1408
|
The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer.
|
1409
1409
|
Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.
|
@@ -1599,7 +1599,7 @@ class Gateway(pulumi.CustomResource):
|
|
1599
1599
|
def routing_mode(self) -> pulumi.Output[Optional[_builtins.str]]:
|
1600
1600
|
"""
|
1601
1601
|
The routing mode of the Gateway. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY.
|
1602
|
-
Possible values are: `NEXT_HOP_ROUTING_MODE`.
|
1602
|
+
Possible values are: `NEXT_HOP_ROUTING_MODE`, `EXPLICIT_ROUTING_MODE`.
|
1603
1603
|
"""
|
1604
1604
|
return pulumi.get(self, "routing_mode")
|
1605
1605
|
|
@@ -395,6 +395,12 @@ class ServiceLbPolicies(pulumi.CustomResource):
|
|
395
395
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
396
396
|
__props__=None):
|
397
397
|
"""
|
398
|
+
ServiceLbPolicy holds global load balancing and traffic distribution configuration that can be applied to a BackendService.
|
399
|
+
|
400
|
+
To get more information about ServiceLbPolicies, see:
|
401
|
+
|
402
|
+
* [API documentation](https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.serviceLbPolicies)
|
403
|
+
|
398
404
|
## Example Usage
|
399
405
|
|
400
406
|
### Network Services Service Lb Policies Basic
|
@@ -483,6 +489,12 @@ class ServiceLbPolicies(pulumi.CustomResource):
|
|
483
489
|
args: ServiceLbPoliciesArgs,
|
484
490
|
opts: Optional[pulumi.ResourceOptions] = None):
|
485
491
|
"""
|
492
|
+
ServiceLbPolicy holds global load balancing and traffic distribution configuration that can be applied to a BackendService.
|
493
|
+
|
494
|
+
To get more information about ServiceLbPolicies, see:
|
495
|
+
|
496
|
+
* [API documentation](https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.serviceLbPolicies)
|
497
|
+
|
486
498
|
## Example Usage
|
487
499
|
|
488
500
|
### Network Services Service Lb Policies Basic
|
@@ -1224,7 +1224,7 @@ class AutonomousDatabase(pulumi.CustomResource):
|
|
1224
1224
|
|
1225
1225
|
@_builtins.property
|
1226
1226
|
@pulumi.getter(name="odbNetwork")
|
1227
|
-
def odb_network(self) -> pulumi.Output[
|
1227
|
+
def odb_network(self) -> pulumi.Output[_builtins.str]:
|
1228
1228
|
"""
|
1229
1229
|
The name of the OdbNetwork associated with the Autonomous Database.
|
1230
1230
|
Format:
|
@@ -1236,7 +1236,7 @@ class AutonomousDatabase(pulumi.CustomResource):
|
|
1236
1236
|
|
1237
1237
|
@_builtins.property
|
1238
1238
|
@pulumi.getter(name="odbSubnet")
|
1239
|
-
def odb_subnet(self) -> pulumi.Output[
|
1239
|
+
def odb_subnet(self) -> pulumi.Output[_builtins.str]:
|
1240
1240
|
"""
|
1241
1241
|
The name of the OdbSubnet associated with the Autonomous Database for
|
1242
1242
|
IP allocation. Format:
|
@@ -30,9 +30,7 @@ class ProjectArgs:
|
|
30
30
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
31
31
|
"""
|
32
32
|
The set of arguments for constructing a Project resource.
|
33
|
-
:param pulumi.Input[_builtins.bool] auto_create_network: Create the 'default' network automatically.
|
34
|
-
that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even
|
35
|
-
if you set auto_create_network to false, since the network will exist momentarily.
|
33
|
+
:param pulumi.Input[_builtins.bool] auto_create_network: Create the 'default' network automatically. Default true. If set to false, the default network will be deleted. Note that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even if you set auto_create_network to false, since the network will exist momentarily.
|
36
34
|
:param pulumi.Input[_builtins.str] billing_account: The alphanumeric ID of the billing account this project
|
37
35
|
belongs to. The user or service account performing this operation with the provider
|
38
36
|
must have at mininum Billing Account User privileges (`roles/billing.user`) on the billing account.
|
@@ -79,9 +77,7 @@ class ProjectArgs:
|
|
79
77
|
@pulumi.getter(name="autoCreateNetwork")
|
80
78
|
def auto_create_network(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
81
79
|
"""
|
82
|
-
Create the 'default' network automatically.
|
83
|
-
that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even
|
84
|
-
if you set auto_create_network to false, since the network will exist momentarily.
|
80
|
+
Create the 'default' network automatically. Default true. If set to false, the default network will be deleted. Note that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even if you set auto_create_network to false, since the network will exist momentarily.
|
85
81
|
"""
|
86
82
|
return pulumi.get(self, "auto_create_network")
|
87
83
|
|
@@ -215,9 +211,7 @@ class _ProjectState:
|
|
215
211
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
216
212
|
"""
|
217
213
|
Input properties used for looking up and filtering Project resources.
|
218
|
-
:param pulumi.Input[_builtins.bool] auto_create_network: Create the 'default' network automatically.
|
219
|
-
that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even
|
220
|
-
if you set auto_create_network to false, since the network will exist momentarily.
|
214
|
+
:param pulumi.Input[_builtins.bool] auto_create_network: Create the 'default' network automatically. Default true. If set to false, the default network will be deleted. Note that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even if you set auto_create_network to false, since the network will exist momentarily.
|
221
215
|
:param pulumi.Input[_builtins.str] billing_account: The alphanumeric ID of the billing account this project
|
222
216
|
belongs to. The user or service account performing this operation with the provider
|
223
217
|
must have at mininum Billing Account User privileges (`roles/billing.user`) on the billing account.
|
@@ -273,9 +267,7 @@ class _ProjectState:
|
|
273
267
|
@pulumi.getter(name="autoCreateNetwork")
|
274
268
|
def auto_create_network(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
275
269
|
"""
|
276
|
-
Create the 'default' network automatically.
|
277
|
-
that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even
|
278
|
-
if you set auto_create_network to false, since the network will exist momentarily.
|
270
|
+
Create the 'default' network automatically. Default true. If set to false, the default network will be deleted. Note that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even if you set auto_create_network to false, since the network will exist momentarily.
|
279
271
|
"""
|
280
272
|
return pulumi.get(self, "auto_create_network")
|
281
273
|
|
@@ -523,9 +515,7 @@ class Project(pulumi.CustomResource):
|
|
523
515
|
|
524
516
|
:param str resource_name: The name of the resource.
|
525
517
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
526
|
-
:param pulumi.Input[_builtins.bool] auto_create_network: Create the 'default' network automatically.
|
527
|
-
that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even
|
528
|
-
if you set auto_create_network to false, since the network will exist momentarily.
|
518
|
+
:param pulumi.Input[_builtins.bool] auto_create_network: Create the 'default' network automatically. Default true. If set to false, the default network will be deleted. Note that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even if you set auto_create_network to false, since the network will exist momentarily.
|
529
519
|
:param pulumi.Input[_builtins.str] billing_account: The alphanumeric ID of the billing account this project
|
530
520
|
belongs to. The user or service account performing this operation with the provider
|
531
521
|
must have at mininum Billing Account User privileges (`roles/billing.user`) on the billing account.
|
@@ -708,9 +698,7 @@ class Project(pulumi.CustomResource):
|
|
708
698
|
:param str resource_name: The unique name of the resulting resource.
|
709
699
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
710
700
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
711
|
-
:param pulumi.Input[_builtins.bool] auto_create_network: Create the 'default' network automatically.
|
712
|
-
that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even
|
713
|
-
if you set auto_create_network to false, since the network will exist momentarily.
|
701
|
+
:param pulumi.Input[_builtins.bool] auto_create_network: Create the 'default' network automatically. Default true. If set to false, the default network will be deleted. Note that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even if you set auto_create_network to false, since the network will exist momentarily.
|
714
702
|
:param pulumi.Input[_builtins.str] billing_account: The alphanumeric ID of the billing account this project
|
715
703
|
belongs to. The user or service account performing this operation with the provider
|
716
704
|
must have at mininum Billing Account User privileges (`roles/billing.user`) on the billing account.
|
@@ -759,9 +747,7 @@ class Project(pulumi.CustomResource):
|
|
759
747
|
@pulumi.getter(name="autoCreateNetwork")
|
760
748
|
def auto_create_network(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
761
749
|
"""
|
762
|
-
Create the 'default' network automatically.
|
763
|
-
that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even
|
764
|
-
if you set auto_create_network to false, since the network will exist momentarily.
|
750
|
+
Create the 'default' network automatically. Default true. If set to false, the default network will be deleted. Note that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even if you set auto_create_network to false, since the network will exist momentarily.
|
765
751
|
"""
|
766
752
|
return pulumi.get(self, "auto_create_network")
|
767
753
|
|
pulumi_gcp/projects/service.py
CHANGED
@@ -30,7 +30,6 @@ class ServiceArgs:
|
|
30
30
|
:param pulumi.Input[_builtins.bool] check_if_service_has_usage_on_destroy: Beta
|
31
31
|
If `true`, the usage of the service to be disabled will be checked and an error
|
32
32
|
will be returned if the service to be disabled has usage in last 30 days.
|
33
|
-
Defaults to `false`.
|
34
33
|
:param pulumi.Input[_builtins.bool] disable_dependent_services: If `true`, services that are enabled
|
35
34
|
and which depend on this service should also be disabled when this service is
|
36
35
|
destroyed. If `false` or unset, an error will be generated if any enabled
|
@@ -67,7 +66,6 @@ class ServiceArgs:
|
|
67
66
|
Beta
|
68
67
|
If `true`, the usage of the service to be disabled will be checked and an error
|
69
68
|
will be returned if the service to be disabled has usage in last 30 days.
|
70
|
-
Defaults to `false`.
|
71
69
|
"""
|
72
70
|
return pulumi.get(self, "check_if_service_has_usage_on_destroy")
|
73
71
|
|
@@ -126,7 +124,6 @@ class _ServiceState:
|
|
126
124
|
:param pulumi.Input[_builtins.bool] check_if_service_has_usage_on_destroy: Beta
|
127
125
|
If `true`, the usage of the service to be disabled will be checked and an error
|
128
126
|
will be returned if the service to be disabled has usage in last 30 days.
|
129
|
-
Defaults to `false`.
|
130
127
|
:param pulumi.Input[_builtins.bool] disable_dependent_services: If `true`, services that are enabled
|
131
128
|
and which depend on this service should also be disabled when this service is
|
132
129
|
destroyed. If `false` or unset, an error will be generated if any enabled
|
@@ -153,7 +150,6 @@ class _ServiceState:
|
|
153
150
|
Beta
|
154
151
|
If `true`, the usage of the service to be disabled will be checked and an error
|
155
152
|
will be returned if the service to be disabled has usage in last 30 days.
|
156
|
-
Defaults to `false`.
|
157
153
|
"""
|
158
154
|
return pulumi.get(self, "check_if_service_has_usage_on_destroy")
|
159
155
|
|
@@ -262,7 +258,6 @@ class Service(pulumi.CustomResource):
|
|
262
258
|
:param pulumi.Input[_builtins.bool] check_if_service_has_usage_on_destroy: Beta
|
263
259
|
If `true`, the usage of the service to be disabled will be checked and an error
|
264
260
|
will be returned if the service to be disabled has usage in last 30 days.
|
265
|
-
Defaults to `false`.
|
266
261
|
:param pulumi.Input[_builtins.bool] disable_dependent_services: If `true`, services that are enabled
|
267
262
|
and which depend on this service should also be disabled when this service is
|
268
263
|
destroyed. If `false` or unset, an error will be generated if any enabled
|
@@ -372,7 +367,6 @@ class Service(pulumi.CustomResource):
|
|
372
367
|
:param pulumi.Input[_builtins.bool] check_if_service_has_usage_on_destroy: Beta
|
373
368
|
If `true`, the usage of the service to be disabled will be checked and an error
|
374
369
|
will be returned if the service to be disabled has usage in last 30 days.
|
375
|
-
Defaults to `false`.
|
376
370
|
:param pulumi.Input[_builtins.bool] disable_dependent_services: If `true`, services that are enabled
|
377
371
|
and which depend on this service should also be disabled when this service is
|
378
372
|
destroyed. If `false` or unset, an error will be generated if any enabled
|
@@ -399,7 +393,6 @@ class Service(pulumi.CustomResource):
|
|
399
393
|
Beta
|
400
394
|
If `true`, the usage of the service to be disabled will be checked and an error
|
401
395
|
will be returned if the service to be disabled has usage in last 30 days.
|
402
|
-
Defaults to `false`.
|
403
396
|
"""
|
404
397
|
return pulumi.get(self, "check_if_service_has_usage_on_destroy")
|
405
398
|
|
pulumi_gcp/pulumi-plugin.json
CHANGED
@@ -136,6 +136,14 @@ class Capability(pulumi.CustomResource):
|
|
136
136
|
value: Optional[pulumi.Input[_builtins.bool]] = None,
|
137
137
|
__props__=None):
|
138
138
|
"""
|
139
|
+
An app-enabled folder is a folder within the Google Cloud resource hierarchy that has been configured for application management. This folder lets you define and manage App Hub applications. These applications are functional groupings of services and workloads that span multiple projects within that folder and its descendant projects.
|
140
|
+
|
141
|
+
To get more information about Capability, see:
|
142
|
+
|
143
|
+
* [API documentation](https://cloud.google.com/resource-manager/reference/rest)
|
144
|
+
* How-to Guides
|
145
|
+
* [Official Documentation](https://cloud.google.com/resource-manager/docs/manage-applications)
|
146
|
+
|
139
147
|
## Example Usage
|
140
148
|
|
141
149
|
### Resource Manager Capability
|
@@ -189,6 +197,14 @@ class Capability(pulumi.CustomResource):
|
|
189
197
|
args: CapabilityArgs,
|
190
198
|
opts: Optional[pulumi.ResourceOptions] = None):
|
191
199
|
"""
|
200
|
+
An app-enabled folder is a folder within the Google Cloud resource hierarchy that has been configured for application management. This folder lets you define and manage App Hub applications. These applications are functional groupings of services and workloads that span multiple projects within that folder and its descendant projects.
|
201
|
+
|
202
|
+
To get more information about Capability, see:
|
203
|
+
|
204
|
+
* [API documentation](https://cloud.google.com/resource-manager/reference/rest)
|
205
|
+
* How-to Guides
|
206
|
+
* [Official Documentation](https://cloud.google.com/resource-manager/docs/manage-applications)
|
207
|
+
|
192
208
|
## Example Usage
|
193
209
|
|
194
210
|
### Resource Manager Capability
|
@@ -155,6 +155,14 @@ class Config(pulumi.CustomResource):
|
|
155
155
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
156
156
|
__props__=None):
|
157
157
|
"""
|
158
|
+
Manages a RuntimeConfig resource in Google Cloud.
|
159
|
+
|
160
|
+
To get more information about RuntimeConfigs, see:
|
161
|
+
|
162
|
+
* [API documentation](https://cloud.google.com/deployment-manager/runtime-configurator/reference/rest/v1beta1/projects.configs)
|
163
|
+
* How-to Guides
|
164
|
+
* [Runtime Configurator Fundamentals](https://cloud.google.com/deployment-manager/runtime-configurator/)
|
165
|
+
|
158
166
|
## Example Usage
|
159
167
|
|
160
168
|
Example creating a RuntimeConfig resource.
|
@@ -205,6 +213,14 @@ class Config(pulumi.CustomResource):
|
|
205
213
|
args: Optional[ConfigArgs] = None,
|
206
214
|
opts: Optional[pulumi.ResourceOptions] = None):
|
207
215
|
"""
|
216
|
+
Manages a RuntimeConfig resource in Google Cloud.
|
217
|
+
|
218
|
+
To get more information about RuntimeConfigs, see:
|
219
|
+
|
220
|
+
* [API documentation](https://cloud.google.com/deployment-manager/runtime-configurator/reference/rest/v1beta1/projects.configs)
|
221
|
+
* How-to Guides
|
222
|
+
* [Runtime Configurator Fundamentals](https://cloud.google.com/deployment-manager/runtime-configurator/)
|
223
|
+
|
208
224
|
## Example Usage
|
209
225
|
|
210
226
|
Example creating a RuntimeConfig resource.
|
@@ -264,6 +264,124 @@ class ConfigIamBinding(pulumi.CustomResource):
|
|
264
264
|
role: Optional[pulumi.Input[_builtins.str]] = None,
|
265
265
|
__props__=None):
|
266
266
|
"""
|
267
|
+
Three different resources help you manage your IAM policy for Runtime Configurator Config. Each of these resources serves a different use case:
|
268
|
+
|
269
|
+
* `runtimeconfig.ConfigIamPolicy`: Authoritative. Sets the IAM policy for the config and replaces any existing policy already attached.
|
270
|
+
* `runtimeconfig.ConfigIamBinding`: 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 config are preserved.
|
271
|
+
* `runtimeconfig.ConfigIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the config are preserved.
|
272
|
+
|
273
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
274
|
+
|
275
|
+
* `runtimeconfig.ConfigIamPolicy`: Retrieves the IAM policy for the config
|
276
|
+
|
277
|
+
> **Note:** `runtimeconfig.ConfigIamPolicy` **cannot** be used in conjunction with `runtimeconfig.ConfigIamBinding` and `runtimeconfig.ConfigIamMember` or they will fight over what your policy should be.
|
278
|
+
|
279
|
+
> **Note:** `runtimeconfig.ConfigIamBinding` resources **can be** used in conjunction with `runtimeconfig.ConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
280
|
+
|
281
|
+
## runtimeconfig.ConfigIamPolicy
|
282
|
+
|
283
|
+
```python
|
284
|
+
import pulumi
|
285
|
+
import pulumi_gcp as gcp
|
286
|
+
|
287
|
+
admin = gcp.organizations.get_iam_policy(bindings=[{
|
288
|
+
"role": "roles/viewer",
|
289
|
+
"members": ["user:jane@example.com"],
|
290
|
+
}])
|
291
|
+
policy = gcp.runtimeconfig.ConfigIamPolicy("policy",
|
292
|
+
project=config["project"],
|
293
|
+
config=config["name"],
|
294
|
+
policy_data=admin.policy_data)
|
295
|
+
```
|
296
|
+
|
297
|
+
## runtimeconfig.ConfigIamBinding
|
298
|
+
|
299
|
+
```python
|
300
|
+
import pulumi
|
301
|
+
import pulumi_gcp as gcp
|
302
|
+
|
303
|
+
binding = gcp.runtimeconfig.ConfigIamBinding("binding",
|
304
|
+
project=config["project"],
|
305
|
+
config=config["name"],
|
306
|
+
role="roles/viewer",
|
307
|
+
members=["user:jane@example.com"])
|
308
|
+
```
|
309
|
+
|
310
|
+
## runtimeconfig.ConfigIamMember
|
311
|
+
|
312
|
+
```python
|
313
|
+
import pulumi
|
314
|
+
import pulumi_gcp as gcp
|
315
|
+
|
316
|
+
member = gcp.runtimeconfig.ConfigIamMember("member",
|
317
|
+
project=config["project"],
|
318
|
+
config=config["name"],
|
319
|
+
role="roles/viewer",
|
320
|
+
member="user:jane@example.com")
|
321
|
+
```
|
322
|
+
|
323
|
+
## This resource supports User Project Overrides.
|
324
|
+
|
325
|
+
-
|
326
|
+
|
327
|
+
# IAM policy for Runtime Configurator Config
|
328
|
+
|
329
|
+
Three different resources help you manage your IAM policy for Runtime Configurator Config. Each of these resources serves a different use case:
|
330
|
+
|
331
|
+
* `runtimeconfig.ConfigIamPolicy`: Authoritative. Sets the IAM policy for the config and replaces any existing policy already attached.
|
332
|
+
* `runtimeconfig.ConfigIamBinding`: 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 config are preserved.
|
333
|
+
* `runtimeconfig.ConfigIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the config are preserved.
|
334
|
+
|
335
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
336
|
+
|
337
|
+
* `runtimeconfig.ConfigIamPolicy`: Retrieves the IAM policy for the config
|
338
|
+
|
339
|
+
> **Note:** `runtimeconfig.ConfigIamPolicy` **cannot** be used in conjunction with `runtimeconfig.ConfigIamBinding` and `runtimeconfig.ConfigIamMember` or they will fight over what your policy should be.
|
340
|
+
|
341
|
+
> **Note:** `runtimeconfig.ConfigIamBinding` resources **can be** used in conjunction with `runtimeconfig.ConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
342
|
+
|
343
|
+
## runtimeconfig.ConfigIamPolicy
|
344
|
+
|
345
|
+
```python
|
346
|
+
import pulumi
|
347
|
+
import pulumi_gcp as gcp
|
348
|
+
|
349
|
+
admin = gcp.organizations.get_iam_policy(bindings=[{
|
350
|
+
"role": "roles/viewer",
|
351
|
+
"members": ["user:jane@example.com"],
|
352
|
+
}])
|
353
|
+
policy = gcp.runtimeconfig.ConfigIamPolicy("policy",
|
354
|
+
project=config["project"],
|
355
|
+
config=config["name"],
|
356
|
+
policy_data=admin.policy_data)
|
357
|
+
```
|
358
|
+
|
359
|
+
## runtimeconfig.ConfigIamBinding
|
360
|
+
|
361
|
+
```python
|
362
|
+
import pulumi
|
363
|
+
import pulumi_gcp as gcp
|
364
|
+
|
365
|
+
binding = gcp.runtimeconfig.ConfigIamBinding("binding",
|
366
|
+
project=config["project"],
|
367
|
+
config=config["name"],
|
368
|
+
role="roles/viewer",
|
369
|
+
members=["user:jane@example.com"])
|
370
|
+
```
|
371
|
+
|
372
|
+
## runtimeconfig.ConfigIamMember
|
373
|
+
|
374
|
+
```python
|
375
|
+
import pulumi
|
376
|
+
import pulumi_gcp as gcp
|
377
|
+
|
378
|
+
member = gcp.runtimeconfig.ConfigIamMember("member",
|
379
|
+
project=config["project"],
|
380
|
+
config=config["name"],
|
381
|
+
role="roles/viewer",
|
382
|
+
member="user:jane@example.com")
|
383
|
+
```
|
384
|
+
|
267
385
|
## Import
|
268
386
|
|
269
387
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
@@ -327,6 +445,124 @@ class ConfigIamBinding(pulumi.CustomResource):
|
|
327
445
|
args: ConfigIamBindingArgs,
|
328
446
|
opts: Optional[pulumi.ResourceOptions] = None):
|
329
447
|
"""
|
448
|
+
Three different resources help you manage your IAM policy for Runtime Configurator Config. Each of these resources serves a different use case:
|
449
|
+
|
450
|
+
* `runtimeconfig.ConfigIamPolicy`: Authoritative. Sets the IAM policy for the config and replaces any existing policy already attached.
|
451
|
+
* `runtimeconfig.ConfigIamBinding`: 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 config are preserved.
|
452
|
+
* `runtimeconfig.ConfigIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the config are preserved.
|
453
|
+
|
454
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
455
|
+
|
456
|
+
* `runtimeconfig.ConfigIamPolicy`: Retrieves the IAM policy for the config
|
457
|
+
|
458
|
+
> **Note:** `runtimeconfig.ConfigIamPolicy` **cannot** be used in conjunction with `runtimeconfig.ConfigIamBinding` and `runtimeconfig.ConfigIamMember` or they will fight over what your policy should be.
|
459
|
+
|
460
|
+
> **Note:** `runtimeconfig.ConfigIamBinding` resources **can be** used in conjunction with `runtimeconfig.ConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
461
|
+
|
462
|
+
## runtimeconfig.ConfigIamPolicy
|
463
|
+
|
464
|
+
```python
|
465
|
+
import pulumi
|
466
|
+
import pulumi_gcp as gcp
|
467
|
+
|
468
|
+
admin = gcp.organizations.get_iam_policy(bindings=[{
|
469
|
+
"role": "roles/viewer",
|
470
|
+
"members": ["user:jane@example.com"],
|
471
|
+
}])
|
472
|
+
policy = gcp.runtimeconfig.ConfigIamPolicy("policy",
|
473
|
+
project=config["project"],
|
474
|
+
config=config["name"],
|
475
|
+
policy_data=admin.policy_data)
|
476
|
+
```
|
477
|
+
|
478
|
+
## runtimeconfig.ConfigIamBinding
|
479
|
+
|
480
|
+
```python
|
481
|
+
import pulumi
|
482
|
+
import pulumi_gcp as gcp
|
483
|
+
|
484
|
+
binding = gcp.runtimeconfig.ConfigIamBinding("binding",
|
485
|
+
project=config["project"],
|
486
|
+
config=config["name"],
|
487
|
+
role="roles/viewer",
|
488
|
+
members=["user:jane@example.com"])
|
489
|
+
```
|
490
|
+
|
491
|
+
## runtimeconfig.ConfigIamMember
|
492
|
+
|
493
|
+
```python
|
494
|
+
import pulumi
|
495
|
+
import pulumi_gcp as gcp
|
496
|
+
|
497
|
+
member = gcp.runtimeconfig.ConfigIamMember("member",
|
498
|
+
project=config["project"],
|
499
|
+
config=config["name"],
|
500
|
+
role="roles/viewer",
|
501
|
+
member="user:jane@example.com")
|
502
|
+
```
|
503
|
+
|
504
|
+
## This resource supports User Project Overrides.
|
505
|
+
|
506
|
+
-
|
507
|
+
|
508
|
+
# IAM policy for Runtime Configurator Config
|
509
|
+
|
510
|
+
Three different resources help you manage your IAM policy for Runtime Configurator Config. Each of these resources serves a different use case:
|
511
|
+
|
512
|
+
* `runtimeconfig.ConfigIamPolicy`: Authoritative. Sets the IAM policy for the config and replaces any existing policy already attached.
|
513
|
+
* `runtimeconfig.ConfigIamBinding`: 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 config are preserved.
|
514
|
+
* `runtimeconfig.ConfigIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the config are preserved.
|
515
|
+
|
516
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
517
|
+
|
518
|
+
* `runtimeconfig.ConfigIamPolicy`: Retrieves the IAM policy for the config
|
519
|
+
|
520
|
+
> **Note:** `runtimeconfig.ConfigIamPolicy` **cannot** be used in conjunction with `runtimeconfig.ConfigIamBinding` and `runtimeconfig.ConfigIamMember` or they will fight over what your policy should be.
|
521
|
+
|
522
|
+
> **Note:** `runtimeconfig.ConfigIamBinding` resources **can be** used in conjunction with `runtimeconfig.ConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
523
|
+
|
524
|
+
## runtimeconfig.ConfigIamPolicy
|
525
|
+
|
526
|
+
```python
|
527
|
+
import pulumi
|
528
|
+
import pulumi_gcp as gcp
|
529
|
+
|
530
|
+
admin = gcp.organizations.get_iam_policy(bindings=[{
|
531
|
+
"role": "roles/viewer",
|
532
|
+
"members": ["user:jane@example.com"],
|
533
|
+
}])
|
534
|
+
policy = gcp.runtimeconfig.ConfigIamPolicy("policy",
|
535
|
+
project=config["project"],
|
536
|
+
config=config["name"],
|
537
|
+
policy_data=admin.policy_data)
|
538
|
+
```
|
539
|
+
|
540
|
+
## runtimeconfig.ConfigIamBinding
|
541
|
+
|
542
|
+
```python
|
543
|
+
import pulumi
|
544
|
+
import pulumi_gcp as gcp
|
545
|
+
|
546
|
+
binding = gcp.runtimeconfig.ConfigIamBinding("binding",
|
547
|
+
project=config["project"],
|
548
|
+
config=config["name"],
|
549
|
+
role="roles/viewer",
|
550
|
+
members=["user:jane@example.com"])
|
551
|
+
```
|
552
|
+
|
553
|
+
## runtimeconfig.ConfigIamMember
|
554
|
+
|
555
|
+
```python
|
556
|
+
import pulumi
|
557
|
+
import pulumi_gcp as gcp
|
558
|
+
|
559
|
+
member = gcp.runtimeconfig.ConfigIamMember("member",
|
560
|
+
project=config["project"],
|
561
|
+
config=config["name"],
|
562
|
+
role="roles/viewer",
|
563
|
+
member="user:jane@example.com")
|
564
|
+
```
|
565
|
+
|
330
566
|
## Import
|
331
567
|
|
332
568
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|