1. Packages
  2. DataRobot
  3. API Docs
  4. CustomApplication
DataRobot v0.10.8 published on Monday, Jun 23, 2025 by DataRobot, Inc.

datarobot.CustomApplication

Explore with Pulumi AI

datarobot logo
DataRobot v0.10.8 published on Monday, Jun 23, 2025 by DataRobot, Inc.

    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:

    SourceVersionId string
    The version ID of the Custom Application Source.
    AllowAutoStopping bool
    Whether auto stopping is allowed for the Custom Application.
    ExternalAccessEnabled bool
    Whether external access is enabled for the Custom Application.
    ExternalAccessRecipients List<string>
    The list of external email addresses that have access to the Custom Application.
    Name string
    The name of the Custom Application.
    Resources DataRobotCustomApplicationResources
    The resources for the Custom Application.
    UseCaseIds List<string>
    The list of Use Case IDs to add the Custom Application to.
    SourceVersionId string
    The version ID of the Custom Application Source.
    AllowAutoStopping bool
    Whether auto stopping is allowed for the Custom Application.
    ExternalAccessEnabled bool
    Whether external access is enabled for the Custom Application.
    ExternalAccessRecipients []string
    The list of external email addresses that have access to the Custom Application.
    Name string
    The name of the Custom Application.
    Resources CustomApplicationResourcesArgs
    The resources for the Custom Application.
    UseCaseIds []string
    The list of Use Case IDs to add the Custom Application to.
    sourceVersionId String
    The version ID of the Custom Application Source.
    allowAutoStopping Boolean
    Whether auto stopping is allowed for the Custom Application.
    externalAccessEnabled Boolean
    Whether external access is enabled for the Custom Application.
    externalAccessRecipients List<String>
    The list of external email addresses that have access to the Custom Application.
    name String
    The name of the Custom Application.
    resources CustomApplicationResources
    The resources for the Custom Application.
    useCaseIds List<String>
    The list of Use Case IDs to add the Custom Application to.
    sourceVersionId string
    The version ID of the Custom Application Source.
    allowAutoStopping boolean
    Whether auto stopping is allowed for the Custom Application.
    externalAccessEnabled boolean
    Whether external access is enabled for the Custom Application.
    externalAccessRecipients string[]
    The list of external email addresses that have access to the Custom Application.
    name string
    The name of the Custom Application.
    resources CustomApplicationResources
    The resources for the Custom Application.
    useCaseIds string[]
    The list of Use Case IDs to add the Custom Application to.
    source_version_id str
    The version ID of the Custom Application Source.
    allow_auto_stopping bool
    Whether auto stopping is allowed for the Custom Application.
    external_access_enabled bool
    Whether external access is enabled for the Custom Application.
    external_access_recipients Sequence[str]
    The list of external email addresses that have access to the Custom Application.
    name str
    The name of the Custom Application.
    resources CustomApplicationResourcesArgs
    The resources for the Custom Application.
    use_case_ids Sequence[str]
    The list of Use Case IDs to add the Custom Application to.
    sourceVersionId String
    The version ID of the Custom Application Source.
    allowAutoStopping Boolean
    Whether auto stopping is allowed for the Custom Application.
    externalAccessEnabled Boolean
    Whether external access is enabled for the Custom Application.
    externalAccessRecipients List<String>
    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.
    useCaseIds List<String>
    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:

    ApplicationUrl string
    The URL of the Custom Application.
    Id string
    The provider-assigned unique ID for this managed resource.
    SourceId string
    The ID of the Custom Application Source.
    ApplicationUrl string
    The URL of the Custom Application.
    Id string
    The provider-assigned unique ID for this managed resource.
    SourceId string
    The ID of the Custom Application Source.
    applicationUrl String
    The URL of the Custom Application.
    id String
    The provider-assigned unique ID for this managed resource.
    sourceId String
    The ID of the Custom Application Source.
    applicationUrl string
    The URL of the Custom Application.
    id string
    The provider-assigned unique ID for this managed resource.
    sourceId 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.
    applicationUrl String
    The URL of the Custom Application.
    id String
    The provider-assigned unique ID for this managed resource.
    sourceId 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.
    The following state arguments are supported:
    AllowAutoStopping bool
    Whether auto stopping is allowed for the Custom Application.
    ApplicationUrl string
    The URL of the Custom Application.
    ExternalAccessEnabled bool
    Whether external access is enabled for the Custom Application.
    ExternalAccessRecipients List<string>
    The list of external email addresses that have access to the Custom Application.
    Name string
    The name of the Custom Application.
    Resources DataRobotCustomApplicationResources
    The resources for the Custom Application.
    SourceId string
    The ID of the Custom Application Source.
    SourceVersionId string
    The version ID of the Custom Application Source.
    UseCaseIds List<string>
    The list of Use Case IDs to add the Custom Application to.
    AllowAutoStopping bool
    Whether auto stopping is allowed for the Custom Application.
    ApplicationUrl string
    The URL of the Custom Application.
    ExternalAccessEnabled bool
    Whether external access is enabled for the Custom Application.
    ExternalAccessRecipients []string
    The list of external email addresses that have access to the Custom Application.
    Name string
    The name of the Custom Application.
    Resources CustomApplicationResourcesArgs
    The resources for the Custom Application.
    SourceId string
    The ID of the Custom Application Source.
    SourceVersionId string
    The version ID of the Custom Application Source.
    UseCaseIds []string
    The list of Use Case IDs to add the Custom Application to.
    allowAutoStopping Boolean
    Whether auto stopping is allowed for the Custom Application.
    applicationUrl String
    The URL of the Custom Application.
    externalAccessEnabled Boolean
    Whether external access is enabled for the Custom Application.
    externalAccessRecipients List<String>
    The list of external email addresses that have access to the Custom Application.
    name String
    The name of the Custom Application.
    resources CustomApplicationResources
    The resources for the Custom Application.
    sourceId String
    The ID of the Custom Application Source.
    sourceVersionId String
    The version ID of the Custom Application Source.
    useCaseIds List<String>
    The list of Use Case IDs to add the Custom Application to.
    allowAutoStopping boolean
    Whether auto stopping is allowed for the Custom Application.
    applicationUrl string
    The URL of the Custom Application.
    externalAccessEnabled boolean
    Whether external access is enabled for the Custom Application.
    externalAccessRecipients string[]
    The list of external email addresses that have access to the Custom Application.
    name string
    The name of the Custom Application.
    resources CustomApplicationResources
    The resources for the Custom Application.
    sourceId string
    The ID of the Custom Application Source.
    sourceVersionId string
    The version ID of the Custom Application Source.
    useCaseIds string[]
    The list of Use Case IDs to add the Custom Application to.
    allow_auto_stopping bool
    Whether auto stopping is allowed for the Custom Application.
    application_url str
    The URL of the Custom Application.
    external_access_enabled bool
    Whether external access is enabled for the Custom Application.
    external_access_recipients Sequence[str]
    The list of external email addresses that have access to the Custom Application.
    name str
    The name of the Custom Application.
    resources CustomApplicationResourcesArgs
    The resources for the Custom Application.
    source_id str
    The ID of the Custom Application Source.
    source_version_id str
    The version ID of the Custom Application Source.
    use_case_ids Sequence[str]
    The list of Use Case IDs to add the Custom Application to.
    allowAutoStopping Boolean
    Whether auto stopping is allowed for the Custom Application.
    applicationUrl String
    The URL of the Custom Application.
    externalAccessEnabled Boolean
    Whether external access is enabled for the Custom Application.
    externalAccessRecipients List<String>
    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.
    sourceId String
    The ID of the Custom Application Source.
    sourceVersionId String
    The version ID of the Custom Application Source.
    useCaseIds List<String>
    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.
    ResourceLabel string
    The resource label for the Custom Application.
    ServiceWebRequestsOnRootPath bool
    Whether to service web requests on the root path for the Custom Application.
    SessionAffinity bool
    Whether session affinity is enabled for the Custom Application.
    Replicas int
    The number of replicas for the Custom Application.
    ResourceLabel string
    The resource label for the Custom Application.
    ServiceWebRequestsOnRootPath bool
    Whether to service web requests on the root path for the Custom Application.
    SessionAffinity bool
    Whether session affinity is enabled for the Custom Application.
    replicas Integer
    The number of replicas for the Custom Application.
    resourceLabel String
    The resource label for the Custom Application.
    serviceWebRequestsOnRootPath Boolean
    Whether to service web requests on the root path for the Custom Application.
    sessionAffinity Boolean
    Whether session affinity is enabled for the Custom Application.
    replicas number
    The number of replicas for the Custom Application.
    resourceLabel string
    The resource label for the Custom Application.
    serviceWebRequestsOnRootPath boolean
    Whether to service web requests on the root path for the Custom Application.
    sessionAffinity 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_requests_on_root_path bool
    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.
    resourceLabel String
    The resource label for the Custom Application.
    serviceWebRequestsOnRootPath Boolean
    Whether to service web requests on the root path for the Custom Application.
    sessionAffinity 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.
    datarobot logo
    DataRobot v0.10.8 published on Monday, Jun 23, 2025 by DataRobot, Inc.