pulumi-digitalocean 4.32.0a1726292068__py3-none-any.whl → 4.32.0a1726481189__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.
Potentially problematic release.
This version of pulumi-digitalocean might be problematic. Click here for more details.
- pulumi_digitalocean/_inputs.py +543 -57
- pulumi_digitalocean/app.py +90 -4
- pulumi_digitalocean/database_cluster.py +28 -0
- pulumi_digitalocean/get_app.py +14 -1
- pulumi_digitalocean/outputs.py +1011 -72
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- {pulumi_digitalocean-4.32.0a1726292068.dist-info → pulumi_digitalocean-4.32.0a1726481189.dist-info}/METADATA +1 -1
- {pulumi_digitalocean-4.32.0a1726292068.dist-info → pulumi_digitalocean-4.32.0a1726481189.dist-info}/RECORD +10 -10
- {pulumi_digitalocean-4.32.0a1726292068.dist-info → pulumi_digitalocean-4.32.0a1726481189.dist-info}/WHEEL +1 -1
- {pulumi_digitalocean-4.32.0a1726292068.dist-info → pulumi_digitalocean-4.32.0a1726481189.dist-info}/top_level.txt +0 -0
pulumi_digitalocean/outputs.py
CHANGED
|
@@ -30,6 +30,8 @@ __all__ = [
|
|
|
30
30
|
'AppSpecFunctionLogDestination',
|
|
31
31
|
'AppSpecFunctionLogDestinationDatadog',
|
|
32
32
|
'AppSpecFunctionLogDestinationLogtail',
|
|
33
|
+
'AppSpecFunctionLogDestinationOpenSearch',
|
|
34
|
+
'AppSpecFunctionLogDestinationOpenSearchBasicAuth',
|
|
33
35
|
'AppSpecFunctionLogDestinationPapertrail',
|
|
34
36
|
'AppSpecFunctionRoute',
|
|
35
37
|
'AppSpecIngress',
|
|
@@ -51,6 +53,8 @@ __all__ = [
|
|
|
51
53
|
'AppSpecJobLogDestination',
|
|
52
54
|
'AppSpecJobLogDestinationDatadog',
|
|
53
55
|
'AppSpecJobLogDestinationLogtail',
|
|
56
|
+
'AppSpecJobLogDestinationOpenSearch',
|
|
57
|
+
'AppSpecJobLogDestinationOpenSearchBasicAuth',
|
|
54
58
|
'AppSpecJobLogDestinationPapertrail',
|
|
55
59
|
'AppSpecService',
|
|
56
60
|
'AppSpecServiceAlert',
|
|
@@ -69,6 +73,8 @@ __all__ = [
|
|
|
69
73
|
'AppSpecServiceLogDestination',
|
|
70
74
|
'AppSpecServiceLogDestinationDatadog',
|
|
71
75
|
'AppSpecServiceLogDestinationLogtail',
|
|
76
|
+
'AppSpecServiceLogDestinationOpenSearch',
|
|
77
|
+
'AppSpecServiceLogDestinationOpenSearchBasicAuth',
|
|
72
78
|
'AppSpecServiceLogDestinationPapertrail',
|
|
73
79
|
'AppSpecServiceRoute',
|
|
74
80
|
'AppSpecStaticSite',
|
|
@@ -90,6 +96,8 @@ __all__ = [
|
|
|
90
96
|
'AppSpecWorkerLogDestination',
|
|
91
97
|
'AppSpecWorkerLogDestinationDatadog',
|
|
92
98
|
'AppSpecWorkerLogDestinationLogtail',
|
|
99
|
+
'AppSpecWorkerLogDestinationOpenSearch',
|
|
100
|
+
'AppSpecWorkerLogDestinationOpenSearchBasicAuth',
|
|
93
101
|
'AppSpecWorkerLogDestinationPapertrail',
|
|
94
102
|
'DatabaseClusterBackupRestore',
|
|
95
103
|
'DatabaseClusterMaintenanceWindow',
|
|
@@ -144,6 +152,8 @@ __all__ = [
|
|
|
144
152
|
'GetAppSpecFunctionLogDestinationResult',
|
|
145
153
|
'GetAppSpecFunctionLogDestinationDatadogResult',
|
|
146
154
|
'GetAppSpecFunctionLogDestinationLogtailResult',
|
|
155
|
+
'GetAppSpecFunctionLogDestinationOpenSearchResult',
|
|
156
|
+
'GetAppSpecFunctionLogDestinationOpenSearchBasicAuthResult',
|
|
147
157
|
'GetAppSpecFunctionLogDestinationPapertrailResult',
|
|
148
158
|
'GetAppSpecFunctionRouteResult',
|
|
149
159
|
'GetAppSpecIngressResult',
|
|
@@ -165,6 +175,8 @@ __all__ = [
|
|
|
165
175
|
'GetAppSpecJobLogDestinationResult',
|
|
166
176
|
'GetAppSpecJobLogDestinationDatadogResult',
|
|
167
177
|
'GetAppSpecJobLogDestinationLogtailResult',
|
|
178
|
+
'GetAppSpecJobLogDestinationOpenSearchResult',
|
|
179
|
+
'GetAppSpecJobLogDestinationOpenSearchBasicAuthResult',
|
|
168
180
|
'GetAppSpecJobLogDestinationPapertrailResult',
|
|
169
181
|
'GetAppSpecServiceResult',
|
|
170
182
|
'GetAppSpecServiceAlertResult',
|
|
@@ -183,6 +195,8 @@ __all__ = [
|
|
|
183
195
|
'GetAppSpecServiceLogDestinationResult',
|
|
184
196
|
'GetAppSpecServiceLogDestinationDatadogResult',
|
|
185
197
|
'GetAppSpecServiceLogDestinationLogtailResult',
|
|
198
|
+
'GetAppSpecServiceLogDestinationOpenSearchResult',
|
|
199
|
+
'GetAppSpecServiceLogDestinationOpenSearchBasicAuthResult',
|
|
186
200
|
'GetAppSpecServiceLogDestinationPapertrailResult',
|
|
187
201
|
'GetAppSpecServiceRouteResult',
|
|
188
202
|
'GetAppSpecStaticSiteResult',
|
|
@@ -204,6 +218,8 @@ __all__ = [
|
|
|
204
218
|
'GetAppSpecWorkerLogDestinationResult',
|
|
205
219
|
'GetAppSpecWorkerLogDestinationDatadogResult',
|
|
206
220
|
'GetAppSpecWorkerLogDestinationLogtailResult',
|
|
221
|
+
'GetAppSpecWorkerLogDestinationOpenSearchResult',
|
|
222
|
+
'GetAppSpecWorkerLogDestinationOpenSearchBasicAuthResult',
|
|
207
223
|
'GetAppSpecWorkerLogDestinationPapertrailResult',
|
|
208
224
|
'GetDatabaseClusterMaintenanceWindowResult',
|
|
209
225
|
'GetDatabaseUserSettingResult',
|
|
@@ -336,11 +352,11 @@ class AppSpec(dict):
|
|
|
336
352
|
static_sites: Optional[Sequence['outputs.AppSpecStaticSite']] = None,
|
|
337
353
|
workers: Optional[Sequence['outputs.AppSpecWorker']] = None):
|
|
338
354
|
"""
|
|
339
|
-
:param str name: The name of the
|
|
340
|
-
:param Sequence['AppSpecAlertArgs'] alerts: Describes an alert policy for the
|
|
355
|
+
:param str name: The name of the component.
|
|
356
|
+
:param Sequence['AppSpecAlertArgs'] alerts: Describes an alert policy for the component.
|
|
341
357
|
:param Sequence['AppSpecDomainNameArgs'] domain_names: Describes a domain where the application will be made available.
|
|
342
358
|
:param Sequence['AppSpecEgressArgs'] egresses: Specification for app egress configurations.
|
|
343
|
-
:param Sequence['AppSpecEnvArgs'] envs: Describes an
|
|
359
|
+
:param Sequence['AppSpecEnvArgs'] envs: Describes an environment variable made available to an app competent.
|
|
344
360
|
:param Sequence[str] features: A list of the features applied to the app. The default buildpack can be overridden here. List of available buildpacks can be found using the [doctl CLI](https://docs.digitalocean.com/reference/doctl/reference/apps/list-buildpacks/)
|
|
345
361
|
:param 'AppSpecIngressArgs' ingress: Specification for component routing, rewrites, and redirects.
|
|
346
362
|
:param str region: The slug for the DigitalOcean data center region hosting the app.
|
|
@@ -379,7 +395,7 @@ class AppSpec(dict):
|
|
|
379
395
|
@pulumi.getter
|
|
380
396
|
def name(self) -> str:
|
|
381
397
|
"""
|
|
382
|
-
The name of the
|
|
398
|
+
The name of the component.
|
|
383
399
|
"""
|
|
384
400
|
return pulumi.get(self, "name")
|
|
385
401
|
|
|
@@ -387,7 +403,7 @@ class AppSpec(dict):
|
|
|
387
403
|
@pulumi.getter
|
|
388
404
|
def alerts(self) -> Optional[Sequence['outputs.AppSpecAlert']]:
|
|
389
405
|
"""
|
|
390
|
-
Describes an alert policy for the
|
|
406
|
+
Describes an alert policy for the component.
|
|
391
407
|
"""
|
|
392
408
|
return pulumi.get(self, "alerts")
|
|
393
409
|
|
|
@@ -422,7 +438,7 @@ class AppSpec(dict):
|
|
|
422
438
|
@pulumi.getter
|
|
423
439
|
def envs(self) -> Optional[Sequence['outputs.AppSpecEnv']]:
|
|
424
440
|
"""
|
|
425
|
-
Describes an
|
|
441
|
+
Describes an environment variable made available to an app competent.
|
|
426
442
|
"""
|
|
427
443
|
return pulumi.get(self, "envs")
|
|
428
444
|
|
|
@@ -482,7 +498,7 @@ class AppSpecAlert(dict):
|
|
|
482
498
|
rule: str,
|
|
483
499
|
disabled: Optional[bool] = None):
|
|
484
500
|
"""
|
|
485
|
-
:param str rule: The type of the alert to configure.
|
|
501
|
+
:param str rule: The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
|
|
486
502
|
:param bool disabled: Determines whether or not the alert is disabled (default: `false`).
|
|
487
503
|
"""
|
|
488
504
|
pulumi.set(__self__, "rule", rule)
|
|
@@ -493,7 +509,7 @@ class AppSpecAlert(dict):
|
|
|
493
509
|
@pulumi.getter
|
|
494
510
|
def rule(self) -> str:
|
|
495
511
|
"""
|
|
496
|
-
The type of the alert to configure.
|
|
512
|
+
The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
|
|
497
513
|
"""
|
|
498
514
|
return pulumi.get(self, "rule")
|
|
499
515
|
|
|
@@ -793,7 +809,7 @@ class AppSpecFunction(dict):
|
|
|
793
809
|
:param Sequence['AppSpecFunctionAlertArgs'] alerts: Describes an alert policy for the component.
|
|
794
810
|
:param 'AppSpecFunctionCorsArgs' cors: The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
|
|
795
811
|
:param Sequence['AppSpecFunctionEnvArgs'] envs: Describes an environment variable made available to an app competent.
|
|
796
|
-
:param 'AppSpecFunctionGitArgs' git: A Git repo to use as the component's source. The repository must be able to be cloned without authentication.
|
|
812
|
+
:param 'AppSpecFunctionGitArgs' git: A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.
|
|
797
813
|
:param 'AppSpecFunctionGithubArgs' github: A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
|
|
798
814
|
:param 'AppSpecFunctionGitlabArgs' gitlab: A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
|
|
799
815
|
:param Sequence['AppSpecFunctionLogDestinationArgs'] log_destinations: Describes a log forwarding destination.
|
|
@@ -857,7 +873,7 @@ class AppSpecFunction(dict):
|
|
|
857
873
|
@pulumi.getter
|
|
858
874
|
def git(self) -> Optional['outputs.AppSpecFunctionGit']:
|
|
859
875
|
"""
|
|
860
|
-
A Git repo to use as the component's source. The repository must be able to be cloned without authentication.
|
|
876
|
+
A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.
|
|
861
877
|
"""
|
|
862
878
|
return pulumi.get(self, "git")
|
|
863
879
|
|
|
@@ -1341,15 +1357,34 @@ class AppSpecFunctionGitlab(dict):
|
|
|
1341
1357
|
|
|
1342
1358
|
@pulumi.output_type
|
|
1343
1359
|
class AppSpecFunctionLogDestination(dict):
|
|
1360
|
+
@staticmethod
|
|
1361
|
+
def __key_warning(key: str):
|
|
1362
|
+
suggest = None
|
|
1363
|
+
if key == "openSearch":
|
|
1364
|
+
suggest = "open_search"
|
|
1365
|
+
|
|
1366
|
+
if suggest:
|
|
1367
|
+
pulumi.log.warn(f"Key '{key}' not found in AppSpecFunctionLogDestination. Access the value via the '{suggest}' property getter instead.")
|
|
1368
|
+
|
|
1369
|
+
def __getitem__(self, key: str) -> Any:
|
|
1370
|
+
AppSpecFunctionLogDestination.__key_warning(key)
|
|
1371
|
+
return super().__getitem__(key)
|
|
1372
|
+
|
|
1373
|
+
def get(self, key: str, default = None) -> Any:
|
|
1374
|
+
AppSpecFunctionLogDestination.__key_warning(key)
|
|
1375
|
+
return super().get(key, default)
|
|
1376
|
+
|
|
1344
1377
|
def __init__(__self__, *,
|
|
1345
1378
|
name: str,
|
|
1346
1379
|
datadog: Optional['outputs.AppSpecFunctionLogDestinationDatadog'] = None,
|
|
1347
1380
|
logtail: Optional['outputs.AppSpecFunctionLogDestinationLogtail'] = None,
|
|
1381
|
+
open_search: Optional['outputs.AppSpecFunctionLogDestinationOpenSearch'] = None,
|
|
1348
1382
|
papertrail: Optional['outputs.AppSpecFunctionLogDestinationPapertrail'] = None):
|
|
1349
1383
|
"""
|
|
1350
1384
|
:param str name: Name of the log destination. Minimum length: 2. Maximum length: 42.
|
|
1351
1385
|
:param 'AppSpecFunctionLogDestinationDatadogArgs' datadog: Datadog configuration.
|
|
1352
1386
|
:param 'AppSpecFunctionLogDestinationLogtailArgs' logtail: Logtail configuration.
|
|
1387
|
+
:param 'AppSpecFunctionLogDestinationOpenSearchArgs' open_search: OpenSearch configuration.
|
|
1353
1388
|
:param 'AppSpecFunctionLogDestinationPapertrailArgs' papertrail: Papertrail configuration.
|
|
1354
1389
|
"""
|
|
1355
1390
|
pulumi.set(__self__, "name", name)
|
|
@@ -1357,6 +1392,8 @@ class AppSpecFunctionLogDestination(dict):
|
|
|
1357
1392
|
pulumi.set(__self__, "datadog", datadog)
|
|
1358
1393
|
if logtail is not None:
|
|
1359
1394
|
pulumi.set(__self__, "logtail", logtail)
|
|
1395
|
+
if open_search is not None:
|
|
1396
|
+
pulumi.set(__self__, "open_search", open_search)
|
|
1360
1397
|
if papertrail is not None:
|
|
1361
1398
|
pulumi.set(__self__, "papertrail", papertrail)
|
|
1362
1399
|
|
|
@@ -1384,6 +1421,14 @@ class AppSpecFunctionLogDestination(dict):
|
|
|
1384
1421
|
"""
|
|
1385
1422
|
return pulumi.get(self, "logtail")
|
|
1386
1423
|
|
|
1424
|
+
@property
|
|
1425
|
+
@pulumi.getter(name="openSearch")
|
|
1426
|
+
def open_search(self) -> Optional['outputs.AppSpecFunctionLogDestinationOpenSearch']:
|
|
1427
|
+
"""
|
|
1428
|
+
OpenSearch configuration.
|
|
1429
|
+
"""
|
|
1430
|
+
return pulumi.get(self, "open_search")
|
|
1431
|
+
|
|
1387
1432
|
@property
|
|
1388
1433
|
@pulumi.getter
|
|
1389
1434
|
def papertrail(self) -> Optional['outputs.AppSpecFunctionLogDestinationPapertrail']:
|
|
@@ -1446,8 +1491,6 @@ class AppSpecFunctionLogDestinationLogtail(dict):
|
|
|
1446
1491
|
token: str):
|
|
1447
1492
|
"""
|
|
1448
1493
|
:param str token: Logtail token.
|
|
1449
|
-
|
|
1450
|
-
A `database` can contain:
|
|
1451
1494
|
"""
|
|
1452
1495
|
pulumi.set(__self__, "token", token)
|
|
1453
1496
|
|
|
@@ -1456,12 +1499,116 @@ class AppSpecFunctionLogDestinationLogtail(dict):
|
|
|
1456
1499
|
def token(self) -> str:
|
|
1457
1500
|
"""
|
|
1458
1501
|
Logtail token.
|
|
1459
|
-
|
|
1460
|
-
A `database` can contain:
|
|
1461
1502
|
"""
|
|
1462
1503
|
return pulumi.get(self, "token")
|
|
1463
1504
|
|
|
1464
1505
|
|
|
1506
|
+
@pulumi.output_type
|
|
1507
|
+
class AppSpecFunctionLogDestinationOpenSearch(dict):
|
|
1508
|
+
@staticmethod
|
|
1509
|
+
def __key_warning(key: str):
|
|
1510
|
+
suggest = None
|
|
1511
|
+
if key == "basicAuth":
|
|
1512
|
+
suggest = "basic_auth"
|
|
1513
|
+
elif key == "clusterName":
|
|
1514
|
+
suggest = "cluster_name"
|
|
1515
|
+
elif key == "indexName":
|
|
1516
|
+
suggest = "index_name"
|
|
1517
|
+
|
|
1518
|
+
if suggest:
|
|
1519
|
+
pulumi.log.warn(f"Key '{key}' not found in AppSpecFunctionLogDestinationOpenSearch. Access the value via the '{suggest}' property getter instead.")
|
|
1520
|
+
|
|
1521
|
+
def __getitem__(self, key: str) -> Any:
|
|
1522
|
+
AppSpecFunctionLogDestinationOpenSearch.__key_warning(key)
|
|
1523
|
+
return super().__getitem__(key)
|
|
1524
|
+
|
|
1525
|
+
def get(self, key: str, default = None) -> Any:
|
|
1526
|
+
AppSpecFunctionLogDestinationOpenSearch.__key_warning(key)
|
|
1527
|
+
return super().get(key, default)
|
|
1528
|
+
|
|
1529
|
+
def __init__(__self__, *,
|
|
1530
|
+
basic_auth: 'outputs.AppSpecFunctionLogDestinationOpenSearchBasicAuth',
|
|
1531
|
+
cluster_name: Optional[str] = None,
|
|
1532
|
+
endpoint: Optional[str] = None,
|
|
1533
|
+
index_name: Optional[str] = None):
|
|
1534
|
+
"""
|
|
1535
|
+
:param 'AppSpecFunctionLogDestinationOpenSearchBasicAuthArgs' basic_auth: Basic authentication details.
|
|
1536
|
+
:param str cluster_name: The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `cluster_name` is not set, a new cluster will be provisioned.
|
|
1537
|
+
:param str endpoint: OpenSearch endpoint.
|
|
1538
|
+
:param str index_name: OpenSearch index name.
|
|
1539
|
+
"""
|
|
1540
|
+
pulumi.set(__self__, "basic_auth", basic_auth)
|
|
1541
|
+
if cluster_name is not None:
|
|
1542
|
+
pulumi.set(__self__, "cluster_name", cluster_name)
|
|
1543
|
+
if endpoint is not None:
|
|
1544
|
+
pulumi.set(__self__, "endpoint", endpoint)
|
|
1545
|
+
if index_name is not None:
|
|
1546
|
+
pulumi.set(__self__, "index_name", index_name)
|
|
1547
|
+
|
|
1548
|
+
@property
|
|
1549
|
+
@pulumi.getter(name="basicAuth")
|
|
1550
|
+
def basic_auth(self) -> 'outputs.AppSpecFunctionLogDestinationOpenSearchBasicAuth':
|
|
1551
|
+
"""
|
|
1552
|
+
Basic authentication details.
|
|
1553
|
+
"""
|
|
1554
|
+
return pulumi.get(self, "basic_auth")
|
|
1555
|
+
|
|
1556
|
+
@property
|
|
1557
|
+
@pulumi.getter(name="clusterName")
|
|
1558
|
+
def cluster_name(self) -> Optional[str]:
|
|
1559
|
+
"""
|
|
1560
|
+
The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `cluster_name` is not set, a new cluster will be provisioned.
|
|
1561
|
+
"""
|
|
1562
|
+
return pulumi.get(self, "cluster_name")
|
|
1563
|
+
|
|
1564
|
+
@property
|
|
1565
|
+
@pulumi.getter
|
|
1566
|
+
def endpoint(self) -> Optional[str]:
|
|
1567
|
+
"""
|
|
1568
|
+
OpenSearch endpoint.
|
|
1569
|
+
"""
|
|
1570
|
+
return pulumi.get(self, "endpoint")
|
|
1571
|
+
|
|
1572
|
+
@property
|
|
1573
|
+
@pulumi.getter(name="indexName")
|
|
1574
|
+
def index_name(self) -> Optional[str]:
|
|
1575
|
+
"""
|
|
1576
|
+
OpenSearch index name.
|
|
1577
|
+
"""
|
|
1578
|
+
return pulumi.get(self, "index_name")
|
|
1579
|
+
|
|
1580
|
+
|
|
1581
|
+
@pulumi.output_type
|
|
1582
|
+
class AppSpecFunctionLogDestinationOpenSearchBasicAuth(dict):
|
|
1583
|
+
def __init__(__self__, *,
|
|
1584
|
+
password: Optional[str] = None,
|
|
1585
|
+
user: Optional[str] = None):
|
|
1586
|
+
"""
|
|
1587
|
+
:param str password: Password for basic authentication.
|
|
1588
|
+
:param str user: user for basic authentication.
|
|
1589
|
+
"""
|
|
1590
|
+
if password is not None:
|
|
1591
|
+
pulumi.set(__self__, "password", password)
|
|
1592
|
+
if user is not None:
|
|
1593
|
+
pulumi.set(__self__, "user", user)
|
|
1594
|
+
|
|
1595
|
+
@property
|
|
1596
|
+
@pulumi.getter
|
|
1597
|
+
def password(self) -> Optional[str]:
|
|
1598
|
+
"""
|
|
1599
|
+
Password for basic authentication.
|
|
1600
|
+
"""
|
|
1601
|
+
return pulumi.get(self, "password")
|
|
1602
|
+
|
|
1603
|
+
@property
|
|
1604
|
+
@pulumi.getter
|
|
1605
|
+
def user(self) -> Optional[str]:
|
|
1606
|
+
"""
|
|
1607
|
+
user for basic authentication.
|
|
1608
|
+
"""
|
|
1609
|
+
return pulumi.get(self, "user")
|
|
1610
|
+
|
|
1611
|
+
|
|
1465
1612
|
@pulumi.output_type
|
|
1466
1613
|
class AppSpecFunctionLogDestinationPapertrail(dict):
|
|
1467
1614
|
def __init__(__self__, *,
|
|
@@ -1699,11 +1846,11 @@ class AppSpecIngressRuleCors(dict):
|
|
|
1699
1846
|
expose_headers: Optional[Sequence[str]] = None,
|
|
1700
1847
|
max_age: Optional[str] = None):
|
|
1701
1848
|
"""
|
|
1702
|
-
:param bool allow_credentials: Whether browsers should expose the response to the client-side JavaScript code when the request
|
|
1703
|
-
:param Sequence[str] allow_headers: The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
|
|
1704
|
-
:param Sequence[str] allow_methods: The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
|
|
1849
|
+
:param bool allow_credentials: Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is `include`. This configures the `Access-Control-Allow-Credentials` header.
|
|
1850
|
+
:param Sequence[str] allow_headers: The set of allowed HTTP request headers. This configures the `Access-Control-Allow-Headers` header.
|
|
1851
|
+
:param Sequence[str] allow_methods: The set of allowed HTTP methods. This configures the `Access-Control-Allow-Methods` header.
|
|
1705
1852
|
:param 'AppSpecIngressRuleCorsAllowOriginsArgs' allow_origins: The `Access-Control-Allow-Origin` can be
|
|
1706
|
-
:param Sequence[str] expose_headers: The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
|
|
1853
|
+
:param Sequence[str] expose_headers: The set of HTTP response headers that browsers are allowed to access. This configures the `Access-Control-Expose-Headers` header.
|
|
1707
1854
|
:param str max_age: An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.
|
|
1708
1855
|
"""
|
|
1709
1856
|
if allow_credentials is not None:
|
|
@@ -1723,7 +1870,7 @@ class AppSpecIngressRuleCors(dict):
|
|
|
1723
1870
|
@pulumi.getter(name="allowCredentials")
|
|
1724
1871
|
def allow_credentials(self) -> Optional[bool]:
|
|
1725
1872
|
"""
|
|
1726
|
-
Whether browsers should expose the response to the client-side JavaScript code when the request
|
|
1873
|
+
Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is `include`. This configures the `Access-Control-Allow-Credentials` header.
|
|
1727
1874
|
"""
|
|
1728
1875
|
return pulumi.get(self, "allow_credentials")
|
|
1729
1876
|
|
|
@@ -1731,7 +1878,7 @@ class AppSpecIngressRuleCors(dict):
|
|
|
1731
1878
|
@pulumi.getter(name="allowHeaders")
|
|
1732
1879
|
def allow_headers(self) -> Optional[Sequence[str]]:
|
|
1733
1880
|
"""
|
|
1734
|
-
The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
|
|
1881
|
+
The set of allowed HTTP request headers. This configures the `Access-Control-Allow-Headers` header.
|
|
1735
1882
|
"""
|
|
1736
1883
|
return pulumi.get(self, "allow_headers")
|
|
1737
1884
|
|
|
@@ -1739,7 +1886,7 @@ class AppSpecIngressRuleCors(dict):
|
|
|
1739
1886
|
@pulumi.getter(name="allowMethods")
|
|
1740
1887
|
def allow_methods(self) -> Optional[Sequence[str]]:
|
|
1741
1888
|
"""
|
|
1742
|
-
The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
|
|
1889
|
+
The set of allowed HTTP methods. This configures the `Access-Control-Allow-Methods` header.
|
|
1743
1890
|
"""
|
|
1744
1891
|
return pulumi.get(self, "allow_methods")
|
|
1745
1892
|
|
|
@@ -1755,7 +1902,7 @@ class AppSpecIngressRuleCors(dict):
|
|
|
1755
1902
|
@pulumi.getter(name="exposeHeaders")
|
|
1756
1903
|
def expose_headers(self) -> Optional[Sequence[str]]:
|
|
1757
1904
|
"""
|
|
1758
|
-
The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
|
|
1905
|
+
The set of HTTP response headers that browsers are allowed to access. This configures the `Access-Control-Expose-Headers` header.
|
|
1759
1906
|
"""
|
|
1760
1907
|
return pulumi.get(self, "expose_headers")
|
|
1761
1908
|
|
|
@@ -1991,7 +2138,7 @@ class AppSpecJob(dict):
|
|
|
1991
2138
|
:param str dockerfile_path: The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
|
|
1992
2139
|
:param str environment_slug: An environment slug describing the type of this app.
|
|
1993
2140
|
:param Sequence['AppSpecJobEnvArgs'] envs: Describes an environment variable made available to an app competent.
|
|
1994
|
-
:param 'AppSpecJobGitArgs' git: A Git repo to use as the component's source. The repository must be able to be cloned without authentication.
|
|
2141
|
+
:param 'AppSpecJobGitArgs' git: A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.
|
|
1995
2142
|
:param 'AppSpecJobGithubArgs' github: A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
|
|
1996
2143
|
:param 'AppSpecJobGitlabArgs' gitlab: A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
|
|
1997
2144
|
:param 'AppSpecJobImageArgs' image: An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.
|
|
@@ -2090,7 +2237,7 @@ class AppSpecJob(dict):
|
|
|
2090
2237
|
@pulumi.getter
|
|
2091
2238
|
def git(self) -> Optional['outputs.AppSpecJobGit']:
|
|
2092
2239
|
"""
|
|
2093
|
-
A Git repo to use as the component's source. The repository must be able to be cloned without authentication.
|
|
2240
|
+
A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.
|
|
2094
2241
|
"""
|
|
2095
2242
|
return pulumi.get(self, "git")
|
|
2096
2243
|
|
|
@@ -2576,15 +2723,34 @@ class AppSpecJobImageDeployOnPush(dict):
|
|
|
2576
2723
|
|
|
2577
2724
|
@pulumi.output_type
|
|
2578
2725
|
class AppSpecJobLogDestination(dict):
|
|
2726
|
+
@staticmethod
|
|
2727
|
+
def __key_warning(key: str):
|
|
2728
|
+
suggest = None
|
|
2729
|
+
if key == "openSearch":
|
|
2730
|
+
suggest = "open_search"
|
|
2731
|
+
|
|
2732
|
+
if suggest:
|
|
2733
|
+
pulumi.log.warn(f"Key '{key}' not found in AppSpecJobLogDestination. Access the value via the '{suggest}' property getter instead.")
|
|
2734
|
+
|
|
2735
|
+
def __getitem__(self, key: str) -> Any:
|
|
2736
|
+
AppSpecJobLogDestination.__key_warning(key)
|
|
2737
|
+
return super().__getitem__(key)
|
|
2738
|
+
|
|
2739
|
+
def get(self, key: str, default = None) -> Any:
|
|
2740
|
+
AppSpecJobLogDestination.__key_warning(key)
|
|
2741
|
+
return super().get(key, default)
|
|
2742
|
+
|
|
2579
2743
|
def __init__(__self__, *,
|
|
2580
2744
|
name: str,
|
|
2581
2745
|
datadog: Optional['outputs.AppSpecJobLogDestinationDatadog'] = None,
|
|
2582
2746
|
logtail: Optional['outputs.AppSpecJobLogDestinationLogtail'] = None,
|
|
2747
|
+
open_search: Optional['outputs.AppSpecJobLogDestinationOpenSearch'] = None,
|
|
2583
2748
|
papertrail: Optional['outputs.AppSpecJobLogDestinationPapertrail'] = None):
|
|
2584
2749
|
"""
|
|
2585
2750
|
:param str name: Name of the log destination. Minimum length: 2. Maximum length: 42.
|
|
2586
2751
|
:param 'AppSpecJobLogDestinationDatadogArgs' datadog: Datadog configuration.
|
|
2587
2752
|
:param 'AppSpecJobLogDestinationLogtailArgs' logtail: Logtail configuration.
|
|
2753
|
+
:param 'AppSpecJobLogDestinationOpenSearchArgs' open_search: OpenSearch configuration.
|
|
2588
2754
|
:param 'AppSpecJobLogDestinationPapertrailArgs' papertrail: Papertrail configuration.
|
|
2589
2755
|
"""
|
|
2590
2756
|
pulumi.set(__self__, "name", name)
|
|
@@ -2592,6 +2758,8 @@ class AppSpecJobLogDestination(dict):
|
|
|
2592
2758
|
pulumi.set(__self__, "datadog", datadog)
|
|
2593
2759
|
if logtail is not None:
|
|
2594
2760
|
pulumi.set(__self__, "logtail", logtail)
|
|
2761
|
+
if open_search is not None:
|
|
2762
|
+
pulumi.set(__self__, "open_search", open_search)
|
|
2595
2763
|
if papertrail is not None:
|
|
2596
2764
|
pulumi.set(__self__, "papertrail", papertrail)
|
|
2597
2765
|
|
|
@@ -2619,6 +2787,14 @@ class AppSpecJobLogDestination(dict):
|
|
|
2619
2787
|
"""
|
|
2620
2788
|
return pulumi.get(self, "logtail")
|
|
2621
2789
|
|
|
2790
|
+
@property
|
|
2791
|
+
@pulumi.getter(name="openSearch")
|
|
2792
|
+
def open_search(self) -> Optional['outputs.AppSpecJobLogDestinationOpenSearch']:
|
|
2793
|
+
"""
|
|
2794
|
+
OpenSearch configuration.
|
|
2795
|
+
"""
|
|
2796
|
+
return pulumi.get(self, "open_search")
|
|
2797
|
+
|
|
2622
2798
|
@property
|
|
2623
2799
|
@pulumi.getter
|
|
2624
2800
|
def papertrail(self) -> Optional['outputs.AppSpecJobLogDestinationPapertrail']:
|
|
@@ -2681,8 +2857,6 @@ class AppSpecJobLogDestinationLogtail(dict):
|
|
|
2681
2857
|
token: str):
|
|
2682
2858
|
"""
|
|
2683
2859
|
:param str token: Logtail token.
|
|
2684
|
-
|
|
2685
|
-
A `database` can contain:
|
|
2686
2860
|
"""
|
|
2687
2861
|
pulumi.set(__self__, "token", token)
|
|
2688
2862
|
|
|
@@ -2691,12 +2865,116 @@ class AppSpecJobLogDestinationLogtail(dict):
|
|
|
2691
2865
|
def token(self) -> str:
|
|
2692
2866
|
"""
|
|
2693
2867
|
Logtail token.
|
|
2694
|
-
|
|
2695
|
-
A `database` can contain:
|
|
2696
2868
|
"""
|
|
2697
2869
|
return pulumi.get(self, "token")
|
|
2698
2870
|
|
|
2699
2871
|
|
|
2872
|
+
@pulumi.output_type
|
|
2873
|
+
class AppSpecJobLogDestinationOpenSearch(dict):
|
|
2874
|
+
@staticmethod
|
|
2875
|
+
def __key_warning(key: str):
|
|
2876
|
+
suggest = None
|
|
2877
|
+
if key == "basicAuth":
|
|
2878
|
+
suggest = "basic_auth"
|
|
2879
|
+
elif key == "clusterName":
|
|
2880
|
+
suggest = "cluster_name"
|
|
2881
|
+
elif key == "indexName":
|
|
2882
|
+
suggest = "index_name"
|
|
2883
|
+
|
|
2884
|
+
if suggest:
|
|
2885
|
+
pulumi.log.warn(f"Key '{key}' not found in AppSpecJobLogDestinationOpenSearch. Access the value via the '{suggest}' property getter instead.")
|
|
2886
|
+
|
|
2887
|
+
def __getitem__(self, key: str) -> Any:
|
|
2888
|
+
AppSpecJobLogDestinationOpenSearch.__key_warning(key)
|
|
2889
|
+
return super().__getitem__(key)
|
|
2890
|
+
|
|
2891
|
+
def get(self, key: str, default = None) -> Any:
|
|
2892
|
+
AppSpecJobLogDestinationOpenSearch.__key_warning(key)
|
|
2893
|
+
return super().get(key, default)
|
|
2894
|
+
|
|
2895
|
+
def __init__(__self__, *,
|
|
2896
|
+
basic_auth: 'outputs.AppSpecJobLogDestinationOpenSearchBasicAuth',
|
|
2897
|
+
cluster_name: Optional[str] = None,
|
|
2898
|
+
endpoint: Optional[str] = None,
|
|
2899
|
+
index_name: Optional[str] = None):
|
|
2900
|
+
"""
|
|
2901
|
+
:param 'AppSpecJobLogDestinationOpenSearchBasicAuthArgs' basic_auth: Basic authentication details.
|
|
2902
|
+
:param str cluster_name: The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `cluster_name` is not set, a new cluster will be provisioned.
|
|
2903
|
+
:param str endpoint: OpenSearch endpoint.
|
|
2904
|
+
:param str index_name: OpenSearch index name.
|
|
2905
|
+
"""
|
|
2906
|
+
pulumi.set(__self__, "basic_auth", basic_auth)
|
|
2907
|
+
if cluster_name is not None:
|
|
2908
|
+
pulumi.set(__self__, "cluster_name", cluster_name)
|
|
2909
|
+
if endpoint is not None:
|
|
2910
|
+
pulumi.set(__self__, "endpoint", endpoint)
|
|
2911
|
+
if index_name is not None:
|
|
2912
|
+
pulumi.set(__self__, "index_name", index_name)
|
|
2913
|
+
|
|
2914
|
+
@property
|
|
2915
|
+
@pulumi.getter(name="basicAuth")
|
|
2916
|
+
def basic_auth(self) -> 'outputs.AppSpecJobLogDestinationOpenSearchBasicAuth':
|
|
2917
|
+
"""
|
|
2918
|
+
Basic authentication details.
|
|
2919
|
+
"""
|
|
2920
|
+
return pulumi.get(self, "basic_auth")
|
|
2921
|
+
|
|
2922
|
+
@property
|
|
2923
|
+
@pulumi.getter(name="clusterName")
|
|
2924
|
+
def cluster_name(self) -> Optional[str]:
|
|
2925
|
+
"""
|
|
2926
|
+
The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `cluster_name` is not set, a new cluster will be provisioned.
|
|
2927
|
+
"""
|
|
2928
|
+
return pulumi.get(self, "cluster_name")
|
|
2929
|
+
|
|
2930
|
+
@property
|
|
2931
|
+
@pulumi.getter
|
|
2932
|
+
def endpoint(self) -> Optional[str]:
|
|
2933
|
+
"""
|
|
2934
|
+
OpenSearch endpoint.
|
|
2935
|
+
"""
|
|
2936
|
+
return pulumi.get(self, "endpoint")
|
|
2937
|
+
|
|
2938
|
+
@property
|
|
2939
|
+
@pulumi.getter(name="indexName")
|
|
2940
|
+
def index_name(self) -> Optional[str]:
|
|
2941
|
+
"""
|
|
2942
|
+
OpenSearch index name.
|
|
2943
|
+
"""
|
|
2944
|
+
return pulumi.get(self, "index_name")
|
|
2945
|
+
|
|
2946
|
+
|
|
2947
|
+
@pulumi.output_type
|
|
2948
|
+
class AppSpecJobLogDestinationOpenSearchBasicAuth(dict):
|
|
2949
|
+
def __init__(__self__, *,
|
|
2950
|
+
password: Optional[str] = None,
|
|
2951
|
+
user: Optional[str] = None):
|
|
2952
|
+
"""
|
|
2953
|
+
:param str password: Password for basic authentication.
|
|
2954
|
+
:param str user: user for basic authentication.
|
|
2955
|
+
"""
|
|
2956
|
+
if password is not None:
|
|
2957
|
+
pulumi.set(__self__, "password", password)
|
|
2958
|
+
if user is not None:
|
|
2959
|
+
pulumi.set(__self__, "user", user)
|
|
2960
|
+
|
|
2961
|
+
@property
|
|
2962
|
+
@pulumi.getter
|
|
2963
|
+
def password(self) -> Optional[str]:
|
|
2964
|
+
"""
|
|
2965
|
+
Password for basic authentication.
|
|
2966
|
+
"""
|
|
2967
|
+
return pulumi.get(self, "password")
|
|
2968
|
+
|
|
2969
|
+
@property
|
|
2970
|
+
@pulumi.getter
|
|
2971
|
+
def user(self) -> Optional[str]:
|
|
2972
|
+
"""
|
|
2973
|
+
user for basic authentication.
|
|
2974
|
+
"""
|
|
2975
|
+
return pulumi.get(self, "user")
|
|
2976
|
+
|
|
2977
|
+
|
|
2700
2978
|
@pulumi.output_type
|
|
2701
2979
|
class AppSpecJobLogDestinationPapertrail(dict):
|
|
2702
2980
|
def __init__(__self__, *,
|
|
@@ -2785,7 +3063,7 @@ class AppSpecService(dict):
|
|
|
2785
3063
|
:param str dockerfile_path: The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
|
|
2786
3064
|
:param str environment_slug: An environment slug describing the type of this app.
|
|
2787
3065
|
:param Sequence['AppSpecServiceEnvArgs'] envs: Describes an environment variable made available to an app competent.
|
|
2788
|
-
:param 'AppSpecServiceGitArgs' git: A Git repo to use as the component's source. The repository must be able to be cloned without authentication.
|
|
3066
|
+
:param 'AppSpecServiceGitArgs' git: A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.
|
|
2789
3067
|
:param 'AppSpecServiceGithubArgs' github: A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
|
|
2790
3068
|
:param 'AppSpecServiceGitlabArgs' gitlab: A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
|
|
2791
3069
|
:param 'AppSpecServiceHealthCheckArgs' health_check: A health check to determine the availability of this component.
|
|
@@ -2910,7 +3188,7 @@ class AppSpecService(dict):
|
|
|
2910
3188
|
@pulumi.getter
|
|
2911
3189
|
def git(self) -> Optional['outputs.AppSpecServiceGit']:
|
|
2912
3190
|
"""
|
|
2913
|
-
A Git repo to use as the component's source. The repository must be able to be cloned without authentication.
|
|
3191
|
+
A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.
|
|
2914
3192
|
"""
|
|
2915
3193
|
return pulumi.get(self, "git")
|
|
2916
3194
|
|
|
@@ -3785,15 +4063,34 @@ class AppSpecServiceImageDeployOnPush(dict):
|
|
|
3785
4063
|
|
|
3786
4064
|
@pulumi.output_type
|
|
3787
4065
|
class AppSpecServiceLogDestination(dict):
|
|
4066
|
+
@staticmethod
|
|
4067
|
+
def __key_warning(key: str):
|
|
4068
|
+
suggest = None
|
|
4069
|
+
if key == "openSearch":
|
|
4070
|
+
suggest = "open_search"
|
|
4071
|
+
|
|
4072
|
+
if suggest:
|
|
4073
|
+
pulumi.log.warn(f"Key '{key}' not found in AppSpecServiceLogDestination. Access the value via the '{suggest}' property getter instead.")
|
|
4074
|
+
|
|
4075
|
+
def __getitem__(self, key: str) -> Any:
|
|
4076
|
+
AppSpecServiceLogDestination.__key_warning(key)
|
|
4077
|
+
return super().__getitem__(key)
|
|
4078
|
+
|
|
4079
|
+
def get(self, key: str, default = None) -> Any:
|
|
4080
|
+
AppSpecServiceLogDestination.__key_warning(key)
|
|
4081
|
+
return super().get(key, default)
|
|
4082
|
+
|
|
3788
4083
|
def __init__(__self__, *,
|
|
3789
4084
|
name: str,
|
|
3790
4085
|
datadog: Optional['outputs.AppSpecServiceLogDestinationDatadog'] = None,
|
|
3791
4086
|
logtail: Optional['outputs.AppSpecServiceLogDestinationLogtail'] = None,
|
|
4087
|
+
open_search: Optional['outputs.AppSpecServiceLogDestinationOpenSearch'] = None,
|
|
3792
4088
|
papertrail: Optional['outputs.AppSpecServiceLogDestinationPapertrail'] = None):
|
|
3793
4089
|
"""
|
|
3794
4090
|
:param str name: Name of the log destination. Minimum length: 2. Maximum length: 42.
|
|
3795
4091
|
:param 'AppSpecServiceLogDestinationDatadogArgs' datadog: Datadog configuration.
|
|
3796
4092
|
:param 'AppSpecServiceLogDestinationLogtailArgs' logtail: Logtail configuration.
|
|
4093
|
+
:param 'AppSpecServiceLogDestinationOpenSearchArgs' open_search: OpenSearch configuration.
|
|
3797
4094
|
:param 'AppSpecServiceLogDestinationPapertrailArgs' papertrail: Papertrail configuration.
|
|
3798
4095
|
"""
|
|
3799
4096
|
pulumi.set(__self__, "name", name)
|
|
@@ -3801,6 +4098,8 @@ class AppSpecServiceLogDestination(dict):
|
|
|
3801
4098
|
pulumi.set(__self__, "datadog", datadog)
|
|
3802
4099
|
if logtail is not None:
|
|
3803
4100
|
pulumi.set(__self__, "logtail", logtail)
|
|
4101
|
+
if open_search is not None:
|
|
4102
|
+
pulumi.set(__self__, "open_search", open_search)
|
|
3804
4103
|
if papertrail is not None:
|
|
3805
4104
|
pulumi.set(__self__, "papertrail", papertrail)
|
|
3806
4105
|
|
|
@@ -3828,6 +4127,14 @@ class AppSpecServiceLogDestination(dict):
|
|
|
3828
4127
|
"""
|
|
3829
4128
|
return pulumi.get(self, "logtail")
|
|
3830
4129
|
|
|
4130
|
+
@property
|
|
4131
|
+
@pulumi.getter(name="openSearch")
|
|
4132
|
+
def open_search(self) -> Optional['outputs.AppSpecServiceLogDestinationOpenSearch']:
|
|
4133
|
+
"""
|
|
4134
|
+
OpenSearch configuration.
|
|
4135
|
+
"""
|
|
4136
|
+
return pulumi.get(self, "open_search")
|
|
4137
|
+
|
|
3831
4138
|
@property
|
|
3832
4139
|
@pulumi.getter
|
|
3833
4140
|
def papertrail(self) -> Optional['outputs.AppSpecServiceLogDestinationPapertrail']:
|
|
@@ -3890,8 +4197,6 @@ class AppSpecServiceLogDestinationLogtail(dict):
|
|
|
3890
4197
|
token: str):
|
|
3891
4198
|
"""
|
|
3892
4199
|
:param str token: Logtail token.
|
|
3893
|
-
|
|
3894
|
-
A `database` can contain:
|
|
3895
4200
|
"""
|
|
3896
4201
|
pulumi.set(__self__, "token", token)
|
|
3897
4202
|
|
|
@@ -3900,12 +4205,116 @@ class AppSpecServiceLogDestinationLogtail(dict):
|
|
|
3900
4205
|
def token(self) -> str:
|
|
3901
4206
|
"""
|
|
3902
4207
|
Logtail token.
|
|
3903
|
-
|
|
3904
|
-
A `database` can contain:
|
|
3905
4208
|
"""
|
|
3906
4209
|
return pulumi.get(self, "token")
|
|
3907
4210
|
|
|
3908
4211
|
|
|
4212
|
+
@pulumi.output_type
|
|
4213
|
+
class AppSpecServiceLogDestinationOpenSearch(dict):
|
|
4214
|
+
@staticmethod
|
|
4215
|
+
def __key_warning(key: str):
|
|
4216
|
+
suggest = None
|
|
4217
|
+
if key == "basicAuth":
|
|
4218
|
+
suggest = "basic_auth"
|
|
4219
|
+
elif key == "clusterName":
|
|
4220
|
+
suggest = "cluster_name"
|
|
4221
|
+
elif key == "indexName":
|
|
4222
|
+
suggest = "index_name"
|
|
4223
|
+
|
|
4224
|
+
if suggest:
|
|
4225
|
+
pulumi.log.warn(f"Key '{key}' not found in AppSpecServiceLogDestinationOpenSearch. Access the value via the '{suggest}' property getter instead.")
|
|
4226
|
+
|
|
4227
|
+
def __getitem__(self, key: str) -> Any:
|
|
4228
|
+
AppSpecServiceLogDestinationOpenSearch.__key_warning(key)
|
|
4229
|
+
return super().__getitem__(key)
|
|
4230
|
+
|
|
4231
|
+
def get(self, key: str, default = None) -> Any:
|
|
4232
|
+
AppSpecServiceLogDestinationOpenSearch.__key_warning(key)
|
|
4233
|
+
return super().get(key, default)
|
|
4234
|
+
|
|
4235
|
+
def __init__(__self__, *,
|
|
4236
|
+
basic_auth: 'outputs.AppSpecServiceLogDestinationOpenSearchBasicAuth',
|
|
4237
|
+
cluster_name: Optional[str] = None,
|
|
4238
|
+
endpoint: Optional[str] = None,
|
|
4239
|
+
index_name: Optional[str] = None):
|
|
4240
|
+
"""
|
|
4241
|
+
:param 'AppSpecServiceLogDestinationOpenSearchBasicAuthArgs' basic_auth: Basic authentication details.
|
|
4242
|
+
:param str cluster_name: The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `cluster_name` is not set, a new cluster will be provisioned.
|
|
4243
|
+
:param str endpoint: OpenSearch endpoint.
|
|
4244
|
+
:param str index_name: OpenSearch index name.
|
|
4245
|
+
"""
|
|
4246
|
+
pulumi.set(__self__, "basic_auth", basic_auth)
|
|
4247
|
+
if cluster_name is not None:
|
|
4248
|
+
pulumi.set(__self__, "cluster_name", cluster_name)
|
|
4249
|
+
if endpoint is not None:
|
|
4250
|
+
pulumi.set(__self__, "endpoint", endpoint)
|
|
4251
|
+
if index_name is not None:
|
|
4252
|
+
pulumi.set(__self__, "index_name", index_name)
|
|
4253
|
+
|
|
4254
|
+
@property
|
|
4255
|
+
@pulumi.getter(name="basicAuth")
|
|
4256
|
+
def basic_auth(self) -> 'outputs.AppSpecServiceLogDestinationOpenSearchBasicAuth':
|
|
4257
|
+
"""
|
|
4258
|
+
Basic authentication details.
|
|
4259
|
+
"""
|
|
4260
|
+
return pulumi.get(self, "basic_auth")
|
|
4261
|
+
|
|
4262
|
+
@property
|
|
4263
|
+
@pulumi.getter(name="clusterName")
|
|
4264
|
+
def cluster_name(self) -> Optional[str]:
|
|
4265
|
+
"""
|
|
4266
|
+
The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `cluster_name` is not set, a new cluster will be provisioned.
|
|
4267
|
+
"""
|
|
4268
|
+
return pulumi.get(self, "cluster_name")
|
|
4269
|
+
|
|
4270
|
+
@property
|
|
4271
|
+
@pulumi.getter
|
|
4272
|
+
def endpoint(self) -> Optional[str]:
|
|
4273
|
+
"""
|
|
4274
|
+
OpenSearch endpoint.
|
|
4275
|
+
"""
|
|
4276
|
+
return pulumi.get(self, "endpoint")
|
|
4277
|
+
|
|
4278
|
+
@property
|
|
4279
|
+
@pulumi.getter(name="indexName")
|
|
4280
|
+
def index_name(self) -> Optional[str]:
|
|
4281
|
+
"""
|
|
4282
|
+
OpenSearch index name.
|
|
4283
|
+
"""
|
|
4284
|
+
return pulumi.get(self, "index_name")
|
|
4285
|
+
|
|
4286
|
+
|
|
4287
|
+
@pulumi.output_type
|
|
4288
|
+
class AppSpecServiceLogDestinationOpenSearchBasicAuth(dict):
|
|
4289
|
+
def __init__(__self__, *,
|
|
4290
|
+
password: Optional[str] = None,
|
|
4291
|
+
user: Optional[str] = None):
|
|
4292
|
+
"""
|
|
4293
|
+
:param str password: Password for basic authentication.
|
|
4294
|
+
:param str user: user for basic authentication.
|
|
4295
|
+
"""
|
|
4296
|
+
if password is not None:
|
|
4297
|
+
pulumi.set(__self__, "password", password)
|
|
4298
|
+
if user is not None:
|
|
4299
|
+
pulumi.set(__self__, "user", user)
|
|
4300
|
+
|
|
4301
|
+
@property
|
|
4302
|
+
@pulumi.getter
|
|
4303
|
+
def password(self) -> Optional[str]:
|
|
4304
|
+
"""
|
|
4305
|
+
Password for basic authentication.
|
|
4306
|
+
"""
|
|
4307
|
+
return pulumi.get(self, "password")
|
|
4308
|
+
|
|
4309
|
+
@property
|
|
4310
|
+
@pulumi.getter
|
|
4311
|
+
def user(self) -> Optional[str]:
|
|
4312
|
+
"""
|
|
4313
|
+
user for basic authentication.
|
|
4314
|
+
"""
|
|
4315
|
+
return pulumi.get(self, "user")
|
|
4316
|
+
|
|
4317
|
+
|
|
3909
4318
|
@pulumi.output_type
|
|
3910
4319
|
class AppSpecServiceLogDestinationPapertrail(dict):
|
|
3911
4320
|
def __init__(__self__, *,
|
|
@@ -4030,7 +4439,7 @@ class AppSpecStaticSite(dict):
|
|
|
4030
4439
|
:param str environment_slug: An environment slug describing the type of this app.
|
|
4031
4440
|
:param Sequence['AppSpecStaticSiteEnvArgs'] envs: Describes an environment variable made available to an app competent.
|
|
4032
4441
|
:param str error_document: The name of the error document to use when serving this static site.
|
|
4033
|
-
:param 'AppSpecStaticSiteGitArgs' git: A Git repo to use as the component's source. The repository must be able to be cloned without authentication.
|
|
4442
|
+
:param 'AppSpecStaticSiteGitArgs' git: A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.
|
|
4034
4443
|
:param 'AppSpecStaticSiteGithubArgs' github: A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
|
|
4035
4444
|
:param 'AppSpecStaticSiteGitlabArgs' gitlab: A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
|
|
4036
4445
|
:param str index_document: The name of the index document to use when serving this static site.
|
|
@@ -4137,7 +4546,7 @@ class AppSpecStaticSite(dict):
|
|
|
4137
4546
|
@pulumi.getter
|
|
4138
4547
|
def git(self) -> Optional['outputs.AppSpecStaticSiteGit']:
|
|
4139
4548
|
"""
|
|
4140
|
-
A Git repo to use as the component's source. The repository must be able to be cloned without authentication.
|
|
4549
|
+
A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.
|
|
4141
4550
|
"""
|
|
4142
4551
|
return pulumi.get(self, "git")
|
|
4143
4552
|
|
|
@@ -4668,7 +5077,7 @@ class AppSpecWorker(dict):
|
|
|
4668
5077
|
:param str dockerfile_path: The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
|
|
4669
5078
|
:param str environment_slug: An environment slug describing the type of this app.
|
|
4670
5079
|
:param Sequence['AppSpecWorkerEnvArgs'] envs: Describes an environment variable made available to an app competent.
|
|
4671
|
-
:param 'AppSpecWorkerGitArgs' git: A Git repo to use as the component's source. The repository must be able to be cloned without authentication.
|
|
5080
|
+
:param 'AppSpecWorkerGitArgs' git: A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.
|
|
4672
5081
|
:param 'AppSpecWorkerGithubArgs' github: A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
|
|
4673
5082
|
:param 'AppSpecWorkerGitlabArgs' gitlab: A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
|
|
4674
5083
|
:param 'AppSpecWorkerImageArgs' image: An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.
|
|
@@ -4760,7 +5169,7 @@ class AppSpecWorker(dict):
|
|
|
4760
5169
|
@pulumi.getter
|
|
4761
5170
|
def git(self) -> Optional['outputs.AppSpecWorkerGit']:
|
|
4762
5171
|
"""
|
|
4763
|
-
A Git repo to use as the component's source. The repository must be able to be cloned without authentication.
|
|
5172
|
+
A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.
|
|
4764
5173
|
"""
|
|
4765
5174
|
return pulumi.get(self, "git")
|
|
4766
5175
|
|
|
@@ -5234,15 +5643,34 @@ class AppSpecWorkerImageDeployOnPush(dict):
|
|
|
5234
5643
|
|
|
5235
5644
|
@pulumi.output_type
|
|
5236
5645
|
class AppSpecWorkerLogDestination(dict):
|
|
5646
|
+
@staticmethod
|
|
5647
|
+
def __key_warning(key: str):
|
|
5648
|
+
suggest = None
|
|
5649
|
+
if key == "openSearch":
|
|
5650
|
+
suggest = "open_search"
|
|
5651
|
+
|
|
5652
|
+
if suggest:
|
|
5653
|
+
pulumi.log.warn(f"Key '{key}' not found in AppSpecWorkerLogDestination. Access the value via the '{suggest}' property getter instead.")
|
|
5654
|
+
|
|
5655
|
+
def __getitem__(self, key: str) -> Any:
|
|
5656
|
+
AppSpecWorkerLogDestination.__key_warning(key)
|
|
5657
|
+
return super().__getitem__(key)
|
|
5658
|
+
|
|
5659
|
+
def get(self, key: str, default = None) -> Any:
|
|
5660
|
+
AppSpecWorkerLogDestination.__key_warning(key)
|
|
5661
|
+
return super().get(key, default)
|
|
5662
|
+
|
|
5237
5663
|
def __init__(__self__, *,
|
|
5238
5664
|
name: str,
|
|
5239
5665
|
datadog: Optional['outputs.AppSpecWorkerLogDestinationDatadog'] = None,
|
|
5240
5666
|
logtail: Optional['outputs.AppSpecWorkerLogDestinationLogtail'] = None,
|
|
5667
|
+
open_search: Optional['outputs.AppSpecWorkerLogDestinationOpenSearch'] = None,
|
|
5241
5668
|
papertrail: Optional['outputs.AppSpecWorkerLogDestinationPapertrail'] = None):
|
|
5242
5669
|
"""
|
|
5243
5670
|
:param str name: Name of the log destination. Minimum length: 2. Maximum length: 42.
|
|
5244
5671
|
:param 'AppSpecWorkerLogDestinationDatadogArgs' datadog: Datadog configuration.
|
|
5245
5672
|
:param 'AppSpecWorkerLogDestinationLogtailArgs' logtail: Logtail configuration.
|
|
5673
|
+
:param 'AppSpecWorkerLogDestinationOpenSearchArgs' open_search: OpenSearch configuration.
|
|
5246
5674
|
:param 'AppSpecWorkerLogDestinationPapertrailArgs' papertrail: Papertrail configuration.
|
|
5247
5675
|
"""
|
|
5248
5676
|
pulumi.set(__self__, "name", name)
|
|
@@ -5250,6 +5678,8 @@ class AppSpecWorkerLogDestination(dict):
|
|
|
5250
5678
|
pulumi.set(__self__, "datadog", datadog)
|
|
5251
5679
|
if logtail is not None:
|
|
5252
5680
|
pulumi.set(__self__, "logtail", logtail)
|
|
5681
|
+
if open_search is not None:
|
|
5682
|
+
pulumi.set(__self__, "open_search", open_search)
|
|
5253
5683
|
if papertrail is not None:
|
|
5254
5684
|
pulumi.set(__self__, "papertrail", papertrail)
|
|
5255
5685
|
|
|
@@ -5277,6 +5707,14 @@ class AppSpecWorkerLogDestination(dict):
|
|
|
5277
5707
|
"""
|
|
5278
5708
|
return pulumi.get(self, "logtail")
|
|
5279
5709
|
|
|
5710
|
+
@property
|
|
5711
|
+
@pulumi.getter(name="openSearch")
|
|
5712
|
+
def open_search(self) -> Optional['outputs.AppSpecWorkerLogDestinationOpenSearch']:
|
|
5713
|
+
"""
|
|
5714
|
+
OpenSearch configuration.
|
|
5715
|
+
"""
|
|
5716
|
+
return pulumi.get(self, "open_search")
|
|
5717
|
+
|
|
5280
5718
|
@property
|
|
5281
5719
|
@pulumi.getter
|
|
5282
5720
|
def papertrail(self) -> Optional['outputs.AppSpecWorkerLogDestinationPapertrail']:
|
|
@@ -5339,8 +5777,6 @@ class AppSpecWorkerLogDestinationLogtail(dict):
|
|
|
5339
5777
|
token: str):
|
|
5340
5778
|
"""
|
|
5341
5779
|
:param str token: Logtail token.
|
|
5342
|
-
|
|
5343
|
-
A `database` can contain:
|
|
5344
5780
|
"""
|
|
5345
5781
|
pulumi.set(__self__, "token", token)
|
|
5346
5782
|
|
|
@@ -5348,11 +5784,115 @@ class AppSpecWorkerLogDestinationLogtail(dict):
|
|
|
5348
5784
|
@pulumi.getter
|
|
5349
5785
|
def token(self) -> str:
|
|
5350
5786
|
"""
|
|
5351
|
-
Logtail token.
|
|
5352
|
-
|
|
5353
|
-
|
|
5787
|
+
Logtail token.
|
|
5788
|
+
"""
|
|
5789
|
+
return pulumi.get(self, "token")
|
|
5790
|
+
|
|
5791
|
+
|
|
5792
|
+
@pulumi.output_type
|
|
5793
|
+
class AppSpecWorkerLogDestinationOpenSearch(dict):
|
|
5794
|
+
@staticmethod
|
|
5795
|
+
def __key_warning(key: str):
|
|
5796
|
+
suggest = None
|
|
5797
|
+
if key == "basicAuth":
|
|
5798
|
+
suggest = "basic_auth"
|
|
5799
|
+
elif key == "clusterName":
|
|
5800
|
+
suggest = "cluster_name"
|
|
5801
|
+
elif key == "indexName":
|
|
5802
|
+
suggest = "index_name"
|
|
5803
|
+
|
|
5804
|
+
if suggest:
|
|
5805
|
+
pulumi.log.warn(f"Key '{key}' not found in AppSpecWorkerLogDestinationOpenSearch. Access the value via the '{suggest}' property getter instead.")
|
|
5806
|
+
|
|
5807
|
+
def __getitem__(self, key: str) -> Any:
|
|
5808
|
+
AppSpecWorkerLogDestinationOpenSearch.__key_warning(key)
|
|
5809
|
+
return super().__getitem__(key)
|
|
5810
|
+
|
|
5811
|
+
def get(self, key: str, default = None) -> Any:
|
|
5812
|
+
AppSpecWorkerLogDestinationOpenSearch.__key_warning(key)
|
|
5813
|
+
return super().get(key, default)
|
|
5814
|
+
|
|
5815
|
+
def __init__(__self__, *,
|
|
5816
|
+
basic_auth: 'outputs.AppSpecWorkerLogDestinationOpenSearchBasicAuth',
|
|
5817
|
+
cluster_name: Optional[str] = None,
|
|
5818
|
+
endpoint: Optional[str] = None,
|
|
5819
|
+
index_name: Optional[str] = None):
|
|
5820
|
+
"""
|
|
5821
|
+
:param 'AppSpecWorkerLogDestinationOpenSearchBasicAuthArgs' basic_auth: Basic authentication details.
|
|
5822
|
+
:param str cluster_name: The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `cluster_name` is not set, a new cluster will be provisioned.
|
|
5823
|
+
:param str endpoint: OpenSearch endpoint.
|
|
5824
|
+
:param str index_name: OpenSearch index name.
|
|
5825
|
+
"""
|
|
5826
|
+
pulumi.set(__self__, "basic_auth", basic_auth)
|
|
5827
|
+
if cluster_name is not None:
|
|
5828
|
+
pulumi.set(__self__, "cluster_name", cluster_name)
|
|
5829
|
+
if endpoint is not None:
|
|
5830
|
+
pulumi.set(__self__, "endpoint", endpoint)
|
|
5831
|
+
if index_name is not None:
|
|
5832
|
+
pulumi.set(__self__, "index_name", index_name)
|
|
5833
|
+
|
|
5834
|
+
@property
|
|
5835
|
+
@pulumi.getter(name="basicAuth")
|
|
5836
|
+
def basic_auth(self) -> 'outputs.AppSpecWorkerLogDestinationOpenSearchBasicAuth':
|
|
5837
|
+
"""
|
|
5838
|
+
Basic authentication details.
|
|
5839
|
+
"""
|
|
5840
|
+
return pulumi.get(self, "basic_auth")
|
|
5841
|
+
|
|
5842
|
+
@property
|
|
5843
|
+
@pulumi.getter(name="clusterName")
|
|
5844
|
+
def cluster_name(self) -> Optional[str]:
|
|
5845
|
+
"""
|
|
5846
|
+
The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `cluster_name` is not set, a new cluster will be provisioned.
|
|
5847
|
+
"""
|
|
5848
|
+
return pulumi.get(self, "cluster_name")
|
|
5849
|
+
|
|
5850
|
+
@property
|
|
5851
|
+
@pulumi.getter
|
|
5852
|
+
def endpoint(self) -> Optional[str]:
|
|
5853
|
+
"""
|
|
5854
|
+
OpenSearch endpoint.
|
|
5855
|
+
"""
|
|
5856
|
+
return pulumi.get(self, "endpoint")
|
|
5857
|
+
|
|
5858
|
+
@property
|
|
5859
|
+
@pulumi.getter(name="indexName")
|
|
5860
|
+
def index_name(self) -> Optional[str]:
|
|
5861
|
+
"""
|
|
5862
|
+
OpenSearch index name.
|
|
5863
|
+
"""
|
|
5864
|
+
return pulumi.get(self, "index_name")
|
|
5865
|
+
|
|
5866
|
+
|
|
5867
|
+
@pulumi.output_type
|
|
5868
|
+
class AppSpecWorkerLogDestinationOpenSearchBasicAuth(dict):
|
|
5869
|
+
def __init__(__self__, *,
|
|
5870
|
+
password: Optional[str] = None,
|
|
5871
|
+
user: Optional[str] = None):
|
|
5872
|
+
"""
|
|
5873
|
+
:param str password: Password for basic authentication.
|
|
5874
|
+
:param str user: user for basic authentication.
|
|
5875
|
+
"""
|
|
5876
|
+
if password is not None:
|
|
5877
|
+
pulumi.set(__self__, "password", password)
|
|
5878
|
+
if user is not None:
|
|
5879
|
+
pulumi.set(__self__, "user", user)
|
|
5880
|
+
|
|
5881
|
+
@property
|
|
5882
|
+
@pulumi.getter
|
|
5883
|
+
def password(self) -> Optional[str]:
|
|
5884
|
+
"""
|
|
5885
|
+
Password for basic authentication.
|
|
5886
|
+
"""
|
|
5887
|
+
return pulumi.get(self, "password")
|
|
5888
|
+
|
|
5889
|
+
@property
|
|
5890
|
+
@pulumi.getter
|
|
5891
|
+
def user(self) -> Optional[str]:
|
|
5892
|
+
"""
|
|
5893
|
+
user for basic authentication.
|
|
5354
5894
|
"""
|
|
5355
|
-
return pulumi.get(self, "
|
|
5895
|
+
return pulumi.get(self, "user")
|
|
5356
5896
|
|
|
5357
5897
|
|
|
5358
5898
|
@pulumi.output_type
|
|
@@ -5979,21 +6519,32 @@ class DatabasePostgresqlConfigPgbouncer(dict):
|
|
|
5979
6519
|
|
|
5980
6520
|
@pulumi.output_type
|
|
5981
6521
|
class DatabasePostgresqlConfigTimescaledb(dict):
|
|
6522
|
+
@staticmethod
|
|
6523
|
+
def __key_warning(key: str):
|
|
6524
|
+
suggest = None
|
|
6525
|
+
if key == "maxBackgroundWorkers":
|
|
6526
|
+
suggest = "max_background_workers"
|
|
6527
|
+
|
|
6528
|
+
if suggest:
|
|
6529
|
+
pulumi.log.warn(f"Key '{key}' not found in DatabasePostgresqlConfigTimescaledb. Access the value via the '{suggest}' property getter instead.")
|
|
6530
|
+
|
|
6531
|
+
def __getitem__(self, key: str) -> Any:
|
|
6532
|
+
DatabasePostgresqlConfigTimescaledb.__key_warning(key)
|
|
6533
|
+
return super().__getitem__(key)
|
|
6534
|
+
|
|
6535
|
+
def get(self, key: str, default = None) -> Any:
|
|
6536
|
+
DatabasePostgresqlConfigTimescaledb.__key_warning(key)
|
|
6537
|
+
return super().get(key, default)
|
|
6538
|
+
|
|
5982
6539
|
def __init__(__self__, *,
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
"""
|
|
5987
|
-
if timescaledb is not None:
|
|
5988
|
-
pulumi.set(__self__, "timescaledb", timescaledb)
|
|
6540
|
+
max_background_workers: Optional[int] = None):
|
|
6541
|
+
if max_background_workers is not None:
|
|
6542
|
+
pulumi.set(__self__, "max_background_workers", max_background_workers)
|
|
5989
6543
|
|
|
5990
6544
|
@property
|
|
5991
|
-
@pulumi.getter
|
|
5992
|
-
def
|
|
5993
|
-
""
|
|
5994
|
-
TimescaleDB extension configuration values
|
|
5995
|
-
"""
|
|
5996
|
-
return pulumi.get(self, "timescaledb")
|
|
6545
|
+
@pulumi.getter(name="maxBackgroundWorkers")
|
|
6546
|
+
def max_background_workers(self) -> Optional[int]:
|
|
6547
|
+
return pulumi.get(self, "max_background_workers")
|
|
5997
6548
|
|
|
5998
6549
|
|
|
5999
6550
|
@pulumi.output_type
|
|
@@ -8971,11 +9522,13 @@ class GetAppSpecFunctionLogDestinationResult(dict):
|
|
|
8971
9522
|
name: str,
|
|
8972
9523
|
datadog: Optional['outputs.GetAppSpecFunctionLogDestinationDatadogResult'] = None,
|
|
8973
9524
|
logtail: Optional['outputs.GetAppSpecFunctionLogDestinationLogtailResult'] = None,
|
|
9525
|
+
open_search: Optional['outputs.GetAppSpecFunctionLogDestinationOpenSearchResult'] = None,
|
|
8974
9526
|
papertrail: Optional['outputs.GetAppSpecFunctionLogDestinationPapertrailResult'] = None):
|
|
8975
9527
|
"""
|
|
8976
9528
|
:param str name: The name of the component.
|
|
8977
9529
|
:param 'GetAppSpecFunctionLogDestinationDatadogArgs' datadog: Datadog configuration.
|
|
8978
9530
|
:param 'GetAppSpecFunctionLogDestinationLogtailArgs' logtail: Logtail configuration.
|
|
9531
|
+
:param 'GetAppSpecFunctionLogDestinationOpenSearchArgs' open_search: OpenSearch configuration.
|
|
8979
9532
|
:param 'GetAppSpecFunctionLogDestinationPapertrailArgs' papertrail: Papertrail configuration.
|
|
8980
9533
|
"""
|
|
8981
9534
|
pulumi.set(__self__, "name", name)
|
|
@@ -8983,6 +9536,8 @@ class GetAppSpecFunctionLogDestinationResult(dict):
|
|
|
8983
9536
|
pulumi.set(__self__, "datadog", datadog)
|
|
8984
9537
|
if logtail is not None:
|
|
8985
9538
|
pulumi.set(__self__, "logtail", logtail)
|
|
9539
|
+
if open_search is not None:
|
|
9540
|
+
pulumi.set(__self__, "open_search", open_search)
|
|
8986
9541
|
if papertrail is not None:
|
|
8987
9542
|
pulumi.set(__self__, "papertrail", papertrail)
|
|
8988
9543
|
|
|
@@ -9010,6 +9565,14 @@ class GetAppSpecFunctionLogDestinationResult(dict):
|
|
|
9010
9565
|
"""
|
|
9011
9566
|
return pulumi.get(self, "logtail")
|
|
9012
9567
|
|
|
9568
|
+
@property
|
|
9569
|
+
@pulumi.getter(name="openSearch")
|
|
9570
|
+
def open_search(self) -> Optional['outputs.GetAppSpecFunctionLogDestinationOpenSearchResult']:
|
|
9571
|
+
"""
|
|
9572
|
+
OpenSearch configuration.
|
|
9573
|
+
"""
|
|
9574
|
+
return pulumi.get(self, "open_search")
|
|
9575
|
+
|
|
9013
9576
|
@property
|
|
9014
9577
|
@pulumi.getter
|
|
9015
9578
|
def papertrail(self) -> Optional['outputs.GetAppSpecFunctionLogDestinationPapertrailResult']:
|
|
@@ -9026,7 +9589,7 @@ class GetAppSpecFunctionLogDestinationDatadogResult(dict):
|
|
|
9026
9589
|
endpoint: Optional[str] = None):
|
|
9027
9590
|
"""
|
|
9028
9591
|
:param str api_key: Datadog API key.
|
|
9029
|
-
:param str endpoint:
|
|
9592
|
+
:param str endpoint: OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
9030
9593
|
"""
|
|
9031
9594
|
pulumi.set(__self__, "api_key", api_key)
|
|
9032
9595
|
if endpoint is not None:
|
|
@@ -9044,7 +9607,7 @@ class GetAppSpecFunctionLogDestinationDatadogResult(dict):
|
|
|
9044
9607
|
@pulumi.getter
|
|
9045
9608
|
def endpoint(self) -> Optional[str]:
|
|
9046
9609
|
"""
|
|
9047
|
-
|
|
9610
|
+
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
9048
9611
|
"""
|
|
9049
9612
|
return pulumi.get(self, "endpoint")
|
|
9050
9613
|
|
|
@@ -9067,12 +9630,97 @@ class GetAppSpecFunctionLogDestinationLogtailResult(dict):
|
|
|
9067
9630
|
return pulumi.get(self, "token")
|
|
9068
9631
|
|
|
9069
9632
|
|
|
9633
|
+
@pulumi.output_type
|
|
9634
|
+
class GetAppSpecFunctionLogDestinationOpenSearchResult(dict):
|
|
9635
|
+
def __init__(__self__, *,
|
|
9636
|
+
basic_auth: 'outputs.GetAppSpecFunctionLogDestinationOpenSearchBasicAuthResult',
|
|
9637
|
+
cluster_name: Optional[str] = None,
|
|
9638
|
+
endpoint: Optional[str] = None,
|
|
9639
|
+
index_name: Optional[str] = None):
|
|
9640
|
+
"""
|
|
9641
|
+
:param 'GetAppSpecFunctionLogDestinationOpenSearchBasicAuthArgs' basic_auth: OpenSearch basic auth
|
|
9642
|
+
:param str cluster_name: The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `cluster_name` is not set, a new cluster will be provisioned.
|
|
9643
|
+
:param str endpoint: OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
9644
|
+
:param str index_name: The index name to use for the logs. If not set, the default index name is \\"logs\\".
|
|
9645
|
+
"""
|
|
9646
|
+
pulumi.set(__self__, "basic_auth", basic_auth)
|
|
9647
|
+
if cluster_name is not None:
|
|
9648
|
+
pulumi.set(__self__, "cluster_name", cluster_name)
|
|
9649
|
+
if endpoint is not None:
|
|
9650
|
+
pulumi.set(__self__, "endpoint", endpoint)
|
|
9651
|
+
if index_name is not None:
|
|
9652
|
+
pulumi.set(__self__, "index_name", index_name)
|
|
9653
|
+
|
|
9654
|
+
@property
|
|
9655
|
+
@pulumi.getter(name="basicAuth")
|
|
9656
|
+
def basic_auth(self) -> 'outputs.GetAppSpecFunctionLogDestinationOpenSearchBasicAuthResult':
|
|
9657
|
+
"""
|
|
9658
|
+
OpenSearch basic auth
|
|
9659
|
+
"""
|
|
9660
|
+
return pulumi.get(self, "basic_auth")
|
|
9661
|
+
|
|
9662
|
+
@property
|
|
9663
|
+
@pulumi.getter(name="clusterName")
|
|
9664
|
+
def cluster_name(self) -> Optional[str]:
|
|
9665
|
+
"""
|
|
9666
|
+
The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `cluster_name` is not set, a new cluster will be provisioned.
|
|
9667
|
+
"""
|
|
9668
|
+
return pulumi.get(self, "cluster_name")
|
|
9669
|
+
|
|
9670
|
+
@property
|
|
9671
|
+
@pulumi.getter
|
|
9672
|
+
def endpoint(self) -> Optional[str]:
|
|
9673
|
+
"""
|
|
9674
|
+
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
9675
|
+
"""
|
|
9676
|
+
return pulumi.get(self, "endpoint")
|
|
9677
|
+
|
|
9678
|
+
@property
|
|
9679
|
+
@pulumi.getter(name="indexName")
|
|
9680
|
+
def index_name(self) -> Optional[str]:
|
|
9681
|
+
"""
|
|
9682
|
+
The index name to use for the logs. If not set, the default index name is \\"logs\\".
|
|
9683
|
+
"""
|
|
9684
|
+
return pulumi.get(self, "index_name")
|
|
9685
|
+
|
|
9686
|
+
|
|
9687
|
+
@pulumi.output_type
|
|
9688
|
+
class GetAppSpecFunctionLogDestinationOpenSearchBasicAuthResult(dict):
|
|
9689
|
+
def __init__(__self__, *,
|
|
9690
|
+
password: Optional[str] = None,
|
|
9691
|
+
user: Optional[str] = None):
|
|
9692
|
+
"""
|
|
9693
|
+
:param str password: Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
|
|
9694
|
+
:param str user: Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
|
|
9695
|
+
"""
|
|
9696
|
+
if password is not None:
|
|
9697
|
+
pulumi.set(__self__, "password", password)
|
|
9698
|
+
if user is not None:
|
|
9699
|
+
pulumi.set(__self__, "user", user)
|
|
9700
|
+
|
|
9701
|
+
@property
|
|
9702
|
+
@pulumi.getter
|
|
9703
|
+
def password(self) -> Optional[str]:
|
|
9704
|
+
"""
|
|
9705
|
+
Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
|
|
9706
|
+
"""
|
|
9707
|
+
return pulumi.get(self, "password")
|
|
9708
|
+
|
|
9709
|
+
@property
|
|
9710
|
+
@pulumi.getter
|
|
9711
|
+
def user(self) -> Optional[str]:
|
|
9712
|
+
"""
|
|
9713
|
+
Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
|
|
9714
|
+
"""
|
|
9715
|
+
return pulumi.get(self, "user")
|
|
9716
|
+
|
|
9717
|
+
|
|
9070
9718
|
@pulumi.output_type
|
|
9071
9719
|
class GetAppSpecFunctionLogDestinationPapertrailResult(dict):
|
|
9072
9720
|
def __init__(__self__, *,
|
|
9073
9721
|
endpoint: str):
|
|
9074
9722
|
"""
|
|
9075
|
-
:param str endpoint:
|
|
9723
|
+
:param str endpoint: OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
9076
9724
|
"""
|
|
9077
9725
|
pulumi.set(__self__, "endpoint", endpoint)
|
|
9078
9726
|
|
|
@@ -9080,7 +9728,7 @@ class GetAppSpecFunctionLogDestinationPapertrailResult(dict):
|
|
|
9080
9728
|
@pulumi.getter
|
|
9081
9729
|
def endpoint(self) -> str:
|
|
9082
9730
|
"""
|
|
9083
|
-
|
|
9731
|
+
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
9084
9732
|
"""
|
|
9085
9733
|
return pulumi.get(self, "endpoint")
|
|
9086
9734
|
|
|
@@ -9955,11 +10603,13 @@ class GetAppSpecJobLogDestinationResult(dict):
|
|
|
9955
10603
|
name: str,
|
|
9956
10604
|
datadog: Optional['outputs.GetAppSpecJobLogDestinationDatadogResult'] = None,
|
|
9957
10605
|
logtail: Optional['outputs.GetAppSpecJobLogDestinationLogtailResult'] = None,
|
|
10606
|
+
open_search: Optional['outputs.GetAppSpecJobLogDestinationOpenSearchResult'] = None,
|
|
9958
10607
|
papertrail: Optional['outputs.GetAppSpecJobLogDestinationPapertrailResult'] = None):
|
|
9959
10608
|
"""
|
|
9960
10609
|
:param str name: The name of the component.
|
|
9961
10610
|
:param 'GetAppSpecJobLogDestinationDatadogArgs' datadog: Datadog configuration.
|
|
9962
10611
|
:param 'GetAppSpecJobLogDestinationLogtailArgs' logtail: Logtail configuration.
|
|
10612
|
+
:param 'GetAppSpecJobLogDestinationOpenSearchArgs' open_search: OpenSearch configuration.
|
|
9963
10613
|
:param 'GetAppSpecJobLogDestinationPapertrailArgs' papertrail: Papertrail configuration.
|
|
9964
10614
|
"""
|
|
9965
10615
|
pulumi.set(__self__, "name", name)
|
|
@@ -9967,6 +10617,8 @@ class GetAppSpecJobLogDestinationResult(dict):
|
|
|
9967
10617
|
pulumi.set(__self__, "datadog", datadog)
|
|
9968
10618
|
if logtail is not None:
|
|
9969
10619
|
pulumi.set(__self__, "logtail", logtail)
|
|
10620
|
+
if open_search is not None:
|
|
10621
|
+
pulumi.set(__self__, "open_search", open_search)
|
|
9970
10622
|
if papertrail is not None:
|
|
9971
10623
|
pulumi.set(__self__, "papertrail", papertrail)
|
|
9972
10624
|
|
|
@@ -9994,6 +10646,14 @@ class GetAppSpecJobLogDestinationResult(dict):
|
|
|
9994
10646
|
"""
|
|
9995
10647
|
return pulumi.get(self, "logtail")
|
|
9996
10648
|
|
|
10649
|
+
@property
|
|
10650
|
+
@pulumi.getter(name="openSearch")
|
|
10651
|
+
def open_search(self) -> Optional['outputs.GetAppSpecJobLogDestinationOpenSearchResult']:
|
|
10652
|
+
"""
|
|
10653
|
+
OpenSearch configuration.
|
|
10654
|
+
"""
|
|
10655
|
+
return pulumi.get(self, "open_search")
|
|
10656
|
+
|
|
9997
10657
|
@property
|
|
9998
10658
|
@pulumi.getter
|
|
9999
10659
|
def papertrail(self) -> Optional['outputs.GetAppSpecJobLogDestinationPapertrailResult']:
|
|
@@ -10010,7 +10670,7 @@ class GetAppSpecJobLogDestinationDatadogResult(dict):
|
|
|
10010
10670
|
endpoint: Optional[str] = None):
|
|
10011
10671
|
"""
|
|
10012
10672
|
:param str api_key: Datadog API key.
|
|
10013
|
-
:param str endpoint:
|
|
10673
|
+
:param str endpoint: OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
10014
10674
|
"""
|
|
10015
10675
|
pulumi.set(__self__, "api_key", api_key)
|
|
10016
10676
|
if endpoint is not None:
|
|
@@ -10028,7 +10688,7 @@ class GetAppSpecJobLogDestinationDatadogResult(dict):
|
|
|
10028
10688
|
@pulumi.getter
|
|
10029
10689
|
def endpoint(self) -> Optional[str]:
|
|
10030
10690
|
"""
|
|
10031
|
-
|
|
10691
|
+
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
10032
10692
|
"""
|
|
10033
10693
|
return pulumi.get(self, "endpoint")
|
|
10034
10694
|
|
|
@@ -10051,12 +10711,97 @@ class GetAppSpecJobLogDestinationLogtailResult(dict):
|
|
|
10051
10711
|
return pulumi.get(self, "token")
|
|
10052
10712
|
|
|
10053
10713
|
|
|
10714
|
+
@pulumi.output_type
|
|
10715
|
+
class GetAppSpecJobLogDestinationOpenSearchResult(dict):
|
|
10716
|
+
def __init__(__self__, *,
|
|
10717
|
+
basic_auth: 'outputs.GetAppSpecJobLogDestinationOpenSearchBasicAuthResult',
|
|
10718
|
+
cluster_name: Optional[str] = None,
|
|
10719
|
+
endpoint: Optional[str] = None,
|
|
10720
|
+
index_name: Optional[str] = None):
|
|
10721
|
+
"""
|
|
10722
|
+
:param 'GetAppSpecJobLogDestinationOpenSearchBasicAuthArgs' basic_auth: OpenSearch basic auth
|
|
10723
|
+
:param str cluster_name: The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `cluster_name` is not set, a new cluster will be provisioned.
|
|
10724
|
+
:param str endpoint: OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
10725
|
+
:param str index_name: The index name to use for the logs. If not set, the default index name is \\"logs\\".
|
|
10726
|
+
"""
|
|
10727
|
+
pulumi.set(__self__, "basic_auth", basic_auth)
|
|
10728
|
+
if cluster_name is not None:
|
|
10729
|
+
pulumi.set(__self__, "cluster_name", cluster_name)
|
|
10730
|
+
if endpoint is not None:
|
|
10731
|
+
pulumi.set(__self__, "endpoint", endpoint)
|
|
10732
|
+
if index_name is not None:
|
|
10733
|
+
pulumi.set(__self__, "index_name", index_name)
|
|
10734
|
+
|
|
10735
|
+
@property
|
|
10736
|
+
@pulumi.getter(name="basicAuth")
|
|
10737
|
+
def basic_auth(self) -> 'outputs.GetAppSpecJobLogDestinationOpenSearchBasicAuthResult':
|
|
10738
|
+
"""
|
|
10739
|
+
OpenSearch basic auth
|
|
10740
|
+
"""
|
|
10741
|
+
return pulumi.get(self, "basic_auth")
|
|
10742
|
+
|
|
10743
|
+
@property
|
|
10744
|
+
@pulumi.getter(name="clusterName")
|
|
10745
|
+
def cluster_name(self) -> Optional[str]:
|
|
10746
|
+
"""
|
|
10747
|
+
The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `cluster_name` is not set, a new cluster will be provisioned.
|
|
10748
|
+
"""
|
|
10749
|
+
return pulumi.get(self, "cluster_name")
|
|
10750
|
+
|
|
10751
|
+
@property
|
|
10752
|
+
@pulumi.getter
|
|
10753
|
+
def endpoint(self) -> Optional[str]:
|
|
10754
|
+
"""
|
|
10755
|
+
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
10756
|
+
"""
|
|
10757
|
+
return pulumi.get(self, "endpoint")
|
|
10758
|
+
|
|
10759
|
+
@property
|
|
10760
|
+
@pulumi.getter(name="indexName")
|
|
10761
|
+
def index_name(self) -> Optional[str]:
|
|
10762
|
+
"""
|
|
10763
|
+
The index name to use for the logs. If not set, the default index name is \\"logs\\".
|
|
10764
|
+
"""
|
|
10765
|
+
return pulumi.get(self, "index_name")
|
|
10766
|
+
|
|
10767
|
+
|
|
10768
|
+
@pulumi.output_type
|
|
10769
|
+
class GetAppSpecJobLogDestinationOpenSearchBasicAuthResult(dict):
|
|
10770
|
+
def __init__(__self__, *,
|
|
10771
|
+
password: Optional[str] = None,
|
|
10772
|
+
user: Optional[str] = None):
|
|
10773
|
+
"""
|
|
10774
|
+
:param str password: Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
|
|
10775
|
+
:param str user: Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
|
|
10776
|
+
"""
|
|
10777
|
+
if password is not None:
|
|
10778
|
+
pulumi.set(__self__, "password", password)
|
|
10779
|
+
if user is not None:
|
|
10780
|
+
pulumi.set(__self__, "user", user)
|
|
10781
|
+
|
|
10782
|
+
@property
|
|
10783
|
+
@pulumi.getter
|
|
10784
|
+
def password(self) -> Optional[str]:
|
|
10785
|
+
"""
|
|
10786
|
+
Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
|
|
10787
|
+
"""
|
|
10788
|
+
return pulumi.get(self, "password")
|
|
10789
|
+
|
|
10790
|
+
@property
|
|
10791
|
+
@pulumi.getter
|
|
10792
|
+
def user(self) -> Optional[str]:
|
|
10793
|
+
"""
|
|
10794
|
+
Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
|
|
10795
|
+
"""
|
|
10796
|
+
return pulumi.get(self, "user")
|
|
10797
|
+
|
|
10798
|
+
|
|
10054
10799
|
@pulumi.output_type
|
|
10055
10800
|
class GetAppSpecJobLogDestinationPapertrailResult(dict):
|
|
10056
10801
|
def __init__(__self__, *,
|
|
10057
10802
|
endpoint: str):
|
|
10058
10803
|
"""
|
|
10059
|
-
:param str endpoint:
|
|
10804
|
+
:param str endpoint: OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
10060
10805
|
"""
|
|
10061
10806
|
pulumi.set(__self__, "endpoint", endpoint)
|
|
10062
10807
|
|
|
@@ -10064,7 +10809,7 @@ class GetAppSpecJobLogDestinationPapertrailResult(dict):
|
|
|
10064
10809
|
@pulumi.getter
|
|
10065
10810
|
def endpoint(self) -> str:
|
|
10066
10811
|
"""
|
|
10067
|
-
|
|
10812
|
+
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
10068
10813
|
"""
|
|
10069
10814
|
return pulumi.get(self, "endpoint")
|
|
10070
10815
|
|
|
@@ -10947,11 +11692,13 @@ class GetAppSpecServiceLogDestinationResult(dict):
|
|
|
10947
11692
|
name: str,
|
|
10948
11693
|
datadog: Optional['outputs.GetAppSpecServiceLogDestinationDatadogResult'] = None,
|
|
10949
11694
|
logtail: Optional['outputs.GetAppSpecServiceLogDestinationLogtailResult'] = None,
|
|
11695
|
+
open_search: Optional['outputs.GetAppSpecServiceLogDestinationOpenSearchResult'] = None,
|
|
10950
11696
|
papertrail: Optional['outputs.GetAppSpecServiceLogDestinationPapertrailResult'] = None):
|
|
10951
11697
|
"""
|
|
10952
11698
|
:param str name: The name of the component.
|
|
10953
11699
|
:param 'GetAppSpecServiceLogDestinationDatadogArgs' datadog: Datadog configuration.
|
|
10954
11700
|
:param 'GetAppSpecServiceLogDestinationLogtailArgs' logtail: Logtail configuration.
|
|
11701
|
+
:param 'GetAppSpecServiceLogDestinationOpenSearchArgs' open_search: OpenSearch configuration.
|
|
10955
11702
|
:param 'GetAppSpecServiceLogDestinationPapertrailArgs' papertrail: Papertrail configuration.
|
|
10956
11703
|
"""
|
|
10957
11704
|
pulumi.set(__self__, "name", name)
|
|
@@ -10959,6 +11706,8 @@ class GetAppSpecServiceLogDestinationResult(dict):
|
|
|
10959
11706
|
pulumi.set(__self__, "datadog", datadog)
|
|
10960
11707
|
if logtail is not None:
|
|
10961
11708
|
pulumi.set(__self__, "logtail", logtail)
|
|
11709
|
+
if open_search is not None:
|
|
11710
|
+
pulumi.set(__self__, "open_search", open_search)
|
|
10962
11711
|
if papertrail is not None:
|
|
10963
11712
|
pulumi.set(__self__, "papertrail", papertrail)
|
|
10964
11713
|
|
|
@@ -10986,6 +11735,14 @@ class GetAppSpecServiceLogDestinationResult(dict):
|
|
|
10986
11735
|
"""
|
|
10987
11736
|
return pulumi.get(self, "logtail")
|
|
10988
11737
|
|
|
11738
|
+
@property
|
|
11739
|
+
@pulumi.getter(name="openSearch")
|
|
11740
|
+
def open_search(self) -> Optional['outputs.GetAppSpecServiceLogDestinationOpenSearchResult']:
|
|
11741
|
+
"""
|
|
11742
|
+
OpenSearch configuration.
|
|
11743
|
+
"""
|
|
11744
|
+
return pulumi.get(self, "open_search")
|
|
11745
|
+
|
|
10989
11746
|
@property
|
|
10990
11747
|
@pulumi.getter
|
|
10991
11748
|
def papertrail(self) -> Optional['outputs.GetAppSpecServiceLogDestinationPapertrailResult']:
|
|
@@ -11002,7 +11759,7 @@ class GetAppSpecServiceLogDestinationDatadogResult(dict):
|
|
|
11002
11759
|
endpoint: Optional[str] = None):
|
|
11003
11760
|
"""
|
|
11004
11761
|
:param str api_key: Datadog API key.
|
|
11005
|
-
:param str endpoint:
|
|
11762
|
+
:param str endpoint: OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
11006
11763
|
"""
|
|
11007
11764
|
pulumi.set(__self__, "api_key", api_key)
|
|
11008
11765
|
if endpoint is not None:
|
|
@@ -11020,7 +11777,7 @@ class GetAppSpecServiceLogDestinationDatadogResult(dict):
|
|
|
11020
11777
|
@pulumi.getter
|
|
11021
11778
|
def endpoint(self) -> Optional[str]:
|
|
11022
11779
|
"""
|
|
11023
|
-
|
|
11780
|
+
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
11024
11781
|
"""
|
|
11025
11782
|
return pulumi.get(self, "endpoint")
|
|
11026
11783
|
|
|
@@ -11043,12 +11800,97 @@ class GetAppSpecServiceLogDestinationLogtailResult(dict):
|
|
|
11043
11800
|
return pulumi.get(self, "token")
|
|
11044
11801
|
|
|
11045
11802
|
|
|
11803
|
+
@pulumi.output_type
|
|
11804
|
+
class GetAppSpecServiceLogDestinationOpenSearchResult(dict):
|
|
11805
|
+
def __init__(__self__, *,
|
|
11806
|
+
basic_auth: 'outputs.GetAppSpecServiceLogDestinationOpenSearchBasicAuthResult',
|
|
11807
|
+
cluster_name: Optional[str] = None,
|
|
11808
|
+
endpoint: Optional[str] = None,
|
|
11809
|
+
index_name: Optional[str] = None):
|
|
11810
|
+
"""
|
|
11811
|
+
:param 'GetAppSpecServiceLogDestinationOpenSearchBasicAuthArgs' basic_auth: OpenSearch basic auth
|
|
11812
|
+
:param str cluster_name: The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `cluster_name` is not set, a new cluster will be provisioned.
|
|
11813
|
+
:param str endpoint: OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
11814
|
+
:param str index_name: The index name to use for the logs. If not set, the default index name is \\"logs\\".
|
|
11815
|
+
"""
|
|
11816
|
+
pulumi.set(__self__, "basic_auth", basic_auth)
|
|
11817
|
+
if cluster_name is not None:
|
|
11818
|
+
pulumi.set(__self__, "cluster_name", cluster_name)
|
|
11819
|
+
if endpoint is not None:
|
|
11820
|
+
pulumi.set(__self__, "endpoint", endpoint)
|
|
11821
|
+
if index_name is not None:
|
|
11822
|
+
pulumi.set(__self__, "index_name", index_name)
|
|
11823
|
+
|
|
11824
|
+
@property
|
|
11825
|
+
@pulumi.getter(name="basicAuth")
|
|
11826
|
+
def basic_auth(self) -> 'outputs.GetAppSpecServiceLogDestinationOpenSearchBasicAuthResult':
|
|
11827
|
+
"""
|
|
11828
|
+
OpenSearch basic auth
|
|
11829
|
+
"""
|
|
11830
|
+
return pulumi.get(self, "basic_auth")
|
|
11831
|
+
|
|
11832
|
+
@property
|
|
11833
|
+
@pulumi.getter(name="clusterName")
|
|
11834
|
+
def cluster_name(self) -> Optional[str]:
|
|
11835
|
+
"""
|
|
11836
|
+
The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `cluster_name` is not set, a new cluster will be provisioned.
|
|
11837
|
+
"""
|
|
11838
|
+
return pulumi.get(self, "cluster_name")
|
|
11839
|
+
|
|
11840
|
+
@property
|
|
11841
|
+
@pulumi.getter
|
|
11842
|
+
def endpoint(self) -> Optional[str]:
|
|
11843
|
+
"""
|
|
11844
|
+
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
11845
|
+
"""
|
|
11846
|
+
return pulumi.get(self, "endpoint")
|
|
11847
|
+
|
|
11848
|
+
@property
|
|
11849
|
+
@pulumi.getter(name="indexName")
|
|
11850
|
+
def index_name(self) -> Optional[str]:
|
|
11851
|
+
"""
|
|
11852
|
+
The index name to use for the logs. If not set, the default index name is \\"logs\\".
|
|
11853
|
+
"""
|
|
11854
|
+
return pulumi.get(self, "index_name")
|
|
11855
|
+
|
|
11856
|
+
|
|
11857
|
+
@pulumi.output_type
|
|
11858
|
+
class GetAppSpecServiceLogDestinationOpenSearchBasicAuthResult(dict):
|
|
11859
|
+
def __init__(__self__, *,
|
|
11860
|
+
password: Optional[str] = None,
|
|
11861
|
+
user: Optional[str] = None):
|
|
11862
|
+
"""
|
|
11863
|
+
:param str password: Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
|
|
11864
|
+
:param str user: Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
|
|
11865
|
+
"""
|
|
11866
|
+
if password is not None:
|
|
11867
|
+
pulumi.set(__self__, "password", password)
|
|
11868
|
+
if user is not None:
|
|
11869
|
+
pulumi.set(__self__, "user", user)
|
|
11870
|
+
|
|
11871
|
+
@property
|
|
11872
|
+
@pulumi.getter
|
|
11873
|
+
def password(self) -> Optional[str]:
|
|
11874
|
+
"""
|
|
11875
|
+
Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
|
|
11876
|
+
"""
|
|
11877
|
+
return pulumi.get(self, "password")
|
|
11878
|
+
|
|
11879
|
+
@property
|
|
11880
|
+
@pulumi.getter
|
|
11881
|
+
def user(self) -> Optional[str]:
|
|
11882
|
+
"""
|
|
11883
|
+
Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
|
|
11884
|
+
"""
|
|
11885
|
+
return pulumi.get(self, "user")
|
|
11886
|
+
|
|
11887
|
+
|
|
11046
11888
|
@pulumi.output_type
|
|
11047
11889
|
class GetAppSpecServiceLogDestinationPapertrailResult(dict):
|
|
11048
11890
|
def __init__(__self__, *,
|
|
11049
11891
|
endpoint: str):
|
|
11050
11892
|
"""
|
|
11051
|
-
:param str endpoint:
|
|
11893
|
+
:param str endpoint: OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
11052
11894
|
"""
|
|
11053
11895
|
pulumi.set(__self__, "endpoint", endpoint)
|
|
11054
11896
|
|
|
@@ -11056,7 +11898,7 @@ class GetAppSpecServiceLogDestinationPapertrailResult(dict):
|
|
|
11056
11898
|
@pulumi.getter
|
|
11057
11899
|
def endpoint(self) -> str:
|
|
11058
11900
|
"""
|
|
11059
|
-
|
|
11901
|
+
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
11060
11902
|
"""
|
|
11061
11903
|
return pulumi.get(self, "endpoint")
|
|
11062
11904
|
|
|
@@ -12121,11 +12963,13 @@ class GetAppSpecWorkerLogDestinationResult(dict):
|
|
|
12121
12963
|
name: str,
|
|
12122
12964
|
datadog: Optional['outputs.GetAppSpecWorkerLogDestinationDatadogResult'] = None,
|
|
12123
12965
|
logtail: Optional['outputs.GetAppSpecWorkerLogDestinationLogtailResult'] = None,
|
|
12966
|
+
open_search: Optional['outputs.GetAppSpecWorkerLogDestinationOpenSearchResult'] = None,
|
|
12124
12967
|
papertrail: Optional['outputs.GetAppSpecWorkerLogDestinationPapertrailResult'] = None):
|
|
12125
12968
|
"""
|
|
12126
12969
|
:param str name: The name of the component.
|
|
12127
12970
|
:param 'GetAppSpecWorkerLogDestinationDatadogArgs' datadog: Datadog configuration.
|
|
12128
12971
|
:param 'GetAppSpecWorkerLogDestinationLogtailArgs' logtail: Logtail configuration.
|
|
12972
|
+
:param 'GetAppSpecWorkerLogDestinationOpenSearchArgs' open_search: OpenSearch configuration.
|
|
12129
12973
|
:param 'GetAppSpecWorkerLogDestinationPapertrailArgs' papertrail: Papertrail configuration.
|
|
12130
12974
|
"""
|
|
12131
12975
|
pulumi.set(__self__, "name", name)
|
|
@@ -12133,6 +12977,8 @@ class GetAppSpecWorkerLogDestinationResult(dict):
|
|
|
12133
12977
|
pulumi.set(__self__, "datadog", datadog)
|
|
12134
12978
|
if logtail is not None:
|
|
12135
12979
|
pulumi.set(__self__, "logtail", logtail)
|
|
12980
|
+
if open_search is not None:
|
|
12981
|
+
pulumi.set(__self__, "open_search", open_search)
|
|
12136
12982
|
if papertrail is not None:
|
|
12137
12983
|
pulumi.set(__self__, "papertrail", papertrail)
|
|
12138
12984
|
|
|
@@ -12160,6 +13006,14 @@ class GetAppSpecWorkerLogDestinationResult(dict):
|
|
|
12160
13006
|
"""
|
|
12161
13007
|
return pulumi.get(self, "logtail")
|
|
12162
13008
|
|
|
13009
|
+
@property
|
|
13010
|
+
@pulumi.getter(name="openSearch")
|
|
13011
|
+
def open_search(self) -> Optional['outputs.GetAppSpecWorkerLogDestinationOpenSearchResult']:
|
|
13012
|
+
"""
|
|
13013
|
+
OpenSearch configuration.
|
|
13014
|
+
"""
|
|
13015
|
+
return pulumi.get(self, "open_search")
|
|
13016
|
+
|
|
12163
13017
|
@property
|
|
12164
13018
|
@pulumi.getter
|
|
12165
13019
|
def papertrail(self) -> Optional['outputs.GetAppSpecWorkerLogDestinationPapertrailResult']:
|
|
@@ -12176,7 +13030,7 @@ class GetAppSpecWorkerLogDestinationDatadogResult(dict):
|
|
|
12176
13030
|
endpoint: Optional[str] = None):
|
|
12177
13031
|
"""
|
|
12178
13032
|
:param str api_key: Datadog API key.
|
|
12179
|
-
:param str endpoint:
|
|
13033
|
+
:param str endpoint: OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
12180
13034
|
"""
|
|
12181
13035
|
pulumi.set(__self__, "api_key", api_key)
|
|
12182
13036
|
if endpoint is not None:
|
|
@@ -12194,7 +13048,7 @@ class GetAppSpecWorkerLogDestinationDatadogResult(dict):
|
|
|
12194
13048
|
@pulumi.getter
|
|
12195
13049
|
def endpoint(self) -> Optional[str]:
|
|
12196
13050
|
"""
|
|
12197
|
-
|
|
13051
|
+
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
12198
13052
|
"""
|
|
12199
13053
|
return pulumi.get(self, "endpoint")
|
|
12200
13054
|
|
|
@@ -12217,12 +13071,97 @@ class GetAppSpecWorkerLogDestinationLogtailResult(dict):
|
|
|
12217
13071
|
return pulumi.get(self, "token")
|
|
12218
13072
|
|
|
12219
13073
|
|
|
13074
|
+
@pulumi.output_type
|
|
13075
|
+
class GetAppSpecWorkerLogDestinationOpenSearchResult(dict):
|
|
13076
|
+
def __init__(__self__, *,
|
|
13077
|
+
basic_auth: 'outputs.GetAppSpecWorkerLogDestinationOpenSearchBasicAuthResult',
|
|
13078
|
+
cluster_name: Optional[str] = None,
|
|
13079
|
+
endpoint: Optional[str] = None,
|
|
13080
|
+
index_name: Optional[str] = None):
|
|
13081
|
+
"""
|
|
13082
|
+
:param 'GetAppSpecWorkerLogDestinationOpenSearchBasicAuthArgs' basic_auth: OpenSearch basic auth
|
|
13083
|
+
:param str cluster_name: The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `cluster_name` is not set, a new cluster will be provisioned.
|
|
13084
|
+
:param str endpoint: OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
13085
|
+
:param str index_name: The index name to use for the logs. If not set, the default index name is \\"logs\\".
|
|
13086
|
+
"""
|
|
13087
|
+
pulumi.set(__self__, "basic_auth", basic_auth)
|
|
13088
|
+
if cluster_name is not None:
|
|
13089
|
+
pulumi.set(__self__, "cluster_name", cluster_name)
|
|
13090
|
+
if endpoint is not None:
|
|
13091
|
+
pulumi.set(__self__, "endpoint", endpoint)
|
|
13092
|
+
if index_name is not None:
|
|
13093
|
+
pulumi.set(__self__, "index_name", index_name)
|
|
13094
|
+
|
|
13095
|
+
@property
|
|
13096
|
+
@pulumi.getter(name="basicAuth")
|
|
13097
|
+
def basic_auth(self) -> 'outputs.GetAppSpecWorkerLogDestinationOpenSearchBasicAuthResult':
|
|
13098
|
+
"""
|
|
13099
|
+
OpenSearch basic auth
|
|
13100
|
+
"""
|
|
13101
|
+
return pulumi.get(self, "basic_auth")
|
|
13102
|
+
|
|
13103
|
+
@property
|
|
13104
|
+
@pulumi.getter(name="clusterName")
|
|
13105
|
+
def cluster_name(self) -> Optional[str]:
|
|
13106
|
+
"""
|
|
13107
|
+
The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `cluster_name` is not set, a new cluster will be provisioned.
|
|
13108
|
+
"""
|
|
13109
|
+
return pulumi.get(self, "cluster_name")
|
|
13110
|
+
|
|
13111
|
+
@property
|
|
13112
|
+
@pulumi.getter
|
|
13113
|
+
def endpoint(self) -> Optional[str]:
|
|
13114
|
+
"""
|
|
13115
|
+
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
13116
|
+
"""
|
|
13117
|
+
return pulumi.get(self, "endpoint")
|
|
13118
|
+
|
|
13119
|
+
@property
|
|
13120
|
+
@pulumi.getter(name="indexName")
|
|
13121
|
+
def index_name(self) -> Optional[str]:
|
|
13122
|
+
"""
|
|
13123
|
+
The index name to use for the logs. If not set, the default index name is \\"logs\\".
|
|
13124
|
+
"""
|
|
13125
|
+
return pulumi.get(self, "index_name")
|
|
13126
|
+
|
|
13127
|
+
|
|
13128
|
+
@pulumi.output_type
|
|
13129
|
+
class GetAppSpecWorkerLogDestinationOpenSearchBasicAuthResult(dict):
|
|
13130
|
+
def __init__(__self__, *,
|
|
13131
|
+
password: Optional[str] = None,
|
|
13132
|
+
user: Optional[str] = None):
|
|
13133
|
+
"""
|
|
13134
|
+
:param str password: Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
|
|
13135
|
+
:param str user: Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
|
|
13136
|
+
"""
|
|
13137
|
+
if password is not None:
|
|
13138
|
+
pulumi.set(__self__, "password", password)
|
|
13139
|
+
if user is not None:
|
|
13140
|
+
pulumi.set(__self__, "user", user)
|
|
13141
|
+
|
|
13142
|
+
@property
|
|
13143
|
+
@pulumi.getter
|
|
13144
|
+
def password(self) -> Optional[str]:
|
|
13145
|
+
"""
|
|
13146
|
+
Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
|
|
13147
|
+
"""
|
|
13148
|
+
return pulumi.get(self, "password")
|
|
13149
|
+
|
|
13150
|
+
@property
|
|
13151
|
+
@pulumi.getter
|
|
13152
|
+
def user(self) -> Optional[str]:
|
|
13153
|
+
"""
|
|
13154
|
+
Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
|
|
13155
|
+
"""
|
|
13156
|
+
return pulumi.get(self, "user")
|
|
13157
|
+
|
|
13158
|
+
|
|
12220
13159
|
@pulumi.output_type
|
|
12221
13160
|
class GetAppSpecWorkerLogDestinationPapertrailResult(dict):
|
|
12222
13161
|
def __init__(__self__, *,
|
|
12223
13162
|
endpoint: str):
|
|
12224
13163
|
"""
|
|
12225
|
-
:param str endpoint:
|
|
13164
|
+
:param str endpoint: OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
12226
13165
|
"""
|
|
12227
13166
|
pulumi.set(__self__, "endpoint", endpoint)
|
|
12228
13167
|
|
|
@@ -12230,7 +13169,7 @@ class GetAppSpecWorkerLogDestinationPapertrailResult(dict):
|
|
|
12230
13169
|
@pulumi.getter
|
|
12231
13170
|
def endpoint(self) -> str:
|
|
12232
13171
|
"""
|
|
12233
|
-
|
|
13172
|
+
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
|
|
12234
13173
|
"""
|
|
12235
13174
|
return pulumi.get(self, "endpoint")
|
|
12236
13175
|
|