Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.GenerativeAi.getDedicatedAiCluster
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides details about a specific Dedicated Ai Cluster resource in Oracle Cloud Infrastructure Generative Ai service.
Gets information about a dedicated AI cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDedicatedAiCluster = oci.GenerativeAi.getDedicatedAiCluster({
dedicatedAiClusterId: testDedicatedAiClusterOciGenerativeAiDedicatedAiCluster.id,
});
import pulumi
import pulumi_oci as oci
test_dedicated_ai_cluster = oci.GenerativeAi.get_dedicated_ai_cluster(dedicated_ai_cluster_id=test_dedicated_ai_cluster_oci_generative_ai_dedicated_ai_cluster["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/GenerativeAi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := GenerativeAi.GetDedicatedAiCluster(ctx, &generativeai.GetDedicatedAiClusterArgs{
DedicatedAiClusterId: testDedicatedAiClusterOciGenerativeAiDedicatedAiCluster.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testDedicatedAiCluster = Oci.GenerativeAi.GetDedicatedAiCluster.Invoke(new()
{
DedicatedAiClusterId = testDedicatedAiClusterOciGenerativeAiDedicatedAiCluster.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.GenerativeAi.GenerativeAiFunctions;
import com.pulumi.oci.GenerativeAi.inputs.GetDedicatedAiClusterArgs;
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 testDedicatedAiCluster = GenerativeAiFunctions.getDedicatedAiCluster(GetDedicatedAiClusterArgs.builder()
.dedicatedAiClusterId(testDedicatedAiClusterOciGenerativeAiDedicatedAiCluster.id())
.build());
}
}
variables:
testDedicatedAiCluster:
fn::invoke:
Function: oci:GenerativeAi:getDedicatedAiCluster
Arguments:
dedicatedAiClusterId: ${testDedicatedAiClusterOciGenerativeAiDedicatedAiCluster.id}
Using getDedicatedAiCluster
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 getDedicatedAiCluster(args: GetDedicatedAiClusterArgs, opts?: InvokeOptions): Promise<GetDedicatedAiClusterResult>
function getDedicatedAiClusterOutput(args: GetDedicatedAiClusterOutputArgs, opts?: InvokeOptions): Output<GetDedicatedAiClusterResult>
def get_dedicated_ai_cluster(dedicated_ai_cluster_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDedicatedAiClusterResult
def get_dedicated_ai_cluster_output(dedicated_ai_cluster_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDedicatedAiClusterResult]
func GetDedicatedAiCluster(ctx *Context, args *GetDedicatedAiClusterArgs, opts ...InvokeOption) (*GetDedicatedAiClusterResult, error)
func GetDedicatedAiClusterOutput(ctx *Context, args *GetDedicatedAiClusterOutputArgs, opts ...InvokeOption) GetDedicatedAiClusterResultOutput
> Note: This function is named GetDedicatedAiCluster
in the Go SDK.
public static class GetDedicatedAiCluster
{
public static Task<GetDedicatedAiClusterResult> InvokeAsync(GetDedicatedAiClusterArgs args, InvokeOptions? opts = null)
public static Output<GetDedicatedAiClusterResult> Invoke(GetDedicatedAiClusterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDedicatedAiClusterResult> getDedicatedAiCluster(GetDedicatedAiClusterArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:GenerativeAi/getDedicatedAiCluster:getDedicatedAiCluster
arguments:
# arguments dictionary
The following arguments are supported:
- Dedicated
Ai stringCluster Id - The OCID of the dedicated AI cluster.
- Dedicated
Ai stringCluster Id - The OCID of the dedicated AI cluster.
- dedicated
Ai StringCluster Id - The OCID of the dedicated AI cluster.
- dedicated
Ai stringCluster Id - The OCID of the dedicated AI cluster.
- dedicated_
ai_ strcluster_ id - The OCID of the dedicated AI cluster.
- dedicated
Ai StringCluster Id - The OCID of the dedicated AI cluster.
getDedicatedAiCluster Result
The following output properties are available:
- Capacities
List<Get
Dedicated Ai Cluster Capacity> - The total capacity for a dedicated AI cluster.
- Compartment
Id string - The compartment OCID to create the dedicated AI cluster in.
- Dedicated
Ai stringCluster Id - Dictionary<string, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Description string
- An optional description of the dedicated AI cluster.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- Dictionary<string, object>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Id string
- The OCID of the dedicated AI cluster.
- Lifecycle
Details string - A message describing the current state with detail that can provide actionable information.
- State string
- The current state of the dedicated AI cluster.
- Dictionary<string, object>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
- Time
Updated string - The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
- Type string
- The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.
- Unit
Count int - The number of dedicated units in this AI cluster.
- Unit
Shape string - The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
- Capacities
[]Get
Dedicated Ai Cluster Capacity - The total capacity for a dedicated AI cluster.
- Compartment
Id string - The compartment OCID to create the dedicated AI cluster in.
- Dedicated
Ai stringCluster Id - map[string]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Description string
- An optional description of the dedicated AI cluster.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- map[string]interface{}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Id string
- The OCID of the dedicated AI cluster.
- Lifecycle
Details string - A message describing the current state with detail that can provide actionable information.
- State string
- The current state of the dedicated AI cluster.
- map[string]interface{}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
- Time
Updated string - The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
- Type string
- The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.
- Unit
Count int - The number of dedicated units in this AI cluster.
- Unit
Shape string - The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
- capacities
List<Get
Dedicated Ai Cluster Capacity> - The total capacity for a dedicated AI cluster.
- compartment
Id String - The compartment OCID to create the dedicated AI cluster in.
- dedicated
Ai StringCluster Id - Map<String,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description String
- An optional description of the dedicated AI cluster.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable.
- Map<String,Object>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id String
- The OCID of the dedicated AI cluster.
- lifecycle
Details String - A message describing the current state with detail that can provide actionable information.
- state String
- The current state of the dedicated AI cluster.
- Map<String,Object>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
- time
Updated String - The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
- type String
- The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.
- unit
Count Integer - The number of dedicated units in this AI cluster.
- unit
Shape String - The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
- capacities
Get
Dedicated Ai Cluster Capacity[] - The total capacity for a dedicated AI cluster.
- compartment
Id string - The compartment OCID to create the dedicated AI cluster in.
- dedicated
Ai stringCluster Id - {[key: string]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description string
- An optional description of the dedicated AI cluster.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- {[key: string]: any}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id string
- The OCID of the dedicated AI cluster.
- lifecycle
Details string - A message describing the current state with detail that can provide actionable information.
- state string
- The current state of the dedicated AI cluster.
- {[key: string]: any}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
- time
Updated string - The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
- type string
- The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.
- unit
Count number - The number of dedicated units in this AI cluster.
- unit
Shape string - The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
- capacities
Sequence[generativeai.
Get Dedicated Ai Cluster Capacity] - The total capacity for a dedicated AI cluster.
- compartment_
id str - The compartment OCID to create the dedicated AI cluster in.
- dedicated_
ai_ strcluster_ id - Mapping[str, Any]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description str
- An optional description of the dedicated AI cluster.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable.
- Mapping[str, Any]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id str
- The OCID of the dedicated AI cluster.
- lifecycle_
details str - A message describing the current state with detail that can provide actionable information.
- state str
- The current state of the dedicated AI cluster.
- Mapping[str, Any]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
- time_
updated str - The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
- type str
- The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.
- unit_
count int - The number of dedicated units in this AI cluster.
- unit_
shape str - The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
- capacities List<Property Map>
- The total capacity for a dedicated AI cluster.
- compartment
Id String - The compartment OCID to create the dedicated AI cluster in.
- dedicated
Ai StringCluster Id - Map<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description String
- An optional description of the dedicated AI cluster.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable.
- Map<Any>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id String
- The OCID of the dedicated AI cluster.
- lifecycle
Details String - A message describing the current state with detail that can provide actionable information.
- state String
- The current state of the dedicated AI cluster.
- Map<Any>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
- time
Updated String - The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
- type String
- The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.
- unit
Count Number - The number of dedicated units in this AI cluster.
- unit
Shape String - The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
Supporting Types
GetDedicatedAiClusterCapacity
- Capacity
Type string - The type of the dedicated AI cluster capacity.
- Total
Endpoint intCapacity - The total number of endpoints that can be hosted on this dedicated AI cluster.
- Used
Endpoint intCapacity - The number of endpoints hosted on this dedicated AI cluster.
- Capacity
Type string - The type of the dedicated AI cluster capacity.
- Total
Endpoint intCapacity - The total number of endpoints that can be hosted on this dedicated AI cluster.
- Used
Endpoint intCapacity - The number of endpoints hosted on this dedicated AI cluster.
- capacity
Type String - The type of the dedicated AI cluster capacity.
- total
Endpoint IntegerCapacity - The total number of endpoints that can be hosted on this dedicated AI cluster.
- used
Endpoint IntegerCapacity - The number of endpoints hosted on this dedicated AI cluster.
- capacity
Type string - The type of the dedicated AI cluster capacity.
- total
Endpoint numberCapacity - The total number of endpoints that can be hosted on this dedicated AI cluster.
- used
Endpoint numberCapacity - The number of endpoints hosted on this dedicated AI cluster.
- capacity_
type str - The type of the dedicated AI cluster capacity.
- total_
endpoint_ intcapacity - The total number of endpoints that can be hosted on this dedicated AI cluster.
- used_
endpoint_ intcapacity - The number of endpoints hosted on this dedicated AI cluster.
- capacity
Type String - The type of the dedicated AI cluster capacity.
- total
Endpoint NumberCapacity - The total number of endpoints that can be hosted on this dedicated AI cluster.
- used
Endpoint NumberCapacity - The number of endpoints hosted on this dedicated AI cluster.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi