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
Retrieve information about an existing Red Hat AI Inference (RHAII) project. You can look up the project by its name or by its ID.
For more information, see Red Hat AI Inference on IBM Cloud and the Red Hat AI Inference API.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const group = ibm.getResourceGroup({
name: "Default",
});
const byName = group.then(group => ibm.getRhaiiProject({
name: "my-rhaii-project",
resourceGroupId: group.id,
}));
const byId = ibm.getRhaiiProject({
identifier: "917bc95a-fef0-4039-b936-e0b6fb17b721",
});
import pulumi
import pulumi_ibm as ibm
group = ibm.get_resource_group(name="Default")
by_name = ibm.get_rhaii_project(name="my-rhaii-project",
resource_group_id=group.id)
by_id = ibm.get_rhaii_project(identifier="917bc95a-fef0-4039-b936-e0b6fb17b721")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
group, err := ibm.LookupResourceGroup(ctx, &ibm.LookupResourceGroupArgs{
Name: pulumi.StringRef("Default"),
}, nil)
if err != nil {
return err
}
_, err = ibm.LookupRhaiiProject(ctx, &ibm.LookupRhaiiProjectArgs{
Name: pulumi.StringRef("my-rhaii-project"),
ResourceGroupId: pulumi.StringRef(group.Id),
}, nil)
if err != nil {
return err
}
_, err = ibm.LookupRhaiiProject(ctx, &ibm.LookupRhaiiProjectArgs{
Identifier: pulumi.StringRef("917bc95a-fef0-4039-b936-e0b6fb17b721"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var @group = Ibm.GetResourceGroup.Invoke(new()
{
Name = "Default",
});
var byName = Ibm.GetRhaiiProject.Invoke(new()
{
Name = "my-rhaii-project",
ResourceGroupId = @group.Apply(getResourceGroupResult => getResourceGroupResult.Id),
});
var byId = Ibm.GetRhaiiProject.Invoke(new()
{
Identifier = "917bc95a-fef0-4039-b936-e0b6fb17b721",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetResourceGroupArgs;
import com.pulumi.ibm.inputs.GetRhaiiProjectArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var group = IbmFunctions.getResourceGroup(GetResourceGroupArgs.builder()
.name("Default")
.build());
final var byName = IbmFunctions.getRhaiiProject(GetRhaiiProjectArgs.builder()
.name("my-rhaii-project")
.resourceGroupId(group.id())
.build());
final var byId = IbmFunctions.getRhaiiProject(GetRhaiiProjectArgs.builder()
.identifier("917bc95a-fef0-4039-b936-e0b6fb17b721")
.build());
}
}
variables:
group:
fn::invoke:
function: ibm:getResourceGroup
arguments:
name: Default
byName:
fn::invoke:
function: ibm:getRhaiiProject
arguments:
name: my-rhaii-project
resourceGroupId: ${group.id}
byId:
fn::invoke:
function: ibm:getRhaiiProject
arguments:
identifier: 917bc95a-fef0-4039-b936-e0b6fb17b721
Example coming soon!
Using getRhaiiProject
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 getRhaiiProject(args: GetRhaiiProjectArgs, opts?: InvokeOptions): Promise<GetRhaiiProjectResult>
function getRhaiiProjectOutput(args: GetRhaiiProjectOutputArgs, opts?: InvokeOutputOptions): Output<GetRhaiiProjectResult>def get_rhaii_project(identifier: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
resource_group_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRhaiiProjectResult
def get_rhaii_project_output(identifier: pulumi.Input[Optional[str]] = None,
location: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
resource_group_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetRhaiiProjectResult]func LookupRhaiiProject(ctx *Context, args *LookupRhaiiProjectArgs, opts ...InvokeOption) (*LookupRhaiiProjectResult, error)
func LookupRhaiiProjectOutput(ctx *Context, args *LookupRhaiiProjectOutputArgs, opts ...InvokeOption) LookupRhaiiProjectResultOutput> Note: This function is named LookupRhaiiProject in the Go SDK.
public static class GetRhaiiProject
{
public static Task<GetRhaiiProjectResult> InvokeAsync(GetRhaiiProjectArgs args, InvokeOptions? opts = null)
public static Output<GetRhaiiProjectResult> Invoke(GetRhaiiProjectInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetRhaiiProjectResult> Invoke(GetRhaiiProjectInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetRhaiiProjectResult> getRhaiiProject(GetRhaiiProjectArgs args, InvokeOptions options)
public static Output<GetRhaiiProjectResult> getRhaiiProject(GetRhaiiProjectArgs args, InvokeOptions options)
public static Output<GetRhaiiProjectResult> getRhaiiProject(GetRhaiiProjectArgs args, InvokeOutputOptions options)
fn::invoke:
function: ibm:index/getRhaiiProject:getRhaiiProject
arguments:
# arguments dictionarydata "ibm_get_rhaii_project" "name" {
# arguments
}The following arguments are supported:
- Identifier string
- The ID (GUID) or CRN of the project. Conflicts with
resource_group_idandlocation. - Location string
- The region of the project, for example
us-east. - Name string
- The name of the project.
- Resource
Group stringId - The ID of the resource group to search in. When not set, all resource groups are searched. Use it when more than one project has the same name.
- Identifier string
- The ID (GUID) or CRN of the project. Conflicts with
resource_group_idandlocation. - Location string
- The region of the project, for example
us-east. - Name string
- The name of the project.
- Resource
Group stringId - The ID of the resource group to search in. When not set, all resource groups are searched. Use it when more than one project has the same name.
- identifier string
- The ID (GUID) or CRN of the project. Conflicts with
resource_group_idandlocation. - location string
- The region of the project, for example
us-east. - name string
- The name of the project.
- resource_
group_ stringid - The ID of the resource group to search in. When not set, all resource groups are searched. Use it when more than one project has the same name.
- identifier String
- The ID (GUID) or CRN of the project. Conflicts with
resource_group_idandlocation. - location String
- The region of the project, for example
us-east. - name String
- The name of the project.
- resource
Group StringId - The ID of the resource group to search in. When not set, all resource groups are searched. Use it when more than one project has the same name.
- identifier string
- The ID (GUID) or CRN of the project. Conflicts with
resource_group_idandlocation. - location string
- The region of the project, for example
us-east. - name string
- The name of the project.
- resource
Group stringId - The ID of the resource group to search in. When not set, all resource groups are searched. Use it when more than one project has the same name.
- identifier str
- The ID (GUID) or CRN of the project. Conflicts with
resource_group_idandlocation. - location str
- The region of the project, for example
us-east. - name str
- The name of the project.
- resource_
group_ strid - The ID of the resource group to search in. When not set, all resource groups are searched. Use it when more than one project has the same name.
- identifier String
- The ID (GUID) or CRN of the project. Conflicts with
resource_group_idandlocation. - location String
- The region of the project, for example
us-east. - name String
- The name of the project.
- resource
Group StringId - The ID of the resource group to search in. When not set, all resource groups are searched. Use it when more than one project has the same name.
getRhaiiProject Result
The following output properties are available:
- List<string>
- (Array of Strings) The access management tags of the project.
- Account
Id string - (String) The ID of the account that owns the project.
- Created
At string - (String) The date when the project was created.
- Created
By string - (String) The subject who created the project.
- Crn string
- (String) The CRN of the project.
- Dashboard
Url string - (String) The relative URL of the project in the IBM Cloud console.
- Endpoint string
- (String) The public base URL of the Red Hat AI Inference API for this project, for example
https://us-east.rhai.ibm.com/v1/projects/<project_id>. - Guid string
- (String) The GUID of the resource instance.
- Id string
- (String) The unique identifier of the project. This is the CRN of the resource instance.
- Last
Operations List<GetRhaii Project Last Operation> - (List) The last operation on the project. Nested schema for last_operation:
- Location string
- Locked bool
- (Boolean) Whether the project is locked.
- Name string
- Plan
Id string - (String) The global catalog ID of the pricing plan of the project.
- Plan
Name string - (String) The name of the pricing plan of the project.
- Private
Endpoint string - (String) The private base URL of the Red Hat AI Inference API for this project, for example
https://private.us-east.rhai.ibm.com/v1/projects/<project_id>. It can be reached only from the IBM Cloud private network, for example from a VPC. - Project
Id string - (String) The ID of the project. Use this value as
project_idin the Red Hat AI Inference API. - Resource
Group stringCrn - (String) The CRN of the resource group.
- Resource
Group stringId - Service string
- (String) The service name of the project. Always
instructlab. - State string
- (String) The state of the operation, for example
succeeded. - List<string>
- (Array of Strings) The user tags of the project.
- Target
Crn string - (String) The deployment CRN of the project in the global catalog.
- Updated
At string - (String) The date when the project was last updated.
- Updated
By string - (String) The subject who last updated the project.
- Identifier string
- []string
- (Array of Strings) The access management tags of the project.
- Account
Id string - (String) The ID of the account that owns the project.
- Created
At string - (String) The date when the project was created.
- Created
By string - (String) The subject who created the project.
- Crn string
- (String) The CRN of the project.
- Dashboard
Url string - (String) The relative URL of the project in the IBM Cloud console.
- Endpoint string
- (String) The public base URL of the Red Hat AI Inference API for this project, for example
https://us-east.rhai.ibm.com/v1/projects/<project_id>. - Guid string
- (String) The GUID of the resource instance.
- Id string
- (String) The unique identifier of the project. This is the CRN of the resource instance.
- Last
Operations []GetRhaii Project Last Operation - (List) The last operation on the project. Nested schema for last_operation:
- Location string
- Locked bool
- (Boolean) Whether the project is locked.
- Name string
- Plan
Id string - (String) The global catalog ID of the pricing plan of the project.
- Plan
Name string - (String) The name of the pricing plan of the project.
- Private
Endpoint string - (String) The private base URL of the Red Hat AI Inference API for this project, for example
https://private.us-east.rhai.ibm.com/v1/projects/<project_id>. It can be reached only from the IBM Cloud private network, for example from a VPC. - Project
Id string - (String) The ID of the project. Use this value as
project_idin the Red Hat AI Inference API. - Resource
Group stringCrn - (String) The CRN of the resource group.
- Resource
Group stringId - Service string
- (String) The service name of the project. Always
instructlab. - State string
- (String) The state of the operation, for example
succeeded. - []string
- (Array of Strings) The user tags of the project.
- Target
Crn string - (String) The deployment CRN of the project in the global catalog.
- Updated
At string - (String) The date when the project was last updated.
- Updated
By string - (String) The subject who last updated the project.
- Identifier string
- list(string)
- (Array of Strings) The access management tags of the project.
- account_
id string - (String) The ID of the account that owns the project.
- created_
at string - (String) The date when the project was created.
- created_
by string - (String) The subject who created the project.
- crn string
- (String) The CRN of the project.
- dashboard_
url string - (String) The relative URL of the project in the IBM Cloud console.
- endpoint string
- (String) The public base URL of the Red Hat AI Inference API for this project, for example
https://us-east.rhai.ibm.com/v1/projects/<project_id>. - guid string
- (String) The GUID of the resource instance.
- id string
- (String) The unique identifier of the project. This is the CRN of the resource instance.
- last_
operations list(object) - (List) The last operation on the project. Nested schema for last_operation:
- location string
- locked bool
- (Boolean) Whether the project is locked.
- name string
- plan_
id string - (String) The global catalog ID of the pricing plan of the project.
- plan_
name string - (String) The name of the pricing plan of the project.
- private_
endpoint string - (String) The private base URL of the Red Hat AI Inference API for this project, for example
https://private.us-east.rhai.ibm.com/v1/projects/<project_id>. It can be reached only from the IBM Cloud private network, for example from a VPC. - project_
id string - (String) The ID of the project. Use this value as
project_idin the Red Hat AI Inference API. - resource_
group_ stringcrn - (String) The CRN of the resource group.
- resource_
group_ stringid - service string
- (String) The service name of the project. Always
instructlab. - state string
- (String) The state of the operation, for example
succeeded. - list(string)
- (Array of Strings) The user tags of the project.
- target_
crn string - (String) The deployment CRN of the project in the global catalog.
- updated_
at string - (String) The date when the project was last updated.
- updated_
by string - (String) The subject who last updated the project.
- identifier string
- List<String>
- (Array of Strings) The access management tags of the project.
- account
Id String - (String) The ID of the account that owns the project.
- created
At String - (String) The date when the project was created.
- created
By String - (String) The subject who created the project.
- crn String
- (String) The CRN of the project.
- dashboard
Url String - (String) The relative URL of the project in the IBM Cloud console.
- endpoint String
- (String) The public base URL of the Red Hat AI Inference API for this project, for example
https://us-east.rhai.ibm.com/v1/projects/<project_id>. - guid String
- (String) The GUID of the resource instance.
- id String
- (String) The unique identifier of the project. This is the CRN of the resource instance.
- last
Operations List<GetRhaii Project Last Operation> - (List) The last operation on the project. Nested schema for last_operation:
- location String
- locked Boolean
- (Boolean) Whether the project is locked.
- name String
- plan
Id String - (String) The global catalog ID of the pricing plan of the project.
- plan
Name String - (String) The name of the pricing plan of the project.
- private
Endpoint String - (String) The private base URL of the Red Hat AI Inference API for this project, for example
https://private.us-east.rhai.ibm.com/v1/projects/<project_id>. It can be reached only from the IBM Cloud private network, for example from a VPC. - project
Id String - (String) The ID of the project. Use this value as
project_idin the Red Hat AI Inference API. - resource
Group StringCrn - (String) The CRN of the resource group.
- resource
Group StringId - service String
- (String) The service name of the project. Always
instructlab. - state String
- (String) The state of the operation, for example
succeeded. - List<String>
- (Array of Strings) The user tags of the project.
- target
Crn String - (String) The deployment CRN of the project in the global catalog.
- updated
At String - (String) The date when the project was last updated.
- updated
By String - (String) The subject who last updated the project.
- identifier String
- string[]
- (Array of Strings) The access management tags of the project.
- account
Id string - (String) The ID of the account that owns the project.
- created
At string - (String) The date when the project was created.
- created
By string - (String) The subject who created the project.
- crn string
- (String) The CRN of the project.
- dashboard
Url string - (String) The relative URL of the project in the IBM Cloud console.
- endpoint string
- (String) The public base URL of the Red Hat AI Inference API for this project, for example
https://us-east.rhai.ibm.com/v1/projects/<project_id>. - guid string
- (String) The GUID of the resource instance.
- id string
- (String) The unique identifier of the project. This is the CRN of the resource instance.
- last
Operations GetRhaii Project Last Operation[] - (List) The last operation on the project. Nested schema for last_operation:
- location string
- locked boolean
- (Boolean) Whether the project is locked.
- name string
- plan
Id string - (String) The global catalog ID of the pricing plan of the project.
- plan
Name string - (String) The name of the pricing plan of the project.
- private
Endpoint string - (String) The private base URL of the Red Hat AI Inference API for this project, for example
https://private.us-east.rhai.ibm.com/v1/projects/<project_id>. It can be reached only from the IBM Cloud private network, for example from a VPC. - project
Id string - (String) The ID of the project. Use this value as
project_idin the Red Hat AI Inference API. - resource
Group stringCrn - (String) The CRN of the resource group.
- resource
Group stringId - service string
- (String) The service name of the project. Always
instructlab. - state string
- (String) The state of the operation, for example
succeeded. - string[]
- (Array of Strings) The user tags of the project.
- target
Crn string - (String) The deployment CRN of the project in the global catalog.
- updated
At string - (String) The date when the project was last updated.
- updated
By string - (String) The subject who last updated the project.
- identifier string
- Sequence[str]
- (Array of Strings) The access management tags of the project.
- account_
id str - (String) The ID of the account that owns the project.
- created_
at str - (String) The date when the project was created.
- created_
by str - (String) The subject who created the project.
- crn str
- (String) The CRN of the project.
- dashboard_
url str - (String) The relative URL of the project in the IBM Cloud console.
- endpoint str
- (String) The public base URL of the Red Hat AI Inference API for this project, for example
https://us-east.rhai.ibm.com/v1/projects/<project_id>. - guid str
- (String) The GUID of the resource instance.
- id str
- (String) The unique identifier of the project. This is the CRN of the resource instance.
- last_
operations Sequence[GetRhaii Project Last Operation] - (List) The last operation on the project. Nested schema for last_operation:
- location str
- locked bool
- (Boolean) Whether the project is locked.
- name str
- plan_
id str - (String) The global catalog ID of the pricing plan of the project.
- plan_
name str - (String) The name of the pricing plan of the project.
- private_
endpoint str - (String) The private base URL of the Red Hat AI Inference API for this project, for example
https://private.us-east.rhai.ibm.com/v1/projects/<project_id>. It can be reached only from the IBM Cloud private network, for example from a VPC. - project_
id str - (String) The ID of the project. Use this value as
project_idin the Red Hat AI Inference API. - resource_
group_ strcrn - (String) The CRN of the resource group.
- resource_
group_ strid - service str
- (String) The service name of the project. Always
instructlab. - state str
- (String) The state of the operation, for example
succeeded. - Sequence[str]
- (Array of Strings) The user tags of the project.
- target_
crn str - (String) The deployment CRN of the project in the global catalog.
- updated_
at str - (String) The date when the project was last updated.
- updated_
by str - (String) The subject who last updated the project.
- identifier str
- List<String>
- (Array of Strings) The access management tags of the project.
- account
Id String - (String) The ID of the account that owns the project.
- created
At String - (String) The date when the project was created.
- created
By String - (String) The subject who created the project.
- crn String
- (String) The CRN of the project.
- dashboard
Url String - (String) The relative URL of the project in the IBM Cloud console.
- endpoint String
- (String) The public base URL of the Red Hat AI Inference API for this project, for example
https://us-east.rhai.ibm.com/v1/projects/<project_id>. - guid String
- (String) The GUID of the resource instance.
- id String
- (String) The unique identifier of the project. This is the CRN of the resource instance.
- last
Operations List<Property Map> - (List) The last operation on the project. Nested schema for last_operation:
- location String
- locked Boolean
- (Boolean) Whether the project is locked.
- name String
- plan
Id String - (String) The global catalog ID of the pricing plan of the project.
- plan
Name String - (String) The name of the pricing plan of the project.
- private
Endpoint String - (String) The private base URL of the Red Hat AI Inference API for this project, for example
https://private.us-east.rhai.ibm.com/v1/projects/<project_id>. It can be reached only from the IBM Cloud private network, for example from a VPC. - project
Id String - (String) The ID of the project. Use this value as
project_idin the Red Hat AI Inference API. - resource
Group StringCrn - (String) The CRN of the resource group.
- resource
Group StringId - service String
- (String) The service name of the project. Always
instructlab. - state String
- (String) The state of the operation, for example
succeeded. - List<String>
- (Array of Strings) The user tags of the project.
- target
Crn String - (String) The deployment CRN of the project in the global catalog.
- updated
At String - (String) The date when the project was last updated.
- updated
By String - (String) The subject who last updated the project.
- identifier String
Supporting Types
GetRhaiiProjectLastOperation
- Async bool
- (Boolean) Whether the operation is asynchronous.
- Description string
- (String) The description of the operation.
- State string
- (String) The state of the operation, for example
succeeded. - Type string
- (String) The type of the operation, for example
create.
- Async bool
- (Boolean) Whether the operation is asynchronous.
- Description string
- (String) The description of the operation.
- State string
- (String) The state of the operation, for example
succeeded. - Type string
- (String) The type of the operation, for example
create.
- async bool
- (Boolean) Whether the operation is asynchronous.
- description string
- (String) The description of the operation.
- state string
- (String) The state of the operation, for example
succeeded. - type string
- (String) The type of the operation, for example
create.
- async Boolean
- (Boolean) Whether the operation is asynchronous.
- description String
- (String) The description of the operation.
- state String
- (String) The state of the operation, for example
succeeded. - type String
- (String) The type of the operation, for example
create.
- async boolean
- (Boolean) Whether the operation is asynchronous.
- description string
- (String) The description of the operation.
- state string
- (String) The state of the operation, for example
succeeded. - type string
- (String) The type of the operation, for example
create.
- async_ bool
- (Boolean) Whether the operation is asynchronous.
- description str
- (String) The description of the operation.
- state str
- (String) The state of the operation, for example
succeeded. - type str
- (String) The type of the operation, for example
create.
- async Boolean
- (Boolean) Whether the operation is asynchronous.
- description String
- (String) The description of the operation.
- state String
- (String) The state of the operation, for example
succeeded. - type String
- (String) The type of the operation, for example
create.
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