1. Packages
  2. DigitalOcean Provider
  3. API Docs
  4. getGenaiModels
DigitalOcean v4.54.0 published on Tuesday, Oct 14, 2025 by Pulumi

digitalocean.getGenaiModels

Start a Neo task
Explain and create a digitalocean.getGenaiModels resource
digitalocean logo
DigitalOcean v4.54.0 published on Tuesday, Oct 14, 2025 by Pulumi

    Using getGenaiModels

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getGenaiModels(args: GetGenaiModelsArgs, opts?: InvokeOptions): Promise<GetGenaiModelsResult>
    function getGenaiModelsOutput(args: GetGenaiModelsOutputArgs, opts?: InvokeOptions): Output<GetGenaiModelsResult>
    def get_genai_models(filters: Optional[Sequence[GetGenaiModelsFilter]] = None,
                         sorts: Optional[Sequence[GetGenaiModelsSort]] = None,
                         opts: Optional[InvokeOptions] = None) -> GetGenaiModelsResult
    def get_genai_models_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetGenaiModelsFilterArgs]]]] = None,
                         sorts: Optional[pulumi.Input[Sequence[pulumi.Input[GetGenaiModelsSortArgs]]]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetGenaiModelsResult]
    func GetGenaiModels(ctx *Context, args *GetGenaiModelsArgs, opts ...InvokeOption) (*GetGenaiModelsResult, error)
    func GetGenaiModelsOutput(ctx *Context, args *GetGenaiModelsOutputArgs, opts ...InvokeOption) GetGenaiModelsResultOutput

    > Note: This function is named GetGenaiModels in the Go SDK.

    public static class GetGenaiModels 
    {
        public static Task<GetGenaiModelsResult> InvokeAsync(GetGenaiModelsArgs args, InvokeOptions? opts = null)
        public static Output<GetGenaiModelsResult> Invoke(GetGenaiModelsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGenaiModelsResult> getGenaiModels(GetGenaiModelsArgs args, InvokeOptions options)
    public static Output<GetGenaiModelsResult> getGenaiModels(GetGenaiModelsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: digitalocean:index/getGenaiModels:getGenaiModels
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getGenaiModels Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Models []GetGenaiModelsModel
    Filters []GetGenaiModelsFilter
    Sorts []GetGenaiModelsSort
    id String
    The provider-assigned unique ID for this managed resource.
    models List<GetGenaiModelsModel>
    filters List<GetGenaiModelsFilter>
    sorts List<GetGenaiModelsSort>
    id string
    The provider-assigned unique ID for this managed resource.
    models GetGenaiModelsModel[]
    filters GetGenaiModelsFilter[]
    sorts GetGenaiModelsSort[]
    id String
    The provider-assigned unique ID for this managed resource.
    models List<Property Map>
    filters List<Property Map>
    sorts List<Property Map>

    Supporting Types

    GetGenaiModelsFilter

    Key string
    Values List<string>
    All bool
    MatchBy string
    Key string
    Values []string
    All bool
    MatchBy string
    key String
    values List<String>
    all Boolean
    matchBy String
    key string
    values string[]
    all boolean
    matchBy string
    key str
    values Sequence[str]
    all bool
    match_by str
    key String
    values List<String>
    all Boolean
    matchBy String

    GetGenaiModelsModel

    Agreements List<Pulumi.DigitalOcean.Inputs.GetGenaiModelsModelAgreement>
    Agreement information for the model
    CreatedAt string
    Created At timestamp for the Knowledge Base
    Id string
    ID of the Knowledge Base
    IsFoundational bool
    Indicates if the Model Base is foundational
    Name string
    Name of the Knowledge Base
    ParentUuid string
    Parent UUID of the Model
    UpdatedAt string
    Timestamp when the Knowledge Base was updated
    UploadComplete bool
    Indicates if the Model upload is complete
    Url string
    URL of the Model
    Uuid string
    UUID of the Model
    Versions List<Pulumi.DigitalOcean.Inputs.GetGenaiModelsModelVersion>
    List of Versions for the Model
    Agreements []GetGenaiModelsModelAgreement
    Agreement information for the model
    CreatedAt string
    Created At timestamp for the Knowledge Base
    Id string
    ID of the Knowledge Base
    IsFoundational bool
    Indicates if the Model Base is foundational
    Name string
    Name of the Knowledge Base
    ParentUuid string
    Parent UUID of the Model
    UpdatedAt string
    Timestamp when the Knowledge Base was updated
    UploadComplete bool
    Indicates if the Model upload is complete
    Url string
    URL of the Model
    Uuid string
    UUID of the Model
    Versions []GetGenaiModelsModelVersion
    List of Versions for the Model
    agreements List<GetGenaiModelsModelAgreement>
    Agreement information for the model
    createdAt String
    Created At timestamp for the Knowledge Base
    id String
    ID of the Knowledge Base
    isFoundational Boolean
    Indicates if the Model Base is foundational
    name String
    Name of the Knowledge Base
    parentUuid String
    Parent UUID of the Model
    updatedAt String
    Timestamp when the Knowledge Base was updated
    uploadComplete Boolean
    Indicates if the Model upload is complete
    url String
    URL of the Model
    uuid String
    UUID of the Model
    versions List<GetGenaiModelsModelVersion>
    List of Versions for the Model
    agreements GetGenaiModelsModelAgreement[]
    Agreement information for the model
    createdAt string
    Created At timestamp for the Knowledge Base
    id string
    ID of the Knowledge Base
    isFoundational boolean
    Indicates if the Model Base is foundational
    name string
    Name of the Knowledge Base
    parentUuid string
    Parent UUID of the Model
    updatedAt string
    Timestamp when the Knowledge Base was updated
    uploadComplete boolean
    Indicates if the Model upload is complete
    url string
    URL of the Model
    uuid string
    UUID of the Model
    versions GetGenaiModelsModelVersion[]
    List of Versions for the Model
    agreements Sequence[GetGenaiModelsModelAgreement]
    Agreement information for the model
    created_at str
    Created At timestamp for the Knowledge Base
    id str
    ID of the Knowledge Base
    is_foundational bool
    Indicates if the Model Base is foundational
    name str
    Name of the Knowledge Base
    parent_uuid str
    Parent UUID of the Model
    updated_at str
    Timestamp when the Knowledge Base was updated
    upload_complete bool
    Indicates if the Model upload is complete
    url str
    URL of the Model
    uuid str
    UUID of the Model
    versions Sequence[GetGenaiModelsModelVersion]
    List of Versions for the Model
    agreements List<Property Map>
    Agreement information for the model
    createdAt String
    Created At timestamp for the Knowledge Base
    id String
    ID of the Knowledge Base
    isFoundational Boolean
    Indicates if the Model Base is foundational
    name String
    Name of the Knowledge Base
    parentUuid String
    Parent UUID of the Model
    updatedAt String
    Timestamp when the Knowledge Base was updated
    uploadComplete Boolean
    Indicates if the Model upload is complete
    url String
    URL of the Model
    uuid String
    UUID of the Model
    versions List<Property Map>
    List of Versions for the Model

    GetGenaiModelsModelAgreement

    Description string
    Description of the agreement
    Name string
    Name of the agreement
    Url string
    URL of the agreement
    Uuid string
    UUID of the agreement
    Description string
    Description of the agreement
    Name string
    Name of the agreement
    Url string
    URL of the agreement
    Uuid string
    UUID of the agreement
    description String
    Description of the agreement
    name String
    Name of the agreement
    url String
    URL of the agreement
    uuid String
    UUID of the agreement
    description string
    Description of the agreement
    name string
    Name of the agreement
    url string
    URL of the agreement
    uuid string
    UUID of the agreement
    description str
    Description of the agreement
    name str
    Name of the agreement
    url str
    URL of the agreement
    uuid str
    UUID of the agreement
    description String
    Description of the agreement
    name String
    Name of the agreement
    url String
    URL of the agreement
    uuid String
    UUID of the agreement

    GetGenaiModelsModelVersion

    Major int
    Major version of the model
    Minor int
    Minor version of the model
    Patch int
    Patch version of the model
    Major int
    Major version of the model
    Minor int
    Minor version of the model
    Patch int
    Patch version of the model
    major Integer
    Major version of the model
    minor Integer
    Minor version of the model
    patch Integer
    Patch version of the model
    major number
    Major version of the model
    minor number
    Minor version of the model
    patch number
    Patch version of the model
    major int
    Major version of the model
    minor int
    Minor version of the model
    patch int
    Patch version of the model
    major Number
    Major version of the model
    minor Number
    Minor version of the model
    patch Number
    Patch version of the model

    GetGenaiModelsSort

    Key string
    Direction string
    Key string
    Direction string
    key String
    direction String
    key string
    direction string
    key str
    direction str
    key String
    direction String

    Package Details

    Repository
    DigitalOcean pulumi/pulumi-digitalocean
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the digitalocean Terraform Provider.
    digitalocean logo
    DigitalOcean v4.54.0 published on Tuesday, Oct 14, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate