pulumi-gcp 8.33.0a1749001887__py3-none-any.whl → 8.33.0a1749048505__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 (46) hide show
  1. pulumi_gcp/__init__.py +8 -0
  2. pulumi_gcp/bigquery/__init__.py +1 -0
  3. pulumi_gcp/bigquery/get_datasets.py +131 -0
  4. pulumi_gcp/bigquery/outputs.py +52 -0
  5. pulumi_gcp/colab/_inputs.py +14 -1
  6. pulumi_gcp/colab/outputs.py +8 -1
  7. pulumi_gcp/colab/runtime_template.py +1 -1
  8. pulumi_gcp/compute/_inputs.py +278 -3
  9. pulumi_gcp/compute/backend_service.py +18 -2
  10. pulumi_gcp/compute/get_region_instance_template.py +12 -1
  11. pulumi_gcp/compute/get_router_nat.py +23 -1
  12. pulumi_gcp/compute/interconnect_attachment.py +276 -0
  13. pulumi_gcp/compute/outputs.py +234 -2
  14. pulumi_gcp/compute/region_instance_template.py +28 -0
  15. pulumi_gcp/compute/router_nat.py +143 -0
  16. pulumi_gcp/compute/url_map.py +338 -0
  17. pulumi_gcp/container/_inputs.py +6 -6
  18. pulumi_gcp/container/outputs.py +4 -4
  19. pulumi_gcp/dataplex/__init__.py +1 -0
  20. pulumi_gcp/dataplex/_inputs.py +472 -0
  21. pulumi_gcp/dataplex/entry.py +1038 -0
  22. pulumi_gcp/dataplex/outputs.py +342 -0
  23. pulumi_gcp/datastream/_inputs.py +48 -6
  24. pulumi_gcp/datastream/outputs.py +46 -4
  25. pulumi_gcp/datastream/private_connection.py +205 -35
  26. pulumi_gcp/dns/_inputs.py +73 -0
  27. pulumi_gcp/dns/outputs.py +60 -0
  28. pulumi_gcp/dns/policy.py +54 -0
  29. pulumi_gcp/filestore/_inputs.py +44 -1
  30. pulumi_gcp/filestore/instance.py +7 -7
  31. pulumi_gcp/filestore/outputs.py +52 -2
  32. pulumi_gcp/memorystore/_inputs.py +6 -6
  33. pulumi_gcp/memorystore/outputs.py +8 -8
  34. pulumi_gcp/netapp/_inputs.py +113 -0
  35. pulumi_gcp/netapp/backup_vault.py +56 -0
  36. pulumi_gcp/netapp/outputs.py +92 -0
  37. pulumi_gcp/networkconnectivity/_inputs.py +9 -9
  38. pulumi_gcp/networkconnectivity/outputs.py +6 -6
  39. pulumi_gcp/pulumi-plugin.json +1 -1
  40. pulumi_gcp/redis/_inputs.py +3 -6
  41. pulumi_gcp/redis/outputs.py +2 -4
  42. pulumi_gcp/storage/bucket_object.py +4 -4
  43. {pulumi_gcp-8.33.0a1749001887.dist-info → pulumi_gcp-8.33.0a1749048505.dist-info}/METADATA +1 -1
  44. {pulumi_gcp-8.33.0a1749001887.dist-info → pulumi_gcp-8.33.0a1749048505.dist-info}/RECORD +46 -44
  45. {pulumi_gcp-8.33.0a1749001887.dist-info → pulumi_gcp-8.33.0a1749048505.dist-info}/WHEEL +0 -0
  46. {pulumi_gcp-8.33.0a1749001887.dist-info → pulumi_gcp-8.33.0a1749048505.dist-info}/top_level.txt +0 -0
pulumi_gcp/__init__.py CHANGED
@@ -4358,6 +4358,14 @@ _utilities.register(
4358
4358
  "gcp:dataplex/datascanIamPolicy:DatascanIamPolicy": "DatascanIamPolicy"
4359
4359
  }
4360
4360
  },
