pulumi-datarobot 0.2.7__tar.gz → 0.3.2__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_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/PKG-INFO +47 -2
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/README.md +47 -1
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/_inputs.py +1 -128
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/application_source.py +33 -33
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/custom_model.py +180 -43
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/outputs.py +1 -97
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot.egg-info/PKG-INFO +47 -2
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/setup.py +1 -1
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/__init__.py +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/_utilities.py +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/api_token_credential.py +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/basic_credential.py +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/config/__init__.py +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/config/vars.py +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/custom_application.py +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/dataset_from_file.py +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/dataset_from_url.py +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/deployment.py +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/get_global_model.py +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/google_cloud_credential.py +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/llm_blueprint.py +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/playground.py +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/prediction_environment.py +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/provider.py +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/pulumi-plugin.json +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/py.typed +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/qa_application.py +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/registered_model.py +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/registered_model_from_leaderboard.py +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/remote_repository.py +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/use_case.py +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot/vector_database.py +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot.egg-info/SOURCES.txt +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot.egg-info/dependency_links.txt +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot.egg-info/not-zip-safe +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot.egg-info/requires.txt +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/pulumi_datarobot.egg-info/top_level.txt +0 -0
- {pulumi_datarobot-0.2.7 → pulumi_datarobot-0.3.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pulumi_datarobot
|
3
|
-
Version: 0.2
|
3
|
+
Version: 0.3.2
|
4
4
|
Summary: A Pulumi package for creating and managing DataRobot resources.
|
5
5
|
Home-page: https://www.datarobot.com
|
6
6
|
License: Apache-2.0
|
@@ -69,11 +69,56 @@ No install necessary, just run `pulumi up`.
|
|
69
69
|
|
70
70
|
The following configuration points are available for the DataRobot provider:
|
71
71
|
|
72
|
-
- `datarobot:apikey` (environment: `
|
72
|
+
- `datarobot:apikey` (environment: `DATAROBOT_API_TOKEN`) - the API key for DataRobot
|
73
73
|
- `datarobot:endpoint` (environment: `DATAROBOT_ENDPOINT`) - the endpoint for DataRobot
|
74
74
|
|
75
75
|
## Examples
|
76
76
|
|
77
77
|
See [datarobot-pulumi examples](https://github.com/datarobot-community/pulumi-datarobot/tree/main/examples)
|
78
78
|
|
79
|
+
## Air-Gapped Environments
|
80
|
+
|
81
|
+
Keep the following items in mind if running in an air-gapped environment:
|
82
|
+
|
83
|
+
- Run `pulumi login --local` to store state files on your local filesystem, instead of the default Pulumi Cloud. Pulumi binaries are available [here](https://www.pulumi.com/docs/iac/download-install/).
|
84
|
+
- Set `DATAROBOT_ENDPOINT`: https://{datarobot.example.com}/api/v2
|
85
|
+
(replacing {datarobot.example.com} with your specific deployment endpoint)
|
86
|
+
- For Python, the [pulumi](https://pypi.org/project/pulumi/) and [pulumi-datarobot](https://pypi.org/project/pulumi-datarobot/) packages must be installed in the air-gapped system.
|
87
|
+
|
88
|
+
Example using `pip wheel`:
|
89
|
+
|
90
|
+
1. create a directory where you want to store package wheels.
|
91
|
+
|
92
|
+
```bash
|
93
|
+
mkdir folder_containing_wheel
|
94
|
+
```
|
95
|
+
|
96
|
+
2. Now install wheels of the python library you want to install
|
97
|
+
|
98
|
+
```bash
|
99
|
+
pip wheel pulumi-datarobot -w folder_containing_wheel
|
100
|
+
```
|
101
|
+
|
102
|
+
This will store all your required dependent wheels of the `pulumi-datarobot` package in the folder. you can check it with doing ls -ltr`.
|
103
|
+
|
104
|
+
3. Now, you can make a tar file of this folder.
|
105
|
+
|
106
|
+
```bash
|
107
|
+
tar cf folder_containing_wheel.tar folder_containing_wheel/
|
108
|
+
```
|
109
|
+
|
110
|
+
and you can transfer it to your air-gapped system.
|
111
|
+
|
112
|
+
Now untar the folder.
|
113
|
+
|
114
|
+
```bash
|
115
|
+
tar xf folder_containing_wheel.tar
|
116
|
+
cd folder_containing_wheel/
|
117
|
+
```
|
118
|
+
|
119
|
+
now install wheels from the folder.
|
120
|
+
|
121
|
+
```bash
|
122
|
+
pip install * -f ./ --no-index
|
123
|
+
```
|
79
124
|
|
@@ -57,9 +57,55 @@ No install necessary, just run `pulumi up`.
|
|
57
57
|
|
58
58
|
The following configuration points are available for the DataRobot provider:
|
59
59
|
|
60
|
-
- `datarobot:apikey` (environment: `
|
60
|
+
- `datarobot:apikey` (environment: `DATAROBOT_API_TOKEN`) - the API key for DataRobot
|
61
61
|
- `datarobot:endpoint` (environment: `DATAROBOT_ENDPOINT`) - the endpoint for DataRobot
|
62
62
|
|
63
63
|
## Examples
|
64
64
|
|
65
65
|
See [datarobot-pulumi examples](https://github.com/datarobot-community/pulumi-datarobot/tree/main/examples)
|
66
|
+
|
67
|
+
## Air-Gapped Environments
|
68
|
+
|
69
|
+
Keep the following items in mind if running in an air-gapped environment:
|
70
|
+
|
71
|
+
- Run `pulumi login --local` to store state files on your local filesystem, instead of the default Pulumi Cloud. Pulumi binaries are available [here](https://www.pulumi.com/docs/iac/download-install/).
|
72
|
+
- Set `DATAROBOT_ENDPOINT`: https://{datarobot.example.com}/api/v2
|
73
|
+
(replacing {datarobot.example.com} with your specific deployment endpoint)
|
74
|
+
- For Python, the [pulumi](https://pypi.org/project/pulumi/) and [pulumi-datarobot](https://pypi.org/project/pulumi-datarobot/) packages must be installed in the air-gapped system.
|
75
|
+
|
76
|
+
Example using `pip wheel`:
|
77
|
+
|
78
|
+
1. create a directory where you want to store package wheels.
|
79
|
+
|
80
|
+
```bash
|
81
|
+
mkdir folder_containing_wheel
|
82
|
+
```
|
83
|
+
|
84
|
+
2. Now install wheels of the python library you want to install
|
85
|
+
|
86
|
+
```bash
|
87
|
+
pip wheel pulumi-datarobot -w folder_containing_wheel
|
88
|
+
```
|
89
|
+
|
90
|
+
This will store all your required dependent wheels of the `pulumi-datarobot` package in the folder. you can check it with doing ls -ltr`.
|
91
|
+
|
92
|
+
3. Now, you can make a tar file of this folder.
|
93
|
+
|
94
|
+
```bash
|
95
|
+
tar cf folder_containing_wheel.tar folder_containing_wheel/
|
96
|
+
```
|
97
|
+
|
98
|
+
and you can transfer it to your air-gapped system.
|
99
|
+
|
100
|
+
Now untar the folder.
|
101
|
+
|
102
|
+
```bash
|
103
|
+
tar xf folder_containing_wheel.tar
|
104
|
+
cd folder_containing_wheel/
|
105
|
+
```
|
106
|
+
|
107
|
+
now install wheels from the folder.
|
108
|
+
|
109
|
+
```bash
|
110
|
+
pip install * -f ./ --no-index
|
111
|
+
```
|
@@ -15,8 +15,6 @@ else:
|
|
15
15
|
from . import _utilities
|
16
16
|
|
17
17
|
__all__ = [
|
18
|
-
'ApplicationSourceResourceSettingsArgs',
|
19
|
-
'ApplicationSourceResourceSettingsArgsDict',
|
20
18
|
'ApplicationSourceRuntimeParameterValueArgs',
|
21
19
|
'ApplicationSourceRuntimeParameterValueArgsDict',
|
22
20
|
'CustomModelGuardConfigurationArgs',
|
@@ -25,8 +23,6 @@ __all__ = [
|
|
25
23
|
'CustomModelGuardConfigurationInterventionArgsDict',
|
26
24
|
'CustomModelOverallModerationConfigurationArgs',
|
27
25
|
'CustomModelOverallModerationConfigurationArgsDict',
|
28
|
-
'CustomModelResourceSettingsArgs',
|
29
|
-
'CustomModelResourceSettingsArgsDict',
|
30
26
|
'CustomModelRuntimeParameterValueArgs',
|
31
27
|
'CustomModelRuntimeParameterValueArgsDict',
|
32
28
|
'CustomModelSourceRemoteRepositoryArgs',
|
@@ -85,38 +81,6 @@ __all__ = [
|
|
85
81
|
|
86
82
|
MYPY = False
|
87
83
|
|
88
|
-
if not MYPY:
|
89
|
-
class ApplicationSourceResourceSettingsArgsDict(TypedDict):
|
90
|
-
replicas: NotRequired[pulumi.Input[int]]
|
91
|
-
"""
|
92
|
-
The replicas for the Application Source.
|
93
|
-
"""
|
94
|
-
elif False:
|
95
|
-
ApplicationSourceResourceSettingsArgsDict: TypeAlias = Mapping[str, Any]
|
96
|
-
|
97
|
-
@pulumi.input_type
|
98
|
-
class ApplicationSourceResourceSettingsArgs:
|
99
|
-
def __init__(__self__, *,
|
100
|
-
replicas: Optional[pulumi.Input[int]] = None):
|
101
|
-
"""
|
102
|
-
:param pulumi.Input[int] replicas: The replicas for the Application Source.
|
103
|
-
"""
|
104
|
-
if replicas is not None:
|
105
|
-
pulumi.set(__self__, "replicas", replicas)
|
106
|
-
|
107
|
-
@property
|
108
|
-
@pulumi.getter
|
109
|
-
def replicas(self) -> Optional[pulumi.Input[int]]:
|
110
|
-
"""
|
111
|
-
The replicas for the Application Source.
|
112
|
-
"""
|
113
|
-
return pulumi.get(self, "replicas")
|
114
|
-
|
115
|
-
@replicas.setter
|
116
|
-
def replicas(self, value: Optional[pulumi.Input[int]]):
|
117
|
-
pulumi.set(self, "replicas", value)
|
118
|
-
|
119
|
-
|
120
84
|
if not MYPY:
|
121
85
|
class ApplicationSourceRuntimeParameterValueArgsDict(TypedDict):
|
122
86
|
key: pulumi.Input[str]
|
@@ -536,78 +500,6 @@ class CustomModelOverallModerationConfigurationArgs:
|
|
536
500
|
pulumi.set(self, "timeout_sec", value)
|
537
501
|
|
538
502
|
|
539
|
-
if not MYPY:
|
540
|
-
class CustomModelResourceSettingsArgsDict(TypedDict):
|
541
|
-
memory_mb: NotRequired[pulumi.Input[int]]
|
542
|
-
"""
|
543
|
-
The memory in MB for the Custom Model.
|
544
|
-
"""
|
545
|
-
network_access: NotRequired[pulumi.Input[str]]
|
546
|
-
"""
|
547
|
-
The network access for the Custom Model.
|
548
|
-
"""
|
549
|
-
replicas: NotRequired[pulumi.Input[int]]
|
550
|
-
"""
|
551
|
-
The replicas for the Custom Model.
|
552
|
-
"""
|
553
|
-
elif False:
|
554
|
-
CustomModelResourceSettingsArgsDict: TypeAlias = Mapping[str, Any]
|
555
|
-
|
556
|
-
@pulumi.input_type
|
557
|
-
class CustomModelResourceSettingsArgs:
|
558
|
-
def __init__(__self__, *,
|
559
|
-
memory_mb: Optional[pulumi.Input[int]] = None,
|
560
|
-
network_access: Optional[pulumi.Input[str]] = None,
|
561
|
-
replicas: Optional[pulumi.Input[int]] = None):
|
562
|
-
"""
|
563
|
-
:param pulumi.Input[int] memory_mb: The memory in MB for the Custom Model.
|
564
|
-
:param pulumi.Input[str] network_access: The network access for the Custom Model.
|
565
|
-
:param pulumi.Input[int] replicas: The replicas for the Custom Model.
|
566
|
-
"""
|
567
|
-
if memory_mb is not None:
|
568
|
-
pulumi.set(__self__, "memory_mb", memory_mb)
|
569
|
-
if network_access is not None:
|
570
|
-
pulumi.set(__self__, "network_access", network_access)
|
571
|
-
if replicas is not None:
|
572
|
-
pulumi.set(__self__, "replicas", replicas)
|
573
|
-
|
574
|
-
@property
|
575
|
-
@pulumi.getter(name="memoryMb")
|
576
|
-
def memory_mb(self) -> Optional[pulumi.Input[int]]:
|
577
|
-
"""
|
578
|
-
The memory in MB for the Custom Model.
|
579
|
-
"""
|
580
|
-
return pulumi.get(self, "memory_mb")
|
581
|
-
|
582
|
-
@memory_mb.setter
|
583
|
-
def memory_mb(self, value: Optional[pulumi.Input[int]]):
|
584
|
-
pulumi.set(self, "memory_mb", value)
|
585
|
-
|
586
|
-
@property
|
587
|
-
@pulumi.getter(name="networkAccess")
|
588
|
-
def network_access(self) -> Optional[pulumi.Input[str]]:
|
589
|
-
"""
|
590
|
-
The network access for the Custom Model.
|
591
|
-
"""
|
592
|
-
return pulumi.get(self, "network_access")
|
593
|
-
|
594
|
-
@network_access.setter
|
595
|
-
def network_access(self, value: Optional[pulumi.Input[str]]):
|
596
|
-
pulumi.set(self, "network_access", value)
|
597
|
-
|
598
|
-
@property
|
599
|
-
@pulumi.getter
|
600
|
-
def replicas(self) -> Optional[pulumi.Input[int]]:
|
601
|
-
"""
|
602
|
-
The replicas for the Custom Model.
|
603
|
-
"""
|
604
|
-
return pulumi.get(self, "replicas")
|
605
|
-
|
606
|
-
@replicas.setter
|
607
|
-
def replicas(self, value: Optional[pulumi.Input[int]]):
|
608
|
-
pulumi.set(self, "replicas", value)
|
609
|
-
|
610
|
-
|
611
503
|
if not MYPY:
|
612
504
|
class CustomModelRuntimeParameterValueArgsDict(TypedDict):
|
613
505
|
key: pulumi.Input[str]
|
@@ -2137,10 +2029,6 @@ if not MYPY:
|
|
2137
2029
|
"""
|
2138
2030
|
The minimum number of computes to use for predictions.
|
2139
2031
|
"""
|
2140
|
-
real_time: pulumi.Input[bool]
|
2141
|
-
"""
|
2142
|
-
Whether to use real-time predictions.
|
2143
|
-
"""
|
2144
2032
|
elif False:
|
2145
2033
|
DeploymentPredictionsSettingsArgsDict: TypeAlias = Mapping[str, Any]
|
2146
2034
|
|
@@ -2148,16 +2036,13 @@ elif False:
|
|
2148
2036
|
class DeploymentPredictionsSettingsArgs:
|
2149
2037
|
def __init__(__self__, *,
|
2150
2038
|
max_computes: pulumi.Input[int],
|
2151
|
-
min_computes: pulumi.Input[int]
|
2152
|
-
real_time: pulumi.Input[bool]):
|
2039
|
+
min_computes: pulumi.Input[int]):
|
2153
2040
|
"""
|
2154
2041
|
:param pulumi.Input[int] max_computes: The maximum number of computes to use for predictions.
|
2155
2042
|
:param pulumi.Input[int] min_computes: The minimum number of computes to use for predictions.
|
2156
|
-
:param pulumi.Input[bool] real_time: Whether to use real-time predictions.
|
2157
2043
|
"""
|
2158
2044
|
pulumi.set(__self__, "max_computes", max_computes)
|
2159
2045
|
pulumi.set(__self__, "min_computes", min_computes)
|
2160
|
-
pulumi.set(__self__, "real_time", real_time)
|
2161
2046
|
|
2162
2047
|
@property
|
2163
2048
|
@pulumi.getter(name="maxComputes")
|
@@ -2183,18 +2068,6 @@ class DeploymentPredictionsSettingsArgs:
|
|
2183
2068
|
def min_computes(self, value: pulumi.Input[int]):
|
2184
2069
|
pulumi.set(self, "min_computes", value)
|
2185
2070
|
|
2186
|
-
@property
|
2187
|
-
@pulumi.getter(name="realTime")
|
2188
|
-
def real_time(self) -> pulumi.Input[bool]:
|
2189
|
-
"""
|
2190
|
-
Whether to use real-time predictions.
|
2191
|
-
"""
|
2192
|
-
return pulumi.get(self, "real_time")
|
2193
|
-
|
2194
|
-
@real_time.setter
|
2195
|
-
def real_time(self, value: pulumi.Input[bool]):
|
2196
|
-
pulumi.set(self, "real_time", value)
|
2197
|
-
|
2198
2071
|
|
2199
2072
|
if not MYPY:
|
2200
2073
|
class DeploymentSegmentAnalysisSettingsArgsDict(TypedDict):
|
@@ -26,7 +26,7 @@ class ApplicationSourceArgs:
|
|
26
26
|
files: Optional[Any] = None,
|
27
27
|
folder_path: Optional[pulumi.Input[str]] = None,
|
28
28
|
name: Optional[pulumi.Input[str]] = None,
|
29
|
-
|
29
|
+
replicas: Optional[pulumi.Input[int]] = None,
|
30
30
|
runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSourceRuntimeParameterValueArgs']]]] = None):
|
31
31
|
"""
|
32
32
|
The set of arguments for constructing a ApplicationSource resource.
|
@@ -35,7 +35,7 @@ class ApplicationSourceArgs:
|
|
35
35
|
:param Any files: The list of tuples, where values in each tuple are the local filesystem path and the path the file should be placed in the Application Source. If list is of strings, then basenames will be used for tuples.
|
36
36
|
:param pulumi.Input[str] folder_path: The path to a folder containing files to build the Application Source. Each file in the folder is uploaded under path relative to a folder path.
|
37
37
|
:param pulumi.Input[str] name: The name of the Application Source.
|
38
|
-
:param pulumi.Input[
|
38
|
+
:param pulumi.Input[int] replicas: The replicas for the Application Source.
|
39
39
|
:param pulumi.Input[Sequence[pulumi.Input['ApplicationSourceRuntimeParameterValueArgs']]] runtime_parameter_values: The runtime parameter values for the Application Source.
|
40
40
|
"""
|
41
41
|
if base_environment_id is not None:
|
@@ -48,8 +48,8 @@ class ApplicationSourceArgs:
|
|
48
48
|
pulumi.set(__self__, "folder_path", folder_path)
|
49
49
|
if name is not None:
|
50
50
|
pulumi.set(__self__, "name", name)
|
51
|
-
if
|
52
|
-
pulumi.set(__self__, "
|
51
|
+
if replicas is not None:
|
52
|
+
pulumi.set(__self__, "replicas", replicas)
|
53
53
|
if runtime_parameter_values is not None:
|
54
54
|
pulumi.set(__self__, "runtime_parameter_values", runtime_parameter_values)
|
55
55
|
|
@@ -114,16 +114,16 @@ class ApplicationSourceArgs:
|
|
114
114
|
pulumi.set(self, "name", value)
|
115
115
|
|
116
116
|
@property
|
117
|
-
@pulumi.getter
|
118
|
-
def
|
117
|
+
@pulumi.getter
|
118
|
+
def replicas(self) -> Optional[pulumi.Input[int]]:
|
119
119
|
"""
|
120
|
-
The
|
120
|
+
The replicas for the Application Source.
|
121
121
|
"""
|
122
|
-
return pulumi.get(self, "
|
122
|
+
return pulumi.get(self, "replicas")
|
123
123
|
|
124
|
-
@
|
125
|
-
def
|
126
|
-
pulumi.set(self, "
|
124
|
+
@replicas.setter
|
125
|
+
def replicas(self, value: Optional[pulumi.Input[int]]):
|
126
|
+
pulumi.set(self, "replicas", value)
|
127
127
|
|
128
128
|
@property
|
129
129
|
@pulumi.getter(name="runtimeParameterValues")
|
@@ -148,7 +148,7 @@ class _ApplicationSourceState:
|
|
148
148
|
folder_path: Optional[pulumi.Input[str]] = None,
|
149
149
|
folder_path_hash: Optional[pulumi.Input[str]] = None,
|
150
150
|
name: Optional[pulumi.Input[str]] = None,
|
151
|
-
|
151
|
+
replicas: Optional[pulumi.Input[int]] = None,
|
152
152
|
runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSourceRuntimeParameterValueArgs']]]] = None,
|
153
153
|
version_id: Optional[pulumi.Input[str]] = None):
|
154
154
|
"""
|
@@ -160,7 +160,7 @@ class _ApplicationSourceState:
|
|
160
160
|
:param pulumi.Input[str] folder_path: The path to a folder containing files to build the Application Source. Each file in the folder is uploaded under path relative to a folder path.
|
161
161
|
:param pulumi.Input[str] folder_path_hash: The hash of the folder path contents.
|
162
162
|
:param pulumi.Input[str] name: The name of the Application Source.
|
163
|
-
:param pulumi.Input[
|
163
|
+
:param pulumi.Input[int] replicas: The replicas for the Application Source.
|
164
164
|
:param pulumi.Input[Sequence[pulumi.Input['ApplicationSourceRuntimeParameterValueArgs']]] runtime_parameter_values: The runtime parameter values for the Application Source.
|
165
165
|
:param pulumi.Input[str] version_id: The version ID of the Application Source.
|
166
166
|
"""
|
@@ -178,8 +178,8 @@ class _ApplicationSourceState:
|
|
178
178
|
pulumi.set(__self__, "folder_path_hash", folder_path_hash)
|
179
179
|
if name is not None:
|
180
180
|
pulumi.set(__self__, "name", name)
|
181
|
-
if
|
182
|
-
pulumi.set(__self__, "
|
181
|
+
if replicas is not None:
|
182
|
+
pulumi.set(__self__, "replicas", replicas)
|
183
183
|
if runtime_parameter_values is not None:
|
184
184
|
pulumi.set(__self__, "runtime_parameter_values", runtime_parameter_values)
|
185
185
|
if version_id is not None:
|
@@ -270,16 +270,16 @@ class _ApplicationSourceState:
|
|
270
270
|
pulumi.set(self, "name", value)
|
271
271
|
|
272
272
|
@property
|
273
|
-
@pulumi.getter
|
274
|
-
def
|
273
|
+
@pulumi.getter
|
274
|
+
def replicas(self) -> Optional[pulumi.Input[int]]:
|
275
275
|
"""
|
276
|
-
The
|
276
|
+
The replicas for the Application Source.
|
277
277
|
"""
|
278
|
-
return pulumi.get(self, "
|
278
|
+
return pulumi.get(self, "replicas")
|
279
279
|
|
280
|
-
@
|
281
|
-
def
|
282
|
-
pulumi.set(self, "
|
280
|
+
@replicas.setter
|
281
|
+
def replicas(self, value: Optional[pulumi.Input[int]]):
|
282
|
+
pulumi.set(self, "replicas", value)
|
283
283
|
|
284
284
|
@property
|
285
285
|
@pulumi.getter(name="runtimeParameterValues")
|
@@ -316,7 +316,7 @@ class ApplicationSource(pulumi.CustomResource):
|
|
316
316
|
files: Optional[Any] = None,
|
317
317
|
folder_path: Optional[pulumi.Input[str]] = None,
|
318
318
|
name: Optional[pulumi.Input[str]] = None,
|
319
|
-
|
319
|
+
replicas: Optional[pulumi.Input[int]] = None,
|
320
320
|
runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSourceRuntimeParameterValueArgs', 'ApplicationSourceRuntimeParameterValueArgsDict']]]]] = None,
|
321
321
|
__props__=None):
|
322
322
|
"""
|
@@ -345,7 +345,7 @@ class ApplicationSource(pulumi.CustomResource):
|
|
345
345
|
:param Any files: The list of tuples, where values in each tuple are the local filesystem path and the path the file should be placed in the Application Source. If list is of strings, then basenames will be used for tuples.
|
346
346
|
:param pulumi.Input[str] folder_path: The path to a folder containing files to build the Application Source. Each file in the folder is uploaded under path relative to a folder path.
|
347
347
|
:param pulumi.Input[str] name: The name of the Application Source.
|
348
|
-
:param pulumi.Input[
|
348
|
+
:param pulumi.Input[int] replicas: The replicas for the Application Source.
|
349
349
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSourceRuntimeParameterValueArgs', 'ApplicationSourceRuntimeParameterValueArgsDict']]]] runtime_parameter_values: The runtime parameter values for the Application Source.
|
350
350
|
"""
|
351
351
|
...
|
@@ -393,7 +393,7 @@ class ApplicationSource(pulumi.CustomResource):
|
|
393
393
|
files: Optional[Any] = None,
|
394
394
|
folder_path: Optional[pulumi.Input[str]] = None,
|
395
395
|
name: Optional[pulumi.Input[str]] = None,
|
396
|
-
|
396
|
+
replicas: Optional[pulumi.Input[int]] = None,
|
397
397
|
runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSourceRuntimeParameterValueArgs', 'ApplicationSourceRuntimeParameterValueArgsDict']]]]] = None,
|
398
398
|
__props__=None):
|
399
399
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -409,7 +409,7 @@ class ApplicationSource(pulumi.CustomResource):
|
|
409
409
|
__props__.__dict__["files"] = files
|
410
410
|
__props__.__dict__["folder_path"] = folder_path
|
411
411
|
__props__.__dict__["name"] = name
|
412
|
-
__props__.__dict__["
|
412
|
+
__props__.__dict__["replicas"] = replicas
|
413
413
|
__props__.__dict__["runtime_parameter_values"] = runtime_parameter_values
|
414
414
|
__props__.__dict__["files_hashes"] = None
|
415
415
|
__props__.__dict__["folder_path_hash"] = None
|
@@ -431,7 +431,7 @@ class ApplicationSource(pulumi.CustomResource):
|
|
431
431
|
folder_path: Optional[pulumi.Input[str]] = None,
|
432
432
|
folder_path_hash: Optional[pulumi.Input[str]] = None,
|
433
433
|
name: Optional[pulumi.Input[str]] = None,
|
434
|
-
|
434
|
+
replicas: Optional[pulumi.Input[int]] = None,
|
435
435
|
runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSourceRuntimeParameterValueArgs', 'ApplicationSourceRuntimeParameterValueArgsDict']]]]] = None,
|
436
436
|
version_id: Optional[pulumi.Input[str]] = None) -> 'ApplicationSource':
|
437
437
|
"""
|
@@ -448,7 +448,7 @@ class ApplicationSource(pulumi.CustomResource):
|
|
448
448
|
:param pulumi.Input[str] folder_path: The path to a folder containing files to build the Application Source. Each file in the folder is uploaded under path relative to a folder path.
|
449
449
|
:param pulumi.Input[str] folder_path_hash: The hash of the folder path contents.
|
450
450
|
:param pulumi.Input[str] name: The name of the Application Source.
|
451
|
-
:param pulumi.Input[
|
451
|
+
:param pulumi.Input[int] replicas: The replicas for the Application Source.
|
452
452
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSourceRuntimeParameterValueArgs', 'ApplicationSourceRuntimeParameterValueArgsDict']]]] runtime_parameter_values: The runtime parameter values for the Application Source.
|
453
453
|
:param pulumi.Input[str] version_id: The version ID of the Application Source.
|
454
454
|
"""
|
@@ -463,7 +463,7 @@ class ApplicationSource(pulumi.CustomResource):
|
|
463
463
|
__props__.__dict__["folder_path"] = folder_path
|
464
464
|
__props__.__dict__["folder_path_hash"] = folder_path_hash
|
465
465
|
__props__.__dict__["name"] = name
|
466
|
-
__props__.__dict__["
|
466
|
+
__props__.__dict__["replicas"] = replicas
|
467
467
|
__props__.__dict__["runtime_parameter_values"] = runtime_parameter_values
|
468
468
|
__props__.__dict__["version_id"] = version_id
|
469
469
|
return ApplicationSource(resource_name, opts=opts, __props__=__props__)
|
@@ -525,12 +525,12 @@ class ApplicationSource(pulumi.CustomResource):
|
|
525
525
|
return pulumi.get(self, "name")
|
526
526
|
|
527
527
|
@property
|
528
|
-
@pulumi.getter
|
529
|
-
def
|
528
|
+
@pulumi.getter
|
529
|
+
def replicas(self) -> pulumi.Output[int]:
|
530
530
|
"""
|
531
|
-
The
|
531
|
+
The replicas for the Application Source.
|
532
532
|
"""
|
533
|
-
return pulumi.get(self, "
|
533
|
+
return pulumi.get(self, "replicas")
|
534
534
|
|
535
535
|
@property
|
536
536
|
@pulumi.getter(name="runtimeParameterValues")
|