1. Registry
  2. Packages
  3. Ibm Provider
  4. API Docs
  5. getRhaiiInferenceModel
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 getRhaiiInferenceModel

    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 getRhaiiInferenceModel(args: GetRhaiiInferenceModelArgs, opts?: InvokeOptions): Promise<GetRhaiiInferenceModelResult>
    function getRhaiiInferenceModelOutput(args: GetRhaiiInferenceModelOutputArgs, opts?: InvokeOutputOptions): Output<GetRhaiiInferenceModelResult>
    def get_rhaii_inference_model(location: Optional[str] = None,
                                  model: Optional[str] = None,
                                  project_id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetRhaiiInferenceModelResult
    def get_rhaii_inference_model_output(location: pulumi.Input[Optional[str]] = None,
                                  model: pulumi.Input[Optional[str]] = None,
                                  project_id: pulumi.Input[Optional[str]] = None,
                                  opts: Optional[InvokeOutputOptions] = None) -> Output[GetRhaiiInferenceModelResult]
    func GetRhaiiInferenceModel(ctx *Context, args *GetRhaiiInferenceModelArgs, opts ...InvokeOption) (*GetRhaiiInferenceModelResult, error)
    func GetRhaiiInferenceModelOutput(ctx *Context, args *GetRhaiiInferenceModelOutputArgs, opts ...InvokeOption) GetRhaiiInferenceModelResultOutput

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

    public static class GetRhaiiInferenceModel 
    {
        public static Task<GetRhaiiInferenceModelResult> InvokeAsync(GetRhaiiInferenceModelArgs args, InvokeOptions? opts = null)
        public static Output<GetRhaiiInferenceModelResult> Invoke(GetRhaiiInferenceModelInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetRhaiiInferenceModelResult> Invoke(GetRhaiiInferenceModelInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetRhaiiInferenceModelResult> getRhaiiInferenceModel(GetRhaiiInferenceModelArgs args, InvokeOptions options)
    public static Output<GetRhaiiInferenceModelResult> getRhaiiInferenceModel(GetRhaiiInferenceModelArgs args, InvokeOptions options)
    public static Output<GetRhaiiInferenceModelResult> getRhaiiInferenceModel(GetRhaiiInferenceModelArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: ibm:index/getRhaiiInferenceModel:getRhaiiInferenceModel
      arguments:
        # arguments dictionary
    data "ibm_get_rhaii_inference_model" "name" {
        # arguments
    }

    The following arguments are supported:

    Model string
    The ID of the model, for example llama-3-3-70b-instruct.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^[a-z0-9-]+$/.
    ProjectId string
    The ID of the Red Hat AI Inference project.
    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.
    Model string
    The ID of the model, for example llama-3-3-70b-instruct.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^[a-z0-9-]+$/.
    ProjectId string
    The ID of the Red Hat AI Inference project.
    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.
    model string
    The ID of the model, for example llama-3-3-70b-instruct.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^[a-z0-9-]+$/.
    project_id string
    The ID of the Red Hat AI Inference project.
    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.
    model String
    The ID of the model, for example llama-3-3-70b-instruct.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^[a-z0-9-]+$/.
    projectId String
    The ID of the Red Hat AI Inference project.
    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.
    model string
    The ID of the model, for example llama-3-3-70b-instruct.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^[a-z0-9-]+$/.
    projectId string
    The ID of the Red Hat AI Inference project.
    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.
    model str
    The ID of the model, for example llama-3-3-70b-instruct.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^[a-z0-9-]+$/.
    project_id str
    The ID of the Red Hat AI Inference project.
    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.
    model String
    The ID of the model, for example llama-3-3-70b-instruct.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^[a-z0-9-]+$/.
    projectId String
    The ID of the Red Hat AI Inference project.
    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.

    getRhaiiInferenceModel Result

    The following output properties are available:

    ConfigJson string
    (String) The model configuration (architecture details and hyperparameters) as a JSON string. Use jsondecode() to read it.
    DisplayName string
    (String) The display name of the model.
    Id string
    (String) The ID of the data source, in <project_id>/<model> format.
    Identifier string
    (String) The unique identifier of the model.
    Model string
    ModelCard string
    (String) The model card in markdown format.
    ModelType string
    (String) The model type, for example llm, embedding or rerank.
    Name string
    (String) The name of the model.
    Pricings List<GetRhaiiInferenceModelPricing>
    (List) The pricing measures of the model. Nested schema for pricing:
    ProjectId string
    ProviderId string
    (String) The ID of the provider that owns the model.
    ProviderResourceId string
    (String) The ID of the model in the provider.
    SourceJson string
    (String) The source of a custom model (huggingface, ibmcos, oci or s3) as a JSON string. Empty when the API does not return a source.
    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.
    Type string
    (String) The resource type, model.
    Validations List<GetRhaiiInferenceModelValidation>
    (List) The validation information of a custom model. Nested schema for validation:
    Location string
    ConfigJson string
    (String) The model configuration (architecture details and hyperparameters) as a JSON string. Use jsondecode() to read it.
    DisplayName string
    (String) The display name of the model.
    Id string
    (String) The ID of the data source, in <project_id>/<model> format.
    Identifier string
    (String) The unique identifier of the model.
    Model string
    ModelCard string
    (String) The model card in markdown format.
    ModelType string
    (String) The model type, for example llm, embedding or rerank.
    Name string
    (String) The name of the model.
    Pricings []GetRhaiiInferenceModelPricing
    (List) The pricing measures of the model. Nested schema for pricing:
    ProjectId string
    ProviderId string
    (String) The ID of the provider that owns the model.
    ProviderResourceId string
    (String) The ID of the model in the provider.
    SourceJson string
    (String) The source of a custom model (huggingface, ibmcos, oci or s3) as a JSON string. Empty when the API does not return a source.
    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.
    Type string
    (String) The resource type, model.
    Validations []GetRhaiiInferenceModelValidation
    (List) The validation information of a custom model. Nested schema for validation:
    Location string
    config_json string
    (String) The model configuration (architecture details and hyperparameters) as a JSON string. Use jsondecode() to read it.
    display_name string
    (String) The display name of the model.
    id string
    (String) The ID of the data source, in <project_id>/<model> format.
    identifier string
    (String) The unique identifier of the model.
    model string
    model_card string
    (String) The model card in markdown format.
    model_type string
    (String) The model type, for example llm, embedding or rerank.
    name string
    (String) The name of the model.
    pricings list(object)
    (List) The pricing measures of the model. Nested schema for pricing:
    project_id string
    provider_id string
    (String) The ID of the provider that owns the model.
    provider_resource_id string
    (String) The ID of the model in the provider.
    source_json string
    (String) The source of a custom model (huggingface, ibmcos, oci or s3) as a JSON string. Empty when the API does not return a source.
    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.
    type string
    (String) The resource type, model.
    validations list(object)
    (List) The validation information of a custom model. Nested schema for validation:
    location string
    configJson String
    (String) The model configuration (architecture details and hyperparameters) as a JSON string. Use jsondecode() to read it.
    displayName String
    (String) The display name of the model.
    id String
    (String) The ID of the data source, in <project_id>/<model> format.
    identifier String
    (String) The unique identifier of the model.
    model String
    modelCard String
    (String) The model card in markdown format.
    modelType String
    (String) The model type, for example llm, embedding or rerank.
    name String
    (String) The name of the model.
    pricings List<GetRhaiiInferenceModelPricing>
    (List) The pricing measures of the model. Nested schema for pricing:
    projectId String
    providerId String
    (String) The ID of the provider that owns the model.
    providerResourceId String
    (String) The ID of the model in the provider.
    sourceJson String
    (String) The source of a custom model (huggingface, ibmcos, oci or s3) as a JSON string. Empty when the API does not return a source.
    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.
    type String
    (String) The resource type, model.
    validations List<GetRhaiiInferenceModelValidation>
    (List) The validation information of a custom model. Nested schema for validation:
    location String
    configJson string
    (String) The model configuration (architecture details and hyperparameters) as a JSON string. Use jsondecode() to read it.
    displayName string
    (String) The display name of the model.
    id string
    (String) The ID of the data source, in <project_id>/<model> format.
    identifier string
    (String) The unique identifier of the model.
    model string
    modelCard string
    (String) The model card in markdown format.
    modelType string
    (String) The model type, for example llm, embedding or rerank.
    name string
    (String) The name of the model.
    pricings GetRhaiiInferenceModelPricing[]
    (List) The pricing measures of the model. Nested schema for pricing:
    projectId string
    providerId string
    (String) The ID of the provider that owns the model.
    providerResourceId string
    (String) The ID of the model in the provider.
    sourceJson string
    (String) The source of a custom model (huggingface, ibmcos, oci or s3) as a JSON string. Empty when the API does not return a source.
    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.
    type string
    (String) The resource type, model.
    validations GetRhaiiInferenceModelValidation[]
    (List) The validation information of a custom model. Nested schema for validation:
    location string
    config_json str
    (String) The model configuration (architecture details and hyperparameters) as a JSON string. Use jsondecode() to read it.
    display_name str
    (String) The display name of the model.
    id str
    (String) The ID of the data source, in <project_id>/<model> format.
    identifier str
    (String) The unique identifier of the model.
    model str
    model_card str
    (String) The model card in markdown format.
    model_type str
    (String) The model type, for example llm, embedding or rerank.
    name str
    (String) The name of the model.
    pricings Sequence[GetRhaiiInferenceModelPricing]
    (List) The pricing measures of the model. Nested schema for pricing:
    project_id str
    provider_id str
    (String) The ID of the provider that owns the model.
    provider_resource_id str
    (String) The ID of the model in the provider.
    source_json str
    (String) The source of a custom model (huggingface, ibmcos, oci or s3) as a JSON string. Empty when the API does not return a source.
    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.
    type str
    (String) The resource type, model.
    validations Sequence[GetRhaiiInferenceModelValidation]
    (List) The validation information of a custom model. Nested schema for validation:
    location str
    configJson String
    (String) The model configuration (architecture details and hyperparameters) as a JSON string. Use jsondecode() to read it.
    displayName String
    (String) The display name of the model.
    id String
    (String) The ID of the data source, in <project_id>/<model> format.
    identifier String
    (String) The unique identifier of the model.
    model String
    modelCard String
    (String) The model card in markdown format.
    modelType String
    (String) The model type, for example llm, embedding or rerank.
    name String
    (String) The name of the model.
    pricings List<Property Map>
    (List) The pricing measures of the model. Nested schema for pricing:
    projectId String
    providerId String
    (String) The ID of the provider that owns the model.
    providerResourceId String
    (String) The ID of the model in the provider.
    sourceJson String
    (String) The source of a custom model (huggingface, ibmcos, oci or s3) as a JSON string. Empty when the API does not return a source.
    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.
    type String
    (String) The resource type, model.
    validations List<Property Map>
    (List) The validation information of a custom model. Nested schema for validation:
    location String

    Supporting Types

    GetRhaiiInferenceModelPricing

    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.

    GetRhaiiInferenceModelValidation

    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