pulumi-gcp 8.21.0a1740033009__py3-none-any.whl → 8.21.0a1740664935__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.
@@ -21,7 +21,6 @@ __all__ = ['MetastoreServiceArgs', 'MetastoreService']
21
21
  @pulumi.input_type
22
22
  class MetastoreServiceArgs:
23
23
  def __init__(__self__, *,
24
- service_id: pulumi.Input[str],
25
24
  database_type: Optional[pulumi.Input[str]] = None,
26
25
  deletion_protection: Optional[pulumi.Input[bool]] = None,
27
26
  encryption_config: Optional[pulumi.Input['MetastoreServiceEncryptionConfigArgs']] = None,
@@ -37,16 +36,11 @@ class MetastoreServiceArgs:
37
36
  release_channel: Optional[pulumi.Input[str]] = None,
38
37
  scaling_config: Optional[pulumi.Input['MetastoreServiceScalingConfigArgs']] = None,
39
38
  scheduled_backup: Optional[pulumi.Input['MetastoreServiceScheduledBackupArgs']] = None,
39
+ service_id: Optional[pulumi.Input[str]] = None,
40
40
  telemetry_config: Optional[pulumi.Input['MetastoreServiceTelemetryConfigArgs']] = None,
41
41
  tier: Optional[pulumi.Input[str]] = None):
42
42
  """
43
43
  The set of arguments for constructing a MetastoreService resource.
44
- :param pulumi.Input[str] service_id: The ID of the metastore service. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_),
45
- and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between
46
- 3 and 63 characters.
47
-
48
-
49
- - - -
50
44
  :param pulumi.Input[str] database_type: The database type that the Metastore service stores its data.
51
45
  Default value is `MYSQL`.
52
46
  Possible values are: `MYSQL`, `SPANNER`.
@@ -81,12 +75,17 @@ class MetastoreServiceArgs:
81
75
  Structure is documented below.
82
76
  :param pulumi.Input['MetastoreServiceScheduledBackupArgs'] scheduled_backup: The configuration of scheduled backup for the metastore service.
83
77
  Structure is documented below.
78
+ :param pulumi.Input[str] service_id: The ID of the metastore service. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_),
79
+ and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between
80
+ 3 and 63 characters.
81
+
82
+
83
+ - - -
84
84
  :param pulumi.Input['MetastoreServiceTelemetryConfigArgs'] telemetry_config: The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON.
85
85
  Structure is documented below.
86
86
  :param pulumi.Input[str] tier: The tier of the service.
87
87
  Possible values are: `DEVELOPER`, `ENTERPRISE`.
88
88
  """
89
- pulumi.set(__self__, "service_id", service_id)
90
89
  if database_type is not None:
91
90
  pulumi.set(__self__, "database_type", database_type)
92
91
  if deletion_protection is not None:
@@ -117,28 +116,13 @@ class MetastoreServiceArgs:
117
116
  pulumi.set(__self__, "scaling_config", scaling_config)
118
117
  if scheduled_backup is not None:
119
118
  pulumi.set(__self__, "scheduled_backup", scheduled_backup)
119
+ if service_id is not None:
120
+ pulumi.set(__self__, "service_id", service_id)
120
121
  if telemetry_config is not None:
121
122
  pulumi.set(__self__, "telemetry_config", telemetry_config)
122
123
  if tier is not None:
123
124
  pulumi.set(__self__, "tier", tier)
124
125
 
125
- @property
126
- @pulumi.getter(name="serviceId")
127
- def service_id(self) -> pulumi.Input[str]:
128
- """
129
- The ID of the metastore service. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_),
130
- and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between
131
- 3 and 63 characters.
132
-
133
-
134
- - - -
135
- """
136
- return pulumi.get(self, "service_id")
137
-
138
- @service_id.setter
139
- def service_id(self, value: pulumi.Input[str]):
140
- pulumi.set(self, "service_id", value)
141
-
142
126
  @property
