pulumi-gcp 8.32.0__py3-none-any.whl → 8.32.0a1747459264__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 +0 -88
- pulumi_gcp/accesscontextmanager/authorized_orgs_desc.py +2 -2
- pulumi_gcp/apigateway/api_config_iam_binding.py +0 -13
- pulumi_gcp/apigateway/api_config_iam_member.py +0 -13
- pulumi_gcp/apigateway/api_config_iam_policy.py +0 -13
- pulumi_gcp/apigateway/api_iam_binding.py +0 -13
- pulumi_gcp/apigateway/api_iam_member.py +0 -13
- pulumi_gcp/apigateway/api_iam_policy.py +0 -13
- pulumi_gcp/apigateway/gateway_iam_binding.py +0 -13
- pulumi_gcp/apigateway/gateway_iam_member.py +0 -13
- pulumi_gcp/apigateway/gateway_iam_policy.py +0 -13
- pulumi_gcp/apigateway/get_api_config_iam_policy.py +0 -2
- pulumi_gcp/apigateway/get_api_iam_policy.py +0 -2
- pulumi_gcp/apigateway/get_gateway_iam_policy.py +0 -2
- pulumi_gcp/apigee/environment_iam_binding.py +0 -27
- pulumi_gcp/apigee/environment_iam_member.py +0 -27
- pulumi_gcp/apigee/environment_iam_policy.py +0 -27
- pulumi_gcp/apigee/get_environment_iam_policy.py +0 -6
- pulumi_gcp/beyondcorp/__init__.py +0 -1
- pulumi_gcp/beyondcorp/application.py +4 -8
- pulumi_gcp/beyondcorp/application_iam_binding.py +0 -26
- pulumi_gcp/beyondcorp/application_iam_member.py +0 -26
- pulumi_gcp/beyondcorp/application_iam_policy.py +0 -26
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +0 -4
- pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +0 -2
- pulumi_gcp/beyondcorp/outputs.py +0 -45
- pulumi_gcp/beyondcorp/security_gateway_iam_binding.py +0 -13
- pulumi_gcp/beyondcorp/security_gateway_iam_member.py +0 -13
- pulumi_gcp/beyondcorp/security_gateway_iam_policy.py +0 -13
- pulumi_gcp/bigquery/__init__.py +0 -1
- pulumi_gcp/bigquery/connection_iam_binding.py +11 -4
- pulumi_gcp/bigquery/connection_iam_member.py +11 -4
- pulumi_gcp/bigquery/connection_iam_policy.py +11 -4
- pulumi_gcp/bigquery/data_transfer_config.py +2 -2
- pulumi_gcp/bigquery/get_connection_iam_policy.py +4 -2
- pulumi_gcp/bigquery/get_table_iam_policy.py +0 -4
- pulumi_gcp/bigquery/iam_binding.py +0 -26
- pulumi_gcp/bigquery/iam_member.py +0 -26
- pulumi_gcp/bigquery/iam_policy.py +0 -26
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +2 -2
- pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +2 -2
- pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +6 -6
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_binding.py +0 -13
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_member.py +0 -13
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_policy.py +0 -13
- pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +0 -2
- pulumi_gcp/bigtable/logical_view.py +0 -49
- pulumi_gcp/cloudbuild/trigger.py +2 -2
- pulumi_gcp/clouddeploy/get_delivery_pipeline_iam_policy.py +0 -6
- pulumi_gcp/clouddeploy/get_target_iam_policy.py +0 -6
- pulumi_gcp/colab/schedule.py +2 -2
- pulumi_gcp/compute/_inputs.py +0 -126
- pulumi_gcp/compute/backend_service.py +51 -259
- pulumi_gcp/compute/get_backend_service.py +1 -23
- pulumi_gcp/compute/get_global_forwarding_rule.py +1 -23
- pulumi_gcp/compute/get_instance_template.py +1 -12
- pulumi_gcp/compute/get_network_endpoint_group.py +1 -12
- pulumi_gcp/compute/global_forwarding_rule.py +0 -199
- pulumi_gcp/compute/instance_template.py +0 -28
- pulumi_gcp/compute/network_endpoint_group.py +0 -28
- pulumi_gcp/compute/outputs.py +0 -110
- pulumi_gcp/compute/region_backend_service.py +51 -58
- pulumi_gcp/container/cluster.py +0 -47
- pulumi_gcp/container/get_cluster.py +1 -12
- pulumi_gcp/datacatalog/entry_group_iam_binding.py +0 -34
- pulumi_gcp/datacatalog/entry_group_iam_member.py +0 -34
- pulumi_gcp/datacatalog/entry_group_iam_policy.py +0 -34
- pulumi_gcp/datacatalog/get_entry_group_iam_policy.py +0 -8
- pulumi_gcp/datacatalog/get_tag_template_iam_policy.py +0 -8
- pulumi_gcp/datacatalog/get_taxonomy_iam_policy.py +0 -8
- pulumi_gcp/datacatalog/tag_template_iam_binding.py +0 -34
- pulumi_gcp/datacatalog/tag_template_iam_member.py +0 -34
- pulumi_gcp/datacatalog/tag_template_iam_policy.py +0 -34
- pulumi_gcp/datacatalog/taxonomy_iam_binding.py +0 -34
- pulumi_gcp/datacatalog/taxonomy_iam_member.py +0 -34
- pulumi_gcp/datacatalog/taxonomy_iam_policy.py +0 -34
- pulumi_gcp/dataplex/__init__.py +0 -5
- pulumi_gcp/dataplex/_inputs.py +0 -98
- pulumi_gcp/dataplex/aspect_type_iam_binding.py +0 -13
- pulumi_gcp/dataplex/aspect_type_iam_member.py +0 -13
- pulumi_gcp/dataplex/aspect_type_iam_policy.py +0 -13
- pulumi_gcp/dataplex/asset_iam_binding.py +0 -53
- pulumi_gcp/dataplex/asset_iam_member.py +0 -53
- pulumi_gcp/dataplex/asset_iam_policy.py +0 -53
- pulumi_gcp/dataplex/datascan_iam_binding.py +0 -13
- pulumi_gcp/dataplex/datascan_iam_member.py +0 -13
- pulumi_gcp/dataplex/datascan_iam_policy.py +0 -13
- pulumi_gcp/dataplex/entry_group_iam_binding.py +0 -13
- pulumi_gcp/dataplex/entry_group_iam_member.py +0 -13
- pulumi_gcp/dataplex/entry_group_iam_policy.py +0 -13
- pulumi_gcp/dataplex/entry_type_iam_binding.py +0 -13
- pulumi_gcp/dataplex/entry_type_iam_member.py +0 -13
- pulumi_gcp/dataplex/entry_type_iam_policy.py +0 -13
- pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +0 -2
- pulumi_gcp/dataplex/get_asset_iam_policy.py +0 -10
- pulumi_gcp/dataplex/get_datascan_iam_policy.py +0 -2
- pulumi_gcp/dataplex/get_entry_group_iam_policy.py +0 -2
- pulumi_gcp/dataplex/get_entry_type_iam_policy.py +0 -2
- pulumi_gcp/dataplex/get_lake_iam_policy.py +0 -6
- pulumi_gcp/dataplex/get_task_iam_policy.py +0 -2
- pulumi_gcp/dataplex/get_zone_iam_policy.py +0 -8
- pulumi_gcp/dataplex/lake_iam_binding.py +0 -27
- pulumi_gcp/dataplex/lake_iam_member.py +0 -27
- pulumi_gcp/dataplex/lake_iam_policy.py +0 -27
- pulumi_gcp/dataplex/outputs.py +0 -56
- pulumi_gcp/dataplex/task_iam_binding.py +0 -13
- pulumi_gcp/dataplex/task_iam_member.py +0 -13
- pulumi_gcp/dataplex/task_iam_policy.py +0 -13
- pulumi_gcp/dataplex/zone_iam_binding.py +0 -40
- pulumi_gcp/dataplex/zone_iam_member.py +0 -40
- pulumi_gcp/dataplex/zone_iam_policy.py +0 -40
- pulumi_gcp/dataproc/autoscaling_policy_iam_binding.py +25 -4
- pulumi_gcp/dataproc/autoscaling_policy_iam_member.py +25 -4
- pulumi_gcp/dataproc/autoscaling_policy_iam_policy.py +25 -4
- pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +8 -2
- pulumi_gcp/dataproc/get_metastore_database_iam_policy.py +0 -8
- pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py +0 -2
- pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +0 -2
- pulumi_gcp/dataproc/get_metastore_table_iam_policy.py +0 -10
- pulumi_gcp/dataproc/metastore_database_iam_binding.py +0 -40
- pulumi_gcp/dataproc/metastore_database_iam_member.py +0 -40
- pulumi_gcp/dataproc/metastore_database_iam_policy.py +0 -40
- pulumi_gcp/dataproc/metastore_federation_iam_binding.py +0 -13
- pulumi_gcp/dataproc/metastore_federation_iam_member.py +0 -13
- pulumi_gcp/dataproc/metastore_federation_iam_policy.py +0 -13
- pulumi_gcp/dataproc/metastore_service_iam_binding.py +0 -13
- pulumi_gcp/dataproc/metastore_service_iam_member.py +0 -13
- pulumi_gcp/dataproc/metastore_service_iam_policy.py +0 -13
- pulumi_gcp/dataproc/metastore_table_iam_binding.py +0 -53
- pulumi_gcp/dataproc/metastore_table_iam_member.py +0 -53
- pulumi_gcp/dataproc/metastore_table_iam_policy.py +0 -53
- pulumi_gcp/diagflow/_inputs.py +0 -56
- pulumi_gcp/diagflow/cx_agent.py +0 -60
- pulumi_gcp/diagflow/cx_flow.py +0 -2
- pulumi_gcp/diagflow/entity_type.py +2 -2
- pulumi_gcp/diagflow/outputs.py +0 -35
- pulumi_gcp/edgecontainer/node_pool.py +2 -2
- pulumi_gcp/endpoints/consumers_iam_binding.py +0 -26
- pulumi_gcp/endpoints/consumers_iam_member.py +0 -26
- pulumi_gcp/endpoints/consumers_iam_policy.py +0 -26
- pulumi_gcp/endpoints/get_service_consumers_iam_policy.py +0 -8
- pulumi_gcp/endpoints/get_service_iam_policy.py +0 -6
- pulumi_gcp/endpoints/service_iam_binding.py +0 -13
- pulumi_gcp/endpoints/service_iam_member.py +0 -13
- pulumi_gcp/endpoints/service_iam_policy.py +0 -13
- pulumi_gcp/firebase/__init__.py +0 -3
- pulumi_gcp/firebase/_inputs.py +0 -1527
- pulumi_gcp/firebase/app_hosting_backend.py +0 -104
- pulumi_gcp/firebase/extensions_instance.py +4 -4
- pulumi_gcp/firebase/outputs.py +0 -1075
- pulumi_gcp/firestore/database.py +0 -9
- pulumi_gcp/gemini/get_repository_group_iam_policy.py +0 -4
- pulumi_gcp/gemini/repository_group_iam_binding.py +0 -26
- pulumi_gcp/gemini/repository_group_iam_member.py +0 -26
- pulumi_gcp/gemini/repository_group_iam_policy.py +0 -26
- pulumi_gcp/gkebackup/backup_channel.py +9 -9
- pulumi_gcp/gkebackup/restore_channel.py +9 -9
- pulumi_gcp/gkehub/get_membership_iam_policy.py +0 -2
- pulumi_gcp/gkehub/get_scope_iam_policy.py +0 -2
- pulumi_gcp/gkehub/membership_iam_binding.py +0 -13
- pulumi_gcp/gkehub/membership_iam_member.py +0 -13
- pulumi_gcp/gkehub/membership_iam_policy.py +0 -13
- pulumi_gcp/gkehub/scope_iam_binding.py +0 -13
- pulumi_gcp/gkehub/scope_iam_member.py +0 -13
- pulumi_gcp/gkehub/scope_iam_policy.py +0 -13
- pulumi_gcp/iam/__init__.py +0 -4
- pulumi_gcp/iam/_inputs.py +0 -432
- pulumi_gcp/iam/get_workload_identity_pool.py +1 -35
- pulumi_gcp/iam/oauth_client_credential.py +0 -6
- pulumi_gcp/iam/outputs.py +0 -510
- pulumi_gcp/iam/workload_identity_pool.py +24 -446
- pulumi_gcp/iap/app_engine_service_iam_binding.py +14 -14
- pulumi_gcp/iap/app_engine_service_iam_member.py +14 -14
- pulumi_gcp/iap/app_engine_service_iam_policy.py +14 -14
- pulumi_gcp/iap/app_engine_version_iam_binding.py +14 -14
- pulumi_gcp/iap/app_engine_version_iam_member.py +14 -14
- pulumi_gcp/iap/app_engine_version_iam_policy.py +14 -14
- pulumi_gcp/iap/get_app_engine_service_iam_policy.py +4 -4
- pulumi_gcp/iap/get_app_engine_version_iam_policy.py +4 -4
- pulumi_gcp/iap/get_tunnel_dest_group_iam_policy.py +0 -2
- pulumi_gcp/iap/get_tunnel_instance_iam_policy.py +0 -6
- pulumi_gcp/iap/get_web_region_backend_service_iam_policy.py +0 -6
- pulumi_gcp/iap/get_web_type_app_engine_iam_policy.py +2 -2
- pulumi_gcp/iap/tunnel_dest_group_iam_binding.py +0 -13
- pulumi_gcp/iap/tunnel_dest_group_iam_member.py +0 -13
- pulumi_gcp/iap/tunnel_dest_group_iam_policy.py +0 -13
- pulumi_gcp/iap/tunnel_instance_iam_binding.py +0 -27
- pulumi_gcp/iap/tunnel_instance_iam_member.py +0 -27
- pulumi_gcp/iap/tunnel_instance_iam_policy.py +0 -27
- pulumi_gcp/iap/web_region_backend_service_iam_binding.py +0 -27
- pulumi_gcp/iap/web_region_backend_service_iam_member.py +0 -27
- pulumi_gcp/iap/web_region_backend_service_iam_policy.py +0 -27
- pulumi_gcp/iap/web_type_app_enging_iam_binding.py +7 -7
- pulumi_gcp/iap/web_type_app_enging_iam_member.py +7 -7
- pulumi_gcp/iap/web_type_app_enging_iam_policy.py +7 -7
- pulumi_gcp/lustre/__init__.py +0 -1
- pulumi_gcp/lustre/instance.py +0 -12
- pulumi_gcp/netapp/backup.py +2 -2
- pulumi_gcp/networksecurity/intercept_deployment.py +0 -10
- pulumi_gcp/networksecurity/intercept_deployment_group.py +0 -8
- pulumi_gcp/networksecurity/intercept_endpoint_group.py +0 -12
- pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +0 -16
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +0 -2
- pulumi_gcp/secretmanager/get_secret_iam_policy.py +0 -2
- pulumi_gcp/secretmanager/regional_secret_iam_binding.py +0 -13
- pulumi_gcp/secretmanager/regional_secret_iam_member.py +0 -13
- pulumi_gcp/secretmanager/regional_secret_iam_policy.py +0 -13
- pulumi_gcp/secretmanager/secret_iam_binding.py +0 -13
- pulumi_gcp/secretmanager/secret_iam_member.py +0 -13
- pulumi_gcp/secretmanager/secret_iam_policy.py +0 -13
- pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +4 -2
- pulumi_gcp/securesourcemanager/get_repository_iam_policy.py +4 -2
- pulumi_gcp/securesourcemanager/repository_iam_binding.py +11 -4
- pulumi_gcp/securesourcemanager/repository_iam_member.py +11 -4
- pulumi_gcp/securesourcemanager/repository_iam_policy.py +11 -4
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_export.py +2 -2
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +2 -2
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_binding.py +0 -13
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_member.py +0 -13
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_policy.py +0 -13
- pulumi_gcp/vertex/get_ai_feature_online_store_featureview_iam_policy.py +0 -2
- pulumi_gcp/vmwareengine/external_address.py +4 -4
- pulumi_gcp/workstations/get_workstation_config_iam_policy.py +0 -6
- pulumi_gcp/workstations/get_workstation_iam_policy.py +0 -10
- pulumi_gcp/workstations/workstation_config_iam_binding.py +0 -33
- pulumi_gcp/workstations/workstation_config_iam_member.py +0 -33
- pulumi_gcp/workstations/workstation_config_iam_policy.py +0 -33
- pulumi_gcp/workstations/workstation_iam_binding.py +0 -53
- pulumi_gcp/workstations/workstation_iam_member.py +0 -53
- pulumi_gcp/workstations/workstation_iam_policy.py +0 -53
- {pulumi_gcp-8.32.0.dist-info → pulumi_gcp-8.32.0a1747459264.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.32.0.dist-info → pulumi_gcp-8.32.0a1747459264.dist-info}/RECORD +241 -256
- {pulumi_gcp-8.32.0.dist-info → pulumi_gcp-8.32.0a1747459264.dist-info}/WHEEL +1 -1
- pulumi_gcp/beyondcorp/get_security_gateway.py +0 -222
- pulumi_gcp/bigquery/row_access_policy.py +0 -787
- pulumi_gcp/dataplex/get_glossary_iam_policy.py +0 -185
- pulumi_gcp/dataplex/glossary.py +0 -772
- pulumi_gcp/dataplex/glossary_iam_binding.py +0 -837
- pulumi_gcp/dataplex/glossary_iam_member.py +0 -837
- pulumi_gcp/dataplex/glossary_iam_policy.py +0 -676
- pulumi_gcp/firebase/app_hosting_default_domain.py +0 -721
- pulumi_gcp/firebase/app_hosting_domain.py +0 -796
- pulumi_gcp/firebase/app_hosting_traffic.py +0 -914
- pulumi_gcp/iam/get_workload_identity_pool_iam_policy.py +0 -156
- pulumi_gcp/iam/workload_identity_pool_iam_binding.py +0 -539
- pulumi_gcp/iam/workload_identity_pool_iam_member.py +0 -539
- pulumi_gcp/iam/workload_identity_pool_iam_policy.py +0 -358
- pulumi_gcp/lustre/get_instance.py +0 -280
- {pulumi_gcp-8.32.0.dist-info → pulumi_gcp-8.32.0a1747459264.dist-info}/top_level.txt +0 -0
@@ -1,358 +0,0 @@
|
|
1
|
-
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
-
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
-
|
5
|
-
import builtins
|
6
|
-
import copy
|
7
|
-
import warnings
|
8
|
-
import sys
|
9
|
-
import pulumi
|
10
|
-
import pulumi.runtime
|
11
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
-
if sys.version_info >= (3, 11):
|
13
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
-
else:
|
15
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
-
from .. import _utilities
|
17
|
-
|
18
|
-
__all__ = ['WorkloadIdentityPoolIamPolicyArgs', 'WorkloadIdentityPoolIamPolicy']
|
19
|
-
|
20
|
-
@pulumi.input_type
|
21
|
-
class WorkloadIdentityPoolIamPolicyArgs:
|
22
|
-
def __init__(__self__, *,
|
23
|
-
policy_data: pulumi.Input[builtins.str],
|
24
|
-
workload_identity_pool_id: pulumi.Input[builtins.str],
|
25
|
-
project: Optional[pulumi.Input[builtins.str]] = None):
|
26
|
-
"""
|
27
|
-
The set of arguments for constructing a WorkloadIdentityPoolIamPolicy resource.
|
28
|
-
:param pulumi.Input[builtins.str] policy_data: The policy data generated by
|
29
|
-
a `organizations_get_iam_policy` data source.
|
30
|
-
:param pulumi.Input[builtins.str] workload_identity_pool_id: Used to find the parent resource to bind the IAM policy to
|
31
|
-
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
32
|
-
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.
|
33
|
-
"""
|
34
|
-
pulumi.set(__self__, "policy_data", policy_data)
|
35
|
-
pulumi.set(__self__, "workload_identity_pool_id", workload_identity_pool_id)
|
36
|
-
if project is not None:
|
37
|
-
pulumi.set(__self__, "project", project)
|
38
|
-
|
39
|
-
@property
|
40
|
-
@pulumi.getter(name="policyData")
|
41
|
-
def policy_data(self) -> pulumi.Input[builtins.str]:
|
42
|
-
"""
|
43
|
-
The policy data generated by
|
44
|
-
a `organizations_get_iam_policy` data source.
|
45
|
-
"""
|
46
|
-
return pulumi.get(self, "policy_data")
|
47
|
-
|
48
|
-
@policy_data.setter
|
49
|
-
def policy_data(self, value: pulumi.Input[builtins.str]):
|
50
|
-
pulumi.set(self, "policy_data", value)
|
51
|
-
|
52
|
-
@property
|
53
|
-
@pulumi.getter(name="workloadIdentityPoolId")
|
54
|
-
def workload_identity_pool_id(self) -> pulumi.Input[builtins.str]:
|
55
|
-
"""
|
56
|
-
Used to find the parent resource to bind the IAM policy to
|
57
|
-
"""
|
58
|
-
return pulumi.get(self, "workload_identity_pool_id")
|
59
|
-
|
60
|
-
@workload_identity_pool_id.setter
|
61
|
-
def workload_identity_pool_id(self, value: pulumi.Input[builtins.str]):
|
62
|
-
pulumi.set(self, "workload_identity_pool_id", value)
|
63
|
-
|
64
|
-
@property
|
65
|
-
@pulumi.getter
|
66
|
-
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
67
|
-
"""
|
68
|
-
The ID of the project in which the resource belongs.
|
69
|
-
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.
|
70
|
-
"""
|
71
|
-
return pulumi.get(self, "project")
|
72
|
-
|
73
|
-
@project.setter
|
74
|
-
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
75
|
-
pulumi.set(self, "project", value)
|
76
|
-
|
77
|
-
|
78
|
-
@pulumi.input_type
|
79
|
-
class _WorkloadIdentityPoolIamPolicyState:
|
80
|
-
def __init__(__self__, *,
|
81
|
-
etag: Optional[pulumi.Input[builtins.str]] = None,
|
82
|
-
policy_data: Optional[pulumi.Input[builtins.str]] = None,
|
83
|
-
project: Optional[pulumi.Input[builtins.str]] = None,
|
84
|
-
workload_identity_pool_id: Optional[pulumi.Input[builtins.str]] = None):
|
85
|
-
"""
|
86
|
-
Input properties used for looking up and filtering WorkloadIdentityPoolIamPolicy resources.
|
87
|
-
:param pulumi.Input[builtins.str] etag: (Computed) The etag of the IAM policy.
|
88
|
-
:param pulumi.Input[builtins.str] policy_data: The policy data generated by
|
89
|
-
a `organizations_get_iam_policy` data source.
|
90
|
-
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
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.
|
92
|
-
:param pulumi.Input[builtins.str] workload_identity_pool_id: Used to find the parent resource to bind the IAM policy to
|
93
|
-
"""
|
94
|
-
if etag is not None:
|
95
|
-
pulumi.set(__self__, "etag", etag)
|
96
|
-
if policy_data is not None:
|
97
|
-
pulumi.set(__self__, "policy_data", policy_data)
|
98
|
-
if project is not None:
|
99
|
-
pulumi.set(__self__, "project", project)
|
100
|
-
if workload_identity_pool_id is not None:
|
101
|
-
pulumi.set(__self__, "workload_identity_pool_id", workload_identity_pool_id)
|
102
|
-
|
103
|
-
@property
|
104
|
-
@pulumi.getter
|
105
|
-
def etag(self) -> Optional[pulumi.Input[builtins.str]]:
|
106
|
-
"""
|
107
|
-
(Computed) The etag of the IAM policy.
|
108
|
-
"""
|
109
|
-
return pulumi.get(self, "etag")
|
110
|
-
|
111
|
-
@etag.setter
|
112
|
-
def etag(self, value: Optional[pulumi.Input[builtins.str]]):
|
113
|
-
pulumi.set(self, "etag", value)
|
114
|
-
|
115
|
-
@property
|
116
|
-
@pulumi.getter(name="policyData")
|
117
|
-
def policy_data(self) -> Optional[pulumi.Input[builtins.str]]:
|
118
|
-
"""
|
119
|
-
The policy data generated by
|
120
|
-
a `organizations_get_iam_policy` data source.
|
121
|
-
"""
|
122
|
-
return pulumi.get(self, "policy_data")
|
123
|
-
|
124
|
-
@policy_data.setter
|
125
|
-
def policy_data(self, value: Optional[pulumi.Input[builtins.str]]):
|
126
|
-
pulumi.set(self, "policy_data", value)
|
127
|
-
|
128
|
-
@property
|
129
|
-
@pulumi.getter
|
130
|
-
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
131
|
-
"""
|
132
|
-
The ID of the project in which the resource belongs.
|
133
|
-
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.
|
134
|
-
"""
|
135
|
-
return pulumi.get(self, "project")
|
136
|
-
|
137
|
-
@project.setter
|
138
|
-
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
139
|
-
pulumi.set(self, "project", value)
|
140
|
-
|
141
|
-
@property
|
142
|
-
@pulumi.getter(name="workloadIdentityPoolId")
|
143
|
-
def workload_identity_pool_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
144
|
-
"""
|
145
|
-
Used to find the parent resource to bind the IAM policy to
|
146
|
-
"""
|
147
|
-
return pulumi.get(self, "workload_identity_pool_id")
|
148
|
-
|
149
|
-
@workload_identity_pool_id.setter
|
150
|
-
def workload_identity_pool_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
151
|
-
pulumi.set(self, "workload_identity_pool_id", value)
|
152
|
-
|
153
|
-
|
154
|
-
@pulumi.type_token("gcp:iam/workloadIdentityPoolIamPolicy:WorkloadIdentityPoolIamPolicy")
|
155
|
-
class WorkloadIdentityPoolIamPolicy(pulumi.CustomResource):
|
156
|
-
@overload
|
157
|
-
def __init__(__self__,
|
158
|
-
resource_name: str,
|
159
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
160
|
-
policy_data: Optional[pulumi.Input[builtins.str]] = None,
|
161
|
-
project: Optional[pulumi.Input[builtins.str]] = None,
|
162
|
-
workload_identity_pool_id: Optional[pulumi.Input[builtins.str]] = None,
|
163
|
-
__props__=None):
|
164
|
-
"""
|
165
|
-
## Import
|
166
|
-
|
167
|
-
For all import syntaxes, the "resource in question" can take any of the following forms:
|
168
|
-
|
169
|
-
* projects/{{project}}/locations/global/workloadIdentityPools/{{workload_identity_pool_id}}
|
170
|
-
|
171
|
-
* {{project}}/{{workload_identity_pool_id}}
|
172
|
-
|
173
|
-
* {{workload_identity_pool_id}}
|
174
|
-
|
175
|
-
Any variables not passed in the import command will be taken from the provider configuration.
|
176
|
-
|
177
|
-
Cloud IAM workloadidentitypool IAM resources can be imported using the resource identifiers, role, and member.
|
178
|
-
|
179
|
-
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
|
180
|
-
|
181
|
-
```sh
|
182
|
-
$ pulumi import gcp:iam/workloadIdentityPoolIamPolicy:WorkloadIdentityPoolIamPolicy editor "projects/{{project}}/locations/global/workloadIdentityPools/{{workload_identity_pool_id}} roles/iam.workloadIdentityPoolViewer user:jane@example.com"
|
183
|
-
```
|
184
|
-
|
185
|
-
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
|
186
|
-
|
187
|
-
```sh
|
188
|
-
$ pulumi import gcp:iam/workloadIdentityPoolIamPolicy:WorkloadIdentityPoolIamPolicy editor "projects/{{project}}/locations/global/workloadIdentityPools/{{workload_identity_pool_id}} roles/iam.workloadIdentityPoolViewer"
|
189
|
-
```
|
190
|
-
|
191
|
-
IAM policy imports use the identifier of the resource in question, e.g.
|
192
|
-
|
193
|
-
```sh
|
194
|
-
$ pulumi import gcp:iam/workloadIdentityPoolIamPolicy:WorkloadIdentityPoolIamPolicy editor projects/{{project}}/locations/global/workloadIdentityPools/{{workload_identity_pool_id}}
|
195
|
-
```
|
196
|
-
|
197
|
-
-> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
|
198
|
-
|
199
|
-
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
200
|
-
|
201
|
-
:param str resource_name: The name of the resource.
|
202
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
203
|
-
:param pulumi.Input[builtins.str] policy_data: The policy data generated by
|
204
|
-
a `organizations_get_iam_policy` data source.
|
205
|
-
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
206
|
-
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.
|
207
|
-
:param pulumi.Input[builtins.str] workload_identity_pool_id: Used to find the parent resource to bind the IAM policy to
|
208
|
-
"""
|
209
|
-
...
|
210
|
-
@overload
|
211
|
-
def __init__(__self__,
|
212
|
-
resource_name: str,
|
213
|
-
args: WorkloadIdentityPoolIamPolicyArgs,
|
214
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
215
|
-
"""
|
216
|
-
## Import
|
217
|
-
|
218
|
-
For all import syntaxes, the "resource in question" can take any of the following forms:
|
219
|
-
|
220
|
-
* projects/{{project}}/locations/global/workloadIdentityPools/{{workload_identity_pool_id}}
|
221
|
-
|
222
|
-
* {{project}}/{{workload_identity_pool_id}}
|
223
|
-
|
224
|
-
* {{workload_identity_pool_id}}
|
225
|
-
|
226
|
-
Any variables not passed in the import command will be taken from the provider configuration.
|
227
|
-
|
228
|
-
Cloud IAM workloadidentitypool IAM resources can be imported using the resource identifiers, role, and member.
|
229
|
-
|
230
|
-
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
|
231
|
-
|
232
|
-
```sh
|
233
|
-
$ pulumi import gcp:iam/workloadIdentityPoolIamPolicy:WorkloadIdentityPoolIamPolicy editor "projects/{{project}}/locations/global/workloadIdentityPools/{{workload_identity_pool_id}} roles/iam.workloadIdentityPoolViewer user:jane@example.com"
|
234
|
-
```
|
235
|
-
|
236
|
-
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
|
237
|
-
|
238
|
-
```sh
|
239
|
-
$ pulumi import gcp:iam/workloadIdentityPoolIamPolicy:WorkloadIdentityPoolIamPolicy editor "projects/{{project}}/locations/global/workloadIdentityPools/{{workload_identity_pool_id}} roles/iam.workloadIdentityPoolViewer"
|
240
|
-
```
|
241
|
-
|
242
|
-
IAM policy imports use the identifier of the resource in question, e.g.
|
243
|
-
|
244
|
-
```sh
|
245
|
-
$ pulumi import gcp:iam/workloadIdentityPoolIamPolicy:WorkloadIdentityPoolIamPolicy editor projects/{{project}}/locations/global/workloadIdentityPools/{{workload_identity_pool_id}}
|
246
|
-
```
|
247
|
-
|
248
|
-
-> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
|
249
|
-
|
250
|
-
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
251
|
-
|
252
|
-
:param str resource_name: The name of the resource.
|
253
|
-
:param WorkloadIdentityPoolIamPolicyArgs args: The arguments to use to populate this resource's properties.
|
254
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
255
|
-
"""
|
256
|
-
...
|
257
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
258
|
-
resource_args, opts = _utilities.get_resource_args_opts(WorkloadIdentityPoolIamPolicyArgs, pulumi.ResourceOptions, *args, **kwargs)
|
259
|
-
if resource_args is not None:
|
260
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
261
|
-
else:
|
262
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
263
|
-
|
264
|
-
def _internal_init(__self__,
|
265
|
-
resource_name: str,
|
266
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
267
|
-
policy_data: Optional[pulumi.Input[builtins.str]] = None,
|
268
|
-
project: Optional[pulumi.Input[builtins.str]] = None,
|
269
|
-
workload_identity_pool_id: Optional[pulumi.Input[builtins.str]] = None,
|
270
|
-
__props__=None):
|
271
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
272
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
273
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
274
|
-
if opts.id is None:
|
275
|
-
if __props__ is not None:
|
276
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
277
|
-
__props__ = WorkloadIdentityPoolIamPolicyArgs.__new__(WorkloadIdentityPoolIamPolicyArgs)
|
278
|
-
|
279
|
-
if policy_data is None and not opts.urn:
|
280
|
-
raise TypeError("Missing required property 'policy_data'")
|
281
|
-
__props__.__dict__["policy_data"] = policy_data
|
282
|
-
__props__.__dict__["project"] = project
|
283
|
-
if workload_identity_pool_id is None and not opts.urn:
|
284
|
-
raise TypeError("Missing required property 'workload_identity_pool_id'")
|
285
|
-
__props__.__dict__["workload_identity_pool_id"] = workload_identity_pool_id
|
286
|
-
__props__.__dict__["etag"] = None
|
287
|
-
super(WorkloadIdentityPoolIamPolicy, __self__).__init__(
|
288
|
-
'gcp:iam/workloadIdentityPoolIamPolicy:WorkloadIdentityPoolIamPolicy',
|
289
|
-
resource_name,
|
290
|
-
__props__,
|
291
|
-
opts)
|
292
|
-
|
293
|
-
@staticmethod
|
294
|
-
def get(resource_name: str,
|
295
|
-
id: pulumi.Input[str],
|
296
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
297
|
-
etag: Optional[pulumi.Input[builtins.str]] = None,
|
298
|
-
policy_data: Optional[pulumi.Input[builtins.str]] = None,
|
299
|
-
project: Optional[pulumi.Input[builtins.str]] = None,
|
300
|
-
workload_identity_pool_id: Optional[pulumi.Input[builtins.str]] = None) -> 'WorkloadIdentityPoolIamPolicy':
|
301
|
-
"""
|
302
|
-
Get an existing WorkloadIdentityPoolIamPolicy resource's state with the given name, id, and optional extra
|
303
|
-
properties used to qualify the lookup.
|
304
|
-
|
305
|
-
:param str resource_name: The unique name of the resulting resource.
|
306
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
307
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
308
|
-
:param pulumi.Input[builtins.str] etag: (Computed) The etag of the IAM policy.
|
309
|
-
:param pulumi.Input[builtins.str] policy_data: The policy data generated by
|
310
|
-
a `organizations_get_iam_policy` data source.
|
311
|
-
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
312
|
-
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.
|
313
|
-
:param pulumi.Input[builtins.str] workload_identity_pool_id: Used to find the parent resource to bind the IAM policy to
|
314
|
-
"""
|
315
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
316
|
-
|
317
|
-
__props__ = _WorkloadIdentityPoolIamPolicyState.__new__(_WorkloadIdentityPoolIamPolicyState)
|
318
|
-
|
319
|
-
__props__.__dict__["etag"] = etag
|
320
|
-
__props__.__dict__["policy_data"] = policy_data
|
321
|
-
__props__.__dict__["project"] = project
|
322
|
-
__props__.__dict__["workload_identity_pool_id"] = workload_identity_pool_id
|
323
|
-
return WorkloadIdentityPoolIamPolicy(resource_name, opts=opts, __props__=__props__)
|
324
|
-
|
325
|
-
@property
|
326
|
-
@pulumi.getter
|
327
|
-
def etag(self) -> pulumi.Output[builtins.str]:
|
328
|
-
"""
|
329
|
-
(Computed) The etag of the IAM policy.
|
330
|
-
"""
|
331
|
-
return pulumi.get(self, "etag")
|
332
|
-
|
333
|
-
@property
|
334
|
-
@pulumi.getter(name="policyData")
|
335
|
-
def policy_data(self) -> pulumi.Output[builtins.str]:
|
336
|
-
"""
|
337
|
-
The policy data generated by
|
338
|
-
a `organizations_get_iam_policy` data source.
|
339
|
-
"""
|
340
|
-
return pulumi.get(self, "policy_data")
|
341
|
-
|
342
|
-
@property
|
343
|
-
@pulumi.getter
|
344
|
-
def project(self) -> pulumi.Output[builtins.str]:
|
345
|
-
"""
|
346
|
-
The ID of the project in which the resource belongs.
|
347
|
-
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.
|
348
|
-
"""
|
349
|
-
return pulumi.get(self, "project")
|
350
|
-
|
351
|
-
@property
|
352
|
-
@pulumi.getter(name="workloadIdentityPoolId")
|
353
|
-
def workload_identity_pool_id(self) -> pulumi.Output[builtins.str]:
|
354
|
-
"""
|
355
|
-
Used to find the parent resource to bind the IAM policy to
|
356
|
-
"""
|
357
|
-
return pulumi.get(self, "workload_identity_pool_id")
|
358
|
-
|
@@ -1,280 +0,0 @@
|
|
1
|
-
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
-
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
-
|
5
|
-
import builtins
|
6
|
-
import copy
|
7
|
-
import warnings
|
8
|
-
import sys
|
9
|
-
import pulumi
|
10
|
-
import pulumi.runtime
|
11
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
-
if sys.version_info >= (3, 11):
|
13
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
-
else:
|
15
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
-
from .. import _utilities
|
17
|
-
|
18
|
-
__all__ = [
|
19
|
-
'GetInstanceResult',
|
20
|
-
'AwaitableGetInstanceResult',
|
21
|
-
'get_instance',
|
22
|
-
'get_instance_output',
|
23
|
-
]
|
24
|
-
|
25
|
-
@pulumi.output_type
|
26
|
-
class GetInstanceResult:
|
27
|
-
"""
|
28
|
-
A collection of values returned by getInstance.
|
29
|
-
"""
|
30
|
-
def __init__(__self__, capacity_gib=None, create_time=None, description=None, effective_labels=None, filesystem=None, gke_support_enabled=None, id=None, instance_id=None, labels=None, location=None, mount_point=None, name=None, network=None, project=None, pulumi_labels=None, state=None, update_time=None, zone=None):
|
31
|
-
if capacity_gib and not isinstance(capacity_gib, str):
|
32
|
-
raise TypeError("Expected argument 'capacity_gib' to be a str")
|
33
|
-
pulumi.set(__self__, "capacity_gib", capacity_gib)
|
34
|
-
if create_time and not isinstance(create_time, str):
|
35
|
-
raise TypeError("Expected argument 'create_time' to be a str")
|
36
|
-
pulumi.set(__self__, "create_time", create_time)
|
37
|
-
if description and not isinstance(description, str):
|
38
|
-
raise TypeError("Expected argument 'description' to be a str")
|
39
|
-
pulumi.set(__self__, "description", description)
|
40
|
-
if effective_labels and not isinstance(effective_labels, dict):
|
41
|
-
raise TypeError("Expected argument 'effective_labels' to be a dict")
|
42
|
-
pulumi.set(__self__, "effective_labels", effective_labels)
|
43
|
-
if filesystem and not isinstance(filesystem, str):
|
44
|
-
raise TypeError("Expected argument 'filesystem' to be a str")
|
45
|
-
pulumi.set(__self__, "filesystem", filesystem)
|
46
|
-
if gke_support_enabled and not isinstance(gke_support_enabled, bool):
|
47
|
-
raise TypeError("Expected argument 'gke_support_enabled' to be a bool")
|
48
|
-
pulumi.set(__self__, "gke_support_enabled", gke_support_enabled)
|
49
|
-
if id and not isinstance(id, str):
|
50
|
-
raise TypeError("Expected argument 'id' to be a str")
|
51
|
-
pulumi.set(__self__, "id", id)
|
52
|
-
if instance_id and not isinstance(instance_id, str):
|
53
|
-
raise TypeError("Expected argument 'instance_id' to be a str")
|
54
|
-
pulumi.set(__self__, "instance_id", instance_id)
|
55
|
-
if labels and not isinstance(labels, dict):
|
56
|
-
raise TypeError("Expected argument 'labels' to be a dict")
|
57
|
-
pulumi.set(__self__, "labels", labels)
|
58
|
-
if location and not isinstance(location, str):
|
59
|
-
raise TypeError("Expected argument 'location' to be a str")
|
60
|
-
pulumi.set(__self__, "location", location)
|
61
|
-
if mount_point and not isinstance(mount_point, str):
|
62
|
-
raise TypeError("Expected argument 'mount_point' to be a str")
|
63
|
-
pulumi.set(__self__, "mount_point", mount_point)
|
64
|
-
if name and not isinstance(name, str):
|
65
|
-
raise TypeError("Expected argument 'name' to be a str")
|
66
|
-
pulumi.set(__self__, "name", name)
|
67
|
-
if network and not isinstance(network, str):
|
68
|
-
raise TypeError("Expected argument 'network' to be a str")
|
69
|
-
pulumi.set(__self__, "network", network)
|
70
|
-
if project and not isinstance(project, str):
|
71
|
-
raise TypeError("Expected argument 'project' to be a str")
|
72
|
-
pulumi.set(__self__, "project", project)
|
73
|
-
if pulumi_labels and not isinstance(pulumi_labels, dict):
|
74
|
-
raise TypeError("Expected argument 'pulumi_labels' to be a dict")
|
75
|
-
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
76
|
-
if state and not isinstance(state, str):
|
77
|
-
raise TypeError("Expected argument 'state' to be a str")
|
78
|
-
pulumi.set(__self__, "state", state)
|
79
|
-
if update_time and not isinstance(update_time, str):
|
80
|
-
raise TypeError("Expected argument 'update_time' to be a str")
|
81
|
-
pulumi.set(__self__, "update_time", update_time)
|
82
|
-
if zone and not isinstance(zone, str):
|
83
|
-
raise TypeError("Expected argument 'zone' to be a str")
|
84
|
-
pulumi.set(__self__, "zone", zone)
|
85
|
-
|
86
|
-
@property
|
87
|
-
@pulumi.getter(name="capacityGib")
|
88
|
-
def capacity_gib(self) -> builtins.str:
|
89
|
-
return pulumi.get(self, "capacity_gib")
|
90
|
-
|
91
|
-
@property
|
92
|
-
@pulumi.getter(name="createTime")
|
93
|
-
def create_time(self) -> builtins.str:
|
94
|
-
return pulumi.get(self, "create_time")
|
95
|
-
|
96
|
-
@property
|
97
|
-
@pulumi.getter
|
98
|
-
def description(self) -> builtins.str:
|
99
|
-
return pulumi.get(self, "description")
|
100
|
-
|
101
|
-
@property
|
102
|
-
@pulumi.getter(name="effectiveLabels")
|
103
|
-
def effective_labels(self) -> Mapping[str, builtins.str]:
|
104
|
-
return pulumi.get(self, "effective_labels")
|
105
|
-
|
106
|
-
@property
|
107
|
-
@pulumi.getter
|
108
|
-
def filesystem(self) -> builtins.str:
|
109
|
-
return pulumi.get(self, "filesystem")
|
110
|
-
|
111
|
-
@property
|
112
|
-
@pulumi.getter(name="gkeSupportEnabled")
|
113
|
-
def gke_support_enabled(self) -> builtins.bool:
|
114
|
-
return pulumi.get(self, "gke_support_enabled")
|
115
|
-
|
116
|
-
@property
|
117
|
-
@pulumi.getter
|
118
|
-
def id(self) -> builtins.str:
|
119
|
-
"""
|
120
|
-
The provider-assigned unique ID for this managed resource.
|
121
|
-
"""
|
122
|
-
return pulumi.get(self, "id")
|
123
|
-
|
124
|
-
@property
|
125
|
-
@pulumi.getter(name="instanceId")
|
126
|
-
def instance_id(self) -> builtins.str:
|
127
|
-
return pulumi.get(self, "instance_id")
|
128
|
-
|
129
|
-
@property
|
130
|
-
@pulumi.getter
|
131
|
-
def labels(self) -> Mapping[str, builtins.str]:
|
132
|
-
return pulumi.get(self, "labels")
|
133
|
-
|
134
|
-
@property
|
135
|
-
@pulumi.getter
|
136
|
-
def location(self) -> builtins.str:
|
137
|
-
return pulumi.get(self, "location")
|
138
|
-
|
139
|
-
@property
|
140
|
-
@pulumi.getter(name="mountPoint")
|
141
|
-
def mount_point(self) -> builtins.str:
|
142
|
-
return pulumi.get(self, "mount_point")
|
143
|
-
|
144
|
-
@property
|
145
|
-
@pulumi.getter
|
146
|
-
def name(self) -> builtins.str:
|
147
|
-
return pulumi.get(self, "name")
|
148
|
-
|
149
|
-
@property
|
150
|
-
@pulumi.getter
|
151
|
-
def network(self) -> builtins.str:
|
152
|
-
return pulumi.get(self, "network")
|
153
|
-
|
154
|
-
@property
|
155
|
-
@pulumi.getter
|
156
|
-
def project(self) -> Optional[builtins.str]:
|
157
|
-
return pulumi.get(self, "project")
|
158
|
-
|
159
|
-
@property
|
160
|
-
@pulumi.getter(name="pulumiLabels")
|
161
|
-
def pulumi_labels(self) -> Mapping[str, builtins.str]:
|
162
|
-
return pulumi.get(self, "pulumi_labels")
|
163
|
-
|
164
|
-
@property
|
165
|
-
@pulumi.getter
|
166
|
-
def state(self) -> builtins.str:
|
167
|
-
return pulumi.get(self, "state")
|
168
|
-
|
169
|
-
@property
|
170
|
-
@pulumi.getter(name="updateTime")
|
171
|
-
def update_time(self) -> builtins.str:
|
172
|
-
return pulumi.get(self, "update_time")
|
173
|
-
|
174
|
-
@property
|
175
|
-
@pulumi.getter
|
176
|
-
def zone(self) -> Optional[builtins.str]:
|
177
|
-
return pulumi.get(self, "zone")
|
178
|
-
|
179
|
-
|
180
|
-
class AwaitableGetInstanceResult(GetInstanceResult):
|
181
|
-
# pylint: disable=using-constant-test
|
182
|
-
def __await__(self):
|
183
|
-
if False:
|
184
|
-
yield self
|
185
|
-
return GetInstanceResult(
|
186
|
-
capacity_gib=self.capacity_gib,
|
187
|
-
create_time=self.create_time,
|
188
|
-
description=self.description,
|
189
|
-
effective_labels=self.effective_labels,
|
190
|
-
filesystem=self.filesystem,
|
191
|
-
gke_support_enabled=self.gke_support_enabled,
|
192
|
-
id=self.id,
|
193
|
-
instance_id=self.instance_id,
|
194
|
-
labels=self.labels,
|
195
|
-
location=self.location,
|
196
|
-
mount_point=self.mount_point,
|
197
|
-
name=self.name,
|
198
|
-
network=self.network,
|
199
|
-
project=self.project,
|
200
|
-
pulumi_labels=self.pulumi_labels,
|
201
|
-
state=self.state,
|
202
|
-
update_time=self.update_time,
|
203
|
-
zone=self.zone)
|
204
|
-
|
205
|
-
|
206
|
-
def get_instance(instance_id: Optional[builtins.str] = None,
|
207
|
-
project: Optional[builtins.str] = None,
|
208
|
-
zone: Optional[builtins.str] = None,
|
209
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInstanceResult:
|
210
|
-
"""
|
211
|
-
Use this data source to get information about a Lustre instance. For more information see the [API docs](https://cloud.google.com/filestore/docs/lustre/reference/rest/v1/projects.locations.instances).
|
212
|
-
|
213
|
-
|
214
|
-
:param builtins.str instance_id: The instance id of the Lustre instance.
|
215
|
-
:param builtins.str project: The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
|
216
|
-
:param builtins.str zone: The ID of the zone in which the resource belongs. If it is not provided, the provider zone is used.
|
217
|
-
"""
|
218
|
-
__args__ = dict()
|
219
|
-
__args__['instanceId'] = instance_id
|
220
|
-
__args__['project'] = project
|
221
|
-
__args__['zone'] = zone
|
222
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
223
|
-
__ret__ = pulumi.runtime.invoke('gcp:lustre/getInstance:getInstance', __args__, opts=opts, typ=GetInstanceResult).value
|
224
|
-
|
225
|
-
return AwaitableGetInstanceResult(
|
226
|
-
capacity_gib=pulumi.get(__ret__, 'capacity_gib'),
|
227
|
-
create_time=pulumi.get(__ret__, 'create_time'),
|
228
|
-
description=pulumi.get(__ret__, 'description'),
|
229
|
-
effective_labels=pulumi.get(__ret__, 'effective_labels'),
|
230
|
-
filesystem=pulumi.get(__ret__, 'filesystem'),
|
231
|
-
gke_support_enabled=pulumi.get(__ret__, 'gke_support_enabled'),
|
232
|
-
id=pulumi.get(__ret__, 'id'),
|
233
|
-
instance_id=pulumi.get(__ret__, 'instance_id'),
|
234
|
-
labels=pulumi.get(__ret__, 'labels'),
|
235
|
-
location=pulumi.get(__ret__, 'location'),
|
236
|
-
mount_point=pulumi.get(__ret__, 'mount_point'),
|
237
|
-
name=pulumi.get(__ret__, 'name'),
|
238
|
-
network=pulumi.get(__ret__, 'network'),
|
239
|
-
project=pulumi.get(__ret__, 'project'),
|
240
|
-
pulumi_labels=pulumi.get(__ret__, 'pulumi_labels'),
|
241
|
-
state=pulumi.get(__ret__, 'state'),
|
242
|
-
update_time=pulumi.get(__ret__, 'update_time'),
|
243
|
-
zone=pulumi.get(__ret__, 'zone'))
|
244
|
-
def get_instance_output(instance_id: Optional[pulumi.Input[builtins.str]] = None,
|
245
|
-
project: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
246
|
-
zone: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
247
|
-
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInstanceResult]:
|
248
|
-
"""
|
249
|
-
Use this data source to get information about a Lustre instance. For more information see the [API docs](https://cloud.google.com/filestore/docs/lustre/reference/rest/v1/projects.locations.instances).
|
250
|
-
|
251
|
-
|
252
|
-
:param builtins.str instance_id: The instance id of the Lustre instance.
|
253
|
-
:param builtins.str project: The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
|
254
|
-
:param builtins.str zone: The ID of the zone in which the resource belongs. If it is not provided, the provider zone is used.
|
255
|
-
"""
|
256
|
-
__args__ = dict()
|
257
|
-
__args__['instanceId'] = instance_id
|
258
|
-
__args__['project'] = project
|
259
|
-
__args__['zone'] = zone
|
260
|
-
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
261
|
-
__ret__ = pulumi.runtime.invoke_output('gcp:lustre/getInstance:getInstance', __args__, opts=opts, typ=GetInstanceResult)
|
262
|
-
return __ret__.apply(lambda __response__: GetInstanceResult(
|
263
|
-
capacity_gib=pulumi.get(__response__, 'capacity_gib'),
|
264
|
-
create_time=pulumi.get(__response__, 'create_time'),
|
265
|
-
description=pulumi.get(__response__, 'description'),
|
266
|
-
effective_labels=pulumi.get(__response__, 'effective_labels'),
|
267
|
-
filesystem=pulumi.get(__response__, 'filesystem'),
|
268
|
-
gke_support_enabled=pulumi.get(__response__, 'gke_support_enabled'),
|
269
|
-
id=pulumi.get(__response__, 'id'),
|
270
|
-
instance_id=pulumi.get(__response__, 'instance_id'),
|
271
|
-
labels=pulumi.get(__response__, 'labels'),
|
272
|
-
location=pulumi.get(__response__, 'location'),
|
273
|
-
mount_point=pulumi.get(__response__, 'mount_point'),
|
274
|
-
name=pulumi.get(__response__, 'name'),
|
275
|
-
network=pulumi.get(__response__, 'network'),
|
276
|
-
project=pulumi.get(__response__, 'project'),
|
277
|
-
pulumi_labels=pulumi.get(__response__, 'pulumi_labels'),
|
278
|
-
state=pulumi.get(__response__, 'state'),
|
279
|
-
update_time=pulumi.get(__response__, 'update_time'),
|
280
|
-
zone=pulumi.get(__response__, 'zone')))
|
File without changes
|