pulumi-gcp 8.7.0__py3-none-any.whl → 8.7.0a1729200523__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 -70
- pulumi_gcp/accesscontextmanager/service_perimeter.py +0 -2
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +0 -4
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +0 -4
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +0 -4
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +0 -4
- pulumi_gcp/accesscontextmanager/service_perimeters.py +0 -2
- pulumi_gcp/apigee/__init__.py +0 -2
- pulumi_gcp/apigee/_inputs.py +0 -108
- pulumi_gcp/apigee/outputs.py +0 -64
- pulumi_gcp/artifactregistry/get_docker_image.py +0 -40
- pulumi_gcp/bigquery/connection.py +12 -12
- pulumi_gcp/bigquery/job.py +6 -6
- pulumi_gcp/cloudrunv2/get_service.py +1 -12
- pulumi_gcp/cloudrunv2/service.py +0 -92
- pulumi_gcp/compute/_inputs.py +116 -214
- pulumi_gcp/compute/backend_service.py +0 -76
- pulumi_gcp/compute/get_backend_service.py +1 -12
- pulumi_gcp/compute/get_instance.py +1 -29
- pulumi_gcp/compute/get_instance_template.py +1 -29
- pulumi_gcp/compute/get_region_instance_group_manager.py +18 -0
- pulumi_gcp/compute/get_region_instance_template.py +1 -29
- pulumi_gcp/compute/instance.py +0 -89
- pulumi_gcp/compute/instance_from_machine_image.py +0 -82
- pulumi_gcp/compute/instance_from_template.py +0 -82
- pulumi_gcp/compute/instance_template.py +0 -75
- pulumi_gcp/compute/network_firewall_policy_association.py +50 -76
- pulumi_gcp/compute/network_firewall_policy_rule.py +103 -149
- pulumi_gcp/compute/outputs.py +80 -170
- pulumi_gcp/compute/region_backend_service.py +0 -94
- pulumi_gcp/compute/region_instance_template.py +0 -75
- pulumi_gcp/compute/region_network_endpoint_group.py +4 -6
- pulumi_gcp/compute/region_network_firewall_policy_association.py +54 -104
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +107 -160
- pulumi_gcp/config/__init__.pyi +0 -4
- pulumi_gcp/config/vars.py +0 -8
- pulumi_gcp/container/attached_cluster.py +6 -9
- pulumi_gcp/container/outputs.py +2 -2
- pulumi_gcp/datastream/stream.py +2 -2
- pulumi_gcp/diagflow/_inputs.py +2 -472
- pulumi_gcp/diagflow/cx_agent.py +4 -64
- pulumi_gcp/diagflow/cx_flow.py +0 -30
- pulumi_gcp/diagflow/outputs.py +2 -378
- pulumi_gcp/gkehub/feature.py +4 -2
- pulumi_gcp/iam/workload_identity_pool_provider.py +0 -56
- pulumi_gcp/looker/instance.py +2 -104
- pulumi_gcp/monitoring/_inputs.py +0 -23
- pulumi_gcp/monitoring/get_secret_version.py +3 -22
- pulumi_gcp/monitoring/outputs.py +0 -16
- pulumi_gcp/networkconnectivity/__init__.py +0 -1
- pulumi_gcp/networkconnectivity/_inputs.py +0 -148
- pulumi_gcp/networkconnectivity/outputs.py +0 -125
- pulumi_gcp/networkconnectivity/spoke.py +0 -144
- pulumi_gcp/networksecurity/server_tls_policy.py +2 -2
- pulumi_gcp/organizations/folder.py +7 -7
- pulumi_gcp/organizations/project.py +7 -7
- pulumi_gcp/orgpolicy/_inputs.py +3 -3
- pulumi_gcp/orgpolicy/outputs.py +2 -2
- pulumi_gcp/privilegedaccessmanager/get_entitlement.py +2 -46
- pulumi_gcp/provider.py +0 -40
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/secretmanager/get_regional_secret_version.py +5 -24
- pulumi_gcp/secretmanager/get_regional_secret_version_access.py +5 -24
- pulumi_gcp/secretmanager/get_secret_version.py +3 -22
- pulumi_gcp/secretmanager/get_secret_version_access.py +3 -22
- pulumi_gcp/secretmanager/regional_secret.py +2 -2
- pulumi_gcp/siteverification/get_token.py +16 -0
- pulumi_gcp/siteverification/owner.py +16 -0
- pulumi_gcp/spanner/_inputs.py +5 -29
- pulumi_gcp/spanner/outputs.py +3 -20
- pulumi_gcp/sql/_inputs.py +6 -6
- pulumi_gcp/sql/outputs.py +4 -4
- pulumi_gcp/sql/user.py +21 -28
- pulumi_gcp/storage/_inputs.py +0 -36
- pulumi_gcp/storage/bucket.py +0 -47
- pulumi_gcp/storage/get_bucket.py +1 -12
- pulumi_gcp/storage/outputs.py +0 -40
- pulumi_gcp/vertex/ai_deployment_resource_pool.py +2 -2
- pulumi_gcp/vmwareengine/_inputs.py +0 -440
- pulumi_gcp/vmwareengine/cluster.py +2 -100
- pulumi_gcp/vmwareengine/get_cluster.py +1 -12
- pulumi_gcp/vmwareengine/outputs.py +0 -615
- pulumi_gcp/workstations/_inputs.py +0 -54
- pulumi_gcp/workstations/outputs.py +0 -32
- pulumi_gcp/workstations/workstation_config.py +0 -205
- {pulumi_gcp-8.7.0.dist-info → pulumi_gcp-8.7.0a1729200523.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.7.0.dist-info → pulumi_gcp-8.7.0a1729200523.dist-info}/RECORD +89 -111
- {pulumi_gcp-8.7.0.dist-info → pulumi_gcp-8.7.0a1729200523.dist-info}/WHEEL +1 -1
- pulumi_gcp/apigee/app_group.py +0 -811
- pulumi_gcp/apigee/developer.py +0 -757
- pulumi_gcp/networkconnectivity/group.py +0 -764
- pulumi_gcp/oracledatabase/__init__.py +0 -20
- pulumi_gcp/oracledatabase/_inputs.py +0 -4745
- pulumi_gcp/oracledatabase/autonomous_database.py +0 -983
- pulumi_gcp/oracledatabase/cloud_exadata_infrastructure.py +0 -842
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +0 -1086
- pulumi_gcp/oracledatabase/get_autonomous_database.py +0 -290
- pulumi_gcp/oracledatabase/get_autonomous_databases.py +0 -150
- pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructure.py +0 -257
- pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructures.py +0 -150
- pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +0 -290
- pulumi_gcp/oracledatabase/get_cloud_vm_clusters.py +0 -150
- pulumi_gcp/oracledatabase/get_db_nodes.py +0 -245
- pulumi_gcp/oracledatabase/get_db_servers.py +0 -245
- pulumi_gcp/oracledatabase/outputs.py +0 -9304
- pulumi_gcp/transcoder/__init__.py +0 -11
- pulumi_gcp/transcoder/_inputs.py +0 -3991
- pulumi_gcp/transcoder/job.py +0 -2134
- pulumi_gcp/transcoder/job_template.py +0 -1524
- pulumi_gcp/transcoder/outputs.py +0 -2918
- {pulumi_gcp-8.7.0.dist-info → pulumi_gcp-8.7.0a1729200523.dist-info}/top_level.txt +0 -0
@@ -703,7 +703,7 @@ class RegionalSecret(pulumi.CustomResource):
|
|
703
703
|
|
704
704
|
To get more information about RegionalSecret, see:
|
705
705
|
|
706
|
-
* [API documentation](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.
|
706
|
+
* [API documentation](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets)
|
707
707
|
|
708
708
|
## Example Usage
|
709
709
|
|
@@ -922,7 +922,7 @@ class RegionalSecret(pulumi.CustomResource):
|
|
922
922
|
|
923
923
|
To get more information about RegionalSecret, see:
|
924
924
|
|
925
|
-
* [API documentation](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.
|
925
|
+
* [API documentation](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets)
|
926
926
|
|
927
927
|
## Example Usage
|
928
928
|
|
@@ -93,6 +93,14 @@ def get_token(identifier: Optional[str] = None,
|
|
93
93
|
verification_method: Optional[str] = None,
|
94
94
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTokenResult:
|
95
95
|
"""
|
96
|
+
## subcategory: "Site Verification"
|
97
|
+
|
98
|
+
description: |-
|
99
|
+
A verification token is used to demonstrate ownership of a website or domain.
|
100
|
+
---
|
101
|
+
|
102
|
+
# siteverification_get_token
|
103
|
+
|
96
104
|
A verification token is used to demonstrate ownership of a website or domain.
|
97
105
|
|
98
106
|
To get more information about Token, see:
|
@@ -155,6 +163,14 @@ def get_token_output(identifier: Optional[pulumi.Input[str]] = None,
|
|
155
163
|
verification_method: Optional[pulumi.Input[str]] = None,
|
156
164
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTokenResult]:
|
157
165
|
"""
|
166
|
+
## subcategory: "Site Verification"
|
167
|
+
|
168
|
+
description: |-
|
169
|
+
A verification token is used to demonstrate ownership of a website or domain.
|
170
|
+
---
|
171
|
+
|
172
|
+
# siteverification_get_token
|
173
|
+
|
158
174
|
A verification token is used to demonstrate ownership of a website or domain.
|
159
175
|
|
160
176
|
To get more information about Token, see:
|
@@ -115,6 +115,14 @@ class Owner(pulumi.CustomResource):
|
|
115
115
|
web_resource_id: Optional[pulumi.Input[str]] = None,
|
116
116
|
__props__=None):
|
117
117
|
"""
|
118
|
+
## subcategory: "Site Verification"
|
119
|
+
|
120
|
+
description: |-
|
121
|
+
Manages additional owners on verified web resources.
|
122
|
+
---
|
123
|
+
|
124
|
+
# siteverification.Owner
|
125
|
+
|
118
126
|
An owner is an additional user that may manage a verified web site in the
|
119
127
|
[Google Search Console](https://www.google.com/webmasters/tools/). There
|
120
128
|
are two types of web resource owners:
|
@@ -213,6 +221,14 @@ class Owner(pulumi.CustomResource):
|
|
213
221
|
args: OwnerArgs,
|
214
222
|
opts: Optional[pulumi.ResourceOptions] = None):
|
215
223
|
"""
|
224
|
+
## subcategory: "Site Verification"
|
225
|
+
|
226
|
+
description: |-
|
227
|
+
Manages additional owners on verified web resources.
|
228
|
+
---
|
229
|
+
|
230
|
+
# siteverification.Owner
|
231
|
+
|
216
232
|
An owner is an additional user that may manage a verified web site in the
|
217
233
|
[Google Search Console](https://www.google.com/webmasters/tools/). There
|
218
234
|
are two types of web resource owners:
|
pulumi_gcp/spanner/_inputs.py
CHANGED
@@ -168,38 +168,27 @@ class BackupScheduleSpecCronSpecArgs:
|
|
168
168
|
|
169
169
|
if not MYPY:
|
170
170
|
class DatabaseEncryptionConfigArgsDict(TypedDict):
|
171
|
-
kms_key_name:
|
171
|
+
kms_key_name: pulumi.Input[str]
|
172
172
|
"""
|
173
173
|
Fully qualified name of the KMS key to use to encrypt this database. This key must exist
|
174
174
|
in the same location as the Spanner Database.
|
175
175
|
"""
|
176
|
-
kms_key_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
177
|
-
"""
|
178
|
-
Fully qualified name of the KMS keys to use to encrypt this database. The keys must exist
|
179
|
-
in the same locations as the Spanner Database.
|
180
|
-
"""
|
181
176
|
elif False:
|
182
177
|
DatabaseEncryptionConfigArgsDict: TypeAlias = Mapping[str, Any]
|
183
178
|
|
184
179
|
@pulumi.input_type
|
185
180
|
class DatabaseEncryptionConfigArgs:
|
186
181
|
def __init__(__self__, *,
|
187
|
-
kms_key_name:
|
188
|
-
kms_key_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
182
|
+
kms_key_name: pulumi.Input[str]):
|
189
183
|
"""
|
190
184
|
:param pulumi.Input[str] kms_key_name: Fully qualified name of the KMS key to use to encrypt this database. This key must exist
|
191
185
|
in the same location as the Spanner Database.
|
192
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] kms_key_names: Fully qualified name of the KMS keys to use to encrypt this database. The keys must exist
|
193
|
-
in the same locations as the Spanner Database.
|
194
186
|
"""
|
195
|
-
|
196
|
-
pulumi.set(__self__, "kms_key_name", kms_key_name)
|
197
|
-
if kms_key_names is not None:
|
198
|
-
pulumi.set(__self__, "kms_key_names", kms_key_names)
|
187
|
+
pulumi.set(__self__, "kms_key_name", kms_key_name)
|
199
188
|
|
200
189
|
@property
|
201
190
|
@pulumi.getter(name="kmsKeyName")
|
202
|
-
def kms_key_name(self) ->
|
191
|
+
def kms_key_name(self) -> pulumi.Input[str]:
|
203
192
|
"""
|
204
193
|
Fully qualified name of the KMS key to use to encrypt this database. This key must exist
|
205
194
|
in the same location as the Spanner Database.
|
@@ -207,22 +196,9 @@ class DatabaseEncryptionConfigArgs:
|
|
207
196
|
return pulumi.get(self, "kms_key_name")
|
208
197
|
|
209
198
|
@kms_key_name.setter
|
210
|
-
def kms_key_name(self, value:
|
199
|
+
def kms_key_name(self, value: pulumi.Input[str]):
|
211
200
|
pulumi.set(self, "kms_key_name", value)
|
212
201
|
|
213
|
-
@property
|
214
|
-
@pulumi.getter(name="kmsKeyNames")
|
215
|
-
def kms_key_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
216
|
-
"""
|
217
|
-
Fully qualified name of the KMS keys to use to encrypt this database. The keys must exist
|
218
|
-
in the same locations as the Spanner Database.
|
219
|
-
"""
|
220
|
-
return pulumi.get(self, "kms_key_names")
|
221
|
-
|
222
|
-
@kms_key_names.setter
|
223
|
-
def kms_key_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
224
|
-
pulumi.set(self, "kms_key_names", value)
|
225
|
-
|
226
202
|
|
227
203
|
if not MYPY:
|
228
204
|
class DatabaseIAMBindingConditionArgsDict(TypedDict):
|
pulumi_gcp/spanner/outputs.py
CHANGED
@@ -130,8 +130,6 @@ class DatabaseEncryptionConfig(dict):
|
|
130
130
|
suggest = None
|
131
131
|
if key == "kmsKeyName":
|
132
132
|
suggest = "kms_key_name"
|
133
|
-
elif key == "kmsKeyNames":
|
134
|
-
suggest = "kms_key_names"
|
135
133
|
|
136
134
|
if suggest:
|
137
135
|
pulumi.log.warn(f"Key '{key}' not found in DatabaseEncryptionConfig. Access the value via the '{suggest}' property getter instead.")
|
@@ -145,37 +143,22 @@ class DatabaseEncryptionConfig(dict):
|
|
145
143
|
return super().get(key, default)
|
146
144
|
|
147
145
|
def __init__(__self__, *,
|
148
|
-
kms_key_name:
|
149
|
-
kms_key_names: Optional[Sequence[str]] = None):
|
146
|
+
kms_key_name: str):
|
150
147
|
"""
|
151
148
|
:param str kms_key_name: Fully qualified name of the KMS key to use to encrypt this database. This key must exist
|
152
149
|
in the same location as the Spanner Database.
|
153
|
-
:param Sequence[str] kms_key_names: Fully qualified name of the KMS keys to use to encrypt this database. The keys must exist
|
154
|
-
in the same locations as the Spanner Database.
|
155
150
|
"""
|
156
|
-
|
157
|
-
pulumi.set(__self__, "kms_key_name", kms_key_name)
|
158
|
-
if kms_key_names is not None:
|
159
|
-
pulumi.set(__self__, "kms_key_names", kms_key_names)
|
151
|
+
pulumi.set(__self__, "kms_key_name", kms_key_name)
|
160
152
|
|
161
153
|
@property
|
162
154
|
@pulumi.getter(name="kmsKeyName")
|
163
|
-
def kms_key_name(self) ->
|
155
|
+
def kms_key_name(self) -> str:
|
164
156
|
"""
|
165
157
|
Fully qualified name of the KMS key to use to encrypt this database. This key must exist
|
166
158
|
in the same location as the Spanner Database.
|
167
159
|
"""
|
168
160
|
return pulumi.get(self, "kms_key_name")
|
169
161
|
|
170
|
-
@property
|
171
|
-
@pulumi.getter(name="kmsKeyNames")
|
172
|
-
def kms_key_names(self) -> Optional[Sequence[str]]:
|
173
|
-
"""
|
174
|
-
Fully qualified name of the KMS keys to use to encrypt this database. The keys must exist
|
175
|
-
in the same locations as the Spanner Database.
|
176
|
-
"""
|
177
|
-
return pulumi.get(self, "kms_key_names")
|
178
|
-
|
179
162
|
|
180
163
|
@pulumi.output_type
|
181
164
|
class DatabaseIAMBindingCondition(dict):
|
pulumi_gcp/sql/_inputs.py
CHANGED
@@ -1837,11 +1837,11 @@ if not MYPY:
|
|
1837
1837
|
"""
|
1838
1838
|
server_ca_mode: NotRequired[pulumi.Input[str]]
|
1839
1839
|
"""
|
1840
|
-
Specify how the server certificate's Certificate Authority is hosted. Supported
|
1840
|
+
Specify how the server certificate's Certificate Authority is hosted. Supported value is `GOOGLE_MANAGED_INTERNAL_CA`.
|
1841
1841
|
"""
|
1842
1842
|
ssl_mode: NotRequired[pulumi.Input[str]]
|
1843
1843
|
"""
|
1844
|
-
Specify how SSL connection should be enforced in DB connections.
|
1844
|
+
Specify how SSL connection should be enforced in DB connections.
|
1845
1845
|
"""
|
1846
1846
|
elif False:
|
1847
1847
|
DatabaseInstanceSettingsIpConfigurationArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -1869,8 +1869,8 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1869
1869
|
At least `ipv4_enabled` must be enabled or a `private_network` must be configured.
|
1870
1870
|
This setting can be updated, but it cannot be removed after it is set.
|
1871
1871
|
:param pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceSettingsIpConfigurationPscConfigArgs']]] psc_configs: PSC settings for a Cloud SQL instance.
|
1872
|
-
:param pulumi.Input[str] server_ca_mode: Specify how the server certificate's Certificate Authority is hosted. Supported
|
1873
|
-
:param pulumi.Input[str] ssl_mode: Specify how SSL connection should be enforced in DB connections.
|
1872
|
+
:param pulumi.Input[str] server_ca_mode: Specify how the server certificate's Certificate Authority is hosted. Supported value is `GOOGLE_MANAGED_INTERNAL_CA`.
|
1873
|
+
:param pulumi.Input[str] ssl_mode: Specify how SSL connection should be enforced in DB connections.
|
1874
1874
|
"""
|
1875
1875
|
if allocated_ip_range is not None:
|
1876
1876
|
pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
|
@@ -1968,7 +1968,7 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1968
1968
|
@pulumi.getter(name="serverCaMode")
|
1969
1969
|
def server_ca_mode(self) -> Optional[pulumi.Input[str]]:
|
1970
1970
|
"""
|
1971
|
-
Specify how the server certificate's Certificate Authority is hosted. Supported
|
1971
|
+
Specify how the server certificate's Certificate Authority is hosted. Supported value is `GOOGLE_MANAGED_INTERNAL_CA`.
|
1972
1972
|
"""
|
1973
1973
|
return pulumi.get(self, "server_ca_mode")
|
1974
1974
|
|
@@ -1980,7 +1980,7 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1980
1980
|
@pulumi.getter(name="sslMode")
|
1981
1981
|
def ssl_mode(self) -> Optional[pulumi.Input[str]]:
|
1982
1982
|
"""
|
1983
|
-
Specify how SSL connection should be enforced in DB connections.
|
1983
|
+
Specify how SSL connection should be enforced in DB connections.
|
1984
1984
|
"""
|
1985
1985
|
return pulumi.get(self, "ssl_mode")
|
1986
1986
|
|
pulumi_gcp/sql/outputs.py
CHANGED
@@ -1492,8 +1492,8 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
|
|
1492
1492
|
At least `ipv4_enabled` must be enabled or a `private_network` must be configured.
|
1493
1493
|
This setting can be updated, but it cannot be removed after it is set.
|
1494
1494
|
:param Sequence['DatabaseInstanceSettingsIpConfigurationPscConfigArgs'] psc_configs: PSC settings for a Cloud SQL instance.
|
1495
|
-
:param str server_ca_mode: Specify how the server certificate's Certificate Authority is hosted. Supported
|
1496
|
-
:param str ssl_mode: Specify how SSL connection should be enforced in DB connections.
|
1495
|
+
:param str server_ca_mode: Specify how the server certificate's Certificate Authority is hosted. Supported value is `GOOGLE_MANAGED_INTERNAL_CA`.
|
1496
|
+
:param str ssl_mode: Specify how SSL connection should be enforced in DB connections.
|
1497
1497
|
"""
|
1498
1498
|
if allocated_ip_range is not None:
|
1499
1499
|
pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
|
@@ -1567,7 +1567,7 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
|
|
1567
1567
|
@pulumi.getter(name="serverCaMode")
|
1568
1568
|
def server_ca_mode(self) -> Optional[str]:
|
1569
1569
|
"""
|
1570
|
-
Specify how the server certificate's Certificate Authority is hosted. Supported
|
1570
|
+
Specify how the server certificate's Certificate Authority is hosted. Supported value is `GOOGLE_MANAGED_INTERNAL_CA`.
|
1571
1571
|
"""
|
1572
1572
|
return pulumi.get(self, "server_ca_mode")
|
1573
1573
|
|
@@ -1575,7 +1575,7 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
|
|
1575
1575
|
@pulumi.getter(name="sslMode")
|
1576
1576
|
def ssl_mode(self) -> Optional[str]:
|
1577
1577
|
"""
|
1578
|
-
Specify how SSL connection should be enforced in DB connections.
|
1578
|
+
Specify how SSL connection should be enforced in DB connections.
|
1579
1579
|
"""
|
1580
1580
|
return pulumi.get(self, "ssl_mode")
|
1581
1581
|
|
pulumi_gcp/sql/user.py
CHANGED
@@ -53,10 +53,9 @@ class UserArgs:
|
|
53
53
|
is not provided, the provider project is used.
|
54
54
|
:param pulumi.Input[str] type: The user type. It determines the method to authenticate the
|
55
55
|
user during login. The default is the database's built-in user type. Flags
|
56
|
-
include "BUILT_IN", "CLOUD_IAM_USER", "CLOUD_IAM_SERVICE_ACCOUNT"
|
57
|
-
|
58
|
-
|
59
|
-
and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
56
|
+
include "BUILT_IN", "CLOUD_IAM_USER", and "CLOUD_IAM_SERVICE_ACCOUNT" for both
|
57
|
+
[Postgres](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/users#sqlusertype) and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
58
|
+
MySQL also includes "CLOUD_IAM_GROUP", "CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT".
|
60
59
|
"""
|
61
60
|
pulumi.set(__self__, "instance", instance)
|
62
61
|
if deletion_policy is not None:
|
@@ -175,10 +174,9 @@ class UserArgs:
|
|
175
174
|
"""
|
176
175
|
The user type. It determines the method to authenticate the
|
177
176
|
user during login. The default is the database's built-in user type. Flags
|
178
|
-
include "BUILT_IN", "CLOUD_IAM_USER", "CLOUD_IAM_SERVICE_ACCOUNT"
|
179
|
-
|
180
|
-
|
181
|
-
and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
177
|
+
include "BUILT_IN", "CLOUD_IAM_USER", and "CLOUD_IAM_SERVICE_ACCOUNT" for both
|
178
|
+
[Postgres](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/users#sqlusertype) and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
179
|
+
MySQL also includes "CLOUD_IAM_GROUP", "CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT".
|
182
180
|
"""
|
183
181
|
return pulumi.get(self, "type")
|
184
182
|
|
@@ -223,10 +221,9 @@ class _UserState:
|
|
223
221
|
is not provided, the provider project is used.
|
224
222
|
:param pulumi.Input[str] type: The user type. It determines the method to authenticate the
|
225
223
|
user during login. The default is the database's built-in user type. Flags
|
226
|
-
include "BUILT_IN", "CLOUD_IAM_USER", "CLOUD_IAM_SERVICE_ACCOUNT"
|
227
|
-
|
228
|
-
|
229
|
-
and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
224
|
+
include "BUILT_IN", "CLOUD_IAM_USER", and "CLOUD_IAM_SERVICE_ACCOUNT" for both
|
225
|
+
[Postgres](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/users#sqlusertype) and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
226
|
+
MySQL also includes "CLOUD_IAM_GROUP", "CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT".
|
230
227
|
"""
|
231
228
|
if deletion_policy is not None:
|
232
229
|
pulumi.set(__self__, "deletion_policy", deletion_policy)
|
@@ -357,10 +354,9 @@ class _UserState:
|
|
357
354
|
"""
|
358
355
|
The user type. It determines the method to authenticate the
|
359
356
|
user during login. The default is the database's built-in user type. Flags
|
360
|
-
include "BUILT_IN", "CLOUD_IAM_USER", "CLOUD_IAM_SERVICE_ACCOUNT"
|
361
|
-
|
362
|
-
|
363
|
-
and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
357
|
+
include "BUILT_IN", "CLOUD_IAM_USER", and "CLOUD_IAM_SERVICE_ACCOUNT" for both
|
358
|
+
[Postgres](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/users#sqlusertype) and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
359
|
+
MySQL also includes "CLOUD_IAM_GROUP", "CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT".
|
364
360
|
"""
|
365
361
|
return pulumi.get(self, "type")
|
366
362
|
|
@@ -511,10 +507,9 @@ class User(pulumi.CustomResource):
|
|
511
507
|
is not provided, the provider project is used.
|
512
508
|
:param pulumi.Input[str] type: The user type. It determines the method to authenticate the
|
513
509
|
user during login. The default is the database's built-in user type. Flags
|
514
|
-
include "BUILT_IN", "CLOUD_IAM_USER", "CLOUD_IAM_SERVICE_ACCOUNT"
|
515
|
-
|
516
|
-
|
517
|
-
and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
510
|
+
include "BUILT_IN", "CLOUD_IAM_USER", and "CLOUD_IAM_SERVICE_ACCOUNT" for both
|
511
|
+
[Postgres](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/users#sqlusertype) and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
512
|
+
MySQL also includes "CLOUD_IAM_GROUP", "CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT".
|
518
513
|
"""
|
519
514
|
...
|
520
515
|
@overload
|
@@ -719,10 +714,9 @@ class User(pulumi.CustomResource):
|
|
719
714
|
is not provided, the provider project is used.
|
720
715
|
:param pulumi.Input[str] type: The user type. It determines the method to authenticate the
|
721
716
|
user during login. The default is the database's built-in user type. Flags
|
722
|
-
include "BUILT_IN", "CLOUD_IAM_USER", "CLOUD_IAM_SERVICE_ACCOUNT"
|
723
|
-
|
724
|
-
|
725
|
-
and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
717
|
+
include "BUILT_IN", "CLOUD_IAM_USER", and "CLOUD_IAM_SERVICE_ACCOUNT" for both
|
718
|
+
[Postgres](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/users#sqlusertype) and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
719
|
+
MySQL also includes "CLOUD_IAM_GROUP", "CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT".
|
726
720
|
"""
|
727
721
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
728
722
|
|
@@ -817,10 +811,9 @@ class User(pulumi.CustomResource):
|
|
817
811
|
"""
|
818
812
|
The user type. It determines the method to authenticate the
|
819
813
|
user during login. The default is the database's built-in user type. Flags
|
820
|
-
include "BUILT_IN", "CLOUD_IAM_USER", "CLOUD_IAM_SERVICE_ACCOUNT"
|
821
|
-
|
822
|
-
|
823
|
-
and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
814
|
+
include "BUILT_IN", "CLOUD_IAM_USER", and "CLOUD_IAM_SERVICE_ACCOUNT" for both
|
815
|
+
[Postgres](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/users#sqlusertype) and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
816
|
+
MySQL also includes "CLOUD_IAM_GROUP", "CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT".
|
824
817
|
"""
|
825
818
|
return pulumi.get(self, "type")
|
826
819
|
|
pulumi_gcp/storage/_inputs.py
CHANGED
@@ -23,8 +23,6 @@ __all__ = [
|
|
23
23
|
'BucketCustomPlacementConfigArgsDict',
|
24
24
|
'BucketEncryptionArgs',
|
25
25
|
'BucketEncryptionArgsDict',
|
26
|
-
'BucketHierarchicalNamespaceArgs',
|
27
|
-
'BucketHierarchicalNamespaceArgsDict',
|
28
26
|
'BucketIAMBindingConditionArgs',
|
29
27
|
'BucketIAMBindingConditionArgsDict',
|
30
28
|
'BucketIAMMemberConditionArgs',
|
@@ -357,40 +355,6 @@ class BucketEncryptionArgs:
|
|
357
355
|
pulumi.set(self, "default_kms_key_name", value)
|
358
356
|
|
359
357
|
|
360
|
-
if not MYPY:
|
361
|
-
class BucketHierarchicalNamespaceArgsDict(TypedDict):
|
362
|
-
enabled: pulumi.Input[bool]
|
363
|
-
"""
|
364
|
-
Enable hierarchical namespace for the bucket.
|
365
|
-
To use this flag, you must also use --uniform-bucket-level-access
|
366
|
-
"""
|
367
|
-
elif False:
|
368
|
-
BucketHierarchicalNamespaceArgsDict: TypeAlias = Mapping[str, Any]
|
369
|
-
|
370
|
-
@pulumi.input_type
|
371
|
-
class BucketHierarchicalNamespaceArgs:
|
372
|
-
def __init__(__self__, *,
|
373
|
-
enabled: pulumi.Input[bool]):
|
374
|
-
"""
|
375
|
-
:param pulumi.Input[bool] enabled: Enable hierarchical namespace for the bucket.
|
376
|
-
To use this flag, you must also use --uniform-bucket-level-access
|
377
|
-
"""
|
378
|
-
pulumi.set(__self__, "enabled", enabled)
|
379
|
-
|
380
|
-
@property
|
381
|
-
@pulumi.getter
|
382
|
-
def enabled(self) -> pulumi.Input[bool]:
|
383
|
-
"""
|
384
|
-
Enable hierarchical namespace for the bucket.
|
385
|
-
To use this flag, you must also use --uniform-bucket-level-access
|
386
|
-
"""
|
387
|
-
return pulumi.get(self, "enabled")
|
388
|
-
|
389
|
-
@enabled.setter
|
390
|
-
def enabled(self, value: pulumi.Input[bool]):
|
391
|
-
pulumi.set(self, "enabled", value)
|
392
|
-
|
393
|
-
|
394
358
|
if not MYPY:
|
395
359
|
class BucketIAMBindingConditionArgsDict(TypedDict):
|
396
360
|
expression: pulumi.Input[str]
|
pulumi_gcp/storage/bucket.py
CHANGED
@@ -29,7 +29,6 @@ class BucketArgs:
|
|
29
29
|
enable_object_retention: Optional[pulumi.Input[bool]] = None,
|
30
30
|
encryption: Optional[pulumi.Input['BucketEncryptionArgs']] = None,
|
31
31
|
force_destroy: Optional[pulumi.Input[bool]] = None,
|
32
|
-
hierarchical_namespace: Optional[pulumi.Input['BucketHierarchicalNamespaceArgs']] = None,
|
33
32
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
34
33
|
lifecycle_rules: Optional[pulumi.Input[Sequence[pulumi.Input['BucketLifecycleRuleArgs']]]] = None,
|
35
34
|
logging: Optional[pulumi.Input['BucketLoggingArgs']] = None,
|
@@ -58,7 +57,6 @@ class BucketArgs:
|
|
58
57
|
:param pulumi.Input[bool] force_destroy: When deleting a bucket, this
|
59
58
|
boolean option will delete all contained objects. If you try to delete a
|
60
59
|
bucket that contains objects, the provider will fail that run.
|
61
|
-
:param pulumi.Input['BucketHierarchicalNamespaceArgs'] hierarchical_namespace: The bucket's hierarchical namespace policy, which defines the bucket capability to handle folders in logical structure. Structure is documented below.
|
62
60
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the bucket.
|
63
61
|
:param pulumi.Input[Sequence[pulumi.Input['BucketLifecycleRuleArgs']]] lifecycle_rules: The bucket's [Lifecycle Rules](https://cloud.google.com/storage/docs/lifecycle#configuration) configuration. Multiple blocks of this type are permitted. Structure is documented below.
|
64
62
|
:param pulumi.Input['BucketLoggingArgs'] logging: The bucket's [Access & Storage Logs](https://cloud.google.com/storage/docs/access-logs) configuration. Structure is documented below.
|
@@ -91,8 +89,6 @@ class BucketArgs:
|
|
91
89
|
pulumi.set(__self__, "encryption", encryption)
|
92
90
|
if force_destroy is not None:
|
93
91
|
pulumi.set(__self__, "force_destroy", force_destroy)
|
94
|
-
if hierarchical_namespace is not None:
|
95
|
-
pulumi.set(__self__, "hierarchical_namespace", hierarchical_namespace)
|
96
92
|
if labels is not None:
|
97
93
|
pulumi.set(__self__, "labels", labels)
|
98
94
|
if lifecycle_rules is not None:
|
@@ -222,18 +218,6 @@ class BucketArgs:
|
|
222
218
|
def force_destroy(self, value: Optional[pulumi.Input[bool]]):
|
223
219
|
pulumi.set(self, "force_destroy", value)
|
224
220
|
|
225
|
-
@property
|
226
|
-
@pulumi.getter(name="hierarchicalNamespace")
|
227
|
-
def hierarchical_namespace(self) -> Optional[pulumi.Input['BucketHierarchicalNamespaceArgs']]:
|
228
|
-
"""
|
229
|
-
The bucket's hierarchical namespace policy, which defines the bucket capability to handle folders in logical structure. Structure is documented below.
|
230
|
-
"""
|
231
|
-
return pulumi.get(self, "hierarchical_namespace")
|
232
|
-
|
233
|
-
@hierarchical_namespace.setter
|
234
|
-
def hierarchical_namespace(self, value: Optional[pulumi.Input['BucketHierarchicalNamespaceArgs']]):
|
235
|
-
pulumi.set(self, "hierarchical_namespace", value)
|
236
|
-
|
237
221
|
@property
|
238
222
|
@pulumi.getter
|
239
223
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -416,7 +400,6 @@ class _BucketState:
|
|
416
400
|
enable_object_retention: Optional[pulumi.Input[bool]] = None,
|
417
401
|
encryption: Optional[pulumi.Input['BucketEncryptionArgs']] = None,
|
418
402
|
force_destroy: Optional[pulumi.Input[bool]] = None,
|
419
|
-
hierarchical_namespace: Optional[pulumi.Input['BucketHierarchicalNamespaceArgs']] = None,
|
420
403
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
421
404
|
lifecycle_rules: Optional[pulumi.Input[Sequence[pulumi.Input['BucketLifecycleRuleArgs']]]] = None,
|
422
405
|
location: Optional[pulumi.Input[str]] = None,
|
@@ -447,7 +430,6 @@ class _BucketState:
|
|
447
430
|
:param pulumi.Input[bool] force_destroy: When deleting a bucket, this
|
448
431
|
boolean option will delete all contained objects. If you try to delete a
|
449
432
|
bucket that contains objects, the provider will fail that run.
|
450
|
-
:param pulumi.Input['BucketHierarchicalNamespaceArgs'] hierarchical_namespace: The bucket's hierarchical namespace policy, which defines the bucket capability to handle folders in logical structure. Structure is documented below.
|
451
433
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the bucket.
|
452
434
|
:param pulumi.Input[Sequence[pulumi.Input['BucketLifecycleRuleArgs']]] lifecycle_rules: The bucket's [Lifecycle Rules](https://cloud.google.com/storage/docs/lifecycle#configuration) configuration. Multiple blocks of this type are permitted. Structure is documented below.
|
453
435
|
:param pulumi.Input[str] location: The [GCS location](https://cloud.google.com/storage/docs/bucket-locations).
|
@@ -488,8 +470,6 @@ class _BucketState:
|
|
488
470
|
pulumi.set(__self__, "encryption", encryption)
|
489
471
|
if force_destroy is not None:
|
490
472
|
pulumi.set(__self__, "force_destroy", force_destroy)
|
491
|
-
if hierarchical_namespace is not None:
|
492
|
-
pulumi.set(__self__, "hierarchical_namespace", hierarchical_namespace)
|
493
473
|
if labels is not None:
|
494
474
|
pulumi.set(__self__, "labels", labels)
|
495
475
|
if lifecycle_rules is not None:
|
@@ -624,18 +604,6 @@ class _BucketState:
|
|
624
604
|
def force_destroy(self, value: Optional[pulumi.Input[bool]]):
|
625
605
|
pulumi.set(self, "force_destroy", value)
|
626
606
|
|
627
|
-
@property
|
628
|
-
@pulumi.getter(name="hierarchicalNamespace")
|
629
|
-
def hierarchical_namespace(self) -> Optional[pulumi.Input['BucketHierarchicalNamespaceArgs']]:
|
630
|
-
"""
|
631
|
-
The bucket's hierarchical namespace policy, which defines the bucket capability to handle folders in logical structure. Structure is documented below.
|
632
|
-
"""
|
633
|
-
return pulumi.get(self, "hierarchical_namespace")
|
634
|
-
|
635
|
-
@hierarchical_namespace.setter
|
636
|
-
def hierarchical_namespace(self, value: Optional[pulumi.Input['BucketHierarchicalNamespaceArgs']]):
|
637
|
-
pulumi.set(self, "hierarchical_namespace", value)
|
638
|
-
|
639
607
|
@property
|
640
608
|
@pulumi.getter
|
641
609
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -881,7 +849,6 @@ class Bucket(pulumi.CustomResource):
|
|
881
849
|
enable_object_retention: Optional[pulumi.Input[bool]] = None,
|
882
850
|
encryption: Optional[pulumi.Input[Union['BucketEncryptionArgs', 'BucketEncryptionArgsDict']]] = None,
|
883
851
|
force_destroy: Optional[pulumi.Input[bool]] = None,
|
884
|
-
hierarchical_namespace: Optional[pulumi.Input[Union['BucketHierarchicalNamespaceArgs', 'BucketHierarchicalNamespaceArgsDict']]] = None,
|
885
852
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
886
853
|
lifecycle_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BucketLifecycleRuleArgs', 'BucketLifecycleRuleArgsDict']]]]] = None,
|
887
854
|
location: Optional[pulumi.Input[str]] = None,
|
@@ -1047,7 +1014,6 @@ class Bucket(pulumi.CustomResource):
|
|
1047
1014
|
:param pulumi.Input[bool] force_destroy: When deleting a bucket, this
|
1048
1015
|
boolean option will delete all contained objects. If you try to delete a
|
1049
1016
|
bucket that contains objects, the provider will fail that run.
|
1050
|
-
:param pulumi.Input[Union['BucketHierarchicalNamespaceArgs', 'BucketHierarchicalNamespaceArgsDict']] hierarchical_namespace: The bucket's hierarchical namespace policy, which defines the bucket capability to handle folders in logical structure. Structure is documented below.
|
1051
1017
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the bucket.
|
1052
1018
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BucketLifecycleRuleArgs', 'BucketLifecycleRuleArgsDict']]]] lifecycle_rules: The bucket's [Lifecycle Rules](https://cloud.google.com/storage/docs/lifecycle#configuration) configuration. Multiple blocks of this type are permitted. Structure is documented below.
|
1053
1019
|
:param pulumi.Input[str] location: The [GCS location](https://cloud.google.com/storage/docs/bucket-locations).
|
@@ -1234,7 +1200,6 @@ class Bucket(pulumi.CustomResource):
|
|
1234
1200
|
enable_object_retention: Optional[pulumi.Input[bool]] = None,
|
1235
1201
|
encryption: Optional[pulumi.Input[Union['BucketEncryptionArgs', 'BucketEncryptionArgsDict']]] = None,
|
1236
1202
|
force_destroy: Optional[pulumi.Input[bool]] = None,
|
1237
|
-
hierarchical_namespace: Optional[pulumi.Input[Union['BucketHierarchicalNamespaceArgs', 'BucketHierarchicalNamespaceArgsDict']]] = None,
|
1238
1203
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1239
1204
|
lifecycle_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BucketLifecycleRuleArgs', 'BucketLifecycleRuleArgsDict']]]]] = None,
|
1240
1205
|
location: Optional[pulumi.Input[str]] = None,
|
@@ -1266,7 +1231,6 @@ class Bucket(pulumi.CustomResource):
|
|
1266
1231
|
__props__.__dict__["enable_object_retention"] = enable_object_retention
|
1267
1232
|
__props__.__dict__["encryption"] = encryption
|
1268
1233
|
__props__.__dict__["force_destroy"] = force_destroy
|
1269
|
-
__props__.__dict__["hierarchical_namespace"] = hierarchical_namespace
|
1270
1234
|
__props__.__dict__["labels"] = labels
|
1271
1235
|
__props__.__dict__["lifecycle_rules"] = lifecycle_rules
|
1272
1236
|
if location is None and not opts.urn:
|
@@ -1309,7 +1273,6 @@ class Bucket(pulumi.CustomResource):
|
|
1309
1273
|
enable_object_retention: Optional[pulumi.Input[bool]] = None,
|
1310
1274
|
encryption: Optional[pulumi.Input[Union['BucketEncryptionArgs', 'BucketEncryptionArgsDict']]] = None,
|
1311
1275
|
force_destroy: Optional[pulumi.Input[bool]] = None,
|
1312
|
-
hierarchical_namespace: Optional[pulumi.Input[Union['BucketHierarchicalNamespaceArgs', 'BucketHierarchicalNamespaceArgsDict']]] = None,
|
1313
1276
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1314
1277
|
lifecycle_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BucketLifecycleRuleArgs', 'BucketLifecycleRuleArgsDict']]]]] = None,
|
1315
1278
|
location: Optional[pulumi.Input[str]] = None,
|
@@ -1345,7 +1308,6 @@ class Bucket(pulumi.CustomResource):
|
|
1345
1308
|
:param pulumi.Input[bool] force_destroy: When deleting a bucket, this
|
1346
1309
|
boolean option will delete all contained objects. If you try to delete a
|
1347
1310
|
bucket that contains objects, the provider will fail that run.
|
1348
|
-
:param pulumi.Input[Union['BucketHierarchicalNamespaceArgs', 'BucketHierarchicalNamespaceArgsDict']] hierarchical_namespace: The bucket's hierarchical namespace policy, which defines the bucket capability to handle folders in logical structure. Structure is documented below.
|
1349
1311
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the bucket.
|
1350
1312
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BucketLifecycleRuleArgs', 'BucketLifecycleRuleArgsDict']]]] lifecycle_rules: The bucket's [Lifecycle Rules](https://cloud.google.com/storage/docs/lifecycle#configuration) configuration. Multiple blocks of this type are permitted. Structure is documented below.
|
1351
1313
|
:param pulumi.Input[str] location: The [GCS location](https://cloud.google.com/storage/docs/bucket-locations).
|
@@ -1382,7 +1344,6 @@ class Bucket(pulumi.CustomResource):
|
|
1382
1344
|
__props__.__dict__["enable_object_retention"] = enable_object_retention
|
1383
1345
|
__props__.__dict__["encryption"] = encryption
|
1384
1346
|
__props__.__dict__["force_destroy"] = force_destroy
|
1385
|
-
__props__.__dict__["hierarchical_namespace"] = hierarchical_namespace
|
1386
1347
|
__props__.__dict__["labels"] = labels
|
1387
1348
|
__props__.__dict__["lifecycle_rules"] = lifecycle_rules
|
1388
1349
|
__props__.__dict__["location"] = location
|
@@ -1467,14 +1428,6 @@ class Bucket(pulumi.CustomResource):
|
|
1467
1428
|
"""
|
1468
1429
|
return pulumi.get(self, "force_destroy")
|
1469
1430
|
|
1470
|
-
@property
|
1471
|
-
@pulumi.getter(name="hierarchicalNamespace")
|
1472
|
-
def hierarchical_namespace(self) -> pulumi.Output[Optional['outputs.BucketHierarchicalNamespace']]:
|
1473
|
-
"""
|
1474
|
-
The bucket's hierarchical namespace policy, which defines the bucket capability to handle folders in logical structure. Structure is documented below.
|
1475
|
-
"""
|
1476
|
-
return pulumi.get(self, "hierarchical_namespace")
|
1477
|
-
|
1478
1431
|
@property
|
1479
1432
|
@pulumi.getter
|
1480
1433
|
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
pulumi_gcp/storage/get_bucket.py
CHANGED
@@ -27,7 +27,7 @@ class GetBucketResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getBucket.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, autoclasses=None, cors=None, custom_placement_configs=None, default_event_based_hold=None, effective_labels=None, enable_object_retention=None, encryptions=None, force_destroy=None,
|
30
|
+
def __init__(__self__, autoclasses=None, cors=None, custom_placement_configs=None, default_event_based_hold=None, effective_labels=None, enable_object_retention=None, encryptions=None, force_destroy=None, id=None, labels=None, lifecycle_rules=None, location=None, loggings=None, name=None, project=None, project_number=None, public_access_prevention=None, pulumi_labels=None, requester_pays=None, retention_policies=None, rpo=None, self_link=None, soft_delete_policies=None, storage_class=None, uniform_bucket_level_access=None, url=None, versionings=None, websites=None):
|
31
31
|
if autoclasses and not isinstance(autoclasses, list):
|
32
32
|
raise TypeError("Expected argument 'autoclasses' to be a list")
|
33
33
|
pulumi.set(__self__, "autoclasses", autoclasses)
|
@@ -52,9 +52,6 @@ class GetBucketResult:
|
|
52
52
|
if force_destroy and not isinstance(force_destroy, bool):
|
53
53
|
raise TypeError("Expected argument 'force_destroy' to be a bool")
|
54
54
|
pulumi.set(__self__, "force_destroy", force_destroy)
|
55
|
-
if hierarchical_namespaces and not isinstance(hierarchical_namespaces, list):
|
56
|
-
raise TypeError("Expected argument 'hierarchical_namespaces' to be a list")
|
57
|
-
pulumi.set(__self__, "hierarchical_namespaces", hierarchical_namespaces)
|
58
55
|
if id and not isinstance(id, str):
|
59
56
|
raise TypeError("Expected argument 'id' to be a str")
|
60
57
|
pulumi.set(__self__, "id", id)
|
@@ -156,11 +153,6 @@ class GetBucketResult:
|
|
156
153
|
def force_destroy(self) -> bool:
|
157
154
|
return pulumi.get(self, "force_destroy")
|
158
155
|
|
159
|
-
@property
|
160
|
-
@pulumi.getter(name="hierarchicalNamespaces")
|
161
|
-
def hierarchical_namespaces(self) -> Sequence['outputs.GetBucketHierarchicalNamespaceResult']:
|
162
|
-
return pulumi.get(self, "hierarchical_namespaces")
|
163
|
-
|
164
156
|
@property
|
165
157
|
@pulumi.getter
|
166
158
|
def id(self) -> str:
|
@@ -279,7 +271,6 @@ class AwaitableGetBucketResult(GetBucketResult):
|
|
279
271
|
enable_object_retention=self.enable_object_retention,
|
280
272
|
encryptions=self.encryptions,
|
281
273
|
force_destroy=self.force_destroy,
|
282
|
-
hierarchical_namespaces=self.hierarchical_namespaces,
|
283
274
|
id=self.id,
|
284
275
|
labels=self.labels,
|
285
276
|
lifecycle_rules=self.lifecycle_rules,
|
@@ -339,7 +330,6 @@ def get_bucket(name: Optional[str] = None,
|
|
339
330
|
enable_object_retention=pulumi.get(__ret__, 'enable_object_retention'),
|
340
331
|
encryptions=pulumi.get(__ret__, 'encryptions'),
|
341
332
|
force_destroy=pulumi.get(__ret__, 'force_destroy'),
|
342
|
-
hierarchical_namespaces=pulumi.get(__ret__, 'hierarchical_namespaces'),
|
343
333
|
id=pulumi.get(__ret__, 'id'),
|
344
334
|
labels=pulumi.get(__ret__, 'labels'),
|
345
335
|
lifecycle_rules=pulumi.get(__ret__, 'lifecycle_rules'),
|
@@ -396,7 +386,6 @@ def get_bucket_output(name: Optional[pulumi.Input[str]] = None,
|
|
396
386
|
enable_object_retention=pulumi.get(__response__, 'enable_object_retention'),
|
397
387
|
encryptions=pulumi.get(__response__, 'encryptions'),
|
398
388
|
force_destroy=pulumi.get(__response__, 'force_destroy'),
|
399
|
-
hierarchical_namespaces=pulumi.get(__response__, 'hierarchical_namespaces'),
|
400
389
|
id=pulumi.get(__response__, 'id'),
|
401
390
|
labels=pulumi.get(__response__, 'labels'),
|
402
391
|
lifecycle_rules=pulumi.get(__response__, 'lifecycle_rules'),
|