pulumi-datarobot 0.6.1__tar.gz → 0.7.4__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.6.1 → pulumi_datarobot-0.7.4}/PKG-INFO +1 -1
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/__init__.py +9 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/_inputs.py +103 -10
- pulumi_datarobot-0.7.4/pulumi_datarobot/custom_application_from_environment.py +423 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/deployment.py +83 -28
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/execution_environment.py +72 -20
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/outputs.py +63 -6
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot.egg-info/PKG-INFO +1 -1
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot.egg-info/SOURCES.txt +1 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/setup.py +1 -1
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/README.md +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/_utilities.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/api_token_credential.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/application_source.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/aws_credential.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/basic_credential.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/batch_prediction_job_definition.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/config/__init__.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/config/vars.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/custom_application.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/custom_job.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/custom_metric_from_job.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/custom_metric_job.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/custom_model.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/dataset_from_datasource.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/dataset_from_file.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/dataset_from_url.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/datasource.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/datastore.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/deployment_retraining_policy.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/get_execution_environment.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/get_global_model.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/google_cloud_credential.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/llm_blueprint.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/playground.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/prediction_environment.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/provider.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/pulumi-plugin.json +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/py.typed +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/qa_application.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/registered_model.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/registered_model_from_leaderboard.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/remote_repository.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/use_case.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot/vector_database.py +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot.egg-info/dependency_links.txt +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot.egg-info/not-zip-safe +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot.egg-info/requires.txt +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/pulumi_datarobot.egg-info/top_level.txt +0 -0
- {pulumi_datarobot-0.6.1 → pulumi_datarobot-0.7.4}/setup.cfg +0 -0
@@ -11,6 +11,7 @@ from .aws_credential import *
|
|
11
11
|
from .basic_credential import *
|
12
12
|
from .batch_prediction_job_definition import *
|
13
13
|
from .custom_application import *
|
14
|
+
from .custom_application_from_environment import *
|
14
15
|
from .custom_job import *
|
15
16
|
from .custom_metric_from_job import *
|
16
17
|
from .custom_metric_job import *
|
@@ -97,6 +98,14 @@ _utilities.register(
|
|
97
98
|
"datarobot:index/customApplication:CustomApplication": "CustomApplication"
|
98
99
|
}
|
99
100
|
},
|
101
|
+
{
|
102
|
+
"pkg": "datarobot",
|
103
|
+
"mod": "index/customApplicationFromEnvironment",
|
104
|
+
"fqn": "pulumi_datarobot",
|
105
|
+
"classes": {
|
106
|
+
"datarobot:index/customApplicationFromEnvironment:CustomApplicationFromEnvironment": "CustomApplicationFromEnvironment"
|
107
|
+
}
|
108
|
+
},
|
100
109
|
{
|
101
110
|
"pkg": "datarobot",
|
102
111
|
"mod": "index/customJob",
|
@@ -115,6 +115,8 @@ __all__ = [
|
|
115
115
|
'DeploymentRetrainingPolicyTriggerArgsDict',
|
116
116
|
'DeploymentRetrainingPolicyTriggerScheduleArgs',
|
117
117
|
'DeploymentRetrainingPolicyTriggerScheduleArgsDict',
|
118
|
+
'DeploymentRuntimeParameterValueArgs',
|
119
|
+
'DeploymentRuntimeParameterValueArgsDict',
|
118
120
|
'DeploymentSegmentAnalysisSettingsArgs',
|
119
121
|
'DeploymentSegmentAnalysisSettingsArgsDict',
|
120
122
|
'LlmBlueprintLlmSettingsArgs',
|
@@ -3808,53 +3810,75 @@ class DeploymentPredictionsDataCollectionSettingsArgs:
|
|
3808
3810
|
|
3809
3811
|
if not MYPY:
|
3810
3812
|
class DeploymentPredictionsSettingsArgsDict(TypedDict):
|
3811
|
-
max_computes: pulumi.Input[int]
|
3813
|
+
max_computes: NotRequired[pulumi.Input[int]]
|
3812
3814
|
"""
|
3813
3815
|
The maximum number of computes to use for predictions.
|
3814
3816
|
"""
|
3815
|
-
min_computes: pulumi.Input[int]
|
3817
|
+
min_computes: NotRequired[pulumi.Input[int]]
|
3816
3818
|
"""
|
3817
3819
|
The minimum number of computes to use for predictions.
|
3818
3820
|
"""
|
3821
|
+
resource_bundle_id: NotRequired[pulumi.Input[str]]
|
3822
|
+
"""
|
3823
|
+
The resource bundle ID to use for predictions.
|
3824
|
+
"""
|
3819
3825
|
elif False:
|
3820
3826
|
DeploymentPredictionsSettingsArgsDict: TypeAlias = Mapping[str, Any]
|
3821
3827
|
|
3822
3828
|
@pulumi.input_type
|
3823
3829
|
class DeploymentPredictionsSettingsArgs:
|
3824
3830
|
def __init__(__self__, *,
|
3825
|
-
max_computes: pulumi.Input[int],
|
3826
|
-
min_computes: pulumi.Input[int]
|
3831
|
+
max_computes: Optional[pulumi.Input[int]] = None,
|
3832
|
+
min_computes: Optional[pulumi.Input[int]] = None,
|
3833
|
+
resource_bundle_id: Optional[pulumi.Input[str]] = None):
|
3827
3834
|
"""
|
3828
3835
|
:param pulumi.Input[int] max_computes: The maximum number of computes to use for predictions.
|
3829
3836
|
:param pulumi.Input[int] min_computes: The minimum number of computes to use for predictions.
|
3837
|
+
:param pulumi.Input[str] resource_bundle_id: The resource bundle ID to use for predictions.
|
3830
3838
|
"""
|
3831
|
-
|
3832
|
-
|
3839
|
+
if max_computes is not None:
|
3840
|
+
pulumi.set(__self__, "max_computes", max_computes)
|
3841
|
+
if min_computes is not None:
|
3842
|
+
pulumi.set(__self__, "min_computes", min_computes)
|
3843
|
+
if resource_bundle_id is not None:
|
3844
|
+
pulumi.set(__self__, "resource_bundle_id", resource_bundle_id)
|
3833
3845
|
|
3834
3846
|
@property
|
3835
3847
|
@pulumi.getter(name="maxComputes")
|
3836
|
-
def max_computes(self) -> pulumi.Input[int]:
|
3848
|
+
def max_computes(self) -> Optional[pulumi.Input[int]]:
|
3837
3849
|
"""
|
3838
3850
|
The maximum number of computes to use for predictions.
|
3839
3851
|
"""
|
3840
3852
|
return pulumi.get(self, "max_computes")
|
3841
3853
|
|
3842
3854
|
@max_computes.setter
|
3843
|
-
def max_computes(self, value: pulumi.Input[int]):
|
3855
|
+
def max_computes(self, value: Optional[pulumi.Input[int]]):
|
3844
3856
|
pulumi.set(self, "max_computes", value)
|
3845
3857
|
|
3846
3858
|
@property
|
3847
3859
|
@pulumi.getter(name="minComputes")
|
3848
|
-
def min_computes(self) -> pulumi.Input[int]:
|
3860
|
+
def min_computes(self) -> Optional[pulumi.Input[int]]:
|
3849
3861
|
"""
|
3850
3862
|
The minimum number of computes to use for predictions.
|
3851
3863
|
"""
|
3852
3864
|
return pulumi.get(self, "min_computes")
|
3853
3865
|
|
3854
3866
|
@min_computes.setter
|
3855
|
-
def min_computes(self, value: pulumi.Input[int]):
|
3867
|
+
def min_computes(self, value: Optional[pulumi.Input[int]]):
|
3856
3868
|
pulumi.set(self, "min_computes", value)
|
3857
3869
|
|
3870
|
+
@property
|
3871
|
+
@pulumi.getter(name="resourceBundleId")
|
3872
|
+
def resource_bundle_id(self) -> Optional[pulumi.Input[str]]:
|
3873
|
+
"""
|
3874
|
+
The resource bundle ID to use for predictions.
|
3875
|
+
"""
|
3876
|
+
return pulumi.get(self, "resource_bundle_id")
|
3877
|
+
|
3878
|
+
@resource_bundle_id.setter
|
3879
|
+
def resource_bundle_id(self, value: Optional[pulumi.Input[str]]):
|
3880
|
+
pulumi.set(self, "resource_bundle_id", value)
|
3881
|
+
|
3858
3882
|
|
3859
3883
|
if not MYPY:
|
3860
3884
|
class DeploymentRetrainingPolicyAutopilotOptionsArgsDict(TypedDict):
|
@@ -4521,6 +4545,75 @@ class DeploymentRetrainingPolicyTriggerScheduleArgs:
|
|
4521
4545
|
pulumi.set(self, "months", value)
|
4522
4546
|
|
4523
4547
|
|
4548
|
+
if not MYPY:
|
4549
|
+
class DeploymentRuntimeParameterValueArgsDict(TypedDict):
|
4550
|
+
key: pulumi.Input[str]
|
4551
|
+
"""
|
4552
|
+
The name of the runtime parameter.
|
4553
|
+
"""
|
4554
|
+
type: pulumi.Input[str]
|
4555
|
+
"""
|
4556
|
+
The type of the runtime parameter.
|
4557
|
+
"""
|
4558
|
+
value: pulumi.Input[str]
|
4559
|
+
"""
|
4560
|
+
The value of the runtime parameter (type conversion is handled internally).
|
4561
|
+
"""
|
4562
|
+
elif False:
|
4563
|
+
DeploymentRuntimeParameterValueArgsDict: TypeAlias = Mapping[str, Any]
|
4564
|
+
|
4565
|
+
@pulumi.input_type
|
4566
|
+
class DeploymentRuntimeParameterValueArgs:
|
4567
|
+
def __init__(__self__, *,
|
4568
|
+
key: pulumi.Input[str],
|
4569
|
+
type: pulumi.Input[str],
|
4570
|
+
value: pulumi.Input[str]):
|
4571
|
+
"""
|
4572
|
+
:param pulumi.Input[str] key: The name of the runtime parameter.
|
4573
|
+
:param pulumi.Input[str] type: The type of the runtime parameter.
|
4574
|
+
:param pulumi.Input[str] value: The value of the runtime parameter (type conversion is handled internally).
|
4575
|
+
"""
|
4576
|
+
pulumi.set(__self__, "key", key)
|
4577
|
+
pulumi.set(__self__, "type", type)
|
4578
|
+
pulumi.set(__self__, "value", value)
|
4579
|
+
|
4580
|
+
@property
|
4581
|
+
@pulumi.getter
|
4582
|
+
def key(self) -> pulumi.Input[str]:
|
4583
|
+
"""
|
4584
|
+
The name of the runtime parameter.
|
4585
|
+
"""
|
4586
|
+
return pulumi.get(self, "key")
|
4587
|
+
|
4588
|
+
@key.setter
|
4589
|
+
def key(self, value: pulumi.Input[str]):
|
4590
|
+
pulumi.set(self, "key", value)
|
4591
|
+
|
4592
|
+
@property
|
4593
|
+
@pulumi.getter
|
4594
|
+
def type(self) -> pulumi.Input[str]:
|
4595
|
+
"""
|
4596
|
+
The type of the runtime parameter.
|
4597
|
+
"""
|
4598
|
+
return pulumi.get(self, "type")
|
4599
|
+
|
4600
|
+
@type.setter
|
4601
|
+
def type(self, value: pulumi.Input[str]):
|
4602
|
+
pulumi.set(self, "type", value)
|
4603
|
+
|
4604
|
+
@property
|
4605
|
+
@pulumi.getter
|
4606
|
+
def value(self) -> pulumi.Input[str]:
|
4607
|
+
"""
|
4608
|
+
The value of the runtime parameter (type conversion is handled internally).
|
4609
|
+
"""
|
4610
|
+
return pulumi.get(self, "value")
|
4611
|
+
|
4612
|
+
@value.setter
|
4613
|
+
def value(self, value: pulumi.Input[str]):
|
4614
|
+
pulumi.set(self, "value", value)
|
4615
|
+
|
4616
|
+
|
4524
4617
|
if not MYPY:
|
4525
4618
|
class DeploymentSegmentAnalysisSettingsArgsDict(TypedDict):
|
4526
4619
|
enabled: pulumi.Input[bool]
|
@@ -0,0 +1,423 @@
|
|
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 copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from . import _utilities
|
16
|
+
|
17
|
+
__all__ = ['CustomApplicationFromEnvironmentArgs', 'CustomApplicationFromEnvironment']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class CustomApplicationFromEnvironmentArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
environment_id: pulumi.Input[str],
|
23
|
+
external_access_enabled: Optional[pulumi.Input[bool]] = None,
|
24
|
+
external_access_recipients: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
25
|
+
name: Optional[pulumi.Input[str]] = None,
|
26
|
+
use_case_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
27
|
+
"""
|
28
|
+
The set of arguments for constructing a CustomApplicationFromEnvironment resource.
|
29
|
+
:param pulumi.Input[str] environment_id: The ID of the Execution Environment used to create the Custom Application.
|
30
|
+
:param pulumi.Input[bool] external_access_enabled: Whether external access is enabled for the Custom Application.
|
31
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] external_access_recipients: The list of external email addresses that have access to the Custom Application.
|
32
|
+
:param pulumi.Input[str] name: The name of the Custom Application.
|
33
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] use_case_ids: The list of Use Case IDs to add the Custom Application to.
|
34
|
+
"""
|
35
|
+
pulumi.set(__self__, "environment_id", environment_id)
|
36
|
+
if external_access_enabled is not None:
|
37
|
+
pulumi.set(__self__, "external_access_enabled", external_access_enabled)
|
38
|
+
if external_access_recipients is not None:
|
39
|
+
pulumi.set(__self__, "external_access_recipients", external_access_recipients)
|
40
|
+
if name is not None:
|
41
|
+
pulumi.set(__self__, "name", name)
|
42
|
+
if use_case_ids is not None:
|
43
|
+
pulumi.set(__self__, "use_case_ids", use_case_ids)
|
44
|
+
|
45
|
+
@property
|
46
|
+
@pulumi.getter(name="environmentId")
|
47
|
+
def environment_id(self) -> pulumi.Input[str]:
|
48
|
+
"""
|
49
|
+
The ID of the Execution Environment used to create the Custom Application.
|
50
|
+
"""
|
51
|
+
return pulumi.get(self, "environment_id")
|
52
|
+
|
53
|
+
@environment_id.setter
|
54
|
+
def environment_id(self, value: pulumi.Input[str]):
|
55
|
+
pulumi.set(self, "environment_id", value)
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter(name="externalAccessEnabled")
|
59
|
+
def external_access_enabled(self) -> Optional[pulumi.Input[bool]]:
|
60
|
+
"""
|
61
|
+
Whether external access is enabled for the Custom Application.
|
62
|
+
"""
|
63
|
+
return pulumi.get(self, "external_access_enabled")
|
64
|
+
|
65
|
+
@external_access_enabled.setter
|
66
|
+
def external_access_enabled(self, value: Optional[pulumi.Input[bool]]):
|
67
|
+
pulumi.set(self, "external_access_enabled", value)
|
68
|
+
|
69
|
+
@property
|
70
|
+
@pulumi.getter(name="externalAccessRecipients")
|
71
|
+
def external_access_recipients(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
72
|
+
"""
|
73
|
+
The list of external email addresses that have access to the Custom Application.
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "external_access_recipients")
|
76
|
+
|
77
|
+
@external_access_recipients.setter
|
78
|
+
def external_access_recipients(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
79
|
+
pulumi.set(self, "external_access_recipients", value)
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter
|
83
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
84
|
+
"""
|
85
|
+
The name of the Custom Application.
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "name")
|
88
|
+
|
89
|
+
@name.setter
|
90
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
91
|
+
pulumi.set(self, "name", value)
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter(name="useCaseIds")
|
95
|
+
def use_case_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
96
|
+
"""
|
97
|
+
The list of Use Case IDs to add the Custom Application to.
|
98
|
+
"""
|
99
|
+
return pulumi.get(self, "use_case_ids")
|
100
|
+
|
101
|
+
@use_case_ids.setter
|
102
|
+
def use_case_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
103
|
+
pulumi.set(self, "use_case_ids", value)
|
104
|
+
|
105
|
+
|
106
|
+
@pulumi.input_type
|
107
|
+
class _CustomApplicationFromEnvironmentState:
|
108
|
+
def __init__(__self__, *,
|
109
|
+
application_url: Optional[pulumi.Input[str]] = None,
|
110
|
+
environment_id: Optional[pulumi.Input[str]] = None,
|
111
|
+
environment_version_id: Optional[pulumi.Input[str]] = None,
|
112
|
+
external_access_enabled: Optional[pulumi.Input[bool]] = None,
|
113
|
+
external_access_recipients: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
114
|
+
name: Optional[pulumi.Input[str]] = None,
|
115
|
+
use_case_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
116
|
+
"""
|
117
|
+
Input properties used for looking up and filtering CustomApplicationFromEnvironment resources.
|
118
|
+
:param pulumi.Input[str] application_url: The URL of the Custom Application.
|
119
|
+
:param pulumi.Input[str] environment_id: The ID of the Execution Environment used to create the Custom Application.
|
120
|
+
:param pulumi.Input[str] environment_version_id: The version ID of the Execution Environment used to create the Custom Application.
|
121
|
+
:param pulumi.Input[bool] external_access_enabled: Whether external access is enabled for the Custom Application.
|
122
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] external_access_recipients: The list of external email addresses that have access to the Custom Application.
|
123
|
+
:param pulumi.Input[str] name: The name of the Custom Application.
|
124
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] use_case_ids: The list of Use Case IDs to add the Custom Application to.
|
125
|
+
"""
|
126
|
+
if application_url is not None:
|
127
|
+
pulumi.set(__self__, "application_url", application_url)
|
128
|
+
if environment_id is not None:
|
129
|
+
pulumi.set(__self__, "environment_id", environment_id)
|
130
|
+
if environment_version_id is not None:
|
131
|
+
pulumi.set(__self__, "environment_version_id", environment_version_id)
|
132
|
+
if external_access_enabled is not None:
|
133
|
+
pulumi.set(__self__, "external_access_enabled", external_access_enabled)
|
134
|
+
if external_access_recipients is not None:
|
135
|
+
pulumi.set(__self__, "external_access_recipients", external_access_recipients)
|
136
|
+
if name is not None:
|
137
|
+
pulumi.set(__self__, "name", name)
|
138
|
+
if use_case_ids is not None:
|
139
|
+
pulumi.set(__self__, "use_case_ids", use_case_ids)
|
140
|
+
|
141
|
+
@property
|
142
|
+
@pulumi.getter(name="applicationUrl")
|
143
|
+
def application_url(self) -> Optional[pulumi.Input[str]]:
|
144
|
+
"""
|
145
|
+
The URL of the Custom Application.
|
146
|
+
"""
|
147
|
+
return pulumi.get(self, "application_url")
|
148
|
+
|
149
|
+
@application_url.setter
|
150
|
+
def application_url(self, value: Optional[pulumi.Input[str]]):
|
151
|
+
pulumi.set(self, "application_url", value)
|
152
|
+
|
153
|
+
@property
|
154
|
+
@pulumi.getter(name="environmentId")
|
155
|
+
def environment_id(self) -> Optional[pulumi.Input[str]]:
|
156
|
+
"""
|
157
|
+
The ID of the Execution Environment used to create the Custom Application.
|
158
|
+
"""
|
159
|
+
return pulumi.get(self, "environment_id")
|
160
|
+
|
161
|
+
@environment_id.setter
|
162
|
+
def environment_id(self, value: Optional[pulumi.Input[str]]):
|
163
|
+
pulumi.set(self, "environment_id", value)
|
164
|
+
|
165
|
+
@property
|
166
|
+
@pulumi.getter(name="environmentVersionId")
|
167
|
+
def environment_version_id(self) -> Optional[pulumi.Input[str]]:
|
168
|
+
"""
|
169
|
+
The version ID of the Execution Environment used to create the Custom Application.
|
170
|
+
"""
|
171
|
+
return pulumi.get(self, "environment_version_id")
|
172
|
+
|
173
|
+
@environment_version_id.setter
|
174
|
+
def environment_version_id(self, value: Optional[pulumi.Input[str]]):
|
175
|
+
pulumi.set(self, "environment_version_id", value)
|
176
|
+
|
177
|
+
@property
|
178
|
+
@pulumi.getter(name="externalAccessEnabled")
|
179
|
+
def external_access_enabled(self) -> Optional[pulumi.Input[bool]]:
|
180
|
+
"""
|
181
|
+
Whether external access is enabled for the Custom Application.
|
182
|
+
"""
|
183
|
+
return pulumi.get(self, "external_access_enabled")
|
184
|
+
|
185
|
+
@external_access_enabled.setter
|
186
|
+
def external_access_enabled(self, value: Optional[pulumi.Input[bool]]):
|
187
|
+
pulumi.set(self, "external_access_enabled", value)
|
188
|
+
|
189
|
+
@property
|
190
|
+
@pulumi.getter(name="externalAccessRecipients")
|
191
|
+
def external_access_recipients(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
192
|
+
"""
|
193
|
+
The list of external email addresses that have access to the Custom Application.
|
194
|
+
"""
|
195
|
+
return pulumi.get(self, "external_access_recipients")
|
196
|
+
|
197
|
+
@external_access_recipients.setter
|
198
|
+
def external_access_recipients(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
199
|
+
pulumi.set(self, "external_access_recipients", value)
|
200
|
+
|
201
|
+
@property
|
202
|
+
@pulumi.getter
|
203
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
204
|
+
"""
|
205
|
+
The name of the Custom Application.
|
206
|
+
"""
|
207
|
+
return pulumi.get(self, "name")
|
208
|
+
|
209
|
+
@name.setter
|
210
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
211
|
+
pulumi.set(self, "name", value)
|
212
|
+
|
213
|
+
@property
|
214
|
+
@pulumi.getter(name="useCaseIds")
|
215
|
+
def use_case_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
216
|
+
"""
|
217
|
+
The list of Use Case IDs to add the Custom Application to.
|
218
|
+
"""
|
219
|
+
return pulumi.get(self, "use_case_ids")
|
220
|
+
|
221
|
+
@use_case_ids.setter
|
222
|
+
def use_case_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
223
|
+
pulumi.set(self, "use_case_ids", value)
|
224
|
+
|
225
|
+
|
226
|
+
class CustomApplicationFromEnvironment(pulumi.CustomResource):
|
227
|
+
@overload
|
228
|
+
def __init__(__self__,
|
229
|
+
resource_name: str,
|
230
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
231
|
+
environment_id: Optional[pulumi.Input[str]] = None,
|
232
|
+
external_access_enabled: Optional[pulumi.Input[bool]] = None,
|
233
|
+
external_access_recipients: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
234
|
+
name: Optional[pulumi.Input[str]] = None,
|
235
|
+
use_case_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
236
|
+
__props__=None):
|
237
|
+
"""
|
238
|
+
Custom Application created from an Execution Environment.
|
239
|
+
|
240
|
+
## Example Usage
|
241
|
+
|
242
|
+
```python
|
243
|
+
import pulumi
|
244
|
+
import pulumi_datarobot as datarobot
|
245
|
+
|
246
|
+
example = datarobot.CustomApplicationFromEnvironment("example",
|
247
|
+
environment_id="6542cd582a9d3d51bf4ac71e",
|
248
|
+
external_access_enabled=True,
|
249
|
+
external_access_recipients=["recipient@example.com"])
|
250
|
+
pulumi.export("datarobotCustomApplicationId", example.id)
|
251
|
+
pulumi.export("datarobotCustomApplicationUrl", example.application_url)
|
252
|
+
```
|
253
|
+
|
254
|
+
:param str resource_name: The name of the resource.
|
255
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
256
|
+
:param pulumi.Input[str] environment_id: The ID of the Execution Environment used to create the Custom Application.
|
257
|
+
:param pulumi.Input[bool] external_access_enabled: Whether external access is enabled for the Custom Application.
|
258
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] external_access_recipients: The list of external email addresses that have access to the Custom Application.
|
259
|
+
:param pulumi.Input[str] name: The name of the Custom Application.
|
260
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] use_case_ids: The list of Use Case IDs to add the Custom Application to.
|
261
|
+
"""
|
262
|
+
...
|
263
|
+
@overload
|
264
|
+
def __init__(__self__,
|
265
|
+
resource_name: str,
|
266
|
+
args: CustomApplicationFromEnvironmentArgs,
|
267
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
268
|
+
"""
|
269
|
+
Custom Application created from an Execution Environment.
|
270
|
+
|
271
|
+
## Example Usage
|
272
|
+
|
273
|
+
```python
|
274
|
+
import pulumi
|
275
|
+
import pulumi_datarobot as datarobot
|
276
|
+
|
277
|
+
example = datarobot.CustomApplicationFromEnvironment("example",
|
278
|
+
environment_id="6542cd582a9d3d51bf4ac71e",
|
279
|
+
external_access_enabled=True,
|
280
|
+
external_access_recipients=["recipient@example.com"])
|
281
|
+
pulumi.export("datarobotCustomApplicationId", example.id)
|
282
|
+
pulumi.export("datarobotCustomApplicationUrl", example.application_url)
|
283
|
+
```
|
284
|
+
|
285
|
+
:param str resource_name: The name of the resource.
|
286
|
+
:param CustomApplicationFromEnvironmentArgs args: The arguments to use to populate this resource's properties.
|
287
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
288
|
+
"""
|
289
|
+
...
|
290
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
291
|
+
resource_args, opts = _utilities.get_resource_args_opts(CustomApplicationFromEnvironmentArgs, pulumi.ResourceOptions, *args, **kwargs)
|
292
|
+
if resource_args is not None:
|
293
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
294
|
+
else:
|
295
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
296
|
+
|
297
|
+
def _internal_init(__self__,
|
298
|
+
resource_name: str,
|
299
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
300
|
+
environment_id: Optional[pulumi.Input[str]] = None,
|
301
|
+
external_access_enabled: Optional[pulumi.Input[bool]] = None,
|
302
|
+
external_access_recipients: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
303
|
+
name: Optional[pulumi.Input[str]] = None,
|
304
|
+
use_case_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
305
|
+
__props__=None):
|
306
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
307
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
308
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
309
|
+
if opts.id is None:
|
310
|
+
if __props__ is not None:
|
311
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
312
|
+
__props__ = CustomApplicationFromEnvironmentArgs.__new__(CustomApplicationFromEnvironmentArgs)
|
313
|
+
|
314
|
+
if environment_id is None and not opts.urn:
|
315
|
+
raise TypeError("Missing required property 'environment_id'")
|
316
|
+
__props__.__dict__["environment_id"] = environment_id
|
317
|
+
__props__.__dict__["external_access_enabled"] = external_access_enabled
|
318
|
+
__props__.__dict__["external_access_recipients"] = external_access_recipients
|
319
|
+
__props__.__dict__["name"] = name
|
320
|
+
__props__.__dict__["use_case_ids"] = use_case_ids
|
321
|
+
__props__.__dict__["application_url"] = None
|
322
|
+
__props__.__dict__["environment_version_id"] = None
|
323
|
+
super(CustomApplicationFromEnvironment, __self__).__init__(
|
324
|
+
'datarobot:index/customApplicationFromEnvironment:CustomApplicationFromEnvironment',
|
325
|
+
resource_name,
|
326
|
+
__props__,
|
327
|
+
opts)
|
328
|
+
|
329
|
+
@staticmethod
|
330
|
+
def get(resource_name: str,
|
331
|
+
id: pulumi.Input[str],
|
332
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
333
|
+
application_url: Optional[pulumi.Input[str]] = None,
|
334
|
+
environment_id: Optional[pulumi.Input[str]] = None,
|
335
|
+
environment_version_id: Optional[pulumi.Input[str]] = None,
|
336
|
+
external_access_enabled: Optional[pulumi.Input[bool]] = None,
|
337
|
+
external_access_recipients: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
338
|
+
name: Optional[pulumi.Input[str]] = None,
|
339
|
+
use_case_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'CustomApplicationFromEnvironment':
|
340
|
+
"""
|
341
|
+
Get an existing CustomApplicationFromEnvironment resource's state with the given name, id, and optional extra
|
342
|
+
properties used to qualify the lookup.
|
343
|
+
|
344
|
+
:param str resource_name: The unique name of the resulting resource.
|
345
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
346
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
347
|
+
:param pulumi.Input[str] application_url: The URL of the Custom Application.
|
348
|
+
:param pulumi.Input[str] environment_id: The ID of the Execution Environment used to create the Custom Application.
|
349
|
+
:param pulumi.Input[str] environment_version_id: The version ID of the Execution Environment used to create the Custom Application.
|
350
|
+
:param pulumi.Input[bool] external_access_enabled: Whether external access is enabled for the Custom Application.
|
351
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] external_access_recipients: The list of external email addresses that have access to the Custom Application.
|
352
|
+
:param pulumi.Input[str] name: The name of the Custom Application.
|
353
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] use_case_ids: The list of Use Case IDs to add the Custom Application to.
|
354
|
+
"""
|
355
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
356
|
+
|
357
|
+
__props__ = _CustomApplicationFromEnvironmentState.__new__(_CustomApplicationFromEnvironmentState)
|
358
|
+
|
359
|
+
__props__.__dict__["application_url"] = application_url
|
360
|
+
__props__.__dict__["environment_id"] = environment_id
|
361
|
+
__props__.__dict__["environment_version_id"] = environment_version_id
|
362
|
+
__props__.__dict__["external_access_enabled"] = external_access_enabled
|
363
|
+
__props__.__dict__["external_access_recipients"] = external_access_recipients
|
364
|
+
__props__.__dict__["name"] = name
|
365
|
+
__props__.__dict__["use_case_ids"] = use_case_ids
|
366
|
+
return CustomApplicationFromEnvironment(resource_name, opts=opts, __props__=__props__)
|
367
|
+
|
368
|
+
@property
|
369
|
+
@pulumi.getter(name="applicationUrl")
|
370
|
+
def application_url(self) -> pulumi.Output[str]:
|
371
|
+
"""
|
372
|
+
The URL of the Custom Application.
|
373
|
+
"""
|
374
|
+
return pulumi.get(self, "application_url")
|
375
|
+
|
376
|
+
@property
|
377
|
+
@pulumi.getter(name="environmentId")
|
378
|
+
def environment_id(self) -> pulumi.Output[str]:
|
379
|
+
"""
|
380
|
+
The ID of the Execution Environment used to create the Custom Application.
|
381
|
+
"""
|
382
|
+
return pulumi.get(self, "environment_id")
|
383
|
+
|
384
|
+
@property
|
385
|
+
@pulumi.getter(name="environmentVersionId")
|
386
|
+
def environment_version_id(self) -> pulumi.Output[str]:
|
387
|
+
"""
|
388
|
+
The version ID of the Execution Environment used to create the Custom Application.
|
389
|
+
"""
|
390
|
+
return pulumi.get(self, "environment_version_id")
|
391
|
+
|
392
|
+
@property
|
393
|
+
@pulumi.getter(name="externalAccessEnabled")
|
394
|
+
def external_access_enabled(self) -> pulumi.Output[bool]:
|
395
|
+
"""
|
396
|
+
Whether external access is enabled for the Custom Application.
|
397
|
+
"""
|
398
|
+
return pulumi.get(self, "external_access_enabled")
|
399
|
+
|
400
|
+
@property
|
401
|
+
@pulumi.getter(name="externalAccessRecipients")
|
402
|
+
def external_access_recipients(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
403
|
+
"""
|
404
|
+
The list of external email addresses that have access to the Custom Application.
|
405
|
+
"""
|
406
|
+
return pulumi.get(self, "external_access_recipients")
|
407
|
+
|
408
|
+
@property
|
409
|
+
@pulumi.getter
|
410
|
+
def name(self) -> pulumi.Output[str]:
|
411
|
+
"""
|
412
|
+
The name of the Custom Application.
|
413
|
+
"""
|
414
|
+
return pulumi.get(self, "name")
|
415
|
+
|
416
|
+
@property
|
417
|
+
@pulumi.getter(name="useCaseIds")
|
418
|
+
def use_case_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
419
|
+
"""
|
420
|
+
The list of Use Case IDs to add the Custom Application to.
|
421
|
+
"""
|
422
|
+
return pulumi.get(self, "use_case_ids")
|
423
|
+
|