pulumi-harness 0.8.0a1747375122__py3-none-any.whl → 0.8.0a1747893453__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-harness might be problematic. Click here for more details.
- pulumi_harness/__init__.py +16 -0
- pulumi_harness/cluster/__init__.py +4 -0
- pulumi_harness/cluster/_inputs.py +992 -0
- pulumi_harness/cluster/get_orchestrator_config.py +175 -0
- pulumi_harness/cluster/orchestrator_config.py +295 -0
- pulumi_harness/cluster/outputs.py +644 -0
- pulumi_harness/platform/__init__.py +2 -0
- pulumi_harness/platform/_inputs.py +193 -0
- pulumi_harness/platform/connector_azure_repo.py +727 -0
- pulumi_harness/platform/db_instance.py +57 -2
- pulumi_harness/platform/get_connector_azure_repo.py +231 -0
- pulumi_harness/platform/get_db_instance.py +16 -1
- pulumi_harness/platform/outputs.py +275 -0
- pulumi_harness/pulumi-plugin.json +1 -1
- {pulumi_harness-0.8.0a1747375122.dist-info → pulumi_harness-0.8.0a1747893453.dist-info}/METADATA +1 -1
- {pulumi_harness-0.8.0a1747375122.dist-info → pulumi_harness-0.8.0a1747893453.dist-info}/RECORD +18 -12
- {pulumi_harness-0.8.0a1747375122.dist-info → pulumi_harness-0.8.0a1747893453.dist-info}/WHEEL +1 -1
- {pulumi_harness-0.8.0a1747375122.dist-info → pulumi_harness-0.8.0a1747893453.dist-info}/top_level.txt +0 -0
|
@@ -28,6 +28,7 @@ class DbInstanceArgs:
|
|
|
28
28
|
branch: Optional[pulumi.Input[builtins.str]] = None,
|
|
29
29
|
context: Optional[pulumi.Input[builtins.str]] = None,
|
|
30
30
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
31
|
+
liquibase_substitute_properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
31
32
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
32
33
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
33
34
|
"""
|
|
@@ -40,6 +41,7 @@ class DbInstanceArgs:
|
|
|
40
41
|
:param pulumi.Input[builtins.str] branch: The branch of changeSet repository
|
|
41
42
|
:param pulumi.Input[builtins.str] context: The liquibase context
|
|
42
43
|
:param pulumi.Input[builtins.str] description: Description of the resource.
|
|
44
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] liquibase_substitute_properties: The properties to substitute in liquibase changelog
|
|
43
45
|
:param pulumi.Input[builtins.str] name: Name of the resource.
|
|
44
46
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: Tags to associate with the resource.
|
|
45
47
|
"""
|
|
@@ -54,6 +56,8 @@ class DbInstanceArgs:
|
|
|
54
56
|
pulumi.set(__self__, "context", context)
|
|
55
57
|
if description is not None:
|
|
56
58
|
pulumi.set(__self__, "description", description)
|
|
59
|
+
if liquibase_substitute_properties is not None:
|
|
60
|
+
pulumi.set(__self__, "liquibase_substitute_properties", liquibase_substitute_properties)
|
|
57
61
|
if name is not None:
|
|
58
62
|
pulumi.set(__self__, "name", name)
|
|
59
63
|
if tags is not None:
|
|
@@ -155,6 +159,18 @@ class DbInstanceArgs:
|
|
|
155
159
|
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
156
160
|
pulumi.set(self, "description", value)
|
|
157
161
|
|
|
162
|
+
@property
|
|
163
|
+
@pulumi.getter(name="liquibaseSubstituteProperties")
|
|
164
|
+
def liquibase_substitute_properties(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
165
|
+
"""
|
|
166
|
+
The properties to substitute in liquibase changelog
|
|
167
|
+
"""
|
|
168
|
+
return pulumi.get(self, "liquibase_substitute_properties")
|
|
169
|
+
|
|
170
|
+
@liquibase_substitute_properties.setter
|
|
171
|
+
def liquibase_substitute_properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
172
|
+
pulumi.set(self, "liquibase_substitute_properties", value)
|
|
173
|
+
|
|
158
174
|
@property
|
|
159
175
|
@pulumi.getter
|
|
160
176
|
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
@@ -188,6 +204,7 @@ class _DbInstanceState:
|
|
|
188
204
|
context: Optional[pulumi.Input[builtins.str]] = None,
|
|
189
205
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
190
206
|
identifier: Optional[pulumi.Input[builtins.str]] = None,
|
|
207
|
+
liquibase_substitute_properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
191
208
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
192
209
|
org_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
193
210
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -200,6 +217,7 @@ class _DbInstanceState:
|
|
|
200
217
|
:param pulumi.Input[builtins.str] context: The liquibase context
|
|
201
218
|
:param pulumi.Input[builtins.str] description: Description of the resource.
|
|
202
219
|
:param pulumi.Input[builtins.str] identifier: Unique identifier of the resource.
|
|
220
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] liquibase_substitute_properties: The properties to substitute in liquibase changelog
|
|
203
221
|
:param pulumi.Input[builtins.str] name: Name of the resource.
|
|
204
222
|
:param pulumi.Input[builtins.str] org_id: Unique identifier of the organization.
|
|
205
223
|
:param pulumi.Input[builtins.str] project_id: Unique identifier of the project.
|
|
@@ -216,6 +234,8 @@ class _DbInstanceState:
|
|
|
216
234
|
pulumi.set(__self__, "description", description)
|
|
217
235
|
if identifier is not None:
|
|
218
236
|
pulumi.set(__self__, "identifier", identifier)
|
|
237
|
+
if liquibase_substitute_properties is not None:
|
|
238
|
+
pulumi.set(__self__, "liquibase_substitute_properties", liquibase_substitute_properties)
|
|
219
239
|
if name is not None:
|
|
220
240
|
pulumi.set(__self__, "name", name)
|
|
221
241
|
if org_id is not None:
|
|
@@ -287,6 +307,18 @@ class _DbInstanceState:
|
|
|
287
307
|
def identifier(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
288
308
|
pulumi.set(self, "identifier", value)
|
|
289
309
|
|
|
310
|
+
@property
|
|
311
|
+
@pulumi.getter(name="liquibaseSubstituteProperties")
|
|
312
|
+
def liquibase_substitute_properties(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
313
|
+
"""
|
|
314
|
+
The properties to substitute in liquibase changelog
|
|
315
|
+
"""
|
|
316
|
+
return pulumi.get(self, "liquibase_substitute_properties")
|
|
317
|
+
|
|
318
|
+
@liquibase_substitute_properties.setter
|
|
319
|
+
def liquibase_substitute_properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
320
|
+
pulumi.set(self, "liquibase_substitute_properties", value)
|
|
321
|
+
|
|
290
322
|
@property
|
|
291
323
|
@pulumi.getter
|
|
292
324
|
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
@@ -359,6 +391,7 @@ class DbInstance(pulumi.CustomResource):
|
|
|
359
391
|
context: Optional[pulumi.Input[builtins.str]] = None,
|
|
360
392
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
361
393
|
identifier: Optional[pulumi.Input[builtins.str]] = None,
|
|
394
|
+
liquibase_substitute_properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
362
395
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
363
396
|
org_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
364
397
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -386,7 +419,11 @@ class DbInstance(pulumi.CustomResource):
|
|
|
386
419
|
schema="schema1",
|
|
387
420
|
branch="main",
|
|
388
421
|
connector="jdbcConnector",
|
|
389
|
-
context="ctx"
|
|
422
|
+
context="ctx",
|
|
423
|
+
liquibase_substitute_properties={
|
|
424
|
+
"key1": "value1",
|
|
425
|
+
"key2": "value2",
|
|
426
|
+
})
|
|
390
427
|
```
|
|
391
428
|
|
|
392
429
|
## Import
|
|
@@ -404,6 +441,7 @@ class DbInstance(pulumi.CustomResource):
|
|
|
404
441
|
:param pulumi.Input[builtins.str] context: The liquibase context
|
|
405
442
|
:param pulumi.Input[builtins.str] description: Description of the resource.
|
|
406
443
|
:param pulumi.Input[builtins.str] identifier: Unique identifier of the resource.
|
|
444
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] liquibase_substitute_properties: The properties to substitute in liquibase changelog
|
|
407
445
|
:param pulumi.Input[builtins.str] name: Name of the resource.
|
|
408
446
|
:param pulumi.Input[builtins.str] org_id: Unique identifier of the organization.
|
|
409
447
|
:param pulumi.Input[builtins.str] project_id: Unique identifier of the project.
|
|
@@ -437,7 +475,11 @@ class DbInstance(pulumi.CustomResource):
|
|
|
437
475
|
schema="schema1",
|
|
438
476
|
branch="main",
|
|
439
477
|
connector="jdbcConnector",
|
|
440
|
-
context="ctx"
|
|
478
|
+
context="ctx",
|
|
479
|
+
liquibase_substitute_properties={
|
|
480
|
+
"key1": "value1",
|
|
481
|
+
"key2": "value2",
|
|
482
|
+
})
|
|
441
483
|
```
|
|
442
484
|
|
|
443
485
|
## Import
|
|
@@ -468,6 +510,7 @@ class DbInstance(pulumi.CustomResource):
|
|
|
468
510
|
context: Optional[pulumi.Input[builtins.str]] = None,
|
|
469
511
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
470
512
|
identifier: Optional[pulumi.Input[builtins.str]] = None,
|
|
513
|
+
liquibase_substitute_properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
471
514
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
472
515
|
org_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
473
516
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -491,6 +534,7 @@ class DbInstance(pulumi.CustomResource):
|
|
|
491
534
|
if identifier is None and not opts.urn:
|
|
492
535
|
raise TypeError("Missing required property 'identifier'")
|
|
493
536
|
__props__.__dict__["identifier"] = identifier
|
|
537
|
+
__props__.__dict__["liquibase_substitute_properties"] = liquibase_substitute_properties
|
|
494
538
|
__props__.__dict__["name"] = name
|
|
495
539
|
if org_id is None and not opts.urn:
|
|
496
540
|
raise TypeError("Missing required property 'org_id'")
|
|
@@ -517,6 +561,7 @@ class DbInstance(pulumi.CustomResource):
|
|
|
517
561
|
context: Optional[pulumi.Input[builtins.str]] = None,
|
|
518
562
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
519
563
|
identifier: Optional[pulumi.Input[builtins.str]] = None,
|
|
564
|
+
liquibase_substitute_properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
520
565
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
521
566
|
org_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
522
567
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -534,6 +579,7 @@ class DbInstance(pulumi.CustomResource):
|
|
|
534
579
|
:param pulumi.Input[builtins.str] context: The liquibase context
|
|
535
580
|
:param pulumi.Input[builtins.str] description: Description of the resource.
|
|
536
581
|
:param pulumi.Input[builtins.str] identifier: Unique identifier of the resource.
|
|
582
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] liquibase_substitute_properties: The properties to substitute in liquibase changelog
|
|
537
583
|
:param pulumi.Input[builtins.str] name: Name of the resource.
|
|
538
584
|
:param pulumi.Input[builtins.str] org_id: Unique identifier of the organization.
|
|
539
585
|
:param pulumi.Input[builtins.str] project_id: Unique identifier of the project.
|
|
@@ -549,6 +595,7 @@ class DbInstance(pulumi.CustomResource):
|
|
|
549
595
|
__props__.__dict__["context"] = context
|
|
550
596
|
__props__.__dict__["description"] = description
|
|
551
597
|
__props__.__dict__["identifier"] = identifier
|
|
598
|
+
__props__.__dict__["liquibase_substitute_properties"] = liquibase_substitute_properties
|
|
552
599
|
__props__.__dict__["name"] = name
|
|
553
600
|
__props__.__dict__["org_id"] = org_id
|
|
554
601
|
__props__.__dict__["project_id"] = project_id
|
|
@@ -596,6 +643,14 @@ class DbInstance(pulumi.CustomResource):
|
|
|
596
643
|
"""
|
|
597
644
|
return pulumi.get(self, "identifier")
|
|
598
645
|
|
|
646
|
+
@property
|
|
647
|
+
@pulumi.getter(name="liquibaseSubstituteProperties")
|
|
648
|
+
def liquibase_substitute_properties(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
649
|
+
"""
|
|
650
|
+
The properties to substitute in liquibase changelog
|
|
651
|
+
"""
|
|
652
|
+
return pulumi.get(self, "liquibase_substitute_properties")
|
|
653
|
+
|
|
599
654
|
@property
|
|
600
655
|
@pulumi.getter
|
|
601
656
|
def name(self) -> pulumi.Output[builtins.str]:
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import 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
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
'GetConnectorAzureRepoResult',
|
|
21
|
+
'AwaitableGetConnectorAzureRepoResult',
|
|
22
|
+
'get_connector_azure_repo',
|
|
23
|
+
'get_connector_azure_repo_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetConnectorAzureRepoResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getConnectorAzureRepo.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, api_authentications=None, connection_type=None, credentials=None, delegate_selectors=None, description=None, execute_on_delegate=None, id=None, identifier=None, name=None, org_id=None, project_id=None, tags=None, url=None, validation_repo=None):
|
|
32
|
+
if api_authentications and not isinstance(api_authentications, list):
|
|
33
|
+
raise TypeError("Expected argument 'api_authentications' to be a list")
|
|
34
|
+
pulumi.set(__self__, "api_authentications", api_authentications)
|
|
35
|
+
if connection_type and not isinstance(connection_type, str):
|
|
36
|
+
raise TypeError("Expected argument 'connection_type' to be a str")
|
|
37
|
+
pulumi.set(__self__, "connection_type", connection_type)
|
|
38
|
+
if credentials and not isinstance(credentials, list):
|
|
39
|
+
raise TypeError("Expected argument 'credentials' to be a list")
|
|
40
|
+
pulumi.set(__self__, "credentials", credentials)
|
|
41
|
+
if delegate_selectors and not isinstance(delegate_selectors, list):
|
|
42
|
+
raise TypeError("Expected argument 'delegate_selectors' to be a list")
|
|
43
|
+
pulumi.set(__self__, "delegate_selectors", delegate_selectors)
|
|
44
|
+
if description and not isinstance(description, str):
|
|
45
|
+
raise TypeError("Expected argument 'description' to be a str")
|
|
46
|
+
pulumi.set(__self__, "description", description)
|
|
47
|
+
if execute_on_delegate and not isinstance(execute_on_delegate, bool):
|
|
48
|
+
raise TypeError("Expected argument 'execute_on_delegate' to be a bool")
|
|
49
|
+
pulumi.set(__self__, "execute_on_delegate", execute_on_delegate)
|
|
50
|
+
if id and not isinstance(id, str):
|
|
51
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
52
|
+
pulumi.set(__self__, "id", id)
|
|
53
|
+
if identifier and not isinstance(identifier, str):
|
|
54
|
+
raise TypeError("Expected argument 'identifier' to be a str")
|
|
55
|
+
pulumi.set(__self__, "identifier", identifier)
|
|
56
|
+
if name and not isinstance(name, str):
|
|
57
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
58
|
+
pulumi.set(__self__, "name", name)
|
|
59
|
+
if org_id and not isinstance(org_id, str):
|
|
60
|
+
raise TypeError("Expected argument 'org_id' to be a str")
|
|
61
|
+
pulumi.set(__self__, "org_id", org_id)
|
|
62
|
+
if project_id and not isinstance(project_id, str):
|
|
63
|
+
raise TypeError("Expected argument 'project_id' to be a str")
|
|
64
|
+
pulumi.set(__self__, "project_id", project_id)
|
|
65
|
+
if tags and not isinstance(tags, list):
|
|
66
|
+
raise TypeError("Expected argument 'tags' to be a list")
|
|
67
|
+
pulumi.set(__self__, "tags", tags)
|
|
68
|
+
if url and not isinstance(url, str):
|
|
69
|
+
raise TypeError("Expected argument 'url' to be a str")
|
|
70
|
+
pulumi.set(__self__, "url", url)
|
|
71
|
+
if validation_repo and not isinstance(validation_repo, str):
|
|
72
|
+
raise TypeError("Expected argument 'validation_repo' to be a str")
|
|
73
|
+
pulumi.set(__self__, "validation_repo", validation_repo)
|
|
74
|
+
|
|
75
|
+
@property
|
|
76
|
+
@pulumi.getter(name="apiAuthentications")
|
|
77
|
+
def api_authentications(self) -> Sequence['outputs.GetConnectorAzureRepoApiAuthenticationResult']:
|
|
78
|
+
return pulumi.get(self, "api_authentications")
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
@pulumi.getter(name="connectionType")
|
|
82
|
+
def connection_type(self) -> builtins.str:
|
|
83
|
+
return pulumi.get(self, "connection_type")
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
@pulumi.getter
|
|
87
|
+
def credentials(self) -> Sequence['outputs.GetConnectorAzureRepoCredentialResult']:
|
|
88
|
+
return pulumi.get(self, "credentials")
|
|
89
|
+
|
|
90
|
+
@property
|
|
91
|
+
@pulumi.getter(name="delegateSelectors")
|
|
92
|
+
def delegate_selectors(self) -> Sequence[builtins.str]:
|
|
93
|
+
return pulumi.get(self, "delegate_selectors")
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
@pulumi.getter
|
|
97
|
+
def description(self) -> builtins.str:
|
|
98
|
+
return pulumi.get(self, "description")
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
@pulumi.getter(name="executeOnDelegate")
|
|
102
|
+
def execute_on_delegate(self) -> builtins.bool:
|
|
103
|
+
return pulumi.get(self, "execute_on_delegate")
|
|
104
|
+
|
|
105
|
+
@property
|
|
106
|
+
@pulumi.getter
|
|
107
|
+
def id(self) -> builtins.str:
|
|
108
|
+
"""
|
|
109
|
+
The provider-assigned unique ID for this managed resource.
|
|
110
|
+
"""
|
|
111
|
+
return pulumi.get(self, "id")
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
@pulumi.getter
|
|
115
|
+
def identifier(self) -> builtins.str:
|
|
116
|
+
return pulumi.get(self, "identifier")
|
|
117
|
+
|
|
118
|
+
@property
|
|
119
|
+
@pulumi.getter
|
|
120
|
+
def name(self) -> Optional[builtins.str]:
|
|
121
|
+
return pulumi.get(self, "name")
|
|
122
|
+
|
|
123
|
+
@property
|
|
124
|
+
@pulumi.getter(name="orgId")
|
|
125
|
+
def org_id(self) -> Optional[builtins.str]:
|
|
126
|
+
return pulumi.get(self, "org_id")
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
@pulumi.getter(name="projectId")
|
|
130
|
+
def project_id(self) -> Optional[builtins.str]:
|
|
131
|
+
return pulumi.get(self, "project_id")
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
@pulumi.getter
|
|
135
|
+
def tags(self) -> Sequence[builtins.str]:
|
|
136
|
+
return pulumi.get(self, "tags")
|
|
137
|
+
|
|
138
|
+
@property
|
|
139
|
+
@pulumi.getter
|
|
140
|
+
def url(self) -> builtins.str:
|
|
141
|
+
return pulumi.get(self, "url")
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
@pulumi.getter(name="validationRepo")
|
|
145
|
+
def validation_repo(self) -> builtins.str:
|
|
146
|
+
return pulumi.get(self, "validation_repo")
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
class AwaitableGetConnectorAzureRepoResult(GetConnectorAzureRepoResult):
|
|
150
|
+
# pylint: disable=using-constant-test
|
|
151
|
+
def __await__(self):
|
|
152
|
+
if False:
|
|
153
|
+
yield self
|
|
154
|
+
return GetConnectorAzureRepoResult(
|
|
155
|
+
api_authentications=self.api_authentications,
|
|
156
|
+
connection_type=self.connection_type,
|
|
157
|
+
credentials=self.credentials,
|
|
158
|
+
delegate_selectors=self.delegate_selectors,
|
|
159
|
+
description=self.description,
|
|
160
|
+
execute_on_delegate=self.execute_on_delegate,
|
|
161
|
+
id=self.id,
|
|
162
|
+
identifier=self.identifier,
|
|
163
|
+
name=self.name,
|
|
164
|
+
org_id=self.org_id,
|
|
165
|
+
project_id=self.project_id,
|
|
166
|
+
tags=self.tags,
|
|
167
|
+
url=self.url,
|
|
168
|
+
validation_repo=self.validation_repo)
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
def get_connector_azure_repo(identifier: Optional[builtins.str] = None,
|
|
172
|
+
name: Optional[builtins.str] = None,
|
|
173
|
+
org_id: Optional[builtins.str] = None,
|
|
174
|
+
project_id: Optional[builtins.str] = None,
|
|
175
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConnectorAzureRepoResult:
|
|
176
|
+
"""
|
|
177
|
+
Use this data source to access information about an existing resource.
|
|
178
|
+
"""
|
|
179
|
+
__args__ = dict()
|
|
180
|
+
__args__['identifier'] = identifier
|
|
181
|
+
__args__['name'] = name
|
|
182
|
+
__args__['orgId'] = org_id
|
|
183
|
+
__args__['projectId'] = project_id
|
|
184
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
185
|
+
__ret__ = pulumi.runtime.invoke('harness:platform/getConnectorAzureRepo:getConnectorAzureRepo', __args__, opts=opts, typ=GetConnectorAzureRepoResult).value
|
|
186
|
+
|
|
187
|
+
return AwaitableGetConnectorAzureRepoResult(
|
|
188
|
+
api_authentications=pulumi.get(__ret__, 'api_authentications'),
|
|
189
|
+
connection_type=pulumi.get(__ret__, 'connection_type'),
|
|
190
|
+
credentials=pulumi.get(__ret__, 'credentials'),
|
|
191
|
+
delegate_selectors=pulumi.get(__ret__, 'delegate_selectors'),
|
|
192
|
+
description=pulumi.get(__ret__, 'description'),
|
|
193
|
+
execute_on_delegate=pulumi.get(__ret__, 'execute_on_delegate'),
|
|
194
|
+
id=pulumi.get(__ret__, 'id'),
|
|
195
|
+
identifier=pulumi.get(__ret__, 'identifier'),
|
|
196
|
+
name=pulumi.get(__ret__, 'name'),
|
|
197
|
+
org_id=pulumi.get(__ret__, 'org_id'),
|
|
198
|
+
project_id=pulumi.get(__ret__, 'project_id'),
|
|
199
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
200
|
+
url=pulumi.get(__ret__, 'url'),
|
|
201
|
+
validation_repo=pulumi.get(__ret__, 'validation_repo'))
|
|
202
|
+
def get_connector_azure_repo_output(identifier: Optional[pulumi.Input[builtins.str]] = None,
|
|
203
|
+
name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
204
|
+
org_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
205
|
+
project_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
206
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetConnectorAzureRepoResult]:
|
|
207
|
+
"""
|
|
208
|
+
Use this data source to access information about an existing resource.
|
|
209
|
+
"""
|
|
210
|
+
__args__ = dict()
|
|
211
|
+
__args__['identifier'] = identifier
|
|
212
|
+
__args__['name'] = name
|
|
213
|
+
__args__['orgId'] = org_id
|
|
214
|
+
__args__['projectId'] = project_id
|
|
215
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
216
|
+
__ret__ = pulumi.runtime.invoke_output('harness:platform/getConnectorAzureRepo:getConnectorAzureRepo', __args__, opts=opts, typ=GetConnectorAzureRepoResult)
|
|
217
|
+
return __ret__.apply(lambda __response__: GetConnectorAzureRepoResult(
|
|
218
|
+
api_authentications=pulumi.get(__response__, 'api_authentications'),
|
|
219
|
+
connection_type=pulumi.get(__response__, 'connection_type'),
|
|
220
|
+
credentials=pulumi.get(__response__, 'credentials'),
|
|
221
|
+
delegate_selectors=pulumi.get(__response__, 'delegate_selectors'),
|
|
222
|
+
description=pulumi.get(__response__, 'description'),
|
|
223
|
+
execute_on_delegate=pulumi.get(__response__, 'execute_on_delegate'),
|
|
224
|
+
id=pulumi.get(__response__, 'id'),
|
|
225
|
+
identifier=pulumi.get(__response__, 'identifier'),
|
|
226
|
+
name=pulumi.get(__response__, 'name'),
|
|
227
|
+
org_id=pulumi.get(__response__, 'org_id'),
|
|
228
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
229
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
230
|
+
url=pulumi.get(__response__, 'url'),
|
|
231
|
+
validation_repo=pulumi.get(__response__, 'validation_repo')))
|
|
@@ -27,7 +27,7 @@ class GetDbInstanceResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getDbInstance.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, branch=None, connector=None, context=None, description=None, id=None, identifier=None, name=None, org_id=None, project_id=None, schema=None, tags=None):
|
|
30
|
+
def __init__(__self__, branch=None, connector=None, context=None, description=None, id=None, identifier=None, liquibase_substitute_properties=None, name=None, org_id=None, project_id=None, schema=None, tags=None):
|
|
31
31
|
if branch and not isinstance(branch, str):
|
|
32
32
|
raise TypeError("Expected argument 'branch' to be a str")
|
|
33
33
|
pulumi.set(__self__, "branch", branch)
|
|
@@ -46,6 +46,9 @@ class GetDbInstanceResult:
|
|
|
46
46
|
if identifier and not isinstance(identifier, str):
|
|
47
47
|
raise TypeError("Expected argument 'identifier' to be a str")
|
|
48
48
|
pulumi.set(__self__, "identifier", identifier)
|
|
49
|
+
if liquibase_substitute_properties and not isinstance(liquibase_substitute_properties, dict):
|
|
50
|
+
raise TypeError("Expected argument 'liquibase_substitute_properties' to be a dict")
|
|
51
|
+
pulumi.set(__self__, "liquibase_substitute_properties", liquibase_substitute_properties)
|
|
49
52
|
if name and not isinstance(name, str):
|
|
50
53
|
raise TypeError("Expected argument 'name' to be a str")
|
|
51
54
|
pulumi.set(__self__, "name", name)
|
|
@@ -110,6 +113,11 @@ class GetDbInstanceResult:
|
|
|
110
113
|
"""
|
|
111
114
|
return pulumi.get(self, "identifier")
|
|
112
115
|
|
|
116
|
+
@property
|
|
117
|
+
@pulumi.getter(name="liquibaseSubstituteProperties")
|
|
118
|
+
def liquibase_substitute_properties(self) -> Optional[Mapping[str, builtins.str]]:
|
|
119
|
+
return pulumi.get(self, "liquibase_substitute_properties")
|
|
120
|
+
|
|
113
121
|
@property
|
|
114
122
|
@pulumi.getter
|
|
115
123
|
def name(self) -> Optional[builtins.str]:
|
|
@@ -163,6 +171,7 @@ class AwaitableGetDbInstanceResult(GetDbInstanceResult):
|
|
|
163
171
|
description=self.description,
|
|
164
172
|
id=self.id,
|
|
165
173
|
identifier=self.identifier,
|
|
174
|
+
liquibase_substitute_properties=self.liquibase_substitute_properties,
|
|
166
175
|
name=self.name,
|
|
167
176
|
org_id=self.org_id,
|
|
168
177
|
project_id=self.project_id,
|
|
@@ -171,6 +180,7 @@ class AwaitableGetDbInstanceResult(GetDbInstanceResult):
|
|
|
171
180
|
|
|
172
181
|
|
|
173
182
|
def get_db_instance(identifier: Optional[builtins.str] = None,
|
|
183
|
+
liquibase_substitute_properties: Optional[Mapping[str, builtins.str]] = None,
|
|
174
184
|
name: Optional[builtins.str] = None,
|
|
175
185
|
org_id: Optional[builtins.str] = None,
|
|
176
186
|
project_id: Optional[builtins.str] = None,
|
|
@@ -200,6 +210,7 @@ def get_db_instance(identifier: Optional[builtins.str] = None,
|
|
|
200
210
|
"""
|
|
201
211
|
__args__ = dict()
|
|
202
212
|
__args__['identifier'] = identifier
|
|
213
|
+
__args__['liquibaseSubstituteProperties'] = liquibase_substitute_properties
|
|
203
214
|
__args__['name'] = name
|
|
204
215
|
__args__['orgId'] = org_id
|
|
205
216
|
__args__['projectId'] = project_id
|
|
@@ -214,12 +225,14 @@ def get_db_instance(identifier: Optional[builtins.str] = None,
|
|
|
214
225
|
description=pulumi.get(__ret__, 'description'),
|
|
215
226
|
id=pulumi.get(__ret__, 'id'),
|
|
216
227
|
identifier=pulumi.get(__ret__, 'identifier'),
|
|
228
|
+
liquibase_substitute_properties=pulumi.get(__ret__, 'liquibase_substitute_properties'),
|
|
217
229
|
name=pulumi.get(__ret__, 'name'),
|
|
218
230
|
org_id=pulumi.get(__ret__, 'org_id'),
|
|
219
231
|
project_id=pulumi.get(__ret__, 'project_id'),
|
|
220
232
|
schema=pulumi.get(__ret__, 'schema'),
|
|
221
233
|
tags=pulumi.get(__ret__, 'tags'))
|
|
222
234
|
def get_db_instance_output(identifier: Optional[pulumi.Input[builtins.str]] = None,
|
|
235
|
+
liquibase_substitute_properties: Optional[pulumi.Input[Optional[Mapping[str, builtins.str]]]] = None,
|
|
223
236
|
name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
224
237
|
org_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
225
238
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -249,6 +262,7 @@ def get_db_instance_output(identifier: Optional[pulumi.Input[builtins.str]] = No
|
|
|
249
262
|
"""
|
|
250
263
|
__args__ = dict()
|
|
251
264
|
__args__['identifier'] = identifier
|
|
265
|
+
__args__['liquibaseSubstituteProperties'] = liquibase_substitute_properties
|
|
252
266
|
__args__['name'] = name
|
|
253
267
|
__args__['orgId'] = org_id
|
|
254
268
|
__args__['projectId'] = project_id
|
|
@@ -262,6 +276,7 @@ def get_db_instance_output(identifier: Optional[pulumi.Input[builtins.str]] = No
|
|
|
262
276
|
description=pulumi.get(__response__, 'description'),
|
|
263
277
|
id=pulumi.get(__response__, 'id'),
|
|
264
278
|
identifier=pulumi.get(__response__, 'identifier'),
|
|
279
|
+
liquibase_substitute_properties=pulumi.get(__response__, 'liquibase_substitute_properties'),
|
|
265
280
|
name=pulumi.get(__response__, 'name'),
|
|
266
281
|
org_id=pulumi.get(__response__, 'org_id'),
|
|
267
282
|
project_id=pulumi.get(__response__, 'project_id'),
|