4361
+ {
4362
+ "pkg": "gcp",
4363
+ "mod": "dataplex/entry",
4364
+ "fqn": "pulumi_gcp.dataplex",
4365
+ "classes": {
4366
+ "gcp:dataplex/entry:Entry": "Entry"
4367
+ }
4368
+ },
4361
4369
  {
4362
4370
  "pkg": "gcp",
4363
4371
  "mod": "dataplex/entryGroup",
@@ -22,6 +22,7 @@ from .dataset_iam_policy import *
22
22
  from .get_connection_iam_policy import *
23
23
  from .get_dataset import *
24
24
  from .get_dataset_iam_policy import *
25
+ from .get_datasets import *
25
26
  from .get_default_service_account import *
26
27
  from .get_table import *
27
28
  from .get_table_iam_policy import *
@@ -0,0 +1,131 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from .. import _utilities
17
+ from . import outputs
18
+
19
+ __all__ = [
20
+ 'GetDatasetsResult',
21
+ 'AwaitableGetDatasetsResult',
22
+ 'get_datasets',
23
+ 'get_datasets_output',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class GetDatasetsResult:
28
+ """
29
+ A collection of values returned by getDatasets.
30
+ """
31
+ def __init__(__self__, datasets=None, id=None, project=None):
32
+ if datasets and not isinstance(datasets, list):
33
+ raise TypeError("Expected argument 'datasets' to be a list")
34
+ pulumi.set(__self__, "datasets", datasets)
35
+ if id and not isinstance(id, str):
36
+ raise TypeError("Expected argument 'id' to be a str")
37
+ pulumi.set(__self__, "id", id)
38
+ if project and not isinstance(project, str):
39
+ raise TypeError("Expected argument 'project' to be a str")
40
+ pulumi.set(__self__, "project", project)
41
+
42
+ @property
43
+ @pulumi.getter
44
+ def datasets(self) -> Sequence['outputs.GetDatasetsDatasetResult']:
45
+ """
46
+ A list of all retrieved BigQuery datasets. Structure is defined below.
47
+ """
48
+ return pulumi.get(self, "datasets")
49
+
50
+ @property
51
+ @pulumi.getter
52
+ def id(self) -> builtins.str:
53
+ """
54
+ The provider-assigned unique ID for this managed resource.
55
+ """
56
+ return pulumi.get(self, "id")
57
+
58
+ @property
59
+ @pulumi.getter
60
+ def project(self) -> Optional[builtins.str]:
61
+ return pulumi.get(self, "project")
62
+
63
+
64
+ class AwaitableGetDatasetsResult(GetDatasetsResult):
65
+ # pylint: disable=using-constant-test
66
+ def __await__(self):
67
+ if False:
68
+ yield self
69
+ return GetDatasetsResult(
70
+ datasets=self.datasets,
71
+ id=self.id,
72
+ project=self.project)
73
+
74
+
75
+ def get_datasets(project: Optional[builtins.str] = None,
76
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatasetsResult:
77
+ """
78
+ Get a list of datasets in a GCP project. For more information see
79
+ the [official documentation](https://cloud.google.com/bigquery/docs)
80
+ and [API](https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets/list).
81
+
82
+ ## Example Usage
83
+
84
+ ```python
85
+ import pulumi
86
+ import pulumi_gcp as gcp
87
+
88
+ datasets = gcp.bigquery.get_datasets(project="my-project")
89
+ ```
90
+
91
+
92
+ :param builtins.str project: The ID of the project in which the resource belongs.
93
+ If it is not provided, the provider project is used.
94
+ """
95
+ __args__ = dict()
96
+ __args__['project'] = project
97
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
98
+ __ret__ = pulumi.runtime.invoke('gcp:bigquery/getDatasets:getDatasets', __args__, opts=opts, typ=GetDatasetsResult).value
99
+
100
+ return AwaitableGetDatasetsResult(
101
+ datasets=pulumi.get(__ret__, 'datasets'),
102
+ id=pulumi.get(__ret__, 'id'),
103
+ project=pulumi.get(__ret__, 'project'))
104
+ def get_datasets_output(project: Optional[pulumi.Input[Optional[builtins.str]]] = None,
105
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatasetsResult]:
106
+ """
107
+ Get a list of datasets in a GCP project. For more information see
108
+ the [official documentation](https://cloud.google.com/bigquery/docs)
109
+ and [API](https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets/list).
110
+
111
+ ## Example Usage
112
+
113
+ ```python
114
+ import pulumi
115
+ import pulumi_gcp as gcp
116
+
117
+ datasets = gcp.bigquery.get_datasets(project="my-project")
118
+ ```
119
+
120
+
121
+ :param builtins.str project: The ID of the project in which the resource belongs.
122
+ If it is not provided, the provider project is used.
123
+ """
124
+ __args__ = dict()
125
+ __args__['project'] = project
126
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
127
+ __ret__ = pulumi.runtime.invoke_output('gcp:bigquery/getDatasets:getDatasets', __args__, opts=opts, typ=GetDatasetsResult)
128
+ return __ret__.apply(lambda __response__: GetDatasetsResult(
129
+ datasets=pulumi.get(__response__, 'datasets'),
130
+ id=pulumi.get(__response__, 'id'),
131
+ project=pulumi.get(__response__, 'project')))
@@ -115,6 +115,7 @@ __all__ = [
115
115
  'GetDatasetDefaultEncryptionConfigurationResult',
116
116
  'GetDatasetExternalCatalogDatasetOptionResult',
117
117
  'GetDatasetExternalDatasetReferenceResult',
118
+ 'GetDatasetsDatasetResult',
118
119
  'GetTableBiglakeConfigurationResult',
119
120
  'GetTableEncryptionConfigurationResult',
120
121
  'GetTableExternalCatalogTableOptionResult',
@@ -7084,6 +7085,57 @@ class GetDatasetExternalDatasetReferenceResult(dict):
7084
7085
  return pulumi.get(self, "external_source")
7085
7086
 
7086
7087
 
7088
+ @pulumi.output_type
7089
+ class GetDatasetsDatasetResult(dict):
7090
+ def __init__(__self__, *,
7091
+ dataset_id: builtins.str,
7092
+ friendly_name: builtins.str,
7093
+ labels: Mapping[str, builtins.str],
7094
+ location: builtins.str):
7095
+ """
7096
+ :param builtins.str dataset_id: The id of the dataset.
7097
+ :param builtins.str friendly_name: The friendly name of the dataset.
7098
+ :param Mapping[str, builtins.str] labels: User-provided dataset labels, in key/value pairs.
7099
+ :param builtins.str location: The geographic location of the dataset.
7100
+ """
7101
+ pulumi.set(__self__, "dataset_id", dataset_id)
7102
+ pulumi.set(__self__, "friendly_name", friendly_name)
7103
+ pulumi.set(__self__, "labels", labels)
7104
+ pulumi.set(__self__, "location", location)
7105
+
7106
+ @property
7107
+ @pulumi.getter(name="datasetId")
7108
+ def dataset_id(self) -> builtins.str:
7109
+ """
7110
+ The id of the dataset.
7111
+ """
7112
+ return pulumi.get(self, "dataset_id")
7113
+
7114
+ @property
7115
+ @pulumi.getter(name="friendlyName")
7116
+ def friendly_name(self) -> builtins.str:
7117
+ """
7118
+ The friendly name of the dataset.
7119
+ """
7120
+ return pulumi.get(self, "friendly_name")
7121
+
7122
+ @property
7123
+ @pulumi.getter
7124
+ def labels(self) -> Mapping[str, builtins.str]:
7125
+ """
7126
+ User-provided dataset labels, in key/value pairs.
7127
+ """
7128
+ return pulumi.get(self, "labels")
7129
+
7130
+ @property
7131
+ @pulumi.getter
7132
+ def location(self) -> builtins.str:
7133
+ """
7134
+ The geographic location of the dataset.
7135
+ """
7136
+ return pulumi.get(self, "location")
7137
+
7138
+
7087
7139
  @pulumi.output_type
7088
7140
  class GetTableBiglakeConfigurationResult(dict):
7089
7141
  def __init__(__self__, *,
@@ -651,8 +651,11 @@ if not MYPY:
651
651
  """
652
652
  post_startup_script_config: NotRequired[pulumi.Input['RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgsDict']]
653
653
  """
654
+ (Optional, Deprecated)
654
655
  Post startup script config.
655
656
  Structure is documented below.
657
+
658
+ > **Warning:** `post_startup_script_config` is deprecated and will be removed in a future major release. New resource creation with this field is unavailable at this time.
656
659
  """
657
660
  elif False:
658
661
  RuntimeTemplateSoftwareConfigArgsDict: TypeAlias = Mapping[str, Any]
@@ -665,11 +668,17 @@ class RuntimeTemplateSoftwareConfigArgs:
665
668
  """
666
669
  :param pulumi.Input[Sequence[pulumi.Input['RuntimeTemplateSoftwareConfigEnvArgs']]] envs: Environment variables to be passed to the container.
667
670
  Structure is documented below.
668
- :param pulumi.Input['RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgs'] post_startup_script_config: Post startup script config.
671
+ :param pulumi.Input['RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgs'] post_startup_script_config: (Optional, Deprecated)
672
+ Post startup script config.
669
673
  Structure is documented below.
674
+
675
+ > **Warning:** `post_startup_script_config` is deprecated and will be removed in a future major release. New resource creation with this field is unavailable at this time.
670
676
  """
671
677
  if envs is not None:
672
678
  pulumi.set(__self__, "envs", envs)
679
+ if post_startup_script_config is not None:
680
+ warnings.warn("""`post_startup_script_config` is deprecated and will be removed in a future major release. New resource creation with this field is unavailable at this time.""", DeprecationWarning)
681
+ pulumi.log.warn("""post_startup_script_config is deprecated: `post_startup_script_config` is deprecated and will be removed in a future major release. New resource creation with this field is unavailable at this time.""")
673
682
  if post_startup_script_config is not None:
674
683
  pulumi.set(__self__, "post_startup_script_config", post_startup_script_config)
675
684
 
@@ -688,10 +697,14 @@ class RuntimeTemplateSoftwareConfigArgs:
688
697
 
689
698
  @property
690
699
  @pulumi.getter(name="postStartupScriptConfig")
700
+ @_utilities.deprecated("""`post_startup_script_config` is deprecated and will be removed in a future major release. New resource creation with this field is unavailable at this time.""")
691
701
  def post_startup_script_config(self) -> Optional[pulumi.Input['RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgs']]:
692
702
  """
703
+ (Optional, Deprecated)
693
704
  Post startup script config.
694
705
  Structure is documented below.
706
+
707
+ > **Warning:** `post_startup_script_config` is deprecated and will be removed in a future major release. New resource creation with this field is unavailable at this time.
695
708
  """
696
709
  return pulumi.get(self, "post_startup_script_config")
697
710
 
@@ -568,8 +568,11 @@ class RuntimeTemplateSoftwareConfig(dict):
568
568
  """
569
569
  :param Sequence['RuntimeTemplateSoftwareConfigEnvArgs'] envs: Environment variables to be passed to the container.
570
570
  Structure is documented below.
571
- :param 'RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgs' post_startup_script_config: Post startup script config.
571
+ :param 'RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgs' post_startup_script_config: (Optional, Deprecated)
572
+ Post startup script config.
572
573
  Structure is documented below.
574
+
575
+ > **Warning:** `post_startup_script_config` is deprecated and will be removed in a future major release. New resource creation with this field is unavailable at this time.
573
576
  """
574
577
  if envs is not None:
575
578
  pulumi.set(__self__, "envs", envs)
@@ -587,10 +590,14 @@ class RuntimeTemplateSoftwareConfig(dict):
587
590
 
588
591
  @property
589
592
  @pulumi.getter(name="postStartupScriptConfig")
593
+ @_utilities.deprecated("""`post_startup_script_config` is deprecated and will be removed in a future major release. New resource creation with this field is unavailable at this time.""")
590
594
  def post_startup_script_config(self) -> Optional['outputs.RuntimeTemplateSoftwareConfigPostStartupScriptConfig']:
591
595
  """
596
+ (Optional, Deprecated)
592
597
  Post startup script config.
593
598
  Structure is documented below.
599
+
600
+ > **Warning:** `post_startup_script_config` is deprecated and will be removed in a future major release. New resource creation with this field is unavailable at this time.
594
601
  """
595
602
  return pulumi.get(self, "post_startup_script_config")
596
603
 
@@ -1229,7 +1229,7 @@ class RuntimeTemplate(pulumi.CustomResource):
1229
1229
 
1230
1230
  @property
1231
1231
  @pulumi.getter(name="softwareConfig")
1232
- def software_config(self) -> pulumi.Output[Optional['outputs.RuntimeTemplateSoftwareConfig']]:
1232
+ def software_config(self) -> pulumi.Output['outputs.RuntimeTemplateSoftwareConfig']:
1233
1233
  """
1234
1234
  The notebook software configuration of the notebook runtime.
1235
1235
  Structure is documented below.