pulumi-gcp 8.10.0a1731950704__py3-none-any.whl → 8.10.0a1732125494__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.
Files changed (51) hide show
  1. pulumi_gcp/__init__.py +24 -0
  2. pulumi_gcp/accesscontextmanager/__init__.py +1 -0
  3. pulumi_gcp/accesscontextmanager/_inputs.py +90 -54
  4. pulumi_gcp/accesscontextmanager/get_access_policy.py +158 -0
  5. pulumi_gcp/accesscontextmanager/outputs.py +60 -36
  6. pulumi_gcp/artifactregistry/_inputs.py +56 -0
  7. pulumi_gcp/artifactregistry/outputs.py +65 -0
  8. pulumi_gcp/artifactregistry/repository.py +48 -0
  9. pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
  10. pulumi_gcp/backupdisasterrecovery/backup_vault.py +63 -0
  11. pulumi_gcp/backupdisasterrecovery/get_data_source.py +263 -0
  12. pulumi_gcp/backupdisasterrecovery/outputs.py +402 -0
  13. pulumi_gcp/certificateauthority/authority.py +28 -138
  14. pulumi_gcp/cloudrun/service.py +0 -10
  15. pulumi_gcp/cloudrunv2/get_service.py +15 -4
  16. pulumi_gcp/cloudrunv2/service.py +30 -2
  17. pulumi_gcp/compute/_inputs.py +12 -12
  18. pulumi_gcp/compute/outputs.py +10 -10
  19. pulumi_gcp/dataproc/__init__.py +1 -0
  20. pulumi_gcp/dataproc/_inputs.py +490 -0
  21. pulumi_gcp/dataproc/gdc_spark_application.py +1658 -0
  22. pulumi_gcp/dataproc/outputs.py +385 -0
  23. pulumi_gcp/filestore/_inputs.py +152 -0
  24. pulumi_gcp/filestore/get_instance.py +12 -1
  25. pulumi_gcp/filestore/instance.py +47 -0
  26. pulumi_gcp/filestore/outputs.py +229 -0
  27. pulumi_gcp/iam/__init__.py +2 -0
  28. pulumi_gcp/iam/_inputs.py +274 -0
  29. pulumi_gcp/iam/folders_policy_binding.py +917 -0
  30. pulumi_gcp/iam/organizations_policy_binding.py +901 -0
  31. pulumi_gcp/iam/outputs.py +198 -0
  32. pulumi_gcp/managedkafka/cluster.py +4 -0
  33. pulumi_gcp/managedkafka/topic.py +4 -0
  34. pulumi_gcp/pubsub/subscription.py +8 -8
  35. pulumi_gcp/pulumi-plugin.json +1 -1
  36. pulumi_gcp/redis/_inputs.py +213 -0
  37. pulumi_gcp/redis/cluster.py +289 -0
  38. pulumi_gcp/redis/outputs.py +185 -0
  39. pulumi_gcp/securesourcemanager/_inputs.py +33 -0
  40. pulumi_gcp/securesourcemanager/instance.py +90 -3
  41. pulumi_gcp/securesourcemanager/outputs.py +19 -0
  42. pulumi_gcp/spanner/database.py +14 -14
  43. pulumi_gcp/sql/_inputs.py +73 -0
  44. pulumi_gcp/sql/database_instance.py +60 -0
  45. pulumi_gcp/sql/outputs.py +146 -0
  46. pulumi_gcp/sql/user.py +2 -2
  47. pulumi_gcp/tags/location_tag_binding.py +8 -8
  48. {pulumi_gcp-8.10.0a1731950704.dist-info → pulumi_gcp-8.10.0a1732125494.dist-info}/METADATA +1 -1
  49. {pulumi_gcp-8.10.0a1731950704.dist-info → pulumi_gcp-8.10.0a1732125494.dist-info}/RECORD +51 -46
  50. {pulumi_gcp-8.10.0a1731950704.dist-info → pulumi_gcp-8.10.0a1732125494.dist-info}/WHEEL +0 -0
  51. {pulumi_gcp-8.10.0a1731950704.dist-info → pulumi_gcp-8.10.0a1732125494.dist-info}/top_level.txt +0 -0
