pulumi-gcp 8.7.0a1730183903__py3-none-any.whl → 8.7.0a1730196225__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.
- pulumi_gcp/__init__.py +70 -0
- pulumi_gcp/accesscontextmanager/service_perimeter.py +2 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +4 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +4 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +4 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +4 -0
- pulumi_gcp/accesscontextmanager/service_perimeters.py +2 -0
- pulumi_gcp/apigee/__init__.py +2 -0
- pulumi_gcp/apigee/_inputs.py +108 -0
- pulumi_gcp/apigee/app_group.py +811 -0
- pulumi_gcp/apigee/developer.py +757 -0
- pulumi_gcp/apigee/outputs.py +64 -0
- pulumi_gcp/artifactregistry/get_docker_image.py +40 -0
- pulumi_gcp/bigquery/connection.py +12 -12
- pulumi_gcp/bigquery/job.py +6 -6
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/service.py +92 -0
- pulumi_gcp/compute/_inputs.py +214 -116
- pulumi_gcp/compute/backend_service.py +76 -0
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/get_instance.py +29 -1
- pulumi_gcp/compute/get_instance_template.py +29 -1
- pulumi_gcp/compute/get_region_instance_group_manager.py +0 -18
- pulumi_gcp/compute/get_region_instance_template.py +29 -1
- pulumi_gcp/compute/instance.py +89 -0
- pulumi_gcp/compute/instance_from_machine_image.py +82 -0
- pulumi_gcp/compute/instance_from_template.py +82 -0
- pulumi_gcp/compute/instance_template.py +75 -0
- pulumi_gcp/compute/network_firewall_policy_association.py +76 -50
- pulumi_gcp/compute/network_firewall_policy_rule.py +149 -103
- pulumi_gcp/compute/outputs.py +170 -80
- pulumi_gcp/compute/region_backend_service.py +94 -0
- pulumi_gcp/compute/region_instance_template.py +75 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +6 -4
- pulumi_gcp/compute/region_network_firewall_policy_association.py +104 -54
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +160 -107
- pulumi_gcp/config/__init__.pyi +4 -0
- pulumi_gcp/config/vars.py +8 -0
- pulumi_gcp/container/attached_cluster.py +9 -6
- pulumi_gcp/container/outputs.py +2 -2
- pulumi_gcp/datastream/stream.py +2 -2
- pulumi_gcp/diagflow/_inputs.py +472 -2
- pulumi_gcp/diagflow/cx_agent.py +64 -4
- pulumi_gcp/diagflow/cx_flow.py +30 -0
- pulumi_gcp/diagflow/outputs.py +378 -2
- pulumi_gcp/gkehub/feature.py +2 -4
- pulumi_gcp/iam/workload_identity_pool_provider.py +56 -0
- pulumi_gcp/looker/instance.py +104 -2
- pulumi_gcp/monitoring/_inputs.py +23 -0
- pulumi_gcp/monitoring/get_secret_version.py +22 -3
- pulumi_gcp/monitoring/outputs.py +16 -0
- pulumi_gcp/networkconnectivity/__init__.py +1 -0
- pulumi_gcp/networkconnectivity/_inputs.py +148 -0
- pulumi_gcp/networkconnectivity/group.py +764 -0
- pulumi_gcp/networkconnectivity/outputs.py +125 -0
- pulumi_gcp/networkconnectivity/spoke.py +144 -0
- pulumi_gcp/networksecurity/server_tls_policy.py +2 -2
- pulumi_gcp/oracledatabase/__init__.py +20 -0
- pulumi_gcp/oracledatabase/_inputs.py +4745 -0
- pulumi_gcp/oracledatabase/autonomous_database.py +983 -0
- pulumi_gcp/oracledatabase/cloud_exadata_infrastructure.py +842 -0
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +1086 -0
- pulumi_gcp/oracledatabase/get_autonomous_database.py +290 -0
- pulumi_gcp/oracledatabase/get_autonomous_databases.py +150 -0
- pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructure.py +257 -0
- pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructures.py +150 -0
- pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +290 -0
- pulumi_gcp/oracledatabase/get_cloud_vm_clusters.py +150 -0
- pulumi_gcp/oracledatabase/get_db_nodes.py +245 -0
- pulumi_gcp/oracledatabase/get_db_servers.py +245 -0
- pulumi_gcp/oracledatabase/outputs.py +9304 -0
- pulumi_gcp/organizations/folder.py +7 -7
- pulumi_gcp/organizations/project.py +7 -7
- pulumi_gcp/orgpolicy/_inputs.py +3 -3
- pulumi_gcp/orgpolicy/outputs.py +2 -2
- pulumi_gcp/privilegedaccessmanager/get_entitlement.py +46 -2
- pulumi_gcp/provider.py +40 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/secretmanager/get_regional_secret_version.py +24 -5
- pulumi_gcp/secretmanager/get_regional_secret_version_access.py +24 -5
- pulumi_gcp/secretmanager/get_secret_version.py +22 -3
- pulumi_gcp/secretmanager/get_secret_version_access.py +22 -3
- pulumi_gcp/secretmanager/regional_secret.py +2 -2
- pulumi_gcp/siteverification/get_token.py +0 -16
- pulumi_gcp/siteverification/owner.py +0 -16
- pulumi_gcp/spanner/_inputs.py +29 -5
- pulumi_gcp/spanner/outputs.py +20 -3
- pulumi_gcp/sql/_inputs.py +6 -6
- pulumi_gcp/sql/outputs.py +4 -4
- pulumi_gcp/sql/user.py +28 -21
- pulumi_gcp/storage/_inputs.py +36 -0
- pulumi_gcp/storage/bucket.py +47 -0
- pulumi_gcp/storage/get_bucket.py +12 -1
- pulumi_gcp/storage/outputs.py +40 -0
- pulumi_gcp/transcoder/__init__.py +11 -0
- pulumi_gcp/transcoder/_inputs.py +3991 -0
- pulumi_gcp/transcoder/job.py +2134 -0
- pulumi_gcp/transcoder/job_template.py +1524 -0
- pulumi_gcp/transcoder/outputs.py +2918 -0
- pulumi_gcp/vertex/ai_deployment_resource_pool.py +2 -2
- pulumi_gcp/vmwareengine/_inputs.py +440 -0
- pulumi_gcp/vmwareengine/cluster.py +100 -2
- pulumi_gcp/vmwareengine/get_cluster.py +12 -1
- pulumi_gcp/vmwareengine/outputs.py +615 -0
- pulumi_gcp/workstations/_inputs.py +54 -0
- pulumi_gcp/workstations/outputs.py +32 -0
- pulumi_gcp/workstations/workstation_config.py +205 -0
- {pulumi_gcp-8.7.0a1730183903.dist-info → pulumi_gcp-8.7.0a1730196225.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.7.0a1730183903.dist-info → pulumi_gcp-8.7.0a1730196225.dist-info}/RECORD +111 -89
- {pulumi_gcp-8.7.0a1730183903.dist-info → pulumi_gcp-8.7.0a1730196225.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.7.0a1730183903.dist-info → pulumi_gcp-8.7.0a1730196225.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,983 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
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
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = ['AutonomousDatabaseArgs', 'AutonomousDatabase']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class AutonomousDatabaseArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
autonomous_database_id: pulumi.Input[str],
|
25
|
+
cidr: pulumi.Input[str],
|
26
|
+
database: pulumi.Input[str],
|
27
|
+
location: pulumi.Input[str],
|
28
|
+
network: pulumi.Input[str],
|
29
|
+
properties: pulumi.Input['AutonomousDatabasePropertiesArgs'],
|
30
|
+
admin_password: Optional[pulumi.Input[str]] = None,
|
31
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
32
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
33
|
+
project: Optional[pulumi.Input[str]] = None):
|
34
|
+
"""
|
35
|
+
The set of arguments for constructing a AutonomousDatabase resource.
|
36
|
+
:param pulumi.Input[str] autonomous_database_id: The ID of the Autonomous Database to create. This value is restricted
|
37
|
+
to (^a-z?$) and must be a maximum of 63
|
38
|
+
characters in length. The value must start with a letter and end with
|
39
|
+
a letter or a number.
|
40
|
+
:param pulumi.Input[str] cidr: The subnet CIDR range for the Autonmous Database.
|
41
|
+
:param pulumi.Input[str] database: The name of the Autonomous Database. The database name must be unique in
|
42
|
+
the project. The name must begin with a letter and can
|
43
|
+
contain a maximum of 30 alphanumeric characters.
|
44
|
+
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. See documentation for resource type `oracledatabase.googleapis.com/AutonomousDatabaseBackup`.
|
45
|
+
:param pulumi.Input[str] network: The name of the VPC network used by the Autonomous Database.
|
46
|
+
Format: projects/{project}/global/networks/{network}
|
47
|
+
:param pulumi.Input['AutonomousDatabasePropertiesArgs'] properties: The properties of an Autonomous Database.
|
48
|
+
Structure is documented below.
|
49
|
+
:param pulumi.Input[str] admin_password: The password for the default ADMIN user.
|
50
|
+
:param pulumi.Input[str] display_name: The display name for the Autonomous Database. The name does not have to be unique within your project.
|
51
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels or tags associated with the Autonomous Database. **Note**: This field is non-authoritative, and will only
|
52
|
+
manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels
|
53
|
+
present on the resource.
|
54
|
+
"""
|
55
|
+
pulumi.set(__self__, "autonomous_database_id", autonomous_database_id)
|
56
|
+
pulumi.set(__self__, "cidr", cidr)
|
57
|
+
pulumi.set(__self__, "database", database)
|
58
|
+
pulumi.set(__self__, "location", location)
|
59
|
+
pulumi.set(__self__, "network", network)
|
60
|
+
pulumi.set(__self__, "properties", properties)
|
61
|
+
if admin_password is not None:
|
62
|
+
pulumi.set(__self__, "admin_password", admin_password)
|
63
|
+
if display_name is not None:
|
64
|
+
pulumi.set(__self__, "display_name", display_name)
|
65
|
+
if labels is not None:
|
66
|
+
pulumi.set(__self__, "labels", labels)
|
67
|
+
if project is not None:
|
68
|
+
pulumi.set(__self__, "project", project)
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="autonomousDatabaseId")
|
72
|
+
def autonomous_database_id(self) -> pulumi.Input[str]:
|
73
|
+
"""
|
74
|
+
The ID of the Autonomous Database to create. This value is restricted
|
75
|
+
to (^a-z?$) and must be a maximum of 63
|
76
|
+
characters in length. The value must start with a letter and end with
|
77
|
+
a letter or a number.
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "autonomous_database_id")
|
80
|
+
|
81
|
+
@autonomous_database_id.setter
|
82
|
+
def autonomous_database_id(self, value: pulumi.Input[str]):
|
83
|
+
pulumi.set(self, "autonomous_database_id", value)
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter
|
87
|
+
def cidr(self) -> pulumi.Input[str]:
|
88
|
+
"""
|
89
|
+
The subnet CIDR range for the Autonmous Database.
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "cidr")
|
92
|
+
|
93
|
+
@cidr.setter
|
94
|
+
def cidr(self, value: pulumi.Input[str]):
|
95
|
+
pulumi.set(self, "cidr", value)
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter
|
99
|
+
def database(self) -> pulumi.Input[str]:
|
100
|
+
"""
|
101
|
+
The name of the Autonomous Database. The database name must be unique in
|
102
|
+
the project. The name must begin with a letter and can
|
103
|
+
contain a maximum of 30 alphanumeric characters.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "database")
|
106
|
+
|
107
|
+
@database.setter
|
108
|
+
def database(self, value: pulumi.Input[str]):
|
109
|
+
pulumi.set(self, "database", value)
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter
|
113
|
+
def location(self) -> pulumi.Input[str]:
|
114
|
+
"""
|
115
|
+
Resource ID segment making up resource `name`. See documentation for resource type `oracledatabase.googleapis.com/AutonomousDatabaseBackup`.
|
116
|
+
"""
|
117
|
+
return pulumi.get(self, "location")
|
118
|
+
|
119
|
+
@location.setter
|
120
|
+
def location(self, value: pulumi.Input[str]):
|
121
|
+
pulumi.set(self, "location", value)
|
122
|
+
|
123
|
+
@property
|
124
|
+
@pulumi.getter
|
125
|
+
def network(self) -> pulumi.Input[str]:
|
126
|
+
"""
|
127
|
+
The name of the VPC network used by the Autonomous Database.
|
128
|
+
Format: projects/{project}/global/networks/{network}
|
129
|
+
"""
|
130
|
+
return pulumi.get(self, "network")
|
131
|
+
|
132
|
+
@network.setter
|
133
|
+
def network(self, value: pulumi.Input[str]):
|
134
|
+
pulumi.set(self, "network", value)
|
135
|
+
|
136
|
+
@property
|
137
|
+
@pulumi.getter
|
138
|
+
def properties(self) -> pulumi.Input['AutonomousDatabasePropertiesArgs']:
|
139
|
+
"""
|
140
|
+
The properties of an Autonomous Database.
|
141
|
+
Structure is documented below.
|
142
|
+
"""
|
143
|
+
return pulumi.get(self, "properties")
|
144
|
+
|
145
|
+
@properties.setter
|
146
|
+
def properties(self, value: pulumi.Input['AutonomousDatabasePropertiesArgs']):
|
147
|
+
pulumi.set(self, "properties", value)
|
148
|
+
|
149
|
+
@property
|
150
|
+
@pulumi.getter(name="adminPassword")
|
151
|
+
def admin_password(self) -> Optional[pulumi.Input[str]]:
|
152
|
+
"""
|
153
|
+
The password for the default ADMIN user.
|
154
|
+
"""
|
155
|
+
return pulumi.get(self, "admin_password")
|
156
|
+
|
157
|
+
@admin_password.setter
|
158
|
+
def admin_password(self, value: Optional[pulumi.Input[str]]):
|
159
|
+
pulumi.set(self, "admin_password", value)
|
160
|
+
|
161
|
+
@property
|
162
|
+
@pulumi.getter(name="displayName")
|
163
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
164
|
+
"""
|
165
|
+
The display name for the Autonomous Database. The name does not have to be unique within your project.
|
166
|
+
"""
|
167
|
+
return pulumi.get(self, "display_name")
|
168
|
+
|
169
|
+
@display_name.setter
|
170
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
171
|
+
pulumi.set(self, "display_name", value)
|
172
|
+
|
173
|
+
@property
|
174
|
+
@pulumi.getter
|
175
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
176
|
+
"""
|
177
|
+
The labels or tags associated with the Autonomous Database. **Note**: This field is non-authoritative, and will only
|
178
|
+
manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels
|
179
|
+
present on the resource.
|
180
|
+
"""
|
181
|
+
return pulumi.get(self, "labels")
|
182
|
+
|
183
|
+
@labels.setter
|
184
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
185
|
+
pulumi.set(self, "labels", value)
|
186
|
+
|
187
|
+
@property
|
188
|
+
@pulumi.getter
|
189
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
190
|
+
return pulumi.get(self, "project")
|
191
|
+
|
192
|
+
@project.setter
|
193
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
194
|
+
pulumi.set(self, "project", value)
|
195
|
+
|
196
|
+
|
197
|
+
@pulumi.input_type
|
198
|
+
class _AutonomousDatabaseState:
|
199
|
+
def __init__(__self__, *,
|
200
|
+
admin_password: Optional[pulumi.Input[str]] = None,
|
201
|
+
autonomous_database_id: Optional[pulumi.Input[str]] = None,
|
202
|
+
cidr: Optional[pulumi.Input[str]] = None,
|
203
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
204
|
+
database: Optional[pulumi.Input[str]] = None,
|
205
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
206
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
207
|
+
entitlement_id: Optional[pulumi.Input[str]] = None,
|
208
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
209
|
+
location: Optional[pulumi.Input[str]] = None,
|
210
|
+
name: Optional[pulumi.Input[str]] = None,
|
211
|
+
network: Optional[pulumi.Input[str]] = None,
|
212
|
+
project: Optional[pulumi.Input[str]] = None,
|
213
|
+
properties: Optional[pulumi.Input['AutonomousDatabasePropertiesArgs']] = None,
|
214
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
215
|
+
"""
|
216
|
+
Input properties used for looking up and filtering AutonomousDatabase resources.
|
217
|
+
:param pulumi.Input[str] admin_password: The password for the default ADMIN user.
|
218
|
+
:param pulumi.Input[str] autonomous_database_id: The ID of the Autonomous Database to create. This value is restricted
|
219
|
+
to (^a-z?$) and must be a maximum of 63
|
220
|
+
characters in length. The value must start with a letter and end with
|
221
|
+
a letter or a number.
|
222
|
+
:param pulumi.Input[str] cidr: The subnet CIDR range for the Autonmous Database.
|
223
|
+
:param pulumi.Input[str] create_time: The date and time that the Autonomous Database was created.
|
224
|
+
:param pulumi.Input[str] database: The name of the Autonomous Database. The database name must be unique in
|
225
|
+
the project. The name must begin with a letter and can
|
226
|
+
contain a maximum of 30 alphanumeric characters.
|
227
|
+
:param pulumi.Input[str] display_name: The display name for the Autonomous Database. The name does not have to be unique within your project.
|
228
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[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.
|
229
|
+
:param pulumi.Input[str] entitlement_id: The ID of the subscription entitlement associated with the Autonomous
|
230
|
+
Database.
|
231
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels or tags associated with the Autonomous Database. **Note**: This field is non-authoritative, and will only
|
232
|
+
manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels
|
233
|
+
present on the resource.
|
234
|
+
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. See documentation for resource type `oracledatabase.googleapis.com/AutonomousDatabaseBackup`.
|
235
|
+
:param pulumi.Input[str] name: Identifier. The name of the Autonomous Database resource in the following format:
|
236
|
+
projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
|
237
|
+
:param pulumi.Input[str] network: The name of the VPC network used by the Autonomous Database.
|
238
|
+
Format: projects/{project}/global/networks/{network}
|
239
|
+
:param pulumi.Input['AutonomousDatabasePropertiesArgs'] properties: The properties of an Autonomous Database.
|
240
|
+
Structure is documented below.
|
241
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
242
|
+
and default labels configured on the provider.
|
243
|
+
"""
|
244
|
+
if admin_password is not None:
|
245
|
+
pulumi.set(__self__, "admin_password", admin_password)
|
246
|
+
if autonomous_database_id is not None:
|
247
|
+
pulumi.set(__self__, "autonomous_database_id", autonomous_database_id)
|
248
|
+
if cidr is not None:
|
249
|
+
pulumi.set(__self__, "cidr", cidr)
|
250
|
+
if create_time is not None:
|
251
|
+
pulumi.set(__self__, "create_time", create_time)
|
252
|
+
if database is not None:
|
253
|
+
pulumi.set(__self__, "database", database)
|
254
|
+
if display_name is not None:
|
255
|
+
pulumi.set(__self__, "display_name", display_name)
|
256
|
+
if effective_labels is not None:
|
257
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
258
|
+
if entitlement_id is not None:
|
259
|
+
pulumi.set(__self__, "entitlement_id", entitlement_id)
|
260
|
+
if labels is not None:
|
261
|
+
pulumi.set(__self__, "labels", labels)
|
262
|
+
if location is not None:
|
263
|
+
pulumi.set(__self__, "location", location)
|
264
|
+
if name is not None:
|
265
|
+
pulumi.set(__self__, "name", name)
|
266
|
+
if network is not None:
|
267
|
+
pulumi.set(__self__, "network", network)
|
268
|
+
if project is not None:
|
269
|
+
pulumi.set(__self__, "project", project)
|
270
|
+
if properties is not None:
|
271
|
+
pulumi.set(__self__, "properties", properties)
|
272
|
+
if pulumi_labels is not None:
|
273
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
274
|
+
|
275
|
+
@property
|
276
|
+
@pulumi.getter(name="adminPassword")
|
277
|
+
def admin_password(self) -> Optional[pulumi.Input[str]]:
|
278
|
+
"""
|
279
|
+
The password for the default ADMIN user.
|
280
|
+
"""
|
281
|
+
return pulumi.get(self, "admin_password")
|
282
|
+
|
283
|
+
@admin_password.setter
|
284
|
+
def admin_password(self, value: Optional[pulumi.Input[str]]):
|
285
|
+
pulumi.set(self, "admin_password", value)
|
286
|
+
|
287
|
+
@property
|
288
|
+
@pulumi.getter(name="autonomousDatabaseId")
|
289
|
+
def autonomous_database_id(self) -> Optional[pulumi.Input[str]]:
|
290
|
+
"""
|
291
|
+
The ID of the Autonomous Database to create. This value is restricted
|
292
|
+
to (^a-z?$) and must be a maximum of 63
|
293
|
+
characters in length. The value must start with a letter and end with
|
294
|
+
a letter or a number.
|
295
|
+
"""
|
296
|
+
return pulumi.get(self, "autonomous_database_id")
|
297
|
+
|
298
|
+
@autonomous_database_id.setter
|
299
|
+
def autonomous_database_id(self, value: Optional[pulumi.Input[str]]):
|
300
|
+
pulumi.set(self, "autonomous_database_id", value)
|
301
|
+
|
302
|
+
@property
|
303
|
+
@pulumi.getter
|
304
|
+
def cidr(self) -> Optional[pulumi.Input[str]]:
|
305
|
+
"""
|
306
|
+
The subnet CIDR range for the Autonmous Database.
|
307
|
+
"""
|
308
|
+
return pulumi.get(self, "cidr")
|
309
|
+
|
310
|
+
@cidr.setter
|
311
|
+
def cidr(self, value: Optional[pulumi.Input[str]]):
|
312
|
+
pulumi.set(self, "cidr", value)
|
313
|
+
|
314
|
+
@property
|
315
|
+
@pulumi.getter(name="createTime")
|
316
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
317
|
+
"""
|
318
|
+
The date and time that the Autonomous Database was created.
|
319
|
+
"""
|
320
|
+
return pulumi.get(self, "create_time")
|
321
|
+
|
322
|
+
@create_time.setter
|
323
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
324
|
+
pulumi.set(self, "create_time", value)
|
325
|
+
|
326
|
+
@property
|
327
|
+
@pulumi.getter
|
328
|
+
def database(self) -> Optional[pulumi.Input[str]]:
|
329
|
+
"""
|
330
|
+
The name of the Autonomous Database. The database name must be unique in
|
331
|
+
the project. The name must begin with a letter and can
|
332
|
+
contain a maximum of 30 alphanumeric characters.
|
333
|
+
"""
|
334
|
+
return pulumi.get(self, "database")
|
335
|
+
|
336
|
+
@database.setter
|
337
|
+
def database(self, value: Optional[pulumi.Input[str]]):
|
338
|
+
pulumi.set(self, "database", value)
|
339
|
+
|
340
|
+
@property
|
341
|
+
@pulumi.getter(name="displayName")
|
342
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
343
|
+
"""
|
344
|
+
The display name for the Autonomous Database. The name does not have to be unique within your project.
|
345
|
+
"""
|
346
|
+
return pulumi.get(self, "display_name")
|
347
|
+
|
348
|
+
@display_name.setter
|
349
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
350
|
+
pulumi.set(self, "display_name", value)
|
351
|
+
|
352
|
+
@property
|
353
|
+
@pulumi.getter(name="effectiveLabels")
|
354
|
+
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
355
|
+
"""
|
356
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
357
|
+
"""
|
358
|
+
return pulumi.get(self, "effective_labels")
|
359
|
+
|
360
|
+
@effective_labels.setter
|
361
|
+
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
362
|
+
pulumi.set(self, "effective_labels", value)
|
363
|
+
|
364
|
+
@property
|
365
|
+
@pulumi.getter(name="entitlementId")
|
366
|
+
def entitlement_id(self) -> Optional[pulumi.Input[str]]:
|
367
|
+
"""
|
368
|
+
The ID of the subscription entitlement associated with the Autonomous
|
369
|
+
Database.
|
370
|
+
"""
|
371
|
+
return pulumi.get(self, "entitlement_id")
|
372
|
+
|
373
|
+
@entitlement_id.setter
|
374
|
+
def entitlement_id(self, value: Optional[pulumi.Input[str]]):
|
375
|
+
pulumi.set(self, "entitlement_id", value)
|
376
|
+
|
377
|
+
@property
|
378
|
+
@pulumi.getter
|
379
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
380
|
+
"""
|
381
|
+
The labels or tags associated with the Autonomous Database. **Note**: This field is non-authoritative, and will only
|
382
|
+
manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels
|
383
|
+
present on the resource.
|
384
|
+
"""
|
385
|
+
return pulumi.get(self, "labels")
|
386
|
+
|
387
|
+
@labels.setter
|
388
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
389
|
+
pulumi.set(self, "labels", value)
|
390
|
+
|
391
|
+
@property
|
392
|
+
@pulumi.getter
|
393
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
394
|
+
"""
|
395
|
+
Resource ID segment making up resource `name`. See documentation for resource type `oracledatabase.googleapis.com/AutonomousDatabaseBackup`.
|
396
|
+
"""
|
397
|
+
return pulumi.get(self, "location")
|
398
|
+
|
399
|
+
@location.setter
|
400
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
401
|
+
pulumi.set(self, "location", value)
|
402
|
+
|
403
|
+
@property
|
404
|
+
@pulumi.getter
|
405
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
406
|
+
"""
|
407
|
+
Identifier. The name of the Autonomous Database resource in the following format:
|
408
|
+
projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
|
409
|
+
"""
|
410
|
+
return pulumi.get(self, "name")
|
411
|
+
|
412
|
+
@name.setter
|
413
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
414
|
+
pulumi.set(self, "name", value)
|
415
|
+
|
416
|
+
@property
|
417
|
+
@pulumi.getter
|
418
|
+
def network(self) -> Optional[pulumi.Input[str]]:
|
419
|
+
"""
|
420
|
+
The name of the VPC network used by the Autonomous Database.
|
421
|
+
Format: projects/{project}/global/networks/{network}
|
422
|
+
"""
|
423
|
+
return pulumi.get(self, "network")
|
424
|
+
|
425
|
+
@network.setter
|
426
|
+
def network(self, value: Optional[pulumi.Input[str]]):
|
427
|
+
pulumi.set(self, "network", value)
|
428
|
+
|
429
|
+
@property
|
430
|
+
@pulumi.getter
|
431
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
432
|
+
return pulumi.get(self, "project")
|
433
|
+
|
434
|
+
@project.setter
|
435
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
436
|
+
pulumi.set(self, "project", value)
|
437
|
+
|
438
|
+
@property
|
439
|
+
@pulumi.getter
|
440
|
+
def properties(self) -> Optional[pulumi.Input['AutonomousDatabasePropertiesArgs']]:
|
441
|
+
"""
|
442
|
+
The properties of an Autonomous Database.
|
443
|
+
Structure is documented below.
|
444
|
+
"""
|
445
|
+
return pulumi.get(self, "properties")
|
446
|
+
|
447
|
+
@properties.setter
|
448
|
+
def properties(self, value: Optional[pulumi.Input['AutonomousDatabasePropertiesArgs']]):
|
449
|
+
pulumi.set(self, "properties", value)
|
450
|
+
|
451
|
+
@property
|
452
|
+
@pulumi.getter(name="pulumiLabels")
|
453
|
+
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
454
|
+
"""
|
455
|
+
The combination of labels configured directly on the resource
|
456
|
+
and default labels configured on the provider.
|
457
|
+
"""
|
458
|
+
return pulumi.get(self, "pulumi_labels")
|
459
|
+
|
460
|
+
@pulumi_labels.setter
|
461
|
+
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
462
|
+
pulumi.set(self, "pulumi_labels", value)
|
463
|
+
|
464
|
+
|
465
|
+
class AutonomousDatabase(pulumi.CustomResource):
|
466
|
+
@overload
|
467
|
+
def __init__(__self__,
|
468
|
+
resource_name: str,
|
469
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
470
|
+
admin_password: Optional[pulumi.Input[str]] = None,
|
471
|
+
autonomous_database_id: Optional[pulumi.Input[str]] = None,
|
472
|
+
cidr: Optional[pulumi.Input[str]] = None,
|
473
|
+
database: Optional[pulumi.Input[str]] = None,
|
474
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
475
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
476
|
+
location: Optional[pulumi.Input[str]] = None,
|
477
|
+
network: Optional[pulumi.Input[str]] = None,
|
478
|
+
project: Optional[pulumi.Input[str]] = None,
|
479
|
+
properties: Optional[pulumi.Input[Union['AutonomousDatabasePropertiesArgs', 'AutonomousDatabasePropertiesArgsDict']]] = None,
|
480
|
+
__props__=None):
|
481
|
+
"""
|
482
|
+
An AutonomousDatabase resource.
|
483
|
+
|
484
|
+
To get more information about AutonomousDatabase, see:
|
485
|
+
|
486
|
+
* [API documentation](https://cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.autonomousDatabases)
|
487
|
+
* How-to Guides
|
488
|
+
* [Create Autonomous databases](https://cloud.google.com/oracle/database/docs/create-databases)
|
489
|
+
|
490
|
+
## Example Usage
|
491
|
+
|
492
|
+
### Oracledatabase Autonomous Database Basic
|
493
|
+
|
494
|
+
```python
|
495
|
+
import pulumi
|
496
|
+
import pulumi_gcp as gcp
|
497
|
+
|
498
|
+
default = gcp.compute.get_network(name="new",
|
499
|
+
project="my-project")
|
500
|
+
my_adb = gcp.oracledatabase.AutonomousDatabase("myADB",
|
501
|
+
autonomous_database_id="my-instance",
|
502
|
+
location="us-east4",
|
503
|
+
project="my-project",
|
504
|
+
database="testdb",
|
505
|
+
admin_password="123Abpassword",
|
506
|
+
network=default.id,
|
507
|
+
cidr="10.5.0.0/24",
|
508
|
+
properties={
|
509
|
+
"compute_count": 2,
|
510
|
+
"data_storage_size_tb": 1,
|
511
|
+
"db_version": "19c",
|
512
|
+
"db_workload": "OLTP",
|
513
|
+
"license_type": "LICENSE_INCLUDED",
|
514
|
+
})
|
515
|
+
```
|
516
|
+
### Oracledatabase Autonomous Database Full
|
517
|
+
|
518
|
+
```python
|
519
|
+
import pulumi
|
520
|
+
import pulumi_gcp as gcp
|
521
|
+
|
522
|
+
default = gcp.compute.get_network(name="new",
|
523
|
+
project="my-project")
|
524
|
+
my_adb = gcp.oracledatabase.AutonomousDatabase("myADB",
|
525
|
+
autonomous_database_id="my-instance",
|
526
|
+
location="us-east4",
|
527
|
+
project="my-project",
|
528
|
+
display_name="autonomousDatabase displayname",
|
529
|
+
database="testdatabase",
|
530
|
+
admin_password="123Abpassword",
|
531
|
+
network=default.id,
|
532
|
+
cidr="10.5.0.0/24",
|
533
|
+
labels={
|
534
|
+
"label-one": "value-one",
|
535
|
+
},
|
536
|
+
properties={
|
537
|
+
"compute_count": 2,
|
538
|
+
"data_storage_size_gb": 48,
|
539
|
+
"db_version": "19c",
|
540
|
+
"db_edition": "STANDARD_EDITION",
|
541
|
+
"db_workload": "OLTP",
|
542
|
+
"is_auto_scaling_enabled": True,
|
543
|
+
"license_type": "BRING_YOUR_OWN_LICENSE",
|
544
|
+
"backup_retention_period_days": 60,
|
545
|
+
"character_set": "AL32UTF8",
|
546
|
+
"is_storage_auto_scaling_enabled": False,
|
547
|
+
"maintenance_schedule_type": "REGULAR",
|
548
|
+
"mtls_connection_required": False,
|
549
|
+
"n_character_set": "AL16UTF16",
|
550
|
+
"operations_insights_state": "NOT_ENABLED",
|
551
|
+
"customer_contacts": [{
|
552
|
+
"email": "xyz@example.com",
|
553
|
+
}],
|
554
|
+
"private_endpoint_ip": "10.5.0.11",
|
555
|
+
"private_endpoint_label": "testhost",
|
556
|
+
})
|
557
|
+
```
|
558
|
+
|
559
|
+
## Import
|
560
|
+
|
561
|
+
AutonomousDatabase can be imported using any of these accepted formats:
|
562
|
+
|
563
|
+
* `projects/{{project}}/locations/{{location}}/autonomousDatabases/{{autonomous_database_id}}`
|
564
|
+
|
565
|
+
* `{{project}}/{{location}}/{{autonomous_database_id}}`
|
566
|
+
|
567
|
+
* `{{location}}/{{autonomous_database_id}}`
|
568
|
+
|
569
|
+
When using the `pulumi import` command, AutonomousDatabase can be imported using one of the formats above. For example:
|
570
|
+
|
571
|
+
```sh
|
572
|
+
$ pulumi import gcp:oracledatabase/autonomousDatabase:AutonomousDatabase default projects/{{project}}/locations/{{location}}/autonomousDatabases/{{autonomous_database_id}}
|
573
|
+
```
|
574
|
+
|
575
|
+
```sh
|
576
|
+
$ pulumi import gcp:oracledatabase/autonomousDatabase:AutonomousDatabase default {{project}}/{{location}}/{{autonomous_database_id}}
|
577
|
+
```
|
578
|
+
|
579
|
+
```sh
|
580
|
+
$ pulumi import gcp:oracledatabase/autonomousDatabase:AutonomousDatabase default {{location}}/{{autonomous_database_id}}
|
581
|
+
```
|
582
|
+
|
583
|
+
:param str resource_name: The name of the resource.
|
584
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
585
|
+
:param pulumi.Input[str] admin_password: The password for the default ADMIN user.
|
586
|
+
:param pulumi.Input[str] autonomous_database_id: The ID of the Autonomous Database to create. This value is restricted
|
587
|
+
to (^a-z?$) and must be a maximum of 63
|
588
|
+
characters in length. The value must start with a letter and end with
|
589
|
+
a letter or a number.
|
590
|
+
:param pulumi.Input[str] cidr: The subnet CIDR range for the Autonmous Database.
|
591
|
+
:param pulumi.Input[str] database: The name of the Autonomous Database. The database name must be unique in
|
592
|
+
the project. The name must begin with a letter and can
|
593
|
+
contain a maximum of 30 alphanumeric characters.
|
594
|
+
:param pulumi.Input[str] display_name: The display name for the Autonomous Database. The name does not have to be unique within your project.
|
595
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels or tags associated with the Autonomous Database. **Note**: This field is non-authoritative, and will only
|
596
|
+
manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels
|
597
|
+
present on the resource.
|
598
|
+
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. See documentation for resource type `oracledatabase.googleapis.com/AutonomousDatabaseBackup`.
|
599
|
+
:param pulumi.Input[str] network: The name of the VPC network used by the Autonomous Database.
|
600
|
+
Format: projects/{project}/global/networks/{network}
|
601
|
+
:param pulumi.Input[Union['AutonomousDatabasePropertiesArgs', 'AutonomousDatabasePropertiesArgsDict']] properties: The properties of an Autonomous Database.
|
602
|
+
Structure is documented below.
|
603
|
+
"""
|
604
|
+
...
|
605
|
+
@overload
|
606
|
+
def __init__(__self__,
|
607
|
+
resource_name: str,
|
608
|
+
args: AutonomousDatabaseArgs,
|
609
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
610
|
+
"""
|
611
|
+
An AutonomousDatabase resource.
|
612
|
+
|
613
|
+
To get more information about AutonomousDatabase, see:
|
614
|
+
|
615
|
+
* [API documentation](https://cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.autonomousDatabases)
|
616
|
+
* How-to Guides
|
617
|
+
* [Create Autonomous databases](https://cloud.google.com/oracle/database/docs/create-databases)
|
618
|
+
|
619
|
+
## Example Usage
|
620
|
+
|
621
|
+
### Oracledatabase Autonomous Database Basic
|
622
|
+
|
623
|
+
```python
|
624
|
+
import pulumi
|
625
|
+
import pulumi_gcp as gcp
|
626
|
+
|
627
|
+
default = gcp.compute.get_network(name="new",
|
628
|
+
project="my-project")
|
629
|
+
my_adb = gcp.oracledatabase.AutonomousDatabase("myADB",
|
630
|
+
autonomous_database_id="my-instance",
|
631
|
+
location="us-east4",
|
632
|
+
project="my-project",
|
633
|
+
database="testdb",
|
634
|
+
admin_password="123Abpassword",
|
635
|
+
network=default.id,
|
636
|
+
cidr="10.5.0.0/24",
|
637
|
+
properties={
|
638
|
+
"compute_count": 2,
|
639
|
+
"data_storage_size_tb": 1,
|
640
|
+
"db_version": "19c",
|
641
|
+
"db_workload": "OLTP",
|
642
|
+
"license_type": "LICENSE_INCLUDED",
|
643
|
+
})
|
644
|
+
```
|
645
|
+
### Oracledatabase Autonomous Database Full
|
646
|
+
|
647
|
+
```python
|
648
|
+
import pulumi
|
649
|
+
import pulumi_gcp as gcp
|
650
|
+
|
651
|
+
default = gcp.compute.get_network(name="new",
|
652
|
+
project="my-project")
|
653
|
+
my_adb = gcp.oracledatabase.AutonomousDatabase("myADB",
|
654
|
+
autonomous_database_id="my-instance",
|
655
|
+
location="us-east4",
|
656
|
+
project="my-project",
|
657
|
+
display_name="autonomousDatabase displayname",
|
658
|
+
database="testdatabase",
|
659
|
+
admin_password="123Abpassword",
|
660
|
+
network=default.id,
|
661
|
+
cidr="10.5.0.0/24",
|
662
|
+
labels={
|
663
|
+
"label-one": "value-one",
|
664
|
+
},
|
665
|
+
properties={
|
666
|
+
"compute_count": 2,
|
667
|
+
"data_storage_size_gb": 48,
|
668
|
+
"db_version": "19c",
|
669
|
+
"db_edition": "STANDARD_EDITION",
|
670
|
+
"db_workload": "OLTP",
|
671
|
+
"is_auto_scaling_enabled": True,
|
672
|
+
"license_type": "BRING_YOUR_OWN_LICENSE",
|
673
|
+
"backup_retention_period_days": 60,
|
674
|
+
"character_set": "AL32UTF8",
|
675
|
+
"is_storage_auto_scaling_enabled": False,
|
676
|
+
"maintenance_schedule_type": "REGULAR",
|
677
|
+
"mtls_connection_required": False,
|
678
|
+
"n_character_set": "AL16UTF16",
|
679
|
+
"operations_insights_state": "NOT_ENABLED",
|
680
|
+
"customer_contacts": [{
|
681
|
+
"email": "xyz@example.com",
|
682
|
+
}],
|
683
|
+
"private_endpoint_ip": "10.5.0.11",
|
684
|
+
"private_endpoint_label": "testhost",
|
685
|
+
})
|
686
|
+
```
|
687
|
+
|
688
|
+
## Import
|
689
|
+
|
690
|
+
AutonomousDatabase can be imported using any of these accepted formats:
|
691
|
+
|
692
|
+
* `projects/{{project}}/locations/{{location}}/autonomousDatabases/{{autonomous_database_id}}`
|
693
|
+
|
694
|
+
* `{{project}}/{{location}}/{{autonomous_database_id}}`
|
695
|
+
|
696
|
+
* `{{location}}/{{autonomous_database_id}}`
|
697
|
+
|
698
|
+
When using the `pulumi import` command, AutonomousDatabase can be imported using one of the formats above. For example:
|
699
|
+
|
700
|
+
```sh
|
701
|
+
$ pulumi import gcp:oracledatabase/autonomousDatabase:AutonomousDatabase default projects/{{project}}/locations/{{location}}/autonomousDatabases/{{autonomous_database_id}}
|
702
|
+
```
|
703
|
+
|
704
|
+
```sh
|
705
|
+
$ pulumi import gcp:oracledatabase/autonomousDatabase:AutonomousDatabase default {{project}}/{{location}}/{{autonomous_database_id}}
|
706
|
+
```
|
707
|
+
|
708
|
+
```sh
|
709
|
+
$ pulumi import gcp:oracledatabase/autonomousDatabase:AutonomousDatabase default {{location}}/{{autonomous_database_id}}
|
710
|
+
```
|
711
|
+
|
712
|
+
:param str resource_name: The name of the resource.
|
713
|
+
:param AutonomousDatabaseArgs args: The arguments to use to populate this resource's properties.
|
714
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
715
|
+
"""
|
716
|
+
...
|
717
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
718
|
+
resource_args, opts = _utilities.get_resource_args_opts(AutonomousDatabaseArgs, pulumi.ResourceOptions, *args, **kwargs)
|
719
|
+
if resource_args is not None:
|
720
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
721
|
+
else:
|
722
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
723
|
+
|
724
|
+
def _internal_init(__self__,
|
725
|
+
resource_name: str,
|
726
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
727
|
+
admin_password: Optional[pulumi.Input[str]] = None,
|
728
|
+
autonomous_database_id: Optional[pulumi.Input[str]] = None,
|
729
|
+
cidr: Optional[pulumi.Input[str]] = None,
|
730
|
+
database: Optional[pulumi.Input[str]] = None,
|
731
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
732
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
733
|
+
location: Optional[pulumi.Input[str]] = None,
|
734
|
+
network: Optional[pulumi.Input[str]] = None,
|
735
|
+
project: Optional[pulumi.Input[str]] = None,
|
736
|
+
properties: Optional[pulumi.Input[Union['AutonomousDatabasePropertiesArgs', 'AutonomousDatabasePropertiesArgsDict']]] = None,
|
737
|
+
__props__=None):
|
738
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
739
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
740
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
741
|
+
if opts.id is None:
|
742
|
+
if __props__ is not None:
|
743
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
744
|
+
__props__ = AutonomousDatabaseArgs.__new__(AutonomousDatabaseArgs)
|
745
|
+
|
746
|
+
__props__.__dict__["admin_password"] = admin_password
|
747
|
+
if autonomous_database_id is None and not opts.urn:
|
748
|
+
raise TypeError("Missing required property 'autonomous_database_id'")
|
749
|
+
__props__.__dict__["autonomous_database_id"] = autonomous_database_id
|
750
|
+
if cidr is None and not opts.urn:
|
751
|
+
raise TypeError("Missing required property 'cidr'")
|
752
|
+
__props__.__dict__["cidr"] = cidr
|
753
|
+
if database is None and not opts.urn:
|
754
|
+
raise TypeError("Missing required property 'database'")
|
755
|
+
__props__.__dict__["database"] = database
|
756
|
+
__props__.__dict__["display_name"] = display_name
|
757
|
+
__props__.__dict__["labels"] = labels
|
758
|
+
if location is None and not opts.urn:
|
759
|
+
raise TypeError("Missing required property 'location'")
|
760
|
+
__props__.__dict__["location"] = location
|
761
|
+
if network is None and not opts.urn:
|
762
|
+
raise TypeError("Missing required property 'network'")
|
763
|
+
__props__.__dict__["network"] = network
|
764
|
+
__props__.__dict__["project"] = project
|
765
|
+
if properties is None and not opts.urn:
|
766
|
+
raise TypeError("Missing required property 'properties'")
|
767
|
+
__props__.__dict__["properties"] = properties
|
768
|
+
__props__.__dict__["create_time"] = None
|
769
|
+
__props__.__dict__["effective_labels"] = None
|
770
|
+
__props__.__dict__["entitlement_id"] = None
|
771
|
+
__props__.__dict__["name"] = None
|
772
|
+
__props__.__dict__["pulumi_labels"] = None
|
773
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
774
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
775
|
+
super(AutonomousDatabase, __self__).__init__(
|
776
|
+
'gcp:oracledatabase/autonomousDatabase:AutonomousDatabase',
|
777
|
+
resource_name,
|
778
|
+
__props__,
|
779
|
+
opts)
|
780
|
+
|
781
|
+
@staticmethod
|
782
|
+
def get(resource_name: str,
|
783
|
+
id: pulumi.Input[str],
|
784
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
785
|
+
admin_password: Optional[pulumi.Input[str]] = None,
|
786
|
+
autonomous_database_id: Optional[pulumi.Input[str]] = None,
|
787
|
+
cidr: Optional[pulumi.Input[str]] = None,
|
788
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
789
|
+
database: Optional[pulumi.Input[str]] = None,
|
790
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
791
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
792
|
+
entitlement_id: Optional[pulumi.Input[str]] = None,
|
793
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
794
|
+
location: Optional[pulumi.Input[str]] = None,
|
795
|
+
name: Optional[pulumi.Input[str]] = None,
|
796
|
+
network: Optional[pulumi.Input[str]] = None,
|
797
|
+
project: Optional[pulumi.Input[str]] = None,
|
798
|
+
properties: Optional[pulumi.Input[Union['AutonomousDatabasePropertiesArgs', 'AutonomousDatabasePropertiesArgsDict']]] = None,
|
799
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None) -> 'AutonomousDatabase':
|
800
|
+
"""
|
801
|
+
Get an existing AutonomousDatabase resource's state with the given name, id, and optional extra
|
802
|
+
properties used to qualify the lookup.
|
803
|
+
|
804
|
+
:param str resource_name: The unique name of the resulting resource.
|
805
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
806
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
807
|
+
:param pulumi.Input[str] admin_password: The password for the default ADMIN user.
|
808
|
+
:param pulumi.Input[str] autonomous_database_id: The ID of the Autonomous Database to create. This value is restricted
|
809
|
+
to (^a-z?$) and must be a maximum of 63
|
810
|
+
characters in length. The value must start with a letter and end with
|
811
|
+
a letter or a number.
|
812
|
+
:param pulumi.Input[str] cidr: The subnet CIDR range for the Autonmous Database.
|
813
|
+
:param pulumi.Input[str] create_time: The date and time that the Autonomous Database was created.
|
814
|
+
:param pulumi.Input[str] database: The name of the Autonomous Database. The database name must be unique in
|
815
|
+
the project. The name must begin with a letter and can
|
816
|
+
contain a maximum of 30 alphanumeric characters.
|
817
|
+
:param pulumi.Input[str] display_name: The display name for the Autonomous Database. The name does not have to be unique within your project.
|
818
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[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.
|
819
|
+
:param pulumi.Input[str] entitlement_id: The ID of the subscription entitlement associated with the Autonomous
|
820
|
+
Database.
|
821
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels or tags associated with the Autonomous Database. **Note**: This field is non-authoritative, and will only
|
822
|
+
manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels
|
823
|
+
present on the resource.
|
824
|
+
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. See documentation for resource type `oracledatabase.googleapis.com/AutonomousDatabaseBackup`.
|
825
|
+
:param pulumi.Input[str] name: Identifier. The name of the Autonomous Database resource in the following format:
|
826
|
+
projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
|
827
|
+
:param pulumi.Input[str] network: The name of the VPC network used by the Autonomous Database.
|
828
|
+
Format: projects/{project}/global/networks/{network}
|
829
|
+
:param pulumi.Input[Union['AutonomousDatabasePropertiesArgs', 'AutonomousDatabasePropertiesArgsDict']] properties: The properties of an Autonomous Database.
|
830
|
+
Structure is documented below.
|
831
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
832
|
+
and default labels configured on the provider.
|
833
|
+
"""
|
834
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
835
|
+
|
836
|
+
__props__ = _AutonomousDatabaseState.__new__(_AutonomousDatabaseState)
|
837
|
+
|
838
|
+
__props__.__dict__["admin_password"] = admin_password
|
839
|
+
__props__.__dict__["autonomous_database_id"] = autonomous_database_id
|
840
|
+
__props__.__dict__["cidr"] = cidr
|
841
|
+
__props__.__dict__["create_time"] = create_time
|
842
|
+
__props__.__dict__["database"] = database
|
843
|
+
__props__.__dict__["display_name"] = display_name
|
844
|
+
__props__.__dict__["effective_labels"] = effective_labels
|
845
|
+
__props__.__dict__["entitlement_id"] = entitlement_id
|
846
|
+
__props__.__dict__["labels"] = labels
|
847
|
+
__props__.__dict__["location"] = location
|
848
|
+
__props__.__dict__["name"] = name
|
849
|
+
__props__.__dict__["network"] = network
|
850
|
+
__props__.__dict__["project"] = project
|
851
|
+
__props__.__dict__["properties"] = properties
|
852
|
+
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
853
|
+
return AutonomousDatabase(resource_name, opts=opts, __props__=__props__)
|
854
|
+
|
855
|
+
@property
|
856
|
+
@pulumi.getter(name="adminPassword")
|
857
|
+
def admin_password(self) -> pulumi.Output[Optional[str]]:
|
858
|
+
"""
|
859
|
+
The password for the default ADMIN user.
|
860
|
+
"""
|
861
|
+
return pulumi.get(self, "admin_password")
|
862
|
+
|
863
|
+
@property
|
864
|
+
@pulumi.getter(name="autonomousDatabaseId")
|
865
|
+
def autonomous_database_id(self) -> pulumi.Output[str]:
|
866
|
+
"""
|
867
|
+
The ID of the Autonomous Database to create. This value is restricted
|
868
|
+
to (^a-z?$) and must be a maximum of 63
|
869
|
+
characters in length. The value must start with a letter and end with
|
870
|
+
a letter or a number.
|
871
|
+
"""
|
872
|
+
return pulumi.get(self, "autonomous_database_id")
|
873
|
+
|
874
|
+
@property
|
875
|
+
@pulumi.getter
|
876
|
+
def cidr(self) -> pulumi.Output[str]:
|
877
|
+
"""
|
878
|
+
The subnet CIDR range for the Autonmous Database.
|
879
|
+
"""
|
880
|
+
return pulumi.get(self, "cidr")
|
881
|
+
|
882
|
+
@property
|
883
|
+
@pulumi.getter(name="createTime")
|
884
|
+
def create_time(self) -> pulumi.Output[str]:
|
885
|
+
"""
|
886
|
+
The date and time that the Autonomous Database was created.
|
887
|
+
"""
|
888
|
+
return pulumi.get(self, "create_time")
|
889
|
+
|
890
|
+
@property
|
891
|
+
@pulumi.getter
|
892
|
+
def database(self) -> pulumi.Output[str]:
|
893
|
+
"""
|
894
|
+
The name of the Autonomous Database. The database name must be unique in
|
895
|
+
the project. The name must begin with a letter and can
|
896
|
+
contain a maximum of 30 alphanumeric characters.
|
897
|
+
"""
|
898
|
+
return pulumi.get(self, "database")
|
899
|
+
|
900
|
+
@property
|
901
|
+
@pulumi.getter(name="displayName")
|
902
|
+
def display_name(self) -> pulumi.Output[str]:
|
903
|
+
"""
|
904
|
+
The display name for the Autonomous Database. The name does not have to be unique within your project.
|
905
|
+
"""
|
906
|
+
return pulumi.get(self, "display_name")
|
907
|
+
|
908
|
+
@property
|
909
|
+
@pulumi.getter(name="effectiveLabels")
|
910
|
+
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
911
|
+
"""
|
912
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
913
|
+
"""
|
914
|
+
return pulumi.get(self, "effective_labels")
|
915
|
+
|
916
|
+
@property
|
917
|
+
@pulumi.getter(name="entitlementId")
|
918
|
+
def entitlement_id(self) -> pulumi.Output[str]:
|
919
|
+
"""
|
920
|
+
The ID of the subscription entitlement associated with the Autonomous
|
921
|
+
Database.
|
922
|
+
"""
|
923
|
+
return pulumi.get(self, "entitlement_id")
|
924
|
+
|
925
|
+
@property
|
926
|
+
@pulumi.getter
|
927
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
928
|
+
"""
|
929
|
+
The labels or tags associated with the Autonomous Database. **Note**: This field is non-authoritative, and will only
|
930
|
+
manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels
|
931
|
+
present on the resource.
|
932
|
+
"""
|
933
|
+
return pulumi.get(self, "labels")
|
934
|
+
|
935
|
+
@property
|
936
|
+
@pulumi.getter
|
937
|
+
def location(self) -> pulumi.Output[str]:
|
938
|
+
"""
|
939
|
+
Resource ID segment making up resource `name`. See documentation for resource type `oracledatabase.googleapis.com/AutonomousDatabaseBackup`.
|
940
|
+
"""
|
941
|
+
return pulumi.get(self, "location")
|
942
|
+
|
943
|
+
@property
|
944
|
+
@pulumi.getter
|
945
|
+
def name(self) -> pulumi.Output[str]:
|
946
|
+
"""
|
947
|
+
Identifier. The name of the Autonomous Database resource in the following format:
|
948
|
+
projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
|
949
|
+
"""
|
950
|
+
return pulumi.get(self, "name")
|
951
|
+
|
952
|
+
@property
|
953
|
+
@pulumi.getter
|
954
|
+
def network(self) -> pulumi.Output[str]:
|
955
|
+
"""
|
956
|
+
The name of the VPC network used by the Autonomous Database.
|
957
|
+
Format: projects/{project}/global/networks/{network}
|
958
|
+
"""
|
959
|
+
return pulumi.get(self, "network")
|
960
|
+
|
961
|
+
@property
|
962
|
+
@pulumi.getter
|
963
|
+
def project(self) -> pulumi.Output[str]:
|
964
|
+
return pulumi.get(self, "project")
|
965
|
+
|
966
|
+
@property
|
967
|
+
@pulumi.getter
|
968
|
+
def properties(self) -> pulumi.Output['outputs.AutonomousDatabaseProperties']:
|
969
|
+
"""
|
970
|
+
The properties of an Autonomous Database.
|
971
|
+
Structure is documented below.
|
972
|
+
"""
|
973
|
+
return pulumi.get(self, "properties")
|
974
|
+
|
975
|
+
@property
|
976
|
+
@pulumi.getter(name="pulumiLabels")
|
977
|
+
def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
978
|
+
"""
|
979
|
+
The combination of labels configured directly on the resource
|
980
|
+
and default labels configured on the provider.
|
981
|
+
"""
|
982
|
+
return pulumi.get(self, "pulumi_labels")
|
983
|
+
|