pulumi-gcp 8.42.0a1758178363__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 +83 -48
- pulumi_gcp/activedirectory/peering.py +16 -0
- pulumi_gcp/alloydb/backup.py +8 -4
- pulumi_gcp/alloydb/cluster.py +56 -10
- pulumi_gcp/alloydb/get_cluster.py +12 -1
- pulumi_gcp/alloydb/instance.py +10 -4
- pulumi_gcp/alloydb/user.py +8 -4
- 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/apigee/_inputs.py +151 -108
- pulumi_gcp/apigee/keystores_aliases_key_cert_file.py +52 -40
- pulumi_gcp/apigee/outputs.py +92 -88
- pulumi_gcp/artifactregistry/__init__.py +2 -0
- pulumi_gcp/artifactregistry/_inputs.py +0 -12
- pulumi_gcp/artifactregistry/get_npm_package.py +251 -0
- pulumi_gcp/artifactregistry/get_python_package.py +237 -0
- pulumi_gcp/artifactregistry/get_repository.py +12 -1
- pulumi_gcp/artifactregistry/outputs.py +8 -16
- 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/beyondcorp/__init__.py +0 -5
- pulumi_gcp/beyondcorp/_inputs.py +0 -312
- pulumi_gcp/beyondcorp/outputs.py +0 -200
- pulumi_gcp/bigquery/_inputs.py +114 -4
- pulumi_gcp/bigquery/app_profile.py +3 -5
- pulumi_gcp/bigquery/outputs.py +75 -5
- pulumi_gcp/bigqueryanalyticshub/data_exchange_subscription.py +20 -0
- pulumi_gcp/bigtable/app_profile.py +1 -1
- pulumi_gcp/bigtable/get_table_iam_policy.py +16 -18
- pulumi_gcp/bigtable/table_iam_binding.py +43 -43
- pulumi_gcp/bigtable/table_iam_member.py +43 -43
- pulumi_gcp/bigtable/table_iam_policy.py +43 -43
- pulumi_gcp/billing/_inputs.py +0 -6
- pulumi_gcp/billing/outputs.py +0 -4
- pulumi_gcp/certificatemanager/__init__.py +1 -0
- pulumi_gcp/certificatemanager/certificate_map_entry.py +7 -7
- pulumi_gcp/certificatemanager/get_dns_authorization.py +229 -0
- pulumi_gcp/certificatemanager/outputs.py +41 -0
- 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 +309 -45
- pulumi_gcp/cloudbuild/bitbucket_server_config.py +2 -6
- pulumi_gcp/cloudbuild/get_trigger.py +12 -1
- pulumi_gcp/cloudbuild/outputs.py +380 -30
- pulumi_gcp/cloudbuild/trigger.py +160 -2
- pulumi_gcp/cloudbuild/worker_pool.py +2 -6
- pulumi_gcp/cloudfunctionsv2/_inputs.py +23 -21
- pulumi_gcp/cloudfunctionsv2/outputs.py +17 -16
- pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +16 -0
- pulumi_gcp/cloudrunv2/_inputs.py +80 -26
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/outputs.py +109 -30
- pulumi_gcp/cloudrunv2/service.py +72 -12
- pulumi_gcp/cloudrunv2/worker_pool.py +2 -2
- pulumi_gcp/cloudtasks/queue.py +98 -2
- pulumi_gcp/colab/_inputs.py +1 -114
- pulumi_gcp/colab/outputs.py +1 -106
- pulumi_gcp/compute/_inputs.py +884 -24
- pulumi_gcp/compute/backend_bucket.py +68 -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.py +54 -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_backend_bucket.py +12 -1
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/get_region_backend_service.py +12 -1
- pulumi_gcp/compute/get_resource_policy.py +2 -20
- 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/network_peering_routes_config.py +0 -100
- pulumi_gcp/compute/organization_security_policy.py +83 -51
- pulumi_gcp/compute/outputs.py +799 -16
- pulumi_gcp/compute/packet_mirroring.py +6 -0
- 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_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/subnetwork.py +0 -98
- pulumi_gcp/compute/wire_group.py +16 -0
- pulumi_gcp/config/__init__.pyi +2 -2
- pulumi_gcp/config/vars.py +4 -4
- pulumi_gcp/container/_inputs.py +466 -18
- pulumi_gcp/container/cluster.py +16 -7
- pulumi_gcp/container/outputs.py +448 -15
- pulumi_gcp/databasemigrationservice/connection_profile.py +4 -2
- pulumi_gcp/databasemigrationservice/migration_job.py +4 -2
- 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/diagflow/_inputs.py +152 -0
- pulumi_gcp/diagflow/cx_agent.py +425 -0
- pulumi_gcp/diagflow/outputs.py +143 -0
- 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/app_check_play_integrity_config.py +4 -8
- pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +2 -4
- pulumi_gcp/firebase/app_check_service_config.py +6 -12
- pulumi_gcp/firebase/app_hosting_backend.py +4 -8
- pulumi_gcp/firebase/app_hosting_build.py +4 -8
- pulumi_gcp/firebase/app_hosting_traffic.py +6 -12
- pulumi_gcp/firebase/apple_app.py +16 -0
- pulumi_gcp/firebase/data_connect_service.py +4 -8
- pulumi_gcp/firebase/database_instance.py +20 -8
- 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/_inputs.py +0 -60
- pulumi_gcp/gkehub/get_membership.py +1 -12
- pulumi_gcp/gkehub/membership.py +0 -70
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +16 -0
- pulumi_gcp/gkehub/outputs.py +0 -36
- 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 +8 -0
- pulumi_gcp/iap/_inputs.py +260 -0
- pulumi_gcp/iap/get_web_forwarding_rule_service_iam_policy.py +159 -0
- pulumi_gcp/iap/get_web_region_forwarding_rule_service_iam_policy.py +182 -0
- pulumi_gcp/iap/outputs.py +152 -0
- pulumi_gcp/{beyondcorp/application_iam_binding.py → iap/web_forwarding_rule_service_iam_binding.py} +233 -315
- pulumi_gcp/{beyondcorp/application_iam_member.py → iap/web_forwarding_rule_service_iam_member.py} +233 -315
- pulumi_gcp/{beyondcorp/application_iam_policy.py → iap/web_forwarding_rule_service_iam_policy.py} +212 -294
- pulumi_gcp/iap/web_region_forwarding_rule_service_iam_binding.py +1091 -0
- pulumi_gcp/iap/web_region_forwarding_rule_service_iam_member.py +1091 -0
- pulumi_gcp/iap/web_region_forwarding_rule_service_iam_policy.py +910 -0
- pulumi_gcp/kms/autokey_config.py +0 -2
- pulumi_gcp/kms/get_kms_secret_asymmetric.py +22 -0
- pulumi_gcp/kms/key_handle.py +0 -2
- 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/get_instance.py +1 -12
- pulumi_gcp/memorystore/instance.py +14 -84
- 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/lb_traffic_extension.py +24 -23
- pulumi_gcp/networkservices/service_lb_policies.py +12 -0
- pulumi_gcp/notebooks/__init__.py +0 -1
- pulumi_gcp/oracledatabase/autonomous_database.py +2 -2
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +3 -3
- pulumi_gcp/projects/service.py +2 -11
- pulumi_gcp/provider.py +20 -20
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +0 -70
- pulumi_gcp/redis/get_cluster.py +1 -12
- 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 +12 -0
- pulumi_gcp/saasruntime/_inputs.py +513 -0
- pulumi_gcp/saasruntime/outputs.py +431 -0
- pulumi_gcp/saasruntime/saa_s.py +819 -0
- pulumi_gcp/saasruntime/unit_kind.py +1024 -0
- pulumi_gcp/securesourcemanager/_inputs.py +20 -19
- pulumi_gcp/securesourcemanager/instance.py +7 -7
- pulumi_gcp/securesourcemanager/outputs.py +15 -14
- pulumi_gcp/securesourcemanager/repository.py +7 -7
- pulumi_gcp/serviceaccount/get_account_key.py +1 -21
- 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 +94 -0
- pulumi_gcp/sql/get_database_instance.py +23 -1
- pulumi_gcp/sql/outputs.py +276 -3
- pulumi_gcp/sql/user.py +61 -0
- pulumi_gcp/storage/_inputs.py +253 -7
- pulumi_gcp/storage/bucket_object.py +0 -9
- pulumi_gcp/storage/outputs.py +198 -8
- pulumi_gcp/storage/transfer_job.py +47 -0
- pulumi_gcp/tpu/__init__.py +0 -2
- pulumi_gcp/tpu/_inputs.py +0 -93
- pulumi_gcp/tpu/outputs.py +0 -72
- pulumi_gcp/tpu/v2_queued_resource.py +16 -0
- pulumi_gcp/tpu/v2_vm.py +16 -0
- pulumi_gcp/vertex/_inputs.py +8 -9
- pulumi_gcp/vertex/ai_endpoint.py +2 -4
- 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.py +0 -2
- 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_index.py +24 -23
- pulumi_gcp/vertex/ai_metadata_store.py +16 -0
- pulumi_gcp/vertex/outputs.py +7 -8
- 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-8.42.0a1758178363.dist-info → pulumi_gcp-9.0.0a1758219982.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.42.0a1758178363.dist-info → pulumi_gcp-9.0.0a1758219982.dist-info}/RECORD +266 -255
- pulumi_gcp/beyondcorp/application.py +0 -746
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +0 -182
- pulumi_gcp/notebooks/location.py +0 -285
- pulumi_gcp/tpu/get_tensorflow_versions.py +0 -184
- pulumi_gcp/tpu/node.py +0 -1062
- {pulumi_gcp-8.42.0a1758178363.dist-info → pulumi_gcp-9.0.0a1758219982.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.42.0a1758178363.dist-info → pulumi_gcp-9.0.0a1758219982.dist-info}/top_level.txt +0 -0
pulumi_gcp/{beyondcorp/application_iam_policy.py → iap/web_forwarding_rule_service_iam_policy.py}
RENAMED
@@ -14,41 +14,38 @@ else:
|
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
15
|
from .. import _utilities
|
16
16
|
|
17
|
-
__all__ = ['
|
17
|
+
__all__ = ['WebForwardingRuleServiceIamPolicyArgs', 'WebForwardingRuleServiceIamPolicy']
|
18
18
|
|
19
19
|
@pulumi.input_type
|
20
|
-
class
|
20
|
+
class WebForwardingRuleServiceIamPolicyArgs:
|
21
21
|
def __init__(__self__, *,
|
22
|
-
|
22
|
+
forwarding_rule_service_name: pulumi.Input[_builtins.str],
|
23
23
|
policy_data: pulumi.Input[_builtins.str],
|
24
|
-
security_gateways_id: pulumi.Input[_builtins.str],
|
25
24
|
project: Optional[pulumi.Input[_builtins.str]] = None):
|
26
25
|
"""
|
27
|
-
The set of arguments for constructing a
|
28
|
-
:param pulumi.Input[_builtins.str]
|
26
|
+
The set of arguments for constructing a WebForwardingRuleServiceIamPolicy resource.
|
27
|
+
:param pulumi.Input[_builtins.str] forwarding_rule_service_name: Used to find the parent resource to bind the IAM policy to
|
29
28
|
:param pulumi.Input[_builtins.str] policy_data: The policy data generated by
|
30
29
|
a `organizations_get_iam_policy` data source.
|
31
|
-
:param pulumi.Input[_builtins.str] security_gateways_id: Part of `parent`. See documentation of `projectsId`. Used to find the parent resource to bind the IAM policy to
|
32
30
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
33
31
|
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
34
32
|
"""
|
35
|
-
pulumi.set(__self__, "
|
33
|
+
pulumi.set(__self__, "forwarding_rule_service_name", forwarding_rule_service_name)
|
36
34
|
pulumi.set(__self__, "policy_data", policy_data)
|
37
|
-
pulumi.set(__self__, "security_gateways_id", security_gateways_id)
|
38
35
|
if project is not None:
|
39
36
|
pulumi.set(__self__, "project", project)
|
40
37
|
|
41
38
|
@_builtins.property
|
42
|
-
@pulumi.getter(name="
|
43
|
-
def
|
39
|
+
@pulumi.getter(name="forwardingRuleServiceName")
|
40
|
+
def forwarding_rule_service_name(self) -> pulumi.Input[_builtins.str]:
|
44
41
|
"""
|
45
42
|
Used to find the parent resource to bind the IAM policy to
|
46
43
|
"""
|
47
|
-
return pulumi.get(self, "
|
44
|
+
return pulumi.get(self, "forwarding_rule_service_name")
|
48
45
|
|
49
|
-
@
|
50
|
-
def
|
51
|
-
pulumi.set(self, "
|
46
|
+
@forwarding_rule_service_name.setter
|
47
|
+
def forwarding_rule_service_name(self, value: pulumi.Input[_builtins.str]):
|
48
|
+
pulumi.set(self, "forwarding_rule_service_name", value)
|
52
49
|
|
53
50
|
@_builtins.property
|
54
51
|
@pulumi.getter(name="policyData")
|
@@ -63,18 +60,6 @@ class ApplicationIamPolicyArgs:
|
|
63
60
|
def policy_data(self, value: pulumi.Input[_builtins.str]):
|
64
61
|
pulumi.set(self, "policy_data", value)
|
65
62
|
|
66
|
-
@_builtins.property
|
67
|
-
@pulumi.getter(name="securityGatewaysId")
|
68
|
-
def security_gateways_id(self) -> pulumi.Input[_builtins.str]:
|
69
|
-
"""
|
70
|
-
Part of `parent`. See documentation of `projectsId`. Used to find the parent resource to bind the IAM policy to
|
71
|
-
"""
|
72
|
-
return pulumi.get(self, "security_gateways_id")
|
73
|
-
|
74
|
-
@security_gateways_id.setter
|
75
|
-
def security_gateways_id(self, value: pulumi.Input[_builtins.str]):
|
76
|
-
pulumi.set(self, "security_gateways_id", value)
|
77
|
-
|
78
63
|
@_builtins.property
|
79
64
|
@pulumi.getter
|
80
65
|
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -90,45 +75,29 @@ class ApplicationIamPolicyArgs:
|
|
90
75
|
|
91
76
|
|
92
77
|
@pulumi.input_type
|
93
|
-
class
|
78
|
+
class _WebForwardingRuleServiceIamPolicyState:
|
94
79
|
def __init__(__self__, *,
|
95
|
-
application_id: Optional[pulumi.Input[_builtins.str]] = None,
|
96
80
|
etag: Optional[pulumi.Input[_builtins.str]] = None,
|
81
|
+
forwarding_rule_service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
97
82
|
policy_data: Optional[pulumi.Input[_builtins.str]] = None,
|
98
|
-
project: Optional[pulumi.Input[_builtins.str]] = None
|
99
|
-
security_gateways_id: Optional[pulumi.Input[_builtins.str]] = None):
|
83
|
+
project: Optional[pulumi.Input[_builtins.str]] = None):
|
100
84
|
"""
|
101
|
-
Input properties used for looking up and filtering
|
102
|
-
:param pulumi.Input[_builtins.str] application_id: Used to find the parent resource to bind the IAM policy to
|
85
|
+
Input properties used for looking up and filtering WebForwardingRuleServiceIamPolicy resources.
|
103
86
|
:param pulumi.Input[_builtins.str] etag: (Computed) The etag of the IAM policy.
|
87
|
+
:param pulumi.Input[_builtins.str] forwarding_rule_service_name: Used to find the parent resource to bind the IAM policy to
|
104
88
|
:param pulumi.Input[_builtins.str] policy_data: The policy data generated by
|
105
89
|
a `organizations_get_iam_policy` data source.
|
106
90
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
107
91
|
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
108
|
-
:param pulumi.Input[_builtins.str] security_gateways_id: Part of `parent`. See documentation of `projectsId`. Used to find the parent resource to bind the IAM policy to
|
109
92
|
"""
|
110
|
-
if application_id is not None:
|
111
|
-
pulumi.set(__self__, "application_id", application_id)
|
112
93
|
if etag is not None:
|
113
94
|
pulumi.set(__self__, "etag", etag)
|
95
|
+
if forwarding_rule_service_name is not None:
|
96
|
+
pulumi.set(__self__, "forwarding_rule_service_name", forwarding_rule_service_name)
|
114
97
|
if policy_data is not None:
|
115
98
|
pulumi.set(__self__, "policy_data", policy_data)
|
116
99
|
if project is not None:
|
117
100
|
pulumi.set(__self__, "project", project)
|
118
|
-
if security_gateways_id is not None:
|
119
|
-
pulumi.set(__self__, "security_gateways_id", security_gateways_id)
|
120
|
-
|
121
|
-
@_builtins.property
|
122
|
-
@pulumi.getter(name="applicationId")
|
123
|
-
def application_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
124
|
-
"""
|
125
|
-
Used to find the parent resource to bind the IAM policy to
|
126
|
-
"""
|
127
|
-
return pulumi.get(self, "application_id")
|
128
|
-
|
129
|
-
@application_id.setter
|
130
|
-
def application_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
131
|
-
pulumi.set(self, "application_id", value)
|
132
101
|
|
133
102
|
@_builtins.property
|
134
103
|
@pulumi.getter
|
@@ -142,6 +111,18 @@ class _ApplicationIamPolicyState:
|
|
142
111
|
def etag(self, value: Optional[pulumi.Input[_builtins.str]]):
|
143
112
|
pulumi.set(self, "etag", value)
|
144
113
|
|
114
|
+
@_builtins.property
|
115
|
+
@pulumi.getter(name="forwardingRuleServiceName")
|
116
|
+
def forwarding_rule_service_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
117
|
+
"""
|
118
|
+
Used to find the parent resource to bind the IAM policy to
|
119
|
+
"""
|
120
|
+
return pulumi.get(self, "forwarding_rule_service_name")
|
121
|
+
|
122
|
+
@forwarding_rule_service_name.setter
|
123
|
+
def forwarding_rule_service_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
124
|
+
pulumi.set(self, "forwarding_rule_service_name", value)
|
125
|
+
|
145
126
|
@_builtins.property
|
146
127
|
@pulumi.getter(name="policyData")
|
147
128
|
def policy_data(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -168,63 +149,47 @@ class _ApplicationIamPolicyState:
|
|
168
149
|
def project(self, value: Optional[pulumi.Input[_builtins.str]]):
|
169
150
|
pulumi.set(self, "project", value)
|
170
151
|
|
171
|
-
@_builtins.property
|
172
|
-
@pulumi.getter(name="securityGatewaysId")
|
173
|
-
def security_gateways_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
174
|
-
"""
|
175
|
-
Part of `parent`. See documentation of `projectsId`. Used to find the parent resource to bind the IAM policy to
|
176
|
-
"""
|
177
|
-
return pulumi.get(self, "security_gateways_id")
|
178
|
-
|
179
|
-
@security_gateways_id.setter
|
180
|
-
def security_gateways_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
181
|
-
pulumi.set(self, "security_gateways_id", value)
|
182
|
-
|
183
152
|
|
184
|
-
@pulumi.type_token("gcp:
|
185
|
-
class
|
153
|
+
@pulumi.type_token("gcp:iap/webForwardingRuleServiceIamPolicy:WebForwardingRuleServiceIamPolicy")
|
154
|
+
class WebForwardingRuleServiceIamPolicy(pulumi.CustomResource):
|
186
155
|
@overload
|
187
156
|
def __init__(__self__,
|
188
157
|
resource_name: str,
|
189
158
|
opts: Optional[pulumi.ResourceOptions] = None,
|
190
|
-
|
159
|
+
forwarding_rule_service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
191
160
|
policy_data: Optional[pulumi.Input[_builtins.str]] = None,
|
192
161
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
193
|
-
security_gateways_id: Optional[pulumi.Input[_builtins.str]] = None,
|
194
162
|
__props__=None):
|
195
163
|
"""
|
196
|
-
|
164
|
+
Three different resources help you manage your IAM policy for Identity-Aware Proxy WebForwardingRuleService. Each of these resources serves a different use case:
|
197
165
|
|
198
|
-
|
199
|
-
|
200
|
-
* `
|
201
|
-
* `beyondcorp.ApplicationIamBinding`: 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 application are preserved.
|
202
|
-
* `beyondcorp.ApplicationIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the application are preserved.
|
166
|
+
* `iap.WebForwardingRuleServiceIamPolicy`: Authoritative. Sets the IAM policy for the webforwardingruleservice and replaces any existing policy already attached.
|
167
|
+
* `iap.WebForwardingRuleServiceIamBinding`: 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 webforwardingruleservice are preserved.
|
168
|
+
* `iap.WebForwardingRuleServiceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the webforwardingruleservice are preserved.
|
203
169
|
|
204
170
|
A data source can be used to retrieve policy data in advent you do not need creation
|
205
171
|
|
206
|
-
* `
|
172
|
+
* `iap.WebForwardingRuleServiceIamPolicy`: Retrieves the IAM policy for the webforwardingruleservice
|
207
173
|
|
208
|
-
> **Note:** `
|
174
|
+
> **Note:** `iap.WebForwardingRuleServiceIamPolicy` **cannot** be used in conjunction with `iap.WebForwardingRuleServiceIamBinding` and `iap.WebForwardingRuleServiceIamMember` or they will fight over what your policy should be.
|
209
175
|
|
210
|
-
> **Note:** `
|
176
|
+
> **Note:** `iap.WebForwardingRuleServiceIamBinding` resources **can be** used in conjunction with `iap.WebForwardingRuleServiceIamMember` resources **only if** they do not grant privilege to the same role.
|
211
177
|
|
212
178
|
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
|
213
179
|
|
214
|
-
##
|
180
|
+
## iap.WebForwardingRuleServiceIamPolicy
|
215
181
|
|
216
182
|
```python
|
217
183
|
import pulumi
|
218
184
|
import pulumi_gcp as gcp
|
219
185
|
|
220
186
|
admin = gcp.organizations.get_iam_policy(bindings=[{
|
221
|
-
"role": "roles/
|
187
|
+
"role": "roles/iap.httpsResourceAccessor",
|
222
188
|
"members": ["user:jane@example.com"],
|
223
189
|
}])
|
224
|
-
policy = gcp.
|
225
|
-
project=
|
226
|
-
|
227
|
-
application_id=example["applicationId"],
|
190
|
+
policy = gcp.iap.WebForwardingRuleServiceIamPolicy("policy",
|
191
|
+
project=default["project"],
|
192
|
+
forwarding_rule_service_name=default["name"],
|
228
193
|
policy_data=admin.policy_data)
|
229
194
|
```
|
230
195
|
|
@@ -235,7 +200,7 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
235
200
|
import pulumi_gcp as gcp
|
236
201
|
|
237
202
|
admin = gcp.organizations.get_iam_policy(bindings=[{
|
238
|
-
"role": "roles/
|
203
|
+
"role": "roles/iap.httpsResourceAccessor",
|
239
204
|
"members": ["user:jane@example.com"],
|
240
205
|
"condition": {
|
241
206
|
"title": "expires_after_2019_12_31",
|
@@ -243,23 +208,21 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
243
208
|
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
244
209
|
},
|
245
210
|
}])
|
246
|
-
policy = gcp.
|
247
|
-
project=
|
248
|
-
|
249
|
-
application_id=example["applicationId"],
|
211
|
+
policy = gcp.iap.WebForwardingRuleServiceIamPolicy("policy",
|
212
|
+
project=default["project"],
|
213
|
+
forwarding_rule_service_name=default["name"],
|
250
214
|
policy_data=admin.policy_data)
|
251
215
|
```
|
252
|
-
##
|
216
|
+
## iap.WebForwardingRuleServiceIamBinding
|
253
217
|
|
254
218
|
```python
|
255
219
|
import pulumi
|
256
220
|
import pulumi_gcp as gcp
|
257
221
|
|
258
|
-
binding = gcp.
|
259
|
-
project=
|
260
|
-
|
261
|
-
|
262
|
-
role="roles/beyondcorp.securityGatewayUser",
|
222
|
+
binding = gcp.iap.WebForwardingRuleServiceIamBinding("binding",
|
223
|
+
project=default["project"],
|
224
|
+
forwarding_rule_service_name=default["name"],
|
225
|
+
role="roles/iap.httpsResourceAccessor",
|
263
226
|
members=["user:jane@example.com"])
|
264
227
|
```
|
265
228
|
|
@@ -269,11 +232,10 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
269
232
|
import pulumi
|
270
233
|
import pulumi_gcp as gcp
|
271
234
|
|
272
|
-
binding = gcp.
|
273
|
-
project=
|
274
|
-
|
275
|
-
|
276
|
-
role="roles/beyondcorp.securityGatewayUser",
|
235
|
+
binding = gcp.iap.WebForwardingRuleServiceIamBinding("binding",
|
236
|
+
project=default["project"],
|
237
|
+
forwarding_rule_service_name=default["name"],
|
238
|
+
role="roles/iap.httpsResourceAccessor",
|
277
239
|
members=["user:jane@example.com"],
|
278
240
|
condition={
|
279
241
|
"title": "expires_after_2019_12_31",
|
@@ -281,17 +243,16 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
281
243
|
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
282
244
|
})
|
283
245
|
```
|
284
|
-
##
|
246
|
+
## iap.WebForwardingRuleServiceIamMember
|
285
247
|
|
286
248
|
```python
|
287
249
|
import pulumi
|
288
250
|
import pulumi_gcp as gcp
|
289
251
|
|
290
|
-
member = gcp.
|
291
|
-
project=
|
292
|
-
|
293
|
-
|
294
|
-
role="roles/beyondcorp.securityGatewayUser",
|
252
|
+
member = gcp.iap.WebForwardingRuleServiceIamMember("member",
|
253
|
+
project=default["project"],
|
254
|
+
forwarding_rule_service_name=default["name"],
|
255
|
+
role="roles/iap.httpsResourceAccessor",
|
295
256
|
member="user:jane@example.com")
|
296
257
|
```
|
297
258
|
|
@@ -301,11 +262,10 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
301
262
|
import pulumi
|
302
263
|
import pulumi_gcp as gcp
|
303
264
|
|
304
|
-
member = gcp.
|
305
|
-
project=
|
306
|
-
|
307
|
-
|
308
|
-
role="roles/beyondcorp.securityGatewayUser",
|
265
|
+
member = gcp.iap.WebForwardingRuleServiceIamMember("member",
|
266
|
+
project=default["project"],
|
267
|
+
forwarding_rule_service_name=default["name"],
|
268
|
+
role="roles/iap.httpsResourceAccessor",
|
309
269
|
member="user:jane@example.com",
|
310
270
|
condition={
|
311
271
|
"title": "expires_after_2019_12_31",
|
@@ -318,39 +278,37 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
318
278
|
|
319
279
|
-
|
320
280
|
|
321
|
-
# IAM policy for
|
322
|
-
> **Warning:** `beyondcorp.Application` and associated IAM resources are deprecated. Use `beyondcorp.SecurityGatewayApplication` instead.
|
281
|
+
# IAM policy for Identity-Aware Proxy WebForwardingRuleService
|
323
282
|
|
324
|
-
Three different resources help you manage your IAM policy for
|
283
|
+
Three different resources help you manage your IAM policy for Identity-Aware Proxy WebForwardingRuleService. Each of these resources serves a different use case:
|
325
284
|
|
326
|
-
* `
|
327
|
-
* `
|
328
|
-
* `
|
285
|
+
* `iap.WebForwardingRuleServiceIamPolicy`: Authoritative. Sets the IAM policy for the webforwardingruleservice and replaces any existing policy already attached.
|
286
|
+
* `iap.WebForwardingRuleServiceIamBinding`: 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 webforwardingruleservice are preserved.
|
287
|
+
* `iap.WebForwardingRuleServiceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the webforwardingruleservice are preserved.
|
329
288
|
|
330
289
|
A data source can be used to retrieve policy data in advent you do not need creation
|
331
290
|
|
332
|
-
* `
|
291
|
+
* `iap.WebForwardingRuleServiceIamPolicy`: Retrieves the IAM policy for the webforwardingruleservice
|
333
292
|
|
334
|
-
> **Note:** `
|
293
|
+
> **Note:** `iap.WebForwardingRuleServiceIamPolicy` **cannot** be used in conjunction with `iap.WebForwardingRuleServiceIamBinding` and `iap.WebForwardingRuleServiceIamMember` or they will fight over what your policy should be.
|
335
294
|
|
336
|
-
> **Note:** `
|
295
|
+
> **Note:** `iap.WebForwardingRuleServiceIamBinding` resources **can be** used in conjunction with `iap.WebForwardingRuleServiceIamMember` resources **only if** they do not grant privilege to the same role.
|
337
296
|
|
338
297
|
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
|
339
298
|
|
340
|
-
##
|
299
|
+
## iap.WebForwardingRuleServiceIamPolicy
|
341
300
|
|
342
301
|
```python
|
343
302
|
import pulumi
|
344
303
|
import pulumi_gcp as gcp
|
345
304
|
|
346
305
|
admin = gcp.organizations.get_iam_policy(bindings=[{
|
347
|
-
"role": "roles/
|
306
|
+
"role": "roles/iap.httpsResourceAccessor",
|
348
307
|
"members": ["user:jane@example.com"],
|
349
308
|
}])
|
350
|
-
policy = gcp.
|
351
|
-
project=
|
352
|
-
|
353
|
-
application_id=example["applicationId"],
|
309
|
+
policy = gcp.iap.WebForwardingRuleServiceIamPolicy("policy",
|
310
|
+
project=default["project"],
|
311
|
+
forwarding_rule_service_name=default["name"],
|
354
312
|
policy_data=admin.policy_data)
|
355
313
|
```
|
356
314
|
|
@@ -361,7 +319,7 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
361
319
|
import pulumi_gcp as gcp
|
362
320
|
|
363
321
|
admin = gcp.organizations.get_iam_policy(bindings=[{
|
364
|
-
"role": "roles/
|
322
|
+
"role": "roles/iap.httpsResourceAccessor",
|
365
323
|
"members": ["user:jane@example.com"],
|
366
324
|
"condition": {
|
367
325
|
"title": "expires_after_2019_12_31",
|
@@ -369,23 +327,21 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
369
327
|
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
370
328
|
},
|
371
329
|
}])
|
372
|
-
policy = gcp.
|
373
|
-
project=
|
374
|
-
|
375
|
-
application_id=example["applicationId"],
|
330
|
+
policy = gcp.iap.WebForwardingRuleServiceIamPolicy("policy",
|
331
|
+
project=default["project"],
|
332
|
+
forwarding_rule_service_name=default["name"],
|
376
333
|
policy_data=admin.policy_data)
|
377
334
|
```
|
378
|
-
##
|
335
|
+
## iap.WebForwardingRuleServiceIamBinding
|
379
336
|
|
380
337
|
```python
|
381
338
|
import pulumi
|
382
339
|
import pulumi_gcp as gcp
|
383
340
|
|
384
|
-
binding = gcp.
|
385
|
-
project=
|
386
|
-
|
387
|
-
|
388
|
-
role="roles/beyondcorp.securityGatewayUser",
|
341
|
+
binding = gcp.iap.WebForwardingRuleServiceIamBinding("binding",
|
342
|
+
project=default["project"],
|
343
|
+
forwarding_rule_service_name=default["name"],
|
344
|
+
role="roles/iap.httpsResourceAccessor",
|
389
345
|
members=["user:jane@example.com"])
|
390
346
|
```
|
391
347
|
|
@@ -395,11 +351,10 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
395
351
|
import pulumi
|
396
352
|
import pulumi_gcp as gcp
|
397
353
|
|
398
|
-
binding = gcp.
|
399
|
-
project=
|
400
|
-
|
401
|
-
|
402
|
-
role="roles/beyondcorp.securityGatewayUser",
|
354
|
+
binding = gcp.iap.WebForwardingRuleServiceIamBinding("binding",
|
355
|
+
project=default["project"],
|
356
|
+
forwarding_rule_service_name=default["name"],
|
357
|
+
role="roles/iap.httpsResourceAccessor",
|
403
358
|
members=["user:jane@example.com"],
|
404
359
|
condition={
|
405
360
|
"title": "expires_after_2019_12_31",
|
@@ -407,17 +362,16 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
407
362
|
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
408
363
|
})
|
409
364
|
```
|
410
|
-
##
|
365
|
+
## iap.WebForwardingRuleServiceIamMember
|
411
366
|
|
412
367
|
```python
|
413
368
|
import pulumi
|
414
369
|
import pulumi_gcp as gcp
|
415
370
|
|
416
|
-
member = gcp.
|
417
|
-
project=
|
418
|
-
|
419
|
-
|
420
|
-
role="roles/beyondcorp.securityGatewayUser",
|
371
|
+
member = gcp.iap.WebForwardingRuleServiceIamMember("member",
|
372
|
+
project=default["project"],
|
373
|
+
forwarding_rule_service_name=default["name"],
|
374
|
+
role="roles/iap.httpsResourceAccessor",
|
421
375
|
member="user:jane@example.com")
|
422
376
|
```
|
423
377
|
|
@@ -427,11 +381,10 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
427
381
|
import pulumi
|
428
382
|
import pulumi_gcp as gcp
|
429
383
|
|
430
|
-
member = gcp.
|
431
|
-
project=
|
432
|
-
|
433
|
-
|
434
|
-
role="roles/beyondcorp.securityGatewayUser",
|
384
|
+
member = gcp.iap.WebForwardingRuleServiceIamMember("member",
|
385
|
+
project=default["project"],
|
386
|
+
forwarding_rule_service_name=default["name"],
|
387
|
+
role="roles/iap.httpsResourceAccessor",
|
435
388
|
member="user:jane@example.com",
|
436
389
|
condition={
|
437
390
|
"title": "expires_after_2019_12_31",
|
@@ -444,34 +397,32 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
444
397
|
|
445
398
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
446
399
|
|
447
|
-
* projects/{{project}}/
|
448
|
-
|
449
|
-
* {{project}}/{{security_gateways_id}}/{{application_id}}
|
400
|
+
* projects/{{project}}/iap_web/forwarding_rule/services/{{name}}
|
450
401
|
|
451
|
-
* {{
|
402
|
+
* {{project}}/{{name}}
|
452
403
|
|
453
|
-
* {{
|
404
|
+
* {{name}}
|
454
405
|
|
455
406
|
Any variables not passed in the import command will be taken from the provider configuration.
|
456
407
|
|
457
|
-
|
408
|
+
Identity-Aware Proxy webforwardingruleservice IAM resources can be imported using the resource identifiers, role, and member.
|
458
409
|
|
459
410
|
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
|
460
411
|
|
461
412
|
```sh
|
462
|
-
$ pulumi import gcp:
|
413
|
+
$ pulumi import gcp:iap/webForwardingRuleServiceIamPolicy:WebForwardingRuleServiceIamPolicy editor "projects/{{project}}/iap_web/forwarding_rule/services/{{web_forwarding_rule_service}} roles/iap.httpsResourceAccessor user:jane@example.com"
|
463
414
|
```
|
464
415
|
|
465
416
|
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
|
466
417
|
|
467
418
|
```sh
|
468
|
-
$ pulumi import gcp:
|
419
|
+
$ pulumi import gcp:iap/webForwardingRuleServiceIamPolicy:WebForwardingRuleServiceIamPolicy editor "projects/{{project}}/iap_web/forwarding_rule/services/{{web_forwarding_rule_service}} roles/iap.httpsResourceAccessor"
|
469
420
|
```
|
470
421
|
|
471
422
|
IAM policy imports use the identifier of the resource in question, e.g.
|
472
423
|
|
473
424
|
```sh
|
474
|
-
$ pulumi import gcp:
|
425
|
+
$ pulumi import gcp:iap/webForwardingRuleServiceIamPolicy:WebForwardingRuleServiceIamPolicy editor projects/{{project}}/iap_web/forwarding_rule/services/{{web_forwarding_rule_service}}
|
475
426
|
```
|
476
427
|
|
477
428
|
-> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
|
@@ -480,52 +431,48 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
480
431
|
|
481
432
|
:param str resource_name: The name of the resource.
|
482
433
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
483
|
-
:param pulumi.Input[_builtins.str]
|
434
|
+
:param pulumi.Input[_builtins.str] forwarding_rule_service_name: Used to find the parent resource to bind the IAM policy to
|
484
435
|
:param pulumi.Input[_builtins.str] policy_data: The policy data generated by
|
485
436
|
a `organizations_get_iam_policy` data source.
|
486
437
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
487
438
|
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
488
|
-
:param pulumi.Input[_builtins.str] security_gateways_id: Part of `parent`. See documentation of `projectsId`. Used to find the parent resource to bind the IAM policy to
|
489
439
|
"""
|
490
440
|
...
|
491
441
|
@overload
|
492
442
|
def __init__(__self__,
|
493
443
|
resource_name: str,
|
494
|
-
args:
|
444
|
+
args: WebForwardingRuleServiceIamPolicyArgs,
|
495
445
|
opts: Optional[pulumi.ResourceOptions] = None):
|
496
446
|
"""
|
497
|
-
|
498
|
-
|
499
|
-
Three different resources help you manage your IAM policy for BeyondCorp Application. Each of these resources serves a different use case:
|
447
|
+
Three different resources help you manage your IAM policy for Identity-Aware Proxy WebForwardingRuleService. Each of these resources serves a different use case:
|
500
448
|
|
501
|
-
* `
|
502
|
-
* `
|
503
|
-
* `
|
449
|
+
* `iap.WebForwardingRuleServiceIamPolicy`: Authoritative. Sets the IAM policy for the webforwardingruleservice and replaces any existing policy already attached.
|
450
|
+
* `iap.WebForwardingRuleServiceIamBinding`: 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 webforwardingruleservice are preserved.
|
451
|
+
* `iap.WebForwardingRuleServiceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the webforwardingruleservice are preserved.
|
504
452
|
|
505
453
|
A data source can be used to retrieve policy data in advent you do not need creation
|
506
454
|
|
507
|
-
* `
|
455
|
+
* `iap.WebForwardingRuleServiceIamPolicy`: Retrieves the IAM policy for the webforwardingruleservice
|
508
456
|
|
509
|
-
> **Note:** `
|
457
|
+
> **Note:** `iap.WebForwardingRuleServiceIamPolicy` **cannot** be used in conjunction with `iap.WebForwardingRuleServiceIamBinding` and `iap.WebForwardingRuleServiceIamMember` or they will fight over what your policy should be.
|
510
458
|
|
511
|
-
> **Note:** `
|
459
|
+
> **Note:** `iap.WebForwardingRuleServiceIamBinding` resources **can be** used in conjunction with `iap.WebForwardingRuleServiceIamMember` resources **only if** they do not grant privilege to the same role.
|
512
460
|
|
513
461
|
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
|
514
462
|
|
515
|
-
##
|
463
|
+
## iap.WebForwardingRuleServiceIamPolicy
|
516
464
|
|
517
465
|
```python
|
518
466
|
import pulumi
|
519
467
|
import pulumi_gcp as gcp
|
520
468
|
|
521
469
|
admin = gcp.organizations.get_iam_policy(bindings=[{
|
522
|
-
"role": "roles/
|
470
|
+
"role": "roles/iap.httpsResourceAccessor",
|
523
471
|
"members": ["user:jane@example.com"],
|
524
472
|
}])
|
525
|
-
policy = gcp.
|
526
|
-
project=
|
527
|
-
|
528
|
-
application_id=example["applicationId"],
|
473
|
+
policy = gcp.iap.WebForwardingRuleServiceIamPolicy("policy",
|
474
|
+
project=default["project"],
|
475
|
+
forwarding_rule_service_name=default["name"],
|
529
476
|
policy_data=admin.policy_data)
|
530
477
|
```
|
531
478
|
|
@@ -536,7 +483,7 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
536
483
|
import pulumi_gcp as gcp
|
537
484
|
|
538
485
|
admin = gcp.organizations.get_iam_policy(bindings=[{
|
539
|
-
"role": "roles/
|
486
|
+
"role": "roles/iap.httpsResourceAccessor",
|
540
487
|
"members": ["user:jane@example.com"],
|
541
488
|
"condition": {
|
542
489
|
"title": "expires_after_2019_12_31",
|
@@ -544,23 +491,21 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
544
491
|
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
545
492
|
},
|
546
493
|
}])
|
547
|
-
policy = gcp.
|
548
|
-
project=
|
549
|
-
|
550
|
-
application_id=example["applicationId"],
|
494
|
+
policy = gcp.iap.WebForwardingRuleServiceIamPolicy("policy",
|
495
|
+
project=default["project"],
|
496
|
+
forwarding_rule_service_name=default["name"],
|
551
497
|
policy_data=admin.policy_data)
|
552
498
|
```
|
553
|
-
##
|
499
|
+
## iap.WebForwardingRuleServiceIamBinding
|
554
500
|
|
555
501
|
```python
|
556
502
|
import pulumi
|
557
503
|
import pulumi_gcp as gcp
|
558
504
|
|
559
|
-
binding = gcp.
|
560
|
-
project=
|
561
|
-
|
562
|
-
|
563
|
-
role="roles/beyondcorp.securityGatewayUser",
|
505
|
+
binding = gcp.iap.WebForwardingRuleServiceIamBinding("binding",
|
506
|
+
project=default["project"],
|
507
|
+
forwarding_rule_service_name=default["name"],
|
508
|
+
role="roles/iap.httpsResourceAccessor",
|
564
509
|
members=["user:jane@example.com"])
|
565
510
|
```
|
566
511
|
|
@@ -570,11 +515,10 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
570
515
|
import pulumi
|
571
516
|
import pulumi_gcp as gcp
|
572
517
|
|
573
|
-
binding = gcp.
|
574
|
-
project=
|
575
|
-
|
576
|
-
|
577
|
-
role="roles/beyondcorp.securityGatewayUser",
|
518
|
+
binding = gcp.iap.WebForwardingRuleServiceIamBinding("binding",
|
519
|
+
project=default["project"],
|
520
|
+
forwarding_rule_service_name=default["name"],
|
521
|
+
role="roles/iap.httpsResourceAccessor",
|
578
522
|
members=["user:jane@example.com"],
|
579
523
|
condition={
|
580
524
|
"title": "expires_after_2019_12_31",
|
@@ -582,17 +526,16 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
582
526
|
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
583
527
|
})
|
584
528
|
```
|
585
|
-
##
|
529
|
+
## iap.WebForwardingRuleServiceIamMember
|
586
530
|
|
587
531
|
```python
|
588
532
|
import pulumi
|
589
533
|
import pulumi_gcp as gcp
|
590
534
|
|
591
|
-
member = gcp.
|
592
|
-
project=
|
593
|
-
|
594
|
-
|
595
|
-
role="roles/beyondcorp.securityGatewayUser",
|
535
|
+
member = gcp.iap.WebForwardingRuleServiceIamMember("member",
|
536
|
+
project=default["project"],
|
537
|
+
forwarding_rule_service_name=default["name"],
|
538
|
+
role="roles/iap.httpsResourceAccessor",
|
596
539
|
member="user:jane@example.com")
|
597
540
|
```
|
598
541
|
|
@@ -602,11 +545,10 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
602
545
|
import pulumi
|
603
546
|
import pulumi_gcp as gcp
|
604
547
|
|
605
|
-
member = gcp.
|
606
|
-
project=
|
607
|
-
|
608
|
-
|
609
|
-
role="roles/beyondcorp.securityGatewayUser",
|
548
|
+
member = gcp.iap.WebForwardingRuleServiceIamMember("member",
|
549
|
+
project=default["project"],
|
550
|
+
forwarding_rule_service_name=default["name"],
|
551
|
+
role="roles/iap.httpsResourceAccessor",
|
610
552
|
member="user:jane@example.com",
|
611
553
|
condition={
|
612
554
|
"title": "expires_after_2019_12_31",
|
@@ -619,39 +561,37 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
619
561
|
|
620
562
|
-
|
621
563
|
|
622
|
-
# IAM policy for
|
623
|
-
> **Warning:** `beyondcorp.Application` and associated IAM resources are deprecated. Use `beyondcorp.SecurityGatewayApplication` instead.
|
564
|
+
# IAM policy for Identity-Aware Proxy WebForwardingRuleService
|
624
565
|
|
625
|
-
Three different resources help you manage your IAM policy for
|
566
|
+
Three different resources help you manage your IAM policy for Identity-Aware Proxy WebForwardingRuleService. Each of these resources serves a different use case:
|
626
567
|
|
627
|
-
* `
|
628
|
-
* `
|
629
|
-
* `
|
568
|
+
* `iap.WebForwardingRuleServiceIamPolicy`: Authoritative. Sets the IAM policy for the webforwardingruleservice and replaces any existing policy already attached.
|
569
|
+
* `iap.WebForwardingRuleServiceIamBinding`: 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 webforwardingruleservice are preserved.
|
570
|
+
* `iap.WebForwardingRuleServiceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the webforwardingruleservice are preserved.
|
630
571
|
|
631
572
|
A data source can be used to retrieve policy data in advent you do not need creation
|
632
573
|
|
633
|
-
* `
|
574
|
+
* `iap.WebForwardingRuleServiceIamPolicy`: Retrieves the IAM policy for the webforwardingruleservice
|
634
575
|
|
635
|
-
> **Note:** `
|
576
|
+
> **Note:** `iap.WebForwardingRuleServiceIamPolicy` **cannot** be used in conjunction with `iap.WebForwardingRuleServiceIamBinding` and `iap.WebForwardingRuleServiceIamMember` or they will fight over what your policy should be.
|
636
577
|
|
637
|
-
> **Note:** `
|
578
|
+
> **Note:** `iap.WebForwardingRuleServiceIamBinding` resources **can be** used in conjunction with `iap.WebForwardingRuleServiceIamMember` resources **only if** they do not grant privilege to the same role.
|
638
579
|
|
639
580
|
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
|
640
581
|
|
641
|
-
##
|
582
|
+
## iap.WebForwardingRuleServiceIamPolicy
|
642
583
|
|
643
584
|
```python
|
644
585
|
import pulumi
|
645
586
|
import pulumi_gcp as gcp
|
646
587
|
|
647
588
|
admin = gcp.organizations.get_iam_policy(bindings=[{
|
648
|
-
"role": "roles/
|
589
|
+
"role": "roles/iap.httpsResourceAccessor",
|
649
590
|
"members": ["user:jane@example.com"],
|
650
591
|
}])
|
651
|
-
policy = gcp.
|
652
|
-
project=
|
653
|
-
|
654
|
-
application_id=example["applicationId"],
|
592
|
+
policy = gcp.iap.WebForwardingRuleServiceIamPolicy("policy",
|
593
|
+
project=default["project"],
|
594
|
+
forwarding_rule_service_name=default["name"],
|
655
595
|
policy_data=admin.policy_data)
|
656
596
|
```
|
657
597
|
|
@@ -662,7 +602,7 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
662
602
|
import pulumi_gcp as gcp
|
663
603
|
|
664
604
|
admin = gcp.organizations.get_iam_policy(bindings=[{
|
665
|
-
"role": "roles/
|
605
|
+
"role": "roles/iap.httpsResourceAccessor",
|
666
606
|
"members": ["user:jane@example.com"],
|
667
607
|
"condition": {
|
668
608
|
"title": "expires_after_2019_12_31",
|
@@ -670,23 +610,21 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
670
610
|
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
671
611
|
},
|
672
612
|
}])
|
673
|
-
policy = gcp.
|
674
|
-
project=
|
675
|
-
|
676
|
-
application_id=example["applicationId"],
|
613
|
+
policy = gcp.iap.WebForwardingRuleServiceIamPolicy("policy",
|
614
|
+
project=default["project"],
|
615
|
+
forwarding_rule_service_name=default["name"],
|
677
616
|
policy_data=admin.policy_data)
|
678
617
|
```
|
679
|
-
##
|
618
|
+
## iap.WebForwardingRuleServiceIamBinding
|
680
619
|
|
681
620
|
```python
|
682
621
|
import pulumi
|
683
622
|
import pulumi_gcp as gcp
|
684
623
|
|
685
|
-
binding = gcp.
|
686
|
-
project=
|
687
|
-
|
688
|
-
|
689
|
-
role="roles/beyondcorp.securityGatewayUser",
|
624
|
+
binding = gcp.iap.WebForwardingRuleServiceIamBinding("binding",
|
625
|
+
project=default["project"],
|
626
|
+
forwarding_rule_service_name=default["name"],
|
627
|
+
role="roles/iap.httpsResourceAccessor",
|
690
628
|
members=["user:jane@example.com"])
|
691
629
|
```
|
692
630
|
|
@@ -696,11 +634,10 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
696
634
|
import pulumi
|
697
635
|
import pulumi_gcp as gcp
|
698
636
|
|
699
|
-
binding = gcp.
|
700
|
-
project=
|
701
|
-
|
702
|
-
|
703
|
-
role="roles/beyondcorp.securityGatewayUser",
|
637
|
+
binding = gcp.iap.WebForwardingRuleServiceIamBinding("binding",
|
638
|
+
project=default["project"],
|
639
|
+
forwarding_rule_service_name=default["name"],
|
640
|
+
role="roles/iap.httpsResourceAccessor",
|
704
641
|
members=["user:jane@example.com"],
|
705
642
|
condition={
|
706
643
|
"title": "expires_after_2019_12_31",
|
@@ -708,17 +645,16 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
708
645
|
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
709
646
|
})
|
710
647
|
```
|
711
|
-
##
|
648
|
+
## iap.WebForwardingRuleServiceIamMember
|
712
649
|
|
713
650
|
```python
|
714
651
|
import pulumi
|
715
652
|
import pulumi_gcp as gcp
|
716
653
|
|
717
|
-
member = gcp.
|
718
|
-
project=
|
719
|
-
|
720
|
-
|
721
|
-
role="roles/beyondcorp.securityGatewayUser",
|
654
|
+
member = gcp.iap.WebForwardingRuleServiceIamMember("member",
|
655
|
+
project=default["project"],
|
656
|
+
forwarding_rule_service_name=default["name"],
|
657
|
+
role="roles/iap.httpsResourceAccessor",
|
722
658
|
member="user:jane@example.com")
|
723
659
|
```
|
724
660
|
|
@@ -728,11 +664,10 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
728
664
|
import pulumi
|
729
665
|
import pulumi_gcp as gcp
|
730
666
|
|
731
|
-
member = gcp.
|
732
|
-
project=
|
733
|
-
|
734
|
-
|
735
|
-
role="roles/beyondcorp.securityGatewayUser",
|
667
|
+
member = gcp.iap.WebForwardingRuleServiceIamMember("member",
|
668
|
+
project=default["project"],
|
669
|
+
forwarding_rule_service_name=default["name"],
|
670
|
+
role="roles/iap.httpsResourceAccessor",
|
736
671
|
member="user:jane@example.com",
|
737
672
|
condition={
|
738
673
|
"title": "expires_after_2019_12_31",
|
@@ -745,34 +680,32 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
745
680
|
|
746
681
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
747
682
|
|
748
|
-
* projects/{{project}}/
|
683
|
+
* projects/{{project}}/iap_web/forwarding_rule/services/{{name}}
|
749
684
|
|
750
|
-
* {{project}}/{{
|
685
|
+
* {{project}}/{{name}}
|
751
686
|
|
752
|
-
* {{
|
753
|
-
|
754
|
-
* {{application_id}}
|
687
|
+
* {{name}}
|
755
688
|
|
756
689
|
Any variables not passed in the import command will be taken from the provider configuration.
|
757
690
|
|
758
|
-
|
691
|
+
Identity-Aware Proxy webforwardingruleservice IAM resources can be imported using the resource identifiers, role, and member.
|
759
692
|
|
760
693
|
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
|
761
694
|
|
762
695
|
```sh
|
763
|
-
$ pulumi import gcp:
|
696
|
+
$ pulumi import gcp:iap/webForwardingRuleServiceIamPolicy:WebForwardingRuleServiceIamPolicy editor "projects/{{project}}/iap_web/forwarding_rule/services/{{web_forwarding_rule_service}} roles/iap.httpsResourceAccessor user:jane@example.com"
|
764
697
|
```
|
765
698
|
|
766
699
|
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
|
767
700
|
|
768
701
|
```sh
|
769
|
-
$ pulumi import gcp:
|
702
|
+
$ pulumi import gcp:iap/webForwardingRuleServiceIamPolicy:WebForwardingRuleServiceIamPolicy editor "projects/{{project}}/iap_web/forwarding_rule/services/{{web_forwarding_rule_service}} roles/iap.httpsResourceAccessor"
|
770
703
|
```
|
771
704
|
|
772
705
|
IAM policy imports use the identifier of the resource in question, e.g.
|
773
706
|
|
774
707
|
```sh
|
775
|
-
$ pulumi import gcp:
|
708
|
+
$ pulumi import gcp:iap/webForwardingRuleServiceIamPolicy:WebForwardingRuleServiceIamPolicy editor projects/{{project}}/iap_web/forwarding_rule/services/{{web_forwarding_rule_service}}
|
776
709
|
```
|
777
710
|
|
778
711
|
-> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
|
@@ -780,12 +713,12 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
780
713
|
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
781
714
|
|
782
715
|
:param str resource_name: The name of the resource.
|
783
|
-
:param
|
716
|
+
:param WebForwardingRuleServiceIamPolicyArgs args: The arguments to use to populate this resource's properties.
|
784
717
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
785
718
|
"""
|
786
719
|
...
|
787
720
|
def __init__(__self__, resource_name: str, *args, **kwargs):
|
788
|
-
resource_args, opts = _utilities.get_resource_args_opts(
|
721
|
+
resource_args, opts = _utilities.get_resource_args_opts(WebForwardingRuleServiceIamPolicyArgs, pulumi.ResourceOptions, *args, **kwargs)
|
789
722
|
if resource_args is not None:
|
790
723
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
791
724
|
else:
|
@@ -794,10 +727,9 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
794
727
|
def _internal_init(__self__,
|
795
728
|
resource_name: str,
|
796
729
|
opts: Optional[pulumi.ResourceOptions] = None,
|
797
|
-
|
730
|
+
forwarding_rule_service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
798
731
|
policy_data: Optional[pulumi.Input[_builtins.str]] = None,
|
799
732
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
800
|
-
security_gateways_id: Optional[pulumi.Input[_builtins.str]] = None,
|
801
733
|
__props__=None):
|
802
734
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
803
735
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -805,21 +737,18 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
805
737
|
if opts.id is None:
|
806
738
|
if __props__ is not None:
|
807
739
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
808
|
-
__props__ =
|
740
|
+
__props__ = WebForwardingRuleServiceIamPolicyArgs.__new__(WebForwardingRuleServiceIamPolicyArgs)
|
809
741
|
|
810
|
-
if
|
811
|
-
raise TypeError("Missing required property '
|
812
|
-
__props__.__dict__["
|
742
|
+
if forwarding_rule_service_name is None and not opts.urn:
|
743
|
+
raise TypeError("Missing required property 'forwarding_rule_service_name'")
|
744
|
+
__props__.__dict__["forwarding_rule_service_name"] = forwarding_rule_service_name
|
813
745
|
if policy_data is None and not opts.urn:
|
814
746
|
raise TypeError("Missing required property 'policy_data'")
|
815
747
|
__props__.__dict__["policy_data"] = policy_data
|
816
748
|
__props__.__dict__["project"] = project
|
817
|
-
if security_gateways_id is None and not opts.urn:
|
818
|
-
raise TypeError("Missing required property 'security_gateways_id'")
|
819
|
-
__props__.__dict__["security_gateways_id"] = security_gateways_id
|
820
749
|
__props__.__dict__["etag"] = None
|
821
|
-
super(
|
822
|
-
'gcp:
|
750
|
+
super(WebForwardingRuleServiceIamPolicy, __self__).__init__(
|
751
|
+
'gcp:iap/webForwardingRuleServiceIamPolicy:WebForwardingRuleServiceIamPolicy',
|
823
752
|
resource_name,
|
824
753
|
__props__,
|
825
754
|
opts)
|
@@ -828,44 +757,33 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
828
757
|
def get(resource_name: str,
|
829
758
|
id: pulumi.Input[str],
|
830
759
|
opts: Optional[pulumi.ResourceOptions] = None,
|
831
|
-
application_id: Optional[pulumi.Input[_builtins.str]] = None,
|
832
760
|
etag: Optional[pulumi.Input[_builtins.str]] = None,
|
761
|
+
forwarding_rule_service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
833
762
|
policy_data: Optional[pulumi.Input[_builtins.str]] = None,
|
834
|
-
project: Optional[pulumi.Input[_builtins.str]] = None
|
835
|
-
security_gateways_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'ApplicationIamPolicy':
|
763
|
+
project: Optional[pulumi.Input[_builtins.str]] = None) -> 'WebForwardingRuleServiceIamPolicy':
|
836
764
|
"""
|
837
|
-
Get an existing
|
765
|
+
Get an existing WebForwardingRuleServiceIamPolicy resource's state with the given name, id, and optional extra
|
838
766
|
properties used to qualify the lookup.
|
839
767
|
|
840
768
|
:param str resource_name: The unique name of the resulting resource.
|
841
769
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
842
770
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
843
|
-
:param pulumi.Input[_builtins.str] application_id: Used to find the parent resource to bind the IAM policy to
|
844
771
|
:param pulumi.Input[_builtins.str] etag: (Computed) The etag of the IAM policy.
|
772
|
+
:param pulumi.Input[_builtins.str] forwarding_rule_service_name: Used to find the parent resource to bind the IAM policy to
|
845
773
|
:param pulumi.Input[_builtins.str] policy_data: The policy data generated by
|
846
774
|
a `organizations_get_iam_policy` data source.
|
847
775
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
848
776
|
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
849
|
-
:param pulumi.Input[_builtins.str] security_gateways_id: Part of `parent`. See documentation of `projectsId`. Used to find the parent resource to bind the IAM policy to
|
850
777
|
"""
|
851
778
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
852
779
|
|
853
|
-
__props__ =
|
780
|
+
__props__ = _WebForwardingRuleServiceIamPolicyState.__new__(_WebForwardingRuleServiceIamPolicyState)
|
854
781
|
|
855
|
-
__props__.__dict__["application_id"] = application_id
|
856
782
|
__props__.__dict__["etag"] = etag
|
783
|
+
__props__.__dict__["forwarding_rule_service_name"] = forwarding_rule_service_name
|
857
784
|
__props__.__dict__["policy_data"] = policy_data
|
858
785
|
__props__.__dict__["project"] = project
|
859
|
-
|
860
|
-
return ApplicationIamPolicy(resource_name, opts=opts, __props__=__props__)
|
861
|
-
|
862
|
-
@_builtins.property
|
863
|
-
@pulumi.getter(name="applicationId")
|
864
|
-
def application_id(self) -> pulumi.Output[_builtins.str]:
|
865
|
-
"""
|
866
|
-
Used to find the parent resource to bind the IAM policy to
|
867
|
-
"""
|
868
|
-
return pulumi.get(self, "application_id")
|
786
|
+
return WebForwardingRuleServiceIamPolicy(resource_name, opts=opts, __props__=__props__)
|
869
787
|
|
870
788
|
@_builtins.property
|
871
789
|
@pulumi.getter
|
@@ -875,6 +793,14 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
875
793
|
"""
|
876
794
|
return pulumi.get(self, "etag")
|
877
795
|
|
796
|
+
@_builtins.property
|
797
|
+
@pulumi.getter(name="forwardingRuleServiceName")
|
798
|
+
def forwarding_rule_service_name(self) -> pulumi.Output[_builtins.str]:
|
799
|
+
"""
|
800
|
+
Used to find the parent resource to bind the IAM policy to
|
801
|
+
"""
|
802
|
+
return pulumi.get(self, "forwarding_rule_service_name")
|
803
|
+
|
878
804
|
@_builtins.property
|
879
805
|
@pulumi.getter(name="policyData")
|
880
806
|
def policy_data(self) -> pulumi.Output[_builtins.str]:
|
@@ -893,11 +819,3 @@ class ApplicationIamPolicy(pulumi.CustomResource):
|
|
893
819
|
"""
|
894
820
|
return pulumi.get(self, "project")
|
895
821
|
|
896
|
-
@_builtins.property
|
897
|
-
@pulumi.getter(name="securityGatewaysId")
|
898
|
-
def security_gateways_id(self) -> pulumi.Output[_builtins.str]:
|
899
|
-
"""
|
900
|
-
Part of `parent`. See documentation of `projectsId`. Used to find the parent resource to bind the IAM policy to
|
901
|
-
"""
|
902
|
-
return pulumi.get(self, "security_gateways_id")
|
903
|
-
|