@@ -83,6 +83,11 @@ __all__ = [
83
83
  'GdcApplicationEnvironmentSparkApplicationEnvironmentConfig',
84
84
  'GdcServiceInstanceGdceCluster',
85
85
  'GdcServiceInstanceSparkServiceInstanceConfig',
86
+ 'GdcSparkApplicationPysparkApplicationConfig',
87
+ 'GdcSparkApplicationSparkApplicationConfig',
88
+ 'GdcSparkApplicationSparkRApplicationConfig',
89
+ 'GdcSparkApplicationSparkSqlApplicationConfig',
90
+ 'GdcSparkApplicationSparkSqlApplicationConfigQueryList',
86
91
  'JobHadoopConfig',
87
92
  'JobHadoopConfigLoggingConfig',
88
93
  'JobHiveConfig',
@@ -5298,6 +5303,386 @@ class GdcServiceInstanceSparkServiceInstanceConfig(dict):
5298
5303
  pass
5299
5304
 
5300
5305
 
5306
+ @pulumi.output_type
5307
+ class GdcSparkApplicationPysparkApplicationConfig(dict):
5308
+ @staticmethod
5309
+ def __key_warning(key: str):
5310
+ suggest = None
5311
+ if key == "mainPythonFileUri":
5312
+ suggest = "main_python_file_uri"
5313
+ elif key == "archiveUris":
5314
+ suggest = "archive_uris"
5315
+ elif key == "fileUris":
5316
+ suggest = "file_uris"
5317
+ elif key == "jarFileUris":
5318
+ suggest = "jar_file_uris"
5319
+ elif key == "pythonFileUris":
5320
+ suggest = "python_file_uris"
5321
+
5322
+ if suggest:
5323
+ pulumi.log.warn(f"Key '{key}' not found in GdcSparkApplicationPysparkApplicationConfig. Access the value via the '{suggest}' property getter instead.")
5324
+
5325
+ def __getitem__(self, key: str) -> Any:
5326
+ GdcSparkApplicationPysparkApplicationConfig.__key_warning(key)
5327
+ return super().__getitem__(key)
5328
+
5329
+ def get(self, key: str, default = None) -> Any:
5330
+ GdcSparkApplicationPysparkApplicationConfig.__key_warning(key)
5331
+ return super().get(key, default)
5332
+
5333
+ def __init__(__self__, *,
5334
+ main_python_file_uri: str,
5335
+ archive_uris: Optional[Sequence[str]] = None,
5336
+ args: Optional[Sequence[str]] = None,
5337
+ file_uris: Optional[Sequence[str]] = None,
5338
+ jar_file_uris: Optional[Sequence[str]] = None,
5339
+ python_file_uris: Optional[Sequence[str]] = None):
5340
+ """
5341
+ :param str main_python_file_uri: The HCFS URI of the main Python file to use as the driver. Must be a .py file.
5342
+ :param Sequence[str] archive_uris: HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
5343
+ :param Sequence[str] args: The arguments to pass to the driver. Do not include arguments, such as `--conf`, that can be set as job properties, since a collision may occur that causes an incorrect job submission.
5344
+ :param Sequence[str] file_uris: HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.
5345
+ :param Sequence[str] jar_file_uris: HCFS URIs of jar files to add to the CLASSPATHs of the Python driver and tasks.
5346
+ :param Sequence[str] python_file_uris: HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.
5347
+ """
5348
+ pulumi.set(__self__, "main_python_file_uri", main_python_file_uri)
5349
+ if archive_uris is not None:
5350
+ pulumi.set(__self__, "archive_uris", archive_uris)
5351
+ if args is not None:
5352
+ pulumi.set(__self__, "args", args)
5353
+ if file_uris is not None:
5354
+ pulumi.set(__self__, "file_uris", file_uris)
5355
+ if jar_file_uris is not None:
5356
+ pulumi.set(__self__, "jar_file_uris", jar_file_uris)
5357
+ if python_file_uris is not None:
5358
+ pulumi.set(__self__, "python_file_uris", python_file_uris)
5359
+
5360
+ @property
5361
+ @pulumi.getter(name="mainPythonFileUri")
5362
+ def main_python_file_uri(self) -> str:
5363
+ """
5364
+ The HCFS URI of the main Python file to use as the driver. Must be a .py file.
5365
+ """
5366
+ return pulumi.get(self, "main_python_file_uri")
5367
+
5368
+ @property
5369
+ @pulumi.getter(name="archiveUris")
5370
+ def archive_uris(self) -> Optional[Sequence[str]]:
5371
+ """
5372
+ HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
5373
+ """
5374
+ return pulumi.get(self, "archive_uris")
5375
+
5376
+ @property
5377
+ @pulumi.getter
5378
+ def args(self) -> Optional[Sequence[str]]:
5379
+ """
5380
+ The arguments to pass to the driver. Do not include arguments, such as `--conf`, that can be set as job properties, since a collision may occur that causes an incorrect job submission.
5381
+ """
5382
+ return pulumi.get(self, "args")
5383
+
5384
+ @property
5385
+ @pulumi.getter(name="fileUris")
5386
+ def file_uris(self) -> Optional[Sequence[str]]:
5387
+ """
5388
+ HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.
5389
+ """
5390
+ return pulumi.get(self, "file_uris")
5391
+
5392
+ @property
5393
+ @pulumi.getter(name="jarFileUris")
5394
+ def jar_file_uris(self) -> Optional[Sequence[str]]:
5395
+ """
5396
+ HCFS URIs of jar files to add to the CLASSPATHs of the Python driver and tasks.
5397
+ """
5398
+ return pulumi.get(self, "jar_file_uris")
5399
+
5400
+ @property
5401
+ @pulumi.getter(name="pythonFileUris")
5402
+ def python_file_uris(self) -> Optional[Sequence[str]]:
5403
+ """
5404
+ HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.
5405
+ """
5406
+ return pulumi.get(self, "python_file_uris")
5407
+
5408
+
5409
+ @pulumi.output_type
5410
+ class GdcSparkApplicationSparkApplicationConfig(dict):
5411
+ @staticmethod
5412
+ def __key_warning(key: str):
5413
+ suggest = None
5414
+ if key == "archiveUris":
5415
+ suggest = "archive_uris"
5416
+ elif key == "fileUris":
5417
+ suggest = "file_uris"
5418
+ elif key == "jarFileUris":
5419
+ suggest = "jar_file_uris"
5420
+ elif key == "mainClass":
5421
+ suggest = "main_class"
5422
+ elif key == "mainJarFileUri":
5423
+ suggest = "main_jar_file_uri"
5424
+
5425
+ if suggest:
5426
+ pulumi.log.warn(f"Key '{key}' not found in GdcSparkApplicationSparkApplicationConfig. Access the value via the '{suggest}' property getter instead.")
5427
+
5428
+ def __getitem__(self, key: str) -> Any:
5429
+ GdcSparkApplicationSparkApplicationConfig.__key_warning(key)
5430
+ return super().__getitem__(key)
5431
+
5432
+ def get(self, key: str, default = None) -> Any:
5433
+ GdcSparkApplicationSparkApplicationConfig.__key_warning(key)
5434
+ return super().get(key, default)
5435
+
5436
+ def __init__(__self__, *,
5437
+ archive_uris: Optional[Sequence[str]] = None,
5438
+ args: Optional[Sequence[str]] = None,
5439
+ file_uris: Optional[Sequence[str]] = None,
5440
+ jar_file_uris: Optional[Sequence[str]] = None,
5441
+ main_class: Optional[str] = None,
5442
+ main_jar_file_uri: Optional[str] = None):
5443
+ """
5444
+ :param Sequence[str] archive_uris: HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: `.jar`, `.tar`, `.tar.gz`, `.tgz`, and `.zip`.
5445
+ :param Sequence[str] args: The arguments to pass to the driver. Do not include arguments that can be set as application properties, such as `--conf`, since a collision can occur that causes an incorrect application submission.
5446
+ :param Sequence[str] file_uris: HCFS URIs of files to be placed in the working directory of each executor.
5447
+ :param Sequence[str] jar_file_uris: HCFS URIs of jar files to add to the classpath of the Spark driver and tasks.
5448
+ :param str main_class: The name of the driver main class. The jar file that contains the class must be in the classpath or specified in `jar_file_uris`.
5449
+ :param str main_jar_file_uri: The HCFS URI of the jar file that contains the main class.
5450
+ """
5451
+ if archive_uris is not None:
5452
+ pulumi.set(__self__, "archive_uris", archive_uris)
5453
+ if args is not None:
5454
+ pulumi.set(__self__, "args", args)
5455
+ if file_uris is not None:
5456
+ pulumi.set(__self__, "file_uris", file_uris)
5457
+ if jar_file_uris is not None:
5458
+ pulumi.set(__self__, "jar_file_uris", jar_file_uris)
5459
+ if main_class is not None:
5460
+ pulumi.set(__self__, "main_class", main_class)
5461
+ if main_jar_file_uri is not None:
5462
+ pulumi.set(__self__, "main_jar_file_uri", main_jar_file_uri)
5463
+
5464
+ @property
5465
+ @pulumi.getter(name="archiveUris")
5466
+ def archive_uris(self) -> Optional[Sequence[str]]:
5467
+ """
5468
+ HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: `.jar`, `.tar`, `.tar.gz`, `.tgz`, and `.zip`.
5469
+ """
5470
+ return pulumi.get(self, "archive_uris")
5471
+
5472
+ @property
5473
+ @pulumi.getter
5474
+ def args(self) -> Optional[Sequence[str]]:
5475
+ """
5476
+ The arguments to pass to the driver. Do not include arguments that can be set as application properties, such as `--conf`, since a collision can occur that causes an incorrect application submission.
5477
+ """
5478
+ return pulumi.get(self, "args")
5479
+
5480
+ @property
5481
+ @pulumi.getter(name="fileUris")
5482
+ def file_uris(self) -> Optional[Sequence[str]]:
5483
+ """
5484
+ HCFS URIs of files to be placed in the working directory of each executor.
5485
+ """
5486
+ return pulumi.get(self, "file_uris")
5487
+
5488
+ @property
5489
+ @pulumi.getter(name="jarFileUris")
5490
+ def jar_file_uris(self) -> Optional[Sequence[str]]:
5491
+ """
5492
+ HCFS URIs of jar files to add to the classpath of the Spark driver and tasks.
5493
+ """
5494
+ return pulumi.get(self, "jar_file_uris")
5495
+
5496
+ @property
5497
+ @pulumi.getter(name="mainClass")
5498
+ def main_class(self) -> Optional[str]:
5499
+ """
5500
+ The name of the driver main class. The jar file that contains the class must be in the classpath or specified in `jar_file_uris`.
5501
+ """
5502
+ return pulumi.get(self, "main_class")
5503
+
5504
+ @property
5505
+ @pulumi.getter(name="mainJarFileUri")
5506
+ def main_jar_file_uri(self) -> Optional[str]:
5507
+ """
5508
+ The HCFS URI of the jar file that contains the main class.
5509
+ """
5510
+ return pulumi.get(self, "main_jar_file_uri")
5511
+
5512
+
5513
+ @pulumi.output_type
5514
+ class GdcSparkApplicationSparkRApplicationConfig(dict):
5515
+ @staticmethod
5516
+ def __key_warning(key: str):
5517
+ suggest = None
5518
+ if key == "mainRFileUri":
5519
+ suggest = "main_r_file_uri"
5520
+ elif key == "archiveUris":
5521
+ suggest = "archive_uris"
5522
+ elif key == "fileUris":
5523
+ suggest = "file_uris"
5524
+
5525
+ if suggest:
5526
+ pulumi.log.warn(f"Key '{key}' not found in GdcSparkApplicationSparkRApplicationConfig. Access the value via the '{suggest}' property getter instead.")
5527
+
5528
+ def __getitem__(self, key: str) -> Any:
5529
+ GdcSparkApplicationSparkRApplicationConfig.__key_warning(key)
5530
+ return super().__getitem__(key)
5531
+
5532
+ def get(self, key: str, default = None) -> Any:
5533
+ GdcSparkApplicationSparkRApplicationConfig.__key_warning(key)
5534
+ return super().get(key, default)
5535
+
5536
+ def __init__(__self__, *,
5537
+ main_r_file_uri: str,
5538
+ archive_uris: Optional[Sequence[str]] = None,
5539
+ args: Optional[Sequence[str]] = None,
5540
+ file_uris: Optional[Sequence[str]] = None):
5541
+ """
5542
+ :param str main_r_file_uri: The HCFS URI of the main R file to use as the driver. Must be a .R file.
5543
+ :param Sequence[str] archive_uris: HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
5544
+ :param Sequence[str] args: The arguments to pass to the driver. Do not include arguments, such as `--conf`, that can be set as job properties, since a collision may occur that causes an incorrect job submission.
5545
+ :param Sequence[str] file_uris: HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.
5546
+ """
5547
+ pulumi.set(__self__, "main_r_file_uri", main_r_file_uri)
5548
+ if archive_uris is not None:
5549
+ pulumi.set(__self__, "archive_uris", archive_uris)
5550
+ if args is not None:
5551
+ pulumi.set(__self__, "args", args)
5552
+ if file_uris is not None:
5553
+ pulumi.set(__self__, "file_uris", file_uris)
5554
+
5555
+ @property
5556
+ @pulumi.getter(name="mainRFileUri")
5557
+ def main_r_file_uri(self) -> str:
5558
+ """
5559
+ The HCFS URI of the main R file to use as the driver. Must be a .R file.
5560
+ """
5561
+ return pulumi.get(self, "main_r_file_uri")
5562
+
5563
+ @property
5564
+ @pulumi.getter(name="archiveUris")
5565
+ def archive_uris(self) -> Optional[Sequence[str]]:
5566
+ """
5567
+ HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
5568
+ """
5569
+ return pulumi.get(self, "archive_uris")
5570
+
5571
+ @property
5572
+ @pulumi.getter
5573
+ def args(self) -> Optional[Sequence[str]]:
5574
+ """
5575
+ The arguments to pass to the driver. Do not include arguments, such as `--conf`, that can be set as job properties, since a collision may occur that causes an incorrect job submission.
5576
+ """
5577
+ return pulumi.get(self, "args")
5578
+
5579
+ @property
5580
+ @pulumi.getter(name="fileUris")
5581
+ def file_uris(self) -> Optional[Sequence[str]]:
5582
+ """
5583
+ HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.
5584
+ """
5585
+ return pulumi.get(self, "file_uris")
5586
+
5587
+
5588
+ @pulumi.output_type
5589
+ class GdcSparkApplicationSparkSqlApplicationConfig(dict):
5590
+ @staticmethod
5591
+ def __key_warning(key: str):
5592
+ suggest = None
5593
+ if key == "jarFileUris":
5594
+ suggest = "jar_file_uris"
5595
+ elif key == "queryFileUri":
5596
+ suggest = "query_file_uri"
5597
+ elif key == "queryList":
5598
+ suggest = "query_list"
5599
+ elif key == "scriptVariables":
5600
+ suggest = "script_variables"
5601
+
5602
+ if suggest:
5603
+ pulumi.log.warn(f"Key '{key}' not found in GdcSparkApplicationSparkSqlApplicationConfig. Access the value via the '{suggest}' property getter instead.")
5604
+
5605
+ def __getitem__(self, key: str) -> Any:
5606
+ GdcSparkApplicationSparkSqlApplicationConfig.__key_warning(key)
5607
+ return super().__getitem__(key)
5608
+
5609
+ def get(self, key: str, default = None) -> Any:
5610
+ GdcSparkApplicationSparkSqlApplicationConfig.__key_warning(key)
5611
+ return super().get(key, default)
5612
+
5613
+ def __init__(__self__, *,
5614
+ jar_file_uris: Optional[Sequence[str]] = None,
5615
+ query_file_uri: Optional[str] = None,
5616
+ query_list: Optional['outputs.GdcSparkApplicationSparkSqlApplicationConfigQueryList'] = None,
5617
+ script_variables: Optional[Mapping[str, str]] = None):
5618
+ """
5619
+ :param Sequence[str] jar_file_uris: HCFS URIs of jar files to be added to the Spark CLASSPATH.
5620
+ :param str query_file_uri: The HCFS URI of the script that contains SQL queries.
5621
+ :param 'GdcSparkApplicationSparkSqlApplicationConfigQueryListArgs' query_list: Represents a list of queries.
5622
+ Structure is documented below.
5623
+ :param Mapping[str, str] script_variables: Mapping of query variable names to values (equivalent to the Spark SQL command: SET `name="value";`).
5624
+ """
5625
+ if jar_file_uris is not None:
5626
+ pulumi.set(__self__, "jar_file_uris", jar_file_uris)
5627
+ if query_file_uri is not None:
5628
+ pulumi.set(__self__, "query_file_uri", query_file_uri)
5629
+ if query_list is not None:
5630
+ pulumi.set(__self__, "query_list", query_list)
5631
+ if script_variables is not None:
5632
+ pulumi.set(__self__, "script_variables", script_variables)
5633
+
5634
+ @property
5635
+ @pulumi.getter(name="jarFileUris")
5636
+ def jar_file_uris(self) -> Optional[Sequence[str]]:
5637
+ """
5638
+ HCFS URIs of jar files to be added to the Spark CLASSPATH.
5639
+ """
5640
+ return pulumi.get(self, "jar_file_uris")
5641
+
5642
+ @property
5643
+ @pulumi.getter(name="queryFileUri")
5644
+ def query_file_uri(self) -> Optional[str]:
5645
+ """
5646
+ The HCFS URI of the script that contains SQL queries.
5647
+ """
5648
+ return pulumi.get(self, "query_file_uri")
5649
+
5650
+ @property
5651
+ @pulumi.getter(name="queryList")
5652
+ def query_list(self) -> Optional['outputs.GdcSparkApplicationSparkSqlApplicationConfigQueryList']:
5653
+ """
5654
+ Represents a list of queries.
5655
+ Structure is documented below.
5656
+ """
5657
+ return pulumi.get(self, "query_list")
5658
+
5659
+ @property
5660
+ @pulumi.getter(name="scriptVariables")
5661
+ def script_variables(self) -> Optional[Mapping[str, str]]:
5662
+ """
5663
+ Mapping of query variable names to values (equivalent to the Spark SQL command: SET `name="value";`).
5664
+ """
5665
+ return pulumi.get(self, "script_variables")
5666
+
5667
+
5668
+ @pulumi.output_type
5669
+ class GdcSparkApplicationSparkSqlApplicationConfigQueryList(dict):
5670
+ def __init__(__self__, *,
5671
+ queries: Sequence[str]):
5672
+ """
5673
+ :param Sequence[str] queries: The queries to run.
5674
+ """
5675
+ pulumi.set(__self__, "queries", queries)
5676
+
5677
+ @property
5678
+ @pulumi.getter
5679
+ def queries(self) -> Sequence[str]:
5680
+ """
5681
+ The queries to run.
5682
+ """
5683
+ return pulumi.get(self, "queries")
5684
+
5685
+
5301
5686
  @pulumi.output_type
5302
5687
  class JobHadoopConfig(dict):
5303
5688
  @staticmethod
@@ -21,6 +21,12 @@ __all__ = [
21
21
  'InstanceFileSharesNfsExportOptionArgsDict',
22
22
  'InstanceNetworkArgs',
23
23
  'InstanceNetworkArgsDict',
24
+ 'InstancePerformanceConfigArgs',
25
+ 'InstancePerformanceConfigArgsDict',
26
+ 'InstancePerformanceConfigFixedIopsArgs',
27
+ 'InstancePerformanceConfigFixedIopsArgsDict',
28
+ 'InstancePerformanceConfigIopsPerTbArgs',
29
+ 'InstancePerformanceConfigIopsPerTbArgsDict',
24
30
  ]
25
31
 
26
32
  MYPY = False
@@ -418,3 +424,149 @@ class InstanceNetworkArgs:
418
424
  pulumi.set(self, "reserved_ip_range", value)
419
425
 
420
426
 
427
+ if not MYPY:
428
+ class InstancePerformanceConfigArgsDict(TypedDict):
429
+ fixed_iops: NotRequired[pulumi.Input['InstancePerformanceConfigFixedIopsArgsDict']]
430
+ """
431
+ The instance will have a fixed provisioned IOPS value,
432
+ which will remain constant regardless of instance
433
+ capacity.
434
+ Structure is documented below.
435
+ """
436
+ iops_per_tb: NotRequired[pulumi.Input['InstancePerformanceConfigIopsPerTbArgsDict']]
437
+ """
438
+ The instance provisioned IOPS will change dynamically
439
+ based on the capacity of the instance.
440
+ Structure is documented below.
441
+ """
442
+ elif False:
443
+ InstancePerformanceConfigArgsDict: TypeAlias = Mapping[str, Any]
444
+
445
+ @pulumi.input_type
446
+ class InstancePerformanceConfigArgs:
447
+ def __init__(__self__, *,
448
+ fixed_iops: Optional[pulumi.Input['InstancePerformanceConfigFixedIopsArgs']] = None,
449
+ iops_per_tb: Optional[pulumi.Input['InstancePerformanceConfigIopsPerTbArgs']] = None):
450
+ """
451
+ :param pulumi.Input['InstancePerformanceConfigFixedIopsArgs'] fixed_iops: The instance will have a fixed provisioned IOPS value,
452
+ which will remain constant regardless of instance
453
+ capacity.
454
+ Structure is documented below.
455
+ :param pulumi.Input['InstancePerformanceConfigIopsPerTbArgs'] iops_per_tb: The instance provisioned IOPS will change dynamically
456
+ based on the capacity of the instance.
457
+ Structure is documented below.
458
+ """
459
+ if fixed_iops is not None:
460
+ pulumi.set(__self__, "fixed_iops", fixed_iops)
461
+ if iops_per_tb is not None:
462
+ pulumi.set(__self__, "iops_per_tb", iops_per_tb)
463
+
464
+ @property
465
+ @pulumi.getter(name="fixedIops")
466
+ def fixed_iops(self) -> Optional[pulumi.Input['InstancePerformanceConfigFixedIopsArgs']]:
467
+ """
468
+ The instance will have a fixed provisioned IOPS value,
469
+ which will remain constant regardless of instance
470
+ capacity.
471
+ Structure is documented below.
472
+ """
473
+ return pulumi.get(self, "fixed_iops")
474
+
475
+ @fixed_iops.setter
476
+ def fixed_iops(self, value: Optional[pulumi.Input['InstancePerformanceConfigFixedIopsArgs']]):
477
+ pulumi.set(self, "fixed_iops", value)
478
+
479
+ @property
480
+ @pulumi.getter(name="iopsPerTb")
481
+ def iops_per_tb(self) -> Optional[pulumi.Input['InstancePerformanceConfigIopsPerTbArgs']]:
482
+ """
483
+ The instance provisioned IOPS will change dynamically
484
+ based on the capacity of the instance.
485
+ Structure is documented below.
486
+ """
487
+ return pulumi.get(self, "iops_per_tb")
488
+
489
+ @iops_per_tb.setter
490
+ def iops_per_tb(self, value: Optional[pulumi.Input['InstancePerformanceConfigIopsPerTbArgs']]):
491
+ pulumi.set(self, "iops_per_tb", value)
492
+
493
+
494
+ if not MYPY:
495
+ class InstancePerformanceConfigFixedIopsArgsDict(TypedDict):
496
+ max_iops: NotRequired[pulumi.Input[int]]
497
+ """
498
+ The number of IOPS to provision for the instance.
499
+ max_iops must be in multiple of 1000.
500
+ """
501
+ elif False:
502
+ InstancePerformanceConfigFixedIopsArgsDict: TypeAlias = Mapping[str, Any]
503
+
504
+ @pulumi.input_type
505
+ class InstancePerformanceConfigFixedIopsArgs:
506
+ def __init__(__self__, *,
507
+ max_iops: Optional[pulumi.Input[int]] = None):
508
+ """
509
+ :param pulumi.Input[int] max_iops: The number of IOPS to provision for the instance.
510
+ max_iops must be in multiple of 1000.
511
+ """
512
+ if max_iops is not None:
513
+ pulumi.set(__self__, "max_iops", max_iops)
514
+
515
+ @property
516
+ @pulumi.getter(name="maxIops")
517
+ def max_iops(self) -> Optional[pulumi.Input[int]]:
518
+ """
519
+ The number of IOPS to provision for the instance.
520
+ max_iops must be in multiple of 1000.
521
+ """
522
+ return pulumi.get(self, "max_iops")
523
+
524
+ @max_iops.setter
525
+ def max_iops(self, value: Optional[pulumi.Input[int]]):
526
+ pulumi.set(self, "max_iops", value)
527
+
528
+
529
+ if not MYPY:
530
+ class InstancePerformanceConfigIopsPerTbArgsDict(TypedDict):
531
+ max_iops_per_tb: NotRequired[pulumi.Input[int]]
532
+ """
533
+ The instance max IOPS will be calculated by multiplying
534
+ the capacity of the instance (TB) by max_iops_per_tb,
535
+ and rounding to the nearest 1000. The instance max IOPS
536
+ will be changed dynamically based on the instance
537
+ capacity.
538
+ """
539
+ elif False:
540
+ InstancePerformanceConfigIopsPerTbArgsDict: TypeAlias = Mapping[str, Any]
541
+
542
+ @pulumi.input_type
543
+ class InstancePerformanceConfigIopsPerTbArgs:
544
+ def __init__(__self__, *,
545
+ max_iops_per_tb: Optional[pulumi.Input[int]] = None):
546
+ """
547
+ :param pulumi.Input[int] max_iops_per_tb: The instance max IOPS will be calculated by multiplying
548
+ the capacity of the instance (TB) by max_iops_per_tb,
549
+ and rounding to the nearest 1000. The instance max IOPS
550
+ will be changed dynamically based on the instance
551
+ capacity.
552
+ """
553
+ if max_iops_per_tb is not None:
554
+ pulumi.set(__self__, "max_iops_per_tb", max_iops_per_tb)
555
+
556
+ @property
557
+ @pulumi.getter(name="maxIopsPerTb")
558
+ def max_iops_per_tb(self) -> Optional[pulumi.Input[int]]:
559
+ """
560
+ The instance max IOPS will be calculated by multiplying
561
+ the capacity of the instance (TB) by max_iops_per_tb,
562
+ and rounding to the nearest 1000. The instance max IOPS
563
+ will be changed dynamically based on the instance
564
+ capacity.
565
+ """
566
+ return pulumi.get(self, "max_iops_per_tb")
567
+
568
+ @max_iops_per_tb.setter
569
+ def max_iops_per_tb(self, value: Optional[pulumi.Input[int]]):
570
+ pulumi.set(self, "max_iops_per_tb", value)
571
+
572
+
@@ -27,7 +27,7 @@ class GetInstanceResult:
27
27
  """
28
28
  A collection of values returned by getInstance.
29
29
  """
30
- def __init__(__self__, create_time=None, deletion_protection_enabled=None, deletion_protection_reason=None, description=None, effective_labels=None, etag=None, file_shares=None, id=None, kms_key_name=None, labels=None, location=None, name=None, networks=None, project=None, protocol=None, pulumi_labels=None, tier=None, zone=None):
30
+ def __init__(__self__, create_time=None, deletion_protection_enabled=None, deletion_protection_reason=None, description=None, effective_labels=None, etag=None, file_shares=None, id=None, kms_key_name=None, labels=None, location=None, name=None, networks=None, performance_configs=None, project=None, protocol=None, pulumi_labels=None, tier=None, zone=None):
31
31
  if create_time and not isinstance(create_time, str):
32
32
  raise TypeError("Expected argument 'create_time' to be a str")
33
33
  pulumi.set(__self__, "create_time", create_time)
@@ -67,6 +67,9 @@ class GetInstanceResult:
67
67
  if networks and not isinstance(networks, list):
68
68
  raise TypeError("Expected argument 'networks' to be a list")
69
69
  pulumi.set(__self__, "networks", networks)
70
+ if performance_configs and not isinstance(performance_configs, list):
71
+ raise TypeError("Expected argument 'performance_configs' to be a list")
72
+ pulumi.set(__self__, "performance_configs", performance_configs)
70
73
  if project and not isinstance(project, str):
71
74
  raise TypeError("Expected argument 'project' to be a str")
72
75
  pulumi.set(__self__, "project", project)
@@ -151,6 +154,11 @@ class GetInstanceResult:
151
154
  def networks(self) -> Sequence['outputs.GetInstanceNetworkResult']:
152
155
  return pulumi.get(self, "networks")
153
156
 
157
+ @property
158
+ @pulumi.getter(name="performanceConfigs")
159
+ def performance_configs(self) -> Sequence['outputs.GetInstancePerformanceConfigResult']:
160
+ return pulumi.get(self, "performance_configs")
161
+
154
162
  @property
155
163
  @pulumi.getter
156
164
  def project(self) -> Optional[str]:
@@ -196,6 +204,7 @@ class AwaitableGetInstanceResult(GetInstanceResult):
196
204
  location=self.location,
197
205
  name=self.name,
198
206
  networks=self.networks,
207
+ performance_configs=self.performance_configs,
199
208
  project=self.project,
200
209
  protocol=self.protocol,
201
210
  pulumi_labels=self.pulumi_labels,
@@ -253,6 +262,7 @@ def get_instance(location: Optional[str] = None,
253
262
  location=pulumi.get(__ret__, 'location'),
254
263
  name=pulumi.get(__ret__, 'name'),
255
264
  networks=pulumi.get(__ret__, 'networks'),
265
+ performance_configs=pulumi.get(__ret__, 'performance_configs'),
256
266
  project=pulumi.get(__ret__, 'project'),
257
267
  protocol=pulumi.get(__ret__, 'protocol'),
258
268
  pulumi_labels=pulumi.get(__ret__, 'pulumi_labels'),
@@ -307,6 +317,7 @@ def get_instance_output(location: Optional[pulumi.Input[Optional[str]]] = None,
307
317
  location=pulumi.get(__response__, 'location'),
308
318
  name=pulumi.get(__response__, 'name'),
309
319
  networks=pulumi.get(__response__, 'networks'),
320
+ performance_configs=pulumi.get(__response__, 'performance_configs'),
310
321
  project=pulumi.get(__response__, 'project'),
311
322
  protocol=pulumi.get(__response__, 'protocol'),
312
323
  pulumi_labels=pulumi.get(__response__, 'pulumi_labels'),