pulumiverse-cpln 0.0.0__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.
- pulumiverse_cpln/__init__.py +241 -0
- pulumiverse_cpln/_inputs.py +18692 -0
- pulumiverse_cpln/_utilities.py +331 -0
- pulumiverse_cpln/agent.py +330 -0
- pulumiverse_cpln/audit_context.py +300 -0
- pulumiverse_cpln/cloud_account.py +546 -0
- pulumiverse_cpln/config/__init__.py +9 -0
- pulumiverse_cpln/config/__init__.pyi +48 -0
- pulumiverse_cpln/config/vars.py +64 -0
- pulumiverse_cpln/custom_location.py +424 -0
- pulumiverse_cpln/domain.py +377 -0
- pulumiverse_cpln/domain_route.py +645 -0
- pulumiverse_cpln/get_cloud_account.py +107 -0
- pulumiverse_cpln/get_gvc.py +423 -0
- pulumiverse_cpln/get_image.py +284 -0
- pulumiverse_cpln/get_images.py +261 -0
- pulumiverse_cpln/get_location.py +273 -0
- pulumiverse_cpln/get_locations.py +171 -0
- pulumiverse_cpln/get_org.py +250 -0
- pulumiverse_cpln/get_secret.py +555 -0
- pulumiverse_cpln/group.py +539 -0
- pulumiverse_cpln/gvc.py +771 -0
- pulumiverse_cpln/identity.py +688 -0
- pulumiverse_cpln/ip_set.py +521 -0
- pulumiverse_cpln/location.py +435 -0
- pulumiverse_cpln/mk8s.py +848 -0
- pulumiverse_cpln/mk8s_kubeconfig.py +362 -0
- pulumiverse_cpln/org.py +594 -0
- pulumiverse_cpln/org_logging.py +616 -0
- pulumiverse_cpln/org_tracing.py +347 -0
- pulumiverse_cpln/outputs.py +14498 -0
- pulumiverse_cpln/policy.py +620 -0
- pulumiverse_cpln/provider.py +271 -0
- pulumiverse_cpln/pulumi-plugin.json +5 -0
- pulumiverse_cpln/py.typed +0 -0
- pulumiverse_cpln/secret.py +915 -0
- pulumiverse_cpln/service_account.py +328 -0
- pulumiverse_cpln/service_account_key.py +285 -0
- pulumiverse_cpln/volume_set.py +765 -0
- pulumiverse_cpln/workload.py +1033 -0
- pulumiverse_cpln-0.0.0.dist-info/METADATA +83 -0
- pulumiverse_cpln-0.0.0.dist-info/RECORD +44 -0
- pulumiverse_cpln-0.0.0.dist-info/WHEEL +5 -0
- pulumiverse_cpln-0.0.0.dist-info/top_level.txt +1 -0
pulumiverse_cpln/gvc.py
ADDED
@@ -0,0 +1,771 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from . import _utilities
|
17
|
+
from . import outputs
|
18
|
+
from ._inputs import *
|
19
|
+
|
20
|
+
__all__ = ['GvcArgs', 'Gvc']
|
21
|
+
|
22
|
+
@pulumi.input_type
|
23
|
+
class GvcArgs:
|
24
|
+
def __init__(__self__, *,
|
25
|
+
controlplane_tracing: Optional[pulumi.Input['GvcControlplaneTracingArgs']] = None,
|
26
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
27
|
+
domain: Optional[pulumi.Input[builtins.str]] = None,
|
28
|
+
endpoint_naming_format: Optional[pulumi.Input[builtins.str]] = None,
|
29
|
+
env: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
30
|
+
lightstep_tracing: Optional[pulumi.Input['GvcLightstepTracingArgs']] = None,
|
31
|
+
load_balancer: Optional[pulumi.Input['GvcLoadBalancerArgs']] = None,
|
32
|
+
locations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
33
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
34
|
+
otel_tracing: Optional[pulumi.Input['GvcOtelTracingArgs']] = None,
|
35
|
+
pull_secrets: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
36
|
+
sidecar: Optional[pulumi.Input['GvcSidecarArgs']] = None,
|
37
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
|
38
|
+
"""
|
39
|
+
The set of arguments for constructing a Gvc resource.
|
40
|
+
:param pulumi.Input[builtins.str] description: Description of the Global Virtual Cloud.
|
41
|
+
:param pulumi.Input[builtins.str] domain: Custom domain name used by associated workloads.
|
42
|
+
:param pulumi.Input[builtins.str] endpoint_naming_format: Customizes the subdomain format for the canonical workload endpoint. `default` leaves it as
|
43
|
+
'${workloadName}-${gvcName}.cpln.app'. `org` follows the scheme '${workloadName}-${gvcName}.${org}.cpln.app'.
|
44
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] env: Key-value array of resource environment variables.
|
45
|
+
:param pulumi.Input['GvcLoadBalancerArgs'] load_balancer: Dedicated load balancer configuration.
|
46
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] locations: A list of [locations](https://docs.controlplane.com/reference/location#current) making up the Global Virtual Cloud.
|
47
|
+
:param pulumi.Input[builtins.str] name: Name of the Global Virtual Cloud.
|
48
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] pull_secrets: A list of [pull secret](https://docs.controlplane.com/reference/gvc#pull-secrets) names used to authenticate to any
|
49
|
+
private image repository referenced by Workloads within the GVC.
|
50
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Key-value map of resource tags.
|
51
|
+
"""
|
52
|
+
if controlplane_tracing is not None:
|
53
|
+
pulumi.set(__self__, "controlplane_tracing", controlplane_tracing)
|
54
|
+
if description is not None:
|
55
|
+
pulumi.set(__self__, "description", description)
|
56
|
+
if domain is not None:
|
57
|
+
warnings.warn("""Selecting a domain on a GVC will be deprecated in the future. Use the 'cpln_domain resource' instead.""", DeprecationWarning)
|
58
|
+
pulumi.log.warn("""domain is deprecated: Selecting a domain on a GVC will be deprecated in the future. Use the 'cpln_domain resource' instead.""")
|
59
|
+
if domain is not None:
|
60
|
+
pulumi.set(__self__, "domain", domain)
|
61
|
+
if endpoint_naming_format is not None:
|
62
|
+
pulumi.set(__self__, "endpoint_naming_format", endpoint_naming_format)
|
63
|
+
if env is not None:
|
64
|
+
pulumi.set(__self__, "env", env)
|
65
|
+
if lightstep_tracing is not None:
|
66
|
+
pulumi.set(__self__, "lightstep_tracing", lightstep_tracing)
|
67
|
+
if load_balancer is not None:
|
68
|
+
pulumi.set(__self__, "load_balancer", load_balancer)
|
69
|
+
if locations is not None:
|
70
|
+
pulumi.set(__self__, "locations", locations)
|
71
|
+
if name is not None:
|
72
|
+
pulumi.set(__self__, "name", name)
|
73
|
+
if otel_tracing is not None:
|
74
|
+
pulumi.set(__self__, "otel_tracing", otel_tracing)
|
75
|
+
if pull_secrets is not None:
|
76
|
+
pulumi.set(__self__, "pull_secrets", pull_secrets)
|
77
|
+
if sidecar is not None:
|
78
|
+
pulumi.set(__self__, "sidecar", sidecar)
|
79
|
+
if tags is not None:
|
80
|
+
pulumi.set(__self__, "tags", tags)
|
81
|
+
|
82
|
+
@property
|
83
|
+
@pulumi.getter(name="controlplaneTracing")
|
84
|
+
def controlplane_tracing(self) -> Optional[pulumi.Input['GvcControlplaneTracingArgs']]:
|
85
|
+
return pulumi.get(self, "controlplane_tracing")
|
86
|
+
|
87
|
+
@controlplane_tracing.setter
|
88
|
+
def controlplane_tracing(self, value: Optional[pulumi.Input['GvcControlplaneTracingArgs']]):
|
89
|
+
pulumi.set(self, "controlplane_tracing", value)
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter
|
93
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
94
|
+
"""
|
95
|
+
Description of the Global Virtual Cloud.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "description")
|
98
|
+
|
99
|
+
@description.setter
|
100
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
101
|
+
pulumi.set(self, "description", value)
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter
|
105
|
+
@_utilities.deprecated("""Selecting a domain on a GVC will be deprecated in the future. Use the 'cpln_domain resource' instead.""")
|
106
|
+
def domain(self) -> Optional[pulumi.Input[builtins.str]]:
|
107
|
+
"""
|
108
|
+
Custom domain name used by associated workloads.
|
109
|
+
"""
|
110
|
+
return pulumi.get(self, "domain")
|
111
|
+
|
112
|
+
@domain.setter
|
113
|
+
def domain(self, value: Optional[pulumi.Input[builtins.str]]):
|
114
|
+
pulumi.set(self, "domain", value)
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter(name="endpointNamingFormat")
|
118
|
+
def endpoint_naming_format(self) -> Optional[pulumi.Input[builtins.str]]:
|
119
|
+
"""
|
120
|
+
Customizes the subdomain format for the canonical workload endpoint. `default` leaves it as
|
121
|
+
'${workloadName}-${gvcName}.cpln.app'. `org` follows the scheme '${workloadName}-${gvcName}.${org}.cpln.app'.
|
122
|
+
"""
|
123
|
+
return pulumi.get(self, "endpoint_naming_format")
|
124
|
+
|
125
|
+
@endpoint_naming_format.setter
|
126
|
+
def endpoint_naming_format(self, value: Optional[pulumi.Input[builtins.str]]):
|
127
|
+
pulumi.set(self, "endpoint_naming_format", value)
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter
|
131
|
+
def env(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
132
|
+
"""
|
133
|
+
Key-value array of resource environment variables.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "env")
|
136
|
+
|
137
|
+
@env.setter
|
138
|
+
def env(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
139
|
+
pulumi.set(self, "env", value)
|
140
|
+
|
141
|
+
@property
|
142
|
+
@pulumi.getter(name="lightstepTracing")
|
143
|
+
def lightstep_tracing(self) -> Optional[pulumi.Input['GvcLightstepTracingArgs']]:
|
144
|
+
return pulumi.get(self, "lightstep_tracing")
|
145
|
+
|
146
|
+
@lightstep_tracing.setter
|
147
|
+
def lightstep_tracing(self, value: Optional[pulumi.Input['GvcLightstepTracingArgs']]):
|
148
|
+
pulumi.set(self, "lightstep_tracing", value)
|
149
|
+
|
150
|
+
@property
|
151
|
+
@pulumi.getter(name="loadBalancer")
|
152
|
+
def load_balancer(self) -> Optional[pulumi.Input['GvcLoadBalancerArgs']]:
|
153
|
+
"""
|
154
|
+
Dedicated load balancer configuration.
|
155
|
+
"""
|
156
|
+
return pulumi.get(self, "load_balancer")
|
157
|
+
|
158
|
+
@load_balancer.setter
|
159
|
+
def load_balancer(self, value: Optional[pulumi.Input['GvcLoadBalancerArgs']]):
|
160
|
+
pulumi.set(self, "load_balancer", value)
|
161
|
+
|
162
|
+
@property
|
163
|
+
@pulumi.getter
|
164
|
+
def locations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
165
|
+
"""
|
166
|
+
A list of [locations](https://docs.controlplane.com/reference/location#current) making up the Global Virtual Cloud.
|
167
|
+
"""
|
168
|
+
return pulumi.get(self, "locations")
|
169
|
+
|
170
|
+
@locations.setter
|
171
|
+
def locations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
172
|
+
pulumi.set(self, "locations", value)
|
173
|
+
|
174
|
+
@property
|
175
|
+
@pulumi.getter
|
176
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
177
|
+
"""
|
178
|
+
Name of the Global Virtual Cloud.
|
179
|
+
"""
|
180
|
+
return pulumi.get(self, "name")
|
181
|
+
|
182
|
+
@name.setter
|
183
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
184
|
+
pulumi.set(self, "name", value)
|
185
|
+
|
186
|
+
@property
|
187
|
+
@pulumi.getter(name="otelTracing")
|
188
|
+
def otel_tracing(self) -> Optional[pulumi.Input['GvcOtelTracingArgs']]:
|
189
|
+
return pulumi.get(self, "otel_tracing")
|
190
|
+
|
191
|
+
@otel_tracing.setter
|
192
|
+
def otel_tracing(self, value: Optional[pulumi.Input['GvcOtelTracingArgs']]):
|
193
|
+
pulumi.set(self, "otel_tracing", value)
|
194
|
+
|
195
|
+
@property
|
196
|
+
@pulumi.getter(name="pullSecrets")
|
197
|
+
def pull_secrets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
198
|
+
"""
|
199
|
+
A list of [pull secret](https://docs.controlplane.com/reference/gvc#pull-secrets) names used to authenticate to any
|
200
|
+
private image repository referenced by Workloads within the GVC.
|
201
|
+
"""
|
202
|
+
return pulumi.get(self, "pull_secrets")
|
203
|
+
|
204
|
+
@pull_secrets.setter
|
205
|
+
def pull_secrets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
206
|
+
pulumi.set(self, "pull_secrets", value)
|
207
|
+
|
208
|
+
@property
|
209
|
+
@pulumi.getter
|
210
|
+
def sidecar(self) -> Optional[pulumi.Input['GvcSidecarArgs']]:
|
211
|
+
return pulumi.get(self, "sidecar")
|
212
|
+
|
213
|
+
@sidecar.setter
|
214
|
+
def sidecar(self, value: Optional[pulumi.Input['GvcSidecarArgs']]):
|
215
|
+
pulumi.set(self, "sidecar", value)
|
216
|
+
|
217
|
+
@property
|
218
|
+
@pulumi.getter
|
219
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
220
|
+
"""
|
221
|
+
Key-value map of resource tags.
|
222
|
+
"""
|
223
|
+
return pulumi.get(self, "tags")
|
224
|
+
|
225
|
+
@tags.setter
|
226
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
227
|
+
pulumi.set(self, "tags", value)
|
228
|
+
|
229
|
+
|
230
|
+
@pulumi.input_type
|
231
|
+
class _GvcState:
|
232
|
+
def __init__(__self__, *,
|
233
|
+
alias: Optional[pulumi.Input[builtins.str]] = None,
|
234
|
+
controlplane_tracing: Optional[pulumi.Input['GvcControlplaneTracingArgs']] = None,
|
235
|
+
cpln_id: Optional[pulumi.Input[builtins.str]] = None,
|
236
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
237
|
+
domain: Optional[pulumi.Input[builtins.str]] = None,
|
238
|
+
endpoint_naming_format: Optional[pulumi.Input[builtins.str]] = None,
|
239
|
+
env: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
240
|
+
lightstep_tracing: Optional[pulumi.Input['GvcLightstepTracingArgs']] = None,
|
241
|
+
load_balancer: Optional[pulumi.Input['GvcLoadBalancerArgs']] = None,
|
242
|
+
locations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
243
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
244
|
+
otel_tracing: Optional[pulumi.Input['GvcOtelTracingArgs']] = None,
|
245
|
+
pull_secrets: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
246
|
+
self_link: Optional[pulumi.Input[builtins.str]] = None,
|
247
|
+
sidecar: Optional[pulumi.Input['GvcSidecarArgs']] = None,
|
248
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
|
249
|
+
"""
|
250
|
+
Input properties used for looking up and filtering Gvc resources.
|
251
|
+
:param pulumi.Input[builtins.str] alias: The alias name of the GVC.
|
252
|
+
:param pulumi.Input[builtins.str] cpln_id: The ID, in GUID format, of the Global Virtual Cloud.
|
253
|
+
:param pulumi.Input[builtins.str] description: Description of the Global Virtual Cloud.
|
254
|
+
:param pulumi.Input[builtins.str] domain: Custom domain name used by associated workloads.
|
255
|
+
:param pulumi.Input[builtins.str] endpoint_naming_format: Customizes the subdomain format for the canonical workload endpoint. `default` leaves it as
|
256
|
+
'${workloadName}-${gvcName}.cpln.app'. `org` follows the scheme '${workloadName}-${gvcName}.${org}.cpln.app'.
|
257
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] env: Key-value array of resource environment variables.
|
258
|
+
:param pulumi.Input['GvcLoadBalancerArgs'] load_balancer: Dedicated load balancer configuration.
|
259
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] locations: A list of [locations](https://docs.controlplane.com/reference/location#current) making up the Global Virtual Cloud.
|
260
|
+
:param pulumi.Input[builtins.str] name: Name of the Global Virtual Cloud.
|
261
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] pull_secrets: A list of [pull secret](https://docs.controlplane.com/reference/gvc#pull-secrets) names used to authenticate to any
|
262
|
+
private image repository referenced by Workloads within the GVC.
|
263
|
+
:param pulumi.Input[builtins.str] self_link: Full link to this resource. Can be referenced by other resources.
|
264
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Key-value map of resource tags.
|
265
|
+
"""
|
266
|
+
if alias is not None:
|
267
|
+
pulumi.set(__self__, "alias", alias)
|
268
|
+
if controlplane_tracing is not None:
|
269
|
+
pulumi.set(__self__, "controlplane_tracing", controlplane_tracing)
|
270
|
+
if cpln_id is not None:
|
271
|
+
pulumi.set(__self__, "cpln_id", cpln_id)
|
272
|
+
if description is not None:
|
273
|
+
pulumi.set(__self__, "description", description)
|
274
|
+
if domain is not None:
|
275
|
+
warnings.warn("""Selecting a domain on a GVC will be deprecated in the future. Use the 'cpln_domain resource' instead.""", DeprecationWarning)
|
276
|
+
pulumi.log.warn("""domain is deprecated: Selecting a domain on a GVC will be deprecated in the future. Use the 'cpln_domain resource' instead.""")
|
277
|
+
if domain is not None:
|
278
|
+
pulumi.set(__self__, "domain", domain)
|
279
|
+
if endpoint_naming_format is not None:
|
280
|
+
pulumi.set(__self__, "endpoint_naming_format", endpoint_naming_format)
|
281
|
+
if env is not None:
|
282
|
+
pulumi.set(__self__, "env", env)
|
283
|
+
if lightstep_tracing is not None:
|
284
|
+
pulumi.set(__self__, "lightstep_tracing", lightstep_tracing)
|
285
|
+
if load_balancer is not None:
|
286
|
+
pulumi.set(__self__, "load_balancer", load_balancer)
|
287
|
+
if locations is not None:
|
288
|
+
pulumi.set(__self__, "locations", locations)
|
289
|
+
if name is not None:
|
290
|
+
pulumi.set(__self__, "name", name)
|
291
|
+
if otel_tracing is not None:
|
292
|
+
pulumi.set(__self__, "otel_tracing", otel_tracing)
|
293
|
+
if pull_secrets is not None:
|
294
|
+
pulumi.set(__self__, "pull_secrets", pull_secrets)
|
295
|
+
if self_link is not None:
|
296
|
+
pulumi.set(__self__, "self_link", self_link)
|
297
|
+
if sidecar is not None:
|
298
|
+
pulumi.set(__self__, "sidecar", sidecar)
|
299
|
+
if tags is not None:
|
300
|
+
pulumi.set(__self__, "tags", tags)
|
301
|
+
|
302
|
+
@property
|
303
|
+
@pulumi.getter
|
304
|
+
def alias(self) -> Optional[pulumi.Input[builtins.str]]:
|
305
|
+
"""
|
306
|
+
The alias name of the GVC.
|
307
|
+
"""
|
308
|
+
return pulumi.get(self, "alias")
|
309
|
+
|
310
|
+
@alias.setter
|
311
|
+
def alias(self, value: Optional[pulumi.Input[builtins.str]]):
|
312
|
+
pulumi.set(self, "alias", value)
|
313
|
+
|
314
|
+
@property
|
315
|
+
@pulumi.getter(name="controlplaneTracing")
|
316
|
+
def controlplane_tracing(self) -> Optional[pulumi.Input['GvcControlplaneTracingArgs']]:
|
317
|
+
return pulumi.get(self, "controlplane_tracing")
|
318
|
+
|
319
|
+
@controlplane_tracing.setter
|
320
|
+
def controlplane_tracing(self, value: Optional[pulumi.Input['GvcControlplaneTracingArgs']]):
|
321
|
+
pulumi.set(self, "controlplane_tracing", value)
|
322
|
+
|
323
|
+
@property
|
324
|
+
@pulumi.getter(name="cplnId")
|
325
|
+
def cpln_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
326
|
+
"""
|
327
|
+
The ID, in GUID format, of the Global Virtual Cloud.
|
328
|
+
"""
|
329
|
+
return pulumi.get(self, "cpln_id")
|
330
|
+
|
331
|
+
@cpln_id.setter
|
332
|
+
def cpln_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
333
|
+
pulumi.set(self, "cpln_id", value)
|
334
|
+
|
335
|
+
@property
|
336
|
+
@pulumi.getter
|
337
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
338
|
+
"""
|
339
|
+
Description of the Global Virtual Cloud.
|
340
|
+
"""
|
341
|
+
return pulumi.get(self, "description")
|
342
|
+
|
343
|
+
@description.setter
|
344
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
345
|
+
pulumi.set(self, "description", value)
|
346
|
+
|
347
|
+
@property
|
348
|
+
@pulumi.getter
|
349
|
+
@_utilities.deprecated("""Selecting a domain on a GVC will be deprecated in the future. Use the 'cpln_domain resource' instead.""")
|
350
|
+
def domain(self) -> Optional[pulumi.Input[builtins.str]]:
|
351
|
+
"""
|
352
|
+
Custom domain name used by associated workloads.
|
353
|
+
"""
|
354
|
+
return pulumi.get(self, "domain")
|
355
|
+
|
356
|
+
@domain.setter
|
357
|
+
def domain(self, value: Optional[pulumi.Input[builtins.str]]):
|
358
|
+
pulumi.set(self, "domain", value)
|
359
|
+
|
360
|
+
@property
|
361
|
+
@pulumi.getter(name="endpointNamingFormat")
|
362
|
+
def endpoint_naming_format(self) -> Optional[pulumi.Input[builtins.str]]:
|
363
|
+
"""
|
364
|
+
Customizes the subdomain format for the canonical workload endpoint. `default` leaves it as
|
365
|
+
'${workloadName}-${gvcName}.cpln.app'. `org` follows the scheme '${workloadName}-${gvcName}.${org}.cpln.app'.
|
366
|
+
"""
|
367
|
+
return pulumi.get(self, "endpoint_naming_format")
|
368
|
+
|
369
|
+
@endpoint_naming_format.setter
|
370
|
+
def endpoint_naming_format(self, value: Optional[pulumi.Input[builtins.str]]):
|
371
|
+
pulumi.set(self, "endpoint_naming_format", value)
|
372
|
+
|
373
|
+
@property
|
374
|
+
@pulumi.getter
|
375
|
+
def env(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
376
|
+
"""
|
377
|
+
Key-value array of resource environment variables.
|
378
|
+
"""
|
379
|
+
return pulumi.get(self, "env")
|
380
|
+
|
381
|
+
@env.setter
|
382
|
+
def env(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
383
|
+
pulumi.set(self, "env", value)
|
384
|
+
|
385
|
+
@property
|
386
|
+
@pulumi.getter(name="lightstepTracing")
|
387
|
+
def lightstep_tracing(self) -> Optional[pulumi.Input['GvcLightstepTracingArgs']]:
|
388
|
+
return pulumi.get(self, "lightstep_tracing")
|
389
|
+
|
390
|
+
@lightstep_tracing.setter
|
391
|
+
def lightstep_tracing(self, value: Optional[pulumi.Input['GvcLightstepTracingArgs']]):
|
392
|
+
pulumi.set(self, "lightstep_tracing", value)
|
393
|
+
|
394
|
+
@property
|
395
|
+
@pulumi.getter(name="loadBalancer")
|
396
|
+
def load_balancer(self) -> Optional[pulumi.Input['GvcLoadBalancerArgs']]:
|
397
|
+
"""
|
398
|
+
Dedicated load balancer configuration.
|
399
|
+
"""
|
400
|
+
return pulumi.get(self, "load_balancer")
|
401
|
+
|
402
|
+
@load_balancer.setter
|
403
|
+
def load_balancer(self, value: Optional[pulumi.Input['GvcLoadBalancerArgs']]):
|
404
|
+
pulumi.set(self, "load_balancer", value)
|
405
|
+
|
406
|
+
@property
|
407
|
+
@pulumi.getter
|
408
|
+
def locations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
409
|
+
"""
|
410
|
+
A list of [locations](https://docs.controlplane.com/reference/location#current) making up the Global Virtual Cloud.
|
411
|
+
"""
|
412
|
+
return pulumi.get(self, "locations")
|
413
|
+
|
414
|
+
@locations.setter
|
415
|
+
def locations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
416
|
+
pulumi.set(self, "locations", value)
|
417
|
+
|
418
|
+
@property
|
419
|
+
@pulumi.getter
|
420
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
421
|
+
"""
|
422
|
+
Name of the Global Virtual Cloud.
|
423
|
+
"""
|
424
|
+
return pulumi.get(self, "name")
|
425
|
+
|
426
|
+
@name.setter
|
427
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
428
|
+
pulumi.set(self, "name", value)
|
429
|
+
|
430
|
+
@property
|
431
|
+
@pulumi.getter(name="otelTracing")
|
432
|
+
def otel_tracing(self) -> Optional[pulumi.Input['GvcOtelTracingArgs']]:
|
433
|
+
return pulumi.get(self, "otel_tracing")
|
434
|
+
|
435
|
+
@otel_tracing.setter
|
436
|
+
def otel_tracing(self, value: Optional[pulumi.Input['GvcOtelTracingArgs']]):
|
437
|
+
pulumi.set(self, "otel_tracing", value)
|
438
|
+
|
439
|
+
@property
|
440
|
+
@pulumi.getter(name="pullSecrets")
|
441
|
+
def pull_secrets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
442
|
+
"""
|
443
|
+
A list of [pull secret](https://docs.controlplane.com/reference/gvc#pull-secrets) names used to authenticate to any
|
444
|
+
private image repository referenced by Workloads within the GVC.
|
445
|
+
"""
|
446
|
+
return pulumi.get(self, "pull_secrets")
|
447
|
+
|
448
|
+
@pull_secrets.setter
|
449
|
+
def pull_secrets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
450
|
+
pulumi.set(self, "pull_secrets", value)
|
451
|
+
|
452
|
+
@property
|
453
|
+
@pulumi.getter(name="selfLink")
|
454
|
+
def self_link(self) -> Optional[pulumi.Input[builtins.str]]:
|
455
|
+
"""
|
456
|
+
Full link to this resource. Can be referenced by other resources.
|
457
|
+
"""
|
458
|
+
return pulumi.get(self, "self_link")
|
459
|
+
|
460
|
+
@self_link.setter
|
461
|
+
def self_link(self, value: Optional[pulumi.Input[builtins.str]]):
|
462
|
+
pulumi.set(self, "self_link", value)
|
463
|
+
|
464
|
+
@property
|
465
|
+
@pulumi.getter
|
466
|
+
def sidecar(self) -> Optional[pulumi.Input['GvcSidecarArgs']]:
|
467
|
+
return pulumi.get(self, "sidecar")
|
468
|
+
|
469
|
+
@sidecar.setter
|
470
|
+
def sidecar(self, value: Optional[pulumi.Input['GvcSidecarArgs']]):
|
471
|
+
pulumi.set(self, "sidecar", value)
|
472
|
+
|
473
|
+
@property
|
474
|
+
@pulumi.getter
|
475
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
476
|
+
"""
|
477
|
+
Key-value map of resource tags.
|
478
|
+
"""
|
479
|
+
return pulumi.get(self, "tags")
|
480
|
+
|
481
|
+
@tags.setter
|
482
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
483
|
+
pulumi.set(self, "tags", value)
|
484
|
+
|
485
|
+
|
486
|
+
@pulumi.type_token("cpln:index/gvc:Gvc")
|
487
|
+
class Gvc(pulumi.CustomResource):
|
488
|
+
@overload
|
489
|
+
def __init__(__self__,
|
490
|
+
resource_name: str,
|
491
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
492
|
+
controlplane_tracing: Optional[pulumi.Input[Union['GvcControlplaneTracingArgs', 'GvcControlplaneTracingArgsDict']]] = None,
|
493
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
494
|
+
domain: Optional[pulumi.Input[builtins.str]] = None,
|
495
|
+
endpoint_naming_format: Optional[pulumi.Input[builtins.str]] = None,
|
496
|
+
env: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
497
|
+
lightstep_tracing: Optional[pulumi.Input[Union['GvcLightstepTracingArgs', 'GvcLightstepTracingArgsDict']]] = None,
|
498
|
+
load_balancer: Optional[pulumi.Input[Union['GvcLoadBalancerArgs', 'GvcLoadBalancerArgsDict']]] = None,
|
499
|
+
locations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
500
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
501
|
+
otel_tracing: Optional[pulumi.Input[Union['GvcOtelTracingArgs', 'GvcOtelTracingArgsDict']]] = None,
|
502
|
+
pull_secrets: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
503
|
+
sidecar: Optional[pulumi.Input[Union['GvcSidecarArgs', 'GvcSidecarArgsDict']]] = None,
|
504
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
505
|
+
__props__=None):
|
506
|
+
"""
|
507
|
+
Create a Gvc resource with the given unique name, props, and options.
|
508
|
+
:param str resource_name: The name of the resource.
|
509
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
510
|
+
:param pulumi.Input[builtins.str] description: Description of the Global Virtual Cloud.
|
511
|
+
:param pulumi.Input[builtins.str] domain: Custom domain name used by associated workloads.
|
512
|
+
:param pulumi.Input[builtins.str] endpoint_naming_format: Customizes the subdomain format for the canonical workload endpoint. `default` leaves it as
|
513
|
+
'${workloadName}-${gvcName}.cpln.app'. `org` follows the scheme '${workloadName}-${gvcName}.${org}.cpln.app'.
|
514
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] env: Key-value array of resource environment variables.
|
515
|
+
:param pulumi.Input[Union['GvcLoadBalancerArgs', 'GvcLoadBalancerArgsDict']] load_balancer: Dedicated load balancer configuration.
|
516
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] locations: A list of [locations](https://docs.controlplane.com/reference/location#current) making up the Global Virtual Cloud.
|
517
|
+
:param pulumi.Input[builtins.str] name: Name of the Global Virtual Cloud.
|
518
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] pull_secrets: A list of [pull secret](https://docs.controlplane.com/reference/gvc#pull-secrets) names used to authenticate to any
|
519
|
+
private image repository referenced by Workloads within the GVC.
|
520
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Key-value map of resource tags.
|
521
|
+
"""
|
522
|
+
...
|
523
|
+
@overload
|
524
|
+
def __init__(__self__,
|
525
|
+
resource_name: str,
|
526
|
+
args: Optional[GvcArgs] = None,
|
527
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
528
|
+
"""
|
529
|
+
Create a Gvc resource with the given unique name, props, and options.
|
530
|
+
:param str resource_name: The name of the resource.
|
531
|
+
:param GvcArgs args: The arguments to use to populate this resource's properties.
|
532
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
533
|
+
"""
|
534
|
+
...
|
535
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
536
|
+
resource_args, opts = _utilities.get_resource_args_opts(GvcArgs, pulumi.ResourceOptions, *args, **kwargs)
|
537
|
+
if resource_args is not None:
|
538
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
539
|
+
else:
|
540
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
541
|
+
|
542
|
+
def _internal_init(__self__,
|
543
|
+
resource_name: str,
|
544
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
545
|
+
controlplane_tracing: Optional[pulumi.Input[Union['GvcControlplaneTracingArgs', 'GvcControlplaneTracingArgsDict']]] = None,
|
546
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
547
|
+
domain: Optional[pulumi.Input[builtins.str]] = None,
|
548
|
+
endpoint_naming_format: Optional[pulumi.Input[builtins.str]] = None,
|
549
|
+
env: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
550
|
+
lightstep_tracing: Optional[pulumi.Input[Union['GvcLightstepTracingArgs', 'GvcLightstepTracingArgsDict']]] = None,
|
551
|
+
load_balancer: Optional[pulumi.Input[Union['GvcLoadBalancerArgs', 'GvcLoadBalancerArgsDict']]] = None,
|
552
|
+
locations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
553
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
554
|
+
otel_tracing: Optional[pulumi.Input[Union['GvcOtelTracingArgs', 'GvcOtelTracingArgsDict']]] = None,
|
555
|
+
pull_secrets: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
556
|
+
sidecar: Optional[pulumi.Input[Union['GvcSidecarArgs', 'GvcSidecarArgsDict']]] = None,
|
557
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
558
|
+
__props__=None):
|
559
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
560
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
561
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
562
|
+
if opts.id is None:
|
563
|
+
if __props__ is not None:
|
564
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
565
|
+
__props__ = GvcArgs.__new__(GvcArgs)
|
566
|
+
|
567
|
+
__props__.__dict__["controlplane_tracing"] = controlplane_tracing
|
568
|
+
__props__.__dict__["description"] = description
|
569
|
+
__props__.__dict__["domain"] = domain
|
570
|
+
__props__.__dict__["endpoint_naming_format"] = endpoint_naming_format
|
571
|
+
__props__.__dict__["env"] = env
|
572
|
+
__props__.__dict__["lightstep_tracing"] = lightstep_tracing
|
573
|
+
__props__.__dict__["load_balancer"] = load_balancer
|
574
|
+
__props__.__dict__["locations"] = locations
|
575
|
+
__props__.__dict__["name"] = name
|
576
|
+
__props__.__dict__["otel_tracing"] = otel_tracing
|
577
|
+
__props__.__dict__["pull_secrets"] = pull_secrets
|
578
|
+
__props__.__dict__["sidecar"] = sidecar
|
579
|
+
__props__.__dict__["tags"] = tags
|
580
|
+
__props__.__dict__["alias"] = None
|
581
|
+
__props__.__dict__["cpln_id"] = None
|
582
|
+
__props__.__dict__["self_link"] = None
|
583
|
+
super(Gvc, __self__).__init__(
|
584
|
+
'cpln:index/gvc:Gvc',
|
585
|
+
resource_name,
|
586
|
+
__props__,
|
587
|
+
opts)
|
588
|
+
|
589
|
+
@staticmethod
|
590
|
+
def get(resource_name: str,
|
591
|
+
id: pulumi.Input[str],
|
592
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
593
|
+
alias: Optional[pulumi.Input[builtins.str]] = None,
|
594
|
+
controlplane_tracing: Optional[pulumi.Input[Union['GvcControlplaneTracingArgs', 'GvcControlplaneTracingArgsDict']]] = None,
|
595
|
+
cpln_id: Optional[pulumi.Input[builtins.str]] = None,
|
596
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
597
|
+
domain: Optional[pulumi.Input[builtins.str]] = None,
|
598
|
+
endpoint_naming_format: Optional[pulumi.Input[builtins.str]] = None,
|
599
|
+
env: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
600
|
+
lightstep_tracing: Optional[pulumi.Input[Union['GvcLightstepTracingArgs', 'GvcLightstepTracingArgsDict']]] = None,
|
601
|
+
load_balancer: Optional[pulumi.Input[Union['GvcLoadBalancerArgs', 'GvcLoadBalancerArgsDict']]] = None,
|
602
|
+
locations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
603
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
604
|
+
otel_tracing: Optional[pulumi.Input[Union['GvcOtelTracingArgs', 'GvcOtelTracingArgsDict']]] = None,
|
605
|
+
pull_secrets: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
606
|
+
self_link: Optional[pulumi.Input[builtins.str]] = None,
|
607
|
+
sidecar: Optional[pulumi.Input[Union['GvcSidecarArgs', 'GvcSidecarArgsDict']]] = None,
|
608
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None) -> 'Gvc':
|
609
|
+
"""
|
610
|
+
Get an existing Gvc resource's state with the given name, id, and optional extra
|
611
|
+
properties used to qualify the lookup.
|
612
|
+
|
613
|
+
:param str resource_name: The unique name of the resulting resource.
|
614
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
615
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
616
|
+
:param pulumi.Input[builtins.str] alias: The alias name of the GVC.
|
617
|
+
:param pulumi.Input[builtins.str] cpln_id: The ID, in GUID format, of the Global Virtual Cloud.
|
618
|
+
:param pulumi.Input[builtins.str] description: Description of the Global Virtual Cloud.
|
619
|
+
:param pulumi.Input[builtins.str] domain: Custom domain name used by associated workloads.
|
620
|
+
:param pulumi.Input[builtins.str] endpoint_naming_format: Customizes the subdomain format for the canonical workload endpoint. `default` leaves it as
|
621
|
+
'${workloadName}-${gvcName}.cpln.app'. `org` follows the scheme '${workloadName}-${gvcName}.${org}.cpln.app'.
|
622
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] env: Key-value array of resource environment variables.
|
623
|
+
:param pulumi.Input[Union['GvcLoadBalancerArgs', 'GvcLoadBalancerArgsDict']] load_balancer: Dedicated load balancer configuration.
|
624
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] locations: A list of [locations](https://docs.controlplane.com/reference/location#current) making up the Global Virtual Cloud.
|
625
|
+
:param pulumi.Input[builtins.str] name: Name of the Global Virtual Cloud.
|
626
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] pull_secrets: A list of [pull secret](https://docs.controlplane.com/reference/gvc#pull-secrets) names used to authenticate to any
|
627
|
+
private image repository referenced by Workloads within the GVC.
|
628
|
+
:param pulumi.Input[builtins.str] self_link: Full link to this resource. Can be referenced by other resources.
|
629
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Key-value map of resource tags.
|
630
|
+
"""
|
631
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
632
|
+
|
633
|
+
__props__ = _GvcState.__new__(_GvcState)
|
634
|
+
|
635
|
+
__props__.__dict__["alias"] = alias
|
636
|
+
__props__.__dict__["controlplane_tracing"] = controlplane_tracing
|
637
|
+
__props__.__dict__["cpln_id"] = cpln_id
|
638
|
+
__props__.__dict__["description"] = description
|
639
|
+
__props__.__dict__["domain"] = domain
|
640
|
+
__props__.__dict__["endpoint_naming_format"] = endpoint_naming_format
|
641
|
+
__props__.__dict__["env"] = env
|
642
|
+
__props__.__dict__["lightstep_tracing"] = lightstep_tracing
|
643
|
+
__props__.__dict__["load_balancer"] = load_balancer
|
644
|
+
__props__.__dict__["locations"] = locations
|
645
|
+
__props__.__dict__["name"] = name
|
646
|
+
__props__.__dict__["otel_tracing"] = otel_tracing
|
647
|
+
__props__.__dict__["pull_secrets"] = pull_secrets
|
648
|
+
__props__.__dict__["self_link"] = self_link
|
649
|
+
__props__.__dict__["sidecar"] = sidecar
|
650
|
+
__props__.__dict__["tags"] = tags
|
651
|
+
return Gvc(resource_name, opts=opts, __props__=__props__)
|
652
|
+
|
653
|
+
@property
|
654
|
+
@pulumi.getter
|
655
|
+
def alias(self) -> pulumi.Output[builtins.str]:
|
656
|
+
"""
|
657
|
+
The alias name of the GVC.
|
658
|
+
"""
|
659
|
+
return pulumi.get(self, "alias")
|
660
|
+
|
661
|
+
@property
|
662
|
+
@pulumi.getter(name="controlplaneTracing")
|
663
|
+
def controlplane_tracing(self) -> pulumi.Output[Optional['outputs.GvcControlplaneTracing']]:
|
664
|
+
return pulumi.get(self, "controlplane_tracing")
|
665
|
+
|
666
|
+
@property
|
667
|
+
@pulumi.getter(name="cplnId")
|
668
|
+
def cpln_id(self) -> pulumi.Output[builtins.str]:
|
669
|
+
"""
|
670
|
+
The ID, in GUID format, of the Global Virtual Cloud.
|
671
|
+
"""
|
672
|
+
return pulumi.get(self, "cpln_id")
|
673
|
+
|
674
|
+
@property
|
675
|
+
@pulumi.getter
|
676
|
+
def description(self) -> pulumi.Output[builtins.str]:
|
677
|
+
"""
|
678
|
+
Description of the Global Virtual Cloud.
|
679
|
+
"""
|
680
|
+
return pulumi.get(self, "description")
|
681
|
+
|
682
|
+
@property
|
683
|
+
@pulumi.getter
|
684
|
+
@_utilities.deprecated("""Selecting a domain on a GVC will be deprecated in the future. Use the 'cpln_domain resource' instead.""")
|
685
|
+
def domain(self) -> pulumi.Output[Optional[builtins.str]]:
|
686
|
+
"""
|
687
|
+
Custom domain name used by associated workloads.
|
688
|
+
"""
|
689
|
+
return pulumi.get(self, "domain")
|
690
|
+
|
691
|
+
@property
|
692
|
+
@pulumi.getter(name="endpointNamingFormat")
|
693
|
+
def endpoint_naming_format(self) -> pulumi.Output[builtins.str]:
|
694
|
+
"""
|
695
|
+
Customizes the subdomain format for the canonical workload endpoint. `default` leaves it as
|
696
|
+
'${workloadName}-${gvcName}.cpln.app'. `org` follows the scheme '${workloadName}-${gvcName}.${org}.cpln.app'.
|
697
|
+
"""
|
698
|
+
return pulumi.get(self, "endpoint_naming_format")
|
699
|
+
|
700
|
+
@property
|
701
|
+
@pulumi.getter
|
702
|
+
def env(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
703
|
+
"""
|
704
|
+
Key-value array of resource environment variables.
|
705
|
+
"""
|
706
|
+
return pulumi.get(self, "env")
|
707
|
+
|
708
|
+
@property
|
709
|
+
@pulumi.getter(name="lightstepTracing")
|
710
|
+
def lightstep_tracing(self) -> pulumi.Output[Optional['outputs.GvcLightstepTracing']]:
|
711
|
+
return pulumi.get(self, "lightstep_tracing")
|
712
|
+
|
713
|
+
@property
|
714
|
+
@pulumi.getter(name="loadBalancer")
|
715
|
+
def load_balancer(self) -> pulumi.Output[Optional['outputs.GvcLoadBalancer']]:
|
716
|
+
"""
|
717
|
+
Dedicated load balancer configuration.
|
718
|
+
"""
|
719
|
+
return pulumi.get(self, "load_balancer")
|
720
|
+
|
721
|
+
@property
|
722
|
+
@pulumi.getter
|
723
|
+
def locations(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
724
|
+
"""
|
725
|
+
A list of [locations](https://docs.controlplane.com/reference/location#current) making up the Global Virtual Cloud.
|
726
|
+
"""
|
727
|
+
return pulumi.get(self, "locations")
|
728
|
+
|
729
|
+
@property
|
730
|
+
@pulumi.getter
|
731
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
732
|
+
"""
|
733
|
+
Name of the Global Virtual Cloud.
|
734
|
+
"""
|
735
|
+
return pulumi.get(self, "name")
|
736
|
+
|
737
|
+
@property
|
738
|
+
@pulumi.getter(name="otelTracing")
|
739
|
+
def otel_tracing(self) -> pulumi.Output[Optional['outputs.GvcOtelTracing']]:
|
740
|
+
return pulumi.get(self, "otel_tracing")
|
741
|
+
|
742
|
+
@property
|
743
|
+
@pulumi.getter(name="pullSecrets")
|
744
|
+
def pull_secrets(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
745
|
+
"""
|
746
|
+
A list of [pull secret](https://docs.controlplane.com/reference/gvc#pull-secrets) names used to authenticate to any
|
747
|
+
private image repository referenced by Workloads within the GVC.
|
748
|
+
"""
|
749
|
+
return pulumi.get(self, "pull_secrets")
|
750
|
+
|
751
|
+
@property
|
752
|
+
@pulumi.getter(name="selfLink")
|
753
|
+
def self_link(self) -> pulumi.Output[builtins.str]:
|
754
|
+
"""
|
755
|
+
Full link to this resource. Can be referenced by other resources.
|
756
|
+
"""
|
757
|
+
return pulumi.get(self, "self_link")
|
758
|
+
|
759
|
+
@property
|
760
|
+
@pulumi.getter
|
761
|
+
def sidecar(self) -> pulumi.Output[Optional['outputs.GvcSidecar']]:
|
762
|
+
return pulumi.get(self, "sidecar")
|
763
|
+
|
764
|
+
@property
|
765
|
+
@pulumi.getter
|
766
|
+
def tags(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
767
|
+
"""
|
768
|
+
Key-value map of resource tags.
|
769
|
+
"""
|
770
|
+
return pulumi.get(self, "tags")
|
771
|
+
|