Viewing docs for ibm 2.9.0
published on Thursday, Nov 5, 2026 by ibm-cloud
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
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 dictionarydata "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
100characters. The minimum length is1character. The value must match regular expression/^[a-z0-9-]+$/.
- Constraints: The maximum length is
- 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, orus-eastwhen 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
100characters. The minimum length is1character. The value must match regular expression/^[a-z0-9-]+$/.
- Constraints: The maximum length is
- 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, orus-eastwhen 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
100characters. The minimum length is1character. The value must match regular expression/^[a-z0-9-]+$/.
- Constraints: The maximum length is
- 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, orus-eastwhen 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
100characters. The minimum length is1character. The value must match regular expression/^[a-z0-9-]+$/.
- Constraints: The maximum length is
- 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, orus-eastwhen 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
100characters. The minimum length is1character. The value must match regular expression/^[a-z0-9-]+$/.
- Constraints: The maximum length is
- 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, orus-eastwhen 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
100characters. The minimum length is1character. The value must match regular expression/^[a-z0-9-]+$/.
- Constraints: The maximum length is
- 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, orus-eastwhen 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
100characters. The minimum length is1character. The value must match regular expression/^[a-z0-9-]+$/.
- Constraints: The maximum length is
- 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, orus-eastwhen the service is not available in that region.
getRhaiiInferenceModel Result
The following output properties are available:
- 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,embeddingorrerank. - Name string
- (String) The name of the model.
- Pricings
List<Get
Rhaii Inference Model Pricing> - (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 stringId - (String) The ID of the model in the provider.
- Source
Json string - (String) The source of a custom model (
huggingface,ibmcos,ociors3) 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 double - (Integer) The total number of parameters of the model, for example
70553706496. - Type string
- (String) The resource type,
model. - Validations
List<Get
Rhaii Inference Model Validation> - (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,embeddingorrerank. - Name string
- (String) The name of the model.
- Pricings
[]Get
Rhaii Inference Model Pricing - (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 stringId - (String) The ID of the model in the provider.
- Source
Json string - (String) The source of a custom model (
huggingface,ibmcos,ociors3) 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 float64 - (Integer) The total number of parameters of the model, for example
70553706496. - Type string
- (String) The resource type,
model. - Validations
[]Get
Rhaii Inference Model Validation - (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,embeddingorrerank. - 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_ stringid - (String) The ID of the model in the provider.
- source_
json string - (String) The source of a custom model (
huggingface,ibmcos,ociors3) 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
- 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,embeddingorrerank. - name String
- (String) The name of the model.
- pricings
List<Get
Rhaii Inference Model Pricing> - (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 StringId - (String) The ID of the model in the provider.
- source
Json String - (String) The source of a custom model (
huggingface,ibmcos,ociors3) 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 Double - (Integer) The total number of parameters of the model, for example
70553706496. - type String
- (String) The resource type,
model. - validations
List<Get
Rhaii Inference Model Validation> - (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,embeddingorrerank. - name string
- (String) The name of the model.
- pricings
Get
Rhaii Inference Model Pricing[] - (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 stringId - (String) The ID of the model in the provider.
- source
Json string - (String) The source of a custom model (
huggingface,ibmcos,ociors3) 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
Get
Rhaii Inference Model Validation[] - (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,embeddingorrerank. - name str
- (String) The name of the model.
- pricings
Sequence[Get
Rhaii Inference Model Pricing] - (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_ strid - (String) The ID of the model in the provider.
- source_
json str - (String) The source of a custom model (
huggingface,ibmcos,ociors3) 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[Get
Rhaii Inference Model Validation] - (List) The validation information of a custom model. Nested schema for validation:
- location str
- 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,embeddingorrerank. - name String
- (String) The name of the model.
- pricings List<Property Map>
- (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 StringId - (String) The ID of the model in the provider.
- source
Json String - (String) The source of a custom model (
huggingface,ibmcos,ociors3) 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<Property Map>
- (List) The validation information of a custom model. Nested schema for validation:
- location String
Supporting Types
GetRhaiiInferenceModelPricing
- Input
Measure string - (String) The billing measure for input tokens.
- Output
Measure 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.
- input_
measure string - (String) The billing measure for input tokens.
- output_
measure 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.
- input
Measure string - (String) The billing measure for input tokens.
- output
Measure 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.
- input
Measure String - (String) The billing measure for input tokens.
- output
Measure String - (String) The billing measure for output tokens.
GetRhaiiInferenceModelValidation
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
ibm
Viewing docs for ibm 2.9.0
published on Thursday, Nov 5, 2026 by ibm-cloud
published on Thursday, Nov 5, 2026 by ibm-cloud