pulumi-gcp 8.7.0a1729200523__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.0a1729200523.dist-info → pulumi_gcp-8.7.0a1730196225.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.7.0a1729200523.dist-info → pulumi_gcp-8.7.0a1730196225.dist-info}/RECORD +111 -89
- {pulumi_gcp-8.7.0a1729200523.dist-info → pulumi_gcp-8.7.0a1730196225.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.7.0a1729200523.dist-info → pulumi_gcp-8.7.0a1730196225.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,290 @@
|
|
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
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetCloudVmClusterResult',
|
20
|
+
'AwaitableGetCloudVmClusterResult',
|
21
|
+
'get_cloud_vm_cluster',
|
22
|
+
'get_cloud_vm_cluster_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetCloudVmClusterResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getCloudVmCluster.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, backup_subnet_cidr=None, cidr=None, cloud_vm_cluster_id=None, create_time=None, display_name=None, effective_labels=None, exadata_infrastructure=None, gcp_oracle_zone=None, id=None, labels=None, location=None, name=None, network=None, project=None, properties=None, pulumi_labels=None):
|
31
|
+
if backup_subnet_cidr and not isinstance(backup_subnet_cidr, str):
|
32
|
+
raise TypeError("Expected argument 'backup_subnet_cidr' to be a str")
|
33
|
+
pulumi.set(__self__, "backup_subnet_cidr", backup_subnet_cidr)
|
34
|
+
if cidr and not isinstance(cidr, str):
|
35
|
+
raise TypeError("Expected argument 'cidr' to be a str")
|
36
|
+
pulumi.set(__self__, "cidr", cidr)
|
37
|
+
if cloud_vm_cluster_id and not isinstance(cloud_vm_cluster_id, str):
|
38
|
+
raise TypeError("Expected argument 'cloud_vm_cluster_id' to be a str")
|
39
|
+
pulumi.set(__self__, "cloud_vm_cluster_id", cloud_vm_cluster_id)
|
40
|
+
if create_time and not isinstance(create_time, str):
|
41
|
+
raise TypeError("Expected argument 'create_time' to be a str")
|
42
|
+
pulumi.set(__self__, "create_time", create_time)
|
43
|
+
if display_name and not isinstance(display_name, str):
|
44
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
45
|
+
pulumi.set(__self__, "display_name", display_name)
|
46
|
+
if effective_labels and not isinstance(effective_labels, dict):
|
47
|
+
raise TypeError("Expected argument 'effective_labels' to be a dict")
|
48
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
49
|
+
if exadata_infrastructure and not isinstance(exadata_infrastructure, str):
|
50
|
+
raise TypeError("Expected argument 'exadata_infrastructure' to be a str")
|
51
|
+
pulumi.set(__self__, "exadata_infrastructure", exadata_infrastructure)
|
52
|
+
if gcp_oracle_zone and not isinstance(gcp_oracle_zone, str):
|
53
|
+
raise TypeError("Expected argument 'gcp_oracle_zone' to be a str")
|
54
|
+
pulumi.set(__self__, "gcp_oracle_zone", gcp_oracle_zone)
|
55
|
+
if id and not isinstance(id, str):
|
56
|
+
raise TypeError("Expected argument 'id' to be a str")
|
57
|
+
pulumi.set(__self__, "id", id)
|
58
|
+
if labels and not isinstance(labels, dict):
|
59
|
+
raise TypeError("Expected argument 'labels' to be a dict")
|
60
|
+
pulumi.set(__self__, "labels", labels)
|
61
|
+
if location and not isinstance(location, str):
|
62
|
+
raise TypeError("Expected argument 'location' to be a str")
|
63
|
+
pulumi.set(__self__, "location", location)
|
64
|
+
if name and not isinstance(name, str):
|
65
|
+
raise TypeError("Expected argument 'name' to be a str")
|
66
|
+
pulumi.set(__self__, "name", name)
|
67
|
+
if network and not isinstance(network, str):
|
68
|
+
raise TypeError("Expected argument 'network' to be a str")
|
69
|
+
pulumi.set(__self__, "network", network)
|
70
|
+
if project and not isinstance(project, str):
|
71
|
+
raise TypeError("Expected argument 'project' to be a str")
|
72
|
+
pulumi.set(__self__, "project", project)
|
73
|
+
if properties and not isinstance(properties, list):
|
74
|
+
raise TypeError("Expected argument 'properties' to be a list")
|
75
|
+
pulumi.set(__self__, "properties", properties)
|
76
|
+
if pulumi_labels and not isinstance(pulumi_labels, dict):
|
77
|
+
raise TypeError("Expected argument 'pulumi_labels' to be a dict")
|
78
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
79
|
+
|
80
|
+
@property
|
81
|
+
@pulumi.getter(name="backupSubnetCidr")
|
82
|
+
def backup_subnet_cidr(self) -> str:
|
83
|
+
return pulumi.get(self, "backup_subnet_cidr")
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter
|
87
|
+
def cidr(self) -> str:
|
88
|
+
return pulumi.get(self, "cidr")
|
89
|
+
|
90
|
+
@property
|
91
|
+
@pulumi.getter(name="cloudVmClusterId")
|
92
|
+
def cloud_vm_cluster_id(self) -> str:
|
93
|
+
return pulumi.get(self, "cloud_vm_cluster_id")
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter(name="createTime")
|
97
|
+
def create_time(self) -> str:
|
98
|
+
return pulumi.get(self, "create_time")
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter(name="displayName")
|
102
|
+
def display_name(self) -> str:
|
103
|
+
return pulumi.get(self, "display_name")
|
104
|
+
|
105
|
+
@property
|
106
|
+
@pulumi.getter(name="effectiveLabels")
|
107
|
+
def effective_labels(self) -> Mapping[str, str]:
|
108
|
+
return pulumi.get(self, "effective_labels")
|
109
|
+
|
110
|
+
@property
|
111
|
+
@pulumi.getter(name="exadataInfrastructure")
|
112
|
+
def exadata_infrastructure(self) -> str:
|
113
|
+
return pulumi.get(self, "exadata_infrastructure")
|
114
|
+
|
115
|
+
@property
|
116
|
+
@pulumi.getter(name="gcpOracleZone")
|
117
|
+
def gcp_oracle_zone(self) -> str:
|
118
|
+
return pulumi.get(self, "gcp_oracle_zone")
|
119
|
+
|
120
|
+
@property
|
121
|
+
@pulumi.getter
|
122
|
+
def id(self) -> str:
|
123
|
+
"""
|
124
|
+
The provider-assigned unique ID for this managed resource.
|
125
|
+
"""
|
126
|
+
return pulumi.get(self, "id")
|
127
|
+
|
128
|
+
@property
|
129
|
+
@pulumi.getter
|
130
|
+
def labels(self) -> Mapping[str, str]:
|
131
|
+
return pulumi.get(self, "labels")
|
132
|
+
|
133
|
+
@property
|
134
|
+
@pulumi.getter
|
135
|
+
def location(self) -> str:
|
136
|
+
return pulumi.get(self, "location")
|
137
|
+
|
138
|
+
@property
|
139
|
+
@pulumi.getter
|
140
|
+
def name(self) -> str:
|
141
|
+
return pulumi.get(self, "name")
|
142
|
+
|
143
|
+
@property
|
144
|
+
@pulumi.getter
|
145
|
+
def network(self) -> str:
|
146
|
+
return pulumi.get(self, "network")
|
147
|
+
|
148
|
+
@property
|
149
|
+
@pulumi.getter
|
150
|
+
def project(self) -> Optional[str]:
|
151
|
+
return pulumi.get(self, "project")
|
152
|
+
|
153
|
+
@property
|
154
|
+
@pulumi.getter
|
155
|
+
def properties(self) -> Sequence['outputs.GetCloudVmClusterPropertyResult']:
|
156
|
+
return pulumi.get(self, "properties")
|
157
|
+
|
158
|
+
@property
|
159
|
+
@pulumi.getter(name="pulumiLabels")
|
160
|
+
def pulumi_labels(self) -> Mapping[str, str]:
|
161
|
+
return pulumi.get(self, "pulumi_labels")
|
162
|
+
|
163
|
+
|
164
|
+
class AwaitableGetCloudVmClusterResult(GetCloudVmClusterResult):
|
165
|
+
# pylint: disable=using-constant-test
|
166
|
+
def __await__(self):
|
167
|
+
if False:
|
168
|
+
yield self
|
169
|
+
return GetCloudVmClusterResult(
|
170
|
+
backup_subnet_cidr=self.backup_subnet_cidr,
|
171
|
+
cidr=self.cidr,
|
172
|
+
cloud_vm_cluster_id=self.cloud_vm_cluster_id,
|
173
|
+
create_time=self.create_time,
|
174
|
+
display_name=self.display_name,
|
175
|
+
effective_labels=self.effective_labels,
|
176
|
+
exadata_infrastructure=self.exadata_infrastructure,
|
177
|
+
gcp_oracle_zone=self.gcp_oracle_zone,
|
178
|
+
id=self.id,
|
179
|
+
labels=self.labels,
|
180
|
+
location=self.location,
|
181
|
+
name=self.name,
|
182
|
+
network=self.network,
|
183
|
+
project=self.project,
|
184
|
+
properties=self.properties,
|
185
|
+
pulumi_labels=self.pulumi_labels)
|
186
|
+
|
187
|
+
|
188
|
+
def get_cloud_vm_cluster(cloud_vm_cluster_id: Optional[str] = None,
|
189
|
+
location: Optional[str] = None,
|
190
|
+
project: Optional[str] = None,
|
191
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCloudVmClusterResult:
|
192
|
+
"""
|
193
|
+
Get information about a CloudVmCluster.
|
194
|
+
|
195
|
+
For more information see the
|
196
|
+
[API](https://cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudVmClusters).
|
197
|
+
|
198
|
+
## Example Usage
|
199
|
+
|
200
|
+
```python
|
201
|
+
import pulumi
|
202
|
+
import pulumi_gcp as gcp
|
203
|
+
|
204
|
+
my_vmcluster = gcp.oracledatabase.get_cloud_vm_cluster(location="us-east4",
|
205
|
+
cloud_vm_cluster_id="vmcluster-id")
|
206
|
+
```
|
207
|
+
|
208
|
+
|
209
|
+
:param str cloud_vm_cluster_id: The ID of the VM Cluster.
|
210
|
+
:param str location: The location of the resource.
|
211
|
+
|
212
|
+
- - -
|
213
|
+
:param str project: The project in which the resource belongs. If it
|
214
|
+
is not provided, the provider project is used.
|
215
|
+
"""
|
216
|
+
__args__ = dict()
|
217
|
+
__args__['cloudVmClusterId'] = cloud_vm_cluster_id
|
218
|
+
__args__['location'] = location
|
219
|
+
__args__['project'] = project
|
220
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
221
|
+
__ret__ = pulumi.runtime.invoke('gcp:oracledatabase/getCloudVmCluster:getCloudVmCluster', __args__, opts=opts, typ=GetCloudVmClusterResult).value
|
222
|
+
|
223
|
+
return AwaitableGetCloudVmClusterResult(
|
224
|
+
backup_subnet_cidr=pulumi.get(__ret__, 'backup_subnet_cidr'),
|
225
|
+
cidr=pulumi.get(__ret__, 'cidr'),
|
226
|
+
cloud_vm_cluster_id=pulumi.get(__ret__, 'cloud_vm_cluster_id'),
|
227
|
+
create_time=pulumi.get(__ret__, 'create_time'),
|
228
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
229
|
+
effective_labels=pulumi.get(__ret__, 'effective_labels'),
|
230
|
+
exadata_infrastructure=pulumi.get(__ret__, 'exadata_infrastructure'),
|
231
|
+
gcp_oracle_zone=pulumi.get(__ret__, 'gcp_oracle_zone'),
|
232
|
+
id=pulumi.get(__ret__, 'id'),
|
233
|
+
labels=pulumi.get(__ret__, 'labels'),
|
234
|
+
location=pulumi.get(__ret__, 'location'),
|
235
|
+
name=pulumi.get(__ret__, 'name'),
|
236
|
+
network=pulumi.get(__ret__, 'network'),
|
237
|
+
project=pulumi.get(__ret__, 'project'),
|
238
|
+
properties=pulumi.get(__ret__, 'properties'),
|
239
|
+
pulumi_labels=pulumi.get(__ret__, 'pulumi_labels'))
|
240
|
+
def get_cloud_vm_cluster_output(cloud_vm_cluster_id: Optional[pulumi.Input[str]] = None,
|
241
|
+
location: Optional[pulumi.Input[str]] = None,
|
242
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
243
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCloudVmClusterResult]:
|
244
|
+
"""
|
245
|
+
Get information about a CloudVmCluster.
|
246
|
+
|
247
|
+
For more information see the
|
248
|
+
[API](https://cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudVmClusters).
|
249
|
+
|
250
|
+
## Example Usage
|
251
|
+
|
252
|
+
```python
|
253
|
+
import pulumi
|
254
|
+
import pulumi_gcp as gcp
|
255
|
+
|
256
|
+
my_vmcluster = gcp.oracledatabase.get_cloud_vm_cluster(location="us-east4",
|
257
|
+
cloud_vm_cluster_id="vmcluster-id")
|
258
|
+
```
|
259
|
+
|
260
|
+
|
261
|
+
:param str cloud_vm_cluster_id: The ID of the VM Cluster.
|
262
|
+
:param str location: The location of the resource.
|
263
|
+
|
264
|
+
- - -
|
265
|
+
:param str project: The project in which the resource belongs. If it
|
266
|
+
is not provided, the provider project is used.
|
267
|
+
"""
|
268
|
+
__args__ = dict()
|
269
|
+
__args__['cloudVmClusterId'] = cloud_vm_cluster_id
|
270
|
+
__args__['location'] = location
|
271
|
+
__args__['project'] = project
|
272
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
273
|
+
__ret__ = pulumi.runtime.invoke_output('gcp:oracledatabase/getCloudVmCluster:getCloudVmCluster', __args__, opts=opts, typ=GetCloudVmClusterResult)
|
274
|
+
return __ret__.apply(lambda __response__: GetCloudVmClusterResult(
|
275
|
+
backup_subnet_cidr=pulumi.get(__response__, 'backup_subnet_cidr'),
|
276
|
+
cidr=pulumi.get(__response__, 'cidr'),
|
277
|
+
cloud_vm_cluster_id=pulumi.get(__response__, 'cloud_vm_cluster_id'),
|
278
|
+
create_time=pulumi.get(__response__, 'create_time'),
|
279
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
280
|
+
effective_labels=pulumi.get(__response__, 'effective_labels'),
|
281
|
+
exadata_infrastructure=pulumi.get(__response__, 'exadata_infrastructure'),
|
282
|
+
gcp_oracle_zone=pulumi.get(__response__, 'gcp_oracle_zone'),
|
283
|
+
id=pulumi.get(__response__, 'id'),
|
284
|
+
labels=pulumi.get(__response__, 'labels'),
|
285
|
+
location=pulumi.get(__response__, 'location'),
|
286
|
+
name=pulumi.get(__response__, 'name'),
|
287
|
+
network=pulumi.get(__response__, 'network'),
|
288
|
+
project=pulumi.get(__response__, 'project'),
|
289
|
+
properties=pulumi.get(__response__, 'properties'),
|
290
|
+
pulumi_labels=pulumi.get(__response__, 'pulumi_labels')))
|
@@ -0,0 +1,150 @@
|
|
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
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetCloudVmClustersResult',
|
20
|
+
'AwaitableGetCloudVmClustersResult',
|
21
|
+
'get_cloud_vm_clusters',
|
22
|
+
'get_cloud_vm_clusters_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetCloudVmClustersResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getCloudVmClusters.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, cloud_vm_clusters=None, id=None, location=None, project=None):
|
31
|
+
if cloud_vm_clusters and not isinstance(cloud_vm_clusters, list):
|
32
|
+
raise TypeError("Expected argument 'cloud_vm_clusters' to be a list")
|
33
|
+
pulumi.set(__self__, "cloud_vm_clusters", cloud_vm_clusters)
|
34
|
+
if id and not isinstance(id, str):
|
35
|
+
raise TypeError("Expected argument 'id' to be a str")
|
36
|
+
pulumi.set(__self__, "id", id)
|
37
|
+
if location and not isinstance(location, str):
|
38
|
+
raise TypeError("Expected argument 'location' to be a str")
|
39
|
+
pulumi.set(__self__, "location", location)
|
40
|
+
if project and not isinstance(project, str):
|
41
|
+
raise TypeError("Expected argument 'project' to be a str")
|
42
|
+
pulumi.set(__self__, "project", project)
|
43
|
+
|
44
|
+
@property
|
45
|
+
@pulumi.getter(name="cloudVmClusters")
|
46
|
+
def cloud_vm_clusters(self) -> Sequence['outputs.GetCloudVmClustersCloudVmClusterResult']:
|
47
|
+
return pulumi.get(self, "cloud_vm_clusters")
|
48
|
+
|
49
|
+
@property
|
50
|
+
@pulumi.getter
|
51
|
+
def id(self) -> str:
|
52
|
+
"""
|
53
|
+
The provider-assigned unique ID for this managed resource.
|
54
|
+
"""
|
55
|
+
return pulumi.get(self, "id")
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter
|
59
|
+
def location(self) -> str:
|
60
|
+
return pulumi.get(self, "location")
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter
|
64
|
+
def project(self) -> Optional[str]:
|
65
|
+
return pulumi.get(self, "project")
|
66
|
+
|
67
|
+
|
68
|
+
class AwaitableGetCloudVmClustersResult(GetCloudVmClustersResult):
|
69
|
+
# pylint: disable=using-constant-test
|
70
|
+
def __await__(self):
|
71
|
+
if False:
|
72
|
+
yield self
|
73
|
+
return GetCloudVmClustersResult(
|
74
|
+
cloud_vm_clusters=self.cloud_vm_clusters,
|
75
|
+
id=self.id,
|
76
|
+
location=self.location,
|
77
|
+
project=self.project)
|
78
|
+
|
79
|
+
|
80
|
+
def get_cloud_vm_clusters(location: Optional[str] = None,
|
81
|
+
project: Optional[str] = None,
|
82
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCloudVmClustersResult:
|
83
|
+
"""
|
84
|
+
List all CloudVmClusters.
|
85
|
+
|
86
|
+
For more information see the
|
87
|
+
[API](https://cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudVmClusters).
|
88
|
+
|
89
|
+
## Example Usage
|
90
|
+
|
91
|
+
```python
|
92
|
+
import pulumi
|
93
|
+
import pulumi_gcp as gcp
|
94
|
+
|
95
|
+
my_vmclusters = gcp.oracledatabase.get_cloud_vm_clusters(location="us-east4")
|
96
|
+
```
|
97
|
+
|
98
|
+
|
99
|
+
:param str location: The location of the resource.
|
100
|
+
|
101
|
+
- - -
|
102
|
+
:param str project: The project to which the resource belongs. If it
|
103
|
+
is not provided, the provider project is used.
|
104
|
+
"""
|
105
|
+
__args__ = dict()
|
106
|
+
__args__['location'] = location
|
107
|
+
__args__['project'] = project
|
108
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
109
|
+
__ret__ = pulumi.runtime.invoke('gcp:oracledatabase/getCloudVmClusters:getCloudVmClusters', __args__, opts=opts, typ=GetCloudVmClustersResult).value
|
110
|
+
|
111
|
+
return AwaitableGetCloudVmClustersResult(
|
112
|
+
cloud_vm_clusters=pulumi.get(__ret__, 'cloud_vm_clusters'),
|
113
|
+
id=pulumi.get(__ret__, 'id'),
|
114
|
+
location=pulumi.get(__ret__, 'location'),
|
115
|
+
project=pulumi.get(__ret__, 'project'))
|
116
|
+
def get_cloud_vm_clusters_output(location: Optional[pulumi.Input[str]] = None,
|
117
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
118
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCloudVmClustersResult]:
|
119
|
+
"""
|
120
|
+
List all CloudVmClusters.
|
121
|
+
|
122
|
+
For more information see the
|
123
|
+
[API](https://cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudVmClusters).
|
124
|
+
|
125
|
+
## Example Usage
|
126
|
+
|
127
|
+
```python
|
128
|
+
import pulumi
|
129
|
+
import pulumi_gcp as gcp
|
130
|
+
|
131
|
+
my_vmclusters = gcp.oracledatabase.get_cloud_vm_clusters(location="us-east4")
|
132
|
+
```
|
133
|
+
|
134
|
+
|
135
|
+
:param str location: The location of the resource.
|
136
|
+
|
137
|
+
- - -
|
138
|
+
:param str project: The project to which the resource belongs. If it
|
139
|
+
is not provided, the provider project is used.
|
140
|
+
"""
|
141
|
+
__args__ = dict()
|
142
|
+
__args__['location'] = location
|
143
|
+
__args__['project'] = project
|
144
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
145
|
+
__ret__ = pulumi.runtime.invoke_output('gcp:oracledatabase/getCloudVmClusters:getCloudVmClusters', __args__, opts=opts, typ=GetCloudVmClustersResult)
|
146
|
+
return __ret__.apply(lambda __response__: GetCloudVmClustersResult(
|
147
|
+
cloud_vm_clusters=pulumi.get(__response__, 'cloud_vm_clusters'),
|
148
|
+
id=pulumi.get(__response__, 'id'),
|
149
|
+
location=pulumi.get(__response__, 'location'),
|
150
|
+
project=pulumi.get(__response__, 'project')))
|
@@ -0,0 +1,245 @@
|
|
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
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetDbNodesResult',
|
20
|
+
'AwaitableGetDbNodesResult',
|
21
|
+
'get_db_nodes',
|
22
|
+
'get_db_nodes_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetDbNodesResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getDbNodes.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, cloud_vm_cluster=None, db_nodes=None, id=None, location=None, project=None):
|
31
|
+
if cloud_vm_cluster and not isinstance(cloud_vm_cluster, str):
|
32
|
+
raise TypeError("Expected argument 'cloud_vm_cluster' to be a str")
|
33
|
+
pulumi.set(__self__, "cloud_vm_cluster", cloud_vm_cluster)
|
34
|
+
if db_nodes and not isinstance(db_nodes, list):
|
35
|
+
raise TypeError("Expected argument 'db_nodes' to be a list")
|
36
|
+
pulumi.set(__self__, "db_nodes", db_nodes)
|
37
|
+
if id and not isinstance(id, str):
|
38
|
+
raise TypeError("Expected argument 'id' to be a str")
|
39
|
+
pulumi.set(__self__, "id", id)
|
40
|
+
if location and not isinstance(location, str):
|
41
|
+
raise TypeError("Expected argument 'location' to be a str")
|
42
|
+
pulumi.set(__self__, "location", location)
|
43
|
+
if project and not isinstance(project, str):
|
44
|
+
raise TypeError("Expected argument 'project' to be a str")
|
45
|
+
pulumi.set(__self__, "project", project)
|
46
|
+
|
47
|
+
@property
|
48
|
+
@pulumi.getter(name="cloudVmCluster")
|
49
|
+
def cloud_vm_cluster(self) -> str:
|
50
|
+
return pulumi.get(self, "cloud_vm_cluster")
|
51
|
+
|
52
|
+
@property
|
53
|
+
@pulumi.getter(name="dbNodes")
|
54
|
+
def db_nodes(self) -> Sequence['outputs.GetDbNodesDbNodeResult']:
|
55
|
+
return pulumi.get(self, "db_nodes")
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter
|
59
|
+
def id(self) -> str:
|
60
|
+
"""
|
61
|
+
The provider-assigned unique ID for this managed resource.
|
62
|
+
"""
|
63
|
+
return pulumi.get(self, "id")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter
|
67
|
+
def location(self) -> str:
|
68
|
+
return pulumi.get(self, "location")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter
|
72
|
+
def project(self) -> Optional[str]:
|
73
|
+
return pulumi.get(self, "project")
|
74
|
+
|
75
|
+
|
76
|
+
class AwaitableGetDbNodesResult(GetDbNodesResult):
|
77
|
+
# pylint: disable=using-constant-test
|
78
|
+
def __await__(self):
|
79
|
+
if False:
|
80
|
+
yield self
|
81
|
+
return GetDbNodesResult(
|
82
|
+
cloud_vm_cluster=self.cloud_vm_cluster,
|
83
|
+
db_nodes=self.db_nodes,
|
84
|
+
id=self.id,
|
85
|
+
location=self.location,
|
86
|
+
project=self.project)
|
87
|
+
|
88
|
+
|
89
|
+
def get_db_nodes(cloud_vm_cluster: Optional[str] = None,
|
90
|
+
location: Optional[str] = None,
|
91
|
+
project: Optional[str] = None,
|
92
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDbNodesResult:
|
93
|
+
"""
|
94
|
+
List all DbNodes of a Cloud VmCluster.
|
95
|
+
|
96
|
+
For more information see the
|
97
|
+
[API](https://cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudVmClusters.dbNodes).
|
98
|
+
|
99
|
+
## Example Usage
|
100
|
+
|
101
|
+
```python
|
102
|
+
import pulumi
|
103
|
+
import pulumi_gcp as gcp
|
104
|
+
|
105
|
+
my_db_nodes = gcp.oracledatabase.get_db_nodes(location="us-east4",
|
106
|
+
cloud_vm_cluster="vmcluster-id")
|
107
|
+
```
|
108
|
+
|
109
|
+
## Attributes reference
|
110
|
+
|
111
|
+
The following attributes are exported:
|
112
|
+
|
113
|
+
* `db_nodes` - List of dbNodes. Structure is documented below.
|
114
|
+
|
115
|
+
<a name="nested_dbnodes"></a> The `db_nodes` block supports:
|
116
|
+
|
117
|
+
* `name` - The name of the database node resource in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}/dbNodes/{db_node}
|
118
|
+
|
119
|
+
* `properties` - Various properties of the database node. Structure is documented below.
|
120
|
+
|
121
|
+
<a name="nested_properties"></a> The `properties` block supports:
|
122
|
+
|
123
|
+
* `ocid`- OCID of database node.
|
124
|
+
|
125
|
+
* `ocpu_count` - OCPU count per database node.
|
126
|
+
|
127
|
+
* `memory_size_gb` - The allocated memory in GBs on the database node.
|
128
|
+
|
129
|
+
* `db_node_storage_size_gb` - The allocated local node storage in GBs on the database node.
|
130
|
+
|
131
|
+
* `db_server_ocid` - The OCID of the Database server associated with the database node.
|
132
|
+
|
133
|
+
* `hostname` - The host name for the database node.
|
134
|
+
|
135
|
+
* `state` - State of the database node.
|
136
|
+
<a name="nested_states"></a>Possible values for `state` are:<br>
|
137
|
+
`PROVISIONING` - Indicates that the resource is being provisioned.<br>
|
138
|
+
`AVAILABLE` - Indicates that the resource is available.<br>
|
139
|
+
`UPDATING` - Indicates that the resource is being updated.<br>
|
140
|
+
`STOPPING` - Indicates that the resource is being stopped.<br>
|
141
|
+
`STOPPED` - Indicates that the resource is stopped.<br>
|
142
|
+
`STARTING` - Indicates that the resource is being started.<br>
|
143
|
+
`TERMINATING` - Indicates that the resource is being terminated.<br>
|
144
|
+
`TERMINATED` - Indicates that the resource is terminated.<br>
|
145
|
+
`FAILED` - Indicates that the resource has failed.<br>
|
146
|
+
|
147
|
+
* `total_cpu_core_count` - The total number of CPU cores reserved on the database node.
|
148
|
+
|
149
|
+
|
150
|
+
:param str cloud_vm_cluster: The ID of the VM Cluster.
|
151
|
+
:param str location: The location of the resource.
|
152
|
+
:param str project: The project in which the resource belongs. If it
|
153
|
+
is not provided, the provider project is used.
|
154
|
+
"""
|
155
|
+
__args__ = dict()
|
156
|
+
__args__['cloudVmCluster'] = cloud_vm_cluster
|
157
|
+
__args__['location'] = location
|
158
|
+
__args__['project'] = project
|
159
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
160
|
+
__ret__ = pulumi.runtime.invoke('gcp:oracledatabase/getDbNodes:getDbNodes', __args__, opts=opts, typ=GetDbNodesResult).value
|
161
|
+
|
162
|
+
return AwaitableGetDbNodesResult(
|
163
|
+
cloud_vm_cluster=pulumi.get(__ret__, 'cloud_vm_cluster'),
|
164
|
+
db_nodes=pulumi.get(__ret__, 'db_nodes'),
|
165
|
+
id=pulumi.get(__ret__, 'id'),
|
166
|
+
location=pulumi.get(__ret__, 'location'),
|
167
|
+
project=pulumi.get(__ret__, 'project'))
|
168
|
+
def get_db_nodes_output(cloud_vm_cluster: Optional[pulumi.Input[str]] = None,
|
169
|
+
location: Optional[pulumi.Input[str]] = None,
|
170
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
171
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDbNodesResult]:
|
172
|
+
"""
|
173
|
+
List all DbNodes of a Cloud VmCluster.
|
174
|
+
|
175
|
+
For more information see the
|
176
|
+
[API](https://cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudVmClusters.dbNodes).
|
177
|
+
|
178
|
+
## Example Usage
|
179
|
+
|
180
|
+
```python
|
181
|
+
import pulumi
|
182
|
+
import pulumi_gcp as gcp
|
183
|
+
|
184
|
+
my_db_nodes = gcp.oracledatabase.get_db_nodes(location="us-east4",
|
185
|
+
cloud_vm_cluster="vmcluster-id")
|
186
|
+
```
|
187
|
+
|
188
|
+
## Attributes reference
|
189
|
+
|
190
|
+
The following attributes are exported:
|
191
|
+
|
192
|
+
* `db_nodes` - List of dbNodes. Structure is documented below.
|
193
|
+
|
194
|
+
<a name="nested_dbnodes"></a> The `db_nodes` block supports:
|
195
|
+
|
196
|
+
* `name` - The name of the database node resource in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}/dbNodes/{db_node}
|
197
|
+
|
198
|
+
* `properties` - Various properties of the database node. Structure is documented below.
|
199
|
+
|
200
|
+
<a name="nested_properties"></a> The `properties` block supports:
|
201
|
+
|
202
|
+
* `ocid`- OCID of database node.
|
203
|
+
|
204
|
+
* `ocpu_count` - OCPU count per database node.
|
205
|
+
|
206
|
+
* `memory_size_gb` - The allocated memory in GBs on the database node.
|
207
|
+
|
208
|
+
* `db_node_storage_size_gb` - The allocated local node storage in GBs on the database node.
|
209
|
+
|
210
|
+
* `db_server_ocid` - The OCID of the Database server associated with the database node.
|
211
|
+
|
212
|
+
* `hostname` - The host name for the database node.
|
213
|
+
|
214
|
+
* `state` - State of the database node.
|
215
|
+
<a name="nested_states"></a>Possible values for `state` are:<br>
|
216
|
+
`PROVISIONING` - Indicates that the resource is being provisioned.<br>
|
217
|
+
`AVAILABLE` - Indicates that the resource is available.<br>
|
218
|
+
`UPDATING` - Indicates that the resource is being updated.<br>
|
219
|
+
`STOPPING` - Indicates that the resource is being stopped.<br>
|
220
|
+
`STOPPED` - Indicates that the resource is stopped.<br>
|
221
|
+
`STARTING` - Indicates that the resource is being started.<br>
|
222
|
+
`TERMINATING` - Indicates that the resource is being terminated.<br>
|
223
|
+
`TERMINATED` - Indicates that the resource is terminated.<br>
|
224
|
+
`FAILED` - Indicates that the resource has failed.<br>
|
225
|
+
|
226
|
+
* `total_cpu_core_count` - The total number of CPU cores reserved on the database node.
|
227
|
+
|
228
|
+
|
229
|
+
:param str cloud_vm_cluster: The ID of the VM Cluster.
|
230
|
+
:param str location: The location of the resource.
|
231
|
+
:param str project: The project in which the resource belongs. If it
|
232
|
+
is not provided, the provider project is used.
|
233
|
+
"""
|
234
|
+
__args__ = dict()
|
235
|
+
__args__['cloudVmCluster'] = cloud_vm_cluster
|
236
|
+
__args__['location'] = location
|
237
|
+
__args__['project'] = project
|
238
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
239
|
+
__ret__ = pulumi.runtime.invoke_output('gcp:oracledatabase/getDbNodes:getDbNodes', __args__, opts=opts, typ=GetDbNodesResult)
|
240
|
+
return __ret__.apply(lambda __response__: GetDbNodesResult(
|
241
|
+
cloud_vm_cluster=pulumi.get(__response__, 'cloud_vm_cluster'),
|
242
|
+
db_nodes=pulumi.get(__response__, 'db_nodes'),
|
243
|
+
id=pulumi.get(__response__, 'id'),
|
244
|
+
location=pulumi.get(__response__, 'location'),
|
245
|
+
project=pulumi.get(__response__, 'project')))
|