pulumi-gcp 8.9.0a1731366299__py3-none-any.whl → 8.9.0a1731432418__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 +64 -0
- pulumi_gcp/activedirectory/domain.py +24 -0
- pulumi_gcp/apigee/__init__.py +1 -0
- pulumi_gcp/apigee/_inputs.py +74 -0
- pulumi_gcp/apigee/api.py +456 -0
- pulumi_gcp/apigee/outputs.py +65 -0
- pulumi_gcp/applicationintegration/auth_config.py +24 -0
- pulumi_gcp/backupdisasterrecovery/__init__.py +4 -0
- pulumi_gcp/backupdisasterrecovery/_inputs.py +533 -0
- pulumi_gcp/backupdisasterrecovery/backup_plan.py +653 -0
- pulumi_gcp/backupdisasterrecovery/backup_plan_association.py +766 -0
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +146 -6
- pulumi_gcp/backupdisasterrecovery/get_backup_plan.py +204 -0
- pulumi_gcp/backupdisasterrecovery/get_backup_plan_association.py +243 -0
- pulumi_gcp/backupdisasterrecovery/outputs.py +702 -0
- pulumi_gcp/bigquery/data_transfer_config.py +24 -0
- pulumi_gcp/cloudrunv2/_inputs.py +46 -0
- pulumi_gcp/cloudrunv2/job.py +0 -2
- pulumi_gcp/cloudrunv2/outputs.py +60 -2
- pulumi_gcp/cloudrunv2/service.py +0 -2
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +2163 -256
- pulumi_gcp/compute/disk.py +7 -7
- pulumi_gcp/compute/firewall_policy_rule.py +108 -54
- pulumi_gcp/compute/get_region_instance_group_manager.py +12 -1
- pulumi_gcp/compute/health_check.py +42 -42
- pulumi_gcp/compute/network_firewall_policy_rule.py +4 -4
- pulumi_gcp/compute/network_firewall_policy_with_rules.py +10 -10
- pulumi_gcp/compute/node_template.py +95 -0
- pulumi_gcp/compute/outputs.py +1639 -213
- pulumi_gcp/compute/region_disk.py +7 -7
- pulumi_gcp/compute/region_health_check.py +42 -42
- pulumi_gcp/compute/region_instance_group_manager.py +54 -14
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +4 -4
- pulumi_gcp/compute/region_network_firewall_policy_with_rules.py +10 -10
- pulumi_gcp/compute/region_resize_request.py +772 -0
- pulumi_gcp/compute/region_security_policy.py +120 -0
- pulumi_gcp/compute/region_security_policy_rule.py +6 -6
- pulumi_gcp/compute/router_peer.py +56 -35
- pulumi_gcp/compute/security_scan_config.py +8 -8
- pulumi_gcp/config/__init__.pyi +4 -0
- pulumi_gcp/config/vars.py +8 -0
- pulumi_gcp/container/_inputs.py +345 -10
- pulumi_gcp/container/cluster.py +101 -0
- pulumi_gcp/container/get_cluster.py +23 -1
- pulumi_gcp/container/outputs.py +456 -8
- pulumi_gcp/dataloss/prevention_discovery_config.py +7 -7
- pulumi_gcp/dataproc/__init__.py +2 -0
- pulumi_gcp/dataproc/_inputs.py +101 -0
- pulumi_gcp/dataproc/gdc_application_environment.py +931 -0
- pulumi_gcp/dataproc/gdc_service_instance.py +1022 -0
- pulumi_gcp/dataproc/outputs.py +94 -0
- pulumi_gcp/edgecontainer/vpn_connection.py +4 -4
- pulumi_gcp/firebase/android_app.py +2 -2
- pulumi_gcp/firebase/apple_app.py +2 -2
- pulumi_gcp/firebase/web_app.py +2 -2
- pulumi_gcp/firestore/index.py +44 -0
- pulumi_gcp/gkeonprem/_inputs.py +15 -15
- pulumi_gcp/gkeonprem/outputs.py +10 -10
- pulumi_gcp/healthcare/dataset.py +7 -7
- pulumi_gcp/healthcare/dicom_store.py +7 -7
- pulumi_gcp/healthcare/fhir_store.py +7 -7
- pulumi_gcp/healthcare/hl7_store.py +14 -14
- pulumi_gcp/iam/__init__.py +1 -0
- pulumi_gcp/iam/_inputs.py +161 -0
- pulumi_gcp/iam/outputs.py +114 -0
- pulumi_gcp/iam/principal_access_boundary_policy.py +679 -0
- pulumi_gcp/logging/metric.py +2 -2
- pulumi_gcp/looker/_inputs.py +6 -0
- pulumi_gcp/looker/instance.py +169 -321
- pulumi_gcp/looker/outputs.py +4 -0
- pulumi_gcp/memorystore/instance.py +4 -0
- pulumi_gcp/monitoring/alert_policy.py +24 -0
- pulumi_gcp/monitoring/custom_service.py +24 -0
- pulumi_gcp/monitoring/group.py +24 -0
- pulumi_gcp/monitoring/metric_descriptor.py +24 -0
- pulumi_gcp/monitoring/slo.py +24 -0
- pulumi_gcp/monitoring/uptime_check_config.py +24 -0
- pulumi_gcp/networkmanagement/__init__.py +1 -0
- pulumi_gcp/networkmanagement/vpc_flow_logs_config.py +1358 -0
- pulumi_gcp/osconfig/patch_deployment.py +8 -8
- pulumi_gcp/provider.py +40 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +3 -3
- pulumi_gcp/redis/outputs.py +2 -2
- pulumi_gcp/securitycenter/notification_config.py +4 -16
- pulumi_gcp/securitycenter/project_notification_config.py +0 -24
- pulumi_gcp/securitycenter/v2_organization_notification_config.py +4 -16
- pulumi_gcp/spanner/__init__.py +1 -0
- pulumi_gcp/spanner/_inputs.py +9 -9
- pulumi_gcp/spanner/get_database.py +229 -0
- pulumi_gcp/spanner/get_instance.py +12 -1
- pulumi_gcp/spanner/instance.py +70 -0
- pulumi_gcp/spanner/outputs.py +46 -12
- pulumi_gcp/sql/_inputs.py +26 -0
- pulumi_gcp/sql/database_instance.py +124 -11
- pulumi_gcp/sql/get_database_instance.py +12 -1
- pulumi_gcp/sql/outputs.py +51 -0
- pulumi_gcp/storage/_inputs.py +3 -3
- pulumi_gcp/storage/outputs.py +2 -2
- pulumi_gcp/tags/tag_binding.py +4 -4
- pulumi_gcp/tags/tag_value.py +2 -2
- pulumi_gcp/transcoder/job.py +24 -0
- pulumi_gcp/vertex/_inputs.py +184 -0
- pulumi_gcp/vertex/ai_endpoint.py +394 -8
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/outputs.py +166 -0
- pulumi_gcp/workbench/instance.py +21 -7
- pulumi_gcp/workflows/workflow.py +36 -0
- pulumi_gcp/workstations/workstation_config.py +8 -8
- {pulumi_gcp-8.9.0a1731366299.dist-info → pulumi_gcp-8.9.0a1731432418.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.9.0a1731366299.dist-info → pulumi_gcp-8.9.0a1731432418.dist-info}/RECORD +114 -103
- {pulumi_gcp-8.9.0a1731366299.dist-info → pulumi_gcp-8.9.0a1731432418.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.9.0a1731366299.dist-info → pulumi_gcp-8.9.0a1731432418.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,931 @@
|
|
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__ = ['GdcApplicationEnvironmentArgs', 'GdcApplicationEnvironment']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class GdcApplicationEnvironmentArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
location: pulumi.Input[str],
|
25
|
+
serviceinstance: pulumi.Input[str],
|
26
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
27
|
+
application_environment_id: Optional[pulumi.Input[str]] = None,
|
28
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
29
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
30
|
+
namespace: Optional[pulumi.Input[str]] = None,
|
31
|
+
project: Optional[pulumi.Input[str]] = None,
|
32
|
+
spark_application_environment_config: Optional[pulumi.Input['GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs']] = None):
|
33
|
+
"""
|
34
|
+
The set of arguments for constructing a GdcApplicationEnvironment resource.
|
35
|
+
:param pulumi.Input[str] location: The location of the application environment
|
36
|
+
:param pulumi.Input[str] serviceinstance: The id of the service instance to which this application environment belongs.
|
37
|
+
|
38
|
+
|
39
|
+
- - -
|
40
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: The annotations to associate with this application environment. Annotations may be used to store client information, but are not used by the server.
|
41
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
42
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
43
|
+
:param pulumi.Input[str] application_environment_id: The id of the application environment
|
44
|
+
:param pulumi.Input[str] display_name: User-provided human-readable name to be used in user interfaces.
|
45
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels to associate with this application environment. Labels may be used for filtering and billing tracking.
|
46
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
47
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
48
|
+
:param pulumi.Input[str] namespace: The name of the namespace in which to create this ApplicationEnvironment. This namespace must already exist in the cluster
|
49
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
50
|
+
If it is not provided, the provider project is used.
|
51
|
+
:param pulumi.Input['GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs'] spark_application_environment_config: Represents the SparkApplicationEnvironmentConfig.
|
52
|
+
Structure is documented below.
|
53
|
+
"""
|
54
|
+
pulumi.set(__self__, "location", location)
|
55
|
+
pulumi.set(__self__, "serviceinstance", serviceinstance)
|
56
|
+
if annotations is not None:
|
57
|
+
pulumi.set(__self__, "annotations", annotations)
|
58
|
+
if application_environment_id is not None:
|
59
|
+
pulumi.set(__self__, "application_environment_id", application_environment_id)
|
60
|
+
if display_name is not None:
|
61
|
+
pulumi.set(__self__, "display_name", display_name)
|
62
|
+
if labels is not None:
|
63
|
+
pulumi.set(__self__, "labels", labels)
|
64
|
+
if namespace is not None:
|
65
|
+
pulumi.set(__self__, "namespace", namespace)
|
66
|
+
if project is not None:
|
67
|
+
pulumi.set(__self__, "project", project)
|
68
|
+
if spark_application_environment_config is not None:
|
69
|
+
pulumi.set(__self__, "spark_application_environment_config", spark_application_environment_config)
|
70
|
+
|
71
|
+
@property
|
72
|
+
@pulumi.getter
|
73
|
+
def location(self) -> pulumi.Input[str]:
|
74
|
+
"""
|
75
|
+
The location of the application environment
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "location")
|
78
|
+
|
79
|
+
@location.setter
|
80
|
+
def location(self, value: pulumi.Input[str]):
|
81
|
+
pulumi.set(self, "location", value)
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter
|
85
|
+
def serviceinstance(self) -> pulumi.Input[str]:
|
86
|
+
"""
|
87
|
+
The id of the service instance to which this application environment belongs.
|
88
|
+
|
89
|
+
|
90
|
+
- - -
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "serviceinstance")
|
93
|
+
|
94
|
+
@serviceinstance.setter
|
95
|
+
def serviceinstance(self, value: pulumi.Input[str]):
|
96
|
+
pulumi.set(self, "serviceinstance", value)
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter
|
100
|
+
def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
101
|
+
"""
|
102
|
+
The annotations to associate with this application environment. Annotations may be used to store client information, but are not used by the server.
|
103
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
104
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "annotations")
|
107
|
+
|
108
|
+
@annotations.setter
|
109
|
+
def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
110
|
+
pulumi.set(self, "annotations", value)
|
111
|
+
|
112
|
+
@property
|
113
|
+
@pulumi.getter(name="applicationEnvironmentId")
|
114
|
+
def application_environment_id(self) -> Optional[pulumi.Input[str]]:
|
115
|
+
"""
|
116
|
+
The id of the application environment
|
117
|
+
"""
|
118
|
+
return pulumi.get(self, "application_environment_id")
|
119
|
+
|
120
|
+
@application_environment_id.setter
|
121
|
+
def application_environment_id(self, value: Optional[pulumi.Input[str]]):
|
122
|
+
pulumi.set(self, "application_environment_id", value)
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter(name="displayName")
|
126
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
127
|
+
"""
|
128
|
+
User-provided human-readable name to be used in user interfaces.
|
129
|
+
"""
|
130
|
+
return pulumi.get(self, "display_name")
|
131
|
+
|
132
|
+
@display_name.setter
|
133
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
134
|
+
pulumi.set(self, "display_name", value)
|
135
|
+
|
136
|
+
@property
|
137
|
+
@pulumi.getter
|
138
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
139
|
+
"""
|
140
|
+
The labels to associate with this application environment. Labels may be used for filtering and billing tracking.
|
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[str]]]]):
|
148
|
+
pulumi.set(self, "labels", value)
|
149
|
+
|
150
|
+
@property
|
151
|
+
@pulumi.getter
|
152
|
+
def namespace(self) -> Optional[pulumi.Input[str]]:
|
153
|
+
"""
|
154
|
+
The name of the namespace in which to create this ApplicationEnvironment. This namespace must already exist in the cluster
|
155
|
+
"""
|
156
|
+
return pulumi.get(self, "namespace")
|
157
|
+
|
158
|
+
@namespace.setter
|
159
|
+
def namespace(self, value: Optional[pulumi.Input[str]]):
|
160
|
+
pulumi.set(self, "namespace", value)
|
161
|
+
|
162
|
+
@property
|
163
|
+
@pulumi.getter
|
164
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
165
|
+
"""
|
166
|
+
The ID of the project in which the resource belongs.
|
167
|
+
If it is not provided, the provider project is used.
|
168
|
+
"""
|
169
|
+
return pulumi.get(self, "project")
|
170
|
+
|
171
|
+
@project.setter
|
172
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
173
|
+
pulumi.set(self, "project", value)
|
174
|
+
|
175
|
+
@property
|
176
|
+
@pulumi.getter(name="sparkApplicationEnvironmentConfig")
|
177
|
+
def spark_application_environment_config(self) -> Optional[pulumi.Input['GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs']]:
|
178
|
+
"""
|
179
|
+
Represents the SparkApplicationEnvironmentConfig.
|
180
|
+
Structure is documented below.
|
181
|
+
"""
|
182
|
+
return pulumi.get(self, "spark_application_environment_config")
|
183
|
+
|
184
|
+
@spark_application_environment_config.setter
|
185
|
+
def spark_application_environment_config(self, value: Optional[pulumi.Input['GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs']]):
|
186
|
+
pulumi.set(self, "spark_application_environment_config", value)
|
187
|
+
|
188
|
+
|
189
|
+
@pulumi.input_type
|
190
|
+
class _GdcApplicationEnvironmentState:
|
191
|
+
def __init__(__self__, *,
|
192
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
193
|
+
application_environment_id: Optional[pulumi.Input[str]] = None,
|
194
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
195
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
196
|
+
effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
197
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
198
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
199
|
+
location: Optional[pulumi.Input[str]] = None,
|
200
|
+
name: Optional[pulumi.Input[str]] = None,
|
201
|
+
namespace: Optional[pulumi.Input[str]] = None,
|
202
|
+
project: Optional[pulumi.Input[str]] = None,
|
203
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
204
|
+
serviceinstance: Optional[pulumi.Input[str]] = None,
|
205
|
+
spark_application_environment_config: Optional[pulumi.Input['GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs']] = None,
|
206
|
+
uid: Optional[pulumi.Input[str]] = None,
|
207
|
+
update_time: Optional[pulumi.Input[str]] = None):
|
208
|
+
"""
|
209
|
+
Input properties used for looking up and filtering GdcApplicationEnvironment resources.
|
210
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: The annotations to associate with this application environment. Annotations may be used to store client information, but are not used by the server.
|
211
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
212
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
213
|
+
:param pulumi.Input[str] application_environment_id: The id of the application environment
|
214
|
+
:param pulumi.Input[str] create_time: The timestamp when the resource was created.
|
215
|
+
:param pulumi.Input[str] display_name: User-provided human-readable name to be used in user interfaces.
|
216
|
+
: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.
|
217
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels to associate with this application environment. Labels may be used for filtering and billing tracking.
|
218
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
219
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
220
|
+
:param pulumi.Input[str] location: The location of the application environment
|
221
|
+
:param pulumi.Input[str] name: Identifier. The name of the application environment. Format: projects/{project}/locations/{location}/serviceInstances/{service_instance}/applicationEnvironments/{application_environment_id}
|
222
|
+
:param pulumi.Input[str] namespace: The name of the namespace in which to create this ApplicationEnvironment. This namespace must already exist in the cluster
|
223
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
224
|
+
If it is not provided, the provider project is used.
|
225
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
226
|
+
and default labels configured on the provider.
|
227
|
+
:param pulumi.Input[str] serviceinstance: The id of the service instance to which this application environment belongs.
|
228
|
+
|
229
|
+
|
230
|
+
- - -
|
231
|
+
:param pulumi.Input['GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs'] spark_application_environment_config: Represents the SparkApplicationEnvironmentConfig.
|
232
|
+
Structure is documented below.
|
233
|
+
:param pulumi.Input[str] uid: System generated unique identifier for this application environment, formatted as UUID4.
|
234
|
+
:param pulumi.Input[str] update_time: The timestamp when the resource was most recently updated.
|
235
|
+
"""
|
236
|
+
if annotations is not None:
|
237
|
+
pulumi.set(__self__, "annotations", annotations)
|
238
|
+
if application_environment_id is not None:
|
239
|
+
pulumi.set(__self__, "application_environment_id", application_environment_id)
|
240
|
+
if create_time is not None:
|
241
|
+
pulumi.set(__self__, "create_time", create_time)
|
242
|
+
if display_name is not None:
|
243
|
+
pulumi.set(__self__, "display_name", display_name)
|
244
|
+
if effective_annotations is not None:
|
245
|
+
pulumi.set(__self__, "effective_annotations", effective_annotations)
|
246
|
+
if effective_labels is not None:
|
247
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
248
|
+
if labels is not None:
|
249
|
+
pulumi.set(__self__, "labels", labels)
|
250
|
+
if location is not None:
|
251
|
+
pulumi.set(__self__, "location", location)
|
252
|
+
if name is not None:
|
253
|
+
pulumi.set(__self__, "name", name)
|
254
|
+
if namespace is not None:
|
255
|
+
pulumi.set(__self__, "namespace", namespace)
|
256
|
+
if project is not None:
|
257
|
+
pulumi.set(__self__, "project", project)
|
258
|
+
if pulumi_labels is not None:
|
259
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
260
|
+
if serviceinstance is not None:
|
261
|
+
pulumi.set(__self__, "serviceinstance", serviceinstance)
|
262
|
+
if spark_application_environment_config is not None:
|
263
|
+
pulumi.set(__self__, "spark_application_environment_config", spark_application_environment_config)
|
264
|
+
if uid is not None:
|
265
|
+
pulumi.set(__self__, "uid", uid)
|
266
|
+
if update_time is not None:
|
267
|
+
pulumi.set(__self__, "update_time", update_time)
|
268
|
+
|
269
|
+
@property
|
270
|
+
@pulumi.getter
|
271
|
+
def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
272
|
+
"""
|
273
|
+
The annotations to associate with this application environment. Annotations may be used to store client information, but are not used by the server.
|
274
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
275
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
276
|
+
"""
|
277
|
+
return pulumi.get(self, "annotations")
|
278
|
+
|
279
|
+
@annotations.setter
|
280
|
+
def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
281
|
+
pulumi.set(self, "annotations", value)
|
282
|
+
|
283
|
+
@property
|
284
|
+
@pulumi.getter(name="applicationEnvironmentId")
|
285
|
+
def application_environment_id(self) -> Optional[pulumi.Input[str]]:
|
286
|
+
"""
|
287
|
+
The id of the application environment
|
288
|
+
"""
|
289
|
+
return pulumi.get(self, "application_environment_id")
|
290
|
+
|
291
|
+
@application_environment_id.setter
|
292
|
+
def application_environment_id(self, value: Optional[pulumi.Input[str]]):
|
293
|
+
pulumi.set(self, "application_environment_id", value)
|
294
|
+
|
295
|
+
@property
|
296
|
+
@pulumi.getter(name="createTime")
|
297
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
298
|
+
"""
|
299
|
+
The timestamp when the resource was created.
|
300
|
+
"""
|
301
|
+
return pulumi.get(self, "create_time")
|
302
|
+
|
303
|
+
@create_time.setter
|
304
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
305
|
+
pulumi.set(self, "create_time", value)
|
306
|
+
|
307
|
+
@property
|
308
|
+
@pulumi.getter(name="displayName")
|
309
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
310
|
+
"""
|
311
|
+
User-provided human-readable name to be used in user interfaces.
|
312
|
+
"""
|
313
|
+
return pulumi.get(self, "display_name")
|
314
|
+
|
315
|
+
@display_name.setter
|
316
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
317
|
+
pulumi.set(self, "display_name", value)
|
318
|
+
|
319
|
+
@property
|
320
|
+
@pulumi.getter(name="effectiveAnnotations")
|
321
|
+
def effective_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
322
|
+
return pulumi.get(self, "effective_annotations")
|
323
|
+
|
324
|
+
@effective_annotations.setter
|
325
|
+
def effective_annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
326
|
+
pulumi.set(self, "effective_annotations", value)
|
327
|
+
|
328
|
+
@property
|
329
|
+
@pulumi.getter(name="effectiveLabels")
|
330
|
+
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
331
|
+
"""
|
332
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
333
|
+
"""
|
334
|
+
return pulumi.get(self, "effective_labels")
|
335
|
+
|
336
|
+
@effective_labels.setter
|
337
|
+
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
338
|
+
pulumi.set(self, "effective_labels", value)
|
339
|
+
|
340
|
+
@property
|
341
|
+
@pulumi.getter
|
342
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
343
|
+
"""
|
344
|
+
The labels to associate with this application environment. Labels may be used for filtering and billing tracking.
|
345
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
346
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
347
|
+
"""
|
348
|
+
return pulumi.get(self, "labels")
|
349
|
+
|
350
|
+
@labels.setter
|
351
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
352
|
+
pulumi.set(self, "labels", value)
|
353
|
+
|
354
|
+
@property
|
355
|
+
@pulumi.getter
|
356
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
357
|
+
"""
|
358
|
+
The location of the application environment
|
359
|
+
"""
|
360
|
+
return pulumi.get(self, "location")
|
361
|
+
|
362
|
+
@location.setter
|
363
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
364
|
+
pulumi.set(self, "location", value)
|
365
|
+
|
366
|
+
@property
|
367
|
+
@pulumi.getter
|
368
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
369
|
+
"""
|
370
|
+
Identifier. The name of the application environment. Format: projects/{project}/locations/{location}/serviceInstances/{service_instance}/applicationEnvironments/{application_environment_id}
|
371
|
+
"""
|
372
|
+
return pulumi.get(self, "name")
|
373
|
+
|
374
|
+
@name.setter
|
375
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
376
|
+
pulumi.set(self, "name", value)
|
377
|
+
|
378
|
+
@property
|
379
|
+
@pulumi.getter
|
380
|
+
def namespace(self) -> Optional[pulumi.Input[str]]:
|
381
|
+
"""
|
382
|
+
The name of the namespace in which to create this ApplicationEnvironment. This namespace must already exist in the cluster
|
383
|
+
"""
|
384
|
+
return pulumi.get(self, "namespace")
|
385
|
+
|
386
|
+
@namespace.setter
|
387
|
+
def namespace(self, value: Optional[pulumi.Input[str]]):
|
388
|
+
pulumi.set(self, "namespace", value)
|
389
|
+
|
390
|
+
@property
|
391
|
+
@pulumi.getter
|
392
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
393
|
+
"""
|
394
|
+
The ID of the project in which the resource belongs.
|
395
|
+
If it is not provided, the provider project is used.
|
396
|
+
"""
|
397
|
+
return pulumi.get(self, "project")
|
398
|
+
|
399
|
+
@project.setter
|
400
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
401
|
+
pulumi.set(self, "project", value)
|
402
|
+
|
403
|
+
@property
|
404
|
+
@pulumi.getter(name="pulumiLabels")
|
405
|
+
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
406
|
+
"""
|
407
|
+
The combination of labels configured directly on the resource
|
408
|
+
and default labels configured on the provider.
|
409
|
+
"""
|
410
|
+
return pulumi.get(self, "pulumi_labels")
|
411
|
+
|
412
|
+
@pulumi_labels.setter
|
413
|
+
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
414
|
+
pulumi.set(self, "pulumi_labels", value)
|
415
|
+
|
416
|
+
@property
|
417
|
+
@pulumi.getter
|
418
|
+
def serviceinstance(self) -> Optional[pulumi.Input[str]]:
|
419
|
+
"""
|
420
|
+
The id of the service instance to which this application environment belongs.
|
421
|
+
|
422
|
+
|
423
|
+
- - -
|
424
|
+
"""
|
425
|
+
return pulumi.get(self, "serviceinstance")
|
426
|
+
|
427
|
+
@serviceinstance.setter
|
428
|
+
def serviceinstance(self, value: Optional[pulumi.Input[str]]):
|
429
|
+
pulumi.set(self, "serviceinstance", value)
|
430
|
+
|
431
|
+
@property
|
432
|
+
@pulumi.getter(name="sparkApplicationEnvironmentConfig")
|
433
|
+
def spark_application_environment_config(self) -> Optional[pulumi.Input['GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs']]:
|
434
|
+
"""
|
435
|
+
Represents the SparkApplicationEnvironmentConfig.
|
436
|
+
Structure is documented below.
|
437
|
+
"""
|
438
|
+
return pulumi.get(self, "spark_application_environment_config")
|
439
|
+
|
440
|
+
@spark_application_environment_config.setter
|
441
|
+
def spark_application_environment_config(self, value: Optional[pulumi.Input['GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs']]):
|
442
|
+
pulumi.set(self, "spark_application_environment_config", value)
|
443
|
+
|
444
|
+
@property
|
445
|
+
@pulumi.getter
|
446
|
+
def uid(self) -> Optional[pulumi.Input[str]]:
|
447
|
+
"""
|
448
|
+
System generated unique identifier for this application environment, formatted as UUID4.
|
449
|
+
"""
|
450
|
+
return pulumi.get(self, "uid")
|
451
|
+
|
452
|
+
@uid.setter
|
453
|
+
def uid(self, value: Optional[pulumi.Input[str]]):
|
454
|
+
pulumi.set(self, "uid", value)
|
455
|
+
|
456
|
+
@property
|
457
|
+
@pulumi.getter(name="updateTime")
|
458
|
+
def update_time(self) -> Optional[pulumi.Input[str]]:
|
459
|
+
"""
|
460
|
+
The timestamp when the resource was most recently updated.
|
461
|
+
"""
|
462
|
+
return pulumi.get(self, "update_time")
|
463
|
+
|
464
|
+
@update_time.setter
|
465
|
+
def update_time(self, value: Optional[pulumi.Input[str]]):
|
466
|
+
pulumi.set(self, "update_time", value)
|
467
|
+
|
468
|
+
|
469
|
+
class GdcApplicationEnvironment(pulumi.CustomResource):
|
470
|
+
@overload
|
471
|
+
def __init__(__self__,
|
472
|
+
resource_name: str,
|
473
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
474
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
475
|
+
application_environment_id: Optional[pulumi.Input[str]] = None,
|
476
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
477
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
478
|
+
location: Optional[pulumi.Input[str]] = None,
|
479
|
+
namespace: Optional[pulumi.Input[str]] = None,
|
480
|
+
project: Optional[pulumi.Input[str]] = None,
|
481
|
+
serviceinstance: Optional[pulumi.Input[str]] = None,
|
482
|
+
spark_application_environment_config: Optional[pulumi.Input[Union['GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs', 'GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgsDict']]] = None,
|
483
|
+
__props__=None):
|
484
|
+
"""
|
485
|
+
An ApplicationEnvironment contains shared configuration that may be referenced by multiple SparkApplications.
|
486
|
+
|
487
|
+
To get more information about ApplicationEnvironment, see:
|
488
|
+
|
489
|
+
* [API documentation](https://cloud.google.com/dataproc-gdc/docs/reference/rest/v1/projects.locations.applicationEnvironments)
|
490
|
+
* How-to Guides
|
491
|
+
* [Dataproc Intro](https://cloud.google.com/dataproc/)
|
492
|
+
|
493
|
+
## Example Usage
|
494
|
+
|
495
|
+
### Dataprocgdc Applicationenvironment Basic
|
496
|
+
|
497
|
+
```python
|
498
|
+
import pulumi
|
499
|
+
import pulumi_gcp as gcp
|
500
|
+
|
501
|
+
application_environment = gcp.dataproc.GdcApplicationEnvironment("application-environment",
|
502
|
+
application_environment_id="dp-tf-e2e-application-environment-basic",
|
503
|
+
serviceinstance="do-not-delete-dataproc-gdc-instance",
|
504
|
+
project="my-project",
|
505
|
+
location="us-west2",
|
506
|
+
namespace="default")
|
507
|
+
```
|
508
|
+
### Dataprocgdc Applicationenvironment
|
509
|
+
|
510
|
+
```python
|
511
|
+
import pulumi
|
512
|
+
import pulumi_gcp as gcp
|
513
|
+
|
514
|
+
application_environment = gcp.dataproc.GdcApplicationEnvironment("application-environment",
|
515
|
+
application_environment_id="dp-tf-e2e-application-environment",
|
516
|
+
serviceinstance="do-not-delete-dataproc-gdc-instance",
|
517
|
+
project="my-project",
|
518
|
+
location="us-west2",
|
519
|
+
namespace="default",
|
520
|
+
display_name="An application environment",
|
521
|
+
labels={
|
522
|
+
"test-label": "label-value",
|
523
|
+
},
|
524
|
+
annotations={
|
525
|
+
"an_annotation": "annotation_value",
|
526
|
+
},
|
527
|
+
spark_application_environment_config={
|
528
|
+
"default_properties": {
|
529
|
+
"spark.executor.memory": "4g",
|
530
|
+
},
|
531
|
+
"default_version": "1.2",
|
532
|
+
})
|
533
|
+
```
|
534
|
+
|
535
|
+
## Import
|
536
|
+
|
537
|
+
ApplicationEnvironment can be imported using any of these accepted formats:
|
538
|
+
|
539
|
+
* `projects/{{project}}/locations/{{location}}/serviceInstances/{{serviceinstance}}/applicationEnvironments/{{application_environment_id}}`
|
540
|
+
|
541
|
+
* `{{project}}/{{location}}/{{serviceinstance}}/{{application_environment_id}}`
|
542
|
+
|
543
|
+
* `{{location}}/{{serviceinstance}}/{{application_environment_id}}`
|
544
|
+
|
545
|
+
When using the `pulumi import` command, ApplicationEnvironment can be imported using one of the formats above. For example:
|
546
|
+
|
547
|
+
```sh
|
548
|
+
$ pulumi import gcp:dataproc/gdcApplicationEnvironment:GdcApplicationEnvironment default projects/{{project}}/locations/{{location}}/serviceInstances/{{serviceinstance}}/applicationEnvironments/{{application_environment_id}}
|
549
|
+
```
|
550
|
+
|
551
|
+
```sh
|
552
|
+
$ pulumi import gcp:dataproc/gdcApplicationEnvironment:GdcApplicationEnvironment default {{project}}/{{location}}/{{serviceinstance}}/{{application_environment_id}}
|
553
|
+
```
|
554
|
+
|
555
|
+
```sh
|
556
|
+
$ pulumi import gcp:dataproc/gdcApplicationEnvironment:GdcApplicationEnvironment default {{location}}/{{serviceinstance}}/{{application_environment_id}}
|
557
|
+
```
|
558
|
+
|
559
|
+
:param str resource_name: The name of the resource.
|
560
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
561
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: The annotations to associate with this application environment. Annotations may be used to store client information, but are not used by the server.
|
562
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
563
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
564
|
+
:param pulumi.Input[str] application_environment_id: The id of the application environment
|
565
|
+
:param pulumi.Input[str] display_name: User-provided human-readable name to be used in user interfaces.
|
566
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels to associate with this application environment. Labels may be used for filtering and billing tracking.
|
567
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
568
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
569
|
+
:param pulumi.Input[str] location: The location of the application environment
|
570
|
+
:param pulumi.Input[str] namespace: The name of the namespace in which to create this ApplicationEnvironment. This namespace must already exist in the cluster
|
571
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
572
|
+
If it is not provided, the provider project is used.
|
573
|
+
:param pulumi.Input[str] serviceinstance: The id of the service instance to which this application environment belongs.
|
574
|
+
|
575
|
+
|
576
|
+
- - -
|
577
|
+
:param pulumi.Input[Union['GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs', 'GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgsDict']] spark_application_environment_config: Represents the SparkApplicationEnvironmentConfig.
|
578
|
+
Structure is documented below.
|
579
|
+
"""
|
580
|
+
...
|
581
|
+
@overload
|
582
|
+
def __init__(__self__,
|
583
|
+
resource_name: str,
|
584
|
+
args: GdcApplicationEnvironmentArgs,
|
585
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
586
|
+
"""
|
587
|
+
An ApplicationEnvironment contains shared configuration that may be referenced by multiple SparkApplications.
|
588
|
+
|
589
|
+
To get more information about ApplicationEnvironment, see:
|
590
|
+
|
591
|
+
* [API documentation](https://cloud.google.com/dataproc-gdc/docs/reference/rest/v1/projects.locations.applicationEnvironments)
|
592
|
+
* How-to Guides
|
593
|
+
* [Dataproc Intro](https://cloud.google.com/dataproc/)
|
594
|
+
|
595
|
+
## Example Usage
|
596
|
+
|
597
|
+
### Dataprocgdc Applicationenvironment Basic
|
598
|
+
|
599
|
+
```python
|
600
|
+
import pulumi
|
601
|
+
import pulumi_gcp as gcp
|
602
|
+
|
603
|
+
application_environment = gcp.dataproc.GdcApplicationEnvironment("application-environment",
|
604
|
+
application_environment_id="dp-tf-e2e-application-environment-basic",
|
605
|
+
serviceinstance="do-not-delete-dataproc-gdc-instance",
|
606
|
+
project="my-project",
|
607
|
+
location="us-west2",
|
608
|
+
namespace="default")
|
609
|
+
```
|
610
|
+
### Dataprocgdc Applicationenvironment
|
611
|
+
|
612
|
+
```python
|
613
|
+
import pulumi
|
614
|
+
import pulumi_gcp as gcp
|
615
|
+
|
616
|
+
application_environment = gcp.dataproc.GdcApplicationEnvironment("application-environment",
|
617
|
+
application_environment_id="dp-tf-e2e-application-environment",
|
618
|
+
serviceinstance="do-not-delete-dataproc-gdc-instance",
|
619
|
+
project="my-project",
|
620
|
+
location="us-west2",
|
621
|
+
namespace="default",
|
622
|
+
display_name="An application environment",
|
623
|
+
labels={
|
624
|
+
"test-label": "label-value",
|
625
|
+
},
|
626
|
+
annotations={
|
627
|
+
"an_annotation": "annotation_value",
|
628
|
+
},
|
629
|
+
spark_application_environment_config={
|
630
|
+
"default_properties": {
|
631
|
+
"spark.executor.memory": "4g",
|
632
|
+
},
|
633
|
+
"default_version": "1.2",
|
634
|
+
})
|
635
|
+
```
|
636
|
+
|
637
|
+
## Import
|
638
|
+
|
639
|
+
ApplicationEnvironment can be imported using any of these accepted formats:
|
640
|
+
|
641
|
+
* `projects/{{project}}/locations/{{location}}/serviceInstances/{{serviceinstance}}/applicationEnvironments/{{application_environment_id}}`
|
642
|
+
|
643
|
+
* `{{project}}/{{location}}/{{serviceinstance}}/{{application_environment_id}}`
|
644
|
+
|
645
|
+
* `{{location}}/{{serviceinstance}}/{{application_environment_id}}`
|
646
|
+
|
647
|
+
When using the `pulumi import` command, ApplicationEnvironment can be imported using one of the formats above. For example:
|
648
|
+
|
649
|
+
```sh
|
650
|
+
$ pulumi import gcp:dataproc/gdcApplicationEnvironment:GdcApplicationEnvironment default projects/{{project}}/locations/{{location}}/serviceInstances/{{serviceinstance}}/applicationEnvironments/{{application_environment_id}}
|
651
|
+
```
|
652
|
+
|
653
|
+
```sh
|
654
|
+
$ pulumi import gcp:dataproc/gdcApplicationEnvironment:GdcApplicationEnvironment default {{project}}/{{location}}/{{serviceinstance}}/{{application_environment_id}}
|
655
|
+
```
|
656
|
+
|
657
|
+
```sh
|
658
|
+
$ pulumi import gcp:dataproc/gdcApplicationEnvironment:GdcApplicationEnvironment default {{location}}/{{serviceinstance}}/{{application_environment_id}}
|
659
|
+
```
|
660
|
+
|
661
|
+
:param str resource_name: The name of the resource.
|
662
|
+
:param GdcApplicationEnvironmentArgs args: The arguments to use to populate this resource's properties.
|
663
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
664
|
+
"""
|
665
|
+
...
|
666
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
667
|
+
resource_args, opts = _utilities.get_resource_args_opts(GdcApplicationEnvironmentArgs, pulumi.ResourceOptions, *args, **kwargs)
|
668
|
+
if resource_args is not None:
|
669
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
670
|
+
else:
|
671
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
672
|
+
|
673
|
+
def _internal_init(__self__,
|
674
|
+
resource_name: str,
|
675
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
676
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
677
|
+
application_environment_id: Optional[pulumi.Input[str]] = None,
|
678
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
679
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
680
|
+
location: Optional[pulumi.Input[str]] = None,
|
681
|
+
namespace: Optional[pulumi.Input[str]] = None,
|
682
|
+
project: Optional[pulumi.Input[str]] = None,
|
683
|
+
serviceinstance: Optional[pulumi.Input[str]] = None,
|
684
|
+
spark_application_environment_config: Optional[pulumi.Input[Union['GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs', 'GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgsDict']]] = None,
|
685
|
+
__props__=None):
|
686
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
687
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
688
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
689
|
+
if opts.id is None:
|
690
|
+
if __props__ is not None:
|
691
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
692
|
+
__props__ = GdcApplicationEnvironmentArgs.__new__(GdcApplicationEnvironmentArgs)
|
693
|
+
|
694
|
+
__props__.__dict__["annotations"] = annotations
|
695
|
+
__props__.__dict__["application_environment_id"] = application_environment_id
|
696
|
+
__props__.__dict__["display_name"] = display_name
|
697
|
+
__props__.__dict__["labels"] = labels
|
698
|
+
if location is None and not opts.urn:
|
699
|
+
raise TypeError("Missing required property 'location'")
|
700
|
+
__props__.__dict__["location"] = location
|
701
|
+
__props__.__dict__["namespace"] = namespace
|
702
|
+
__props__.__dict__["project"] = project
|
703
|
+
if serviceinstance is None and not opts.urn:
|
704
|
+
raise TypeError("Missing required property 'serviceinstance'")
|
705
|
+
__props__.__dict__["serviceinstance"] = serviceinstance
|
706
|
+
__props__.__dict__["spark_application_environment_config"] = spark_application_environment_config
|
707
|
+
__props__.__dict__["create_time"] = None
|
708
|
+
__props__.__dict__["effective_annotations"] = None
|
709
|
+
__props__.__dict__["effective_labels"] = None
|
710
|
+
__props__.__dict__["name"] = None
|
711
|
+
__props__.__dict__["pulumi_labels"] = None
|
712
|
+
__props__.__dict__["uid"] = None
|
713
|
+
__props__.__dict__["update_time"] = None
|
714
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
715
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
716
|
+
super(GdcApplicationEnvironment, __self__).__init__(
|
717
|
+
'gcp:dataproc/gdcApplicationEnvironment:GdcApplicationEnvironment',
|
718
|
+
resource_name,
|
719
|
+
__props__,
|
720
|
+
opts)
|
721
|
+
|
722
|
+
@staticmethod
|
723
|
+
def get(resource_name: str,
|
724
|
+
id: pulumi.Input[str],
|
725
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
726
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
727
|
+
application_environment_id: Optional[pulumi.Input[str]] = None,
|
728
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
729
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
730
|
+
effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
731
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
732
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
733
|
+
location: Optional[pulumi.Input[str]] = None,
|
734
|
+
name: Optional[pulumi.Input[str]] = None,
|
735
|
+
namespace: Optional[pulumi.Input[str]] = None,
|
736
|
+
project: Optional[pulumi.Input[str]] = None,
|
737
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
738
|
+
serviceinstance: Optional[pulumi.Input[str]] = None,
|
739
|
+
spark_application_environment_config: Optional[pulumi.Input[Union['GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs', 'GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgsDict']]] = None,
|
740
|
+
uid: Optional[pulumi.Input[str]] = None,
|
741
|
+
update_time: Optional[pulumi.Input[str]] = None) -> 'GdcApplicationEnvironment':
|
742
|
+
"""
|
743
|
+
Get an existing GdcApplicationEnvironment resource's state with the given name, id, and optional extra
|
744
|
+
properties used to qualify the lookup.
|
745
|
+
|
746
|
+
:param str resource_name: The unique name of the resulting resource.
|
747
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
748
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
749
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: The annotations to associate with this application environment. Annotations may be used to store client information, but are not used by the server.
|
750
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
751
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
752
|
+
:param pulumi.Input[str] application_environment_id: The id of the application environment
|
753
|
+
:param pulumi.Input[str] create_time: The timestamp when the resource was created.
|
754
|
+
:param pulumi.Input[str] display_name: User-provided human-readable name to be used in user interfaces.
|
755
|
+
: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.
|
756
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels to associate with this application environment. Labels may be used for filtering and billing tracking.
|
757
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
758
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
759
|
+
:param pulumi.Input[str] location: The location of the application environment
|
760
|
+
:param pulumi.Input[str] name: Identifier. The name of the application environment. Format: projects/{project}/locations/{location}/serviceInstances/{service_instance}/applicationEnvironments/{application_environment_id}
|
761
|
+
:param pulumi.Input[str] namespace: The name of the namespace in which to create this ApplicationEnvironment. This namespace must already exist in the cluster
|
762
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
763
|
+
If it is not provided, the provider project is used.
|
764
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
765
|
+
and default labels configured on the provider.
|
766
|
+
:param pulumi.Input[str] serviceinstance: The id of the service instance to which this application environment belongs.
|
767
|
+
|
768
|
+
|
769
|
+
- - -
|
770
|
+
:param pulumi.Input[Union['GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs', 'GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgsDict']] spark_application_environment_config: Represents the SparkApplicationEnvironmentConfig.
|
771
|
+
Structure is documented below.
|
772
|
+
:param pulumi.Input[str] uid: System generated unique identifier for this application environment, formatted as UUID4.
|
773
|
+
:param pulumi.Input[str] update_time: The timestamp when the resource was most recently updated.
|
774
|
+
"""
|
775
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
776
|
+
|
777
|
+
__props__ = _GdcApplicationEnvironmentState.__new__(_GdcApplicationEnvironmentState)
|
778
|
+
|
779
|
+
__props__.__dict__["annotations"] = annotations
|
780
|
+
__props__.__dict__["application_environment_id"] = application_environment_id
|
781
|
+
__props__.__dict__["create_time"] = create_time
|
782
|
+
__props__.__dict__["display_name"] = display_name
|
783
|
+
__props__.__dict__["effective_annotations"] = effective_annotations
|
784
|
+
__props__.__dict__["effective_labels"] = effective_labels
|
785
|
+
__props__.__dict__["labels"] = labels
|
786
|
+
__props__.__dict__["location"] = location
|
787
|
+
__props__.__dict__["name"] = name
|
788
|
+
__props__.__dict__["namespace"] = namespace
|
789
|
+
__props__.__dict__["project"] = project
|
790
|
+
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
791
|
+
__props__.__dict__["serviceinstance"] = serviceinstance
|
792
|
+
__props__.__dict__["spark_application_environment_config"] = spark_application_environment_config
|
793
|
+
__props__.__dict__["uid"] = uid
|
794
|
+
__props__.__dict__["update_time"] = update_time
|
795
|
+
return GdcApplicationEnvironment(resource_name, opts=opts, __props__=__props__)
|
796
|
+
|
797
|
+
@property
|
798
|
+
@pulumi.getter
|
799
|
+
def annotations(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
800
|
+
"""
|
801
|
+
The annotations to associate with this application environment. Annotations may be used to store client information, but are not used by the server.
|
802
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
803
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
804
|
+
"""
|
805
|
+
return pulumi.get(self, "annotations")
|
806
|
+
|
807
|
+
@property
|
808
|
+
@pulumi.getter(name="applicationEnvironmentId")
|
809
|
+
def application_environment_id(self) -> pulumi.Output[Optional[str]]:
|
810
|
+
"""
|
811
|
+
The id of the application environment
|
812
|
+
"""
|
813
|
+
return pulumi.get(self, "application_environment_id")
|
814
|
+
|
815
|
+
@property
|
816
|
+
@pulumi.getter(name="createTime")
|
817
|
+
def create_time(self) -> pulumi.Output[str]:
|
818
|
+
"""
|
819
|
+
The timestamp when the resource was created.
|
820
|
+
"""
|
821
|
+
return pulumi.get(self, "create_time")
|
822
|
+
|
823
|
+
@property
|
824
|
+
@pulumi.getter(name="displayName")
|
825
|
+
def display_name(self) -> pulumi.Output[Optional[str]]:
|
826
|
+
"""
|
827
|
+
User-provided human-readable name to be used in user interfaces.
|
828
|
+
"""
|
829
|
+
return pulumi.get(self, "display_name")
|
830
|
+
|
831
|
+
@property
|
832
|
+
@pulumi.getter(name="effectiveAnnotations")
|
833
|
+
def effective_annotations(self) -> pulumi.Output[Mapping[str, str]]:
|
834
|
+
return pulumi.get(self, "effective_annotations")
|
835
|
+
|
836
|
+
@property
|
837
|
+
@pulumi.getter(name="effectiveLabels")
|
838
|
+
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
839
|
+
"""
|
840
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
841
|
+
"""
|
842
|
+
return pulumi.get(self, "effective_labels")
|
843
|
+
|
844
|
+
@property
|
845
|
+
@pulumi.getter
|
846
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
847
|
+
"""
|
848
|
+
The labels to associate with this application environment. Labels may be used for filtering and billing tracking.
|
849
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
850
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
851
|
+
"""
|
852
|
+
return pulumi.get(self, "labels")
|
853
|
+
|
854
|
+
@property
|
855
|
+
@pulumi.getter
|
856
|
+
def location(self) -> pulumi.Output[str]:
|
857
|
+
"""
|
858
|
+
The location of the application environment
|
859
|
+
"""
|
860
|
+
return pulumi.get(self, "location")
|
861
|
+
|
862
|
+
@property
|
863
|
+
@pulumi.getter
|
864
|
+
def name(self) -> pulumi.Output[str]:
|
865
|
+
"""
|
866
|
+
Identifier. The name of the application environment. Format: projects/{project}/locations/{location}/serviceInstances/{service_instance}/applicationEnvironments/{application_environment_id}
|
867
|
+
"""
|
868
|
+
return pulumi.get(self, "name")
|
869
|
+
|
870
|
+
@property
|
871
|
+
@pulumi.getter
|
872
|
+
def namespace(self) -> pulumi.Output[Optional[str]]:
|
873
|
+
"""
|
874
|
+
The name of the namespace in which to create this ApplicationEnvironment. This namespace must already exist in the cluster
|
875
|
+
"""
|
876
|
+
return pulumi.get(self, "namespace")
|
877
|
+
|
878
|
+
@property
|
879
|
+
@pulumi.getter
|
880
|
+
def project(self) -> pulumi.Output[str]:
|
881
|
+
"""
|
882
|
+
The ID of the project in which the resource belongs.
|
883
|
+
If it is not provided, the provider project is used.
|
884
|
+
"""
|
885
|
+
return pulumi.get(self, "project")
|
886
|
+
|
887
|
+
@property
|
888
|
+
@pulumi.getter(name="pulumiLabels")
|
889
|
+
def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
890
|
+
"""
|
891
|
+
The combination of labels configured directly on the resource
|
892
|
+
and default labels configured on the provider.
|
893
|
+
"""
|
894
|
+
return pulumi.get(self, "pulumi_labels")
|
895
|
+
|
896
|
+
@property
|
897
|
+
@pulumi.getter
|
898
|
+
def serviceinstance(self) -> pulumi.Output[str]:
|
899
|
+
"""
|
900
|
+
The id of the service instance to which this application environment belongs.
|
901
|
+
|
902
|
+
|
903
|
+
- - -
|
904
|
+
"""
|
905
|
+
return pulumi.get(self, "serviceinstance")
|
906
|
+
|
907
|
+
@property
|
908
|
+
@pulumi.getter(name="sparkApplicationEnvironmentConfig")
|
909
|
+
def spark_application_environment_config(self) -> pulumi.Output[Optional['outputs.GdcApplicationEnvironmentSparkApplicationEnvironmentConfig']]:
|
910
|
+
"""
|
911
|
+
Represents the SparkApplicationEnvironmentConfig.
|
912
|
+
Structure is documented below.
|
913
|
+
"""
|
914
|
+
return pulumi.get(self, "spark_application_environment_config")
|
915
|
+
|
916
|
+
@property
|
917
|
+
@pulumi.getter
|
918
|
+
def uid(self) -> pulumi.Output[str]:
|
919
|
+
"""
|
920
|
+
System generated unique identifier for this application environment, formatted as UUID4.
|
921
|
+
"""
|
922
|
+
return pulumi.get(self, "uid")
|
923
|
+
|
924
|
+
@property
|
925
|
+
@pulumi.getter(name="updateTime")
|
926
|
+
def update_time(self) -> pulumi.Output[str]:
|
927
|
+
"""
|
928
|
+
The timestamp when the resource was most recently updated.
|
929
|
+
"""
|
930
|
+
return pulumi.get(self, "update_time")
|
931
|
+
|