pulumi-gcp 7.26.0a1717544115__py3-none-any.whl → 7.26.0a1717690580__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 +56 -0
- pulumi_gcp/alloydb/_inputs.py +92 -0
- pulumi_gcp/alloydb/backup.py +12 -4
- pulumi_gcp/alloydb/cluster.py +72 -6
- pulumi_gcp/alloydb/instance.py +60 -2
- pulumi_gcp/alloydb/outputs.py +114 -0
- pulumi_gcp/artifactregistry/get_repository_iam_policy.py +6 -2
- pulumi_gcp/artifactregistry/repository_iam_binding.py +21 -7
- pulumi_gcp/artifactregistry/repository_iam_member.py +21 -7
- pulumi_gcp/artifactregistry/repository_iam_policy.py +21 -7
- pulumi_gcp/bigquery/connection_iam_binding.py +21 -7
- pulumi_gcp/bigquery/connection_iam_member.py +21 -7
- pulumi_gcp/bigquery/connection_iam_policy.py +21 -7
- pulumi_gcp/bigquery/data_transfer_config.py +14 -7
- pulumi_gcp/bigquery/get_connection_iam_policy.py +6 -2
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +21 -7
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +21 -7
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +21 -7
- pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +6 -2
- pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +6 -2
- pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +21 -7
- pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +21 -7
- pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +21 -7
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_binding.py +21 -7
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_member.py +21 -7
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_policy.py +21 -7
- pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +6 -2
- pulumi_gcp/certificateauthority/_inputs.py +20 -4
- pulumi_gcp/certificateauthority/ca_pool_iam_binding.py +21 -7
- pulumi_gcp/certificateauthority/ca_pool_iam_member.py +21 -7
- pulumi_gcp/certificateauthority/ca_pool_iam_policy.py +21 -7
- pulumi_gcp/certificateauthority/certificate_template.py +157 -173
- pulumi_gcp/certificateauthority/certificate_template_iam_binding.py +27 -0
- pulumi_gcp/certificateauthority/certificate_template_iam_member.py +27 -0
- pulumi_gcp/certificateauthority/certificate_template_iam_policy.py +27 -0
- pulumi_gcp/certificateauthority/get_ca_pool_iam_policy.py +6 -2
- pulumi_gcp/certificateauthority/get_certificate_template_iam_policy.py +6 -0
- pulumi_gcp/certificateauthority/outputs.py +20 -4
- pulumi_gcp/cloudbuildv2/connection_iam_binding.py +21 -7
- pulumi_gcp/cloudbuildv2/connection_iam_member.py +21 -7
- pulumi_gcp/cloudbuildv2/connection_iam_policy.py +21 -7
- pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +6 -2
- pulumi_gcp/clouddeploy/get_custom_target_type_iam_policy.py +6 -2
- pulumi_gcp/cloudfunctionsv2/function_iam_binding.py +21 -7
- pulumi_gcp/cloudfunctionsv2/function_iam_member.py +21 -7
- pulumi_gcp/cloudfunctionsv2/function_iam_policy.py +21 -7
- pulumi_gcp/cloudfunctionsv2/get_function_iam_policy.py +6 -2
- pulumi_gcp/cloudrun/get_service_iam_policy.py +6 -2
- pulumi_gcp/cloudrun/iam_binding.py +21 -7
- pulumi_gcp/cloudrun/iam_member.py +21 -7
- pulumi_gcp/cloudrun/iam_policy.py +21 -7
- pulumi_gcp/cloudrunv2/get_job_iam_policy.py +6 -2
- pulumi_gcp/cloudrunv2/get_service.py +11 -1
- pulumi_gcp/cloudrunv2/get_service_iam_policy.py +6 -2
- pulumi_gcp/cloudrunv2/job_iam_binding.py +21 -7
- pulumi_gcp/cloudrunv2/job_iam_member.py +21 -7
- pulumi_gcp/cloudrunv2/job_iam_policy.py +21 -7
- pulumi_gcp/cloudrunv2/service.py +47 -0
- pulumi_gcp/cloudrunv2/service_iam_binding.py +21 -7
- pulumi_gcp/cloudrunv2/service_iam_member.py +21 -7
- pulumi_gcp/cloudrunv2/service_iam_policy.py +21 -7
- pulumi_gcp/cloudtasks/get_queue_iam_policy.py +6 -2
- pulumi_gcp/cloudtasks/queue_iam_binding.py +21 -7
- pulumi_gcp/cloudtasks/queue_iam_member.py +21 -7
- pulumi_gcp/cloudtasks/queue_iam_policy.py +21 -7
- pulumi_gcp/compute/_inputs.py +18 -18
- pulumi_gcp/compute/outputs.py +20 -20
- pulumi_gcp/dataplex/__init__.py +5 -0
- pulumi_gcp/dataplex/_inputs.py +104 -0
- pulumi_gcp/dataplex/aspect_type_iam_binding.py +21 -7
- pulumi_gcp/dataplex/aspect_type_iam_member.py +21 -7
- pulumi_gcp/dataplex/aspect_type_iam_policy.py +21 -7
- pulumi_gcp/dataplex/datascan_iam_binding.py +21 -7
- pulumi_gcp/dataplex/datascan_iam_member.py +21 -7
- pulumi_gcp/dataplex/datascan_iam_policy.py +21 -7
- pulumi_gcp/dataplex/entry_group_iam_binding.py +21 -7
- pulumi_gcp/dataplex/entry_group_iam_member.py +21 -7
- pulumi_gcp/dataplex/entry_group_iam_policy.py +21 -7
- pulumi_gcp/dataplex/entry_type.py +963 -0
- pulumi_gcp/dataplex/entry_type_iam_binding.py +779 -0
- pulumi_gcp/dataplex/entry_type_iam_member.py +779 -0
- pulumi_gcp/dataplex/entry_type_iam_policy.py +618 -0
- pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +6 -2
- pulumi_gcp/dataplex/get_datascan_iam_policy.py +6 -2
- pulumi_gcp/dataplex/get_entry_group_iam_policy.py +6 -2
- pulumi_gcp/dataplex/get_entry_type_iam_policy.py +168 -0
- pulumi_gcp/dataplex/get_task_iam_policy.py +6 -2
- pulumi_gcp/dataplex/outputs.py +76 -0
- pulumi_gcp/dataplex/task.py +16 -16
- pulumi_gcp/dataplex/task_iam_binding.py +21 -7
- pulumi_gcp/dataplex/task_iam_member.py +21 -7
- pulumi_gcp/dataplex/task_iam_policy.py +21 -7
- pulumi_gcp/dataproc/autoscaling_policy_iam_binding.py +21 -7
- pulumi_gcp/dataproc/autoscaling_policy_iam_member.py +21 -7
- pulumi_gcp/dataproc/autoscaling_policy_iam_policy.py +21 -7
- pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +6 -2
- pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py +6 -2
- pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +6 -2
- pulumi_gcp/dataproc/metastore_federation_iam_binding.py +21 -7
- pulumi_gcp/dataproc/metastore_federation_iam_member.py +21 -7
- pulumi_gcp/dataproc/metastore_federation_iam_policy.py +21 -7
- pulumi_gcp/dataproc/metastore_service_iam_binding.py +21 -7
- pulumi_gcp/dataproc/metastore_service_iam_member.py +21 -7
- pulumi_gcp/dataproc/metastore_service_iam_policy.py +21 -7
- pulumi_gcp/firestore/field.py +4 -4
- pulumi_gcp/gkebackup/backup_plan_iam_binding.py +21 -7
- pulumi_gcp/gkebackup/backup_plan_iam_member.py +21 -7
- pulumi_gcp/gkebackup/backup_plan_iam_policy.py +21 -7
- pulumi_gcp/gkebackup/get_backup_plan_iam_policy.py +6 -2
- pulumi_gcp/gkebackup/get_restore_plan_iam_policy.py +6 -2
- pulumi_gcp/gkehub/feature_iam_binding.py +21 -7
- pulumi_gcp/gkehub/feature_iam_member.py +21 -7
- pulumi_gcp/gkehub/feature_iam_policy.py +21 -7
- pulumi_gcp/gkehub/get_feature_iam_policy.py +6 -2
- pulumi_gcp/gkehub/get_membership_iam_policy.py +6 -2
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_iam_binding.py +21 -7
- pulumi_gcp/gkehub/membership_iam_member.py +21 -7
- pulumi_gcp/gkehub/membership_iam_policy.py +21 -7
- 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 +4 -0
- pulumi_gcp/logging/_inputs.py +100 -0
- pulumi_gcp/logging/get_log_view_iam_policy.py +157 -0
- pulumi_gcp/logging/log_view_iam_binding.py +630 -0
- pulumi_gcp/logging/log_view_iam_member.py +630 -0
- pulumi_gcp/logging/log_view_iam_policy.py +449 -0
- pulumi_gcp/logging/outputs.py +76 -0
- pulumi_gcp/netapp/storage_pool.py +9 -9
- pulumi_gcp/networksecurity/address_group_iam_policy.py +21 -7
- pulumi_gcp/networksecurity/get_address_group_iam_policy.py +6 -2
- pulumi_gcp/notebooks/get_instance_iam_policy.py +6 -2
- pulumi_gcp/notebooks/get_runtime_iam_policy.py +6 -2
- pulumi_gcp/notebooks/instance_iam_binding.py +21 -7
- pulumi_gcp/notebooks/instance_iam_member.py +21 -7
- pulumi_gcp/notebooks/instance_iam_policy.py +21 -7
- pulumi_gcp/notebooks/runtime_iam_binding.py +21 -7
- pulumi_gcp/notebooks/runtime_iam_member.py +21 -7
- pulumi_gcp/notebooks/runtime_iam_policy.py +21 -7
- 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 +6 -2
- pulumi_gcp/sql/_inputs.py +2 -4
- pulumi_gcp/sql/outputs.py +6 -8
- pulumi_gcp/storage/_inputs.py +48 -0
- pulumi_gcp/storage/outputs.py +75 -0
- pulumi_gcp/vertex/get_ai_endpoint_iam_policy.py +6 -2
- pulumi_gcp/workbench/get_instance_iam_policy.py +6 -2
- pulumi_gcp/workstations/get_workstation_config_iam_policy.py +6 -2
- pulumi_gcp/workstations/get_workstation_iam_policy.py +6 -2
- pulumi_gcp/workstations/workstation_config_iam_binding.py +21 -7
- pulumi_gcp/workstations/workstation_config_iam_member.py +21 -7
- pulumi_gcp/workstations/workstation_config_iam_policy.py +21 -7
- pulumi_gcp/workstations/workstation_iam_binding.py +21 -7
- pulumi_gcp/workstations/workstation_iam_member.py +21 -7
- pulumi_gcp/workstations/workstation_iam_policy.py +21 -7
- {pulumi_gcp-7.26.0a1717544115.dist-info → pulumi_gcp-7.26.0a1717690580.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.26.0a1717544115.dist-info → pulumi_gcp-7.26.0a1717690580.dist-info}/RECORD +165 -156
- {pulumi_gcp-7.26.0a1717544115.dist-info → pulumi_gcp-7.26.0a1717690580.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.26.0a1717544115.dist-info → pulumi_gcp-7.26.0a1717690580.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,449 @@
|
|
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
|
+
|
pulumi_gcp/logging/outputs.py
CHANGED
@@ -20,6 +20,8 @@ __all__ = [
|
|
20
20
|
'FolderSinkBigqueryOptions',
|
21
21
|
'FolderSinkExclusion',
|
22
22
|
'LinkedDatasetBigqueryDataset',
|
23
|
+
'LogViewIamBindingCondition',
|
24
|
+
'LogViewIamMemberCondition',
|
23
25
|
'MetricBucketOptions',
|
24
26
|
'MetricBucketOptionsExplicitBuckets',
|
25
27
|
'MetricBucketOptionsExponentialBuckets',
|
@@ -568,6 +570,80 @@ class LinkedDatasetBigqueryDataset(dict):
|
|
568
570
|
return pulumi.get(self, "dataset_id")
|
569
571
|
|
570
572
|
|
573
|
+
@pulumi.output_type
|
574
|
+
class LogViewIamBindingCondition(dict):
|
575
|
+
def __init__(__self__, *,
|
576
|
+
expression: str,
|
577
|
+
title: str,
|
578
|
+
description: Optional[str] = None):
|
579
|
+
"""
|
580
|
+
:param str expression: Textual representation of an expression in Common Expression Language syntax.
|
581
|
+
:param str title: A title for the expression, i.e. a short string describing its purpose.
|
582
|
+
"""
|
583
|
+
pulumi.set(__self__, "expression", expression)
|
584
|
+
pulumi.set(__self__, "title", title)
|
585
|
+
if description is not None:
|
586
|
+
pulumi.set(__self__, "description", description)
|
587
|
+
|
588
|
+
@property
|
589
|
+
@pulumi.getter
|
590
|
+
def expression(self) -> str:
|
591
|
+
"""
|
592
|
+
Textual representation of an expression in Common Expression Language syntax.
|
593
|
+
"""
|
594
|
+
return pulumi.get(self, "expression")
|
595
|
+
|
596
|
+
@property
|
597
|
+
@pulumi.getter
|
598
|
+
def title(self) -> str:
|
599
|
+
"""
|
600
|
+
A title for the expression, i.e. a short string describing its purpose.
|
601
|
+
"""
|
602
|
+
return pulumi.get(self, "title")
|
603
|
+
|
604
|
+
@property
|
605
|
+
@pulumi.getter
|
606
|
+
def description(self) -> Optional[str]:
|
607
|
+
return pulumi.get(self, "description")
|
608
|
+
|
609
|
+
|
610
|
+
@pulumi.output_type
|
611
|
+
class LogViewIamMemberCondition(dict):
|
612
|
+
def __init__(__self__, *,
|
613
|
+
expression: str,
|
614
|
+
title: str,
|
615
|
+
description: Optional[str] = None):
|
616
|
+
"""
|
617
|
+
:param str expression: Textual representation of an expression in Common Expression Language syntax.
|
618
|
+
:param str title: A title for the expression, i.e. a short string describing its purpose.
|
619
|
+
"""
|
620
|
+
pulumi.set(__self__, "expression", expression)
|
621
|
+
pulumi.set(__self__, "title", title)
|
622
|
+
if description is not None:
|
623
|
+
pulumi.set(__self__, "description", description)
|
624
|
+
|
625
|
+
@property
|
626
|
+
@pulumi.getter
|
627
|
+
def expression(self) -> str:
|
628
|
+
"""
|
629
|
+
Textual representation of an expression in Common Expression Language syntax.
|
630
|
+
"""
|
631
|
+
return pulumi.get(self, "expression")
|
632
|
+
|
633
|
+
@property
|
634
|
+
@pulumi.getter
|
635
|
+
def title(self) -> str:
|
636
|
+
"""
|
637
|
+
A title for the expression, i.e. a short string describing its purpose.
|
638
|
+
"""
|
639
|
+
return pulumi.get(self, "title")
|
640
|
+
|
641
|
+
@property
|
642
|
+
@pulumi.getter
|
643
|
+
def description(self) -> Optional[str]:
|
644
|
+
return pulumi.get(self, "description")
|
645
|
+
|
646
|
+
|
571
647
|
@pulumi.output_type
|
572
648
|
class MetricBucketOptions(dict):
|
573
649
|
@staticmethod
|
@@ -28,7 +28,7 @@ class StoragePoolArgs:
|
|
28
28
|
"""
|
29
29
|
The set of arguments for constructing a StoragePool resource.
|
30
30
|
:param pulumi.Input[str] capacity_gib: Capacity of the storage pool (in GiB).
|
31
|
-
:param pulumi.Input[str] location: Name of the location. Usually a region name, expect for some
|
31
|
+
:param pulumi.Input[str] location: Name of the location. Usually a region name, expect for some FLEX service level pools which require a zone name.
|
32
32
|
:param pulumi.Input[str] network: VPC network name with format: `projects/{{project}}/global/networks/{{network}}`
|
33
33
|
:param pulumi.Input[str] service_level: Service level of the storage pool.
|
34
34
|
Possible values are: `PREMIUM`, `EXTREME`, `STANDARD`, `FLEX`.
|
@@ -85,7 +85,7 @@ class StoragePoolArgs:
|
|
85
85
|
@pulumi.getter
|
86
86
|
def location(self) -> pulumi.Input[str]:
|
87
87
|
"""
|
88
|
-
Name of the location. Usually a region name, expect for some
|
88
|
+
Name of the location. Usually a region name, expect for some FLEX service level pools which require a zone name.
|
89
89
|
"""
|
90
90
|
return pulumi.get(self, "location")
|
91
91
|
|
@@ -248,7 +248,7 @@ class _StoragePoolState:
|
|
248
248
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
249
249
|
:param pulumi.Input[bool] ldap_enabled: When enabled, the volumes uses Active Directory as LDAP name service for UID/GID lookups. Required to enable extended group support for NFSv3,
|
250
250
|
using security identifiers for NFSv4.1 or principal names for kerberized NFSv4.1.
|
251
|
-
:param pulumi.Input[str] location: Name of the location. Usually a region name, expect for some
|
251
|
+
:param pulumi.Input[str] location: Name of the location. Usually a region name, expect for some FLEX service level pools which require a zone name.
|
252
252
|
:param pulumi.Input[str] name: The resource name of the storage pool. Needs to be unique per location.
|
253
253
|
|
254
254
|
|
@@ -402,7 +402,7 @@ class _StoragePoolState:
|
|
402
402
|
@pulumi.getter
|
403
403
|
def location(self) -> Optional[pulumi.Input[str]]:
|
404
404
|
"""
|
405
|
-
Name of the location. Usually a region name, expect for some
|
405
|
+
Name of the location. Usually a region name, expect for some FLEX service level pools which require a zone name.
|
406
406
|
"""
|
407
407
|
return pulumi.get(self, "location")
|
408
408
|
|
@@ -535,7 +535,7 @@ class StoragePool(pulumi.CustomResource):
|
|
535
535
|
|
536
536
|
* [API documentation](https://cloud.google.com/netapp/volumes/docs/reference/rest/v1/projects.locations.storagePools)
|
537
537
|
* How-to Guides
|
538
|
-
* [
|
538
|
+
* [Quickstart documentation](https://cloud.google.com/netapp/volumes/docs/get-started/quickstarts/create-storage-pool)
|
539
539
|
|
540
540
|
## Example Usage
|
541
541
|
|
@@ -616,7 +616,7 @@ class StoragePool(pulumi.CustomResource):
|
|
616
616
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
617
617
|
:param pulumi.Input[bool] ldap_enabled: When enabled, the volumes uses Active Directory as LDAP name service for UID/GID lookups. Required to enable extended group support for NFSv3,
|
618
618
|
using security identifiers for NFSv4.1 or principal names for kerberized NFSv4.1.
|
619
|
-
:param pulumi.Input[str] location: Name of the location. Usually a region name, expect for some
|
619
|
+
:param pulumi.Input[str] location: Name of the location. Usually a region name, expect for some FLEX service level pools which require a zone name.
|
620
620
|
:param pulumi.Input[str] name: The resource name of the storage pool. Needs to be unique per location.
|
621
621
|
|
622
622
|
|
@@ -650,7 +650,7 @@ class StoragePool(pulumi.CustomResource):
|
|
650
650
|
|
651
651
|
* [API documentation](https://cloud.google.com/netapp/volumes/docs/reference/rest/v1/projects.locations.storagePools)
|
652
652
|
* How-to Guides
|
653
|
-
* [
|
653
|
+
* [Quickstart documentation](https://cloud.google.com/netapp/volumes/docs/get-started/quickstarts/create-storage-pool)
|
654
654
|
|
655
655
|
## Example Usage
|
656
656
|
|
@@ -825,7 +825,7 @@ class StoragePool(pulumi.CustomResource):
|
|
825
825
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
826
826
|
:param pulumi.Input[bool] ldap_enabled: When enabled, the volumes uses Active Directory as LDAP name service for UID/GID lookups. Required to enable extended group support for NFSv3,
|
827
827
|
using security identifiers for NFSv4.1 or principal names for kerberized NFSv4.1.
|
828
|
-
:param pulumi.Input[str] location: Name of the location. Usually a region name, expect for some
|
828
|
+
:param pulumi.Input[str] location: Name of the location. Usually a region name, expect for some FLEX service level pools which require a zone name.
|
829
829
|
:param pulumi.Input[str] name: The resource name of the storage pool. Needs to be unique per location.
|
830
830
|
|
831
831
|
|
@@ -936,7 +936,7 @@ class StoragePool(pulumi.CustomResource):
|
|
936
936
|
@pulumi.getter
|
937
937
|
def location(self) -> pulumi.Output[str]:
|
938
938
|
"""
|
939
|
-
Name of the location. Usually a region name, expect for some
|
939
|
+
Name of the location. Usually a region name, expect for some FLEX service level pools which require a zone name.
|
940
940
|
"""
|
941
941
|
return pulumi.get(self, "location")
|
942
942
|
|