datarobot.CustomApplication
Explore with Pulumi AI

Custom Application
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
exampleApplicationSource:
type: datarobot:ApplicationSource
properties:
files:
- - start-app.sh
- - streamlit-app.py
exampleCustomApplication:
type: datarobot:CustomApplication
properties:
sourceVersionId: ${exampleApplicationSource.versionId}
# optional settings
externalAccessEnabled: true
externalAccessRecipients:
- recipient@example.com
allowAutoStopping: false
resources:
- replicas: 2
resourceLabel: cpu.medium
sessionAffinity: true
serviceWebRequestsOnRootPath: false
outputs:
datarobotCustomApplicationId: ${exampleCustomApplication.id}
datarobotCustomApplicationSourceId: ${exampleCustomApplication.sourceId}
datarobotCustomApplicationSourceVersionId: ${exampleCustomApplication.sourceVersionId}
datarobotCustomApplicationUrl: ${exampleCustomApplication.applicationUrl}
Create CustomApplication Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CustomApplication(name: string, args: CustomApplicationArgs, opts?: CustomResourceOptions);
@overload
def CustomApplication(resource_name: str,
args: CustomApplicationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CustomApplication(resource_name: str,
opts: Optional[ResourceOptions] = None,
source_version_id: Optional[str] = None,
allow_auto_stopping: Optional[bool] = None,
external_access_enabled: Optional[bool] = None,
external_access_recipients: Optional[Sequence[str]] = None,
name: Optional[str] = None,
resources: Optional[CustomApplicationResourcesArgs] = None,
use_case_ids: Optional[Sequence[str]] = None)
func NewCustomApplication(ctx *Context, name string, args CustomApplicationArgs, opts ...ResourceOption) (*CustomApplication, error)
public CustomApplication(string name, CustomApplicationArgs args, CustomResourceOptions? opts = null)
public CustomApplication(String name, CustomApplicationArgs args)
public CustomApplication(String name, CustomApplicationArgs args, CustomResourceOptions options)
type: datarobot:CustomApplication
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CustomApplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CustomApplicationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CustomApplicationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CustomApplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CustomApplicationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var customApplicationResource = new Datarobot.CustomApplication("customApplicationResource", new()
{
SourceVersionId = "string",
AllowAutoStopping = false,
ExternalAccessEnabled = false,
ExternalAccessRecipients = new[]
{
"string",
},
Name = "string",
Resources = new Datarobot.Inputs.CustomApplicationResourcesArgs
{
Replicas = 0,
ResourceLabel = "string",
ServiceWebRequestsOnRootPath = false,
SessionAffinity = false,
},
UseCaseIds = new[]
{
"string",
},
});
example, err := datarobot.NewCustomApplication(ctx, "customApplicationResource", &datarobot.CustomApplicationArgs{
SourceVersionId: pulumi.String("string"),
AllowAutoStopping: pulumi.Bool(false),
ExternalAccessEnabled: pulumi.Bool(false),
ExternalAccessRecipients: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
Resources: &datarobot.CustomApplicationResourcesArgs{
Replicas: pulumi.Int(0),
ResourceLabel: pulumi.String("string"),
ServiceWebRequestsOnRootPath: pulumi.Bool(false),
SessionAffinity: pulumi.Bool(false),
},
UseCaseIds: pulumi.StringArray{
pulumi.String("string"),
},
})
var customApplicationResource = new CustomApplication("customApplicationResource", CustomApplicationArgs.builder()
.sourceVersionId("string")
.allowAutoStopping(false)
.externalAccessEnabled(false)
.externalAccessRecipients("string")
.name("string")
.resources(CustomApplicationResourcesArgs.builder()
.replicas(0)
.resourceLabel("string")
.serviceWebRequestsOnRootPath(false)
.sessionAffinity(false)
.build())
.useCaseIds("string")
.build());
custom_application_resource = datarobot.CustomApplication("customApplicationResource",
source_version_id="string",
allow_auto_stopping=False,
external_access_enabled=False,
external_access_recipients=["string"],
name="string",
resources={
"replicas": 0,
"resource_label": "string",
"service_web_requests_on_root_path": False,
"session_affinity": False,
},
use_case_ids=["string"])
const customApplicationResource = new datarobot.CustomApplication("customApplicationResource", {
sourceVersionId: "string",
allowAutoStopping: false,
externalAccessEnabled: false,
externalAccessRecipients: ["string"],
name: "string",
resources: {
replicas: 0,
resourceLabel: "string",
serviceWebRequestsOnRootPath: false,
sessionAffinity: false,
},
useCaseIds: ["string"],
});
type: datarobot:CustomApplication
properties:
allowAutoStopping: false
externalAccessEnabled: false
externalAccessRecipients:
- string
name: string
resources:
replicas: 0
resourceLabel: string
serviceWebRequestsOnRootPath: false
sessionAffinity: false
sourceVersionId: string
useCaseIds:
- string
CustomApplication Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CustomApplication resource accepts the following input properties:
- Source
Version stringId - The version ID of the Custom Application Source.
- Allow
Auto boolStopping - Whether auto stopping is allowed for the Custom Application.
- External
Access boolEnabled - Whether external access is enabled for the Custom Application.
- External
Access List<string>Recipients - The list of external email addresses that have access to the Custom Application.
- Name string
- The name of the Custom Application.
- Resources
Data
Robot Custom Application Resources - The resources for the Custom Application.
- Use
Case List<string>Ids - The list of Use Case IDs to add the Custom Application to.
- Source
Version stringId - The version ID of the Custom Application Source.
- Allow
Auto boolStopping - Whether auto stopping is allowed for the Custom Application.
- External
Access boolEnabled - Whether external access is enabled for the Custom Application.
- External
Access []stringRecipients - The list of external email addresses that have access to the Custom Application.
- Name string
- The name of the Custom Application.
- Resources
Custom
Application Resources Args - The resources for the Custom Application.
- Use
Case []stringIds - The list of Use Case IDs to add the Custom Application to.
- source
Version StringId - The version ID of the Custom Application Source.
- allow
Auto BooleanStopping - Whether auto stopping is allowed for the Custom Application.
- external
Access BooleanEnabled - Whether external access is enabled for the Custom Application.
- external
Access List<String>Recipients - The list of external email addresses that have access to the Custom Application.
- name String
- The name of the Custom Application.
- resources
Custom
Application Resources - The resources for the Custom Application.
- use
Case List<String>Ids - The list of Use Case IDs to add the Custom Application to.
- source
Version stringId - The version ID of the Custom Application Source.
- allow
Auto booleanStopping - Whether auto stopping is allowed for the Custom Application.
- external
Access booleanEnabled - Whether external access is enabled for the Custom Application.
- external
Access string[]Recipients - The list of external email addresses that have access to the Custom Application.
- name string
- The name of the Custom Application.
- resources
Custom
Application Resources - The resources for the Custom Application.
- use
Case string[]Ids - The list of Use Case IDs to add the Custom Application to.
- source_
version_ strid - The version ID of the Custom Application Source.
- allow_
auto_ boolstopping - Whether auto stopping is allowed for the Custom Application.
- external_
access_ boolenabled - Whether external access is enabled for the Custom Application.
- external_
access_ Sequence[str]recipients - The list of external email addresses that have access to the Custom Application.
- name str
- The name of the Custom Application.
- resources
Custom
Application Resources Args - The resources for the Custom Application.
- use_
case_ Sequence[str]ids - The list of Use Case IDs to add the Custom Application to.
- source
Version StringId - The version ID of the Custom Application Source.
- allow
Auto BooleanStopping - Whether auto stopping is allowed for the Custom Application.
- external
Access BooleanEnabled - Whether external access is enabled for the Custom Application.
- external
Access List<String>Recipients - The list of external email addresses that have access to the Custom Application.
- name String
- The name of the Custom Application.
- resources Property Map
- The resources for the Custom Application.
- use
Case List<String>Ids - The list of Use Case IDs to add the Custom Application to.
Outputs
All input properties are implicitly available as output properties. Additionally, the CustomApplication resource produces the following output properties:
- Application
Url string - The URL of the Custom Application.
- Id string
- The provider-assigned unique ID for this managed resource.
- Source
Id string - The ID of the Custom Application Source.
- Application
Url string - The URL of the Custom Application.
- Id string
- The provider-assigned unique ID for this managed resource.
- Source
Id string - The ID of the Custom Application Source.
- application
Url String - The URL of the Custom Application.
- id String
- The provider-assigned unique ID for this managed resource.
- source
Id String - The ID of the Custom Application Source.
- application
Url string - The URL of the Custom Application.
- id string
- The provider-assigned unique ID for this managed resource.
- source
Id string - The ID of the Custom Application Source.
- application_
url str - The URL of the Custom Application.
- id str
- The provider-assigned unique ID for this managed resource.
- source_
id str - The ID of the Custom Application Source.
- application
Url String - The URL of the Custom Application.
- id String
- The provider-assigned unique ID for this managed resource.
- source
Id String - The ID of the Custom Application Source.
Look up Existing CustomApplication Resource
Get an existing CustomApplication resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CustomApplicationState, opts?: CustomResourceOptions): CustomApplication
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allow_auto_stopping: Optional[bool] = None,
application_url: Optional[str] = None,
external_access_enabled: Optional[bool] = None,
external_access_recipients: Optional[Sequence[str]] = None,
name: Optional[str] = None,
resources: Optional[CustomApplicationResourcesArgs] = None,
source_id: Optional[str] = None,
source_version_id: Optional[str] = None,
use_case_ids: Optional[Sequence[str]] = None) -> CustomApplication
func GetCustomApplication(ctx *Context, name string, id IDInput, state *CustomApplicationState, opts ...ResourceOption) (*CustomApplication, error)
public static CustomApplication Get(string name, Input<string> id, CustomApplicationState? state, CustomResourceOptions? opts = null)
public static CustomApplication get(String name, Output<String> id, CustomApplicationState state, CustomResourceOptions options)
resources: _: type: datarobot:CustomApplication get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Allow
Auto boolStopping - Whether auto stopping is allowed for the Custom Application.
- Application
Url string - The URL of the Custom Application.
- External
Access boolEnabled - Whether external access is enabled for the Custom Application.
- External
Access List<string>Recipients - The list of external email addresses that have access to the Custom Application.
- Name string
- The name of the Custom Application.
- Resources
Data
Robot Custom Application Resources - The resources for the Custom Application.
- Source
Id string - The ID of the Custom Application Source.
- Source
Version stringId - The version ID of the Custom Application Source.
- Use
Case List<string>Ids - The list of Use Case IDs to add the Custom Application to.
- Allow
Auto boolStopping - Whether auto stopping is allowed for the Custom Application.
- Application
Url string - The URL of the Custom Application.
- External
Access boolEnabled - Whether external access is enabled for the Custom Application.
- External
Access []stringRecipients - The list of external email addresses that have access to the Custom Application.
- Name string
- The name of the Custom Application.
- Resources
Custom
Application Resources Args - The resources for the Custom Application.
- Source
Id string - The ID of the Custom Application Source.
- Source
Version stringId - The version ID of the Custom Application Source.
- Use
Case []stringIds - The list of Use Case IDs to add the Custom Application to.
- allow
Auto BooleanStopping - Whether auto stopping is allowed for the Custom Application.
- application
Url String - The URL of the Custom Application.
- external
Access BooleanEnabled - Whether external access is enabled for the Custom Application.
- external
Access List<String>Recipients - The list of external email addresses that have access to the Custom Application.
- name String
- The name of the Custom Application.
- resources
Custom
Application Resources - The resources for the Custom Application.
- source
Id String - The ID of the Custom Application Source.
- source
Version StringId - The version ID of the Custom Application Source.
- use
Case List<String>Ids - The list of Use Case IDs to add the Custom Application to.
- allow
Auto booleanStopping - Whether auto stopping is allowed for the Custom Application.
- application
Url string - The URL of the Custom Application.
- external
Access booleanEnabled - Whether external access is enabled for the Custom Application.
- external
Access string[]Recipients - The list of external email addresses that have access to the Custom Application.
- name string
- The name of the Custom Application.
- resources
Custom
Application Resources - The resources for the Custom Application.
- source
Id string - The ID of the Custom Application Source.
- source
Version stringId - The version ID of the Custom Application Source.
- use
Case string[]Ids - The list of Use Case IDs to add the Custom Application to.
- allow_
auto_ boolstopping - Whether auto stopping is allowed for the Custom Application.
- application_
url str - The URL of the Custom Application.
- external_
access_ boolenabled - Whether external access is enabled for the Custom Application.
- external_
access_ Sequence[str]recipients - The list of external email addresses that have access to the Custom Application.
- name str
- The name of the Custom Application.
- resources
Custom
Application Resources Args - The resources for the Custom Application.
- source_
id str - The ID of the Custom Application Source.
- source_
version_ strid - The version ID of the Custom Application Source.
- use_
case_ Sequence[str]ids - The list of Use Case IDs to add the Custom Application to.
- allow
Auto BooleanStopping - Whether auto stopping is allowed for the Custom Application.
- application
Url String - The URL of the Custom Application.
- external
Access BooleanEnabled - Whether external access is enabled for the Custom Application.
- external
Access List<String>Recipients - The list of external email addresses that have access to the Custom Application.
- name String
- The name of the Custom Application.
- resources Property Map
- The resources for the Custom Application.
- source
Id String - The ID of the Custom Application Source.
- source
Version StringId - The version ID of the Custom Application Source.
- use
Case List<String>Ids - The list of Use Case IDs to add the Custom Application to.
Supporting Types
CustomApplicationResources, CustomApplicationResourcesArgs
- Replicas int
- The number of replicas for the Custom Application.
- Resource
Label string - The resource label for the Custom Application.
- Service
Web boolRequests On Root Path - Whether to service web requests on the root path for the Custom Application.
- Session
Affinity bool - Whether session affinity is enabled for the Custom Application.
- Replicas int
- The number of replicas for the Custom Application.
- Resource
Label string - The resource label for the Custom Application.
- Service
Web boolRequests On Root Path - Whether to service web requests on the root path for the Custom Application.
- Session
Affinity bool - Whether session affinity is enabled for the Custom Application.
- replicas Integer
- The number of replicas for the Custom Application.
- resource
Label String - The resource label for the Custom Application.
- service
Web BooleanRequests On Root Path - Whether to service web requests on the root path for the Custom Application.
- session
Affinity Boolean - Whether session affinity is enabled for the Custom Application.
- replicas number
- The number of replicas for the Custom Application.
- resource
Label string - The resource label for the Custom Application.
- service
Web booleanRequests On Root Path - Whether to service web requests on the root path for the Custom Application.
- session
Affinity boolean - Whether session affinity is enabled for the Custom Application.
- replicas int
- The number of replicas for the Custom Application.
- resource_
label str - The resource label for the Custom Application.
- service_
web_ boolrequests_ on_ root_ path - Whether to service web requests on the root path for the Custom Application.
- session_
affinity bool - Whether session affinity is enabled for the Custom Application.
- replicas Number
- The number of replicas for the Custom Application.
- resource
Label String - The resource label for the Custom Application.
- service
Web BooleanRequests On Root Path - Whether to service web requests on the root path for the Custom Application.
- session
Affinity Boolean - Whether session affinity is enabled for the Custom Application.
Package Details
- Repository
- datarobot datarobot-community/pulumi-datarobot
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datarobot
Terraform Provider.
