1. Packages
  2. Packages
  3. DigitalOcean Provider
  4. API Docs
  5. GradientaiCustomModel
Viewing docs for DigitalOcean v4.71.0
published on Saturday, Jun 20, 2026 by Pulumi
digitalocean logo
Viewing docs for DigitalOcean v4.71.0
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:

    SourceRef Pulumi.DigitalOcean.Inputs.GradientaiCustomModelSourceRef
    Reference to the source from which to import the custom model.
    SourceType string
    Source of the model to import. One of SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET, SOURCE_TYPE_SDK_UPLOAD, SOURCE_TYPE_FINE_TUNING.
    AcceptTermsAndConditions bool
    Whether the caller accepts the model provider's terms and conditions. Write-only.
    Description string
    Description of the custom model.
    InputModalities 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.
    OutputModalities 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.
    PreferredGpuRegion string
    Preferred GPU region where the model artifacts should be staged.
    Tags List<string>
    User-defined tags associated with the custom model.
    SourceRef GradientaiCustomModelSourceRefArgs
    Reference to the source from which to import the custom model.
    SourceType string
    Source of the model to import. One of SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET, SOURCE_TYPE_SDK_UPLOAD, SOURCE_TYPE_FINE_TUNING.
    AcceptTermsAndConditions bool
    Whether the caller accepts the model provider's terms and conditions. Write-only.
    Description string
    Description of the custom model.
    InputModalities []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.
    OutputModalities []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.
    PreferredGpuRegion string
    Preferred GPU region where the model artifacts should be staged.
    Tags []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_and_conditions bool
    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_region string
    Preferred GPU region where the model artifacts should be staged.
    tags list(string)
    User-defined tags associated with the custom model.
    sourceRef GradientaiCustomModelSourceRef
    Reference to the source from which to import the custom model.
    sourceType String
    Source of the model to import. One of SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET, SOURCE_TYPE_SDK_UPLOAD, SOURCE_TYPE_FINE_TUNING.
    acceptTermsAndConditions Boolean
    Whether the caller accepts the model provider's terms and conditions. Write-only.
    description String
    Description of the custom model.
    inputModalities 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.
    outputModalities 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.
    preferredGpuRegion String
    Preferred GPU region where the model artifacts should be staged.
    tags List<String>
    User-defined tags associated with the custom model.
    sourceRef GradientaiCustomModelSourceRef
    Reference to the source from which to import the custom model.
    sourceType string
    Source of the model to import. One of SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET, SOURCE_TYPE_SDK_UPLOAD, SOURCE_TYPE_FINE_TUNING.
    acceptTermsAndConditions boolean
    Whether the caller accepts the model provider's terms and conditions. Write-only.
    description string
    Description of the custom model.
    inputModalities 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.
    outputModalities 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.
    preferredGpuRegion string
    Preferred GPU region where the model artifacts should be staged.
    tags string[]
    User-defined tags associated with the custom model.
    source_ref GradientaiCustomModelSourceRefArgs
    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_and_conditions bool
    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_region str
    Preferred GPU region where the model artifacts should be staged.
    tags Sequence[str]
    User-defined tags associated with the custom model.
    sourceRef Property Map
    Reference to the source from which to import the custom model.
    sourceType String
    Source of the model to import. One of SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET, SOURCE_TYPE_SDK_UPLOAD, SOURCE_TYPE_FINE_TUNING.
    acceptTermsAndConditions Boolean
    Whether the caller accepts the model provider's terms and conditions. Write-only.
    description String
    Description of the custom model.
    inputModalities 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.
    outputModalities 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.
    preferredGpuRegion String
    Preferred GPU region where the model artifacts should be staged.
    tags 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:

    ActiveDeployments List<Pulumi.DigitalOcean.Outputs.GradientaiCustomModelActiveDeployment>
    Active dedicated inference deployments referencing this custom model.
    Architecture string
    Model architecture as reported by the importer.
    ContextLength int
    Maximum context length supported by the model.
    CostEstimatePerMonth int
    Estimated monthly cost of running the custom model.
    CreatedAt string
    Timestamp when the custom model was created.
    FileCount 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.
    StorageRegion string
    Region where the custom model artifacts are stored.
    TeamId string
    ID of the team that owns the custom model.
    TotalSizeBytes string
    Total size of the imported model artifacts in bytes.
    UpdatedAt string
    Timestamp when the custom model was last updated.
    Uuid string
    UUID of the custom model.
    ActiveDeployments []GradientaiCustomModelActiveDeployment
    Active dedicated inference deployments referencing this custom model.
    Architecture string
    Model architecture as reported by the importer.
    ContextLength int
    Maximum context length supported by the model.
    CostEstimatePerMonth int
    Estimated monthly cost of running the custom model.
    CreatedAt string
    Timestamp when the custom model was created.
    FileCount 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.
    StorageRegion string
    Region where the custom model artifacts are stored.
    TeamId string
    ID of the team that owns the custom model.
    TotalSizeBytes string
    Total size of the imported model artifacts in bytes.
    UpdatedAt 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_per_month number
    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_bytes string
    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.
    activeDeployments List<GradientaiCustomModelActiveDeployment>
    Active dedicated inference deployments referencing this custom model.
    architecture String
    Model architecture as reported by the importer.
    contextLength Integer
    Maximum context length supported by the model.
    costEstimatePerMonth Integer
    Estimated monthly cost of running the custom model.
    createdAt String
    Timestamp when the custom model was created.
    fileCount 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.
    storageRegion String
    Region where the custom model artifacts are stored.
    teamId String
    ID of the team that owns the custom model.
    totalSizeBytes String
    Total size of the imported model artifacts in bytes.
    updatedAt String
    Timestamp when the custom model was last updated.
    uuid String
    UUID of the custom model.
    activeDeployments GradientaiCustomModelActiveDeployment[]
    Active dedicated inference deployments referencing this custom model.
    architecture string
    Model architecture as reported by the importer.
    contextLength number
    Maximum context length supported by the model.
    costEstimatePerMonth number
    Estimated monthly cost of running the custom model.
    createdAt string
    Timestamp when the custom model was created.
    fileCount 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.
    storageRegion string
    Region where the custom model artifacts are stored.
    teamId string
    ID of the team that owns the custom model.
    totalSizeBytes string
    Total size of the imported model artifacts in bytes.
    updatedAt string
    Timestamp when the custom model was last updated.
    uuid string
    UUID of the custom model.
    active_deployments Sequence[GradientaiCustomModelActiveDeployment]
    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_per_month int
    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_bytes str
    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.
    activeDeployments List<Property Map>
    Active dedicated inference deployments referencing this custom model.
    architecture String
    Model architecture as reported by the importer.
    contextLength Number
    Maximum context length supported by the model.
    costEstimatePerMonth Number
    Estimated monthly cost of running the custom model.
    createdAt String
    Timestamp when the custom model was created.
    fileCount 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.
    storageRegion String
    Region where the custom model artifacts are stored.
    teamId String
    ID of the team that owns the custom model.
    totalSizeBytes String
    Total size of the imported model artifacts in bytes.
    updatedAt 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) -> GradientaiCustomModel
    func 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.
    The following state arguments are supported:
    AcceptTermsAndConditions bool
    Whether the caller accepts the model provider's terms and conditions. Write-only.
    ActiveDeployments List<Pulumi.DigitalOcean.Inputs.GradientaiCustomModelActiveDeployment>
    Active dedicated inference deployments referencing this custom model.
    Architecture string
    Model architecture as reported by the importer.
    ContextLength int
    Maximum context length supported by the model.
    CostEstimatePerMonth int
    Estimated monthly cost of running the custom model.
    CreatedAt string
    Timestamp when the custom model was created.
    Description string
    Description of the custom model.
    FileCount int
    Number of files that make up the imported model.
    InputModalities 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.
    OutputModalities 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.
    PreferredGpuRegion string
    Preferred GPU region where the model artifacts should be staged.
    SourceRef Pulumi.DigitalOcean.Inputs.GradientaiCustomModelSourceRef
    Reference to the source from which to import the custom model.
    SourceType 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.
    StorageRegion string
    Region where the custom model artifacts are stored.
    Tags List<string>
    User-defined tags associated with the custom model.
    TeamId string
    ID of the team that owns the custom model.
    TotalSizeBytes string
    Total size of the imported model artifacts in bytes.
    UpdatedAt string
    Timestamp when the custom model was last updated.
    Uuid string
    UUID of the custom model.
    AcceptTermsAndConditions bool
    Whether the caller accepts the model provider's terms and conditions. Write-only.
    ActiveDeployments []GradientaiCustomModelActiveDeploymentArgs
    Active dedicated inference deployments referencing this custom model.
    Architecture string
    Model architecture as reported by the importer.
    ContextLength int
    Maximum context length supported by the model.
    CostEstimatePerMonth int
    Estimated monthly cost of running the custom model.
    CreatedAt string
    Timestamp when the custom model was created.
    Description string
    Description of the custom model.
    FileCount int
    Number of files that make up the imported model.
    InputModalities []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.
    OutputModalities []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.
    PreferredGpuRegion string
    Preferred GPU region where the model artifacts should be staged.
    SourceRef GradientaiCustomModelSourceRefArgs
    Reference to the source from which to import the custom model.
    SourceType 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.
    StorageRegion string
    Region where the custom model artifacts are stored.
    Tags []string
    User-defined tags associated with the custom model.
    TeamId string
    ID of the team that owns the custom model.
    TotalSizeBytes string
    Total size of the imported model artifacts in bytes.
    UpdatedAt string
    Timestamp when the custom model was last updated.
    Uuid string
    UUID of the custom model.
    accept_terms_and_conditions bool
    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_per_month number
    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_region string
    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.
    tags list(string)
    User-defined tags associated with the custom model.
    team_id string
    ID of the team that owns the custom model.
    total_size_bytes string
    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.
    acceptTermsAndConditions Boolean
    Whether the caller accepts the model provider's terms and conditions. Write-only.
    activeDeployments List<GradientaiCustomModelActiveDeployment>
    Active dedicated inference deployments referencing this custom model.
    architecture String
    Model architecture as reported by the importer.
    contextLength Integer
    Maximum context length supported by the model.
    costEstimatePerMonth Integer
    Estimated monthly cost of running the custom model.
    createdAt String
    Timestamp when the custom model was created.
    description String
    Description of the custom model.
    fileCount Integer
    Number of files that make up the imported model.
    inputModalities 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.
    outputModalities 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.
    preferredGpuRegion String
    Preferred GPU region where the model artifacts should be staged.
    sourceRef GradientaiCustomModelSourceRef
    Reference to the source from which to import the custom model.
    sourceType 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.
    storageRegion String
    Region where the custom model artifacts are stored.
    tags List<String>
    User-defined tags associated with the custom model.
    teamId String
    ID of the team that owns the custom model.
    totalSizeBytes String
    Total size of the imported model artifacts in bytes.
    updatedAt String
    Timestamp when the custom model was last updated.
    uuid String
    UUID of the custom model.
    acceptTermsAndConditions boolean
    Whether the caller accepts the model provider's terms and conditions. Write-only.
    activeDeployments GradientaiCustomModelActiveDeployment[]
    Active dedicated inference deployments referencing this custom model.
    architecture string
    Model architecture as reported by the importer.
    contextLength number
    Maximum context length supported by the model.
    costEstimatePerMonth number
    Estimated monthly cost of running the custom model.
    createdAt string
    Timestamp when the custom model was created.
    description string
    Description of the custom model.
    fileCount number
    Number of files that make up the imported model.
    inputModalities 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.
    outputModalities 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.
    preferredGpuRegion string
    Preferred GPU region where the model artifacts should be staged.
    sourceRef GradientaiCustomModelSourceRef
    Reference to the source from which to import the custom model.
    sourceType 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.
    storageRegion string
    Region where the custom model artifacts are stored.
    tags string[]
    User-defined tags associated with the custom model.
    teamId string
    ID of the team that owns the custom model.
    totalSizeBytes string
    Total size of the imported model artifacts in bytes.
    updatedAt string
    Timestamp when the custom model was last updated.
    uuid string
    UUID of the custom model.
    accept_terms_and_conditions bool
    Whether the caller accepts the model provider's terms and conditions. Write-only.
    active_deployments Sequence[GradientaiCustomModelActiveDeploymentArgs]
    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_per_month int
    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_region str
    Preferred GPU region where the model artifacts should be staged.
    source_ref GradientaiCustomModelSourceRefArgs
    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.
    tags Sequence[str]
    User-defined tags associated with the custom model.
    team_id str
    ID of the team that owns the custom model.
    total_size_bytes str
    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.
    acceptTermsAndConditions Boolean
    Whether the caller accepts the model provider's terms and conditions. Write-only.
    activeDeployments List<Property Map>
    Active dedicated inference deployments referencing this custom model.
    architecture String
    Model architecture as reported by the importer.
    contextLength Number
    Maximum context length supported by the model.
    costEstimatePerMonth Number
    Estimated monthly cost of running the custom model.
    createdAt String
    Timestamp when the custom model was created.
    description String
    Description of the custom model.
    fileCount Number
    Number of files that make up the imported model.
    inputModalities 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.
    outputModalities 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.
    preferredGpuRegion String
    Preferred GPU region where the model artifacts should be staged.
    sourceRef Property Map
    Reference to the source from which to import the custom model.
    sourceType 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.
    storageRegion String
    Region where the custom model artifacts are stored.
    tags List<String>
    User-defined tags associated with the custom model.
    teamId String
    ID of the team that owns the custom model.
    totalSizeBytes String
    Total size of the imported model artifacts in bytes.
    updatedAt String
    Timestamp when the custom model was last updated.
    uuid String
    UUID of the custom model.

    Supporting Types

    GradientaiCustomModelActiveDeployment, GradientaiCustomModelActiveDeploymentArgs

    CreatedAt string
    Timestamp when the deployment was created.
    Endpoints List<Pulumi.DigitalOcean.Inputs.GradientaiCustomModelActiveDeploymentEndpoint>
    Endpoint URLs exposed by the deployment.
    Id string
    ID of the dedicated inference deployment.
    Name string
    Name of the dedicated inference deployment.
    RegionSlug string
    Region slug of the dedicated inference deployment.
    State string
    Current state of the deployment.
    UpdatedAt string
    Timestamp when the deployment was last updated.
    CreatedAt string
    Timestamp when the deployment was created.
    Endpoints []GradientaiCustomModelActiveDeploymentEndpoint
    Endpoint URLs exposed by the deployment.
    Id string
    ID of the dedicated inference deployment.
    Name string
    Name of the dedicated inference deployment.
    RegionSlug string
    Region slug of the dedicated inference deployment.
    State string
    Current state of the deployment.
    UpdatedAt 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.
    createdAt String
    Timestamp when the deployment was created.
    endpoints List<GradientaiCustomModelActiveDeploymentEndpoint>
    Endpoint URLs exposed by the deployment.
    id String
    ID of the dedicated inference deployment.
    name String
    Name of the dedicated inference deployment.
    regionSlug String
    Region slug of the dedicated inference deployment.
    state String
    Current state of the deployment.
    updatedAt String
    Timestamp when the deployment was last updated.
    createdAt string
    Timestamp when the deployment was created.
    endpoints GradientaiCustomModelActiveDeploymentEndpoint[]
    Endpoint URLs exposed by the deployment.
    id string
    ID of the dedicated inference deployment.
    name string
    Name of the dedicated inference deployment.
    regionSlug string
    Region slug of the dedicated inference deployment.
    state string
    Current state of the deployment.
    updatedAt string
    Timestamp when the deployment was last updated.
    created_at str
    Timestamp when the deployment was created.
    endpoints Sequence[GradientaiCustomModelActiveDeploymentEndpoint]
    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.
    createdAt 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.
    regionSlug String
    Region slug of the dedicated inference deployment.
    state String
    Current state of the deployment.
    updatedAt String
    Timestamp when the deployment was last updated.

    GradientaiCustomModelActiveDeploymentEndpoint, GradientaiCustomModelActiveDeploymentEndpointArgs

    PrivateEndpointFqdn string
    Private endpoint FQDN.
    PublicEndpointFqdn string
    Public endpoint FQDN, if enabled.
    PrivateEndpointFqdn string
    Private endpoint FQDN.
    PublicEndpointFqdn string
    Public endpoint FQDN, if enabled.
    private_endpoint_fqdn string
    Private endpoint FQDN.
    public_endpoint_fqdn string
    Public endpoint FQDN, if enabled.
    privateEndpointFqdn String
    Private endpoint FQDN.
    publicEndpointFqdn String
    Public endpoint FQDN, if enabled.
    privateEndpointFqdn string
    Private endpoint FQDN.
    publicEndpointFqdn string
    Public endpoint FQDN, if enabled.
    private_endpoint_fqdn str
    Private endpoint FQDN.
    public_endpoint_fqdn str
    Public endpoint FQDN, if enabled.
    privateEndpointFqdn String
    Private endpoint FQDN.
    publicEndpointFqdn String
    Public endpoint FQDN, if enabled.

    GradientaiCustomModelSourceRef, GradientaiCustomModelSourceRefArgs

    AccessType 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.
    CommitSha string
    Commit SHA to pin for the import. If omitted, the API resolves and returns the SHA actually imported.
    HfToken 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.
    RepoId string
    Repository identifier (e.g. the HuggingFace repo). Required for SOURCE_TYPE_HUGGINGFACE sources.
    AccessType 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.
    CommitSha string
    Commit SHA to pin for the import. If omitted, the API resolves and returns the SHA actually imported.
    HfToken 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.
    RepoId 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.
    accessType 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.
    commitSha String
    Commit SHA to pin for the import. If omitted, the API resolves and returns the SHA actually imported.
    hfToken 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.
    repoId String
    Repository identifier (e.g. the HuggingFace repo). Required for SOURCE_TYPE_HUGGINGFACE sources.
    accessType 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.
    commitSha string
    Commit SHA to pin for the import. If omitted, the API resolves and returns the SHA actually imported.
    hfToken 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.
    repoId 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.
    accessType 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.
    commitSha String
    Commit SHA to pin for the import. If omitted, the API resolves and returns the SHA actually imported.
    hfToken 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.
    repoId 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 digitalocean Terraform Provider.
    digitalocean logo
    Viewing docs for DigitalOcean v4.71.0
    published on Saturday, Jun 20, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial