1. Registry
  2. Packages
  3. Ibm Provider
  4. API Docs
  5. getRhaiiInferenceModels
Viewing docs for ibm 2.9.0
published on Thursday, Nov 5, 2026 by ibm-cloud
ibm
Viewing docs for ibm 2.9.0
published on Thursday, Nov 5, 2026 by ibm-cloud

    Using getRhaiiInferenceModels

    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 getRhaiiInferenceModels(args: GetRhaiiInferenceModelsArgs, opts?: InvokeOptions): Promise<GetRhaiiInferenceModelsResult>
    function getRhaiiInferenceModelsOutput(args: GetRhaiiInferenceModelsOutputArgs, opts?: InvokeOutputOptions): Output<GetRhaiiInferenceModelsResult>
    def get_rhaii_inference_models(location: Optional[str] = None,
                                   project_id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetRhaiiInferenceModelsResult
    def get_rhaii_inference_models_output(location: pulumi.Input[Optional[str]] = None,
                                   project_id: pulumi.Input[Optional[str]] = None,
                                   opts: Optional[InvokeOutputOptions] = None) -> Output[GetRhaiiInferenceModelsResult]
    func GetRhaiiInferenceModels(ctx *Context, args *GetRhaiiInferenceModelsArgs, opts ...InvokeOption) (*GetRhaiiInferenceModelsResult, error)
    func GetRhaiiInferenceModelsOutput(ctx *Context, args *GetRhaiiInferenceModelsOutputArgs, opts ...InvokeOption) GetRhaiiInferenceModelsResultOutput

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

    public static class GetRhaiiInferenceModels 
    {
        public static Task<GetRhaiiInferenceModelsResult> InvokeAsync(GetRhaiiInferenceModelsArgs args, InvokeOptions? opts = null)
        public static Output<GetRhaiiInferenceModelsResult> Invoke(GetRhaiiInferenceModelsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetRhaiiInferenceModelsResult> Invoke(GetRhaiiInferenceModelsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetRhaiiInferenceModelsResult> getRhaiiInferenceModels(GetRhaiiInferenceModelsArgs args, InvokeOptions options)
    public static Output<GetRhaiiInferenceModelsResult> getRhaiiInferenceModels(GetRhaiiInferenceModelsArgs args, InvokeOptions options)
    public static Output<GetRhaiiInferenceModelsResult> getRhaiiInferenceModels(GetRhaiiInferenceModelsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: ibm:index/getRhaiiInferenceModels:getRhaiiInferenceModels
      arguments:
        # arguments dictionary
    data "ibm_get_rhaii_inference_models" "name" {
        # arguments
    }

    The following arguments are supported:

    ProjectId string
    The ID of the Red Hat AI Inference project. Use the project_id attribute of the ibm.RhaiiProject resource or data source.
    Location string
    The region of the project, for example us-east. When not set, the region of the provider is used, or us-east when the service is not available in that region.
    ProjectId string
    The ID of the Red Hat AI Inference project. Use the project_id attribute of the ibm.RhaiiProject resource or data source.
    Location string
    The region of the project, for example us-east. When not set, the region of the provider is used, or us-east when the service is not available in that region.
    project_id string
    The ID of the Red Hat AI Inference project. Use the project_id attribute of the ibm.RhaiiProject resource or data source.
    location string
    The region of the project, for example us-east. When not set, the region of the provider is used, or us-east when the service is not available in that region.
    projectId String
    The ID of the Red Hat AI Inference project. Use the project_id attribute of the ibm.RhaiiProject resource or data source.
    location String
    The region of the project, for example us-east. When not set, the region of the provider is used, or us-east when the service is not available in that region.
    projectId string
    The ID of the Red Hat AI Inference project. Use the project_id attribute of the ibm.RhaiiProject resource or data source.
    location string
    The region of the project, for example us-east. When not set, the region of the provider is used, or us-east when the service is not available in that region.
    project_id str
    The ID of the Red Hat AI Inference project. Use the project_id attribute of the ibm.RhaiiProject resource or data source.
    location str
    The region of the project, for example us-east. When not set, the region of the provider is used, or us-east when the service is not available in that region.
    projectId String
    The ID of the Red Hat AI Inference project. Use the project_id attribute of the ibm.RhaiiProject resource or data source.
    location String
    The region of the project, for example us-east. When not set, the region of the provider is used, or us-east when the service is not available in that region.

    getRhaiiInferenceModels Result

    The following output properties are available:

    Id string
    (String) The ID of the model. Use this value as model in chat completion requests.
    Models List<GetRhaiiInferenceModelsModel>
    (List) The inference models that are available in the project. Nested schema for models:
    ProjectId string
    Location string
    Id string
    (String) The ID of the model. Use this value as model in chat completion requests.
    Models []GetRhaiiInferenceModelsModel
    (List) The inference models that are available in the project. Nested schema for models:
    ProjectId string
    Location string
    id string
    (String) The ID of the model. Use this value as model in chat completion requests.
    models list(object)
    (List) The inference models that are available in the project. Nested schema for models:
    project_id string
    location string
    id String
    (String) The ID of the model. Use this value as model in chat completion requests.
    models List<GetRhaiiInferenceModelsModel>
    (List) The inference models that are available in the project. Nested schema for models:
    projectId String
    location String
    id string
    (String) The ID of the model. Use this value as model in chat completion requests.
    models GetRhaiiInferenceModelsModel[]
    (List) The inference models that are available in the project. Nested schema for models:
    projectId string
    location string
    id str
    (String) The ID of the model. Use this value as model in chat completion requests.
    models Sequence[GetRhaiiInferenceModelsModel]
    (List) The inference models that are available in the project. Nested schema for models:
    project_id str
    location str
    id String
    (String) The ID of the model. Use this value as model in chat completion requests.
    models List<Property Map>
    (List) The inference models that are available in the project. Nested schema for models:
    projectId String
    location String

    Supporting Types

    GetRhaiiInferenceModelsModel

    ConfigJson string
    (String) The model configuration (architecture details and hyperparameters) as a JSON string. Use jsondecode() to read it.
    Created double
    (Integer) The Unix timestamp in seconds when the model was created.
    DisplayName string
    (String) The display name of the model.
    Id string
    (String) The ID of the model. Use this value as model in chat completion requests.
    Name string
    (String) The name of the model.
    Object string
    (String) The object type, model.
    OwnedBy string
    (String) The owner of the model.
    Pricings List<GetRhaiiInferenceModelsModelPricing>
    (List) The pricing measures of the model. Nested schema for pricing:
    State string
    (String) The state of the model, for example model_loaded.
    Status string
    (String) The validation status.
    TotalParams double
    (Integer) The total number of parameters of the model, for example 70553706496.
    Validations List<GetRhaiiInferenceModelsModelValidation>
    (List) The validation information of a custom model. Nested schema for validation:
    ConfigJson string
    (String) The model configuration (architecture details and hyperparameters) as a JSON string. Use jsondecode() to read it.
    Created float64
    (Integer) The Unix timestamp in seconds when the model was created.
    DisplayName string
    (String) The display name of the model.
    Id string
    (String) The ID of the model. Use this value as model in chat completion requests.
    Name string
    (String) The name of the model.
    Object string
    (String) The object type, model.
    OwnedBy string
    (String) The owner of the model.
    Pricings []GetRhaiiInferenceModelsModelPricing
    (List) The pricing measures of the model. Nested schema for pricing:
    State string
    (String) The state of the model, for example model_loaded.
    Status string
    (String) The validation status.
    TotalParams float64
    (Integer) The total number of parameters of the model, for example 70553706496.
    Validations []GetRhaiiInferenceModelsModelValidation
    (List) The validation information of a custom model. Nested schema for validation:
    config_json string
    (String) The model configuration (architecture details and hyperparameters) as a JSON string. Use jsondecode() to read it.
    created number
    (Integer) The Unix timestamp in seconds when the model was created.
    display_name string
    (String) The display name of the model.
    id string
    (String) The ID of the model. Use this value as model in chat completion requests.
    name string
    (String) The name of the model.
    object string
    (String) The object type, model.
    owned_by string
    (String) The owner of the model.
    pricings list(object)
    (List) The pricing measures of the model. Nested schema for pricing:
    state string
    (String) The state of the model, for example model_loaded.
    status string
    (String) The validation status.
    total_params number
    (Integer) The total number of parameters of the model, for example 70553706496.
    validations list(object)
    (List) The validation information of a custom model. Nested schema for validation:
    configJson String
    (String) The model configuration (architecture details and hyperparameters) as a JSON string. Use jsondecode() to read it.
    created Double
    (Integer) The Unix timestamp in seconds when the model was created.
    displayName String
    (String) The display name of the model.
    id String
    (String) The ID of the model. Use this value as model in chat completion requests.
    name String
    (String) The name of the model.
    object String
    (String) The object type, model.
    ownedBy String
    (String) The owner of the model.
    pricings List<GetRhaiiInferenceModelsModelPricing>
    (List) The pricing measures of the model. Nested schema for pricing:
    state String
    (String) The state of the model, for example model_loaded.
    status String
    (String) The validation status.
    totalParams Double
    (Integer) The total number of parameters of the model, for example 70553706496.
    validations List<GetRhaiiInferenceModelsModelValidation>
    (List) The validation information of a custom model. Nested schema for validation:
    configJson string
    (String) The model configuration (architecture details and hyperparameters) as a JSON string. Use jsondecode() to read it.
    created number
    (Integer) The Unix timestamp in seconds when the model was created.
    displayName string
    (String) The display name of the model.
    id string
    (String) The ID of the model. Use this value as model in chat completion requests.
    name string
    (String) The name of the model.
    object string
    (String) The object type, model.
    ownedBy string
    (String) The owner of the model.
    pricings GetRhaiiInferenceModelsModelPricing[]
    (List) The pricing measures of the model. Nested schema for pricing:
    state string
    (String) The state of the model, for example model_loaded.
    status string
    (String) The validation status.
    totalParams number
    (Integer) The total number of parameters of the model, for example 70553706496.
    validations GetRhaiiInferenceModelsModelValidation[]
    (List) The validation information of a custom model. Nested schema for validation:
    config_json str
    (String) The model configuration (architecture details and hyperparameters) as a JSON string. Use jsondecode() to read it.
    created float
    (Integer) The Unix timestamp in seconds when the model was created.
    display_name str
    (String) The display name of the model.
    id str
    (String) The ID of the model. Use this value as model in chat completion requests.
    name str
    (String) The name of the model.
    object str
    (String) The object type, model.
    owned_by str
    (String) The owner of the model.
    pricings Sequence[GetRhaiiInferenceModelsModelPricing]
    (List) The pricing measures of the model. Nested schema for pricing:
    state str
    (String) The state of the model, for example model_loaded.
    status str
    (String) The validation status.
    total_params float
    (Integer) The total number of parameters of the model, for example 70553706496.
    validations Sequence[GetRhaiiInferenceModelsModelValidation]
    (List) The validation information of a custom model. Nested schema for validation:
    configJson String
    (String) The model configuration (architecture details and hyperparameters) as a JSON string. Use jsondecode() to read it.
    created Number
    (Integer) The Unix timestamp in seconds when the model was created.
    displayName String
    (String) The display name of the model.
    id String
    (String) The ID of the model. Use this value as model in chat completion requests.
    name String
    (String) The name of the model.
    object String
    (String) The object type, model.
    ownedBy String
    (String) The owner of the model.
    pricings List<Property Map>
    (List) The pricing measures of the model. Nested schema for pricing:
    state String
    (String) The state of the model, for example model_loaded.
    status String
    (String) The validation status.
    totalParams Number
    (Integer) The total number of parameters of the model, for example 70553706496.
    validations List<Property Map>
    (List) The validation information of a custom model. Nested schema for validation:

    GetRhaiiInferenceModelsModelPricing

    InputMeasure string
    (String) The billing measure for input tokens.
    OutputMeasure string
    (String) The billing measure for output tokens.
    InputMeasure string
    (String) The billing measure for input tokens.
    OutputMeasure string
    (String) The billing measure for output tokens.
    input_measure string
    (String) The billing measure for input tokens.
    output_measure string
    (String) The billing measure for output tokens.
    inputMeasure String
    (String) The billing measure for input tokens.
    outputMeasure String
    (String) The billing measure for output tokens.
    inputMeasure string
    (String) The billing measure for input tokens.
    outputMeasure string
    (String) The billing measure for output tokens.
    input_measure str
    (String) The billing measure for input tokens.
    output_measure str
    (String) The billing measure for output tokens.
    inputMeasure String
    (String) The billing measure for input tokens.
    outputMeasure String
    (String) The billing measure for output tokens.

    GetRhaiiInferenceModelsModelValidation

    CompletedAt string
    (String) The date when the validation completed.
    Error string
    (String) The validation error message, if any.
    Status string
    (String) The validation status.
    CompletedAt string
    (String) The date when the validation completed.
    Error string
    (String) The validation error message, if any.
    Status string
    (String) The validation status.
    completed_at string
    (String) The date when the validation completed.
    error string
    (String) The validation error message, if any.
    status string
    (String) The validation status.
    completedAt String
    (String) The date when the validation completed.
    error String
    (String) The validation error message, if any.
    status String
    (String) The validation status.
    completedAt string
    (String) The date when the validation completed.
    error string
    (String) The validation error message, if any.
    status string
    (String) The validation status.
    completed_at str
    (String) The date when the validation completed.
    error str
    (String) The validation error message, if any.
    status str
    (String) The validation status.
    completedAt String
    (String) The date when the validation completed.
    error String
    (String) The validation error message, if any.
    status String
    (String) The validation status.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm
    Viewing docs for ibm 2.9.0
    published on Thursday, Nov 5, 2026 by ibm-cloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial