pulumi-gcp 7.35.0a1722924350__py3-none-any.whl → 7.36.0__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.
Potentially problematic release.
This version of pulumi-gcp might be problematic. Click here for more details.
- pulumi_gcp/accesscontextmanager/_inputs.py +12 -3
- pulumi_gcp/accesscontextmanager/access_policy.py +18 -18
- pulumi_gcp/accesscontextmanager/access_policy_iam_binding.py +40 -0
- pulumi_gcp/accesscontextmanager/access_policy_iam_member.py +40 -0
- pulumi_gcp/accesscontextmanager/access_policy_iam_policy.py +40 -0
- pulumi_gcp/accesscontextmanager/outputs.py +8 -2
- pulumi_gcp/apigateway/api_config_iam_binding.py +38 -0
- pulumi_gcp/apigateway/api_config_iam_member.py +38 -0
- pulumi_gcp/apigateway/api_config_iam_policy.py +38 -0
- pulumi_gcp/apigateway/api_iam_binding.py +38 -0
- pulumi_gcp/apigateway/api_iam_member.py +38 -0
- pulumi_gcp/apigateway/api_iam_policy.py +38 -0
- pulumi_gcp/apigateway/gateway_iam_binding.py +38 -0
- pulumi_gcp/apigateway/gateway_iam_member.py +38 -0
- pulumi_gcp/apigateway/gateway_iam_policy.py +38 -0
- pulumi_gcp/apigee/environment_iam_binding.py +40 -0
- pulumi_gcp/apigee/environment_iam_member.py +40 -0
- pulumi_gcp/apigee/environment_iam_policy.py +40 -0
- pulumi_gcp/artifactregistry/repository_iam_binding.py +38 -0
- pulumi_gcp/artifactregistry/repository_iam_member.py +38 -0
- pulumi_gcp/artifactregistry/repository_iam_policy.py +38 -0
- pulumi_gcp/bigquery/connection_iam_binding.py +38 -0
- pulumi_gcp/bigquery/connection_iam_member.py +38 -0
- pulumi_gcp/bigquery/connection_iam_policy.py +38 -0
- pulumi_gcp/bigquery/data_transfer_config.py +52 -0
- pulumi_gcp/bigquery/dataset_iam_binding.py +0 -32
- pulumi_gcp/bigquery/dataset_iam_member.py +0 -32
- pulumi_gcp/bigquery/dataset_iam_policy.py +0 -32
- pulumi_gcp/bigquery/iam_binding.py +42 -0
- pulumi_gcp/bigquery/iam_member.py +42 -0
- pulumi_gcp/bigquery/iam_policy.py +42 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +38 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +38 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +38 -0
- pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +38 -0
- pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +38 -0
- pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +38 -0
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_binding.py +38 -0
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_member.py +38 -0
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_policy.py +38 -0
- pulumi_gcp/binaryauthorization/attestor_iam_binding.py +38 -0
- pulumi_gcp/binaryauthorization/attestor_iam_member.py +38 -0
- pulumi_gcp/binaryauthorization/attestor_iam_policy.py +38 -0
- pulumi_gcp/certificateauthority/ca_pool_iam_binding.py +42 -0
- pulumi_gcp/certificateauthority/ca_pool_iam_member.py +42 -0
- pulumi_gcp/certificateauthority/ca_pool_iam_policy.py +42 -0
- pulumi_gcp/certificateauthority/certificate_template_iam_binding.py +42 -0
- pulumi_gcp/certificateauthority/certificate_template_iam_member.py +42 -0
- pulumi_gcp/certificateauthority/certificate_template_iam_policy.py +42 -0
- pulumi_gcp/cloudbuildv2/connection_iam_binding.py +38 -0
- pulumi_gcp/cloudbuildv2/connection_iam_member.py +38 -0
- pulumi_gcp/cloudbuildv2/connection_iam_policy.py +38 -0
- pulumi_gcp/cloudfunctions/function_iam_binding.py +38 -0
- pulumi_gcp/cloudfunctions/function_iam_member.py +38 -0
- pulumi_gcp/cloudfunctions/function_iam_policy.py +38 -0
- pulumi_gcp/cloudfunctionsv2/function_iam_binding.py +38 -0
- pulumi_gcp/cloudfunctionsv2/function_iam_member.py +38 -0
- pulumi_gcp/cloudfunctionsv2/function_iam_policy.py +38 -0
- pulumi_gcp/cloudrun/iam_binding.py +38 -0
- pulumi_gcp/cloudrun/iam_member.py +38 -0
- pulumi_gcp/cloudrun/iam_policy.py +38 -0
- pulumi_gcp/cloudrunv2/job_iam_binding.py +38 -0
- pulumi_gcp/cloudrunv2/job_iam_member.py +38 -0
- pulumi_gcp/cloudrunv2/job_iam_policy.py +38 -0
- pulumi_gcp/cloudrunv2/service_iam_binding.py +38 -0
- pulumi_gcp/cloudrunv2/service_iam_member.py +38 -0
- pulumi_gcp/cloudrunv2/service_iam_policy.py +38 -0
- pulumi_gcp/cloudtasks/queue_iam_binding.py +38 -0
- pulumi_gcp/cloudtasks/queue_iam_member.py +38 -0
- pulumi_gcp/cloudtasks/queue_iam_policy.py +38 -0
- pulumi_gcp/compute/_inputs.py +24 -24
- pulumi_gcp/compute/disk.py +75 -0
- pulumi_gcp/compute/disk_iam_binding.py +38 -0
- pulumi_gcp/compute/disk_iam_member.py +38 -0
- pulumi_gcp/compute/disk_iam_policy.py +38 -0
- pulumi_gcp/compute/get_disk.py +11 -1
- pulumi_gcp/compute/get_hc_vpn_gateway.py +11 -1
- pulumi_gcp/compute/get_instance_template.py +2 -2
- pulumi_gcp/compute/get_region_instance_template.py +2 -2
- pulumi_gcp/compute/get_snapshot.py +2 -2
- pulumi_gcp/compute/ha_vpn_gateway.py +68 -7
- pulumi_gcp/compute/image_iam_binding.py +42 -0
- pulumi_gcp/compute/image_iam_member.py +42 -0
- pulumi_gcp/compute/image_iam_policy.py +42 -0
- pulumi_gcp/compute/instance_iam_binding.py +42 -0
- pulumi_gcp/compute/instance_iam_member.py +42 -0
- pulumi_gcp/compute/instance_iam_policy.py +42 -0
- pulumi_gcp/compute/machine_image_iam_binding.py +40 -0
- pulumi_gcp/compute/machine_image_iam_member.py +40 -0
- pulumi_gcp/compute/machine_image_iam_policy.py +40 -0
- pulumi_gcp/compute/outputs.py +24 -24
- pulumi_gcp/compute/region_disk_iam_binding.py +38 -0
- pulumi_gcp/compute/region_disk_iam_member.py +38 -0
- pulumi_gcp/compute/region_disk_iam_policy.py +38 -0
- pulumi_gcp/compute/snapshot_iam_binding.py +38 -0
- pulumi_gcp/compute/snapshot_iam_member.py +38 -0
- pulumi_gcp/compute/snapshot_iam_policy.py +38 -0
- pulumi_gcp/compute/subnetwork_iam_binding.py +42 -0
- pulumi_gcp/compute/subnetwork_iam_member.py +42 -0
- pulumi_gcp/compute/subnetwork_iam_policy.py +42 -0
- pulumi_gcp/container/_inputs.py +3 -3
- pulumi_gcp/container/outputs.py +2 -2
- pulumi_gcp/containeranalysis/note_iam_binding.py +38 -0
- pulumi_gcp/containeranalysis/note_iam_member.py +38 -0
- pulumi_gcp/containeranalysis/note_iam_policy.py +38 -0
- pulumi_gcp/datacatalog/entry_group_iam_binding.py +38 -0
- pulumi_gcp/datacatalog/entry_group_iam_member.py +38 -0
- pulumi_gcp/datacatalog/entry_group_iam_policy.py +38 -0
- pulumi_gcp/datacatalog/policy_tag_iam_binding.py +40 -0
- pulumi_gcp/datacatalog/policy_tag_iam_member.py +40 -0
- pulumi_gcp/datacatalog/policy_tag_iam_policy.py +40 -0
- pulumi_gcp/datacatalog/tag_template_iam_binding.py +38 -0
- pulumi_gcp/datacatalog/tag_template_iam_member.py +38 -0
- pulumi_gcp/datacatalog/tag_template_iam_policy.py +38 -0
- pulumi_gcp/datacatalog/taxonomy_iam_binding.py +38 -0
- pulumi_gcp/datacatalog/taxonomy_iam_member.py +38 -0
- pulumi_gcp/datacatalog/taxonomy_iam_policy.py +38 -0
- pulumi_gcp/dataplex/aspect_type_iam_binding.py +38 -0
- pulumi_gcp/dataplex/aspect_type_iam_member.py +38 -0
- pulumi_gcp/dataplex/aspect_type_iam_policy.py +38 -0
- pulumi_gcp/dataplex/asset_iam_binding.py +38 -0
- pulumi_gcp/dataplex/asset_iam_member.py +38 -0
- pulumi_gcp/dataplex/asset_iam_policy.py +38 -0
- pulumi_gcp/dataplex/datascan_iam_binding.py +38 -0
- pulumi_gcp/dataplex/datascan_iam_member.py +38 -0
- pulumi_gcp/dataplex/datascan_iam_policy.py +38 -0
- pulumi_gcp/dataplex/entry_group_iam_binding.py +38 -0
- pulumi_gcp/dataplex/entry_group_iam_member.py +38 -0
- pulumi_gcp/dataplex/entry_group_iam_policy.py +38 -0
- pulumi_gcp/dataplex/entry_type_iam_binding.py +38 -0
- pulumi_gcp/dataplex/entry_type_iam_member.py +38 -0
- pulumi_gcp/dataplex/entry_type_iam_policy.py +38 -0
- pulumi_gcp/dataplex/lake_iam_binding.py +38 -0
- pulumi_gcp/dataplex/lake_iam_member.py +38 -0
- pulumi_gcp/dataplex/lake_iam_policy.py +38 -0
- pulumi_gcp/dataplex/task_iam_binding.py +38 -0
- pulumi_gcp/dataplex/task_iam_member.py +38 -0
- pulumi_gcp/dataplex/task_iam_policy.py +38 -0
- pulumi_gcp/dataplex/zone_iam_binding.py +38 -0
- pulumi_gcp/dataplex/zone_iam_member.py +38 -0
- pulumi_gcp/dataplex/zone_iam_policy.py +38 -0
- pulumi_gcp/dataproc/autoscaling_policy_iam_binding.py +38 -0
- pulumi_gcp/dataproc/autoscaling_policy_iam_member.py +38 -0
- pulumi_gcp/dataproc/autoscaling_policy_iam_policy.py +38 -0
- pulumi_gcp/dataproc/metastore_federation_iam_binding.py +38 -0
- pulumi_gcp/dataproc/metastore_federation_iam_member.py +38 -0
- pulumi_gcp/dataproc/metastore_federation_iam_policy.py +38 -0
- pulumi_gcp/dataproc/metastore_service_iam_binding.py +38 -0
- pulumi_gcp/dataproc/metastore_service_iam_member.py +38 -0
- pulumi_gcp/dataproc/metastore_service_iam_policy.py +38 -0
- pulumi_gcp/dns/dns_managed_zone_iam_binding.py +38 -0
- pulumi_gcp/dns/dns_managed_zone_iam_member.py +38 -0
- pulumi_gcp/dns/dns_managed_zone_iam_policy.py +38 -0
- pulumi_gcp/endpoints/service_iam_binding.py +40 -0
- pulumi_gcp/endpoints/service_iam_member.py +40 -0
- pulumi_gcp/endpoints/service_iam_policy.py +40 -0
- pulumi_gcp/firebase/project.py +10 -2
- pulumi_gcp/folder/iam_audit_config.py +0 -86
- pulumi_gcp/folder/iam_member.py +0 -86
- pulumi_gcp/folder/iam_policy.py +0 -86
- pulumi_gcp/gkebackup/backup_plan_iam_binding.py +38 -0
- pulumi_gcp/gkebackup/backup_plan_iam_member.py +38 -0
- pulumi_gcp/gkebackup/backup_plan_iam_policy.py +38 -0
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +38 -0
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +38 -0
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +38 -0
- pulumi_gcp/gkehub/feature_iam_binding.py +38 -0
- pulumi_gcp/gkehub/feature_iam_member.py +38 -0
- pulumi_gcp/gkehub/feature_iam_policy.py +38 -0
- pulumi_gcp/gkehub/membership_iam_binding.py +38 -0
- pulumi_gcp/gkehub/membership_iam_member.py +38 -0
- pulumi_gcp/gkehub/membership_iam_policy.py +38 -0
- pulumi_gcp/gkehub/scope_iam_binding.py +38 -0
- pulumi_gcp/gkehub/scope_iam_member.py +38 -0
- pulumi_gcp/gkehub/scope_iam_policy.py +38 -0
- pulumi_gcp/healthcare/consent_store_iam_binding.py +40 -0
- pulumi_gcp/healthcare/consent_store_iam_member.py +40 -0
- pulumi_gcp/healthcare/consent_store_iam_policy.py +40 -0
- pulumi_gcp/healthcare/dataset_iam_binding.py +0 -30
- pulumi_gcp/healthcare/dataset_iam_member.py +0 -30
- pulumi_gcp/healthcare/dataset_iam_policy.py +0 -30
- pulumi_gcp/healthcare/dicom_store_iam_binding.py +0 -30
- pulumi_gcp/healthcare/dicom_store_iam_member.py +0 -30
- pulumi_gcp/healthcare/dicom_store_iam_policy.py +0 -30
- pulumi_gcp/healthcare/fhir_store_iam_binding.py +0 -30
- pulumi_gcp/healthcare/fhir_store_iam_member.py +0 -30
- pulumi_gcp/healthcare/fhir_store_iam_policy.py +0 -30
- pulumi_gcp/healthcare/hl7_store_iam_binding.py +0 -30
- pulumi_gcp/healthcare/hl7_store_iam_member.py +0 -30
- pulumi_gcp/healthcare/hl7_store_iam_policy.py +0 -30
- pulumi_gcp/iap/app_engine_service_iam_binding.py +42 -0
- pulumi_gcp/iap/app_engine_service_iam_member.py +42 -0
- pulumi_gcp/iap/app_engine_service_iam_policy.py +42 -0
- pulumi_gcp/iap/app_engine_version_iam_binding.py +42 -0
- pulumi_gcp/iap/app_engine_version_iam_member.py +42 -0
- pulumi_gcp/iap/app_engine_version_iam_policy.py +42 -0
- pulumi_gcp/iap/tunnel_dest_group_iam_binding.py +42 -0
- pulumi_gcp/iap/tunnel_dest_group_iam_member.py +42 -0
- pulumi_gcp/iap/tunnel_dest_group_iam_policy.py +42 -0
- pulumi_gcp/iap/tunnel_iam_binding.py +42 -0
- pulumi_gcp/iap/tunnel_iam_member.py +42 -0
- pulumi_gcp/iap/tunnel_iam_policy.py +42 -0
- pulumi_gcp/iap/tunnel_instance_iam_binding.py +42 -0
- pulumi_gcp/iap/tunnel_instance_iam_member.py +42 -0
- pulumi_gcp/iap/tunnel_instance_iam_policy.py +42 -0
- pulumi_gcp/iap/web_backend_service_iam_binding.py +42 -0
- pulumi_gcp/iap/web_backend_service_iam_member.py +42 -0
- pulumi_gcp/iap/web_backend_service_iam_policy.py +42 -0
- pulumi_gcp/iap/web_iam_binding.py +42 -0
- pulumi_gcp/iap/web_iam_member.py +42 -0
- pulumi_gcp/iap/web_iam_policy.py +42 -0
- pulumi_gcp/iap/web_region_backend_service_iam_binding.py +42 -0
- pulumi_gcp/iap/web_region_backend_service_iam_member.py +42 -0
- pulumi_gcp/iap/web_region_backend_service_iam_policy.py +42 -0
- pulumi_gcp/iap/web_type_app_enging_iam_binding.py +42 -0
- pulumi_gcp/iap/web_type_app_enging_iam_member.py +42 -0
- pulumi_gcp/iap/web_type_app_enging_iam_policy.py +42 -0
- pulumi_gcp/iap/web_type_compute_iam_binding.py +42 -0
- pulumi_gcp/iap/web_type_compute_iam_member.py +42 -0
- pulumi_gcp/iap/web_type_compute_iam_policy.py +42 -0
- pulumi_gcp/kms/key_handle.py +7 -7
- pulumi_gcp/kms/key_ring_iam_binding.py +0 -82
- pulumi_gcp/kms/key_ring_iam_member.py +0 -82
- pulumi_gcp/kms/key_ring_iam_policy.py +0 -82
- pulumi_gcp/migrationcenter/_inputs.py +21 -129
- pulumi_gcp/migrationcenter/outputs.py +14 -86
- pulumi_gcp/networkconnectivity/hub.py +69 -0
- pulumi_gcp/notebooks/instance_iam_binding.py +38 -0
- pulumi_gcp/notebooks/instance_iam_member.py +38 -0
- pulumi_gcp/notebooks/instance_iam_policy.py +38 -0
- pulumi_gcp/notebooks/runtime_iam_binding.py +38 -0
- pulumi_gcp/notebooks/runtime_iam_member.py +38 -0
- pulumi_gcp/notebooks/runtime_iam_policy.py +38 -0
- pulumi_gcp/organizations/iam_member.py +0 -94
- pulumi_gcp/organizations/iam_policy.py +0 -94
- pulumi_gcp/organizations/project.py +16 -7
- pulumi_gcp/pubsub/schema_iam_binding.py +38 -0
- pulumi_gcp/pubsub/schema_iam_member.py +38 -0
- pulumi_gcp/pubsub/schema_iam_policy.py +38 -0
- pulumi_gcp/pubsub/subscription_iam_binding.py +0 -30
- pulumi_gcp/pubsub/subscription_iam_member.py +0 -30
- pulumi_gcp/pubsub/subscription_iam_policy.py +0 -30
- pulumi_gcp/pubsub/topic_iam_binding.py +38 -0
- pulumi_gcp/pubsub/topic_iam_member.py +38 -0
- pulumi_gcp/pubsub/topic_iam_policy.py +38 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/secretmanager/secret_iam_binding.py +42 -0
- pulumi_gcp/secretmanager/secret_iam_member.py +42 -0
- pulumi_gcp/secretmanager/secret_iam_policy.py +42 -0
- pulumi_gcp/securesourcemanager/repository_iam_binding.py +38 -0
- pulumi_gcp/securesourcemanager/repository_iam_member.py +38 -0
- pulumi_gcp/securesourcemanager/repository_iam_policy.py +38 -0
- pulumi_gcp/serviceaccount/get_account.py +6 -6
- pulumi_gcp/serviceaccount/key.py +6 -6
- pulumi_gcp/servicedirectory/namespace_iam_binding.py +40 -0
- pulumi_gcp/servicedirectory/namespace_iam_member.py +40 -0
- pulumi_gcp/servicedirectory/namespace_iam_policy.py +40 -0
- pulumi_gcp/servicedirectory/service_iam_binding.py +40 -0
- pulumi_gcp/servicedirectory/service_iam_member.py +40 -0
- pulumi_gcp/servicedirectory/service_iam_policy.py +40 -0
- pulumi_gcp/sourcerepo/repository_iam_binding.py +38 -0
- pulumi_gcp/sourcerepo/repository_iam_member.py +38 -0
- pulumi_gcp/sourcerepo/repository_iam_policy.py +38 -0
- pulumi_gcp/spanner/database_iam_binding.py +0 -74
- pulumi_gcp/spanner/database_iam_member.py +0 -74
- pulumi_gcp/spanner/database_iam_policy.py +0 -74
- pulumi_gcp/spanner/instance_iam_binding.py +0 -30
- pulumi_gcp/spanner/instance_iam_member.py +0 -30
- pulumi_gcp/spanner/instance_iam_policy.py +0 -30
- pulumi_gcp/sql/_inputs.py +35 -15
- pulumi_gcp/sql/outputs.py +50 -14
- pulumi_gcp/storage/bucket_iam_binding.py +42 -0
- pulumi_gcp/storage/bucket_iam_member.py +42 -0
- pulumi_gcp/storage/bucket_iam_policy.py +42 -0
- pulumi_gcp/storage/managed_folder_iam_binding.py +44 -0
- pulumi_gcp/storage/managed_folder_iam_member.py +44 -0
- pulumi_gcp/storage/managed_folder_iam_policy.py +44 -0
- pulumi_gcp/tags/tag_key_iam_binding.py +40 -0
- pulumi_gcp/tags/tag_key_iam_member.py +40 -0
- pulumi_gcp/tags/tag_key_iam_policy.py +40 -0
- pulumi_gcp/tags/tag_value_iam_binding.py +40 -0
- pulumi_gcp/tags/tag_value_iam_member.py +40 -0
- pulumi_gcp/tags/tag_value_iam_policy.py +40 -0
- {pulumi_gcp-7.35.0a1722924350.dist-info → pulumi_gcp-7.36.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.35.0a1722924350.dist-info → pulumi_gcp-7.36.0.dist-info}/RECORD +287 -287
- {pulumi_gcp-7.35.0a1722924350.dist-info → pulumi_gcp-7.36.0.dist-info}/WHEEL +1 -1
- {pulumi_gcp-7.35.0a1722924350.dist-info → pulumi_gcp-7.36.0.dist-info}/top_level.txt +0 -0
@@ -22,12 +22,14 @@ __all__ = ['HubArgs', 'Hub']
|
|
22
22
|
class HubArgs:
|
23
23
|
def __init__(__self__, *,
|
24
24
|
description: Optional[pulumi.Input[str]] = None,
|
25
|
+
export_psc: Optional[pulumi.Input[bool]] = None,
|
25
26
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
26
27
|
name: Optional[pulumi.Input[str]] = None,
|
27
28
|
project: Optional[pulumi.Input[str]] = None):
|
28
29
|
"""
|
29
30
|
The set of arguments for constructing a Hub resource.
|
30
31
|
:param pulumi.Input[str] description: An optional description of the hub.
|
32
|
+
:param pulumi.Input[bool] export_psc: Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.
|
31
33
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
|
32
34
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
33
35
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
@@ -40,6 +42,8 @@ class HubArgs:
|
|
40
42
|
"""
|
41
43
|
if description is not None:
|
42
44
|
pulumi.set(__self__, "description", description)
|
45
|
+
if export_psc is not None:
|
46
|
+
pulumi.set(__self__, "export_psc", export_psc)
|
43
47
|
if labels is not None:
|
44
48
|
pulumi.set(__self__, "labels", labels)
|
45
49
|
if name is not None:
|
@@ -59,6 +63,18 @@ class HubArgs:
|
|
59
63
|
def description(self, value: Optional[pulumi.Input[str]]):
|
60
64
|
pulumi.set(self, "description", value)
|
61
65
|
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="exportPsc")
|
68
|
+
def export_psc(self) -> Optional[pulumi.Input[bool]]:
|
69
|
+
"""
|
70
|
+
Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "export_psc")
|
73
|
+
|
74
|
+
@export_psc.setter
|
75
|
+
def export_psc(self, value: Optional[pulumi.Input[bool]]):
|
76
|
+
pulumi.set(self, "export_psc", value)
|
77
|
+
|
62
78
|
@property
|
63
79
|
@pulumi.getter
|
64
80
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -108,6 +124,7 @@ class _HubState:
|
|
108
124
|
create_time: Optional[pulumi.Input[str]] = None,
|
109
125
|
description: Optional[pulumi.Input[str]] = None,
|
110
126
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
127
|
+
export_psc: Optional[pulumi.Input[bool]] = None,
|
111
128
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
112
129
|
name: Optional[pulumi.Input[str]] = None,
|
113
130
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -121,6 +138,7 @@ class _HubState:
|
|
121
138
|
:param pulumi.Input[str] create_time: Output only. The time the hub was created.
|
122
139
|
:param pulumi.Input[str] description: An optional description of the hub.
|
123
140
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
141
|
+
:param pulumi.Input[bool] export_psc: Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.
|
124
142
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
|
125
143
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
126
144
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
@@ -144,6 +162,8 @@ class _HubState:
|
|
144
162
|
pulumi.set(__self__, "description", description)
|
145
163
|
if effective_labels is not None:
|
146
164
|
pulumi.set(__self__, "effective_labels", effective_labels)
|
165
|
+
if export_psc is not None:
|
166
|
+
pulumi.set(__self__, "export_psc", export_psc)
|
147
167
|
if labels is not None:
|
148
168
|
pulumi.set(__self__, "labels", labels)
|
149
169
|
if name is not None:
|
@@ -197,6 +217,18 @@ class _HubState:
|
|
197
217
|
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
198
218
|
pulumi.set(self, "effective_labels", value)
|
199
219
|
|
220
|
+
@property
|
221
|
+
@pulumi.getter(name="exportPsc")
|
222
|
+
def export_psc(self) -> Optional[pulumi.Input[bool]]:
|
223
|
+
"""
|
224
|
+
Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.
|
225
|
+
"""
|
226
|
+
return pulumi.get(self, "export_psc")
|
227
|
+
|
228
|
+
@export_psc.setter
|
229
|
+
def export_psc(self, value: Optional[pulumi.Input[bool]]):
|
230
|
+
pulumi.set(self, "export_psc", value)
|
231
|
+
|
200
232
|
@property
|
201
233
|
@pulumi.getter
|
202
234
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -308,6 +340,7 @@ class Hub(pulumi.CustomResource):
|
|
308
340
|
resource_name: str,
|
309
341
|
opts: Optional[pulumi.ResourceOptions] = None,
|
310
342
|
description: Optional[pulumi.Input[str]] = None,
|
343
|
+
export_psc: Optional[pulumi.Input[bool]] = None,
|
311
344
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
312
345
|
name: Optional[pulumi.Input[str]] = None,
|
313
346
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -336,6 +369,17 @@ class Hub(pulumi.CustomResource):
|
|
336
369
|
"label-one": "value-one",
|
337
370
|
})
|
338
371
|
```
|
372
|
+
### Network Connectivity Hub With Export Psc
|
373
|
+
|
374
|
+
```python
|
375
|
+
import pulumi
|
376
|
+
import pulumi_gcp as gcp
|
377
|
+
|
378
|
+
primary = gcp.networkconnectivity.Hub("primary",
|
379
|
+
name="basic",
|
380
|
+
description="A sample hub with Private Service Connect transitivity is enabled",
|
381
|
+
export_psc=True)
|
382
|
+
```
|
339
383
|
|
340
384
|
## Import
|
341
385
|
|
@@ -364,6 +408,7 @@ class Hub(pulumi.CustomResource):
|
|
364
408
|
:param str resource_name: The name of the resource.
|
365
409
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
366
410
|
:param pulumi.Input[str] description: An optional description of the hub.
|
411
|
+
:param pulumi.Input[bool] export_psc: Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.
|
367
412
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
|
368
413
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
369
414
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
@@ -404,6 +449,17 @@ class Hub(pulumi.CustomResource):
|
|
404
449
|
"label-one": "value-one",
|
405
450
|
})
|
406
451
|
```
|
452
|
+
### Network Connectivity Hub With Export Psc
|
453
|
+
|
454
|
+
```python
|
455
|
+
import pulumi
|
456
|
+
import pulumi_gcp as gcp
|
457
|
+
|
458
|
+
primary = gcp.networkconnectivity.Hub("primary",
|
459
|
+
name="basic",
|
460
|
+
description="A sample hub with Private Service Connect transitivity is enabled",
|
461
|
+
export_psc=True)
|
462
|
+
```
|
407
463
|
|
408
464
|
## Import
|
409
465
|
|
@@ -445,6 +501,7 @@ class Hub(pulumi.CustomResource):
|
|
445
501
|
resource_name: str,
|
446
502
|
opts: Optional[pulumi.ResourceOptions] = None,
|
447
503
|
description: Optional[pulumi.Input[str]] = None,
|
504
|
+
export_psc: Optional[pulumi.Input[bool]] = None,
|
448
505
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
449
506
|
name: Optional[pulumi.Input[str]] = None,
|
450
507
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -458,6 +515,7 @@ class Hub(pulumi.CustomResource):
|
|
458
515
|
__props__ = HubArgs.__new__(HubArgs)
|
459
516
|
|
460
517
|
__props__.__dict__["description"] = description
|
518
|
+
__props__.__dict__["export_psc"] = export_psc
|
461
519
|
__props__.__dict__["labels"] = labels
|
462
520
|
__props__.__dict__["name"] = name
|
463
521
|
__props__.__dict__["project"] = project
|
@@ -483,6 +541,7 @@ class Hub(pulumi.CustomResource):
|
|
483
541
|
create_time: Optional[pulumi.Input[str]] = None,
|
484
542
|
description: Optional[pulumi.Input[str]] = None,
|
485
543
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
544
|
+
export_psc: Optional[pulumi.Input[bool]] = None,
|
486
545
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
487
546
|
name: Optional[pulumi.Input[str]] = None,
|
488
547
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -501,6 +560,7 @@ class Hub(pulumi.CustomResource):
|
|
501
560
|
:param pulumi.Input[str] create_time: Output only. The time the hub was created.
|
502
561
|
:param pulumi.Input[str] description: An optional description of the hub.
|
503
562
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
563
|
+
:param pulumi.Input[bool] export_psc: Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.
|
504
564
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
|
505
565
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
506
566
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
@@ -525,6 +585,7 @@ class Hub(pulumi.CustomResource):
|
|
525
585
|
__props__.__dict__["create_time"] = create_time
|
526
586
|
__props__.__dict__["description"] = description
|
527
587
|
__props__.__dict__["effective_labels"] = effective_labels
|
588
|
+
__props__.__dict__["export_psc"] = export_psc
|
528
589
|
__props__.__dict__["labels"] = labels
|
529
590
|
__props__.__dict__["name"] = name
|
530
591
|
__props__.__dict__["project"] = project
|
@@ -559,6 +620,14 @@ class Hub(pulumi.CustomResource):
|
|
559
620
|
"""
|
560
621
|
return pulumi.get(self, "effective_labels")
|
561
622
|
|
623
|
+
@property
|
624
|
+
@pulumi.getter(name="exportPsc")
|
625
|
+
def export_psc(self) -> pulumi.Output[bool]:
|
626
|
+
"""
|
627
|
+
Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.
|
628
|
+
"""
|
629
|
+
return pulumi.get(self, "export_psc")
|
630
|
+
|
562
631
|
@property
|
563
632
|
@pulumi.getter
|
564
633
|
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
@@ -363,6 +363,25 @@ class InstanceIamBinding(pulumi.CustomResource):
|
|
363
363
|
member="user:jane@example.com")
|
364
364
|
```
|
365
365
|
|
366
|
+
## This resource supports User Project Overrides.
|
367
|
+
|
368
|
+
-
|
369
|
+
|
370
|
+
# IAM policy for Cloud AI Notebooks Instance
|
371
|
+
Three different resources help you manage your IAM policy for Cloud AI Notebooks Instance. Each of these resources serves a different use case:
|
372
|
+
|
373
|
+
* `notebooks.InstanceIamPolicy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached.
|
374
|
+
* `notebooks.InstanceIamBinding`: 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 instance are preserved.
|
375
|
+
* `notebooks.InstanceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
|
376
|
+
|
377
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
378
|
+
|
379
|
+
* `notebooks.InstanceIamPolicy`: Retrieves the IAM policy for the instance
|
380
|
+
|
381
|
+
> **Note:** `notebooks.InstanceIamPolicy` **cannot** be used in conjunction with `notebooks.InstanceIamBinding` and `notebooks.InstanceIamMember` or they will fight over what your policy should be.
|
382
|
+
|
383
|
+
> **Note:** `notebooks.InstanceIamBinding` resources **can be** used in conjunction with `notebooks.InstanceIamMember` resources **only if** they do not grant privilege to the same role.
|
384
|
+
|
366
385
|
## notebooks.InstanceIamPolicy
|
367
386
|
|
368
387
|
```python
|
@@ -535,6 +554,25 @@ class InstanceIamBinding(pulumi.CustomResource):
|
|
535
554
|
member="user:jane@example.com")
|
536
555
|
```
|
537
556
|
|
557
|
+
## This resource supports User Project Overrides.
|
558
|
+
|
559
|
+
-
|
560
|
+
|
561
|
+
# IAM policy for Cloud AI Notebooks Instance
|
562
|
+
Three different resources help you manage your IAM policy for Cloud AI Notebooks Instance. Each of these resources serves a different use case:
|
563
|
+
|
564
|
+
* `notebooks.InstanceIamPolicy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached.
|
565
|
+
* `notebooks.InstanceIamBinding`: 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 instance are preserved.
|
566
|
+
* `notebooks.InstanceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
|
567
|
+
|
568
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
569
|
+
|
570
|
+
* `notebooks.InstanceIamPolicy`: Retrieves the IAM policy for the instance
|
571
|
+
|
572
|
+
> **Note:** `notebooks.InstanceIamPolicy` **cannot** be used in conjunction with `notebooks.InstanceIamBinding` and `notebooks.InstanceIamMember` or they will fight over what your policy should be.
|
573
|
+
|
574
|
+
> **Note:** `notebooks.InstanceIamBinding` resources **can be** used in conjunction with `notebooks.InstanceIamMember` resources **only if** they do not grant privilege to the same role.
|
575
|
+
|
538
576
|
## notebooks.InstanceIamPolicy
|
539
577
|
|
540
578
|
```python
|
@@ -363,6 +363,25 @@ class InstanceIamMember(pulumi.CustomResource):
|
|
363
363
|
member="user:jane@example.com")
|
364
364
|
```
|
365
365
|
|
366
|
+
## This resource supports User Project Overrides.
|
367
|
+
|
368
|
+
-
|
369
|
+
|
370
|
+
# IAM policy for Cloud AI Notebooks Instance
|
371
|
+
Three different resources help you manage your IAM policy for Cloud AI Notebooks Instance. Each of these resources serves a different use case:
|
372
|
+
|
373
|
+
* `notebooks.InstanceIamPolicy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached.
|
374
|
+
* `notebooks.InstanceIamBinding`: 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 instance are preserved.
|
375
|
+
* `notebooks.InstanceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
|
376
|
+
|
377
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
378
|
+
|
379
|
+
* `notebooks.InstanceIamPolicy`: Retrieves the IAM policy for the instance
|
380
|
+
|
381
|
+
> **Note:** `notebooks.InstanceIamPolicy` **cannot** be used in conjunction with `notebooks.InstanceIamBinding` and `notebooks.InstanceIamMember` or they will fight over what your policy should be.
|
382
|
+
|
383
|
+
> **Note:** `notebooks.InstanceIamBinding` resources **can be** used in conjunction with `notebooks.InstanceIamMember` resources **only if** they do not grant privilege to the same role.
|
384
|
+
|
366
385
|
## notebooks.InstanceIamPolicy
|
367
386
|
|
368
387
|
```python
|
@@ -535,6 +554,25 @@ class InstanceIamMember(pulumi.CustomResource):
|
|
535
554
|
member="user:jane@example.com")
|
536
555
|
```
|
537
556
|
|
557
|
+
## This resource supports User Project Overrides.
|
558
|
+
|
559
|
+
-
|
560
|
+
|
561
|
+
# IAM policy for Cloud AI Notebooks Instance
|
562
|
+
Three different resources help you manage your IAM policy for Cloud AI Notebooks Instance. Each of these resources serves a different use case:
|
563
|
+
|
564
|
+
* `notebooks.InstanceIamPolicy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached.
|
565
|
+
* `notebooks.InstanceIamBinding`: 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 instance are preserved.
|
566
|
+
* `notebooks.InstanceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
|
567
|
+
|
568
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
569
|
+
|
570
|
+
* `notebooks.InstanceIamPolicy`: Retrieves the IAM policy for the instance
|
571
|
+
|
572
|
+
> **Note:** `notebooks.InstanceIamPolicy` **cannot** be used in conjunction with `notebooks.InstanceIamBinding` and `notebooks.InstanceIamMember` or they will fight over what your policy should be.
|
573
|
+
|
574
|
+
> **Note:** `notebooks.InstanceIamBinding` resources **can be** used in conjunction with `notebooks.InstanceIamMember` resources **only if** they do not grant privilege to the same role.
|
575
|
+
|
538
576
|
## notebooks.InstanceIamPolicy
|
539
577
|
|
540
578
|
```python
|
@@ -260,6 +260,25 @@ class InstanceIamPolicy(pulumi.CustomResource):
|
|
260
260
|
member="user:jane@example.com")
|
261
261
|
```
|
262
262
|
|
263
|
+
## This resource supports User Project Overrides.
|
264
|
+
|
265
|
+
-
|
266
|
+
|
267
|
+
# IAM policy for Cloud AI Notebooks Instance
|
268
|
+
Three different resources help you manage your IAM policy for Cloud AI Notebooks Instance. Each of these resources serves a different use case:
|
269
|
+
|
270
|
+
* `notebooks.InstanceIamPolicy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached.
|
271
|
+
* `notebooks.InstanceIamBinding`: 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 instance are preserved.
|
272
|
+
* `notebooks.InstanceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
|
273
|
+
|
274
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
275
|
+
|
276
|
+
* `notebooks.InstanceIamPolicy`: Retrieves the IAM policy for the instance
|
277
|
+
|
278
|
+
> **Note:** `notebooks.InstanceIamPolicy` **cannot** be used in conjunction with `notebooks.InstanceIamBinding` and `notebooks.InstanceIamMember` or they will fight over what your policy should be.
|
279
|
+
|
280
|
+
> **Note:** `notebooks.InstanceIamBinding` resources **can be** used in conjunction with `notebooks.InstanceIamMember` resources **only if** they do not grant privilege to the same role.
|
281
|
+
|
263
282
|
## notebooks.InstanceIamPolicy
|
264
283
|
|
265
284
|
```python
|
@@ -420,6 +439,25 @@ class InstanceIamPolicy(pulumi.CustomResource):
|
|
420
439
|
member="user:jane@example.com")
|
421
440
|
```
|
422
441
|
|
442
|
+
## This resource supports User Project Overrides.
|
443
|
+
|
444
|
+
-
|
445
|
+
|
446
|
+
# IAM policy for Cloud AI Notebooks Instance
|
447
|
+
Three different resources help you manage your IAM policy for Cloud AI Notebooks Instance. Each of these resources serves a different use case:
|
448
|
+
|
449
|
+
* `notebooks.InstanceIamPolicy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached.
|
450
|
+
* `notebooks.InstanceIamBinding`: 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 instance are preserved.
|
451
|
+
* `notebooks.InstanceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
|
452
|
+
|
453
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
454
|
+
|
455
|
+
* `notebooks.InstanceIamPolicy`: Retrieves the IAM policy for the instance
|
456
|
+
|
457
|
+
> **Note:** `notebooks.InstanceIamPolicy` **cannot** be used in conjunction with `notebooks.InstanceIamBinding` and `notebooks.InstanceIamMember` or they will fight over what your policy should be.
|
458
|
+
|
459
|
+
> **Note:** `notebooks.InstanceIamBinding` resources **can be** used in conjunction with `notebooks.InstanceIamMember` resources **only if** they do not grant privilege to the same role.
|
460
|
+
|
423
461
|
## notebooks.InstanceIamPolicy
|
424
462
|
|
425
463
|
```python
|
@@ -363,6 +363,25 @@ class RuntimeIamBinding(pulumi.CustomResource):
|
|
363
363
|
member="user:jane@example.com")
|
364
364
|
```
|
365
365
|
|
366
|
+
## This resource supports User Project Overrides.
|
367
|
+
|
368
|
+
-
|
369
|
+
|
370
|
+
# IAM policy for Cloud AI Notebooks Runtime
|
371
|
+
Three different resources help you manage your IAM policy for Cloud AI Notebooks Runtime. Each of these resources serves a different use case:
|
372
|
+
|
373
|
+
* `notebooks.RuntimeIamPolicy`: Authoritative. Sets the IAM policy for the runtime and replaces any existing policy already attached.
|
374
|
+
* `notebooks.RuntimeIamBinding`: 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 runtime are preserved.
|
375
|
+
* `notebooks.RuntimeIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the runtime are preserved.
|
376
|
+
|
377
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
378
|
+
|
379
|
+
* `notebooks.RuntimeIamPolicy`: Retrieves the IAM policy for the runtime
|
380
|
+
|
381
|
+
> **Note:** `notebooks.RuntimeIamPolicy` **cannot** be used in conjunction with `notebooks.RuntimeIamBinding` and `notebooks.RuntimeIamMember` or they will fight over what your policy should be.
|
382
|
+
|
383
|
+
> **Note:** `notebooks.RuntimeIamBinding` resources **can be** used in conjunction with `notebooks.RuntimeIamMember` resources **only if** they do not grant privilege to the same role.
|
384
|
+
|
366
385
|
## notebooks.RuntimeIamPolicy
|
367
386
|
|
368
387
|
```python
|
@@ -535,6 +554,25 @@ class RuntimeIamBinding(pulumi.CustomResource):
|
|
535
554
|
member="user:jane@example.com")
|
536
555
|
```
|
537
556
|
|
557
|
+
## This resource supports User Project Overrides.
|
558
|
+
|
559
|
+
-
|
560
|
+
|
561
|
+
# IAM policy for Cloud AI Notebooks Runtime
|
562
|
+
Three different resources help you manage your IAM policy for Cloud AI Notebooks Runtime. Each of these resources serves a different use case:
|
563
|
+
|
564
|
+
* `notebooks.RuntimeIamPolicy`: Authoritative. Sets the IAM policy for the runtime and replaces any existing policy already attached.
|
565
|
+
* `notebooks.RuntimeIamBinding`: 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 runtime are preserved.
|
566
|
+
* `notebooks.RuntimeIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the runtime are preserved.
|
567
|
+
|
568
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
569
|
+
|
570
|
+
* `notebooks.RuntimeIamPolicy`: Retrieves the IAM policy for the runtime
|
571
|
+
|
572
|
+
> **Note:** `notebooks.RuntimeIamPolicy` **cannot** be used in conjunction with `notebooks.RuntimeIamBinding` and `notebooks.RuntimeIamMember` or they will fight over what your policy should be.
|
573
|
+
|
574
|
+
> **Note:** `notebooks.RuntimeIamBinding` resources **can be** used in conjunction with `notebooks.RuntimeIamMember` resources **only if** they do not grant privilege to the same role.
|
575
|
+
|
538
576
|
## notebooks.RuntimeIamPolicy
|
539
577
|
|
540
578
|
```python
|
@@ -363,6 +363,25 @@ class RuntimeIamMember(pulumi.CustomResource):
|
|
363
363
|
member="user:jane@example.com")
|
364
364
|
```
|
365
365
|
|
366
|
+
## This resource supports User Project Overrides.
|
367
|
+
|
368
|
+
-
|
369
|
+
|
370
|
+
# IAM policy for Cloud AI Notebooks Runtime
|
371
|
+
Three different resources help you manage your IAM policy for Cloud AI Notebooks Runtime. Each of these resources serves a different use case:
|
372
|
+
|
373
|
+
* `notebooks.RuntimeIamPolicy`: Authoritative. Sets the IAM policy for the runtime and replaces any existing policy already attached.
|
374
|
+
* `notebooks.RuntimeIamBinding`: 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 runtime are preserved.
|
375
|
+
* `notebooks.RuntimeIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the runtime are preserved.
|
376
|
+
|
377
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
378
|
+
|
379
|
+
* `notebooks.RuntimeIamPolicy`: Retrieves the IAM policy for the runtime
|
380
|
+
|
381
|
+
> **Note:** `notebooks.RuntimeIamPolicy` **cannot** be used in conjunction with `notebooks.RuntimeIamBinding` and `notebooks.RuntimeIamMember` or they will fight over what your policy should be.
|
382
|
+
|
383
|
+
> **Note:** `notebooks.RuntimeIamBinding` resources **can be** used in conjunction with `notebooks.RuntimeIamMember` resources **only if** they do not grant privilege to the same role.
|
384
|
+
|
366
385
|
## notebooks.RuntimeIamPolicy
|
367
386
|
|
368
387
|
```python
|
@@ -535,6 +554,25 @@ class RuntimeIamMember(pulumi.CustomResource):
|
|
535
554
|
member="user:jane@example.com")
|
536
555
|
```
|
537
556
|
|
557
|
+
## This resource supports User Project Overrides.
|
558
|
+
|
559
|
+
-
|
560
|
+
|
561
|
+
# IAM policy for Cloud AI Notebooks Runtime
|
562
|
+
Three different resources help you manage your IAM policy for Cloud AI Notebooks Runtime. Each of these resources serves a different use case:
|
563
|
+
|
564
|
+
* `notebooks.RuntimeIamPolicy`: Authoritative. Sets the IAM policy for the runtime and replaces any existing policy already attached.
|
565
|
+
* `notebooks.RuntimeIamBinding`: 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 runtime are preserved.
|
566
|
+
* `notebooks.RuntimeIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the runtime are preserved.
|
567
|
+
|
568
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
569
|
+
|
570
|
+
* `notebooks.RuntimeIamPolicy`: Retrieves the IAM policy for the runtime
|
571
|
+
|
572
|
+
> **Note:** `notebooks.RuntimeIamPolicy` **cannot** be used in conjunction with `notebooks.RuntimeIamBinding` and `notebooks.RuntimeIamMember` or they will fight over what your policy should be.
|
573
|
+
|
574
|
+
> **Note:** `notebooks.RuntimeIamBinding` resources **can be** used in conjunction with `notebooks.RuntimeIamMember` resources **only if** they do not grant privilege to the same role.
|
575
|
+
|
538
576
|
## notebooks.RuntimeIamPolicy
|
539
577
|
|
540
578
|
```python
|
@@ -260,6 +260,25 @@ class RuntimeIamPolicy(pulumi.CustomResource):
|
|
260
260
|
member="user:jane@example.com")
|
261
261
|
```
|
262
262
|
|
263
|
+
## This resource supports User Project Overrides.
|
264
|
+
|
265
|
+
-
|
266
|
+
|
267
|
+
# IAM policy for Cloud AI Notebooks Runtime
|
268
|
+
Three different resources help you manage your IAM policy for Cloud AI Notebooks Runtime. Each of these resources serves a different use case:
|
269
|
+
|
270
|
+
* `notebooks.RuntimeIamPolicy`: Authoritative. Sets the IAM policy for the runtime and replaces any existing policy already attached.
|
271
|
+
* `notebooks.RuntimeIamBinding`: 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 runtime are preserved.
|
272
|
+
* `notebooks.RuntimeIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the runtime are preserved.
|
273
|
+
|
274
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
275
|
+
|
276
|
+
* `notebooks.RuntimeIamPolicy`: Retrieves the IAM policy for the runtime
|
277
|
+
|
278
|
+
> **Note:** `notebooks.RuntimeIamPolicy` **cannot** be used in conjunction with `notebooks.RuntimeIamBinding` and `notebooks.RuntimeIamMember` or they will fight over what your policy should be.
|
279
|
+
|
280
|
+
> **Note:** `notebooks.RuntimeIamBinding` resources **can be** used in conjunction with `notebooks.RuntimeIamMember` resources **only if** they do not grant privilege to the same role.
|
281
|
+
|
263
282
|
## notebooks.RuntimeIamPolicy
|
264
283
|
|
265
284
|
```python
|
@@ -420,6 +439,25 @@ class RuntimeIamPolicy(pulumi.CustomResource):
|
|
420
439
|
member="user:jane@example.com")
|
421
440
|
```
|
422
441
|
|
442
|
+
## This resource supports User Project Overrides.
|
443
|
+
|
444
|
+
-
|
445
|
+
|
446
|
+
# IAM policy for Cloud AI Notebooks Runtime
|
447
|
+
Three different resources help you manage your IAM policy for Cloud AI Notebooks Runtime. Each of these resources serves a different use case:
|
448
|
+
|
449
|
+
* `notebooks.RuntimeIamPolicy`: Authoritative. Sets the IAM policy for the runtime and replaces any existing policy already attached.
|
450
|
+
* `notebooks.RuntimeIamBinding`: 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 runtime are preserved.
|
451
|
+
* `notebooks.RuntimeIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the runtime are preserved.
|
452
|
+
|
453
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
454
|
+
|
455
|
+
* `notebooks.RuntimeIamPolicy`: Retrieves the IAM policy for the runtime
|
456
|
+
|
457
|
+
> **Note:** `notebooks.RuntimeIamPolicy` **cannot** be used in conjunction with `notebooks.RuntimeIamBinding` and `notebooks.RuntimeIamMember` or they will fight over what your policy should be.
|
458
|
+
|
459
|
+
> **Note:** `notebooks.RuntimeIamBinding` resources **can be** used in conjunction with `notebooks.RuntimeIamMember` resources **only if** they do not grant privilege to the same role.
|
460
|
+
|
423
461
|
## notebooks.RuntimeIamPolicy
|
424
462
|
|
425
463
|
```python
|
@@ -356,53 +356,6 @@ class IAMMember(pulumi.CustomResource):
|
|
356
356
|
])
|
357
357
|
```
|
358
358
|
|
359
|
-
## organizations.IAMPolicy
|
360
|
-
|
361
|
-
!> **Warning:** New organizations have several default policies which will,
|
362
|
-
without extreme caution, be **overwritten** by use of this resource.
|
363
|
-
The safest alternative is to use multiple `organizations.IAMBinding`
|
364
|
-
resources. This resource makes it easy to remove your own access to
|
365
|
-
an organization, which will require a call to Google Support to have
|
366
|
-
fixed, and can take multiple days to resolve.
|
367
|
-
|
368
|
-
In general, this resource should only be used with organizations
|
369
|
-
fully managed by this provider.I f you do use this resource,
|
370
|
-
the best way to be sure that you are not making dangerous changes is to start
|
371
|
-
by **importing** your existing policy, and examining the diff very closely.
|
372
|
-
|
373
|
-
```python
|
374
|
-
import pulumi
|
375
|
-
import pulumi_gcp as gcp
|
376
|
-
|
377
|
-
admin = gcp.organizations.get_iam_policy(bindings=[{
|
378
|
-
"role": "roles/editor",
|
379
|
-
"members": ["user:jane@example.com"],
|
380
|
-
}])
|
381
|
-
organization = gcp.organizations.IAMPolicy("organization",
|
382
|
-
org_id="1234567890",
|
383
|
-
policy_data=admin.policy_data)
|
384
|
-
```
|
385
|
-
|
386
|
-
With IAM Conditions:
|
387
|
-
|
388
|
-
```python
|
389
|
-
import pulumi
|
390
|
-
import pulumi_gcp as gcp
|
391
|
-
|
392
|
-
admin = gcp.organizations.get_iam_policy(bindings=[{
|
393
|
-
"role": "roles/editor",
|
394
|
-
"members": ["user:jane@example.com"],
|
395
|
-
"condition": {
|
396
|
-
"title": "expires_after_2019_12_31",
|
397
|
-
"description": "Expiring at midnight of 2019-12-31",
|
398
|
-
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
399
|
-
},
|
400
|
-
}])
|
401
|
-
organization = gcp.organizations.IAMPolicy("organization",
|
402
|
-
org_id="1234567890",
|
403
|
-
policy_data=admin.policy_data)
|
404
|
-
```
|
405
|
-
|
406
359
|
## organizations.IAMBinding
|
407
360
|
|
408
361
|
> **Note:** If `role` is set to `roles/owner` and you don't specify a user or service account you have access to in `members`, you can lock yourself out of your organization.
|
@@ -669,53 +622,6 @@ class IAMMember(pulumi.CustomResource):
|
|
669
622
|
])
|
670
623
|
```
|
671
624
|
|
672
|
-
## organizations.IAMPolicy
|
673
|
-
|
674
|
-
!> **Warning:** New organizations have several default policies which will,
|
675
|
-
without extreme caution, be **overwritten** by use of this resource.
|
676
|
-
The safest alternative is to use multiple `organizations.IAMBinding`
|
677
|
-
resources. This resource makes it easy to remove your own access to
|
678
|
-
an organization, which will require a call to Google Support to have
|
679
|
-
fixed, and can take multiple days to resolve.
|
680
|
-
|
681
|
-
In general, this resource should only be used with organizations
|
682
|
-
fully managed by this provider.I f you do use this resource,
|
683
|
-
the best way to be sure that you are not making dangerous changes is to start
|
684
|
-
by **importing** your existing policy, and examining the diff very closely.
|
685
|
-
|
686
|
-
```python
|
687
|
-
import pulumi
|
688
|
-
import pulumi_gcp as gcp
|
689
|
-
|
690
|
-
admin = gcp.organizations.get_iam_policy(bindings=[{
|
691
|
-
"role": "roles/editor",
|
692
|
-
"members": ["user:jane@example.com"],
|
693
|
-
}])
|
694
|
-
organization = gcp.organizations.IAMPolicy("organization",
|
695
|
-
org_id="1234567890",
|
696
|
-
policy_data=admin.policy_data)
|
697
|
-
```
|
698
|
-
|
699
|
-
With IAM Conditions:
|
700
|
-
|
701
|
-
```python
|
702
|
-
import pulumi
|
703
|
-
import pulumi_gcp as gcp
|
704
|
-
|
705
|
-
admin = gcp.organizations.get_iam_policy(bindings=[{
|
706
|
-
"role": "roles/editor",
|
707
|
-
"members": ["user:jane@example.com"],
|
708
|
-
"condition": {
|
709
|
-
"title": "expires_after_2019_12_31",
|
710
|
-
"description": "Expiring at midnight of 2019-12-31",
|
711
|
-
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
712
|
-
},
|
713
|
-
}])
|
714
|
-
organization = gcp.organizations.IAMPolicy("organization",
|
715
|
-
org_id="1234567890",
|
716
|
-
policy_data=admin.policy_data)
|
717
|
-
```
|
718
|
-
|
719
625
|
## organizations.IAMBinding
|
720
626
|
|
721
627
|
> **Note:** If `role` is set to `roles/owner` and you don't specify a user or service account you have access to in `members`, you can lock yourself out of your organization.
|