published on Saturday, Jun 20, 2026 by Pulumi
published on Saturday, Jun 20, 2026 by Pulumi
Create GradientaiCustomModel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GradientaiCustomModel(name: string, args: GradientaiCustomModelArgs, opts?: CustomResourceOptions);@overload
def GradientaiCustomModel(resource_name: str,
args: GradientaiCustomModelArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GradientaiCustomModel(resource_name: str,
opts: Optional[ResourceOptions] = None,
source_ref: Optional[GradientaiCustomModelSourceRefArgs] = None,
source_type: Optional[str] = None,
accept_terms_and_conditions: Optional[bool] = None,
description: Optional[str] = None,
input_modalities: Optional[Sequence[str]] = None,
license: Optional[str] = None,
name: Optional[str] = None,
output_modalities: Optional[Sequence[str]] = None,
parameters: Optional[str] = None,
preferred_gpu_region: Optional[str] = None,
tags: Optional[Sequence[str]] = None)func NewGradientaiCustomModel(ctx *Context, name string, args GradientaiCustomModelArgs, opts ...ResourceOption) (*GradientaiCustomModel, error)public GradientaiCustomModel(string name, GradientaiCustomModelArgs args, CustomResourceOptions? opts = null)
public GradientaiCustomModel(String name, GradientaiCustomModelArgs args)
public GradientaiCustomModel(String name, GradientaiCustomModelArgs args, CustomResourceOptions options)
type: digitalocean:GradientaiCustomModel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "digitalocean_gradientaicustommodel" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args GradientaiCustomModelArgs
- 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 GradientaiCustomModelArgs
- 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 GradientaiCustomModelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GradientaiCustomModelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GradientaiCustomModelArgs
- 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 gradientaiCustomModelResource = new DigitalOcean.GradientaiCustomModel("gradientaiCustomModelResource", new()
{
SourceRef = new DigitalOcean.Inputs.GradientaiCustomModelSourceRefArgs
{
AccessType = "string",
Bucket = "string",
CommitSha = "string",
HfToken = "string",
Prefix = "string",
Region = "string",
RepoId = "string",
},
SourceType = "string",
AcceptTermsAndConditions = false,
Description = "string",
InputModalities = new[]
{
"string",
},
License = "string",
Name = "string",
OutputModalities = new[]
{
"string",
},
Parameters = "string",
PreferredGpuRegion = "string",
Tags = new[]
{
"string",
},
});
example, err := digitalocean.NewGradientaiCustomModel(ctx, "gradientaiCustomModelResource", &digitalocean.GradientaiCustomModelArgs{
SourceRef: &digitalocean.GradientaiCustomModelSourceRefArgs{
AccessType: pulumi.String("string"),
Bucket: pulumi.String("string"),
CommitSha: pulumi.String("string"),
HfToken: pulumi.String("string"),
Prefix: pulumi.String("string"),
Region: pulumi.String("string"),
RepoId: pulumi.String("string"),
},
SourceType: pulumi.String("string"),
AcceptTermsAndConditions: pulumi.Bool(false),
Description: pulumi.String("string"),
InputModalities: pulumi.StringArray{
pulumi.String("string"),
},
License: pulumi.String("string"),
Name: pulumi.String("string"),
OutputModalities: pulumi.StringArray{
pulumi.String("string"),
},
Parameters: pulumi.String("string"),
PreferredGpuRegion: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
resource "digitalocean_gradientaicustommodel" "gradientaiCustomModelResource" {
source_ref = {
access_type = "string"
bucket = "string"
commit_sha = "string"
hf_token = "string"
prefix = "string"
region = "string"
repo_id = "string"
}
source_type = "string"
accept_terms_and_conditions = false
description = "string"
input_modalities = ["string"]
license = "string"
name = "string"
output_modalities = ["string"]
parameters = "string"
preferred_gpu_region = "string"
tags = ["string"]
}
var gradientaiCustomModelResource = new GradientaiCustomModel("gradientaiCustomModelResource", GradientaiCustomModelArgs.builder()
.sourceRef(GradientaiCustomModelSourceRefArgs.builder()
.accessType("string")
.bucket("string")
.commitSha("string")
.hfToken("string")
.prefix("string")
.region("string")
.repoId("string")
.build())
.sourceType("string")
.acceptTermsAndConditions(false)
.description("string")
.inputModalities("string")
.license("string")
.name("string")
.outputModalities("string")
.parameters("string")
.preferredGpuRegion("string")
.tags("string")
.build());
gradientai_custom_model_resource = digitalocean.GradientaiCustomModel("gradientaiCustomModelResource",
source_ref={
"access_type": "string",
"bucket": "string",
"commit_sha": "string",
"hf_token": "string",
"prefix": "string",
"region": "string",
"repo_id": "string",
},
source_type="string",
accept_terms_and_conditions=False,
description="string",
input_modalities=["string"],
license="string",
name="string",
output_modalities=["string"],
parameters="string",
preferred_gpu_region="string",
tags=["string"])
const gradientaiCustomModelResource = new digitalocean.GradientaiCustomModel("gradientaiCustomModelResource", {
sourceRef: {
accessType: "string",
bucket: "string",
commitSha: "string",
hfToken: "string",
prefix: "string",
region: "string",
repoId: "string",
},
sourceType: "string",
acceptTermsAndConditions: false,
description: "string",
inputModalities: ["string"],
license: "string",
name: "string",
outputModalities: ["string"],
parameters: "string",
preferredGpuRegion: "string",
tags: ["string"],
});
type: digitalocean:GradientaiCustomModel
properties:
acceptTermsAndConditions: false
description: string
inputModalities:
- string
license: string
name: string
outputModalities:
- string
parameters: string
preferredGpuRegion: string
sourceRef:
accessType: string
bucket: string
commitSha: string
hfToken: string
prefix: string
region: string
repoId: string
sourceType: string
tags:
- string
GradientaiCustomModel 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 GradientaiCustomModel resource accepts the following input properties:
- Source
Ref Pulumi.Digital Ocean. Inputs. Gradientai Custom Model Source Ref - Reference to the source from which to import the custom model.
- Source
Type string - Source of the model to import. One of SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET, SOURCE_TYPE_SDK_UPLOAD, SOURCE_TYPE_FINE_TUNING.
- Accept
Terms boolAnd Conditions - Whether the caller accepts the model provider's terms and conditions. Write-only.
- Description string
- Description of the custom model.
- Input
Modalities List<string> - Input modalities supported by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- License string
- License of the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- Name string
- A human-readable name for the custom model.
- Output
Modalities List<string> - Output modalities produced by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- Parameters string
- Parameter-count summary for the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- Preferred
Gpu stringRegion - Preferred GPU region where the model artifacts should be staged.
- List<string>
- User-defined tags associated with the custom model.
- Source
Ref GradientaiCustom Model Source Ref Args - Reference to the source from which to import the custom model.
- Source
Type string - Source of the model to import. One of SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET, SOURCE_TYPE_SDK_UPLOAD, SOURCE_TYPE_FINE_TUNING.
- Accept
Terms boolAnd Conditions - Whether the caller accepts the model provider's terms and conditions. Write-only.
- Description string
- Description of the custom model.
- Input
Modalities []string - Input modalities supported by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- License string
- License of the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- Name string
- A human-readable name for the custom model.
- Output
Modalities []string - Output modalities produced by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- Parameters string
- Parameter-count summary for the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- Preferred
Gpu stringRegion - Preferred GPU region where the model artifacts should be staged.
- []string
- User-defined tags associated with the custom model.
- source_
ref object - Reference to the source from which to import the custom model.
- source_
type string - Source of the model to import. One of SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET, SOURCE_TYPE_SDK_UPLOAD, SOURCE_TYPE_FINE_TUNING.
- accept_
terms_ booland_ conditions - Whether the caller accepts the model provider's terms and conditions. Write-only.
- description string
- Description of the custom model.
- input_
modalities list(string) - Input modalities supported by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- license string
- License of the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- name string
- A human-readable name for the custom model.
- output_
modalities list(string) - Output modalities produced by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- parameters string
- Parameter-count summary for the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- preferred_
gpu_ stringregion - Preferred GPU region where the model artifacts should be staged.
- list(string)
- User-defined tags associated with the custom model.
- source
Ref GradientaiCustom Model Source Ref - Reference to the source from which to import the custom model.
- source
Type String - Source of the model to import. One of SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET, SOURCE_TYPE_SDK_UPLOAD, SOURCE_TYPE_FINE_TUNING.
- accept
Terms BooleanAnd Conditions - Whether the caller accepts the model provider's terms and conditions. Write-only.
- description String
- Description of the custom model.
- input
Modalities List<String> - Input modalities supported by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- license String
- License of the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- name String
- A human-readable name for the custom model.
- output
Modalities List<String> - Output modalities produced by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- parameters String
- Parameter-count summary for the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- preferred
Gpu StringRegion - Preferred GPU region where the model artifacts should be staged.
- List<String>
- User-defined tags associated with the custom model.
- source
Ref GradientaiCustom Model Source Ref - Reference to the source from which to import the custom model.
- source
Type string - Source of the model to import. One of SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET, SOURCE_TYPE_SDK_UPLOAD, SOURCE_TYPE_FINE_TUNING.
- accept
Terms booleanAnd Conditions - Whether the caller accepts the model provider's terms and conditions. Write-only.
- description string
- Description of the custom model.
- input
Modalities string[] - Input modalities supported by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- license string
- License of the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- name string
- A human-readable name for the custom model.
- output
Modalities string[] - Output modalities produced by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- parameters string
- Parameter-count summary for the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- preferred
Gpu stringRegion - Preferred GPU region where the model artifacts should be staged.
- string[]
- User-defined tags associated with the custom model.
- source_
ref GradientaiCustom Model Source Ref Args - Reference to the source from which to import the custom model.
- source_
type str - Source of the model to import. One of SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET, SOURCE_TYPE_SDK_UPLOAD, SOURCE_TYPE_FINE_TUNING.
- accept_
terms_ booland_ conditions - Whether the caller accepts the model provider's terms and conditions. Write-only.
- description str
- Description of the custom model.
- input_
modalities Sequence[str] - Input modalities supported by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- license str
- License of the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- name str
- A human-readable name for the custom model.
- output_
modalities Sequence[str] - Output modalities produced by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- parameters str
- Parameter-count summary for the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- preferred_
gpu_ strregion - Preferred GPU region where the model artifacts should be staged.
- Sequence[str]
- User-defined tags associated with the custom model.
- source
Ref Property Map - Reference to the source from which to import the custom model.
- source
Type String - Source of the model to import. One of SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET, SOURCE_TYPE_SDK_UPLOAD, SOURCE_TYPE_FINE_TUNING.
- accept
Terms BooleanAnd Conditions - Whether the caller accepts the model provider's terms and conditions. Write-only.
- description String
- Description of the custom model.
- input
Modalities List<String> - Input modalities supported by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- license String
- License of the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- name String
- A human-readable name for the custom model.
- output
Modalities List<String> - Output modalities produced by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- parameters String
- Parameter-count summary for the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- preferred
Gpu StringRegion - Preferred GPU region where the model artifacts should be staged.
- List<String>
- User-defined tags associated with the custom model.
Outputs
All input properties are implicitly available as output properties. Additionally, the GradientaiCustomModel resource produces the following output properties:
- Active
Deployments List<Pulumi.Digital Ocean. Outputs. Gradientai Custom Model Active Deployment> - Active dedicated inference deployments referencing this custom model.
- Architecture string
- Model architecture as reported by the importer.
- Context
Length int - Maximum context length supported by the model.
- Cost
Estimate intPer Month - Estimated monthly cost of running the custom model.
- Created
At string - Timestamp when the custom model was created.
- File
Count int - Number of files that make up the imported model.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Current status of the custom model.
- Storage
Region string - Region where the custom model artifacts are stored.
- Team
Id string - ID of the team that owns the custom model.
- Total
Size stringBytes - Total size of the imported model artifacts in bytes.
- Updated
At string - Timestamp when the custom model was last updated.
- Uuid string
- UUID of the custom model.
- Active
Deployments []GradientaiCustom Model Active Deployment - Active dedicated inference deployments referencing this custom model.
- Architecture string
- Model architecture as reported by the importer.
- Context
Length int - Maximum context length supported by the model.
- Cost
Estimate intPer Month - Estimated monthly cost of running the custom model.
- Created
At string - Timestamp when the custom model was created.
- File
Count int - Number of files that make up the imported model.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Current status of the custom model.
- Storage
Region string - Region where the custom model artifacts are stored.
- Team
Id string - ID of the team that owns the custom model.
- Total
Size stringBytes - Total size of the imported model artifacts in bytes.
- Updated
At string - Timestamp when the custom model was last updated.
- Uuid string
- UUID of the custom model.
- active_
deployments list(object) - Active dedicated inference deployments referencing this custom model.
- architecture string
- Model architecture as reported by the importer.
- context_
length number - Maximum context length supported by the model.
- cost_
estimate_ numberper_ month - Estimated monthly cost of running the custom model.
- created_
at string - Timestamp when the custom model was created.
- file_
count number - Number of files that make up the imported model.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Current status of the custom model.
- storage_
region string - Region where the custom model artifacts are stored.
- team_
id string - ID of the team that owns the custom model.
- total_
size_ stringbytes - Total size of the imported model artifacts in bytes.
- updated_
at string - Timestamp when the custom model was last updated.
- uuid string
- UUID of the custom model.
- active
Deployments List<GradientaiCustom Model Active Deployment> - Active dedicated inference deployments referencing this custom model.
- architecture String
- Model architecture as reported by the importer.
- context
Length Integer - Maximum context length supported by the model.
- cost
Estimate IntegerPer Month - Estimated monthly cost of running the custom model.
- created
At String - Timestamp when the custom model was created.
- file
Count Integer - Number of files that make up the imported model.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Current status of the custom model.
- storage
Region String - Region where the custom model artifacts are stored.
- team
Id String - ID of the team that owns the custom model.
- total
Size StringBytes - Total size of the imported model artifacts in bytes.
- updated
At String - Timestamp when the custom model was last updated.
- uuid String
- UUID of the custom model.
- active
Deployments GradientaiCustom Model Active Deployment[] - Active dedicated inference deployments referencing this custom model.
- architecture string
- Model architecture as reported by the importer.
- context
Length number - Maximum context length supported by the model.
- cost
Estimate numberPer Month - Estimated monthly cost of running the custom model.
- created
At string - Timestamp when the custom model was created.
- file
Count number - Number of files that make up the imported model.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Current status of the custom model.
- storage
Region string - Region where the custom model artifacts are stored.
- team
Id string - ID of the team that owns the custom model.
- total
Size stringBytes - Total size of the imported model artifacts in bytes.
- updated
At string - Timestamp when the custom model was last updated.
- uuid string
- UUID of the custom model.
- active_
deployments Sequence[GradientaiCustom Model Active Deployment] - Active dedicated inference deployments referencing this custom model.
- architecture str
- Model architecture as reported by the importer.
- context_
length int - Maximum context length supported by the model.
- cost_
estimate_ intper_ month - Estimated monthly cost of running the custom model.
- created_
at str - Timestamp when the custom model was created.
- file_
count int - Number of files that make up the imported model.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- Current status of the custom model.
- storage_
region str - Region where the custom model artifacts are stored.
- team_
id str - ID of the team that owns the custom model.
- total_
size_ strbytes - Total size of the imported model artifacts in bytes.
- updated_
at str - Timestamp when the custom model was last updated.
- uuid str
- UUID of the custom model.
- active
Deployments List<Property Map> - Active dedicated inference deployments referencing this custom model.
- architecture String
- Model architecture as reported by the importer.
- context
Length Number - Maximum context length supported by the model.
- cost
Estimate NumberPer Month - Estimated monthly cost of running the custom model.
- created
At String - Timestamp when the custom model was created.
- file
Count Number - Number of files that make up the imported model.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Current status of the custom model.
- storage
Region String - Region where the custom model artifacts are stored.
- team
Id String - ID of the team that owns the custom model.
- total
Size StringBytes - Total size of the imported model artifacts in bytes.
- updated
At String - Timestamp when the custom model was last updated.
- uuid String
- UUID of the custom model.
Look up Existing GradientaiCustomModel Resource
Get an existing GradientaiCustomModel 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?: GradientaiCustomModelState, opts?: CustomResourceOptions): GradientaiCustomModel@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
accept_terms_and_conditions: Optional[bool] = None,
active_deployments: Optional[Sequence[GradientaiCustomModelActiveDeploymentArgs]] = None,
architecture: Optional[str] = None,
context_length: Optional[int] = None,
cost_estimate_per_month: Optional[int] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
file_count: Optional[int] = None,
input_modalities: Optional[Sequence[str]] = None,
license: Optional[str] = None,
name: Optional[str] = None,
output_modalities: Optional[Sequence[str]] = None,
parameters: Optional[str] = None,
preferred_gpu_region: Optional[str] = None,
source_ref: Optional[GradientaiCustomModelSourceRefArgs] = None,
source_type: Optional[str] = None,
status: Optional[str] = None,
storage_region: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
team_id: Optional[str] = None,
total_size_bytes: Optional[str] = None,
updated_at: Optional[str] = None,
uuid: Optional[str] = None) -> GradientaiCustomModelfunc GetGradientaiCustomModel(ctx *Context, name string, id IDInput, state *GradientaiCustomModelState, opts ...ResourceOption) (*GradientaiCustomModel, error)public static GradientaiCustomModel Get(string name, Input<string> id, GradientaiCustomModelState? state, CustomResourceOptions? opts = null)public static GradientaiCustomModel get(String name, Output<String> id, GradientaiCustomModelState state, CustomResourceOptions options)resources: _: type: digitalocean:GradientaiCustomModel get: id: ${id}import {
to = digitalocean_gradientaicustommodel.example
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.
- Accept
Terms boolAnd Conditions - Whether the caller accepts the model provider's terms and conditions. Write-only.
- Active
Deployments List<Pulumi.Digital Ocean. Inputs. Gradientai Custom Model Active Deployment> - Active dedicated inference deployments referencing this custom model.
- Architecture string
- Model architecture as reported by the importer.
- Context
Length int - Maximum context length supported by the model.
- Cost
Estimate intPer Month - Estimated monthly cost of running the custom model.
- Created
At string - Timestamp when the custom model was created.
- Description string
- Description of the custom model.
- File
Count int - Number of files that make up the imported model.
- Input
Modalities List<string> - Input modalities supported by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- License string
- License of the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- Name string
- A human-readable name for the custom model.
- Output
Modalities List<string> - Output modalities produced by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- Parameters string
- Parameter-count summary for the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- Preferred
Gpu stringRegion - Preferred GPU region where the model artifacts should be staged.
- Source
Ref Pulumi.Digital Ocean. Inputs. Gradientai Custom Model Source Ref - Reference to the source from which to import the custom model.
- Source
Type string - Source of the model to import. One of SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET, SOURCE_TYPE_SDK_UPLOAD, SOURCE_TYPE_FINE_TUNING.
- Status string
- Current status of the custom model.
- Storage
Region string - Region where the custom model artifacts are stored.
- List<string>
- User-defined tags associated with the custom model.
- Team
Id string - ID of the team that owns the custom model.
- Total
Size stringBytes - Total size of the imported model artifacts in bytes.
- Updated
At string - Timestamp when the custom model was last updated.
- Uuid string
- UUID of the custom model.
- Accept
Terms boolAnd Conditions - Whether the caller accepts the model provider's terms and conditions. Write-only.
- Active
Deployments []GradientaiCustom Model Active Deployment Args - Active dedicated inference deployments referencing this custom model.
- Architecture string
- Model architecture as reported by the importer.
- Context
Length int - Maximum context length supported by the model.
- Cost
Estimate intPer Month - Estimated monthly cost of running the custom model.
- Created
At string - Timestamp when the custom model was created.
- Description string
- Description of the custom model.
- File
Count int - Number of files that make up the imported model.
- Input
Modalities []string - Input modalities supported by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- License string
- License of the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- Name string
- A human-readable name for the custom model.
- Output
Modalities []string - Output modalities produced by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- Parameters string
- Parameter-count summary for the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- Preferred
Gpu stringRegion - Preferred GPU region where the model artifacts should be staged.
- Source
Ref GradientaiCustom Model Source Ref Args - Reference to the source from which to import the custom model.
- Source
Type string - Source of the model to import. One of SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET, SOURCE_TYPE_SDK_UPLOAD, SOURCE_TYPE_FINE_TUNING.
- Status string
- Current status of the custom model.
- Storage
Region string - Region where the custom model artifacts are stored.
- []string
- User-defined tags associated with the custom model.
- Team
Id string - ID of the team that owns the custom model.
- Total
Size stringBytes - Total size of the imported model artifacts in bytes.
- Updated
At string - Timestamp when the custom model was last updated.
- Uuid string
- UUID of the custom model.
- accept_
terms_ booland_ conditions - Whether the caller accepts the model provider's terms and conditions. Write-only.
- active_
deployments list(object) - Active dedicated inference deployments referencing this custom model.
- architecture string
- Model architecture as reported by the importer.
- context_
length number - Maximum context length supported by the model.
- cost_
estimate_ numberper_ month - Estimated monthly cost of running the custom model.
- created_
at string - Timestamp when the custom model was created.
- description string
- Description of the custom model.
- file_
count number - Number of files that make up the imported model.
- input_
modalities list(string) - Input modalities supported by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- license string
- License of the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- name string
- A human-readable name for the custom model.
- output_
modalities list(string) - Output modalities produced by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- parameters string
- Parameter-count summary for the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- preferred_
gpu_ stringregion - Preferred GPU region where the model artifacts should be staged.
- source_
ref object - Reference to the source from which to import the custom model.
- source_
type string - Source of the model to import. One of SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET, SOURCE_TYPE_SDK_UPLOAD, SOURCE_TYPE_FINE_TUNING.
- status string
- Current status of the custom model.
- storage_
region string - Region where the custom model artifacts are stored.
- list(string)
- User-defined tags associated with the custom model.
- team_
id string - ID of the team that owns the custom model.
- total_
size_ stringbytes - Total size of the imported model artifacts in bytes.
- updated_
at string - Timestamp when the custom model was last updated.
- uuid string
- UUID of the custom model.
- accept
Terms BooleanAnd Conditions - Whether the caller accepts the model provider's terms and conditions. Write-only.
- active
Deployments List<GradientaiCustom Model Active Deployment> - Active dedicated inference deployments referencing this custom model.
- architecture String
- Model architecture as reported by the importer.
- context
Length Integer - Maximum context length supported by the model.
- cost
Estimate IntegerPer Month - Estimated monthly cost of running the custom model.
- created
At String - Timestamp when the custom model was created.
- description String
- Description of the custom model.
- file
Count Integer - Number of files that make up the imported model.
- input
Modalities List<String> - Input modalities supported by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- license String
- License of the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- name String
- A human-readable name for the custom model.
- output
Modalities List<String> - Output modalities produced by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- parameters String
- Parameter-count summary for the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- preferred
Gpu StringRegion - Preferred GPU region where the model artifacts should be staged.
- source
Ref GradientaiCustom Model Source Ref - Reference to the source from which to import the custom model.
- source
Type String - Source of the model to import. One of SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET, SOURCE_TYPE_SDK_UPLOAD, SOURCE_TYPE_FINE_TUNING.
- status String
- Current status of the custom model.
- storage
Region String - Region where the custom model artifacts are stored.
- List<String>
- User-defined tags associated with the custom model.
- team
Id String - ID of the team that owns the custom model.
- total
Size StringBytes - Total size of the imported model artifacts in bytes.
- updated
At String - Timestamp when the custom model was last updated.
- uuid String
- UUID of the custom model.
- accept
Terms booleanAnd Conditions - Whether the caller accepts the model provider's terms and conditions. Write-only.
- active
Deployments GradientaiCustom Model Active Deployment[] - Active dedicated inference deployments referencing this custom model.
- architecture string
- Model architecture as reported by the importer.
- context
Length number - Maximum context length supported by the model.
- cost
Estimate numberPer Month - Estimated monthly cost of running the custom model.
- created
At string - Timestamp when the custom model was created.
- description string
- Description of the custom model.
- file
Count number - Number of files that make up the imported model.
- input
Modalities string[] - Input modalities supported by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- license string
- License of the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- name string
- A human-readable name for the custom model.
- output
Modalities string[] - Output modalities produced by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- parameters string
- Parameter-count summary for the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- preferred
Gpu stringRegion - Preferred GPU region where the model artifacts should be staged.
- source
Ref GradientaiCustom Model Source Ref - Reference to the source from which to import the custom model.
- source
Type string - Source of the model to import. One of SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET, SOURCE_TYPE_SDK_UPLOAD, SOURCE_TYPE_FINE_TUNING.
- status string
- Current status of the custom model.
- storage
Region string - Region where the custom model artifacts are stored.
- string[]
- User-defined tags associated with the custom model.
- team
Id string - ID of the team that owns the custom model.
- total
Size stringBytes - Total size of the imported model artifacts in bytes.
- updated
At string - Timestamp when the custom model was last updated.
- uuid string
- UUID of the custom model.
- accept_
terms_ booland_ conditions - Whether the caller accepts the model provider's terms and conditions. Write-only.
- active_
deployments Sequence[GradientaiCustom Model Active Deployment Args] - Active dedicated inference deployments referencing this custom model.
- architecture str
- Model architecture as reported by the importer.
- context_
length int - Maximum context length supported by the model.
- cost_
estimate_ intper_ month - Estimated monthly cost of running the custom model.
- created_
at str - Timestamp when the custom model was created.
- description str
- Description of the custom model.
- file_
count int - Number of files that make up the imported model.
- input_
modalities Sequence[str] - Input modalities supported by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- license str
- License of the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- name str
- A human-readable name for the custom model.
- output_
modalities Sequence[str] - Output modalities produced by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- parameters str
- Parameter-count summary for the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- preferred_
gpu_ strregion - Preferred GPU region where the model artifacts should be staged.
- source_
ref GradientaiCustom Model Source Ref Args - Reference to the source from which to import the custom model.
- source_
type str - Source of the model to import. One of SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET, SOURCE_TYPE_SDK_UPLOAD, SOURCE_TYPE_FINE_TUNING.
- status str
- Current status of the custom model.
- storage_
region str - Region where the custom model artifacts are stored.
- Sequence[str]
- User-defined tags associated with the custom model.
- team_
id str - ID of the team that owns the custom model.
- total_
size_ strbytes - Total size of the imported model artifacts in bytes.
- updated_
at str - Timestamp when the custom model was last updated.
- uuid str
- UUID of the custom model.
- accept
Terms BooleanAnd Conditions - Whether the caller accepts the model provider's terms and conditions. Write-only.
- active
Deployments List<Property Map> - Active dedicated inference deployments referencing this custom model.
- architecture String
- Model architecture as reported by the importer.
- context
Length Number - Maximum context length supported by the model.
- cost
Estimate NumberPer Month - Estimated monthly cost of running the custom model.
- created
At String - Timestamp when the custom model was created.
- description String
- Description of the custom model.
- file
Count Number - Number of files that make up the imported model.
- input
Modalities List<String> - Input modalities supported by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- license String
- License of the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- name String
- A human-readable name for the custom model.
- output
Modalities List<String> - Output modalities produced by the model. Defaults to the values reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- parameters String
- Parameter-count summary for the model. Defaults to the value reported by the importer. Caller-supplied overrides are honored only for SOURCE_TYPE_SPACES_BUCKET imports.
- preferred
Gpu StringRegion - Preferred GPU region where the model artifacts should be staged.
- source
Ref Property Map - Reference to the source from which to import the custom model.
- source
Type String - Source of the model to import. One of SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET, SOURCE_TYPE_SDK_UPLOAD, SOURCE_TYPE_FINE_TUNING.
- status String
- Current status of the custom model.
- storage
Region String - Region where the custom model artifacts are stored.
- List<String>
- User-defined tags associated with the custom model.
- team
Id String - ID of the team that owns the custom model.
- total
Size StringBytes - Total size of the imported model artifacts in bytes.
- updated
At String - Timestamp when the custom model was last updated.
- uuid String
- UUID of the custom model.
Supporting Types
GradientaiCustomModelActiveDeployment, GradientaiCustomModelActiveDeploymentArgs
- Created
At string - Timestamp when the deployment was created.
- Endpoints
List<Pulumi.
Digital Ocean. Inputs. Gradientai Custom Model Active Deployment Endpoint> - Endpoint URLs exposed by the deployment.
- Id string
- ID of the dedicated inference deployment.
- Name string
- Name of the dedicated inference deployment.
- Region
Slug string - Region slug of the dedicated inference deployment.
- State string
- Current state of the deployment.
- Updated
At string - Timestamp when the deployment was last updated.
- Created
At string - Timestamp when the deployment was created.
- Endpoints
[]Gradientai
Custom Model Active Deployment Endpoint - Endpoint URLs exposed by the deployment.
- Id string
- ID of the dedicated inference deployment.
- Name string
- Name of the dedicated inference deployment.
- Region
Slug string - Region slug of the dedicated inference deployment.
- State string
- Current state of the deployment.
- Updated
At string - Timestamp when the deployment was last updated.
- created_
at string - Timestamp when the deployment was created.
- endpoints list(object)
- Endpoint URLs exposed by the deployment.
- id string
- ID of the dedicated inference deployment.
- name string
- Name of the dedicated inference deployment.
- region_
slug string - Region slug of the dedicated inference deployment.
- state string
- Current state of the deployment.
- updated_
at string - Timestamp when the deployment was last updated.
- created
At String - Timestamp when the deployment was created.
- endpoints
List<Gradientai
Custom Model Active Deployment Endpoint> - Endpoint URLs exposed by the deployment.
- id String
- ID of the dedicated inference deployment.
- name String
- Name of the dedicated inference deployment.
- region
Slug String - Region slug of the dedicated inference deployment.
- state String
- Current state of the deployment.
- updated
At String - Timestamp when the deployment was last updated.
- created
At string - Timestamp when the deployment was created.
- endpoints
Gradientai
Custom Model Active Deployment Endpoint[] - Endpoint URLs exposed by the deployment.
- id string
- ID of the dedicated inference deployment.
- name string
- Name of the dedicated inference deployment.
- region
Slug string - Region slug of the dedicated inference deployment.
- state string
- Current state of the deployment.
- updated
At string - Timestamp when the deployment was last updated.
- created_
at str - Timestamp when the deployment was created.
- endpoints
Sequence[Gradientai
Custom Model Active Deployment Endpoint] - Endpoint URLs exposed by the deployment.
- id str
- ID of the dedicated inference deployment.
- name str
- Name of the dedicated inference deployment.
- region_
slug str - Region slug of the dedicated inference deployment.
- state str
- Current state of the deployment.
- updated_
at str - Timestamp when the deployment was last updated.
- created
At String - Timestamp when the deployment was created.
- endpoints List<Property Map>
- Endpoint URLs exposed by the deployment.
- id String
- ID of the dedicated inference deployment.
- name String
- Name of the dedicated inference deployment.
- region
Slug String - Region slug of the dedicated inference deployment.
- state String
- Current state of the deployment.
- updated
At String - Timestamp when the deployment was last updated.
GradientaiCustomModelActiveDeploymentEndpoint, GradientaiCustomModelActiveDeploymentEndpointArgs
- Private
Endpoint stringFqdn - Private endpoint FQDN.
- Public
Endpoint stringFqdn - Public endpoint FQDN, if enabled.
- Private
Endpoint stringFqdn - Private endpoint FQDN.
- Public
Endpoint stringFqdn - Public endpoint FQDN, if enabled.
- private_
endpoint_ stringfqdn - Private endpoint FQDN.
- public_
endpoint_ stringfqdn - Public endpoint FQDN, if enabled.
- private
Endpoint StringFqdn - Private endpoint FQDN.
- public
Endpoint StringFqdn - Public endpoint FQDN, if enabled.
- private
Endpoint stringFqdn - Private endpoint FQDN.
- public
Endpoint stringFqdn - Public endpoint FQDN, if enabled.
- private_
endpoint_ strfqdn - Private endpoint FQDN.
- public_
endpoint_ strfqdn - Public endpoint FQDN, if enabled.
- private
Endpoint StringFqdn - Private endpoint FQDN.
- public
Endpoint StringFqdn - Public endpoint FQDN, if enabled.
GradientaiCustomModelSourceRef, GradientaiCustomModelSourceRefArgs
- Access
Type string - Access type for the source repository. One of ACCESS_TYPE_PUBLIC, ACCESS_TYPE_PRIVATE, ACCESS_TYPE_GATED.
- Bucket string
- Spaces bucket name for SOURCE_TYPE_SPACES_BUCKET sources.
- Commit
Sha string - Commit SHA to pin for the import. If omitted, the API resolves and returns the SHA actually imported.
- Hf
Token string - HuggingFace token used to access ACCESS_TYPE_PRIVATE or ACCESS_TYPE_GATED repositories. Write-only.
- Prefix string
- Key prefix inside the source bucket.
- Region string
- Region of the source bucket.
- Repo
Id string - Repository identifier (e.g. the HuggingFace repo). Required for SOURCE_TYPE_HUGGINGFACE sources.
- Access
Type string - Access type for the source repository. One of ACCESS_TYPE_PUBLIC, ACCESS_TYPE_PRIVATE, ACCESS_TYPE_GATED.
- Bucket string
- Spaces bucket name for SOURCE_TYPE_SPACES_BUCKET sources.
- Commit
Sha string - Commit SHA to pin for the import. If omitted, the API resolves and returns the SHA actually imported.
- Hf
Token string - HuggingFace token used to access ACCESS_TYPE_PRIVATE or ACCESS_TYPE_GATED repositories. Write-only.
- Prefix string
- Key prefix inside the source bucket.
- Region string
- Region of the source bucket.
- Repo
Id string - Repository identifier (e.g. the HuggingFace repo). Required for SOURCE_TYPE_HUGGINGFACE sources.
- access_
type string - Access type for the source repository. One of ACCESS_TYPE_PUBLIC, ACCESS_TYPE_PRIVATE, ACCESS_TYPE_GATED.
- bucket string
- Spaces bucket name for SOURCE_TYPE_SPACES_BUCKET sources.
- commit_
sha string - Commit SHA to pin for the import. If omitted, the API resolves and returns the SHA actually imported.
- hf_
token string - HuggingFace token used to access ACCESS_TYPE_PRIVATE or ACCESS_TYPE_GATED repositories. Write-only.
- prefix string
- Key prefix inside the source bucket.
- region string
- Region of the source bucket.
- repo_
id string - Repository identifier (e.g. the HuggingFace repo). Required for SOURCE_TYPE_HUGGINGFACE sources.
- access
Type String - Access type for the source repository. One of ACCESS_TYPE_PUBLIC, ACCESS_TYPE_PRIVATE, ACCESS_TYPE_GATED.
- bucket String
- Spaces bucket name for SOURCE_TYPE_SPACES_BUCKET sources.
- commit
Sha String - Commit SHA to pin for the import. If omitted, the API resolves and returns the SHA actually imported.
- hf
Token String - HuggingFace token used to access ACCESS_TYPE_PRIVATE or ACCESS_TYPE_GATED repositories. Write-only.
- prefix String
- Key prefix inside the source bucket.
- region String
- Region of the source bucket.
- repo
Id String - Repository identifier (e.g. the HuggingFace repo). Required for SOURCE_TYPE_HUGGINGFACE sources.
- access
Type string - Access type for the source repository. One of ACCESS_TYPE_PUBLIC, ACCESS_TYPE_PRIVATE, ACCESS_TYPE_GATED.
- bucket string
- Spaces bucket name for SOURCE_TYPE_SPACES_BUCKET sources.
- commit
Sha string - Commit SHA to pin for the import. If omitted, the API resolves and returns the SHA actually imported.
- hf
Token string - HuggingFace token used to access ACCESS_TYPE_PRIVATE or ACCESS_TYPE_GATED repositories. Write-only.
- prefix string
- Key prefix inside the source bucket.
- region string
- Region of the source bucket.
- repo
Id string - Repository identifier (e.g. the HuggingFace repo). Required for SOURCE_TYPE_HUGGINGFACE sources.
- access_
type str - Access type for the source repository. One of ACCESS_TYPE_PUBLIC, ACCESS_TYPE_PRIVATE, ACCESS_TYPE_GATED.
- bucket str
- Spaces bucket name for SOURCE_TYPE_SPACES_BUCKET sources.
- commit_
sha str - Commit SHA to pin for the import. If omitted, the API resolves and returns the SHA actually imported.
- hf_
token str - HuggingFace token used to access ACCESS_TYPE_PRIVATE or ACCESS_TYPE_GATED repositories. Write-only.
- prefix str
- Key prefix inside the source bucket.
- region str
- Region of the source bucket.
- repo_
id str - Repository identifier (e.g. the HuggingFace repo). Required for SOURCE_TYPE_HUGGINGFACE sources.
- access
Type String - Access type for the source repository. One of ACCESS_TYPE_PUBLIC, ACCESS_TYPE_PRIVATE, ACCESS_TYPE_GATED.
- bucket String
- Spaces bucket name for SOURCE_TYPE_SPACES_BUCKET sources.
- commit
Sha String - Commit SHA to pin for the import. If omitted, the API resolves and returns the SHA actually imported.
- hf
Token String - HuggingFace token used to access ACCESS_TYPE_PRIVATE or ACCESS_TYPE_GATED repositories. Write-only.
- prefix String
- Key prefix inside the source bucket.
- region String
- Region of the source bucket.
- repo
Id String - Repository identifier (e.g. the HuggingFace repo). Required for SOURCE_TYPE_HUGGINGFACE sources.
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
digitaloceanTerraform Provider.
published on Saturday, Jun 20, 2026 by Pulumi