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,803 @@
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__ = ['OdbSubnetArgs', 'OdbSubnet']
18
+
19
+ @pulumi.input_type
20
+ class OdbSubnetArgs:
21
+ def __init__(__self__, *,
22
+ cidr_range: pulumi.Input[_builtins.str],
23
+ location: pulumi.Input[_builtins.str],
24
+ odb_subnet_id: pulumi.Input[_builtins.str],
25
+ odbnetwork: pulumi.Input[_builtins.str],
26
+ purpose: pulumi.Input[_builtins.str],
27
+ deletion_protection: Optional[pulumi.Input[_builtins.bool]] = None,
28
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
29
+ project: Optional[pulumi.Input[_builtins.str]] = None):
30
+ """
31
+ The set of arguments for constructing a OdbSubnet resource.
32
+ :param pulumi.Input[_builtins.str] cidr_range: The CIDR range of the subnet.
33
+ :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.
34
+ :param pulumi.Input[_builtins.str] odb_subnet_id: The ID of the OdbSubnet to create. This value is restricted
35
+ to (^a-z?$) and must be a maximum of 63
36
+ characters in length. The value must start with a letter and end with
37
+ a letter or a number.
38
+ :param pulumi.Input[_builtins.str] odbnetwork: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
39
+ :param pulumi.Input[_builtins.str] purpose: Purpose of the subnet.
40
+ Possible values:
41
+ CLIENT_SUBNET
42
+ BACKUP_SUBNET
43
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels or tags associated with the resource.
44
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
45
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
46
+ :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
47
+ If it is not provided, the provider project is used.
48
+ """
49
+ pulumi.set(__self__, "cidr_range", cidr_range)
50
+ pulumi.set(__self__, "location", location)
51
+ pulumi.set(__self__, "odb_subnet_id", odb_subnet_id)
52
+ pulumi.set(__self__, "odbnetwork", odbnetwork)
53
+ pulumi.set(__self__, "purpose", purpose)
54
+ if deletion_protection is not None:
55
+ pulumi.set(__self__, "deletion_protection", deletion_protection)
56
+ if labels is not None:
57
+ pulumi.set(__self__, "labels", labels)
58
+ if project is not None:
59
+ pulumi.set(__self__, "project", project)
60
+
61
+ @_builtins.property
62
+ @pulumi.getter(name="cidrRange")
63
+ def cidr_range(self) -> pulumi.Input[_builtins.str]:
64
+ """
65
+ The CIDR range of the subnet.
66
+ """
67
+ return pulumi.get(self, "cidr_range")
68
+
69
+ @cidr_range.setter
70
+ def cidr_range(self, value: pulumi.Input[_builtins.str]):
71
+ pulumi.set(self, "cidr_range", value)
72
+
73
+ @_builtins.property
74
+ @pulumi.getter
75
+ def location(self) -> pulumi.Input[_builtins.str]:
76
+ """
77
+ Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
78
+ """
79
+ return pulumi.get(self, "location")
80
+
81
+ @location.setter
82
+ def location(self, value: pulumi.Input[_builtins.str]):
83
+ pulumi.set(self, "location", value)
84
+
85
+ @_builtins.property
86
+ @pulumi.getter(name="odbSubnetId")
87
+ def odb_subnet_id(self) -> pulumi.Input[_builtins.str]:
88
+ """
89
+ The ID of the OdbSubnet to create. This value is restricted
90
+ to (^a-z?$) and must be a maximum of 63
91
+ characters in length. The value must start with a letter and end with
92
+ a letter or a number.
93
+ """
94
+ return pulumi.get(self, "odb_subnet_id")
95
+
96
+ @odb_subnet_id.setter
97
+ def odb_subnet_id(self, value: pulumi.Input[_builtins.str]):
98
+ pulumi.set(self, "odb_subnet_id", value)
99
+
100
+ @_builtins.property
101
+ @pulumi.getter
102
+ def odbnetwork(self) -> pulumi.Input[_builtins.str]:
103
+ """
104
+ Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
105
+ """
106
+ return pulumi.get(self, "odbnetwork")
107
+
108
+ @odbnetwork.setter
109
+ def odbnetwork(self, value: pulumi.Input[_builtins.str]):
110
+ pulumi.set(self, "odbnetwork", value)
111
+
112
+ @_builtins.property
113
+ @pulumi.getter
114
+ def purpose(self) -> pulumi.Input[_builtins.str]:
115
+ """
116
+ Purpose of the subnet.
117
+ Possible values:
118
+ CLIENT_SUBNET
119
+ BACKUP_SUBNET
120
+ """
121
+ return pulumi.get(self, "purpose")
122
+
123
+ @purpose.setter
124
+ def purpose(self, value: pulumi.Input[_builtins.str]):
125
+ pulumi.set(self, "purpose", value)
126
+
127
+ @_builtins.property
128
+ @pulumi.getter(name="deletionProtection")
129
+ def deletion_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
130
+ return pulumi.get(self, "deletion_protection")
131
+
132
+ @deletion_protection.setter
133
+ def deletion_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
134
+ pulumi.set(self, "deletion_protection", value)
135
+
136
+ @_builtins.property
137
+ @pulumi.getter
138
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
139
+ """
140
+ Labels or tags associated with the resource.
141
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
142
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
143
+ """
144
+ return pulumi.get(self, "labels")
145
+
146
+ @labels.setter
147
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
148
+ pulumi.set(self, "labels", value)
149
+
150
+ @_builtins.property
151
+ @pulumi.getter
152
+ def project(self) -> Optional[pulumi.Input[_builtins.str]]:
153
+ """
154
+ The ID of the project in which the resource belongs.
155
+ If it is not provided, the provider project is used.
156
+ """
157
+ return pulumi.get(self, "project")
158
+
159
+ @project.setter
160
+ def project(self, value: Optional[pulumi.Input[_builtins.str]]):
161
+ pulumi.set(self, "project", value)
162
+
163
+
164
+ @pulumi.input_type
165
+ class _OdbSubnetState:
166
+ def __init__(__self__, *,
167
+ cidr_range: Optional[pulumi.Input[_builtins.str]] = None,
168
+ create_time: Optional[pulumi.Input[_builtins.str]] = None,
169
+ deletion_protection: Optional[pulumi.Input[_builtins.bool]] = None,
170
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
171
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
172
+ location: Optional[pulumi.Input[_builtins.str]] = None,
173
+ name: Optional[pulumi.Input[_builtins.str]] = None,
174
+ odb_subnet_id: Optional[pulumi.Input[_builtins.str]] = None,
175
+ odbnetwork: Optional[pulumi.Input[_builtins.str]] = None,
176
+ project: Optional[pulumi.Input[_builtins.str]] = None,
177
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
178
+ purpose: Optional[pulumi.Input[_builtins.str]] = None,
179
+ state: Optional[pulumi.Input[_builtins.str]] = None):
180
+ """
181
+ Input properties used for looking up and filtering OdbSubnet resources.
182
+ :param pulumi.Input[_builtins.str] cidr_range: The CIDR range of the subnet.
183
+ :param pulumi.Input[_builtins.str] create_time: The date and time that the OdbNetwork was created.
184
+ :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.
185
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels or tags associated with the resource.
186
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
187
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
188
+ :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.
189
+ :param pulumi.Input[_builtins.str] name: Identifier. The name of the OdbSubnet resource in the following format:
190
+ projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
191
+ :param pulumi.Input[_builtins.str] odb_subnet_id: The ID of the OdbSubnet to create. This value is restricted
192
+ to (^a-z?$) and must be a maximum of 63
193
+ characters in length. The value must start with a letter and end with
194
+ a letter or a number.
195
+ :param pulumi.Input[_builtins.str] odbnetwork: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
196
+ :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
197
+ If it is not provided, the provider project is used.
198
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
199
+ and default labels configured on the provider.
200
+ :param pulumi.Input[_builtins.str] purpose: Purpose of the subnet.
201
+ Possible values:
202
+ CLIENT_SUBNET
203
+ BACKUP_SUBNET
204
+ :param pulumi.Input[_builtins.str] state: State of the ODB Subnet.
205
+ Possible values:
206
+ PROVISIONING
207
+ AVAILABLE
208
+ TERMINATING
209
+ FAILED
210
+ """
211
+ if cidr_range is not None:
212
+ pulumi.set(__self__, "cidr_range", cidr_range)
213
+ if create_time is not None:
214
+ pulumi.set(__self__, "create_time", create_time)
215
+ if deletion_protection is not None:
216
+ pulumi.set(__self__, "deletion_protection", deletion_protection)
217
+ if effective_labels is not None:
218
+ pulumi.set(__self__, "effective_labels", effective_labels)
219
+ if labels is not None:
220
+ pulumi.set(__self__, "labels", labels)
221
+ if location is not None:
222
+ pulumi.set(__self__, "location", location)
223
+ if name is not None:
224
+ pulumi.set(__self__, "name", name)
225
+ if odb_subnet_id is not None:
226
+ pulumi.set(__self__, "odb_subnet_id", odb_subnet_id)
227
+ if odbnetwork is not None:
228
+ pulumi.set(__self__, "odbnetwork", odbnetwork)
229
+ if project is not None:
230
+ pulumi.set(__self__, "project", project)
231
+ if pulumi_labels is not None:
232
+ pulumi.set(__self__, "pulumi_labels", pulumi_labels)
233
+ if purpose is not None:
234
+ pulumi.set(__self__, "purpose", purpose)
235
+ if state is not None:
236
+ pulumi.set(__self__, "state", state)
237
+
238
+ @_builtins.property
239
+ @pulumi.getter(name="cidrRange")
240
+ def cidr_range(self) -> Optional[pulumi.Input[_builtins.str]]:
241
+ """
242
+ The CIDR range of the subnet.
243
+ """
244
+ return pulumi.get(self, "cidr_range")
245
+
246
+ @cidr_range.setter
247
+ def cidr_range(self, value: Optional[pulumi.Input[_builtins.str]]):
248
+ pulumi.set(self, "cidr_range", value)
249
+
250
+ @_builtins.property
251
+ @pulumi.getter(name="createTime")
252
+ def create_time(self) -> Optional[pulumi.Input[_builtins.str]]:
253
+ """
254
+ The date and time that the OdbNetwork was created.
255
+ """
256
+ return pulumi.get(self, "create_time")
257
+
258
+ @create_time.setter
259
+ def create_time(self, value: Optional[pulumi.Input[_builtins.str]]):
260
+ pulumi.set(self, "create_time", value)
261
+
262
+ @_builtins.property
263
+ @pulumi.getter(name="deletionProtection")
264
+ def deletion_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
265
+ return pulumi.get(self, "deletion_protection")
266
+
267
+ @deletion_protection.setter
268
+ def deletion_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
269
+ pulumi.set(self, "deletion_protection", value)
270
+
271
+ @_builtins.property
272
+ @pulumi.getter(name="effectiveLabels")
273
+ def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
274
+ """
275
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
276
+ """
277
+ return pulumi.get(self, "effective_labels")
278
+
279
+ @effective_labels.setter
280
+ def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
281
+ pulumi.set(self, "effective_labels", value)
282
+
283
+ @_builtins.property
284
+ @pulumi.getter
285
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
286
+ """
287
+ Labels or tags associated with the resource.
288
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
289
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
290
+ """
291
+ return pulumi.get(self, "labels")
292
+
293
+ @labels.setter
294
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
295
+ pulumi.set(self, "labels", value)
296
+
297
+ @_builtins.property
298
+ @pulumi.getter
299
+ def location(self) -> Optional[pulumi.Input[_builtins.str]]:
300
+ """
301
+ Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
302
+ """
303
+ return pulumi.get(self, "location")
304
+
305
+ @location.setter
306
+ def location(self, value: Optional[pulumi.Input[_builtins.str]]):
307
+ pulumi.set(self, "location", value)
308
+
309
+ @_builtins.property
310
+ @pulumi.getter
311
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
312
+ """
313
+ Identifier. The name of the OdbSubnet resource in the following format:
314
+ projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
315
+ """
316
+ return pulumi.get(self, "name")
317
+
318
+ @name.setter
319
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
320
+ pulumi.set(self, "name", value)
321
+
322
+ @_builtins.property
323
+ @pulumi.getter(name="odbSubnetId")
324
+ def odb_subnet_id(self) -> Optional[pulumi.Input[_builtins.str]]:
325
+ """
326
+ The ID of the OdbSubnet to create. This value is restricted
327
+ to (^a-z?$) and must be a maximum of 63
328
+ characters in length. The value must start with a letter and end with
329
+ a letter or a number.
330
+ """
331
+ return pulumi.get(self, "odb_subnet_id")
332
+
333
+ @odb_subnet_id.setter
334
+ def odb_subnet_id(self, value: Optional[pulumi.Input[_builtins.str]]):
335
+ pulumi.set(self, "odb_subnet_id", value)
336
+
337
+ @_builtins.property
338
+ @pulumi.getter
339
+ def odbnetwork(self) -> Optional[pulumi.Input[_builtins.str]]:
340
+ """
341
+ Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
342
+ """
343
+ return pulumi.get(self, "odbnetwork")
344
+
345
+ @odbnetwork.setter
346
+ def odbnetwork(self, value: Optional[pulumi.Input[_builtins.str]]):
347
+ pulumi.set(self, "odbnetwork", value)
348
+
349
+ @_builtins.property
350
+ @pulumi.getter
351
+ def project(self) -> Optional[pulumi.Input[_builtins.str]]:
352
+ """
353
+ The ID of the project in which the resource belongs.
354
+ If it is not provided, the provider project is used.
355
+ """
356
+ return pulumi.get(self, "project")
357
+
358
+ @project.setter
359
+ def project(self, value: Optional[pulumi.Input[_builtins.str]]):
360
+ pulumi.set(self, "project", value)
361
+
362
+ @_builtins.property
363
+ @pulumi.getter(name="pulumiLabels")
364
+ def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
365
+ """
366
+ The combination of labels configured directly on the resource
367
+ and default labels configured on the provider.
368
+ """
369
+ return pulumi.get(self, "pulumi_labels")
370
+
371
+ @pulumi_labels.setter
372
+ def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
373
+ pulumi.set(self, "pulumi_labels", value)
374
+
375
+ @_builtins.property
376
+ @pulumi.getter
377
+ def purpose(self) -> Optional[pulumi.Input[_builtins.str]]:
378
+ """
379
+ Purpose of the subnet.
380
+ Possible values:
381
+ CLIENT_SUBNET
382
+ BACKUP_SUBNET
383
+ """
384
+ return pulumi.get(self, "purpose")
385
+
386
+ @purpose.setter
387
+ def purpose(self, value: Optional[pulumi.Input[_builtins.str]]):
388
+ pulumi.set(self, "purpose", value)
389
+
390
+ @_builtins.property
391
+ @pulumi.getter
392
+ def state(self) -> Optional[pulumi.Input[_builtins.str]]:
393
+ """
394
+ State of the ODB Subnet.
395
+ Possible values:
396
+ PROVISIONING
397
+ AVAILABLE
398
+ TERMINATING
399
+ FAILED
400
+ """
401
+ return pulumi.get(self, "state")
402
+
403
+ @state.setter
404
+ def state(self, value: Optional[pulumi.Input[_builtins.str]]):
405
+ pulumi.set(self, "state", value)
406
+
407
+
408
+ @pulumi.type_token("gcp:oracledatabase/odbSubnet:OdbSubnet")
409
+ class OdbSubnet(pulumi.CustomResource):
410
+ @overload
411
+ def __init__(__self__,
412
+ resource_name: str,
413
+ opts: Optional[pulumi.ResourceOptions] = None,
414
+ cidr_range: Optional[pulumi.Input[_builtins.str]] = None,
415
+ deletion_protection: Optional[pulumi.Input[_builtins.bool]] = None,
416
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
417
+ location: Optional[pulumi.Input[_builtins.str]] = None,
418
+ odb_subnet_id: Optional[pulumi.Input[_builtins.str]] = None,
419
+ odbnetwork: Optional[pulumi.Input[_builtins.str]] = None,
420
+ project: Optional[pulumi.Input[_builtins.str]] = None,
421
+ purpose: Optional[pulumi.Input[_builtins.str]] = None,
422
+ __props__=None):
423
+ """
424
+ An OdbSubnet resource which represents a subnet under an OdbNetwork.
425
+
426
+ To get more information about OdbSubnet, see:
427
+ * How-to Guides
428
+ * [OracleDatabase@Google Cloud](https://cloud.google.com/oracle/database/docs/overview')
429
+
430
+ ## Example Usage
431
+
432
+ ### Oracledatabase Odbsubnet
433
+
434
+ ```python
435
+ import pulumi
436
+ import pulumi_gcp as gcp
437
+
438
+ my_odbsubnet = gcp.oracledatabase.OdbSubnet("my-odbsubnet",
439
+ odb_subnet_id="my-odbsubnet",
440
+ location="europe-west2",
441
+ project="my-project",
442
+ odbnetwork="my-odbnetwork",
443
+ cidr_range="10.1.1.0/24",
444
+ purpose="CLIENT_SUBNET",
445
+ labels={
446
+ "terraform_created": "true",
447
+ },
448
+ deletion_protection=True)
449
+ ```
450
+
451
+ ## Import
452
+
453
+ OdbSubnet can be imported using any of these accepted formats:
454
+
455
+ * `projects/{{project}}/locations/{{location}}/odbNetworks/{{odbnetwork}}/odbSubnets/{{odb_subnet_id}}`
456
+
457
+ * `{{project}}/{{location}}/{{odbnetwork}}/{{odb_subnet_id}}`
458
+
459
+ * `{{location}}/{{odbnetwork}}/{{odb_subnet_id}}`
460
+
461
+ When using the `pulumi import` command, OdbSubnet can be imported using one of the formats above. For example:
462
+
463
+ ```sh
464
+ $ pulumi import gcp:oracledatabase/odbSubnet:OdbSubnet default projects/{{project}}/locations/{{location}}/odbNetworks/{{odbnetwork}}/odbSubnets/{{odb_subnet_id}}
465
+ ```
466
+
467
+ ```sh
468
+ $ pulumi import gcp:oracledatabase/odbSubnet:OdbSubnet default {{project}}/{{location}}/{{odbnetwork}}/{{odb_subnet_id}}
469
+ ```
470
+
471
+ ```sh
472
+ $ pulumi import gcp:oracledatabase/odbSubnet:OdbSubnet default {{location}}/{{odbnetwork}}/{{odb_subnet_id}}
473
+ ```
474
+
475
+ :param str resource_name: The name of the resource.
476
+ :param pulumi.ResourceOptions opts: Options for the resource.
477
+ :param pulumi.Input[_builtins.str] cidr_range: The CIDR range of the subnet.
478
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels or tags associated with the resource.
479
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
480
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
481
+ :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.
482
+ :param pulumi.Input[_builtins.str] odb_subnet_id: The ID of the OdbSubnet to create. This value is restricted
483
+ to (^a-z?$) and must be a maximum of 63
484
+ characters in length. The value must start with a letter and end with
485
+ a letter or a number.
486
+ :param pulumi.Input[_builtins.str] odbnetwork: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
487
+ :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
488
+ If it is not provided, the provider project is used.
489
+ :param pulumi.Input[_builtins.str] purpose: Purpose of the subnet.
490
+ Possible values:
491
+ CLIENT_SUBNET
492
+ BACKUP_SUBNET
493
+ """
494
+ ...
495
+ @overload
496
+ def __init__(__self__,
497
+ resource_name: str,
498
+ args: OdbSubnetArgs,
499
+ opts: Optional[pulumi.ResourceOptions] = None):
500
+ """
501
+ An OdbSubnet resource which represents a subnet under an OdbNetwork.
502
+
503
+ To get more information about OdbSubnet, see:
504
+ * How-to Guides
505
+ * [OracleDatabase@Google Cloud](https://cloud.google.com/oracle/database/docs/overview')
506
+
507
+ ## Example Usage
508
+
509
+ ### Oracledatabase Odbsubnet
510
+
511
+ ```python
512
+ import pulumi
513
+ import pulumi_gcp as gcp
514
+
515
+ my_odbsubnet = gcp.oracledatabase.OdbSubnet("my-odbsubnet",
516
+ odb_subnet_id="my-odbsubnet",
517
+ location="europe-west2",
518
+ project="my-project",
519
+ odbnetwork="my-odbnetwork",
520
+ cidr_range="10.1.1.0/24",
521
+ purpose="CLIENT_SUBNET",
522
+ labels={
523
+ "terraform_created": "true",
524
+ },
525
+ deletion_protection=True)
526
+ ```
527
+
528
+ ## Import
529
+
530
+ OdbSubnet can be imported using any of these accepted formats:
531
+
532
+ * `projects/{{project}}/locations/{{location}}/odbNetworks/{{odbnetwork}}/odbSubnets/{{odb_subnet_id}}`
533
+
534
+ * `{{project}}/{{location}}/{{odbnetwork}}/{{odb_subnet_id}}`
535
+
536
+ * `{{location}}/{{odbnetwork}}/{{odb_subnet_id}}`
537
+
538
+ When using the `pulumi import` command, OdbSubnet can be imported using one of the formats above. For example:
539
+
540
+ ```sh
541
+ $ pulumi import gcp:oracledatabase/odbSubnet:OdbSubnet default projects/{{project}}/locations/{{location}}/odbNetworks/{{odbnetwork}}/odbSubnets/{{odb_subnet_id}}
542
+ ```
543
+
544
+ ```sh
545
+ $ pulumi import gcp:oracledatabase/odbSubnet:OdbSubnet default {{project}}/{{location}}/{{odbnetwork}}/{{odb_subnet_id}}
546
+ ```
547
+
548
+ ```sh
549
+ $ pulumi import gcp:oracledatabase/odbSubnet:OdbSubnet default {{location}}/{{odbnetwork}}/{{odb_subnet_id}}
550
+ ```
551
+
552
+ :param str resource_name: The name of the resource.
553
+ :param OdbSubnetArgs args: The arguments to use to populate this resource's properties.
554
+ :param pulumi.ResourceOptions opts: Options for the resource.
555
+ """
556
+ ...
557
+ def __init__(__self__, resource_name: str, *args, **kwargs):
558
+ resource_args, opts = _utilities.get_resource_args_opts(OdbSubnetArgs, pulumi.ResourceOptions, *args, **kwargs)
559
+ if resource_args is not None:
560
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
561
+ else:
562
+ __self__._internal_init(resource_name, *args, **kwargs)
563
+
564
+ def _internal_init(__self__,
565
+ resource_name: str,
566
+ opts: Optional[pulumi.ResourceOptions] = None,
567
+ cidr_range: Optional[pulumi.Input[_builtins.str]] = None,
568
+ deletion_protection: Optional[pulumi.Input[_builtins.bool]] = None,
569
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
570
+ location: Optional[pulumi.Input[_builtins.str]] = None,
571
+ odb_subnet_id: Optional[pulumi.Input[_builtins.str]] = None,
572
+ odbnetwork: Optional[pulumi.Input[_builtins.str]] = None,
573
+ project: Optional[pulumi.Input[_builtins.str]] = None,
574
+ purpose: Optional[pulumi.Input[_builtins.str]] = None,
575
+ __props__=None):
576
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
577
+ if not isinstance(opts, pulumi.ResourceOptions):
578
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
579
+ if opts.id is None:
580
+ if __props__ is not None:
581
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
582
+ __props__ = OdbSubnetArgs.__new__(OdbSubnetArgs)
583
+
584
+ if cidr_range is None and not opts.urn:
585
+ raise TypeError("Missing required property 'cidr_range'")
586
+ __props__.__dict__["cidr_range"] = cidr_range
587
+ __props__.__dict__["deletion_protection"] = deletion_protection
588
+ __props__.__dict__["labels"] = labels
589
+ if location is None and not opts.urn:
590
+ raise TypeError("Missing required property 'location'")
591
+ __props__.__dict__["location"] = location
592
+ if odb_subnet_id is None and not opts.urn:
593
+ raise TypeError("Missing required property 'odb_subnet_id'")
594
+ __props__.__dict__["odb_subnet_id"] = odb_subnet_id
595
+ if odbnetwork is None and not opts.urn:
596
+ raise TypeError("Missing required property 'odbnetwork'")
597
+ __props__.__dict__["odbnetwork"] = odbnetwork
598
+ __props__.__dict__["project"] = project
599
+ if purpose is None and not opts.urn:
600
+ raise TypeError("Missing required property 'purpose'")
601
+ __props__.__dict__["purpose"] = purpose
602
+ __props__.__dict__["create_time"] = None
603
+ __props__.__dict__["effective_labels"] = None
604
+ __props__.__dict__["name"] = None
605
+ __props__.__dict__["pulumi_labels"] = None
606
+ __props__.__dict__["state"] = None
607
+ secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
608
+ opts = pulumi.ResourceOptions.merge(opts, secret_opts)
609
+ super(OdbSubnet, __self__).__init__(
610
+ 'gcp:oracledatabase/odbSubnet:OdbSubnet',
611
+ resource_name,
612
+ __props__,
613
+ opts)
614
+
615
+ @staticmethod
616
+ def get(resource_name: str,
617
+ id: pulumi.Input[str],
618
+ opts: Optional[pulumi.ResourceOptions] = None,
619
+ cidr_range: Optional[pulumi.Input[_builtins.str]] = None,
620
+ create_time: Optional[pulumi.Input[_builtins.str]] = None,
621
+ deletion_protection: Optional[pulumi.Input[_builtins.bool]] = None,
622
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
623
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
624
+ location: Optional[pulumi.Input[_builtins.str]] = None,
625
+ name: Optional[pulumi.Input[_builtins.str]] = None,
626
+ odb_subnet_id: Optional[pulumi.Input[_builtins.str]] = None,
627
+ odbnetwork: Optional[pulumi.Input[_builtins.str]] = None,
628
+ project: Optional[pulumi.Input[_builtins.str]] = None,
629
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
630
+ purpose: Optional[pulumi.Input[_builtins.str]] = None,
631
+ state: Optional[pulumi.Input[_builtins.str]] = None) -> 'OdbSubnet':
632
+ """
633
+ Get an existing OdbSubnet resource's state with the given name, id, and optional extra
634
+ properties used to qualify the lookup.
635
+
636
+ :param str resource_name: The unique name of the resulting resource.
637
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
638
+ :param pulumi.ResourceOptions opts: Options for the resource.
639
+ :param pulumi.Input[_builtins.str] cidr_range: The CIDR range of the subnet.
640
+ :param pulumi.Input[_builtins.str] create_time: The date and time that the OdbNetwork was created.
641
+ :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.
642
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels or tags associated with the resource.
643
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
644
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
645
+ :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.
646
+ :param pulumi.Input[_builtins.str] name: Identifier. The name of the OdbSubnet resource in the following format:
647
+ projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
648
+ :param pulumi.Input[_builtins.str] odb_subnet_id: The ID of the OdbSubnet to create. This value is restricted
649
+ to (^a-z?$) and must be a maximum of 63
650
+ characters in length. The value must start with a letter and end with
651
+ a letter or a number.
652
+ :param pulumi.Input[_builtins.str] odbnetwork: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
653
+ :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
654
+ If it is not provided, the provider project is used.
655
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
656
+ and default labels configured on the provider.
657
+ :param pulumi.Input[_builtins.str] purpose: Purpose of the subnet.
658
+ Possible values:
659
+ CLIENT_SUBNET
660
+ BACKUP_SUBNET
661
+ :param pulumi.Input[_builtins.str] state: State of the ODB Subnet.
662
+ Possible values:
663
+ PROVISIONING
664
+ AVAILABLE
665
+ TERMINATING
666
+ FAILED
667
+ """
668
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
669
+
670
+ __props__ = _OdbSubnetState.__new__(_OdbSubnetState)
671
+
672
+ __props__.__dict__["cidr_range"] = cidr_range
673
+ __props__.__dict__["create_time"] = create_time
674
+ __props__.__dict__["deletion_protection"] = deletion_protection
675
+ __props__.__dict__["effective_labels"] = effective_labels
676
+ __props__.__dict__["labels"] = labels
677
+ __props__.__dict__["location"] = location
678
+ __props__.__dict__["name"] = name
679
+ __props__.__dict__["odb_subnet_id"] = odb_subnet_id
680
+ __props__.__dict__["odbnetwork"] = odbnetwork
681
+ __props__.__dict__["project"] = project
682
+ __props__.__dict__["pulumi_labels"] = pulumi_labels
683
+ __props__.__dict__["purpose"] = purpose
684
+ __props__.__dict__["state"] = state
685
+ return OdbSubnet(resource_name, opts=opts, __props__=__props__)
686
+
687
+ @_builtins.property
688
+ @pulumi.getter(name="cidrRange")
689
+ def cidr_range(self) -> pulumi.Output[_builtins.str]:
690
+ """
691
+ The CIDR range of the subnet.
692
+ """
693
+ return pulumi.get(self, "cidr_range")
694
+
695
+ @_builtins.property
696
+ @pulumi.getter(name="createTime")
697
+ def create_time(self) -> pulumi.Output[_builtins.str]:
698
+ """
699
+ The date and time that the OdbNetwork was created.
700
+ """
701
+ return pulumi.get(self, "create_time")
702
+
703
+ @_builtins.property
704
+ @pulumi.getter(name="deletionProtection")
705
+ def deletion_protection(self) -> pulumi.Output[Optional[_builtins.bool]]:
706
+ return pulumi.get(self, "deletion_protection")
707
+
708
+ @_builtins.property
709
+ @pulumi.getter(name="effectiveLabels")
710
+ def effective_labels(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
711
+ """
712
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
713
+ """
714
+ return pulumi.get(self, "effective_labels")
715
+
716
+ @_builtins.property
717
+ @pulumi.getter
718
+ def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
719
+ """
720
+ Labels or tags associated with the resource.
721
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
722
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
723
+ """
724
+ return pulumi.get(self, "labels")
725
+
726
+ @_builtins.property
727
+ @pulumi.getter
728
+ def location(self) -> pulumi.Output[_builtins.str]:
729
+ """
730
+ Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
731
+ """
732
+ return pulumi.get(self, "location")
733
+
734
+ @_builtins.property
735
+ @pulumi.getter
736
+ def name(self) -> pulumi.Output[_builtins.str]:
737
+ """
738
+ Identifier. The name of the OdbSubnet resource in the following format:
739
+ projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
740
+ """
741
+ return pulumi.get(self, "name")
742
+
743
+ @_builtins.property
744
+ @pulumi.getter(name="odbSubnetId")
745
+ def odb_subnet_id(self) -> pulumi.Output[_builtins.str]:
746
+ """
747
+ The ID of the OdbSubnet to create. This value is restricted
748
+ to (^a-z?$) and must be a maximum of 63
749
+ characters in length. The value must start with a letter and end with
750
+ a letter or a number.
751
+ """
752
+ return pulumi.get(self, "odb_subnet_id")
753
+
754
+ @_builtins.property
755
+ @pulumi.getter
756
+ def odbnetwork(self) -> pulumi.Output[_builtins.str]:
757
+ """
758
+ Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
759
+ """
760
+ return pulumi.get(self, "odbnetwork")
761
+
762
+ @_builtins.property
763
+ @pulumi.getter
764
+ def project(self) -> pulumi.Output[_builtins.str]:
765
+ """
766
+ The ID of the project in which the resource belongs.
767
+ If it is not provided, the provider project is used.
768
+ """
769
+ return pulumi.get(self, "project")
770
+
771
+ @_builtins.property
772
+ @pulumi.getter(name="pulumiLabels")
773
+ def pulumi_labels(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
774
+ """
775
+ The combination of labels configured directly on the resource
776
+ and default labels configured on the provider.
777
+ """
778
+ return pulumi.get(self, "pulumi_labels")
779
+
780
+ @_builtins.property
781
+ @pulumi.getter
782
+ def purpose(self) -> pulumi.Output[_builtins.str]:
783
+ """
784
+ Purpose of the subnet.
785
+ Possible values:
786
+ CLIENT_SUBNET
787
+ BACKUP_SUBNET
788
+ """
789
+ return pulumi.get(self, "purpose")
790
+
791
+ @_builtins.property
792
+ @pulumi.getter
793
+ def state(self) -> pulumi.Output[_builtins.str]:
794
+ """
795
+ State of the ODB Subnet.
796
+ Possible values:
797
+ PROVISIONING
798
+ AVAILABLE
799
+ TERMINATING
800
+ FAILED
801
+ """
802
+ return pulumi.get(self, "state")
803
+