pulumi-external 0.1.0a1749879850__tar.gz → 0.1.0a1766295624__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pulumi_external-0.1.0a1749879850 → pulumi_external-0.1.0a1766295624}/PKG-INFO +1 -1
- {pulumi_external-0.1.0a1749879850 → pulumi_external-0.1.0a1766295624}/pulumi_external/__init__.py +1 -1
- {pulumi_external-0.1.0a1749879850 → pulumi_external-0.1.0a1766295624}/pulumi_external/get_external.py +21 -22
- {pulumi_external-0.1.0a1749879850 → pulumi_external-0.1.0a1766295624}/pulumi_external/provider.py +2 -3
- {pulumi_external-0.1.0a1749879850 → pulumi_external-0.1.0a1766295624}/pulumi_external/pulumi-plugin.json +1 -1
- {pulumi_external-0.1.0a1749879850 → pulumi_external-0.1.0a1766295624}/pulumi_external.egg-info/PKG-INFO +1 -1
- {pulumi_external-0.1.0a1749879850 → pulumi_external-0.1.0a1766295624}/pyproject.toml +1 -1
- {pulumi_external-0.1.0a1749879850 → pulumi_external-0.1.0a1766295624}/README.md +0 -0
- {pulumi_external-0.1.0a1749879850 → pulumi_external-0.1.0a1766295624}/pulumi_external/_utilities.py +0 -0
- {pulumi_external-0.1.0a1749879850 → pulumi_external-0.1.0a1766295624}/pulumi_external/py.typed +0 -0
- {pulumi_external-0.1.0a1749879850 → pulumi_external-0.1.0a1766295624}/pulumi_external.egg-info/SOURCES.txt +0 -0
- {pulumi_external-0.1.0a1749879850 → pulumi_external-0.1.0a1766295624}/pulumi_external.egg-info/dependency_links.txt +0 -0
- {pulumi_external-0.1.0a1749879850 → pulumi_external-0.1.0a1766295624}/pulumi_external.egg-info/requires.txt +0 -0
- {pulumi_external-0.1.0a1749879850 → pulumi_external-0.1.0a1766295624}/pulumi_external.egg-info/top_level.txt +0 -0
- {pulumi_external-0.1.0a1749879850 → pulumi_external-0.1.0a1766295624}/setup.cfg +0 -0
{pulumi_external-0.1.0a1749879850 → pulumi_external-0.1.0a1766295624}/pulumi_external/__init__.py
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
from . import _utilities
|
|
7
7
|
import typing
|
|
8
8
|
# Export this package's modules as members:
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -44,38 +43,38 @@ class GetExternalResult:
|
|
|
44
43
|
raise TypeError("Expected argument 'working_dir' to be a str")
|
|
45
44
|
pulumi.set(__self__, "working_dir", working_dir)
|
|
46
45
|
|
|
47
|
-
@property
|
|
46
|
+
@_builtins.property
|
|
48
47
|
@pulumi.getter
|
|
49
|
-
def id(self) ->
|
|
48
|
+
def id(self) -> _builtins.str:
|
|
50
49
|
"""
|
|
51
50
|
The id of the data source. This will always be set to `-`
|
|
52
51
|
"""
|
|
53
52
|
return pulumi.get(self, "id")
|
|
54
53
|
|
|
55
|
-
@property
|
|
54
|
+
@_builtins.property
|
|
56
55
|
@pulumi.getter
|
|
57
|
-
def programs(self) -> Sequence[
|
|
56
|
+
def programs(self) -> Sequence[_builtins.str]:
|
|
58
57
|
return pulumi.get(self, "programs")
|
|
59
58
|
|
|
60
|
-
@property
|
|
59
|
+
@_builtins.property
|
|
61
60
|
@pulumi.getter
|
|
62
|
-
def query(self) -> Optional[Mapping[str,
|
|
61
|
+
def query(self) -> Optional[Mapping[str, _builtins.str]]:
|
|
63
62
|
"""
|
|
64
63
|
A map of string values to pass to the external program as the query arguments. If not supplied, the program will receive an empty object as its input.
|
|
65
64
|
"""
|
|
66
65
|
return pulumi.get(self, "query")
|
|
67
66
|
|
|
68
|
-
@property
|
|
67
|
+
@_builtins.property
|
|
69
68
|
@pulumi.getter
|
|
70
|
-
def result(self) -> Mapping[str,
|
|
69
|
+
def result(self) -> Mapping[str, _builtins.str]:
|
|
71
70
|
"""
|
|
72
71
|
A map of string values returned from the external program.
|
|
73
72
|
"""
|
|
74
73
|
return pulumi.get(self, "result")
|
|
75
74
|
|
|
76
|
-
@property
|
|
75
|
+
@_builtins.property
|
|
77
76
|
@pulumi.getter(name="workingDir")
|
|
78
|
-
def working_dir(self) -> Optional[
|
|
77
|
+
def working_dir(self) -> Optional[_builtins.str]:
|
|
79
78
|
"""
|
|
80
79
|
Working directory of the program. If not supplied, the program will run in the current directory.
|
|
81
80
|
"""
|
|
@@ -95,15 +94,15 @@ class AwaitableGetExternalResult(GetExternalResult):
|
|
|
95
94
|
working_dir=self.working_dir)
|
|
96
95
|
|
|
97
96
|
|
|
98
|
-
def get_external(programs: Optional[Sequence[
|
|
99
|
-
query: Optional[Mapping[str,
|
|
100
|
-
working_dir: Optional[
|
|
97
|
+
def get_external(programs: Optional[Sequence[_builtins.str]] = None,
|
|
98
|
+
query: Optional[Mapping[str, _builtins.str]] = None,
|
|
99
|
+
working_dir: Optional[_builtins.str] = None,
|
|
101
100
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExternalResult:
|
|
102
101
|
"""
|
|
103
102
|
Use this data source to access information about an existing resource.
|
|
104
103
|
|
|
105
|
-
:param Mapping[str,
|
|
106
|
-
:param
|
|
104
|
+
:param Mapping[str, _builtins.str] query: A map of string values to pass to the external program as the query arguments. If not supplied, the program will receive an empty object as its input.
|
|
105
|
+
:param _builtins.str working_dir: Working directory of the program. If not supplied, the program will run in the current directory.
|
|
107
106
|
"""
|
|
108
107
|
__args__ = dict()
|
|
109
108
|
__args__['programs'] = programs
|
|
@@ -118,15 +117,15 @@ def get_external(programs: Optional[Sequence[builtins.str]] = None,
|
|
|
118
117
|
query=pulumi.get(__ret__, 'query'),
|
|
119
118
|
result=pulumi.get(__ret__, 'result'),
|
|
120
119
|
working_dir=pulumi.get(__ret__, 'working_dir'))
|
|
121
|
-
def get_external_output(programs: Optional[pulumi.Input[Sequence[
|
|
122
|
-
query: Optional[pulumi.Input[Optional[Mapping[str,
|
|
123
|
-
working_dir: Optional[pulumi.Input[Optional[
|
|
120
|
+
def get_external_output(programs: Optional[pulumi.Input[Sequence[_builtins.str]]] = None,
|
|
121
|
+
query: Optional[pulumi.Input[Optional[Mapping[str, _builtins.str]]]] = None,
|
|
122
|
+
working_dir: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
124
123
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetExternalResult]:
|
|
125
124
|
"""
|
|
126
125
|
Use this data source to access information about an existing resource.
|
|
127
126
|
|
|
128
|
-
:param Mapping[str,
|
|
129
|
-
:param
|
|
127
|
+
:param Mapping[str, _builtins.str] query: A map of string values to pass to the external program as the query arguments. If not supplied, the program will receive an empty object as its input.
|
|
128
|
+
:param _builtins.str working_dir: Working directory of the program. If not supplied, the program will run in the current directory.
|
|
130
129
|
"""
|
|
131
130
|
__args__ = dict()
|
|
132
131
|
__args__['programs'] = programs
|
{pulumi_external-0.1.0a1749879850 → pulumi_external-0.1.0a1766295624}/pulumi_external/provider.py
RENAMED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -91,7 +90,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
91
90
|
raise TypeError("Expected argument 'result' to be a dict")
|
|
92
91
|
pulumi.set(__self__, "result", result)
|
|
93
92
|
|
|
94
|
-
@property
|
|
93
|
+
@_builtins.property
|
|
95
94
|
@pulumi.getter
|
|
96
95
|
def result(self) -> Mapping[str, Any]:
|
|
97
96
|
return pulumi.get(self, "result")
|
|
File without changes
|
{pulumi_external-0.1.0a1749879850 → pulumi_external-0.1.0a1766295624}/pulumi_external/_utilities.py
RENAMED
|
File without changes
|
{pulumi_external-0.1.0a1749879850 → pulumi_external-0.1.0a1766295624}/pulumi_external/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|