pulumi-gcp 8.40.0a1754636117__py3-none-any.whl → 8.40.0a1754951145__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 (157) hide show
  1. pulumi_gcp/__init__.py +128 -0
  2. pulumi_gcp/accesscontextmanager/_inputs.py +24 -4
  3. pulumi_gcp/accesscontextmanager/outputs.py +15 -3
  4. pulumi_gcp/apigee/__init__.py +2 -0
  5. pulumi_gcp/apigee/_inputs.py +1435 -0
  6. pulumi_gcp/apigee/api_product.py +1698 -0
  7. pulumi_gcp/apigee/outputs.py +1081 -0
  8. pulumi_gcp/apigee/security_action.py +1010 -0
  9. pulumi_gcp/artifactregistry/__init__.py +1 -0
  10. pulumi_gcp/artifactregistry/get_docker_images.py +164 -0
  11. pulumi_gcp/artifactregistry/outputs.py +109 -2
  12. pulumi_gcp/artifactregistry/repository.py +6 -6
  13. pulumi_gcp/backupdisasterrecovery/backup_vault.py +56 -0
  14. pulumi_gcp/backupdisasterrecovery/get_backup_vault.py +12 -1
  15. pulumi_gcp/bigquery/_inputs.py +6 -0
  16. pulumi_gcp/bigquery/get_table.py +23 -1
  17. pulumi_gcp/bigquery/outputs.py +4 -0
  18. pulumi_gcp/bigquery/table.py +62 -0
  19. pulumi_gcp/bigqueryanalyticshub/_inputs.py +180 -0
  20. pulumi_gcp/bigqueryanalyticshub/data_exchange.py +80 -0
  21. pulumi_gcp/bigqueryanalyticshub/listing.py +322 -2
  22. pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +32 -0
  23. pulumi_gcp/bigqueryanalyticshub/outputs.py +159 -0
  24. pulumi_gcp/bigtable/__init__.py +1 -0
  25. pulumi_gcp/bigtable/_inputs.py +33 -0
  26. pulumi_gcp/bigtable/outputs.py +36 -0
  27. pulumi_gcp/bigtable/schema_bundle.py +568 -0
  28. pulumi_gcp/cloudfunctions/_inputs.py +48 -0
  29. pulumi_gcp/cloudfunctions/function.py +94 -0
  30. pulumi_gcp/cloudfunctions/get_function.py +23 -1
  31. pulumi_gcp/cloudfunctions/outputs.py +70 -0
  32. pulumi_gcp/cloudrunv2/_inputs.py +20 -0
  33. pulumi_gcp/cloudrunv2/job.py +2 -0
  34. pulumi_gcp/cloudrunv2/outputs.py +25 -0
  35. pulumi_gcp/cloudrunv2/worker_pool.py +2 -0
  36. pulumi_gcp/compute/__init__.py +1 -0
  37. pulumi_gcp/compute/_inputs.py +713 -22
  38. pulumi_gcp/compute/firewall_policy_with_rules.py +66 -0
  39. pulumi_gcp/compute/forwarding_rule.py +0 -21
  40. pulumi_gcp/compute/get_router.py +12 -1
  41. pulumi_gcp/compute/outputs.py +562 -22
  42. pulumi_gcp/compute/preview_feature.py +396 -0
  43. pulumi_gcp/compute/region_url_map.py +392 -0
  44. pulumi_gcp/compute/reservation.py +4 -4
  45. pulumi_gcp/compute/router.py +54 -0
  46. pulumi_gcp/compute/storage_pool.py +154 -0
  47. pulumi_gcp/compute/subnetwork.py +54 -0
  48. pulumi_gcp/config/__init__.pyi +2 -0
  49. pulumi_gcp/config/vars.py +4 -0
  50. pulumi_gcp/container/_inputs.py +278 -8
  51. pulumi_gcp/container/cluster.py +61 -21
  52. pulumi_gcp/container/get_cluster.py +12 -1
  53. pulumi_gcp/container/outputs.py +352 -8
  54. pulumi_gcp/dataproc/_inputs.py +249 -14
  55. pulumi_gcp/dataproc/batch.py +6 -0
  56. pulumi_gcp/dataproc/cluster.py +2 -0
  57. pulumi_gcp/dataproc/outputs.py +215 -12
  58. pulumi_gcp/dataproc/session_template.py +14 -2
  59. pulumi_gcp/developerconnect/__init__.py +1 -0
  60. pulumi_gcp/developerconnect/_inputs.py +583 -0
  61. pulumi_gcp/developerconnect/insights_config.py +895 -0
  62. pulumi_gcp/developerconnect/outputs.py +442 -0
  63. pulumi_gcp/diagflow/__init__.py +1 -0
  64. pulumi_gcp/diagflow/_inputs.py +1165 -58
  65. pulumi_gcp/diagflow/cx_generator.py +636 -0
  66. pulumi_gcp/diagflow/cx_tool.py +2 -2
  67. pulumi_gcp/diagflow/cx_webhook.py +380 -36
  68. pulumi_gcp/diagflow/outputs.py +848 -25
  69. pulumi_gcp/discoveryengine/__init__.py +2 -0
  70. pulumi_gcp/discoveryengine/_inputs.py +465 -0
  71. pulumi_gcp/discoveryengine/cmek_config.py +707 -0
  72. pulumi_gcp/discoveryengine/outputs.py +412 -0
  73. pulumi_gcp/discoveryengine/recommendation_engine.py +813 -0
  74. pulumi_gcp/firestore/field.py +6 -6
  75. pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +107 -9
  76. pulumi_gcp/gemini/gemini_gcp_enablement_setting_binding.py +2 -2
  77. pulumi_gcp/gkehub/membership_binding.py +6 -6
  78. pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
  79. pulumi_gcp/gkehub/namespace.py +4 -4
  80. pulumi_gcp/gkehub/scope_rbac_role_binding.py +8 -8
  81. pulumi_gcp/iam/__init__.py +4 -0
  82. pulumi_gcp/iam/_inputs.py +98 -0
  83. pulumi_gcp/iam/get_workforce_pool_iam_policy.py +161 -0
  84. pulumi_gcp/iam/outputs.py +56 -0
  85. pulumi_gcp/iam/workforce_pool_iam_binding.py +761 -0
  86. pulumi_gcp/iam/workforce_pool_iam_member.py +761 -0
  87. pulumi_gcp/iam/workforce_pool_iam_policy.py +600 -0
  88. pulumi_gcp/iap/tunnel_dest_group.py +2 -2
  89. pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
  90. pulumi_gcp/looker/instance.py +28 -7
  91. pulumi_gcp/managedkafka/_inputs.py +127 -0
  92. pulumi_gcp/managedkafka/cluster.py +131 -1
  93. pulumi_gcp/managedkafka/connect_cluster.py +4 -4
  94. pulumi_gcp/managedkafka/connector.py +4 -4
  95. pulumi_gcp/managedkafka/outputs.py +128 -0
  96. pulumi_gcp/memorystore/instance.py +8 -12
  97. pulumi_gcp/modelarmor/__init__.py +1 -0
  98. pulumi_gcp/modelarmor/_inputs.py +683 -0
  99. pulumi_gcp/modelarmor/floorsetting.py +736 -0
  100. pulumi_gcp/modelarmor/outputs.py +618 -0
  101. pulumi_gcp/networkconnectivity/_inputs.py +60 -0
  102. pulumi_gcp/networkconnectivity/internal_range.py +136 -0
  103. pulumi_gcp/networkconnectivity/outputs.py +55 -0
  104. pulumi_gcp/networkconnectivity/spoke.py +14 -14
  105. pulumi_gcp/oracledatabase/__init__.py +2 -0
  106. pulumi_gcp/oracledatabase/autonomous_database.py +262 -38
  107. pulumi_gcp/oracledatabase/cloud_vm_cluster.py +314 -50
  108. pulumi_gcp/oracledatabase/get_autonomous_database.py +23 -1
  109. pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +34 -1
  110. pulumi_gcp/oracledatabase/odb_network.py +721 -0
  111. pulumi_gcp/oracledatabase/odb_subnet.py +803 -0
  112. pulumi_gcp/oracledatabase/outputs.py +83 -0
  113. pulumi_gcp/orgpolicy/policy.py +2 -2
  114. pulumi_gcp/parametermanager/parameter_version.py +62 -0
  115. pulumi_gcp/parametermanager/regional_parameter_version.py +64 -0
  116. pulumi_gcp/provider.py +20 -0
  117. pulumi_gcp/pubsub/subscription.py +46 -6
  118. pulumi_gcp/pubsub/topic.py +36 -0
  119. pulumi_gcp/pulumi-plugin.json +1 -1
  120. pulumi_gcp/redis/cluster.py +70 -0
  121. pulumi_gcp/redis/get_cluster.py +12 -1
  122. pulumi_gcp/redis/instance.py +8 -12
  123. pulumi_gcp/secretmanager/get_regional_secret.py +12 -1
  124. pulumi_gcp/secretmanager/get_secret.py +12 -1
  125. pulumi_gcp/secretmanager/outputs.py +30 -0
  126. pulumi_gcp/secretmanager/regional_secret.py +61 -0
  127. pulumi_gcp/secretmanager/secret.py +61 -0
  128. pulumi_gcp/securesourcemanager/branch_rule.py +16 -8
  129. pulumi_gcp/securesourcemanager/instance.py +112 -4
  130. pulumi_gcp/securesourcemanager/repository.py +112 -8
  131. pulumi_gcp/serviceaccount/get_account_key.py +1 -0
  132. pulumi_gcp/sql/_inputs.py +6 -6
  133. pulumi_gcp/sql/database.py +0 -12
  134. pulumi_gcp/sql/outputs.py +4 -4
  135. pulumi_gcp/storage/__init__.py +2 -0
  136. pulumi_gcp/storage/_inputs.py +451 -0
  137. pulumi_gcp/storage/bucket.py +7 -7
  138. pulumi_gcp/storage/bucket_object.py +34 -0
  139. pulumi_gcp/storage/get_bucket_object.py +12 -1
  140. pulumi_gcp/storage/get_bucket_object_content.py +12 -1
  141. pulumi_gcp/storage/get_insights_dataset_config.py +363 -0
  142. pulumi_gcp/storage/insights_dataset_config.py +1280 -0
  143. pulumi_gcp/storage/outputs.py +619 -0
  144. pulumi_gcp/vertex/__init__.py +1 -0
  145. pulumi_gcp/vertex/_inputs.py +3646 -3
  146. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  147. pulumi_gcp/vertex/ai_endpoint_with_model_garden_deployment.py +940 -0
  148. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  149. pulumi_gcp/vertex/outputs.py +2609 -2
  150. pulumi_gcp/vmwareengine/network_peering.py +7 -7
  151. pulumi_gcp/workbench/_inputs.py +118 -0
  152. pulumi_gcp/workbench/instance.py +171 -2
  153. pulumi_gcp/workbench/outputs.py +91 -0
  154. {pulumi_gcp-8.40.0a1754636117.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/METADATA +1 -1
  155. {pulumi_gcp-8.40.0a1754636117.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/RECORD +157 -138
  156. {pulumi_gcp-8.40.0a1754636117.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/WHEEL +0 -0
  157. {pulumi_gcp-8.40.0a1754636117.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,721 @@
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 as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+
17
+ __all__ = ['OdbNetworkArgs', 'OdbNetwork']
18
+
19
+ @pulumi.input_type
20
+ class OdbNetworkArgs:
21
+ def __init__(__self__, *,
22
+ location: pulumi.Input[_builtins.str],
23
+ network: pulumi.Input[_builtins.str],
24
+ odb_network_id: pulumi.Input[_builtins.str],
25
+ deletion_protection: Optional[pulumi.Input[_builtins.bool]] = None,
26
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
27
+ project: Optional[pulumi.Input[_builtins.str]] = None):
28
+ """
29
+ The set of arguments for constructing a OdbNetwork resource.
30
+ :param pulumi.Input[_builtins.str] location: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
31
+ :param pulumi.Input[_builtins.str] network: The name of the VPC network in the following format:
32
+ projects/{project}/global/networks/{network}
33
+ :param pulumi.Input[_builtins.str] odb_network_id: The ID of the OdbNetwork to create. This value is restricted
34
+ to (^a-z?$) and must be a maximum of 63
35
+ characters in length. The value must start with a letter and end with
36
+ a letter or a number.
37
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels or tags associated with the resource.
38
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
39
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
40
+ :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
41
+ If it is not provided, the provider project is used.
42
+ """
43
+ pulumi.set(__self__, "location", location)
44
+ pulumi.set(__self__, "network", network)
45
+ pulumi.set(__self__, "odb_network_id", odb_network_id)
46
+ if deletion_protection is not None:
47
+ pulumi.set(__self__, "deletion_protection", deletion_protection)
48
+ if labels is not None:
49
+ pulumi.set(__self__, "labels", labels)
50
+ if project is not None:
51
+ pulumi.set(__self__, "project", project)
52
+
53
+ @_builtins.property
54
+ @pulumi.getter
55
+ def location(self) -> pulumi.Input[_builtins.str]:
56
+ """
57
+ Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
58
+ """
59
+ return pulumi.get(self, "location")
60
+
61
+ @location.setter
62
+ def location(self, value: pulumi.Input[_builtins.str]):
63
+ pulumi.set(self, "location", value)
64
+
65
+ @_builtins.property
66
+ @pulumi.getter
67
+ def network(self) -> pulumi.Input[_builtins.str]:
68
+ """
69
+ The name of the VPC network in the following format:
70
+ projects/{project}/global/networks/{network}
71
+ """
72
+ return pulumi.get(self, "network")
73
+
74
+ @network.setter
75
+ def network(self, value: pulumi.Input[_builtins.str]):
76
+ pulumi.set(self, "network", value)
77
+
78
+ @_builtins.property
79
+ @pulumi.getter(name="odbNetworkId")
80
+ def odb_network_id(self) -> pulumi.Input[_builtins.str]:
81
+ """
82
+ The ID of the OdbNetwork to create. This value is restricted
83
+ to (^a-z?$) and must be a maximum of 63
84
+ characters in length. The value must start with a letter and end with
85
+ a letter or a number.
86
+ """
87
+ return pulumi.get(self, "odb_network_id")
88
+
89
+ @odb_network_id.setter
90
+ def odb_network_id(self, value: pulumi.Input[_builtins.str]):
91
+ pulumi.set(self, "odb_network_id", value)
92
+
93
+ @_builtins.property
94
+ @pulumi.getter(name="deletionProtection")
95
+ def deletion_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
96
+ return pulumi.get(self, "deletion_protection")
97
+
98
+ @deletion_protection.setter
99
+ def deletion_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
100
+ pulumi.set(self, "deletion_protection", value)
101
+
102
+ @_builtins.property
103
+ @pulumi.getter
104
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
105
+ """
106
+ Labels or tags associated with the resource.
107
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
108
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
109
+ """
110
+ return pulumi.get(self, "labels")
111
+
112
+ @labels.setter
113
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
114
+ pulumi.set(self, "labels", value)
115
+
116
+ @_builtins.property
117
+ @pulumi.getter
118
+ def project(self) -> Optional[pulumi.Input[_builtins.str]]:
119
+ """
120
+ The ID of the project in which the resource belongs.
121
+ If it is not provided, the provider project is used.
122
+ """
123
+ return pulumi.get(self, "project")
124
+
125
+ @project.setter
126
+ def project(self, value: Optional[pulumi.Input[_builtins.str]]):
127
+ pulumi.set(self, "project", value)
128
+
129
+
130
+ @pulumi.input_type
131
+ class _OdbNetworkState:
132
+ def __init__(__self__, *,
133
+ create_time: Optional[pulumi.Input[_builtins.str]] = None,
134
+ deletion_protection: Optional[pulumi.Input[_builtins.bool]] = None,
135
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
136
+ entitlement_id: Optional[pulumi.Input[_builtins.str]] = None,
137
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
138
+ location: Optional[pulumi.Input[_builtins.str]] = None,
139
+ name: Optional[pulumi.Input[_builtins.str]] = None,
140
+ network: Optional[pulumi.Input[_builtins.str]] = None,
141
+ odb_network_id: Optional[pulumi.Input[_builtins.str]] = None,
142
+ project: Optional[pulumi.Input[_builtins.str]] = None,
143
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
144
+ state: Optional[pulumi.Input[_builtins.str]] = None):
145
+ """
146
+ Input properties used for looking up and filtering OdbNetwork resources.
147
+ :param pulumi.Input[_builtins.str] create_time: The date and time that the OdbNetwork was created.
148
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
149
+ :param pulumi.Input[_builtins.str] entitlement_id: The ID of the subscription entitlement associated with the OdbNetwork.
150
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels or tags associated with the resource.
151
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
152
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
153
+ :param pulumi.Input[_builtins.str] location: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
154
+ :param pulumi.Input[_builtins.str] name: Identifier. The name of the OdbNetwork resource in the following format:
155
+ projects/{project}/locations/{region}/odbNetworks/{odb_network}
156
+ :param pulumi.Input[_builtins.str] network: The name of the VPC network in the following format:
157
+ projects/{project}/global/networks/{network}
158
+ :param pulumi.Input[_builtins.str] odb_network_id: The ID of the OdbNetwork to create. This value is restricted
159
+ to (^a-z?$) and must be a maximum of 63
160
+ characters in length. The value must start with a letter and end with
161
+ a letter or a number.
162
+ :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
163
+ If it is not provided, the provider project is used.
164
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
165
+ and default labels configured on the provider.
166
+ :param pulumi.Input[_builtins.str] state: State of the ODB Network.
167
+ Possible values:
168
+ PROVISIONING
169
+ AVAILABLE
170
+ TERMINATING
171
+ FAILED
172
+ """
173
+ if create_time is not None:
174
+ pulumi.set(__self__, "create_time", create_time)
175
+ if deletion_protection is not None:
176
+ pulumi.set(__self__, "deletion_protection", deletion_protection)
177
+ if effective_labels is not None:
178
+ pulumi.set(__self__, "effective_labels", effective_labels)
179
+ if entitlement_id is not None:
180
+ pulumi.set(__self__, "entitlement_id", entitlement_id)
181
+ if labels is not None:
182
+ pulumi.set(__self__, "labels", labels)
183
+ if location is not None:
184
+ pulumi.set(__self__, "location", location)
185
+ if name is not None:
186
+ pulumi.set(__self__, "name", name)
187
+ if network is not None:
188
+ pulumi.set(__self__, "network", network)
189
+ if odb_network_id is not None:
190
+ pulumi.set(__self__, "odb_network_id", odb_network_id)
191
+ if project is not None:
192
+ pulumi.set(__self__, "project", project)
193
+ if pulumi_labels is not None:
194
+ pulumi.set(__self__, "pulumi_labels", pulumi_labels)
195
+ if state is not None:
196
+ pulumi.set(__self__, "state", state)
197
+
198
+ @_builtins.property
199
+ @pulumi.getter(name="createTime")
200
+ def create_time(self) -> Optional[pulumi.Input[_builtins.str]]:
201
+ """
202
+ The date and time that the OdbNetwork was created.
203
+ """
204
+ return pulumi.get(self, "create_time")
205
+
206
+ @create_time.setter
207
+ def create_time(self, value: Optional[pulumi.Input[_builtins.str]]):
208
+ pulumi.set(self, "create_time", value)
209
+
210
+ @_builtins.property
211
+ @pulumi.getter(name="deletionProtection")
212
+ def deletion_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
213
+ return pulumi.get(self, "deletion_protection")
214
+
215
+ @deletion_protection.setter
216
+ def deletion_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
217
+ pulumi.set(self, "deletion_protection", value)
218
+
219
+ @_builtins.property
220
+ @pulumi.getter(name="effectiveLabels")
221
+ def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
222
+ """
223
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
224
+ """
225
+ return pulumi.get(self, "effective_labels")
226
+
227
+ @effective_labels.setter
228
+ def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
229
+ pulumi.set(self, "effective_labels", value)
230
+
231
+ @_builtins.property
232
+ @pulumi.getter(name="entitlementId")
233
+ def entitlement_id(self) -> Optional[pulumi.Input[_builtins.str]]:
234
+ """
235
+ The ID of the subscription entitlement associated with the OdbNetwork.
236
+ """
237
+ return pulumi.get(self, "entitlement_id")
238
+
239
+ @entitlement_id.setter
240
+ def entitlement_id(self, value: Optional[pulumi.Input[_builtins.str]]):
241
+ pulumi.set(self, "entitlement_id", value)
242
+
243
+ @_builtins.property
244
+ @pulumi.getter
245
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
246
+ """
247
+ Labels or tags associated with the resource.
248
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
249
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
250
+ """
251
+ return pulumi.get(self, "labels")
252
+
253
+ @labels.setter
254
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
255
+ pulumi.set(self, "labels", value)
256
+
257
+ @_builtins.property
258
+ @pulumi.getter
259
+ def location(self) -> Optional[pulumi.Input[_builtins.str]]:
260
+ """
261
+ Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
262
+ """
263
+ return pulumi.get(self, "location")
264
+
265
+ @location.setter
266
+ def location(self, value: Optional[pulumi.Input[_builtins.str]]):
267
+ pulumi.set(self, "location", value)
268
+
269
+ @_builtins.property
270
+ @pulumi.getter
271
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
272
+ """
273
+ Identifier. The name of the OdbNetwork resource in the following format:
274
+ projects/{project}/locations/{region}/odbNetworks/{odb_network}
275
+ """
276
+ return pulumi.get(self, "name")
277
+
278
+ @name.setter
279
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
280
+ pulumi.set(self, "name", value)
281
+
282
+ @_builtins.property
283
+ @pulumi.getter
284
+ def network(self) -> Optional[pulumi.Input[_builtins.str]]:
285
+ """
286
+ The name of the VPC network in the following format:
287
+ projects/{project}/global/networks/{network}
288
+ """
289
+ return pulumi.get(self, "network")
290
+
291
+ @network.setter
292
+ def network(self, value: Optional[pulumi.Input[_builtins.str]]):
293
+ pulumi.set(self, "network", value)
294
+
295
+ @_builtins.property
296
+ @pulumi.getter(name="odbNetworkId")
297
+ def odb_network_id(self) -> Optional[pulumi.Input[_builtins.str]]:
298
+ """
299
+ The ID of the OdbNetwork to create. This value is restricted
300
+ to (^a-z?$) and must be a maximum of 63
301
+ characters in length. The value must start with a letter and end with
302
+ a letter or a number.
303
+ """
304
+ return pulumi.get(self, "odb_network_id")
305
+
306
+ @odb_network_id.setter
307
+ def odb_network_id(self, value: Optional[pulumi.Input[_builtins.str]]):
308
+ pulumi.set(self, "odb_network_id", value)
309
+
310
+ @_builtins.property
311
+ @pulumi.getter
312
+ def project(self) -> Optional[pulumi.Input[_builtins.str]]:
313
+ """
314
+ The ID of the project in which the resource belongs.
315
+ If it is not provided, the provider project is used.
316
+ """
317
+ return pulumi.get(self, "project")
318
+
319
+ @project.setter
320
+ def project(self, value: Optional[pulumi.Input[_builtins.str]]):
321
+ pulumi.set(self, "project", value)
322
+
323
+ @_builtins.property
324
+ @pulumi.getter(name="pulumiLabels")
325
+ def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
326
+ """
327
+ The combination of labels configured directly on the resource
328
+ and default labels configured on the provider.
329
+ """
330
+ return pulumi.get(self, "pulumi_labels")
331
+
332
+ @pulumi_labels.setter
333
+ def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
334
+ pulumi.set(self, "pulumi_labels", value)
335
+
336
+ @_builtins.property
337
+ @pulumi.getter
338
+ def state(self) -> Optional[pulumi.Input[_builtins.str]]:
339
+ """
340
+ State of the ODB Network.
341
+ Possible values:
342
+ PROVISIONING
343
+ AVAILABLE
344
+ TERMINATING
345
+ FAILED
346
+ """
347
+ return pulumi.get(self, "state")
348
+
349
+ @state.setter
350
+ def state(self, value: Optional[pulumi.Input[_builtins.str]]):
351
+ pulumi.set(self, "state", value)
352
+
353
+
354
+ @pulumi.type_token("gcp:oracledatabase/odbNetwork:OdbNetwork")
355
+ class OdbNetwork(pulumi.CustomResource):
356
+ @overload
357
+ def __init__(__self__,
358
+ resource_name: str,
359
+ opts: Optional[pulumi.ResourceOptions] = None,
360
+ deletion_protection: Optional[pulumi.Input[_builtins.bool]] = None,
361
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
362
+ location: Optional[pulumi.Input[_builtins.str]] = None,
363
+ network: Optional[pulumi.Input[_builtins.str]] = None,
364
+ odb_network_id: Optional[pulumi.Input[_builtins.str]] = None,
365
+ project: Optional[pulumi.Input[_builtins.str]] = None,
366
+ __props__=None):
367
+ """
368
+ An OdbNetwork resource which represents a private network providing connectivity between OracleDatabase resources and Google Cloud VPC network.
369
+
370
+ To get more information about OdbNetwork, see:
371
+ * How-to Guides
372
+ * [OracleDatabase@Google Cloud](https://cloud.google.com/oracle/database/docs/overview')
373
+
374
+ ## Example Usage
375
+
376
+ ### Oracledatabase Odbnetwork
377
+
378
+ ```python
379
+ import pulumi
380
+ import pulumi_gcp as gcp
381
+
382
+ default = gcp.compute.get_network(name="new",
383
+ project="my-project")
384
+ my_odbnetwork = gcp.oracledatabase.OdbNetwork("my-odbnetwork",
385
+ odb_network_id="my-odbnetwork",
386
+ location="us-west3",
387
+ project="my-project",
388
+ network=default.id,
389
+ labels={
390
+ "terraform_created": "true",
391
+ },
392
+ deletion_protection=True)
393
+ ```
394
+
395
+ ## Import
396
+
397
+ OdbNetwork can be imported using any of these accepted formats:
398
+
399
+ * `projects/{{project}}/locations/{{location}}/odbNetworks/{{odb_network_id}}`
400
+
401
+ * `{{project}}/{{location}}/{{odb_network_id}}`
402
+
403
+ * `{{location}}/{{odb_network_id}}`
404
+
405
+ When using the `pulumi import` command, OdbNetwork can be imported using one of the formats above. For example:
406
+
407
+ ```sh
408
+ $ pulumi import gcp:oracledatabase/odbNetwork:OdbNetwork default projects/{{project}}/locations/{{location}}/odbNetworks/{{odb_network_id}}
409
+ ```
410
+
411
+ ```sh
412
+ $ pulumi import gcp:oracledatabase/odbNetwork:OdbNetwork default {{project}}/{{location}}/{{odb_network_id}}
413
+ ```
414
+
415
+ ```sh
416
+ $ pulumi import gcp:oracledatabase/odbNetwork:OdbNetwork default {{location}}/{{odb_network_id}}
417
+ ```
418
+
419
+ :param str resource_name: The name of the resource.
420
+ :param pulumi.ResourceOptions opts: Options for the resource.
421
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels or tags associated with the resource.
422
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
423
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
424
+ :param pulumi.Input[_builtins.str] location: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
425
+ :param pulumi.Input[_builtins.str] network: The name of the VPC network in the following format:
426
+ projects/{project}/global/networks/{network}
427
+ :param pulumi.Input[_builtins.str] odb_network_id: The ID of the OdbNetwork to create. This value is restricted
428
+ to (^a-z?$) and must be a maximum of 63
429
+ characters in length. The value must start with a letter and end with
430
+ a letter or a number.
431
+ :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
432
+ If it is not provided, the provider project is used.
433
+ """
434
+ ...
435
+ @overload
436
+ def __init__(__self__,
437
+ resource_name: str,
438
+ args: OdbNetworkArgs,
439
+ opts: Optional[pulumi.ResourceOptions] = None):
440
+ """
441
+ An OdbNetwork resource which represents a private network providing connectivity between OracleDatabase resources and Google Cloud VPC network.
442
+
443
+ To get more information about OdbNetwork, see:
444
+ * How-to Guides
445
+ * [OracleDatabase@Google Cloud](https://cloud.google.com/oracle/database/docs/overview')
446
+
447
+ ## Example Usage
448
+
449
+ ### Oracledatabase Odbnetwork
450
+
451
+ ```python
452
+ import pulumi
453
+ import pulumi_gcp as gcp
454
+
455
+ default = gcp.compute.get_network(name="new",
456
+ project="my-project")
457
+ my_odbnetwork = gcp.oracledatabase.OdbNetwork("my-odbnetwork",
458
+ odb_network_id="my-odbnetwork",
459
+ location="us-west3",
460
+ project="my-project",
461
+ network=default.id,
462
+ labels={
463
+ "terraform_created": "true",
464
+ },
465
+ deletion_protection=True)
466
+ ```
467
+
468
+ ## Import
469
+
470
+ OdbNetwork can be imported using any of these accepted formats:
471
+
472
+ * `projects/{{project}}/locations/{{location}}/odbNetworks/{{odb_network_id}}`
473
+
474
+ * `{{project}}/{{location}}/{{odb_network_id}}`
475
+
476
+ * `{{location}}/{{odb_network_id}}`
477
+
478
+ When using the `pulumi import` command, OdbNetwork can be imported using one of the formats above. For example:
479
+
480
+ ```sh
481
+ $ pulumi import gcp:oracledatabase/odbNetwork:OdbNetwork default projects/{{project}}/locations/{{location}}/odbNetworks/{{odb_network_id}}
482
+ ```
483
+
484
+ ```sh
485
+ $ pulumi import gcp:oracledatabase/odbNetwork:OdbNetwork default {{project}}/{{location}}/{{odb_network_id}}
486
+ ```
487
+
488
+ ```sh
489
+ $ pulumi import gcp:oracledatabase/odbNetwork:OdbNetwork default {{location}}/{{odb_network_id}}
490
+ ```
491
+
492
+ :param str resource_name: The name of the resource.
493
+ :param OdbNetworkArgs args: The arguments to use to populate this resource's properties.
494
+ :param pulumi.ResourceOptions opts: Options for the resource.
495
+ """
496
+ ...
497
+ def __init__(__self__, resource_name: str, *args, **kwargs):
498
+ resource_args, opts = _utilities.get_resource_args_opts(OdbNetworkArgs, pulumi.ResourceOptions, *args, **kwargs)
499
+ if resource_args is not None:
500
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
501
+ else:
502
+ __self__._internal_init(resource_name, *args, **kwargs)
503
+
504
+ def _internal_init(__self__,
505
+ resource_name: str,
506
+ opts: Optional[pulumi.ResourceOptions] = None,
507
+ deletion_protection: Optional[pulumi.Input[_builtins.bool]] = None,
508
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
509
+ location: Optional[pulumi.Input[_builtins.str]] = None,
510
+ network: Optional[pulumi.Input[_builtins.str]] = None,
511
+ odb_network_id: Optional[pulumi.Input[_builtins.str]] = None,
512
+ project: Optional[pulumi.Input[_builtins.str]] = None,
513
+ __props__=None):
514
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
515
+ if not isinstance(opts, pulumi.ResourceOptions):
516
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
517
+ if opts.id is None:
518
+ if __props__ is not None:
519
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
520
+ __props__ = OdbNetworkArgs.__new__(OdbNetworkArgs)
521
+
522
+ __props__.__dict__["deletion_protection"] = deletion_protection
523
+ __props__.__dict__["labels"] = labels
524
+ if location is None and not opts.urn:
525
+ raise TypeError("Missing required property 'location'")
526
+ __props__.__dict__["location"] = location
527
+ if network is None and not opts.urn:
528
+ raise TypeError("Missing required property 'network'")
529
+ __props__.__dict__["network"] = network
530
+ if odb_network_id is None and not opts.urn:
531
+ raise TypeError("Missing required property 'odb_network_id'")
532
+ __props__.__dict__["odb_network_id"] = odb_network_id
533
+ __props__.__dict__["project"] = project
534
+ __props__.__dict__["create_time"] = None
535
+ __props__.__dict__["effective_labels"] = None
536
+ __props__.__dict__["entitlement_id"] = None
537
+ __props__.__dict__["name"] = None
538
+ __props__.__dict__["pulumi_labels"] = None
539
+ __props__.__dict__["state"] = None
540
+ secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
541
+ opts = pulumi.ResourceOptions.merge(opts, secret_opts)
542
+ super(OdbNetwork, __self__).__init__(
543
+ 'gcp:oracledatabase/odbNetwork:OdbNetwork',
544
+ resource_name,
545
+ __props__,
546
+ opts)
547
+
548
+ @staticmethod
549
+ def get(resource_name: str,
550
+ id: pulumi.Input[str],
551
+ opts: Optional[pulumi.ResourceOptions] = None,
552
+ create_time: Optional[pulumi.Input[_builtins.str]] = None,
553
+ deletion_protection: Optional[pulumi.Input[_builtins.bool]] = None,
554
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
555
+ entitlement_id: Optional[pulumi.Input[_builtins.str]] = None,
556
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
557
+ location: Optional[pulumi.Input[_builtins.str]] = None,
558
+ name: Optional[pulumi.Input[_builtins.str]] = None,
559
+ network: Optional[pulumi.Input[_builtins.str]] = None,
560
+ odb_network_id: Optional[pulumi.Input[_builtins.str]] = None,
561
+ project: Optional[pulumi.Input[_builtins.str]] = None,
562
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
563
+ state: Optional[pulumi.Input[_builtins.str]] = None) -> 'OdbNetwork':
564
+ """
565
+ Get an existing OdbNetwork resource's state with the given name, id, and optional extra
566
+ properties used to qualify the lookup.
567
+
568
+ :param str resource_name: The unique name of the resulting resource.
569
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
570
+ :param pulumi.ResourceOptions opts: Options for the resource.
571
+ :param pulumi.Input[_builtins.str] create_time: The date and time that the OdbNetwork was created.
572
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
573
+ :param pulumi.Input[_builtins.str] entitlement_id: The ID of the subscription entitlement associated with the OdbNetwork.
574
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels or tags associated with the resource.
575
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
576
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
577
+ :param pulumi.Input[_builtins.str] location: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
578
+ :param pulumi.Input[_builtins.str] name: Identifier. The name of the OdbNetwork resource in the following format:
579
+ projects/{project}/locations/{region}/odbNetworks/{odb_network}
580
+ :param pulumi.Input[_builtins.str] network: The name of the VPC network in the following format:
581
+ projects/{project}/global/networks/{network}
582
+ :param pulumi.Input[_builtins.str] odb_network_id: The ID of the OdbNetwork to create. This value is restricted
583
+ to (^a-z?$) and must be a maximum of 63
584
+ characters in length. The value must start with a letter and end with
585
+ a letter or a number.
586
+ :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
587
+ If it is not provided, the provider project is used.
588
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
589
+ and default labels configured on the provider.
590
+ :param pulumi.Input[_builtins.str] state: State of the ODB Network.
591
+ Possible values:
592
+ PROVISIONING
593
+ AVAILABLE
594
+ TERMINATING
595
+ FAILED
596
+ """
597
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
598
+
599
+ __props__ = _OdbNetworkState.__new__(_OdbNetworkState)
600
+
601
+ __props__.__dict__["create_time"] = create_time
602
+ __props__.__dict__["deletion_protection"] = deletion_protection
603
+ __props__.__dict__["effective_labels"] = effective_labels
604
+ __props__.__dict__["entitlement_id"] = entitlement_id
605
+ __props__.__dict__["labels"] = labels
606
+ __props__.__dict__["location"] = location
607
+ __props__.__dict__["name"] = name
608
+ __props__.__dict__["network"] = network
609
+ __props__.__dict__["odb_network_id"] = odb_network_id
610
+ __props__.__dict__["project"] = project
611
+ __props__.__dict__["pulumi_labels"] = pulumi_labels
612
+ __props__.__dict__["state"] = state
613
+ return OdbNetwork(resource_name, opts=opts, __props__=__props__)
614
+
615
+ @_builtins.property
616
+ @pulumi.getter(name="createTime")
617
+ def create_time(self) -> pulumi.Output[_builtins.str]:
618
+ """
619
+ The date and time that the OdbNetwork was created.
620
+ """
621
+ return pulumi.get(self, "create_time")
622
+
623
+ @_builtins.property
624
+ @pulumi.getter(name="deletionProtection")
625
+ def deletion_protection(self) -> pulumi.Output[Optional[_builtins.bool]]:
626
+ return pulumi.get(self, "deletion_protection")
627
+
628
+ @_builtins.property
629
+ @pulumi.getter(name="effectiveLabels")
630
+ def effective_labels(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
631
+ """
632
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
633
+ """
634
+ return pulumi.get(self, "effective_labels")
635
+
636
+ @_builtins.property
637
+ @pulumi.getter(name="entitlementId")
638
+ def entitlement_id(self) -> pulumi.Output[_builtins.str]:
639
+ """
640
+ The ID of the subscription entitlement associated with the OdbNetwork.
641
+ """
642
+ return pulumi.get(self, "entitlement_id")
643
+
644
+ @_builtins.property
645
+ @pulumi.getter
646
+ def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
647
+ """
648
+ Labels or tags associated with the resource.
649
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
650
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
651
+ """
652
+ return pulumi.get(self, "labels")
653
+
654
+ @_builtins.property
655
+ @pulumi.getter
656
+ def location(self) -> pulumi.Output[_builtins.str]:
657
+ """
658
+ Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
659
+ """
660
+ return pulumi.get(self, "location")
661
+
662
+ @_builtins.property
663
+ @pulumi.getter
664
+ def name(self) -> pulumi.Output[_builtins.str]:
665
+ """
666
+ Identifier. The name of the OdbNetwork resource in the following format:
667
+ projects/{project}/locations/{region}/odbNetworks/{odb_network}
668
+ """
669
+ return pulumi.get(self, "name")
670
+
671
+ @_builtins.property
672
+ @pulumi.getter
673
+ def network(self) -> pulumi.Output[_builtins.str]:
674
+ """
675
+ The name of the VPC network in the following format:
676
+ projects/{project}/global/networks/{network}
677
+ """
678
+ return pulumi.get(self, "network")
679
+
680
+ @_builtins.property
681
+ @pulumi.getter(name="odbNetworkId")
682
+ def odb_network_id(self) -> pulumi.Output[_builtins.str]:
683
+ """
684
+ The ID of the OdbNetwork to create. This value is restricted
685
+ to (^a-z?$) and must be a maximum of 63
686
+ characters in length. The value must start with a letter and end with
687
+ a letter or a number.
688
+ """
689
+ return pulumi.get(self, "odb_network_id")
690
+
691
+ @_builtins.property
692
+ @pulumi.getter
693
+ def project(self) -> pulumi.Output[_builtins.str]:
694
+ """
695
+ The ID of the project in which the resource belongs.
696
+ If it is not provided, the provider project is used.
697
+ """
698
+ return pulumi.get(self, "project")
699
+
700
+ @_builtins.property
701
+ @pulumi.getter(name="pulumiLabels")
702
+ def pulumi_labels(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
703
+ """
704
+ The combination of labels configured directly on the resource
705
+ and default labels configured on the provider.
706
+ """
707
+ return pulumi.get(self, "pulumi_labels")
708
+
709
+ @_builtins.property
710
+ @pulumi.getter
711
+ def state(self) -> pulumi.Output[_builtins.str]:
712
+ """
713
+ State of the ODB Network.
714
+ Possible values:
715
+ PROVISIONING
716
+ AVAILABLE
717
+ TERMINATING
718
+ FAILED
719
+ """
720
+ return pulumi.get(self, "state")
721
+