143
127
  @pulumi.getter(name="databaseType")
144
128
  def database_type(self) -> Optional[pulumi.Input[str]]:
@@ -338,6 +322,23 @@ class MetastoreServiceArgs:
338
322
  def scheduled_backup(self, value: Optional[pulumi.Input['MetastoreServiceScheduledBackupArgs']]):
339
323
  pulumi.set(self, "scheduled_backup", value)
340
324
 
325
+ @property
326
+ @pulumi.getter(name="serviceId")
327
+ def service_id(self) -> Optional[pulumi.Input[str]]:
328
+ """
329
+ The ID of the metastore service. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_),
330
+ and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between
331
+ 3 and 63 characters.
332
+
333
+
334
+ - - -
335
+ """
336
+ return pulumi.get(self, "service_id")
337
+
338
+ @service_id.setter
339
+ def service_id(self, value: Optional[pulumi.Input[str]]):
340
+ pulumi.set(self, "service_id", value)
341
+
341
342
  @property
342
343
  @pulumi.getter(name="telemetryConfig")
343
344
  def telemetry_config(self) -> Optional[pulumi.Input['MetastoreServiceTelemetryConfigArgs']]:
@@ -1229,7 +1230,7 @@ class MetastoreService(pulumi.CustomResource):
1229
1230
  @overload
1230
1231
  def __init__(__self__,
1231
1232
  resource_name: str,
1232
- args: MetastoreServiceArgs,
1233
+ args: Optional[MetastoreServiceArgs] = None,
1233
1234
  opts: Optional[pulumi.ResourceOptions] = None):
