pulumi-gcp 7.26.0__py3-none-any.whl → 7.26.0a1717544115__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 -56
- pulumi_gcp/alloydb/_inputs.py +0 -92
- pulumi_gcp/alloydb/backup.py +4 -12
- pulumi_gcp/alloydb/cluster.py +6 -72
- pulumi_gcp/alloydb/instance.py +2 -60
- pulumi_gcp/alloydb/outputs.py +0 -114
- pulumi_gcp/artifactregistry/get_repository_iam_policy.py +2 -6
- pulumi_gcp/artifactregistry/repository_iam_binding.py +7 -21
- pulumi_gcp/artifactregistry/repository_iam_member.py +7 -21
- pulumi_gcp/artifactregistry/repository_iam_policy.py +7 -21
- pulumi_gcp/bigquery/connection_iam_binding.py +7 -21
- pulumi_gcp/bigquery/connection_iam_member.py +7 -21
- pulumi_gcp/bigquery/connection_iam_policy.py +7 -21
- pulumi_gcp/bigquery/data_transfer_config.py +7 -14
- pulumi_gcp/bigquery/get_connection_iam_policy.py +2 -6
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +7 -21
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +7 -21
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +7 -21
- pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +2 -6
- pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +2 -6
- pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +7 -21
- pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +7 -21
- pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +7 -21
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_binding.py +7 -21
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_member.py +7 -21
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_policy.py +7 -21
- pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +2 -6
- pulumi_gcp/certificateauthority/_inputs.py +4 -20
- pulumi_gcp/certificateauthority/ca_pool_iam_binding.py +7 -21
- pulumi_gcp/certificateauthority/ca_pool_iam_member.py +7 -21
- pulumi_gcp/certificateauthority/ca_pool_iam_policy.py +7 -21
- pulumi_gcp/certificateauthority/certificate_template.py +173 -157
- pulumi_gcp/certificateauthority/certificate_template_iam_binding.py +0 -27
- pulumi_gcp/certificateauthority/certificate_template_iam_member.py +0 -27
- pulumi_gcp/certificateauthority/certificate_template_iam_policy.py +0 -27
- pulumi_gcp/certificateauthority/get_ca_pool_iam_policy.py +2 -6
- pulumi_gcp/certificateauthority/get_certificate_template_iam_policy.py +0 -6
- pulumi_gcp/certificateauthority/outputs.py +4 -20
- pulumi_gcp/cloudbuildv2/connection_iam_binding.py +7 -21
- pulumi_gcp/cloudbuildv2/connection_iam_member.py +7 -21
- pulumi_gcp/cloudbuildv2/connection_iam_policy.py +7 -21
- pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +2 -6
- pulumi_gcp/clouddeploy/get_custom_target_type_iam_policy.py +2 -6
- pulumi_gcp/cloudfunctionsv2/function_iam_binding.py +7 -21
- pulumi_gcp/cloudfunctionsv2/function_iam_member.py +7 -21
- pulumi_gcp/cloudfunctionsv2/function_iam_policy.py +7 -21
- pulumi_gcp/cloudfunctionsv2/get_function_iam_policy.py +2 -6
- pulumi_gcp/cloudrun/get_service_iam_policy.py +2 -6
- pulumi_gcp/cloudrun/iam_binding.py +7 -21
- pulumi_gcp/cloudrun/iam_member.py +7 -21
- pulumi_gcp/cloudrun/iam_policy.py +7 -21
- pulumi_gcp/cloudrunv2/get_job_iam_policy.py +2 -6
- pulumi_gcp/cloudrunv2/get_service.py +1 -11
- pulumi_gcp/cloudrunv2/get_service_iam_policy.py +2 -6
- pulumi_gcp/cloudrunv2/job_iam_binding.py +7 -21
- pulumi_gcp/cloudrunv2/job_iam_member.py +7 -21
- pulumi_gcp/cloudrunv2/job_iam_policy.py +7 -21
- pulumi_gcp/cloudrunv2/service.py +0 -47
- pulumi_gcp/cloudrunv2/service_iam_binding.py +7 -21
- pulumi_gcp/cloudrunv2/service_iam_member.py +7 -21
- pulumi_gcp/cloudrunv2/service_iam_policy.py +7 -21
- pulumi_gcp/cloudtasks/get_queue_iam_policy.py +2 -6
- pulumi_gcp/cloudtasks/queue_iam_binding.py +7 -21
- pulumi_gcp/cloudtasks/queue_iam_member.py +7 -21
- pulumi_gcp/cloudtasks/queue_iam_policy.py +7 -21
- pulumi_gcp/compute/_inputs.py +18 -18
- pulumi_gcp/compute/outputs.py +20 -20
- pulumi_gcp/dataplex/__init__.py +0 -5
- pulumi_gcp/dataplex/_inputs.py +0 -104
- pulumi_gcp/dataplex/aspect_type_iam_binding.py +7 -21
- pulumi_gcp/dataplex/aspect_type_iam_member.py +7 -21
- pulumi_gcp/dataplex/aspect_type_iam_policy.py +7 -21
- pulumi_gcp/dataplex/datascan_iam_binding.py +7 -21
- pulumi_gcp/dataplex/datascan_iam_member.py +7 -21
- pulumi_gcp/dataplex/datascan_iam_policy.py +7 -21
- pulumi_gcp/dataplex/entry_group_iam_binding.py +7 -21
- pulumi_gcp/dataplex/entry_group_iam_member.py +7 -21
- pulumi_gcp/dataplex/entry_group_iam_policy.py +7 -21
- pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +2 -6
- pulumi_gcp/dataplex/get_datascan_iam_policy.py +2 -6
- pulumi_gcp/dataplex/get_entry_group_iam_policy.py +2 -6
- pulumi_gcp/dataplex/get_task_iam_policy.py +2 -6
- pulumi_gcp/dataplex/outputs.py +0 -76
- pulumi_gcp/dataplex/task.py +16 -16
- pulumi_gcp/dataplex/task_iam_binding.py +7 -21
- pulumi_gcp/dataplex/task_iam_member.py +7 -21
- pulumi_gcp/dataplex/task_iam_policy.py +7 -21
- pulumi_gcp/dataproc/autoscaling_policy_iam_binding.py +7 -21
- pulumi_gcp/dataproc/autoscaling_policy_iam_member.py +7 -21
- pulumi_gcp/dataproc/autoscaling_policy_iam_policy.py +7 -21
- pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +2 -6
- pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py +2 -6
- pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +2 -6
- pulumi_gcp/dataproc/metastore_federation_iam_binding.py +7 -21
- pulumi_gcp/dataproc/metastore_federation_iam_member.py +7 -21
- pulumi_gcp/dataproc/metastore_federation_iam_policy.py +7 -21
- pulumi_gcp/dataproc/metastore_service_iam_binding.py +7 -21
- pulumi_gcp/dataproc/metastore_service_iam_member.py +7 -21
- pulumi_gcp/dataproc/metastore_service_iam_policy.py +7 -21
- pulumi_gcp/firestore/field.py +4 -4
- pulumi_gcp/gkebackup/backup_plan_iam_binding.py +7 -21
- pulumi_gcp/gkebackup/backup_plan_iam_member.py +7 -21
- pulumi_gcp/gkebackup/backup_plan_iam_policy.py +7 -21
- pulumi_gcp/gkebackup/get_backup_plan_iam_policy.py +2 -6
- pulumi_gcp/gkebackup/get_restore_plan_iam_policy.py +2 -6
- pulumi_gcp/gkehub/feature_iam_binding.py +7 -21
- pulumi_gcp/gkehub/feature_iam_member.py +7 -21
- pulumi_gcp/gkehub/feature_iam_policy.py +7 -21
- pulumi_gcp/gkehub/get_feature_iam_policy.py +2 -6
- pulumi_gcp/gkehub/get_membership_iam_policy.py +2 -6
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_iam_binding.py +7 -21
- pulumi_gcp/gkehub/membership_iam_member.py +7 -21
- pulumi_gcp/gkehub/membership_iam_policy.py +7 -21
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/logging/__init__.py +0 -4
- pulumi_gcp/logging/_inputs.py +0 -100
- pulumi_gcp/logging/outputs.py +0 -76
- pulumi_gcp/netapp/storage_pool.py +9 -9
- pulumi_gcp/networksecurity/address_group_iam_policy.py +7 -21
- pulumi_gcp/networksecurity/get_address_group_iam_policy.py +2 -6
- pulumi_gcp/notebooks/get_instance_iam_policy.py +2 -6
- pulumi_gcp/notebooks/get_runtime_iam_policy.py +2 -6
- pulumi_gcp/notebooks/instance_iam_binding.py +7 -21
- pulumi_gcp/notebooks/instance_iam_member.py +7 -21
- pulumi_gcp/notebooks/instance_iam_policy.py +7 -21
- pulumi_gcp/notebooks/runtime_iam_binding.py +7 -21
- pulumi_gcp/notebooks/runtime_iam_member.py +7 -21
- pulumi_gcp/notebooks/runtime_iam_policy.py +7 -21
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/privilegedaccessmanager/entitlement.py +7 -7
- pulumi_gcp/pubsub/subscription.py +4 -4
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +2 -6
- pulumi_gcp/sql/_inputs.py +4 -2
- pulumi_gcp/sql/outputs.py +8 -6
- pulumi_gcp/storage/_inputs.py +0 -48
- pulumi_gcp/storage/outputs.py +0 -75
- pulumi_gcp/vertex/get_ai_endpoint_iam_policy.py +2 -6
- pulumi_gcp/workbench/get_instance_iam_policy.py +2 -6
- pulumi_gcp/workstations/get_workstation_config_iam_policy.py +2 -6
- pulumi_gcp/workstations/get_workstation_iam_policy.py +2 -6
- pulumi_gcp/workstations/workstation_config_iam_binding.py +7 -21
- pulumi_gcp/workstations/workstation_config_iam_member.py +7 -21
- pulumi_gcp/workstations/workstation_config_iam_policy.py +7 -21
- pulumi_gcp/workstations/workstation_iam_binding.py +7 -21
- pulumi_gcp/workstations/workstation_iam_member.py +7 -21
- pulumi_gcp/workstations/workstation_iam_policy.py +7 -21
- {pulumi_gcp-7.26.0.dist-info → pulumi_gcp-7.26.0a1717544115.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.26.0.dist-info → pulumi_gcp-7.26.0a1717544115.dist-info}/RECORD +156 -165
- pulumi_gcp/dataplex/entry_type.py +0 -963
- pulumi_gcp/dataplex/entry_type_iam_binding.py +0 -779
- pulumi_gcp/dataplex/entry_type_iam_member.py +0 -779
- pulumi_gcp/dataplex/entry_type_iam_policy.py +0 -618
- pulumi_gcp/dataplex/get_entry_type_iam_policy.py +0 -168
- pulumi_gcp/logging/get_log_view_iam_policy.py +0 -157
- pulumi_gcp/logging/log_view_iam_binding.py +0 -630
- pulumi_gcp/logging/log_view_iam_member.py +0 -630
- pulumi_gcp/logging/log_view_iam_policy.py +0 -449
- {pulumi_gcp-7.26.0.dist-info → pulumi_gcp-7.26.0a1717544115.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.26.0.dist-info → pulumi_gcp-7.26.0a1717544115.dist-info}/top_level.txt +0 -0
@@ -1,449 +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 copy
|
6
|
-
import warnings
|
7
|
-
import pulumi
|
8
|
-
import pulumi.runtime
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
-
from .. import _utilities
|
11
|
-
|
12
|
-
__all__ = ['LogViewIamPolicyArgs', 'LogViewIamPolicy']
|
13
|
-
|
14
|
-
@pulumi.input_type
|
15
|
-
class LogViewIamPolicyArgs:
|
16
|
-
def __init__(__self__, *,
|
17
|
-
bucket: pulumi.Input[str],
|
18
|
-
parent: pulumi.Input[str],
|
19
|
-
policy_data: pulumi.Input[str],
|
20
|
-
location: Optional[pulumi.Input[str]] = None,
|
21
|
-
name: Optional[pulumi.Input[str]] = None):
|
22
|
-
"""
|
23
|
-
The set of arguments for constructing a LogViewIamPolicy resource.
|
24
|
-
:param pulumi.Input[str] bucket: The bucket of the resource Used to find the parent resource to bind the IAM policy to
|
25
|
-
:param pulumi.Input[str] parent: The parent of the resource. Used to find the parent resource to bind the IAM policy to
|
26
|
-
:param pulumi.Input[str] policy_data: The policy data generated by
|
27
|
-
a `organizations_get_iam_policy` data source.
|
28
|
-
:param pulumi.Input[str] location: The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified,
|
29
|
-
the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
|
30
|
-
location is specified, it is taken from the provider configuration.
|
31
|
-
:param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
|
32
|
-
"""
|
33
|
-
pulumi.set(__self__, "bucket", bucket)
|
34
|
-
pulumi.set(__self__, "parent", parent)
|
35
|
-
pulumi.set(__self__, "policy_data", policy_data)
|
36
|
-
if location is not None:
|
37
|
-
pulumi.set(__self__, "location", location)
|
38
|
-
if name is not None:
|
39
|
-
pulumi.set(__self__, "name", name)
|
40
|
-
|
41
|
-
@property
|
42
|
-
@pulumi.getter
|
43
|
-
def bucket(self) -> pulumi.Input[str]:
|
44
|
-
"""
|
45
|
-
The bucket of the resource Used to find the parent resource to bind the IAM policy to
|
46
|
-
"""
|
47
|
-
return pulumi.get(self, "bucket")
|
48
|
-
|
49
|
-
@bucket.setter
|
50
|
-
def bucket(self, value: pulumi.Input[str]):
|
51
|
-
pulumi.set(self, "bucket", value)
|
52
|
-
|
53
|
-
@property
|
54
|
-
@pulumi.getter
|
55
|
-
def parent(self) -> pulumi.Input[str]:
|
56
|
-
"""
|
57
|
-
The parent of the resource. Used to find the parent resource to bind the IAM policy to
|
58
|
-
"""
|
59
|
-
return pulumi.get(self, "parent")
|
60
|
-
|
61
|
-
@parent.setter
|
62
|
-
def parent(self, value: pulumi.Input[str]):
|
63
|
-
pulumi.set(self, "parent", value)
|
64
|
-
|
65
|
-
@property
|
66
|
-
@pulumi.getter(name="policyData")
|
67
|
-
def policy_data(self) -> pulumi.Input[str]:
|
68
|
-
"""
|
69
|
-
The policy data generated by
|
70
|
-
a `organizations_get_iam_policy` data source.
|
71
|
-
"""
|
72
|
-
return pulumi.get(self, "policy_data")
|
73
|
-
|
74
|
-
@policy_data.setter
|
75
|
-
def policy_data(self, value: pulumi.Input[str]):
|
76
|
-
pulumi.set(self, "policy_data", value)
|
77
|
-
|
78
|
-
@property
|
79
|
-
@pulumi.getter
|
80
|
-
def location(self) -> Optional[pulumi.Input[str]]:
|
81
|
-
"""
|
82
|
-
The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified,
|
83
|
-
the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
|
84
|
-
location is specified, it is taken from the provider configuration.
|
85
|
-
"""
|
86
|
-
return pulumi.get(self, "location")
|
87
|
-
|
88
|
-
@location.setter
|
89
|
-
def location(self, value: Optional[pulumi.Input[str]]):
|
90
|
-
pulumi.set(self, "location", value)
|
91
|
-
|
92
|
-
@property
|
93
|
-
@pulumi.getter
|
94
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
95
|
-
"""
|
96
|
-
Used to find the parent resource to bind the IAM policy to
|
97
|
-
"""
|
98
|
-
return pulumi.get(self, "name")
|
99
|
-
|
100
|
-
@name.setter
|
101
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
102
|
-
pulumi.set(self, "name", value)
|
103
|
-
|
104
|
-
|
105
|
-
@pulumi.input_type
|
106
|
-
class _LogViewIamPolicyState:
|
107
|
-
def __init__(__self__, *,
|
108
|
-
bucket: Optional[pulumi.Input[str]] = None,
|
109
|
-
etag: Optional[pulumi.Input[str]] = None,
|
110
|
-
location: Optional[pulumi.Input[str]] = None,
|
111
|
-
name: Optional[pulumi.Input[str]] = None,
|
112
|
-
parent: Optional[pulumi.Input[str]] = None,
|
113
|
-
policy_data: Optional[pulumi.Input[str]] = None):
|
114
|
-
"""
|
115
|
-
Input properties used for looking up and filtering LogViewIamPolicy resources.
|
116
|
-
:param pulumi.Input[str] bucket: The bucket of the resource Used to find the parent resource to bind the IAM policy to
|
117
|
-
:param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
|
118
|
-
:param pulumi.Input[str] location: The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified,
|
119
|
-
the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
|
120
|
-
location is specified, it is taken from the provider configuration.
|
121
|
-
:param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
|
122
|
-
:param pulumi.Input[str] parent: The parent of the resource. Used to find the parent resource to bind the IAM policy to
|
123
|
-
:param pulumi.Input[str] policy_data: The policy data generated by
|
124
|
-
a `organizations_get_iam_policy` data source.
|
125
|
-
"""
|
126
|
-
if bucket is not None:
|
127
|
-
pulumi.set(__self__, "bucket", bucket)
|
128
|
-
if etag is not None:
|
129
|
-
pulumi.set(__self__, "etag", etag)
|
130
|
-
if location is not None:
|
131
|
-
pulumi.set(__self__, "location", location)
|
132
|
-
if name is not None:
|
133
|
-
pulumi.set(__self__, "name", name)
|
134
|
-
if parent is not None:
|
135
|
-
pulumi.set(__self__, "parent", parent)
|
136
|
-
if policy_data is not None:
|
137
|
-
pulumi.set(__self__, "policy_data", policy_data)
|
138
|
-
|
139
|
-
@property
|
140
|
-
@pulumi.getter
|
141
|
-
def bucket(self) -> Optional[pulumi.Input[str]]:
|
142
|
-
"""
|
143
|
-
The bucket of the resource Used to find the parent resource to bind the IAM policy to
|
144
|
-
"""
|
145
|
-
return pulumi.get(self, "bucket")
|
146
|
-
|
147
|
-
@bucket.setter
|
148
|
-
def bucket(self, value: Optional[pulumi.Input[str]]):
|
149
|
-
pulumi.set(self, "bucket", value)
|
150
|
-
|
151
|
-
@property
|
152
|
-
@pulumi.getter
|
153
|
-
def etag(self) -> Optional[pulumi.Input[str]]:
|
154
|
-
"""
|
155
|
-
(Computed) The etag of the IAM policy.
|
156
|
-
"""
|
157
|
-
return pulumi.get(self, "etag")
|
158
|
-
|
159
|
-
@etag.setter
|
160
|
-
def etag(self, value: Optional[pulumi.Input[str]]):
|
161
|
-
pulumi.set(self, "etag", value)
|
162
|
-
|
163
|
-
@property
|
164
|
-
@pulumi.getter
|
165
|
-
def location(self) -> Optional[pulumi.Input[str]]:
|
166
|
-
"""
|
167
|
-
The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified,
|
168
|
-
the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
|
169
|
-
location is specified, it is taken from the provider configuration.
|
170
|
-
"""
|
171
|
-
return pulumi.get(self, "location")
|
172
|
-
|
173
|
-
@location.setter
|
174
|
-
def location(self, value: Optional[pulumi.Input[str]]):
|
175
|
-
pulumi.set(self, "location", value)
|
176
|
-
|
177
|
-
@property
|
178
|
-
@pulumi.getter
|
179
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
180
|
-
"""
|
181
|
-
Used to find the parent resource to bind the IAM policy to
|
182
|
-
"""
|
183
|
-
return pulumi.get(self, "name")
|
184
|
-
|
185
|
-
@name.setter
|
186
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
187
|
-
pulumi.set(self, "name", value)
|
188
|
-
|
189
|
-
@property
|
190
|
-
@pulumi.getter
|
191
|
-
def parent(self) -> Optional[pulumi.Input[str]]:
|
192
|
-
"""
|
193
|
-
The parent of the resource. Used to find the parent resource to bind the IAM policy to
|
194
|
-
"""
|
195
|
-
return pulumi.get(self, "parent")
|
196
|
-
|
197
|
-
@parent.setter
|
198
|
-
def parent(self, value: Optional[pulumi.Input[str]]):
|
199
|
-
pulumi.set(self, "parent", value)
|
200
|
-
|
201
|
-
@property
|
202
|
-
@pulumi.getter(name="policyData")
|
203
|
-
def policy_data(self) -> Optional[pulumi.Input[str]]:
|
204
|
-
"""
|
205
|
-
The policy data generated by
|
206
|
-
a `organizations_get_iam_policy` data source.
|
207
|
-
"""
|
208
|
-
return pulumi.get(self, "policy_data")
|
209
|
-
|
210
|
-
@policy_data.setter
|
211
|
-
def policy_data(self, value: Optional[pulumi.Input[str]]):
|
212
|
-
pulumi.set(self, "policy_data", value)
|
213
|
-
|
214
|
-
|
215
|
-
class LogViewIamPolicy(pulumi.CustomResource):
|
216
|
-
@overload
|
217
|
-
def __init__(__self__,
|
218
|
-
resource_name: str,
|
219
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
220
|
-
bucket: Optional[pulumi.Input[str]] = None,
|
221
|
-
location: Optional[pulumi.Input[str]] = None,
|
222
|
-
name: Optional[pulumi.Input[str]] = None,
|
223
|
-
parent: Optional[pulumi.Input[str]] = None,
|
224
|
-
policy_data: Optional[pulumi.Input[str]] = None,
|
225
|
-
__props__=None):
|
226
|
-
"""
|
227
|
-
## Import
|
228
|
-
|
229
|
-
For all import syntaxes, the "resource in question" can take any of the following forms:
|
230
|
-
|
231
|
-
* {{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{name}}
|
232
|
-
|
233
|
-
* {{name}}
|
234
|
-
|
235
|
-
Any variables not passed in the import command will be taken from the provider configuration.
|
236
|
-
|
237
|
-
Cloud (Stackdriver) Logging logview IAM resources can be imported using the resource identifiers, role, and member.
|
238
|
-
|
239
|
-
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
|
240
|
-
|
241
|
-
```sh
|
242
|
-
$ pulumi import gcp:logging/logViewIamPolicy:LogViewIamPolicy editor "{{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{log_view}} roles/logging.admin user:jane@example.com"
|
243
|
-
```
|
244
|
-
|
245
|
-
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
|
246
|
-
|
247
|
-
```sh
|
248
|
-
$ pulumi import gcp:logging/logViewIamPolicy:LogViewIamPolicy editor "{{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{log_view}} roles/logging.admin"
|
249
|
-
```
|
250
|
-
|
251
|
-
IAM policy imports use the identifier of the resource in question, e.g.
|
252
|
-
|
253
|
-
```sh
|
254
|
-
$ pulumi import gcp:logging/logViewIamPolicy:LogViewIamPolicy editor {{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{log_view}}
|
255
|
-
```
|
256
|
-
|
257
|
-
-> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the
|
258
|
-
|
259
|
-
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
260
|
-
|
261
|
-
:param str resource_name: The name of the resource.
|
262
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
263
|
-
:param pulumi.Input[str] bucket: The bucket of the resource Used to find the parent resource to bind the IAM policy to
|
264
|
-
:param pulumi.Input[str] location: The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified,
|
265
|
-
the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
|
266
|
-
location is specified, it is taken from the provider configuration.
|
267
|
-
:param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
|
268
|
-
:param pulumi.Input[str] parent: The parent of the resource. Used to find the parent resource to bind the IAM policy to
|
269
|
-
:param pulumi.Input[str] policy_data: The policy data generated by
|
270
|
-
a `organizations_get_iam_policy` data source.
|
271
|
-
"""
|
272
|
-
...
|
273
|
-
@overload
|
274
|
-
def __init__(__self__,
|
275
|
-
resource_name: str,
|
276
|
-
args: LogViewIamPolicyArgs,
|
277
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
278
|
-
"""
|
279
|
-
## Import
|
280
|
-
|
281
|
-
For all import syntaxes, the "resource in question" can take any of the following forms:
|
282
|
-
|
283
|
-
* {{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{name}}
|
284
|
-
|
285
|
-
* {{name}}
|
286
|
-
|
287
|
-
Any variables not passed in the import command will be taken from the provider configuration.
|
288
|
-
|
289
|
-
Cloud (Stackdriver) Logging logview IAM resources can be imported using the resource identifiers, role, and member.
|
290
|
-
|
291
|
-
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
|
292
|
-
|
293
|
-
```sh
|
294
|
-
$ pulumi import gcp:logging/logViewIamPolicy:LogViewIamPolicy editor "{{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{log_view}} roles/logging.admin user:jane@example.com"
|
295
|
-
```
|
296
|
-
|
297
|
-
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
|
298
|
-
|
299
|
-
```sh
|
300
|
-
$ pulumi import gcp:logging/logViewIamPolicy:LogViewIamPolicy editor "{{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{log_view}} roles/logging.admin"
|
301
|
-
```
|
302
|
-
|
303
|
-
IAM policy imports use the identifier of the resource in question, e.g.
|
304
|
-
|
305
|
-
```sh
|
306
|
-
$ pulumi import gcp:logging/logViewIamPolicy:LogViewIamPolicy editor {{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{log_view}}
|
307
|
-
```
|
308
|
-
|
309
|
-
-> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the
|
310
|
-
|
311
|
-
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
312
|
-
|
313
|
-
:param str resource_name: The name of the resource.
|
314
|
-
:param LogViewIamPolicyArgs args: The arguments to use to populate this resource's properties.
|
315
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
316
|
-
"""
|
317
|
-
...
|
318
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
319
|
-
resource_args, opts = _utilities.get_resource_args_opts(LogViewIamPolicyArgs, pulumi.ResourceOptions, *args, **kwargs)
|
320
|
-
if resource_args is not None:
|
321
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
322
|
-
else:
|
323
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
324
|
-
|
325
|
-
def _internal_init(__self__,
|
326
|
-
resource_name: str,
|
327
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
328
|
-
bucket: Optional[pulumi.Input[str]] = None,
|
329
|
-
location: Optional[pulumi.Input[str]] = None,
|
330
|
-
name: Optional[pulumi.Input[str]] = None,
|
331
|
-
parent: Optional[pulumi.Input[str]] = None,
|
332
|
-
policy_data: Optional[pulumi.Input[str]] = None,
|
333
|
-
__props__=None):
|
334
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
335
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
336
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
337
|
-
if opts.id is None:
|
338
|
-
if __props__ is not None:
|
339
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
340
|
-
__props__ = LogViewIamPolicyArgs.__new__(LogViewIamPolicyArgs)
|
341
|
-
|
342
|
-
if bucket is None and not opts.urn:
|
343
|
-
raise TypeError("Missing required property 'bucket'")
|
344
|
-
__props__.__dict__["bucket"] = bucket
|
345
|
-
__props__.__dict__["location"] = location
|
346
|
-
__props__.__dict__["name"] = name
|
347
|
-
if parent is None and not opts.urn:
|
348
|
-
raise TypeError("Missing required property 'parent'")
|
349
|
-
__props__.__dict__["parent"] = parent
|
350
|
-
if policy_data is None and not opts.urn:
|
351
|
-
raise TypeError("Missing required property 'policy_data'")
|
352
|
-
__props__.__dict__["policy_data"] = policy_data
|
353
|
-
__props__.__dict__["etag"] = None
|
354
|
-
super(LogViewIamPolicy, __self__).__init__(
|
355
|
-
'gcp:logging/logViewIamPolicy:LogViewIamPolicy',
|
356
|
-
resource_name,
|
357
|
-
__props__,
|
358
|
-
opts)
|
359
|
-
|
360
|
-
@staticmethod
|
361
|
-
def get(resource_name: str,
|
362
|
-
id: pulumi.Input[str],
|
363
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
364
|
-
bucket: Optional[pulumi.Input[str]] = None,
|
365
|
-
etag: Optional[pulumi.Input[str]] = None,
|
366
|
-
location: Optional[pulumi.Input[str]] = None,
|
367
|
-
name: Optional[pulumi.Input[str]] = None,
|
368
|
-
parent: Optional[pulumi.Input[str]] = None,
|
369
|
-
policy_data: Optional[pulumi.Input[str]] = None) -> 'LogViewIamPolicy':
|
370
|
-
"""
|
371
|
-
Get an existing LogViewIamPolicy resource's state with the given name, id, and optional extra
|
372
|
-
properties used to qualify the lookup.
|
373
|
-
|
374
|
-
:param str resource_name: The unique name of the resulting resource.
|
375
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
376
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
377
|
-
:param pulumi.Input[str] bucket: The bucket of the resource Used to find the parent resource to bind the IAM policy to
|
378
|
-
:param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
|
379
|
-
:param pulumi.Input[str] location: The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified,
|
380
|
-
the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
|
381
|
-
location is specified, it is taken from the provider configuration.
|
382
|
-
:param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
|
383
|
-
:param pulumi.Input[str] parent: The parent of the resource. Used to find the parent resource to bind the IAM policy to
|
384
|
-
:param pulumi.Input[str] policy_data: The policy data generated by
|
385
|
-
a `organizations_get_iam_policy` data source.
|
386
|
-
"""
|
387
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
388
|
-
|
389
|
-
__props__ = _LogViewIamPolicyState.__new__(_LogViewIamPolicyState)
|
390
|
-
|
391
|
-
__props__.__dict__["bucket"] = bucket
|
392
|
-
__props__.__dict__["etag"] = etag
|
393
|
-
__props__.__dict__["location"] = location
|
394
|
-
__props__.__dict__["name"] = name
|
395
|
-
__props__.__dict__["parent"] = parent
|
396
|
-
__props__.__dict__["policy_data"] = policy_data
|
397
|
-
return LogViewIamPolicy(resource_name, opts=opts, __props__=__props__)
|
398
|
-
|
399
|
-
@property
|
400
|
-
@pulumi.getter
|
401
|
-
def bucket(self) -> pulumi.Output[str]:
|
402
|
-
"""
|
403
|
-
The bucket of the resource Used to find the parent resource to bind the IAM policy to
|
404
|
-
"""
|
405
|
-
return pulumi.get(self, "bucket")
|
406
|
-
|
407
|
-
@property
|
408
|
-
@pulumi.getter
|
409
|
-
def etag(self) -> pulumi.Output[str]:
|
410
|
-
"""
|
411
|
-
(Computed) The etag of the IAM policy.
|
412
|
-
"""
|
413
|
-
return pulumi.get(self, "etag")
|
414
|
-
|
415
|
-
@property
|
416
|
-
@pulumi.getter
|
417
|
-
def location(self) -> pulumi.Output[str]:
|
418
|
-
"""
|
419
|
-
The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified,
|
420
|
-
the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
|
421
|
-
location is specified, it is taken from the provider configuration.
|
422
|
-
"""
|
423
|
-
return pulumi.get(self, "location")
|
424
|
-
|
425
|
-
@property
|
426
|
-
@pulumi.getter
|
427
|
-
def name(self) -> pulumi.Output[str]:
|
428
|
-
"""
|
429
|
-
Used to find the parent resource to bind the IAM policy to
|
430
|
-
"""
|
431
|
-
return pulumi.get(self, "name")
|
432
|
-
|
433
|
-
@property
|
434
|
-
@pulumi.getter
|
435
|
-
def parent(self) -> pulumi.Output[str]:
|
436
|
-
"""
|
437
|
-
The parent of the resource. Used to find the parent resource to bind the IAM policy to
|
438
|
-
"""
|
439
|
-
return pulumi.get(self, "parent")
|
440
|
-
|
441
|
-
@property
|
442
|
-
@pulumi.getter(name="policyData")
|
443
|
-
def policy_data(self) -> pulumi.Output[str]:
|
444
|
-
"""
|
445
|
-
The policy data generated by
|
446
|
-
a `organizations_get_iam_policy` data source.
|
447
|
-
"""
|
448
|
-
return pulumi.get(self, "policy_data")
|
449
|
-
|
File without changes
|
File without changes
|