1234
1235
  """
1235
1236
  A managed metastore service that serves metadata queries.
@@ -1599,8 +1600,6 @@ class MetastoreService(pulumi.CustomResource):
1599
1600
  __props__.__dict__["release_channel"] = release_channel
1600
1601
  __props__.__dict__["scaling_config"] = scaling_config
1601
1602
  __props__.__dict__["scheduled_backup"] = scheduled_backup
1602
- if service_id is None and not opts.urn:
1603
- raise TypeError("Missing required property 'service_id'")
1604
1603
  __props__.__dict__["service_id"] = service_id
1605
1604
  __props__.__dict__["telemetry_config"] = telemetry_config
1606
1605
  __props__.__dict__["tier"] = tier
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "gcp",
4
- "version": "8.21.0-alpha.1740033009"
4
+ "version": "8.21.0-alpha.1740664935"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pulumi_gcp
3
- Version: 8.21.0a1740033009
3
+ Version: 8.21.0a1740664935
4
4
  Summary: A Pulumi package for creating and managing Google Cloud Platform resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -2,7 +2,7 @@ pulumi_gcp/__init__.py,sha256=opOjf14KaXVqctRUWga0sl5-mmct84vBazY06n89XEk,225317
2
2
  pulumi_gcp/_inputs.py,sha256=Od7fuuGzQlwMR_yFc1c5R1CuvtPhgRpe262W7i6UPKc,1873
3
3
  pulumi_gcp/_utilities.py,sha256=yyuODPikZ9pto3JWJRfMJo98dWmQ5_y45-TVcZG_K8Y,10807
4
4
  pulumi_gcp/provider.py,sha256=06t-eVjlz80Ql9MnyxDWkwjGbV-0AKyn6QfeeNJshBs,206294
5
- pulumi_gcp/pulumi-plugin.json,sha256=P4jlfRExJsX5DEAnjM9Vse0UWSmXNF0UJDDpiSvuCC4,80
5
+ pulumi_gcp/pulumi-plugin.json,sha256=ZdGidYpGTBxzlFxyc8a17BwyqnmmRVLUkDiP0aUXkxg,80
6
6
  pulumi_gcp/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  pulumi_gcp/accessapproval/__init__.py,sha256=VpbPp-2Rb1295tFUB_3aO6TvbS1UhYt3ycgAzrNVqOU,402
8
8
  pulumi_gcp/accessapproval/get_folder_service_account.py,sha256=0Lomex6X2Kp8FCHznDp0CbPYBvyRMqZOOtXbh-eq6Ug,6322
@@ -830,7 +830,7 @@ pulumi_gcp/dataproc/metastore_federation.py,sha256=rXLvrj-woP4cczXHhugzJU_tWcWG9
830
830
  pulumi_gcp/dataproc/metastore_federation_iam_binding.py,sha256=mtU3a-mV2LkvMq3ze7u_y0X7IijD_flek0QEZDEknQw,44837
831
831
  pulumi_gcp/dataproc/metastore_federation_iam_member.py,sha256=vvOldqcGrZDG_ddPxnhSimYr8VZXcycWTrzlYb4ieoQ,44438
832
832
  pulumi_gcp/dataproc/metastore_federation_iam_policy.py,sha256=cvpmbEdAHXkR2I9cUoxiUGtpVH_27QkZuxiWjWr5ioU,30940
833
- pulumi_gcp/dataproc/metastore_service.py,sha256=Xne4pbiPtvqiSr65VFfAPVAeZ_XD6J1jPALxNMZUZcE,90063
833
+ pulumi_gcp/dataproc/metastore_service.py,sha256=_r3AZCYv9_hsb-crOks6iEggG3LQ8qNePKc-yaPMLj8,90030
834
834
  pulumi_gcp/dataproc/metastore_service_iam_binding.py,sha256=YhDo2_eZeROBMuNvJAHH8yX1tojCF_Xr93_nmk0ZMrQ,44478
835
835
  pulumi_gcp/dataproc/metastore_service_iam_member.py,sha256=IJPyfCa8F7nNqoVDteZk5K66YmoGInhc-tnktokbmFo,44079
836
836
  pulumi_gcp/dataproc/metastore_service_iam_policy.py,sha256=etGtqvLksKbliw5Y5K4EGfnEkRl8nQtT_2MYUnJbe_w,30641
@@ -1820,7 +1820,7 @@ pulumi_gcp/workstations/workstation_config_iam_policy.py,sha256=6254B7mpV5htw169
1820
1820
  pulumi_gcp/workstations/workstation_iam_binding.py,sha256=yCizez3UUlZWaQX2GNL4n5fuwebLdmEgWorPzEWP5-c,37782
1821
1821
  pulumi_gcp/workstations/workstation_iam_member.py,sha256=XTMhHTr0jQp4-3Zz68qhRDO7cQa3Www4Vza8axVinIc,37383
1822
1822
  pulumi_gcp/workstations/workstation_iam_policy.py,sha256=yOPXKlHDXIsg9lzajYjtkfYgzsiuyyrZjQ7J85I5rcA,24017
1823
- pulumi_gcp-8.21.0a1740033009.dist-info/METADATA,sha256=83sNivrOlhMyUDBxBwqQ2eX8pANEnuH7e4Dgg12VxPA,2725
1824
- pulumi_gcp-8.21.0a1740033009.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
1825
- pulumi_gcp-8.21.0a1740033009.dist-info/top_level.txt,sha256=acmDGVRVMJWpVhhj-l-aHbZ7mrvmzjmUeqRyCN8nnjM,11
1826
- pulumi_gcp-8.21.0a1740033009.dist-info/RECORD,,
1823
+ pulumi_gcp-8.21.0a1740664935.dist-info/METADATA,sha256=wGwjt2hC8GI04L74tuUMckusoVFM4VGXD-sPh90Bfo4,2725
1824
+ pulumi_gcp-8.21.0a1740664935.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
1825
+ pulumi_gcp-8.21.0a1740664935.dist-info/top_level.txt,sha256=acmDGVRVMJWpVhhj-l-aHbZ7mrvmzjmUeqRyCN8nnjM,11
1826
+ pulumi_gcp-8.21.0a1740664935.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.0)
2
+ Generator: setuptools (75.8.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5